Build most libm-test support code once per type.
[glibc.git] / ChangeLog
blobf6ad6de5196abb10766c7e14c02d65f741a83ec9
1 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test-support.c: New file.  Content from
4         math/libm-test-driver.c.
5         * math/libm-test-support.h: Likewise.
6         * math/libm-test-support-double.c: New file.
7         * math/libm-test-support-float.c: Likewise.
8         * math/libm-test-support-ldouble.c: Likewise.
9         * math/libm-test-driver.c: Remove main comment and header
10         includes.  Include libm-test-support.h.
11         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
12         (flag_test_errno): Remove static.
13         (flag_test_exceptions): Likewise.
14         (flag_test_finite): Likewise.
15         (flag_test_inline): Likewise.
16         (flag_test_mathvec): Likewise.
17         (test_msg): Likewise.
18         (NO_EXCEPTION): Remove.
19         (INVALID_EXCEPTION): Likewise.
20         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
21         (OVERFLOW_EXCEPTION): Likewise.
22         (UNDERFLOW_EXCEPTION): Likewise.
23         (INEXACT_EXCEPTION): Likewise.
24         (INVALID_EXCEPTION_OK): Likewise.
25         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26         (OVERFLOW_EXCEPTION_OK): Likewise.
27         (UNDERFLOW_EXCEPTION_OK): Likewise.
28         (NO_INEXACT_EXCEPTION): Likewise.
29         (EXCEPTIONS_OK): Likewise.
30         (IGNORE_ZERO_INF_SIGN): Likewise.
31         (TEST_NAN_SIGN): Likewise.
32         (TEST_NAN_PAYLOAD): Likewise.
33         (NO_TEST_INLINE): Likewise.
34         (XFAIL_TEST): Likewise.
35         (ERRNO_UNCHANGED): Likewise.
36         (ERRNO_EDOM): Likewise.
37         (ERRNO_ERANGE): Likewise.
38         (IGNORE_RESULT): Likewise.
39         (NON_FINITE): Likewise.
40         (TEST_SNAN): Likewise.
41         (NO_TEST_MATHVEC): Likewise.
42         (__CONCATX): Likewise.
43         (TYPE_MIN): Likewise.
44         (TYPE_TRUE_MIN): Likewise.
45         (TYPE_MAX): Likewise.
46         (MIN_EXP): Likewise.
47         (MAX_EXP): Likewise.
48         (MANT_DIG): Likewise.
49         (FSTR_MAX): Likewise.
50         (ulp_idx): Likewise.
51         (qtype_str): Remove static.
52         (TEST_COND_binary32): Remove.
53         (TEST_COND_binary64): Likewise.
54         (TEST_COND_binary128): Likewise.
55         (TEST_COND_ibm128): Likewise.
56         (TEST_COND_intel96): Likewise.
57         (TEST_COND_m68k96): Likewise.
58         (TEST_COND_ibm128_libgcc): Likewise.
59         (XFAIL_IBM128_LIBGCC): Likewise.
60         (PAYLOAD_DIG): Likewise.
61         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
65         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
67         (TEST_COND_long32): Likewise.
68         (TEST_COND_long64): Likewise.
69         (TEST_COND_before_rounding): Likewise.
70         (TEST_COND_after_rounding): Likewise.
71         (ulps_file_name): Likewise.
72         (ulps_file): Likewise.
73         (output_ulps): Likewise.
74         (output_dir): Likewise.
75         (noErrors): Likewise.
76         (noTests): Likewise.
77         (noExcTests): Likewise.
78         (noErrnoTests): Likewise.
79         (verbose): Likewise.
80         (output_max_error): Likewise.
81         (output_points): Likewise.
82         (ignore_max_ulp): Likewise.
83         (max_error): Likewise.
84         (real_max_error): Likewise.
85         (imag_max_error): Likewise.
86         (prev_max_error): Likewise.
87         (prev_real_max_error): Likewise.
88         (prev_imag_max_error): Likewise.
89         (max_valid_error): Likewise.
90         (TYPE_DECIMAL_DIG): Likewise.
91         (TYPE_HEX_DIG): Likewise.
92         (fmt_ftostr): Likewise.
93         (compare_ulp_data): Likewise.
94         (find_ulps): Likewise.
95         (init_max_error): Likewise.
96         (set_max_error): Likewise.
97         (print_float): Likewise.
98         (print_screen): Likewise.
99         (print_screen_max_error): Likewise.
100         (update_stats): Likewise.
101         (print_function_ulps): Likewise.
102         (print_complex_function_ulps): Likewise.
103         (fpstack_test): Likewise.
104         (print_max_error): Likewise.
105         (print_complex_max_error): Likewise.
106         (test_single_exception): Likewise.
107         (test_exceptions): Likewise.
108         (test_single_errno): Likewise.
109         (test_errno): Likewise.
110         (ULPDIFF): Likewise.
111         (ulp): Likewise.
112         (check_float_internal): Likewise.
113         (check_float): Likewise.
114         (check_complex): Likewise.
115         (check_int): Likewise.
116         (check_long): Likewise.
117         (check_bool): Likewise.
118         (check_longlong): Likewise.
119         (check_intmax_t): Likewise.
120         (check_uintmax_t): Likewise.
121         (enable_test): Likewise.
122         (matherr): Likewise.
123         (initialize): Likewise.
124         (options): Likewise.
125         (doc): Remove static.
126         (argp): Likewise.
127         (parse_opt): Remove.
128         (check_ulp): Likewise.
129         (libm_test_init): Likewise.
130         (libm_test_finish): Likewise.
131         * math/Makefile (libm-test-support): New variable.
132         (test-extras): Add libm-test-support files.
133         (extra-test-objs): Likewise.
134         (CFLAGS-libm-test-support-float.c): New variable.
135         (CFLAGS-libm-test-support-double.c): Likewise.
136         (CFLAGS-libm-test-support-ldouble.c): Likewise.
137         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
138         libm-test-support objects.
140 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
142         * math/Makefile (libm-calls): Move w_exp...
143         (libm-compat-calls-auto): Here.
145         * math/w_expl.c: Add suffix "_compat" to filename.
146         * sysdeps/ia64/fpu/w_expl.c: Likewise.
147         * sysdeps/ia64/fpu/w_expf.c: Likewise.
148         * sysdeps/ia64/fpu/w_exp.c: Likewise.
149         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
150         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
151         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
152         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
153         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
155         * math/w_expl_compat.c: New file, copied from above.
156         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
157         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
158         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
159         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
160         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
161         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
162         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
163         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
165         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
166         to filename.
167         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
169         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
170         copied from above and adjusted for the new filenames.
171         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
173 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
175         * math/Makefile (libm-calls): Move w_lgammaF...
176         (libm-compat-calls-auto): Here.
178         * math/w_lgamma.c: Add suffix "_compat2" to filename.
179         * math/w_lgammaf.c: Likewise.
180         * math/w_lgammal.c: Likewise.
182         * math/w_lgamma_compat2.c: New file, copied from above.
183         * math/w_lgammaf_compat2.c: Likewise.
184         * math/w_lgammal_compat2.c: Likewise.
186 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
188         * math/Makefile (libm-calls): Move w_lgammaF_r...
189         (libm-compat-calls-auto): Here.
191         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
192         * math/w_lgammaf_r.c: Likewise.
193         * math/w_lgammal_r.c: Likewise.
194         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
195         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
196         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
198         * math/w_lgamma_r_compat.c: New file, copied from above.
199         * math/w_lgammaf_r_compat.c: Likewise.
200         * math/w_lgammal_r_compat.c: Likewise.
201         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
202         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
203         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
205         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
206         to filename.
207         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
209         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
210         copied from above and adjusted for the new filenames.
211         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
213 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
216         calculation in SYSCALL_ERROR_HANDLER().
218 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
220         * manual/contrib.texi: Fix typo.
222 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
224         [BZ #21109]
225         * elf/dl-tunable-types.h (tunable_callback_t): Accept
226         tunable_val_t as argument.
227         * elf/dl-tunables.c (__tunable_set_val): Add comment.
228         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
229         argument.
230         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
232 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
234         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
235         Add PTRACE_EVENT_STOP.
236         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
237         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
238         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
239         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
240         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
241         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
243 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
245         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
246         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
247         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
248         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
249         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
250         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
251         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
252         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
253         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
254         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
256         [BZ #21112]
257         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
258         12 bits zero.
259         (cp_l): Update for new value of cp_h.
260         * math/auto-libm-test-in: Add another test of pow.
261         * math/auto-libm-test-out-pow: Regenerated.
263 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
265         * manual/contrib.texi: Fix typo.
267 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
269         [BZ #15998]
270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
271         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
274 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
276         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
277         STRCHR as __strchr_power8.
278         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
279         strlen as __strlen_power8.
281 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
283         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
284         unaligned load for shorter strings.
285         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
287 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
289         * math/libm-test-driver.c (flag_test_errno): New variable.
290         (flag_test_exceptions): Likewise.
291         (flag_test_finite): Likewise.
292         (flag_test_inline): Likewise.
293         (flag_test_mathvec): Likewise.
294         (test_msg): Likewise.
295         (ulp_idx): Likewise.
296         (qtype_str): Likewise.
297         (ULP_IDX): Remove macro.
298         (QTYPE_STR): Likewise.
299         (find_ulps): Use ulp_idx not ULP_IDX.
300         (print_function_ulps): Use qtype_str, printed with %s, not
301         QTYPE_STR, printed with concatentation to format string.
302         (print_complex_function_ulps): Likewise.
303         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
304         (test_errno): Use flag_test_errno not TEST_ERRNO.
305         (enable_test): Use flag_test_inline, flag_test_finite and
306         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
307         TEST_MATHVEC.
308         (libm_test_init): New function.  Factored out of main.
309         (libm_test_finish): Likewise.
310         (main): Call libm_test_init and libm_test_finish and move most
311         code to those functions.
313         * math/libm-test-driver.c (STRX): New macro.
314         (STR): Likewise.
315         (STR_FLOAT): Likewise.
316         (STR_VEC_LEN): Likewise.
317         (TEST_MSG): Likewise.  Define here instead of expecting to be
318         defined by including file.
319         * math/test-double-finite.c (TEST_MSG): Remove macro.
320         * math/test-double-vlen2.h (TEST_MSG): Likewise.
321         * math/test-double-vlen4.h (TEST_MSG): Likewise.
322         * math/test-double-vlen8.h (TEST_MSG): Likewise.
323         * math/test-double.c (TEST_MSG): Likewise.
324         * math/test-float-finite.c (TEST_MSG): Likewise.
325         * math/test-float-vlen16.h (TEST_MSG): Likewise.
326         * math/test-float-vlen4.h (TEST_MSG): Likewise.
327         * math/test-float-vlen8.h (TEST_MSG): Likewise.
328         * math/test-float.c (TEST_MSG): Likewise.
329         * math/test-idouble.c (TEST_MSG): Likewise.
330         * math/test-ifloat.c (TEST_MSG): Likewise.
331         * math/test-ildouble.c (TEST_MSG): Likewise.
332         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
333         * math/test-ldouble.c (TEST_MSG): Likewise.
335         * math/libm-test.inc: Move all tests of individual functions to
336         libm-test-*.inc and #include libm-test-*.c files.
337         (acos_test_data): Remove.
338         (acos_test): Likewise.
339         (acosh_test_data): Likewise.
340         (acosh_test): Likewise.
341         (asin_test_data): Likewise.
342         (asin_test): Likewise.
343         (asinh_test_data): Likewise.
344         (asinh_test): Likewise.
345         (atan_test_data): Likewise.
346         (atan_test): Likewise.
347         (atanh_test_data): Likewise.
348         (atanh_test): Likewise.
349         (atan2_test_data): Likewise.
350         (atan2_test): Likewise.
351         (cabs_test_data): Likewise.
352         (cabs_test): Likewise.
353         (cacos_test_data): Likewise.
354         (cacos_test): Likewise.
355         (cacosh_test_data): Likewise.
356         (cacosh_test): Likewise.
357         (canonicalize_test_data): Likewise.
358         (canonicalize_test): Likewise.
359         (carg_test_data): Likewise.
360         (carg_test): Likewise.
361         (casin_test_data): Likewise.
362         (casin_test): Likewise.
363         (casinh_test_data): Likewise.
364         (casinh_test): Likewise.
365         (catan_test_data): Likewise.
366         (catan_test): Likewise.
367         (catanh_test_data): Likewise.
368         (catanh_test): Likewise.
369         (cbrt_test_data): Likewise.
370         (cbrt_test): Likewise.
371         (ccos_test_data): Likewise.
372         (ccos_test): Likewise.
373         (ccosh_test_data): Likewise.
374         (ccosh_test): Likewise.
375         (ceil_test_data): Likewise.
376         (ceil_test): Likewise.
377         (cexp_test_data): Likewise.
378         (cexp_test): Likewise.
379         (cimag_test_data): Likewise.
380         (cimag_test): Likewise.
381         (clog_test_data): Likewise.
382         (clog_test): Likewise.
383         (clog10_test_data): Likewise.
384         (clog10_test): Likewise.
385         (conj_test_data): Likewise.
386         (conj_test): Likewise.
387         (copysign_test_data): Likewise.
388         (copysign_test): Likewise.
389         (cos_test_data): Likewise.
390         (cos_test): Likewise.
391         (cosh_test_data): Likewise.
392         (cosh_test): Likewise.
393         (cpow_test_data): Likewise.
394         (cpow_test): Likewise.
395         (cproj_test_data): Likewise.
396         (cproj_test): Likewise.
397         (creal_test_data): Likewise.
398         (creal_test): Likewise.
399         (csin_test_data): Likewise.
400         (csin_test): Likewise.
401         (csinh_test_data): Likewise.
402         (csinh_test): Likewise.
403         (csqrt_test_data): Likewise.
404         (csqrt_test): Likewise.
405         (ctan_test_data): Likewise.
406         (ctan_test): Likewise.
407         (ctanh_test_data): Likewise.
408         (ctanh_test): Likewise.
409         (erf_test_data): Likewise.
410         (erf_test): Likewise.
411         (erfc_test_data): Likewise.
412         (erfc_test): Likewise.
413         (exp_test_data): Likewise.
414         (exp_test): Likewise.
415         (exp10_test_data): Likewise.
416         (exp10_test): Likewise.
417         (pow10_test): Likewise.
418         (exp2_test_data): Likewise.
419         (exp2_test): Likewise.
420         (expm1_test_data): Likewise.
421         (expm1_test): Likewise.
422         (fabs_test_data): Likewise.
423         (fabs_test): Likewise.
424         (fdim_test_data): Likewise.
425         (fdim_test): Likewise.
426         (floor_test_data): Likewise.
427         (floor_test): Likewise.
428         (fma_test_data): Likewise.
429         (fma_test): Likewise.
430         (fmax_test_data): Likewise.
431         (fmax_test): Likewise.
432         (fmaxmag_test_data): Likewise.
433         (fmaxmag_test): Likewise.
434         (fmin_test_data): Likewise.
435         (fmin_test): Likewise.
436         (fminmag_test_data): Likewise.
437         (fminmag_test): Likewise.
438         (fmod_test_data): Likewise.
439         (fmod_test): Likewise.
440         (fpclassify_test_data): Likewise.
441         (fpclassify_test): Likewise.
442         (frexp_test_data): Likewise.
443         (frexp_test): Likewise.
444         (fromfp_test_data): Likewise.
445         (fromfp_test): Likewise.
446         (fromfpx_test_data): Likewise.
447         (fromfpx_test): Likewise.
448         (getpayload_test_data): Likewise.
449         (getpayload_test): Likewise.
450         (hypot_test_data): Likewise.
451         (hypot_test): Likewise.
452         (ilogb_test_data): Likewise.
453         (ilogb_test): Likewise.
454         (iscanonical_test_data): Likewise.
455         (iscanonical_test): Likewise.
456         (iseqsig_test_data): Likewise.
457         (iseqsig_test): Likewise.
458         (isfinite_test_data): Likewise.
459         (isfinite_test): Likewise.
460         (finite_test): Likewise.
461         (isgreater_test_data): Likewise.
462         (isgreater_test): Likewise.
463         (isgreaterequal_test_data): Likewise.
464         (isgreaterequal_test): Likewise.
465         (isinf_test_data): Likewise.
466         (isinf_test): Likewise.
467         (isless_test_data): Likewise.
468         (isless_test): Likewise.
469         (islessequal_test_data): Likewise.
470         (islessequal_test): Likewise.
471         (islessgreater_test_data): Likewise.
472         (islessgreater_test): Likewise.
473         (isnan_test_data): Likewise.
474         (isnan_test): Likewise.
475         (isnormal_test_data): Likewise.
476         (isnormal_test): Likewise.
477         (issignaling_test_data): Likewise.
478         (issignaling_test): Likewise.
479         (issubnormal_test_data): Likewise.
480         (issubnormal_test): Likewise.
481         (isunordered_test_data): Likewise.
482         (isunordered_test): Likewise.
483         (iszero_test_data): Likewise.
484         (iszero_test): Likewise.
485         (j0_test_data): Likewise.
486         (j0_test): Likewise.
487         (j1_test_data): Likewise.
488         (j1_test): Likewise.
489         (jn_test_data): Likewise.
490         (jn_test): Likewise.
491         (lgamma_test_data): Likewise.
492         (lgamma_test): Likewise.
493         (gamma_test): Likewise.
494         (llogb_test_data): Likewise.
495         (llogb_test): Likewise.
496         (lrint_test_data): Likewise.
497         (lrint_test): Likewise.
498         (llrint_test_data): Likewise.
499         (llrint_test): Likewise.
500         (log_test_data): Likewise.
501         (log_test): Likewise.
502         (log10_test_data): Likewise.
503         (log10_test): Likewise.
504         (log1p_test_data): Likewise.
505         (log1p_test): Likewise.
506         (log2_test_data): Likewise.
507         (log2_test): Likewise.
508         (logb_test_data): Likewise.
509         (logb_test): Likewise.
510         (lround_test_data): Likewise.
511         (lround_test): Likewise.
512         (llround_test_data): Likewise.
513         (llround_test): Likewise.
514         (modf_test_data): Likewise.
515         (modf_test): Likewise.
516         (nearbyint_test_data): Likewise.
517         (nearbyint_test): Likewise.
518         (nextafter_test_data): Likewise.
519         (nextafter_test): Likewise.
520         (nextup_test_data): Likewise.
521         (nextup_test): Likewise.
522         (nextdown_test_data): Likewise.
523         (nextdown_test): Likewise.
524         (nexttoward_test_data): Likewise.
525         (nexttoward_test): Likewise.
526         (pow_test_data): Likewise.
527         (pow_test): Likewise.
528         (remainder_test_data): Likewise.
529         (remainder_test): Likewise.
530         (drem_test): Likewise.
531         (remquo_test_data): Likewise.
532         (remquo_test): Likewise.
533         (rint_test_data): Likewise.
534         (rint_test): Likewise.
535         (round_test_data): Likewise.
536         (round_test): Likewise.
537         (roundeven_test_data): Likewise.
538         (roundeven_test): Likewise.
539         (scalb_test_data): Likewise.
540         (scalb_test): Likewise.
541         (scalbn_test_data): Likewise.
542         (scalbn_test): Likewise.
543         (ldexp_test): Likewise.
544         (scalbln_test_data): Likewise.
545         (scalbln_test): Likewise.
546         (setpayload_test_data): Likewise.
547         (setpayload_test): Likewise.
548         (setpayloadsig_test_data): Likewise.
549         (setpayloadsig_test): Likewise.
550         (signbit_test_data): Likewise.
551         (signbit_test): Likewise.
552         (sin_test_data): Likewise.
553         (sin_test): Likewise.
554         (sincos_test_data): Likewise.
555         (sincos_test): Likewise.
556         (sinh_test_data): Likewise.
557         (sinh_test): Likewise.
558         (sqrt_test_data): Likewise.
559         (sqrt_test): Likewise.
560         (tan_test_data): Likewise.
561         (tan_test): Likewise.
562         (tanh_test_data): Likewise.
563         (tanh_test): Likewise.
564         (tgamma_test_data): Likewise.
565         (tgamma_test): Likewise.
566         (totalorder_test_data): Likewise.
567         (totalorder_test): Likewise.
568         (totalordermag_test_data): Likewise.
569         (totalordermag_test): Likewise.
570         (trunc_test_data): Likewise.
571         (trunc_test): Likewise.
572         (ufromfp_test_data): Likewise.
573         (ufromfp_test): Likewise.
574         (ufromfpx_test_data): Likewise.
575         (ufromfpx_test): Likewise.
576         (y0_test_data): Likewise.
577         (y0_test): Likewise.
578         (y1_test_data): Likewise.
579         (y1_test): Likewise.
580         (yn_test_data): Likewise.
581         (yn_test): Likewise.
582         (significand_test_data): Likewise.
583         (significand_test): Likewise.
584         * math/Makefile (auto-libm-test-out-files): Remove variable.
585         (libm-test-funcs-noauto): New variable.
586         (libm-test-funcs-all): Likewise.
587         (libm-test-c-auto): Likewise.
588         (libm-test-c-noauto): Likewise.
589         (libm-tests-generated): Add $(libm-test-c-auto) and
590         $(libm-test-c-noauto).
591         (generated): Do not add auto-libm-test-out.
592         (libm-test-c-auto-obj): New variable.
593         (libm-test-c-noauto-obj): Likewise.
594         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
595         ($(libm-test-c-noauto-obj)): New static pattern rule.
596         ($(libm-test-c-auto-obj)): Likewise.
597         (libm-test-incs): New variable.
598         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
599         and pass it to gen-libm-have-vector-test.sh.
600         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
601         be passed on command line.
602         * math/libm-test-acos.inc: New file.  Content from
603         math/libm-test.inc.
604         * math/libm-test-acosh.inc: Likewise.
605         * math/libm-test-asin.inc: Likewise.
606         * math/libm-test-asinh.inc: Likewise.
607         * math/libm-test-atan.inc: Likewise.
608         * math/libm-test-atan2.inc: Likewise.
609         * math/libm-test-atanh.inc: Likewise.
610         * math/libm-test-cabs.inc: Likewise.
611         * math/libm-test-cacos.inc: Likewise.
612         * math/libm-test-cacosh.inc: Likewise.
613         * math/libm-test-canonicalize.inc: Likewise.
614         * math/libm-test-carg.inc: Likewise.
615         * math/libm-test-casin.inc: Likewise.
616         * math/libm-test-casinh.inc: Likewise.
617         * math/libm-test-catan.inc: Likewise.
618         * math/libm-test-catanh.inc: Likewise.
619         * math/libm-test-cbrt.inc: Likewise.
620         * math/libm-test-ccos.inc: Likewise.
621         * math/libm-test-ccosh.inc: Likewise.
622         * math/libm-test-ceil.inc: Likewise.
623         * math/libm-test-cexp.inc: Likewise.
624         * math/libm-test-cimag.inc: Likewise.
625         * math/libm-test-clog.inc: Likewise.
626         * math/libm-test-clog10.inc: Likewise.
627         * math/libm-test-conj.inc: Likewise.
628         * math/libm-test-copysign.inc: Likewise.
629         * math/libm-test-cos.inc: Likewise.
630         * math/libm-test-cosh.inc: Likewise.
631         * math/libm-test-cpow.inc: Likewise.
632         * math/libm-test-cproj.inc: Likewise.
633         * math/libm-test-creal.inc: Likewise.
634         * math/libm-test-csin.inc: Likewise.
635         * math/libm-test-csinh.inc: Likewise.
636         * math/libm-test-csqrt.inc: Likewise.
637         * math/libm-test-ctan.inc: Likewise.
638         * math/libm-test-ctanh.inc: Likewise.
639         * math/libm-test-erf.inc: Likewise.
640         * math/libm-test-erfc.inc: Likewise.
641         * math/libm-test-exp.inc: Likewise.
642         * math/libm-test-exp10.inc: Likewise.
643         * math/libm-test-exp2.inc: Likewise.
644         * math/libm-test-expm1.inc: Likewise.
645         * math/libm-test-fabs.inc: Likewise.
646         * math/libm-test-fdim.inc: Likewise.
647         * math/libm-test-floor.inc: Likewise.
648         * math/libm-test-fma.inc: Likewise.
649         * math/libm-test-fmax.inc: Likewise.
650         * math/libm-test-fmaxmag.inc: Likewise.
651         * math/libm-test-fmin.inc: Likewise.
652         * math/libm-test-fminmag.inc: Likewise.
653         * math/libm-test-fmod.inc: Likewise.
654         * math/libm-test-fpclassify.inc: Likewise.
655         * math/libm-test-frexp.inc: Likewise.
656         * math/libm-test-fromfp.inc: Likewise.
657         * math/libm-test-fromfpx.inc: Likewise.
658         * math/libm-test-getpayload.inc: Likewise.
659         * math/libm-test-hypot.inc: Likewise.
660         * math/libm-test-ilogb.inc: Likewise.
661         * math/libm-test-iscanonical.inc: Likewise.
662         * math/libm-test-iseqsig.inc: Likewise.
663         * math/libm-test-isfinite.inc: Likewise.
664         * math/libm-test-isgreater.inc: Likewise.
665         * math/libm-test-isgreaterequal.inc: Likewise.
666         * math/libm-test-isinf.inc: Likewise.
667         * math/libm-test-isless.inc: Likewise.
668         * math/libm-test-islessequal.inc: Likewise.
669         * math/libm-test-islessgreater.inc: Likewise.
670         * math/libm-test-isnan.inc: Likewise.
671         * math/libm-test-isnormal.inc: Likewise.
672         * math/libm-test-issignaling.inc: Likewise.
673         * math/libm-test-issubnormal.inc: Likewise.
674         * math/libm-test-isunordered.inc: Likewise.
675         * math/libm-test-iszero.inc: Likewise.
676         * math/libm-test-j0.inc: Likewise.
677         * math/libm-test-j1.inc: Likewise.
678         * math/libm-test-jn.inc: Likewise.
679         * math/libm-test-lgamma.inc: Likewise.
680         * math/libm-test-llogb.inc: Likewise.
681         * math/libm-test-llrint.inc: Likewise.
682         * math/libm-test-llround.inc: Likewise.
683         * math/libm-test-log.inc: Likewise.
684         * math/libm-test-log10.inc: Likewise.
685         * math/libm-test-log1p.inc: Likewise.
686         * math/libm-test-log2.inc: Likewise.
687         * math/libm-test-logb.inc: Likewise.
688         * math/libm-test-lrint.inc: Likewise.
689         * math/libm-test-lround.inc: Likewise.
690         * math/libm-test-modf.inc: Likewise.
691         * math/libm-test-nearbyint.inc: Likewise.
692         * math/libm-test-nextafter.inc: Likewise.
693         * math/libm-test-nextdown.inc: Likewise.
694         * math/libm-test-nexttoward.inc: Likewise.
695         * math/libm-test-nextup.inc: Likewise.
696         * math/libm-test-pow.inc: Likewise.
697         * math/libm-test-remainder.inc: Likewise.
698         * math/libm-test-remquo.inc: Likewise.
699         * math/libm-test-rint.inc: Likewise.
700         * math/libm-test-round.inc: Likewise.
701         * math/libm-test-roundeven.inc: Likewise.
702         * math/libm-test-scalb.inc: Likewise.
703         * math/libm-test-scalbln.inc: Likewise.
704         * math/libm-test-scalbn.inc: Likewise.
705         * math/libm-test-setpayload.inc: Likewise.
706         * math/libm-test-setpayloadsig.inc: Likewise.
707         * math/libm-test-signbit.inc: Likewise.
708         * math/libm-test-significand.inc: Likewise.
709         * math/libm-test-sin.inc: Likewise.
710         * math/libm-test-sincos.inc: Likewise.
711         * math/libm-test-sinh.inc: Likewise.
712         * math/libm-test-sqrt.inc: Likewise.
713         * math/libm-test-tan.inc: Likewise.
714         * math/libm-test-tanh.inc: Likewise.
715         * math/libm-test-tgamma.inc: Likewise.
716         * math/libm-test-totalorder.inc: Likewise.
717         * math/libm-test-totalordermag.inc: Likewise.
718         * math/libm-test-trunc.inc: Likewise.
719         * math/libm-test-ufromfp.inc: Likewise.
720         * math/libm-test-ufromfpx.inc: Likewise.
721         * math/libm-test-y0.inc: Likewise.
722         * math/libm-test-y1.inc: Likewise.
723         * math/libm-test-yn.inc: Likewise.
724         * math/README.libm-test: Update.
726         * math/gen-auto-libm-tests.c: Update comment about use of program.
727         (generate_output): Add argument FUNCTION.
728         (main): Require extra argument.  Pass function name to
729         generate_output.
730         * math/Makefile (generated): Add auto-libm-test-out.
731         (libm-test-funcs-auto): New variable.
732         (auto-libm-test-out-files): New variable.
733         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
734         Concatenate those files to form $(objpfx)auto-libm-test-out and
735         use it as input to gen-libm-test.pl.
736         * math/README.libm-test: Update.
737         * math/auto-libm-test-out: Remove.
738         * math/auto-libm-test-out-acos: New generated file.
739         * math/auto-libm-test-out-acosh: Likewise.
740         * math/auto-libm-test-out-asin: Likewise.
741         * math/auto-libm-test-out-asinh: Likewise.
742         * math/auto-libm-test-out-atan: Likewise.
743         * math/auto-libm-test-out-atan2: Likewise.
744         * math/auto-libm-test-out-atanh: Likewise.
745         * math/auto-libm-test-out-cabs: Likewise.
746         * math/auto-libm-test-out-carg: Likewise.
747         * math/auto-libm-test-out-cbrt: Likewise.
748         * math/auto-libm-test-out-ccos: Likewise.
749         * math/auto-libm-test-out-ccosh: Likewise.
750         * math/auto-libm-test-out-cexp: Likewise.
751         * math/auto-libm-test-out-clog: Likewise.
752         * math/auto-libm-test-out-clog10: Likewise.
753         * math/auto-libm-test-out-cos: Likewise.
754         * math/auto-libm-test-out-cosh: Likewise.
755         * math/auto-libm-test-out-cpow: Likewise.
756         * math/auto-libm-test-out-csin: Likewise.
757         * math/auto-libm-test-out-csinh: Likewise.
758         * math/auto-libm-test-out-csqrt: Likewise.
759         * math/auto-libm-test-out-ctan: Likewise.
760         * math/auto-libm-test-out-ctanh: Likewise.
761         * math/auto-libm-test-out-erf: Likewise.
762         * math/auto-libm-test-out-erfc: Likewise.
763         * math/auto-libm-test-out-exp: Likewise.
764         * math/auto-libm-test-out-exp10: Likewise.
765         * math/auto-libm-test-out-exp2: Likewise.
766         * math/auto-libm-test-out-expm1: Likewise.
767         * math/auto-libm-test-out-fma: Likewise.
768         * math/auto-libm-test-out-hypot: Likewise.
769         * math/auto-libm-test-out-j0: Likewise.
770         * math/auto-libm-test-out-j1: Likewise.
771         * math/auto-libm-test-out-jn: Likewise.
772         * math/auto-libm-test-out-lgamma: Likewise.
773         * math/auto-libm-test-out-log: Likewise.
774         * math/auto-libm-test-out-log10: Likewise.
775         * math/auto-libm-test-out-log1p: Likewise.
776         * math/auto-libm-test-out-log2: Likewise.
777         * math/auto-libm-test-out-pow: Likewise.
778         * math/auto-libm-test-out-sin: Likewise.
779         * math/auto-libm-test-out-sincos: Likewise.
780         * math/auto-libm-test-out-sinh: Likewise.
781         * math/auto-libm-test-out-sqrt: Likewise.
782         * math/auto-libm-test-out-tan: Likewise.
783         * math/auto-libm-test-out-tanh: Likewise.
784         * math/auto-libm-test-out-tgamma: Likewise.
785         * math/auto-libm-test-out-y0: Likewise.
786         * math/auto-libm-test-out-y1: Likewise.
787         * math/auto-libm-test-out-yn: Likewise.
789         * math/Makefile (generated): Do not include libm-test.stmp.
790         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
791         on $(objpfx)libm-test.stmp.
792         ($(objpfx)libm-test.stmp): Remove rule.
793         ($(objpfx)libm-test-ulps.h): New rule.
794         ($(objpfx)libm-test.c): Likewise.
795         ($(objpfx)libm-have-vector-test.h): Likewise.
796         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
797         individual generated files, not libm-test.stmp.
799         * math/gen-libm-test.pl ($output_dir): Remove variable.
800         ($srcdir): Likewise.
801         ($opt_a): New variable.
802         ($opt_c): Likewise.
803         ($opt_C): Likewise.
804         ($opt_H): Likewise.
805         (-n): Make option take argument and use it as NewUlps output.
806         (-a): New option.  Use its argument for auto-libm-test-out input.
807         (-c): New option.  Use its argument for libm-test.inc input.
808         (-C): New option.  Use its argument for libm-test.c output.
809         (-H): New option.  Use its argument for libm-test-ulps.h output.
810         (top level): Only process inputs needed to generate outputs
811         specified by command-line options.  Only generate outputs
812         specified by command-line options.
813         * math/README.libm-test: Update example gen-libm-test.pl command.
814         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
815         commands.
816         (regen-ulps): Likewise.
818 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
820         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
821         * include/string.h (index): Remove define.
822         (rindex): Likewise.
823         * misc/getttyent.c (__getttyent): Rename index to strchr.
824         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
825         * sunrpc/rpc_main.c (mkfile_output): Likewise.
827 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
829         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
830         * math/libm-test.inc: Move all contents, other than tests of
831         individual functions, to libm-test-driver.c.
832         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
833         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
834         [!FE_UPWARD] (FE_UPWARD): Likewise.
835         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
836         (NO_EXCEPTION): Likewise.
837         (INVALID_EXCEPTION): Likewise.
838         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
839         (OVERFLOW_EXCEPTION): Likewise.
840         (UNDERFLOW_EXCEPTION): Likewise.
841         (INEXACT_EXCEPTION): Likewise.
842         (INVALID_EXCEPTION_OK): Likewise.
843         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
844         (OVERFLOW_EXCEPTION_OK): Likewise.
845         (UNDERFLOW_EXCEPTION_OK): Likewise.
846         (NO_INEXACT_EXCEPTION): Likewise.
847         (EXCEPTIONS_OK): Likewise.
848         (IGNORE_ZERO_INF_SIGN): Likewise.
849         (TEST_NAN_SIGN): Likewise.
850         (TEST_NAN_PAYLOAD): Likewise.
851         (NO_TEST_INLINE): Likewise.
852         (XFAIL_TEST): Likewise.
853         (ERRNO_UNCHANGED): Likewise.
854         (ERRNO_EDOM): Likewise.
855         (ERRNO_ERANGE): Likewise.
856         (IGNORE_RESULT): Likewise.
857         (NON_FINITE): Likewise.
858         (TEST_SNAN): Likewise.
859         (NO_TEST_MATHVEC): Likewise.
860         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
861         (__CONCATX): Likewise.
862         (TYPE_MIN): Likewise.
863         (TYPE_TRUE_MIN): Likewise.
864         (TYPE_MAX): Likewise.
865         (MIN_EXP): Likewise.
866         (MAX_EXP): Likewise.
867         (MANT_DIG): Likewise.
868         (FSTR_MAX): Likewise.
869         (ULP_IDX): Likewise.
870         (QTYPE_STR): Likewise.
871         (TEST_COND_binary32): Likewise.
872         (TEST_COND_binary64): Likewise.
873         (TEST_COND_binary128): Likewise.
874         (TEST_COND_ibm128): Likewise.
875         (TEST_COND_intel96): Likewise.
876         (TEST_COND_m68k96): Likewise.
877         (TEST_COND_ibm128_libgcc): Likewise.
878         (XFAIL_IBM128_LIBGCC): Likewise.
879         (PAYLOAD_DIG): Likewise.
880         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
881         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
882         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
883         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
884         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
885         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
886         (TEST_COND_long32): Likewise.
887         (TEST_COND_long64): Likewise.
888         (TEST_COND_before_rounding): Likewise.
889         (TEST_COND_after_rounding): Likewise.
890         (lit_pi_3_m_4_d): Likewise.
891         (lit_pi_3_m_4_ln10_m_d): Likewise.
892         (lit_pi_2_ln10_m_d): Likewise.
893         (lit_pi_4_ln10_m_d): Likewise.
894         (lit_pi_ln10_d): Likewise.
895         (lit_pi_2_d): Likewise.
896         (lit_pi_4_d): Likewise.
897         (lit_pi): Likewise.
898         (lit_e): Likewise.
899         (ulps_file_name): Likewise.
900         (ulps_file): Likewise.
901         (output_ulps): Likewise.
902         (output_dir): Likewise.
903         (noErrors): Likewise.
904         (noTests): Likewise.
905         (noExcTests): Likewise.
906         (noErrnoTests): Likewise.
907         (verbose): Likewise.
908         (output_max_error): Likewise.
909         (output_points): Likewise.
910         (ignore_max_ulp): Likewise.
911         (plus_zero): Likewise.
912         (minus_zero): Likewise.
913         (plus_infty): Likewise.
914         (minus_infty): Likewise.
915         (qnan_value_pl): Likewise.
916         (qnan_value): Likewise.
917         (snan_value_pl): Likewise.
918         (snan_value): Likewise.
919         (max_value): Likewise.
920         (min_value): Likewise.
921         (min_subnorm_value): Likewise.
922         (snan_value_ld): Likewise.
923         (max_error): Likewise.
924         (real_max_error): Likewise.
925         (imag_max_error): Likewise.
926         (prev_max_error): Likewise.
927         (prev_real_max_error): Likewise.
928         (prev_imag_max_error): Likewise.
929         (max_valid_error): Likewise.
930         (TYPE_DECIMAL_DIG): Likewise.
931         (TYPE_HEX_DIG): Likewise.
932         (fmt_ftostr): Likewise.
933         (compare_ulp_data): Likewise.
934         (find_ulps): Likewise.
935         (init_max_error): Likewise.
936         (set_max_error): Likewise.
937         (print_float): Likewise.
938         (print_screen): Likewise.
939         (print_screen_max_error): Likewise.
940         (update_stats): Likewise.
941         (print_function_ulps): Likewise.
942         (print_complex_function_ulps): Likewise.
943         (fpstack_test): Likewise.
944         (print_max_error): Likewise.
945         (print_complex_max_error): Likewise.
946         (test_single_exception): Likewise.
947         (test_exceptions): Likewise.
948         (test_single_errno): Likewise.
949         (test_errno): Likewise.
950         (ULPDIFF): Likewise.
951         (ulp): Likewise.
952         (check_float_internal): Likewise.
953         (check_float): Likewise.
954         (check_complex): Likewise.
955         (check_int): Likewise.
956         (check_long): Likewise.
957         (check_bool): Likewise.
958         (check_longlong): Likewise.
959         (check_intmax_t): Likewise.
960         (check_uintmax_t): Likewise.
961         (enable_test): Likewise.
962         (struct test_f_f_data): Likewise.
963         (struct test_ff_f_data): Likewise.
964         (struct test_fj_f_data): Likewise.
965         (struct test_fi_f_data): Likewise.
966         (struct test_fl_f_data): Likewise.
967         (struct test_if_f_data): Likewise.
968         (struct test_fff_f_data): Likewise.
969         (struct test_fiu_M_data): Likewise.
970         (struct test_fiu_U_data): Likewise.
971         (struct test_c_f_data): Likewise.
972         (struct test_f_f1_data): Likewise.
973         (struct test_fF_f1_data): Likewise.
974         (struct test_ffI_f1_data): Likewise.
975         (struct test_c_c_data): Likewise.
976         (struct test_cc_c_data): Likewise.
977         (struct test_f_i_data): Likewise.
978         (struct test_ff_i_data): Likewise.
979         (struct test_f_l_data): Likewise.
980         (struct test_f_L_data): Likewise.
981         (struct test_fFF_11_data): Likewise.
982         (struct test_Ff_b1_data): Likewise.
983         (IF_ROUND_INIT_): Likewise.
984         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
985         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
986         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
987         (IF_ROUND_INIT_FE_UPWARD): Likewise.
988         (ROUND_RESTORE_): Likewise.
989         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
990         (ROUND_RESTORE_FE_TONEAREST): Likewise.
991         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
992         (ROUND_RESTORE_FE_UPWARD): Likewise.
993         (RM_): Likewise.
994         (RM_FE_DOWNWARD): Likewise.
995         (RM_FE_TONEAREST): Likewise.
996         (RM_FE_TOWARDZERO): Likewise.
997         (RM_FE_UPWARD): Likewise.
998         (COMMON_TEST_SETUP): Likewise.
999         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1000         (COMMON_TEST_CLEANUP): Likewise.
1001         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1002         (RUN_TEST_f_f): Likewise.
1003         (RUN_TEST_LOOP_f_f): Likewise.
1004         (RUN_TEST_fp_f): Likewise.
1005         (RUN_TEST_LOOP_fp_f): Likewise.
1006         (RUN_TEST_2_f): Likewise.
1007         (RUN_TEST_LOOP_2_f): Likewise.
1008         (RUN_TEST_ff_f): Likewise.
1009         (RUN_TEST_LOOP_ff_f): Likewise.
1010         (RUN_TEST_LOOP_fj_f): Likewise.
1011         (RUN_TEST_fi_f): Likewise.
1012         (RUN_TEST_LOOP_fi_f): Likewise.
1013         (RUN_TEST_fl_f): Likewise.
1014         (RUN_TEST_LOOP_fl_f): Likewise.
1015         (RUN_TEST_if_f): Likewise.
1016         (RUN_TEST_LOOP_if_f): Likewise.
1017         (RUN_TEST_fff_f): Likewise.
1018         (RUN_TEST_LOOP_fff_f): Likewise.
1019         (RUN_TEST_fiu_M): Likewise.
1020         (RUN_TEST_LOOP_fiu_M): Likewise.
1021         (RUN_TEST_fiu_U): Likewise.
1022         (RUN_TEST_LOOP_fiu_U): Likewise.
1023         (RUN_TEST_c_f): Likewise.
1024         (RUN_TEST_LOOP_c_f): Likewise.
1025         (RUN_TEST_f_f1): Likewise.
1026         (RUN_TEST_LOOP_f_f1): Likewise.
1027         (RUN_TEST_fF_f1): Likewise.
1028         (RUN_TEST_LOOP_fF_f1): Likewise.
1029         (RUN_TEST_fI_f1): Likewise.
1030         (RUN_TEST_LOOP_fI_f1): Likewise.
1031         (RUN_TEST_ffI_f1_mod8): Likewise.
1032         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1033         (RUN_TEST_Ff_b1): Likewise.
1034         (RUN_TEST_LOOP_Ff_b1): Likewise.
1035         (RUN_TEST_Ffp_b1): Likewise.
1036         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1037         (RUN_TEST_c_c): Likewise.
1038         (RUN_TEST_LOOP_c_c): Likewise.
1039         (RUN_TEST_cc_c): Likewise.
1040         (RUN_TEST_LOOP_cc_c): Likewise.
1041         (RUN_TEST_f_i): Likewise.
1042         (RUN_TEST_LOOP_f_i): Likewise.
1043         (RUN_TEST_f_i_tg): Likewise.
1044         (RUN_TEST_LOOP_f_i_tg): Likewise.
1045         (RUN_TEST_ff_b): Likewise.
1046         (RUN_TEST_LOOP_ff_b): Likewise.
1047         (RUN_TEST_ff_i_tg): Likewise.
1048         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1049         (RUN_TEST_f_b): Likewise.
1050         (RUN_TEST_LOOP_f_b): Likewise.
1051         (RUN_TEST_f_b_tg): Likewise.
1052         (RUN_TEST_LOOP_f_b_tg): Likewise.
1053         (RUN_TEST_f_l): Likewise.
1054         (RUN_TEST_LOOP_f_l): Likewise.
1055         (RUN_TEST_f_L): Likewise.
1056         (RUN_TEST_LOOP_f_L): Likewise.
1057         (RUN_TEST_fFF_11): Likewise.
1058         (RUN_TEST_LOOP_fFF_11): Likewise.
1059         (VEC_SUFF): Likewise.
1060         (STR_CONCAT): Likewise.
1061         (STR_CON3): Likewise.
1062         (HAVE_VECTOR): Likewise.
1063         (START): Likewise.
1064         (END): Likewise.
1065         (END_COMPLEX): Likewise.
1066         (ALL_RM_TEST): Likewise.
1067         (matherr): Likewise.
1068         (initialize): Likewise.
1069         (options): Likewise.
1070         (doc): Likewise.
1071         (parse_opt): Likewise.
1072         (argp): Likewise.
1073         (check_ulp): Likewise.
1074         (main): Likewise.
1075         (do_test): New function.  Call tests of individual functions
1076         previously called from main.
1078         * math/libm-test.inc: Remove comment listing functions tested and
1079         not tested.
1081 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1083         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1084         (allocate_stack): Remove COLORING_INCREMENT usage.
1085         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1086         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1088 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1090         * manual/libm-err-tab.pl (@all_functions): Change to
1091         %all_functions.  Initialize as empty.
1092         (parse_ulps): Add to %all_functions based on functions found in
1093         ulps files.  Ignore results for non-default rounding modes and
1094         vector functions.
1095         (print_platforms): Use %all_platforms.
1096         * manual/math.texi (Errors in Math Functions): Document omissions
1097         from the table.
1099         * math/Makefile (before-compile): Remove.
1101 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1103         [BZ #21075]
1104         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1105         unused assignment.
1106         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1108 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1110         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1111         Add __glibc_unlikely hint.
1113 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1115         [BZ #16640]
1116         * sysdeps/i386/i686/strtok.S: Remove file.
1117         * sysdeps/i386/i686/strtok_r.S: Likewise.
1118         * sysdeps/i386/strtok.S: Likewise.
1119         * sysdeps/i386/strtok_r.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1121         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1122         * sysdeps/x86_64/strtok.S: Likewise.
1123         * sysdeps/x86_64/strtok_r.S: Likewise.
1125         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1126         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1127         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1128         (__ASSUME_FADVISE64_AS_64_64): Define.
1129         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1130         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1131         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1132         __ALIGNMENT_ARG usage.
1133         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1134         __NR_fadvise64_64 if it is not defined.
1136 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1138         * version.h (RELEASE): Set to "development"
1139         (VERSION): Set to 2.25.90.
1140         * NEWS: Add 2.26 section.
1142         * version.h (RELEASE): Set to "stable"
1143         (VERSION): Set to 2.25.
1144         * include/features.h (__GLIBC_MINOR__): Set to 25.
1146         * manual/contrib.texi: Add more contributors from this release
1147         and past releases.
1149         * NEWS (2.25): Add list of bugs fixed.
1151         * NEWS: Add missing news items.
1153 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1155         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1156         parent if child exited in that manner.  Print WEXITSTATUS
1157         instead of the raw status.
1158         (do_test_prep): Rename to do_test.
1159         (do_test): Return the result of run_executable_sgid.
1160         (TEST_FUNCTION_ARGV): Adjust.
1162 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1163             Florian Weimer  <fweimer@redhat.com>
1164             Carlos O'Donell  <carlos@redhat.com>
1166         [BZ #20915]
1167         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1168         Do not initialize DTV.
1169         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1171 2017-02-03  David S. Miller  <davem@davemloft.net>
1173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1181         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1182         (libm-sysdep_routines): Update.
1183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1188         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1189         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1190         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1191         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1193         Likewise.
1194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1196         Likewise.
1197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1199         Likewise.
1200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1202         Likewise.
1203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1205         (libm-sysdep_routines): Update.
1207 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1209         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1210         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1211         against unrelocated shared library.
1212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1214 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1216         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1217         * elf/tst-env-setuid-tunables.c
1218         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1219         GLIBC_TUNABLES is removed in a setgid process.
1221         [BZ #21073]
1222         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1223         * elf/dl-tunables.c (tunables_strdup): Remove.
1224         (get_next_env): Also return the previous envp.
1225         (parse_tunables): Erase tunables of category
1226         TUNABLES_SECLEVEL_SXID_ERASE.
1227         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1228         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1229         (__tunables_init)[TUNABLES_FRONTEND ==
1230         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1231         after parsing.
1232         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1233         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1234         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1235         to security_level.
1236         * elf/dl-tunables.list: Add security_level annotations for all
1237         tunables.
1238         * scripts/gen-tunables.awk: Recognize and generate enum values
1239         for security_level.
1240         * elf/tst-env-setuid.c: New test case.
1241         * elf/tst-env-setuid-tunables: new test case.
1242         * elf/Makefile (tests-static): Add them.
1244 2017-02-01  Richard Henderson  <rth@twiddle.net>
1246         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1247         adjusting the byte count.
1249 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1251         * conform/Makefile (linknamespace-libs): Define.
1253         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1254         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1255         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1256         operands.
1258 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1260         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1262 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1264         [BZ #21081]
1265         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1266         (L(stosb)): Add VZEROUPPER before ret.
1268 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1269             Alexey Makhalov <amakhalov@vmware.com>
1270             Florian Weimer <fweimer@redhat.com>
1272         [BZ #20116]
1273         * nptl/pthread_create.c: Document concurrency notes.
1274         Enhance thread creation notes.
1275         (create_thread): Use bool *stopped_start.
1276         (START_THREAD_DEFN): Comment ownership of PD.
1277         (__pthread_create_2_1): Add local bool stopped_start and use
1278         that instead of pd->stopped_start where appropriate.
1279         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1280         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1281         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1282         * nptl/tst-create-detached.c: New file.
1283         * nptl/Makefile (tests): Add tst-create-detached.
1284         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1285         Reference the enhanced thread creation notes.
1286         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1287         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1288         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1289         (__pthread_current_priority): Likewise.
1290         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1291         xpthread_attr_init, xpthread_attr_setdetachstate, and
1292         xpthread_attr_setstacksize.
1293         * support/xpthread_attr_destroy.c: New file.
1294         * support/xpthread_attr_init.c: New file.
1295         * support/xpthread_attr_setdetachstate.c: New file.
1296         * support/xpthread_attr_setstacksize.c: New file.
1297         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1298         xpthread_attr_init, xpthread_attr_setdetachstate, and
1299         xpthread_attr_setstacksize.
1301 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1303         * nptl/Makefile (tests): Add tst-robust-fork.
1304         * nptl/tst-robust-fork.c: New file.
1305         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1306         xpthread_mutex_consistent, xpthread_mutex_destroy,
1307         xpthread_mutex_init, xpthread_mutexattr_destroy,
1308         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1309         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1310         xpthread_mutexattr_settype.
1311         * support/xmmap.c: New file.
1312         * support/xmunmap.c: Likewise.
1313         * support/xpthread_mutex_consistent.c: Likewise.
1314         * support/xpthread_mutex_destroy.c: Likewise.
1315         * support/xpthread_mutex_init.c: Likewise.
1316         * support/xpthread_mutexattr_destroy.c: Likewise.
1317         * support/xpthread_mutexattr_init.c: Likewise.
1318         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1319         * support/xpthread_mutexattr_setpshared.c: Likewise.
1320         * support/xpthread_mutexattr_setrobust.c: Likewise.
1321         * support/xpthread_mutexattr_settype.c: Likewise.
1322         * support/xthread.h (xpthread_mutexattr_destroy)
1323         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1324         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1325         (xpthread_mutexattr_settype, xpthread_mutex_init)
1326         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1327         * support/xunistd.h (xmmap, xmunmap): Likewise.
1329 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1331         * string/Makefile (xtests): Add comment.
1332         (LOCALES): Add en_GB.UTF-8.
1333         (tst-strcoll-overflow.out): Depend on generated locales.
1334         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1335         (SIZE, TIMEOUT): Update comments.
1336         (do_test): Define as static.  Fail test if setlocale fails.
1337         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1338         messages.
1339         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1340         TIMEOUT at 300 seconds should be enough to run this test
1341         successfully.
1343 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1345         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1346         /* FALLTHRU */ comments.
1348 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1350         [BZ #21053]
1351         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1352         constants instead of the old R* ones.
1353         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1354         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1355         (NGREG): ... to this, to fit in with other architectures.
1356         (gpregset_t): Use new NGREG macro.
1357         [__USE_GNU]: Remove condition; all architectures other than tile
1358         are unconditional.
1359         (R*): Rename to REG_R*.
1361 2017-01-20  DJ Delorie  <dj@redhat.com>
1363         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1364         (tunable_set_val_if_valid_range_signed) ... this, and ...
1365         (tunable_set_val_if_valid_range_unsigned) ... this.
1366         (tunable_initialize): Call the correct one of the above based on type.
1368 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1370         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1371         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1372         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1373         * sysdeps/microblaze/libm-test-ulps: Likewise.
1374         * sysdeps/sh/libm-test-ulps: Likewise.
1376         * math/README.libm-test: Update list of characters for input and
1377         output types.
1379 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1381         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1382         (__lll_unlock_elision): Fix adapt_count decrement.
1384 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1386         * README.pretty-printers (Known issues): Warn about printers not
1387         always covering everything.
1388         * nptl/nptl-printers.py (MutexPrinter): Change output.
1389         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1391 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1393         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1394         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1395         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1396         (__lll_lock_elision): Do not test futex before starting a
1397         transaction.  Use __glibc_likely instead of __builtin_expect.
1398         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1399         (__lll_trylock_elision): Do not test futex before starting a
1400         transaction.  Use __glibc_likely instead of __builtin_expect.
1402 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1404         * po/Makefile (update-translations): New target.
1406 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1408         [BZ #21061]
1409         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1411 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1413         * elf/dl-tunables (get_next_env): Always advance envp.
1414         * stdlib/tst-empty-env.c: New test case.
1415         * stdlib/Makefile (tests): Use it.
1417 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1419         [BZ #21047]
1420         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1421         name for instruction.
1422         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1424 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1426         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1427         for make install.
1429 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1431         * po/bg.po: Merge from Translation Project.
1432         * po/fr.po: Likewise.
1433         * po/ko.po: Likewise.
1434         * po/nl.po: Likewise.
1435         * po/sv.po: Likewise.
1437 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1439         * manual/install.texi (Tools for Compilation): Update GCC version
1440         known to work to build glibc.
1441         * INSTALL: Regenerated.
1443 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1445         [BZ #21006]
1446         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1448 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1450         [BZ #21045]
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1452         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1453         to __sigprocmask.
1455 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1457         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1458         wrap-around.
1459         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1461         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1463 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1465         * NEWS: Fix typo.
1467 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1469         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1470         barriers and comments.
1471         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1472         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1473         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1475 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1477         [BZ #19402]
1478         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1479         mutexes.
1481 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1483         [BZ #20985]
1484         * nptl/Makefile: Adapt.
1485         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1486         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1487         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1488         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1489         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1490         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1491         lll_robust* functions and adapt.
1492         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1493         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1494         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1495         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1496         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1497         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1498         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1499         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1500         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1501         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1502         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1503         * nptl/lowlevelrobustlock.c: Remove file.
1504         * nptl/lowlevelrobustlock.sym: Likewise.
1505         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1506         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1508 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1510         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1512 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1514         * po/cs.po: Merge translations from the Translation Project.
1515         * po/de.po: Likewise.
1516         * po/pl.po: Likewise.
1517         * po/ru.po: Likewise.
1518         * po/tr.po: Likewise.
1519         * po/uk.po: Likewise.
1520         * po/vi.po: Likewise.
1521         * po/zh_CN.po: Likewise.
1523 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1525         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1527         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1528         object.
1530 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1532         [BZ #16458]
1533         * bits/uintn-identity.h: New file.
1534         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1535         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1536         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1537         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1538         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1539         * string/endian.h: Include <bits/uintn-identity.h>.
1540         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1541         __uint16_identity.
1542         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1543         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1544         __uint32_identity.
1545         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1546         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1547         __uint64_identity.
1548         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1549         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1550         __uint16_identity.
1551         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1552         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1553         __uint32_identity.
1554         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1555         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1556         __uint64_identity.
1557         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1558         * string/Makefile (headers): Add bits/uintn-identity.h.
1559         (tests): Add test-endian-types.
1560         * string/test-endian-types.c: New file.
1561         * inet/Makefile (tests): Add test-hnto-types.
1562         * inet/test-hnto-types.c: New file.
1564 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1566         * po/be.po: Update from Translation Project.
1567         * po/bg.po: Likewise.
1568         * po/ca.po: Likewise.
1569         * po/cs.po: Likewise.
1570         * po/da.po: Likewise.
1571         * po/de.po: Likewise.
1572         * po/el.po: Likewise.
1573         * po/eo.po: Likewise.
1574         * po/es.po: Likewise.
1575         * po/fi.po: Likewise.
1576         * po/fr.po: Likewise.
1577         * po/gl.po: Likewise.
1578         * po/hr.po: Likewise.
1579         * po/hu.po: Likewise.
1580         * po/ia.po: Likewise.
1581         * po/id.po: Likewise.
1582         * po/it.po: Likewise.
1583         * po/ja.po: Likewise.
1584         * po/ko.po: Likewise.
1585         * po/lt.po: Likewise.
1586         * po/nb.po: Likewise.
1587         * po/nl.po: Likewise.
1588         * po/pl.po: Likewise.
1589         * po/pt_BR.po: Likewise.
1590         * po/ru.po: Likewise.
1591         * po/rw.po: Likewise.
1592         * po/sk.po: Likewise.
1593         * po/sl.po: Likewise.
1594         * po/sv.po: Likewise.
1595         * po/tr.po: Likewise.
1596         * po/uk.po: Likewise.
1597         * po/vi.po: Likewise.
1598         * po/zh_CN.po: Likewise.
1599         * po/zh_TW.po: Likewise.
1601 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1603         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1604         -Wformat-truncation instead of -Wformat-length.
1605         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1606         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1607         GCC 7.
1608         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1609         (do_test): Ignore -Wformat-truncation for GCC 7.
1611         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1612         buffer used to print long int value.
1614         * elf/sotruss-lib.c (init): Increase space allocated for pid by
1615         one byte.  Print it with %ld, cast to long int.
1617 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1619         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1620         (re.fullmatch, subprocess.run): Likewise.
1622 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1624         * po/libc.pot: Regenerate.
1626 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1628         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1629         (min_strlen): Likewise.
1630         (disable_tunable): Likewise.
1631         (maybe_disable_malloc_check): Rename to
1632         maybe_enable_malloc_check.
1633         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1634         if /etc/suid-debug file exists.
1635         (__tunables_init): Update caller.
1636         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1637         secure.
1639 2016-01-10  Torvald Riegel  <triegel@redhat.com>
1641         * nptl/DESIGN-rwlock.txt: Remove.
1642         * nptl/lowlevelrwlock.sym: Remove.
1643         * nptl/Makefile: Add new tests.
1644         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
1645         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
1646         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
1647         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
1648         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
1649         PTHREAD_RWLOCK_FUTEX_USED): New.
1650         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
1651         implementation.
1652         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
1653         (__pthread_rwlock_rdlock): Adapt.
1654         * nptl/pthread_rwlock_timedrdlock.c
1655         (pthread_rwlock_timedrdlock): Adapt.
1656         * nptl/pthread_rwlock_timedwrlock.c
1657         (pthread_rwlock_timedwrlock): Adapt.
1658         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
1659         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
1660         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
1661         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
1662         (__pthread_rwlock_wrlock): Adapt.
1663         * nptl/tst-rwlock10.c: Adapt.
1664         * nptl/tst-rwlock11.c: Adapt.
1665         * nptl/tst-rwlock17.c: New file.
1666         * nptl/tst-rwlock18.c: New file.
1667         * nptl/tst-rwlock19.c: New file.
1668         * nptl/tst-rwlock2b.c: New file.
1669         * nptl/tst-rwlock8.c: Adapt.
1670         * nptl/tst-rwlock9.c: Adapt.
1671         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1672         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1673         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1674         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1675         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1676         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1677         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1678         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1679         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1680         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1681         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1682         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1683         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1684         (pthread_rwlock_t): Adapt.
1685         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1686         (pthread_rwlock_t): Adapt.
1687         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1688         * nptl/nptl-printers.py (): Adapt.
1689         * nptl/nptl_lock_constants.pysym: Adapt.
1690         * nptl/test-rwlock-printers.py: Adapt.
1691         * nptl/test-rwlockattr-printers.c: Adapt.
1692         * nptl/test-rwlockattr-printers.py: Adapt.
1694 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
1696         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
1697         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
1698         (fma_test_data): Likewise.
1699         (hypot_test_data): Likewise.
1700         (log1p_test_data): Likewise.
1701         (modf_test_data): Likewise.
1702         (pow_test_data): Likewise.
1703         (remainder_test_data): Likewise.
1704         (remquo_test_data): Likewise.
1705         (scalb_test_data): Likewise.
1706         (scalbn_test_data): Likewise.
1707         (scalbln_test_data): Likewise.
1708         * math/gen-libm-test.pl (parse_args): Transform
1709         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
1710         on the rounding mode.
1712 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
1714         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
1715         xfail-rounding:ibm128-libgcc automatically to tests overflowing
1716         and those that can underflow to zero.
1717         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
1718         add others.
1719         * math/auto-libm-test-out: Regenerated.
1721         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
1722         supported.
1723         (feholdexcept_tests): Skip tests requiring exceptions or rounding
1724         modes support if not supported.
1726         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
1727         Add libc.so PLT entry.
1728         (__tls_get_addr): Make ld.so PLT entry optional.
1730 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1732         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
1733         * string/bits/string3.h: ... here.
1735 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1737         [BZ #21028]
1738         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
1739         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
1740         if EXCEPTION_TESTS returns false.
1742 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1744         [BZ #20558]
1745         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
1746         strings_fortified.h.
1747         [__USE_MISC] (bzero): Likewise.
1748         [__USE_MISC] (explicit_bzero): Likewise.
1749         * string/strings.h: Include strings_fortified.h.
1750         * string/Makefile (headers): Add strings_fortified.h.
1751         * string/bits/strings_fortified.h: New file.
1752         * include/bits/strings_fortified.h: Likewise.
1754 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1756         * elf/tst-tls13.c (TIMEOUT): Remove.
1757         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
1758         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
1759         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
1760         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
1761         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
1763         [BZ #21026]
1764         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
1765         (readahead): New syscall entry.
1767 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1769         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
1770         around tests of strncat with large sizes.
1772         * malloc/tst-malloc.c: Include <libc-internal.h>.
1773         (do_test): Disable -Walloc-size-larger-than= around tests of
1774         malloc with negative sizes.
1775         * malloc/tst-mcheck.c: Include <libc-internal.h>.
1776         (do_test): Disable -Walloc-size-larger-than= around tests of
1777         malloc and realloc with negative sizes.
1778         * malloc/tst-realloc.c: Include <libc-internal.h>.
1779         (do_test): Disable -Walloc-size-larger-than= around tests of
1780         realloc with negative sizes.
1782         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
1783         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
1784         allowed to 16 ulps.
1785         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
1786         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
1787         * math/auto-libm-test-out: Regenerated.
1789 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1791         * math/Makefile (libm-calls): Move wrappers...
1792         (libm-compat-call-auto): Here.
1793         (libm-routines): Add items in libm-compat-calls-auto.
1794         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
1795         the filenames of the wrappers that have been renamed.
1796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
1797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1799         * math/w_acos.c: Add _compat suffix to filename.
1800         * math/w_acosf.c: Likewise.
1801         * math/w_acosh.c: Likewise.
1802         * math/w_acoshf.c: Likewise.
1803         * math/w_acoshl.c: Likewise.
1804         * math/w_acosl.c: Likewise.
1805         * math/w_asin.c: Likewise.
1806         * math/w_asinf.c: Likewise.
1807         * math/w_asinl.c: Likewise.
1808         * math/w_atan2.c: Likewise.
1809         * math/w_atan2f.c: Likewise.
1810         * math/w_atan2l.c: Likewise.
1811         * math/w_atanh.c: Likewise.
1812         * math/w_atanhf.c: Likewise.
1813         * math/w_atanhl.c: Likewise.
1814         * math/w_cosh.c: Likewise.
1815         * math/w_coshf.c: Likewise.
1816         * math/w_coshl.c: Likewise.
1817         * math/w_exp10.c: Likewise.
1818         * math/w_exp10f.c: Likewise.
1819         * math/w_exp10l.c: Likewise.
1820         * math/w_exp2.c: Likewise.
1821         * math/w_exp2f.c: Likewise.
1822         * math/w_exp2l.c: Likewise.
1823         * math/w_fmod.c: Likewise.
1824         * math/w_fmodf.c: Likewise.
1825         * math/w_fmodl.c: Likewise.
1826         * math/w_hypot.c: Likewise.
1827         * math/w_hypotf.c: Likewise.
1828         * math/w_hypotl.c: Likewise.
1829         * math/w_j0.c: Likewise.
1830         * math/w_j0f.c: Likewise.
1831         * math/w_j0l.c: Likewise.
1832         * math/w_j1.c: Likewise.
1833         * math/w_j1f.c: Likewise.
1834         * math/w_j1l.c: Likewise.
1835         * math/w_jn.c: Likewise.
1836         * math/w_jnf.c: Likewise.
1837         * math/w_jnl.c: Likewise.
1838         * math/w_log10.c: Likewise.
1839         * math/w_log10f.c: Likewise.
1840         * math/w_log10l.c: Likewise.
1841         * math/w_log2.c: Likewise.
1842         * math/w_log2f.c: Likewise.
1843         * math/w_log2l.c: Likewise.
1844         * math/w_log.c: Likewise.
1845         * math/w_logf.c: Likewise.
1846         * math/w_logl.c: Likewise.
1847         * math/w_pow.c: Likewise.
1848         * math/w_powf.c: Likewise.
1849         * math/w_powl.c: Likewise.
1850         * math/w_remainder.c: Likewise.
1851         * math/w_remainderf.c: Likewise.
1852         * math/w_remainderl.c: Likewise.
1853         * math/w_scalb.c: Likewise.
1854         * math/w_scalbf.c: Likewise.
1855         * math/w_scalbl.c: Likewise.
1856         * math/w_sinh.c: Likewise.
1857         * math/w_sinhf.c: Likewise.
1858         * math/w_sinhl.c: Likewise.
1859         * math/w_sqrt.c: Likewise.
1860         * math/w_sqrtf.c: Likewise.
1861         * math/w_sqrtl.c: Likewise.
1862         * math/w_tgamma.c: Likewise.
1863         * math/w_tgammaf.c: Likewise.
1864         * math/w_tgammal.c: Likewise.
1866         * math/w_acos_compat.c: New file copied from above and
1867         adjusted for new #includes path
1868         * math/w_acosf_compat.c: Likewise.
1869         * math/w_acosh_compat.c: Likewise.
1870         * math/w_acoshf_compat.c: Likewise.
1871         * math/w_acoshl_compat.c: Likewise.
1872         * math/w_acosl_compat.c: Likewise.
1873         * math/w_asin_compat.c: Likewise.
1874         * math/w_asinf_compat.c: Likewise.
1875         * math/w_asinl_compat.c: Likewise.
1876         * math/w_atan2_compat.c: Likewise.
1877         * math/w_atan2f_compat.c: Likewise.
1878         * math/w_atan2l_compat.c: Likewise.
1879         * math/w_atanh_compat.c: Likewise.
1880         * math/w_atanhf_compat.c: Likewise.
1881         * math/w_atanhl_compat.c: Likewise.
1882         * math/w_cosh_compat.c: Likewise.
1883         * math/w_coshf_compat.c: Likewise.
1884         * math/w_coshl_compat.c: Likewise.
1885         * math/w_exp10_compat.c: Likewise.
1886         * math/w_exp10f_compat.c: Likewise.
1887         * math/w_exp10l_compat.c: Likewise.
1888         * math/w_exp2_compat.c: Likewise.
1889         * math/w_exp2f_compat.c: Likewise.
1890         * math/w_exp2l_compat.c: Likewise.
1891         * math/w_fmod_compat.c: Likewise.
1892         * math/w_fmodf_compat.c: Likewise.
1893         * math/w_fmodl_compat.c: Likewise.
1894         * math/w_hypot_compat.c: Likewise.
1895         * math/w_hypotf_compat.c: Likewise.
1896         * math/w_hypotl_compat.c: Likewise.
1897         * math/w_j0_compat.c: Likewise.
1898         * math/w_j0f_compat.c: Likewise.
1899         * math/w_j0l_compat.c: Likewise.
1900         * math/w_j1_compat.c: Likewise.
1901         * math/w_j1f_compat.c: Likewise.
1902         * math/w_j1l_compat.c: Likewise.
1903         * math/w_jn_compat.c: Likewise.
1904         * math/w_jnf_compat.c: Likewise.
1905         * math/w_jnl_compat.c: Likewise.
1906         * math/w_log10_compat.c: Likewise.
1907         * math/w_log10f_compat.c: Likewise.
1908         * math/w_log10l_compat.c: Likewise.
1909         * math/w_log2_compat.c: Likewise.
1910         * math/w_log2f_compat.c: Likewise.
1911         * math/w_log2l_compat.c: Likewise.
1912         * math/w_log_compat.c: Likewise.
1913         * math/w_logf_compat.c: Likewise.
1914         * math/w_logl_compat.c: Likewise.
1915         * math/w_pow_compat.c: Likewise.
1916         * math/w_powf_compat.c: Likewise.
1917         * math/w_powl_compat.c: Likewise.
1918         * math/w_remainder_compat.c: Likewise.
1919         * math/w_remainderf_compat.c: Likewise.
1920         * math/w_remainderl_compat.c: Likewise.
1921         * math/w_scalb_compat.c: Likewise.
1922         * math/w_scalbf_compat.c: Likewise.
1923         * math/w_scalbl_compat.c: Likewise.
1924         * math/w_sinh_compat.c: Likewise.
1925         * math/w_sinhf_compat.c: Likewise.
1926         * math/w_sinhl_compat.c: Likewise.
1927         * math/w_sqrt_compat.c: Likewise.
1928         * math/w_sqrtf_compat.c: Likewise.
1929         * math/w_sqrtl_compat.c: Likewise.
1930         * math/w_tgamma_compat.c: Likewise.
1931         * math/w_tgammaf_compat.c: Likewise.
1932         * math/w_tgammal_compat.c: Likewise.
1934         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
1935         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
1936         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
1937         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
1938         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
1939         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1940         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
1941         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1942         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1943         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
1944         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
1945         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
1946         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
1947         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
1948         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
1949         * sysdeps/ia64/fpu/w_powl.c: Likewise.
1950         * sysdeps/ia64/fpu/w_powf.c: Likewise.
1951         * sysdeps/ia64/fpu/w_pow.c: Likewise.
1952         * sysdeps/ia64/fpu/w_logl.c: Likewise.
1953         * sysdeps/ia64/fpu/w_logf.c: Likewise.
1954         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1955         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1956         * sysdeps/ia64/fpu/w_log2.c: Likewise.
1957         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
1958         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
1959         * sysdeps/ia64/fpu/w_log10.c: Likewise.
1960         * sysdeps/ia64/fpu/w_log.c: Likewise.
1961         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
1962         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
1963         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
1964         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
1965         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
1966         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
1967         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1968         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1969         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1970         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1971         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1972         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1973         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
1974         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
1975         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
1976         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1977         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1978         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1979         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
1980         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
1981         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
1982         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
1983         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
1984         * sysdeps/ia64/fpu/w_asin.c: Likewise.
1985         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1986         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1987         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1988         * sysdeps/ia64/fpu/w_acos.c: Likewise.
1989         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1990         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1991         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1992         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
1993         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
1994         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
1995         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
1996         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
1997         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
1998         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
1999         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2000         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2001         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2002         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2003         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2004         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2005         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2006         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2007         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2008         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2009         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2010         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2011         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2012         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2013         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2014         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2015         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2016         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2017         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2018         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2019         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2020         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2021         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2022         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2023         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2024         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2025         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2026         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2027         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2028         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2029         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2030         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2031         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2032         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2033         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2035         Likewise.
2036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2037         Likewise.
2038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2040         Likewise.
2041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2042         Likewise.
2043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2044         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2045         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2046         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2047         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2048         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2049         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2054         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2055         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2056         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2057         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2059         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2060         and adjusted for new #includes path
2061         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2062         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2063         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2064         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2065         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2066         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2067         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2068         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2069         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2070         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2071         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2072         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2073         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2074         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2075         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2076         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2077         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2078         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2079         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2080         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2081         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2082         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2083         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2084         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2085         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2086         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2087         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2088         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2089         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2090         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2091         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2092         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2093         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2094         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2095         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2096         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2097         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2098         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2099         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2100         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2101         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2102         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2103         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2104         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2105         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2106         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2107         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2108         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2109         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2110         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2111         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2112         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2113         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2114         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2115         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2116         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2117         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2118         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2119         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2120         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2121         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2122         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2123         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2124         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2125         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2126         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2127         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2128         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2129         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2130         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2131         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2132         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2133         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2134         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2135         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2136         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2137         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2138         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2139         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2140         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2141         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2142         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2143         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2144         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2145         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2146         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2147         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2148         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2149         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2150         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2151         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2152         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2153         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2154         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2155         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2156         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2157         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2158         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2159         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2161         Likewise.
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2163         Likewise.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2165         Likewise.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2167         Likewise.
2168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2169         Likewise.
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2171         Likewise.
2172         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2173         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2174         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2175         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2176         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2177         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2179         Likewise.
2180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2181         Likewise.
2182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2183         Likewise.
2184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2185         Likewise.
2186         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2187         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2188         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2189         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2191 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2193         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2194         __jmp_buf_internal_tag.
2196         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2197         preserve NaN payload if [__mips_nan2008].
2198         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2200         [BZ #21022]
2201         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2203 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2205         * sysdeps/i386/fpu/libm-test-ulps: Update.
2207 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2209         * sysdeps/ia64/strcat.c: Remove file.
2210         * sysdeps/powerpc/strcat.c: Likewise.
2211         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2212         C implementation.
2213         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2214         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2216 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2217             Steven Munroe  <sjmunroe@us.ibm.com>
2218             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2220         [BZ #20822]
2221         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2222         (__lll_lock_elision): Access adapt_count via C11 atomics.
2223         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2224         (__lll_trylock_elision): Likewise.
2225         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2226         (__lll_unlock_elision):  Update adapt_count variable inside the
2227         critical section using C11 atomics.
2229 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2231         * math/test-fenvinline.c (do_test): Disable tests of raised
2232         exceptions if !EXCEPTION_TESTS (FLOAT).
2234 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2236         [BZ #19390]
2237         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2238         maximum string size.
2239         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2240         in pointer addition.
2241         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2242         Likewise.
2244 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2246         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2247         passed to tst-ldconfig-X.sh.
2249 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2251         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2253 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2255         [BZ #21019]
2256         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2257         New syscall entry.
2258         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2259         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2260         lseek.
2262         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2263         power4 glibc for powerpc-linux-gnu.
2265 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2267         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2268         semctl.
2270 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2272         * math/test-nearbyint-except.c: Include <stdbool.h>.
2273         (any_supported): New variable.
2274         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2275         set any_supported.
2276         (do_test): Return 77 if no floating-point type supported
2277         exceptions.
2279         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2280         condition on [__mips_hard_float].
2282 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2284         [BZ #21014]
2285         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2286         in pointer addition.
2287         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2289 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2291         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2292         new condvar.
2294 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2296         * scripts/build-many-glibcs.py (Context.checkout): Default
2297         binutils version to 2.28 branch.
2299 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2301         * support/support_format_netent.c (support_format_netent): Work
2302         around alpha struct netent definition difference.
2304 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2306         * support/xwrite.c (xwrite): Use %td for pointer difference.
2308 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2310         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2311         have-tunables only.
2312         (tests-static): Add tst-malloc-usable-static-tunables for
2313         have-tunables only.
2315 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2317         * scripts/config.guess: Update to version 2017-01-01.
2318         * scripts/config.sub: Update to version 2017-01-01.
2320         * NEWS: Update copyright dates.
2321         * catgets/gencat.c (print_version): Likewise.
2322         * csu/version.c (banner): Likewise.
2323         * debug/catchsegv.sh: Likewise.
2324         * debug/pcprofiledump.c (print_version): Likewise.
2325         * debug/xtrace.sh (do_version): Likewise.
2326         * elf/ldconfig.c (print_version): Likewise.
2327         * elf/ldd.bash.in: Likewise.
2328         * elf/pldd.c (print_version): Likewise.
2329         * elf/sotruss.sh: Likewise.
2330         * elf/sprof.c (print_version): Likewise.
2331         * iconv/iconv_prog.c (print_version): Likewise.
2332         * iconv/iconvconfig.c (print_version): Likewise.
2333         * locale/programs/locale.c (print_version): Likewise.
2334         * locale/programs/localedef.c (print_version): Likewise.
2335         * login/programs/pt_chown.c (print_version): Likewise.
2336         * malloc/memusage.sh (do_version): Likewise.
2337         * malloc/memusagestat.c (print_version): Likewise.
2338         * malloc/mtrace.pl: Likewise.
2339         * manual/libc.texinfo: Likewise.
2340         * nptl/version.c (banner): Likewise.
2341         * nscd/nscd.c (print_version): Likewise.
2342         * nss/getent.c (print_version): Likewise.
2343         * nss/makedb.c (print_version): Likewise.
2344         * posix/getconf.c (main): Likewise.
2345         * scripts/test-installation.pl: Likewise.
2346         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2348         * All files with FSF copyright notices: Update copyright dates
2349         using scripts/update-copyrights.
2350         * intl/plural.c: Regenerated.
2351         * locale/programs/charmap-kw.h: Likewise.
2352         * locale/programs/locfile-kw.h: Likewise.
2354 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2356         [BZ #20593]
2357         Update DNS RR type definitions.
2358         * scripts/gen-rrtypes.py: New file.
2359         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2360         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2361         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2362         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2363         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2364         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2365         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2366         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2367         ns_t_ta, ns_t_dlv.
2368         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2369         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2370         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2371         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2372         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2373         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2374         Define.
2375         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2376         entry for ns_t_zxfr.
2378 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2380         [BZ #18784]
2381         CVE-2015-5180
2382         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2383         T_UNSPEC.  Adjust value.
2384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2385         * resolv/res_query.c (__libc_res_nquery): Likewise.
2386         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2387         QTYPEs.
2388         * resolv/tst-resolv-qtypes.c: New file.
2389         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2390         (tst-resolv-qtypes): Link against libresolv and libpthread.
2392 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2394         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2396 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2398         * manual/tunables.texi: New chapter.
2399         * manual/Makefile (chapters): Add it.
2400         * manual/probes.texi (@node): Point to the Tunables chapter.
2402         * Makeconfig (have-tunables): Check for non-negative instead
2403         of positive.
2404         * configure.ac: Add 'valstring' as a valid value for
2405         --enable-tunables.
2406         * configure: Regenerate.
2407         * elf/Makefile (have-tunables): Check for non-negative instead
2408         of positive.
2409         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2410         dl-tunables.c.
2411         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2412         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2413         (tunables_strdup): Likewise.
2414         (disable_tunables): Likewise.
2415         (parse_tunables): Likewise.
2416         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2417         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2418         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2419         (TUNABLES_FRONTEND_yes): New macro, define as
2420         TUNABLES_FRONTEND_valstring by default.
2421         * manual/install.texi: Document new acceptable values for
2422         --enable-tunables.
2423         * INSTALL: Regenerate.
2425         * config.make.in (have-loop-to-function): Define.
2426         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2427         -fno-tree-loop-distribute-patterns.
2428         * elf/dl-tunables.c: Include libc-internals.h.
2429         (GLIBC_TUNABLES): New macro.
2430         (tunables_strdup): New function.
2431         (parse_tunables): New function.
2432         (min_strlen): New function.
2433         (__tunables_init): Use the new functions and macro.
2434         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2435         * malloc/tst-malloc-usable-tunables.c: New test case.
2436         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2437         * malloc/Makefile (tests, tests-static): Add tests.
2439         * manual/install.texi: Add --enable-tunables option.
2440         * INSTALL: Regenerate.
2441         * README.tunables: New file.
2442         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2443         (before-compile): Generate dl-tunable-list.h early.
2444         * config.h.in: Add HAVE_TUNABLES.
2445         * config.make.in: Add have-tunables.
2446         * configure.ac: Add --enable-tunables option.
2447         * configure: Regenerate.
2448         * csu/init-first.c (__libc_init_first): Move
2449         __libc_init_secure earlier...
2450         * csu/init-first.c (LIBC_START_MAIN):... to here.
2451         Include dl-tunables.h, libc-internal.h.
2452         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2453         binaries.
2454         * elf/Makefile (dl-routines): Add dl-tunables.
2455         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2456         namespace.
2457         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2458         only when !HAVE_TUNABLES.
2459         * elf/rtld.c (process_envvars): Likewise.
2460         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2461         (_dl_sysdep_start): Call __tunables_init.
2462         * elf/dl-tunable-types.h: New file.
2463         * elf/dl-tunables.c: New file.
2464         * elf/dl-tunables.h: New file.
2465         * elf/dl-tunables.list: New file.
2466         * malloc/tst-malloc-usable-static.c: New test case.
2467         * malloc/Makefile (tests-static): Add it.
2468         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2469         Define TUNABLE_NAMESPACE.
2470         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2471         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2472         callback functions.
2473         (ptmalloc_init): Set tunable values.
2474         * scripts/gen-tunables.awk: New file.
2475         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2476         (_dl_sysdep_start): Call __tunables_init.
2478 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2480         * resolv/resolv.h (RES_BLAST): Deprecate.
2481         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2482         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2483         to RES_BLAST.
2485 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2487         [BZ #19582]
2488         Deprecate RES_USE_INET6.
2489         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2490         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2491         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2492         RES_USE_INET6.
2493         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2494         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2495         (_nss_nisplus_gethostbyaddr_r): Likewise.
2496         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2497         of res_use_inet6.
2498         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2499         instead of RES_USE_INET6.
2500         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2501         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2502         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2503         Likewise.
2504         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2505         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2506         Likewise.
2507         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2508         (_nss_dns_gethostbyname_r): Likewise.
2509         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2510         alternate RES_USE_INET6 handling.
2511         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2512         instead of RES_USE_INET6.
2513         * resolv/res_init.c (res_setoptions): Likewise.
2514         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2515         * resolv/resolv-internal.h: New file.
2516         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2517         make the deprecation warning non-fatal.
2518         * resolv/README (Using the resolver in multi-threaded code): Drop
2519         reference to RES_USE_INET6.
2520         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2521         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2523 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2525         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2526         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2527         tst-resolv-search.
2528         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2529         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2530         with libresolv and libpthread.
2531         * resolv/tst-bug18665.c: New file.
2532         * resolv/tst-bug18665-tcp: Likewise.
2533         * resolv/tst-res_use_inet6: Likewise.
2534         * resolv/tst-resolv-basic: Likewise.
2535         * resolv/tst-resolv-network: Likewise.
2536         * resolv/tst-resolv-search: Likewise.
2537         * support/Makefile (libsupport-routines): Add check_addrinfo,
2538         check_dns_packet, check_hostent, check_netent, resolv_test,
2539         support_format_address_family, support_format_addrinfo,
2540         support_format_dns_packet, support_format_herrno,
2541         support_format_hostent, support_format_netent, support_run_diff,
2542         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2543         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2544         xstrdup, xwrite.
2545         * support/check_addrinfo.c: New file.
2546         * support/check_dns_packet.c: Likewise.
2547         * support/check_hostent.c: Likewise.
2548         * support/check_netent.c: Likewise.
2549         * support/check_nss.h: Likewise.
2550         * support/format_nss.h: Likewise.
2551         * support/resolv_test.c: Likewise.
2552         * support/resolv_test.h: Likewise.
2553         * support/run_diff.h: Likewise.
2554         * support/support_format_address_family.c: Likewise.
2555         * support/support_format_addrinfo.c: Likewise.
2556         * support/support_format_dns_packet.c: Likewise.
2557         * support/support_format_herrno.c: Likewise.
2558         * support/support_format_hostent.c: Likewise.
2559         * support/support_format_netent.c: Likewise.
2560         * support/support_run_diff.c: Likewise.
2561         * support/xaccept.c: Likewise.
2562         * support/xbind.c: Likewise.
2563         * support/xconnect.c: Likewise.
2564         * support/xfclose.c: Likewise.
2565         * support/xfopen.c: Likewise.
2566         * support/xgetsockname.c: Likewise.
2567         * support/xlisten.c: Likewise.
2568         * support/xmemstream.c: Likewise.
2569         * support/xmemstream.h: Likewise.
2570         * support/xpoll.c: Likewise.
2571         * support/xpthread_once.c: Likewise.
2572         * support/xrecvfrom.c: Likewise.
2573         * support/xsendto.c: Likewise.
2574         * support/xsetsockopt.c: Likewise.
2575         * support/xstdio.h: Likewise.
2576         * support/xstrdup.c: Likewise.
2577         * support/support.h (xstrdup): Declare.
2578         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2579         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2580         * support/xthread.h (xpthread_once): Likwise.
2581         * support/xunistd.h (xwrite): Declare.
2583 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2585         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2586         (test_verbose): Declare.
2587         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2588         * support/support_test_main.c (default_options): Likewise.
2589         (usage, support_test_main): Handle 'v'.
2590         (test_verbose): Define.
2591         * support/tst-support_record_failure.c (do_test): Use
2592         test_verbose.
2593         * support/tst-support_record_failure-2.sh (different_status): Add
2594         --verbose test.
2596 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2598         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2599         test failures are recorded.
2600         * support/check.c (support_print_failure_impl): Call
2601         support_record_failure.
2602         (support_exit_failure_impl): Call support_record_failure if status
2603         indicates failure.
2604         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2605         * support/xasprintf.c (xasprintf): Likewise.
2606         * support/xfork.c (xfork): Likewise.
2607         * support/xpthread_check_return.c (xpthread_check_return):
2608         Likewise.
2609         * support/xsocket.c (xsocket): Likeweise.
2610         * support/xwaitpid.c (xwaitpid): Likewise.
2611         * support/support_record_failure.c (struct test_failures): Adjust
2612         to coding style.
2613         * support/support_test_verify_impl.c (support_test_verify_impl):
2614         Adjust error messages.
2615         * support/tst-support_record_failure-2.sh (different_status):
2616         Adjust error messages.
2618 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2620         * support/namespace.h: New file.
2621         * support/support_become_root.c: Likewise.
2622         * support/support_enter_network_namespace.c: Likewise.
2623         * support/tst-support-namespace.c: Likewise.
2624         * support/xsocket.c: Likewise.
2625         * support/xsocket.h: Likewise.
2626         * support/Makefile (libsupport-routines): Add support_become_root,
2627         support_enter_network_namespace, xsocket.
2628         (tests): Add tst-support-namespace.
2630 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2632         [BZ #17252]
2633         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2634         __USE_GNU.
2636 2016-12-31  Torvald Riegel  <triegel@redhat.com>
2638         [BZ #13165]
2639         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
2640         use new algorithm.
2641         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2642         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2643         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2644         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2645         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
2646         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
2647         __condvar_cleanup_waiting, __condvar_dec_grefs,
2648         __pthread_cond_wait_common): New.
2649         (__condvar_cleanup): Remove.
2650         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
2651         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
2652         Likewise.
2653         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
2654         Likewise.
2655         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
2656         * nptl/tst-cond1.c: Add comment.
2657         * nptl/tst-cond20.c (do_test): Adapt.
2658         * nptl/tst-cond22.c (do_test): Likewise.
2659         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
2660         structure.
2661         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2662         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2663         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2664         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
2665         Likewise.
2666         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2667         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2668         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2669         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2670         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2671         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
2672         Likewise.
2673         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
2674         Likewise.
2675         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2676         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
2677         (COND_CLOCK_BITS): Adapt.
2678         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
2679         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
2680         __PTHREAD_COND_SHARED_MASK): New.
2681         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
2682         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
2683         * nptl/nptl_lock_constants.pysym: Adapt.
2684         * nptl/test-cond-printers.py: Adapt.
2685         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
2686         cond_compat_check_and_clear): Adapt.
2687         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
2688         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2689         (__pthread_cond_timedwait): ... and move here.
2690         * nptl/DESIGN-condvar.txt: Remove file.
2691         * nptl/lowlevelcond.sym: Likewise.
2692         * nptl/pthread_cond_timedwait.c: Likewise.
2693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2694         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
2695         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2697         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
2698         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
2699         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
2700         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
2701         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
2702         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
2703         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
2704         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
2705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
2706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
2707         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
2710 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
2712         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2713         (fromfp): New declaration.
2714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2717         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
2718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
2719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2722         * math/math.h: Include <bits/types.h>.
2723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
2724         constant and macro.
2725         (FP_INT_DOWNWARD): Likewise.
2726         (FP_INT_TOWARDZERO): Likewise.
2727         (FP_INT_TONEARESTFROMZERO): Likewise.
2728         (FP_INT_TONEAREST): Likewise.
2729         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
2730         (fromfpf): Likewise.
2731         (fromfpl): Likewise.
2732         (ufromfp): Likewise.
2733         (ufromfpf): Likewise.
2734         (ufromfpl): Likewise.
2735         (fromfpx): Likewise.
2736         (fromfpxf): Likewise.
2737         (fromfpxl): Likewise.
2738         (ufromfpx): Likewise.
2739         (ufromfpxf): Likewise.
2740         (ufromfpxl): Likewise.
2741         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
2742         s_fromfpxF and s_ufromfpxF.
2743         * math/gen-fromfp-tests.py: New file.
2744         * math/gen-fromfp-tests-inputs: Likewise.
2745         * math/libm-test.inc: Include <stdint.h>
2746         (check_intmax_t): New function.
2747         (check_uintmax_t): Likewise.
2748         (struct test_fiu_M_data): New type.
2749         (struct test_fiu_U_data): Likewise.
2750         (RUN_TEST_fiu_M): New macro.
2751         (RUN_TEST_LOOP_fiu_M): Likewise.
2752         (RUN_TEST_fiu_U): Likewise.
2753         (RUN_TEST_LOOP_fiu_U): Likewise.
2754         (fromfp_test_data): New array.
2755         (fromfp_test): New function.
2756         (fromfpx_test_data): New array.
2757         (fromfpx_test): New function.
2758         (ufromfp_test_data): New array.
2759         (ufromfp_test): New function.
2760         (ufromfpx_test_data): New array.
2761         (ufromfpx_test): New function.
2762         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
2763         ufromfpx_test.
2764         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
2765         characters.
2766         * math/test-tgmath-ret.c: Include <stdint.h>.
2767         (rm): New variable.
2768         (width): Likewise.
2769         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
2770         called function.
2771         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
2772         CHECK_RET_CONST_TYPE.
2773         (CHECK_RET_CONST_DOUBLE): Likewise.
2774         (CHECK_RET_CONST_LDOUBLE): Likewise.
2775         (CHECK_RET_CONST): Take extra arguments and pass them to calls
2776         macros.
2777         (fromfp): New CHECK_RET_CONST call.
2778         (ufromfp): Likewise.
2779         (fromfpx): Likewise.
2780         (ufromfpx): Likewise.
2781         (do_test): Call check_return_fromfp, check_return_ufromfp,
2782         check_return_fromfpx and check_return_ufromfpx.
2783         * math/test-tgmath.c: Include <stdint.h>
2784         (NCALLS): Increase to 138.
2785         (F(compile_test)): Initialize i.  Call fromfp functions.
2786         (F(fromfp)): New function.
2787         (F(fromfpx)): Likewise.
2788         (F(ufromfp)): Likewise.
2789         (F(ufromfpx)): Likewise.
2790         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
2791         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
2792         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
2793         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
2794         ufromfpxl.
2795         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
2796         ufromfp and ufromfpx.
2797         * math/fromfp.h: New file.
2798         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
2799         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
2800         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
2801         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
2802         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
2803         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
2804         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
2805         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
2806         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
2807         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
2820         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
2822         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
2823         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
2824         ufromfp, fromfpx and ufromfpx.
2825         (CFLAGS-nldbl-fromfp.c): New variable.
2826         (CFLAGS-nldbl-fromfpx.c): Likewise.
2827         (CFLAGS-nldbl-ufromfp.c): Likewise.
2828         (CFLAGS-nldbl-ufromfpx.c): Likewise.
2829         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
2830         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
2831         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
2832         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
2833         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
2834         * sysdeps/nacl/libm.abilist: Update.
2835         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2838         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2839         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2840         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2842         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2843         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2844         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2845         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2846         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2848         Likewise.
2849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2850         Likewise.
2851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2852         Likewise.
2853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2854         Likewise.
2855         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2856         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2857         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2858         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2859         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2861         Likewise.
2862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2863         Likewise.
2864         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2865         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2866         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2868 2016-12-30  Florian Weimer  <fweimer@redhat.com>
2870         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
2871         compat-gethnamaddr.
2872         (CPPFLAGS): Remove.
2873         * resolv/gethnamaddr.c: Rename ...
2874         * resolv/compat-gethnamaddr.c: ... to this file.
2875         (_endhtent): Make static.
2876         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
2877         symbol.
2878         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
2879         compat symbol.
2880         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
2881         symbol.
2882         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
2883         Turn into compat symbol.
2884         * include/resolv.h (_endhtent): Remove declaration.
2886 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
2888         * bits/types.h (__intmax_t): New typedef.
2889         (__uintmax_t): Likewise.
2890         * sysdeps/generic/stdint.h: Include <bits/types.h>.
2891         (intmax_t): Define using __intmax_t.
2892         (uintmax_t): Define using __uintmax_t.
2894         * support/Makefile (tests-special): Make definition conditional on
2895         [$(run-built-tests) = yes].
2896         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
2897         on [$(run-built-tests) = yes].
2899 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2901         * Rules (tests): Add tests-printers-programs to tests to be
2902         built.
2904 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2906         * sysvipc/Makefile (tests): Add test-sysvshm.
2907         * sysvipc/test-sysvshm.c: New file.
2909         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
2910         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
2911         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
2912         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
2913         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
2914         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
2915         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
2916         Likewise.
2917         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
2918         Likewise.
2919         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
2920         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
2921         is defined.
2923         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
2924         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
2925         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
2926         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
2927         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
2928         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
2929         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
2930         Likewise.
2931         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
2932         Likewise.
2933         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
2934         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
2935         defined.
2937         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2938         oldshmctl.
2939         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
2940         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
2941         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
2942         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
2943         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
2944         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
2945         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
2946         Likewise.
2947         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
2948         Likewise.
2949         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
2950         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
2951         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
2952         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
2953         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
2954         implementation.
2955         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
2956         if it is defined.
2958         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
2959         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
2960         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
2961         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
2962         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
2963         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
2964         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
2965         Likewise.
2966         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
2967         Likewise.
2968         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
2969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2970         Define to __NR_osf_shmat.
2971         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
2972         defined.
2974         * sysvipc/Makefile (tests): Add test-sysvsem.
2975         * sysvipc/test-sysvsem.c: New file.
2977         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
2978         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
2979         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
2980         Likewise.
2981         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
2982         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
2983         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
2984         Likewise.
2985         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
2986         Likewise.
2987         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
2988         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
2989         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
2990         add a comment about s390 syscall difference from default one.
2991         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
2992         syscall if it is defined.
2994         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
2995         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
2996         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
2997         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
2998         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
2999         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3000         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3005         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3006         defined.
3008         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3009         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3010         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3011         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3012         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3013         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3014         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3017         Likewise.
3018         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3019         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3020         if it is defined.
3022         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3023         oldsemctl.
3024         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3025         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3026         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3027         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3028         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3029         implementation.
3030         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3031         syscall if it is defined.
3032         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3033         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3034         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3035         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3036         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3040         * sysvipc/Makefile (tests): Add test-sysvmsg.
3041         * sysvipc/test-sysvmsg.c: New file.
3042         * support/check.h (FAIL_UNSUPPORTED): New define.
3044         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3045         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3046         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3047         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3048         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3049         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3050         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3053         Likewise.
3054         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3055         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3056         define.
3058         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3059         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3060         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3061         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3062         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3063         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3064         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3065         Likewise.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3067         Likewise.
3068         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3069         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3070         if defined.
3072         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3073         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3074         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3075         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3076         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3077         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3078         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3079         Likewise.
3080         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3081         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3082         Likewise.
3083         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3084         if defined.
3085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3087         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3088         oldmsgctl.
3089         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3090         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3091         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3092         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3093         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3094         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3095         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3096         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3097         Likewise.
3098         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3099         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3100         implementation.
3101         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3102         if defined.
3104         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3105         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3106         definition and define its own.
3107         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3108         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3109         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3110         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3111         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3112         definitions to common header.
3113         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3114         operation from ipc_ops.h.
3116         * sysdeps/unix/sysv/linux/kernel-features.h
3117         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3118         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3119         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3120         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3121         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3122         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3123         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3124         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3125         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3126         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3127         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3128         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3129         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3130         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3131         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3133 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3135         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3136         overflow in pointer addition.
3138 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3140         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3141         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3143         (strchr): Add __strchr_power8 to list of strchr functions.
3144         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3145         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3146         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3147         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3148         (strchr): Add __strchr_power8 to ifunc list.
3149         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3150         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3151         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3152         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3154 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3156         * support/Makefile (libsupport-routines): Add
3157         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3158         (tests): Add tst-support_record_failure.
3159         (tests-special): tst-support_record_failure-2.
3160         (tst-support_record_failure-2.out): Depend on
3161         tst-support_record_failure-2.sh and tst-support_record_failure.
3162         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3163         (support_test_verify_impl, support_record_failure)
3164         (support_report_failure, support_report_failure_reset): Declare.
3165         * support/support_test_main.c (adjust_exit_status): New function.
3166         (support_test_main): Call it to incorporate record test failures.
3167         * support/support_test_verify_impl.c: New file.
3168         * support/support_record_failure.c: Likewise.
3169         * support/tst-support_record_failure.c: Likewise.
3170         * support/tst-support_record_failure-2.sh: Likewise.
3171         * support/xunistd.h: Likewise.
3172         * support/xfork.c: Likewise.
3173         * support/xwaitpid.c: Likewise.
3175 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3177         * scripts/check-c++-types.sh: Add comments.
3179 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3181         [BZ #19514]
3182         * resolv/res_send.c: Fix typo in comment.
3183         * sysdeps/i386/i386-mcount.S: Likewise.
3184         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3185         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3186         * sysdeps/sparc/sparc-mcount.S: Likewise.
3188 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3190         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3191         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3192         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3193         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3194         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3195         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3196         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3197         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3199 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3201         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3203 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3205         [BZ #17252]
3206         * posix/unistd.h (getentropy): Declare.
3208 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3210         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3211         Remove.
3212         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3213         (cmd): Remove spoof, nospoof, spoofalert.
3214         (parse_line): Ignore spoof-related lines.
3215         (do_init): Do not process RESOLV_SPOOF_CHECK.
3217 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3219         [BZ #20964]
3220         sunrpc: Always obtain AF_INET addresses from NSS.
3221         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3222         * sunrpc/rpc_gethostbyname.c: New file.
3223         * sunrpc/Makefile (routines): Add it.
3224         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3225         * sunrpc/clnt_simp.c (callrpc): Likewise.
3226         * sunrpc/getrpcport.c (getrpcport): Likewise.
3228 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3230         * sunrpc/rpcinfo.c: Remove.
3231         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3233 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3235         [BZ# 19387]
3236         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3237         addition.
3238         * string/test-memchr.c (do_test): Remove alignment limitation.
3239         (test_main): Add test that trigger BZ# 19387.
3241 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3243         [BZ #7065]
3244         Enable stack protectore if requested by ./configure.
3245         * Makeconfig (+stack-protector): New variable.
3246         (+cflags): Use it.
3248 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3250         [BZ #7065]
3251         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3252         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3253         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3254         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3255         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3257 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3259         [BZ #7065]
3260         * login/Makefile (pt_chown-cflags): Remove.
3261         * nscd/Makefile (CFLAGS-nscd): Likewise.
3262         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3264 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3266         [BZ #7065]
3267         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3268         non-libc-linking testcase.
3270 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3271             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3272             Florian Weimer  <fweimer@redhat.com>
3274         [BZ #7065]
3275         PLT avoidance for __stack_chk_fail*.
3276         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3277         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3278         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3279         __stack_chk_fail_local alias.
3280         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3281         (__stack_chk_fail): Turn into hidden reference to
3282         __stack_chk_fail_local.
3284 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3286         [BZ #7065]
3287         * configure.ac: Add check for unsupported stack-protection level.
3288         (libc_cv_predef_stack_protector): Remove.
3289         (no_ssp): New variable.
3290         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3291         (stack_protector): Set to -fno-stack-protector similarly.
3292         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3293         (libc_cv_asm_set_directive): Likewise.
3294         (libc_cv_protected_data): Likewise.
3295         (libc_cv_z_combreloc): Likewise.
3296         (libc_cv_hashstyle): Likewise.
3297         (libc_cv_has_glob_dat): Likewise.
3298         (libc_cv_output_format): Likewise.
3299         (libc_cv_output_format): Likewise.
3300         (libc_cv_ehdr_start): Likewise.
3301         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3302         (LIBC_LINKER_FEATURE): Likewise.
3303         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3305 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3307         [BZ #7065]
3308         * elf/Makefile (dummy-stack-chk-fail): New.
3309         (librtld.map): Use it.
3311 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3313         [BZ #7065]
3314         Compile the dynamic linker without stack protection.
3315         * elf/Makefile (elide-stack-protector): New.
3316         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3317         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3318         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3319         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3321 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3323         [BZ #7065]
3324         * config.make.in (have-ssp, no-stack-protector): New.
3325         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3326         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3327         (CFLAGS-sbrk.op): Likewise.
3328         (CFLAGS-brk.o): Likewise.
3329         (CFLAGS-brk.op): Likewise.
3330         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3331         (CFLAGS-wordcopy.c): Likewise.
3333 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3335         [BZ #7065]
3336         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3337         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3338         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3339         (__ifunc_resolver): Use it.
3340         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3341         inhibit_stack_protector.
3342         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3343         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3344         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3345         (foo_protected_ifunc): Likewise.
3346         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3347         (foo_protected_ifunc): Likewise.
3348         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3349         * sysdeps/nacl/nacl_interface_query.c
3350         (nacl_interface_query_ifunc): Likewise.
3351         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3352         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3353         Likewise.
3354         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3355         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3356         the generated vDSO syscall resolver.
3358 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3359             Florian Weimer  <fweimer@redhat.com>
3361         [BZ #7065]
3362         Initialize the stack guard earlier when linking statically.
3363         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3364         (__pthread_initialize_minimal): Declare.
3365         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3366         declaration.
3367         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3368         stack canary and apply_irel initialization up.  Call
3369         __pthread_initialize_minimal only if linked in.
3370         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3371         constant values.
3372         (__pthread_initialize_minimal): Remove.
3373         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3374         (__pthread_initialize_minimal_internal): Do not call
3375         __libc_setup_tls.
3377 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3379         [BZ #7065]
3380         * configure.ac (libc_cv_ssp): Move up.
3381         (libc_cv_ssp_strong): Likewise.
3382         (libc_cv_ssp_all): New.
3383         (stack_protector): Augment, adding -fstack-protector-all.
3384         (no_stack_protector): New.
3385         (STACK_PROTECTOR_LEVEL): New.
3386         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3387         * manual/install.texi (--enable-stack-protector): Document it.
3388         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3390 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3392         * README.pretty-printers: Must specify CPPFLAGS-* also.
3393         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3394         (CPPFLAGS-test-mutex-printers.c): Define.
3395         (CPPFLAGS-test-condattr-printers.c): Define.
3396         (CPPFLAGS-test-cond-printers.c): Define.
3397         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3398         (CPPFLAGS-test-rwlock-printers.c): Define.
3400         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3401         (tests): Add tst-cancel-getpwuid_r.
3402         * nss/tst-cancel-getpwuid_r.c: New file.
3404         [BZ #11941]
3405         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3406         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3407         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3408         tst-nodelete-dlclose.
3409         (modules-names): Add tst-nodelete-dlclose-dso and
3410         tst-nodelete-dlclose-plugin.
3411         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3412         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3413         ($(objpfx)tst-nodelete-dlclose): Define.
3414         ($(objpfx)tst-nodelete-dlclose.out): Define.
3416 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3418         * scripts/test_printers_common.py: Log GDB output in case of
3419         Python detection failure.
3421 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3423         * configure.ac: Check for python3 or python.
3424         * configure: Regenerated.
3425         * config.make.in (PYTHON): New variable.
3426         * benchtests/Makefile: Don't define PYTHON.
3427         (bench): Define target only if PYTHON was defined.
3428         * Rules: Don't define PYTHON.
3429         Define pretty printer targets only if PYTHON was defined.
3430         (tests-printers): Add to tests-unsupported if PYTHON is not
3431         found.
3432         (python-flags, python-invoke): Remove.
3433         (tests-printers-out): Use PYTHON instead of python-invoke.
3435 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3437         [BZ #20978]
3438         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3439         Compare name == NULL, not name != NULL.
3441         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3442         trailing whitespace removed.
3443         * scripts/config.guess: Update to version 2016-10-02.
3444         * scripts/config.sub: Update to version 2016-11-19.
3445         * scripts/install-sh: Update to version 2016-01-11.22.
3446         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3447         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3449 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3451         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3452         (do_one_test) Restore original string so iteration works.
3453         * string/string-inlines.c (do_test): Create better input strings.
3454         (test_main) Reduce number of testruns.
3455         * string/string-inlines.c (__old_strsep_1c): New function.
3456         (__old_strsep_2c): Likewise.
3457         (__old_strsep_3c): Likewise.
3458         * string/strsep.c (__strsep): Remove case of small delim string.
3459         Call strcspn directly rather than strpbrk.
3460         * string/bits/string2.h (__strsep): Remove define.
3461         (__strsep_1c): Remove.
3462         (__strsep_2c): Remove.
3463         (__strsep_3c): Remove.
3464         (strsep): Remove.
3465         * sysdeps/unix/sysv/linux/internal_statvfs.c
3466         (__statvfs_getflags): Rename to __strsep.
3468 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3470         * csu/libc-tls.c (_dl_tls_setup): Remove.
3471         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3472         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3473         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3475 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3477         [BZ #7065]
3478         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3479         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3481 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3482             Florian Weimer  <fweimer@redhat.com>
3484         [BZ #7065]
3485         * csu/Makefile (tests): Empty assignment and document it.
3486         (tests-static): Remove.
3487         * csu/tst-empty.c: Move to...
3488         * misc/tst-empty.c: ... here.  Switch to new test driver.
3489         * csu/tst-atomic.c: Move to...
3490         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3491         * csu/tst-atomic-long.c: Move to...
3492         * misc/tst-atomic-long.c: ... here.
3493         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3494         tst-atomic-long.
3495         (tests-static): Add tst-empty.
3497 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3499         * manual/nss.texi: Change incorrect @vtable to @table.
3500         * manual/arith.texi: Convert @tables of variables to @vtables
3501         and remove unnecessary indexing.
3502         * manual/filesys.texi: Likewise.
3503         * manual/llio.texi: Likewise.
3504         * manual/memory.texi: Likewise.
3505         * manual/process.texi: Likewise.
3506         * manual/resource.texi: Likewise.
3507         * manual/search.texi: Likewise.
3508         * manual/signal.texi: Likewise.
3509         * manual/socket.texi: Likewise.
3510         * manual/stdio.texi: Likewise.
3511         * manual/sysinfo.texi: Likewise.
3512         * manual/syslog.texi: Likewise.
3513         * manual/terminal.texi: Likewise.
3514         * manual/time.texi: Likewise.
3515         * manual/users.texi: Likewise.
3517 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3519         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3520         (roundeven): New declaration.
3521         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3522         macro.
3523         * math/Versions (roundeven): New libm symbol at version
3524         GLIBC_2.25.
3525         (roundevenf): Likewise.
3526         (roundevenl): Likewise.
3527         * math/Makefile (libm-calls): Add s_roundevenF.
3528         * math/libm-test.inc (roundeven_test_data): New array.
3529         (roundeven_test): New function.
3530         (main): Call roundeven_test.
3531         * math/test-tgmath.c (NCALLS): Increase to 134.
3532         (F(compile_test)): Call roundeven.
3533         (F(roundeven)): New function.
3534         * manual/arith.texi (Rounding Functions): Document roundeven,
3535         roundevenf and roundevenl.
3536         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3537         * include/math.h (roundeven): Use libm_hidden_proto.
3538         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3539         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3540         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3541         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3542         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3543         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3544         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3545         roundeven.
3546         (CFLAGS-nldbl-roundeven.c): New variable.
3547         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3548         * sysdeps/nacl/libm.abilist: Update.
3549         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3550         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3551         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3552         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3553         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3554         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3555         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3556         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3557         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3558         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3559         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3560         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3562         Likewise.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3564         Likewise.
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3566         Likewise.
3567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3568         Likewise.
3569         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3570         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3571         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3572         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3573         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3575         Likewise.
3576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3577         Likewise.
3578         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3579         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3580         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3582 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3584         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3585         preprocessor indentation inside #if.
3587 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3589         * math/libm-test.inc (fmt_ftostr): New function.
3590         (print_float, check_float_internal): Replace some uses of
3591         FTOSTR with uses of fmt_ftostr.
3592         (print_max_error, print_complex_max_error, print_function_ulps)
3593         (print_complex_function_ulps): Remove uses of the macros
3594         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3595         * math/test-double.h (FTOSTR): Define to strfromd.
3596         (PRINTF_EXPR): Delete.
3597         (PRINTF_XEXPR): Likewise.
3598         (PRINTF_NEXPR): Likewise.
3599         * math/test-float.h (FTOSTR): Define to strfromf.
3600         (PRINTF_EXPR): Delete.
3601         (PRINTF_XEXPR): Likewise.
3602         (PRINTF_NEXPR): Likewise.
3603         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3604         (PRINTF_EXPR): Delete.
3605         (PRINTF_XEXPR): Likewise.
3606         (PRINTF_NEXPR): Likewise.
3608 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3610         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3611         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3612         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3613         (__lll_lock_elision): Decrement adapt_count while unlocking
3614         instead of before locking.
3615         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3616         (__lll_trylock_elision): Likewise.
3617         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3618         (__lll_unlock_elision): Likewise.
3620 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3622         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3623         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3624         Use __libc_tbegin_retry macro.
3626 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3628         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3629         Add -msoft-float.
3630         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3631         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3632         Use __libc_t* transaction macros instead of __builtin_t*.
3633         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3634         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3636 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3638         * sysdeps/unix/sysv/linux/s390/elision-lock.c
3639         (__lll_lock_elision): Use atomics to load / store adapt_count.
3640         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3641         (__lll_trylock_elision): Likewise.
3643 2016-12-20  Florian Weimer  <fweimer@redhat.com>
3645         Do not require memset elimination in explicit_bzero test.
3646         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
3647         (enum test_expectation): Add NO_EXPECTATIONS.
3648         (subtests): NO_EXPECTATIONS for ordinary clear.
3649         (check_test_buffer): Handle NO_EXPECTATIONS.
3650         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
3652 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3654         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3655         (fmaxmag): New declaration.
3656         (fminmag): Likewise.
3657         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
3658         macro.
3659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
3660         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
3661         (fmaxmagf): Likewise.
3662         (fmaxmagl): Likewise.
3663         (fminmag): Likewise.
3664         (fminmagf): Likewise.
3665         (fminmagl): Likewise.
3666         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
3667         * math/s_fmaxmag_template.c: New file.
3668         * math/s_fminmag_template.c: Likewise.
3669         * math/libm-test.inc (fmaxmag_test_data): New array.
3670         (fmaxmag_test): New function.
3671         (fminmag_test_data): New array.
3672         (fminmag_test): New function.
3673         (main): Call fmaxmag_test and fminmag_test.
3674         * math/test-tgmath.c (NCALLS): Increase to 132.
3675         (F(compile_test)): Call fmaxmag and fminmag.
3676         (F(fminmag)): New function.
3677         (F(fmaxmag)): Likewise.
3678         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
3679         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
3680         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
3681         fminmag.
3682         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
3683         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
3684         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3685         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3686         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
3687         and fminmag.
3688         (CFLAGS-nldbl-fmaxmag.c): New variable.
3689         (CFLAGS-nldbl-fminmag.c): Likewise.
3690         * sysdeps/nacl/libm.abilist: Update.
3691         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3692         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3694         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3695         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3696         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3697         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3698         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3699         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3700         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3701         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3702         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3704         Likewise.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3706         Likewise.
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3710         Likewise.
3711         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3712         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3713         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3714         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3715         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3719         Likewise.
3720         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3721         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3722         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3724 2016-12-19  Torvald Riegel  <triegel@redhat.com>
3726         [BZ #20973]
3727         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
3728         wake-up in robust mutexes.
3729         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3731 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3733         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
3734         (CFLAGS-bench-fmaxf.c): New rule.
3735         (CFLAGS-bench-fminf.c): Likewise.
3736         * benchtests/fmaxf-inputs: New file.
3737         * benchtests/fminf-inputs: Likewise.
3739         * benchtests/Makefile (bench-math): Add fmin and fmax.
3740         (CFLAGS-bench-fmax.c): New rule.
3741         (CFLAGS-bench-fmin.c): Likewise.
3742         * benchtests/fmax-inputs: New file.
3743         * benchtests/fmin-inputs: Likewise.
3745         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
3746         parenthesis.
3747         (CMDLINE_PROCESS): Define using function instead of macro.
3748         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
3749         of test-skeleton.
3750         * benchtests/bench-memchr.c: Likewise.
3751         * benchtests/bench-memcmp.c: Likewise.
3752         * benchtests/bench-memcpy-large.c: Likewise.
3753         * benchtests/bench-memcpy.c: Likewise.
3754         * benchtests/bench-memmem.c: Likewise.
3755         * benchtests/bench-memmove-large.c: Likewise.
3756         * benchtests/bench-memmove.c: Likewise.
3757         * benchtests/bench-memset-large.c: Likewise.
3758         * benchtests/bench-memset.c: Likewise.
3759         * benchtests/bench-rawmemchr.c: Likewise.
3760         * benchtests/bench-strcasecmp.c: Likewise.
3761         * benchtests/bench-strcasestr.c: Likewise.
3762         * benchtests/bench-strcat.c: Likewise.
3763         * benchtests/bench-strchr.c: Likewise.
3764         * benchtests/bench-strcmp.c: Likewise.
3765         * benchtests/bench-strcpy.c: Likewise.
3766         * benchtests/bench-strcpy_chk.c: Likewise.
3767         * benchtests/bench-strlen.c: Likewise.
3768         * benchtests/bench-strncasecmp.c: Likewise.
3769         * benchtests/bench-strncmp.c: Likewise.
3770         * benchtests/bench-strncpy.c: Likewise.
3771         * benchtests/bench-strnlen.c: Likewise.
3772         * benchtests/bench-strpbrk.c: Likewise.
3773         * benchtests/bench-strrchr.c: Likewise.
3774         * benchtests/bench-strsep.c: Likewise.
3775         * benchtests/bench-strspn.c: Likewise.
3776         * benchtests/bench-strstr.c: Likewise.
3777         * benchtests/bench-strtok.c: Likewise.
3779 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3781         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
3782         stepping identification.
3783         (init_cpu_features): Add handle of Haswell.
3785 2016-11-25  Jim Meyering  <meyering@fb.com>
3787         [BZ #20386]
3788         Let gcc detect assert(a = 1) errors.
3789         * assert/assert.h (assert): Rewrite, retaining the old definintion
3790         when required, but otherwise putting the expression as-is in an "if"
3791         expression (hence, with no added parentheses) within a statement
3792         expression.
3794 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3796         * benchtests/Makefile (binaries-benchset): Depend on libsupport
3797         DSO.
3799 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
3801         * Rules (python-flags, python-invoke): New.
3802         ($(test-printers-out)): Use $(python-flags).
3804 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3806         * manual/arith.texi (Math Error Reporting): Document that sNaN
3807         arguments are not considered domain errors.
3809 2016-12-16  Zack Weinberg <zackw@panix.com>
3810             Florian Weimer <fweimer@redhat.com>
3811             Nick Mathewson <nickm@torproject.org>
3813         * string/explicit_bzero.c: New routine.
3814         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
3815         * string/Makefile (routines, strop-tests, tests): Add them.
3816         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
3817         * string/string.h [__USE_MISC]: Declare explicit_bzero.
3819         * debug/explicit_bzero_chk.c: New routine.
3820         * debug/Makefile (routines): Add it.
3821         * debug/tst-chk1.c: Test fortification of explicit_bzero.
3822         * string/bits/string3.h: Fortify explicit_bzero.
3824         * manual/string.texi: Document explicit_bzero.
3825         * NEWS: Mention addition of explicit_bzero.
3827         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
3828         data before returning, using explicit_bzero.
3829         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
3830         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3831         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3833         * include/string.h: Redirect internal uses of explicit_bzero
3834         to __explicit_bzero_chk[_internal].
3835         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
3836         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
3837         * sysdeps/arm/nacl/libc.abilist
3838         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3839         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3840         * sysdeps/unix/sysv/linux/arm/libc.abilist
3841         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3842         * sysdeps/unix/sysv/linux/i386/libc.abilist
3843         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3844         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3845         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3846         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3847         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3849         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3850         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3851         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3856         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3857         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3858         * sysdeps/unix/sysv/linux/sh/libc.abilist
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3860         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3863         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3864         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3865         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3866         Add entries for explicit_bzero and __explicit_bzero_chk.
3868 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3870         * math/fenv.h
3871         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
3872         (FE_SNANS_ALWAYS_SIGNAL): New macro.
3873         * math/test-fe-snans-always-signal.c: New file.
3874         * math/Makefile (tests): Add test-fe-snans-always-signal.
3875         (CFLAGS-test-fe-snans-always-signal.c): New variable.
3876         * manual/arith.texi (Infinity and NaN): Document
3877         FE_SNANS_ALWAYS_SIGNAL.
3879 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3881         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
3882         bracket.
3884 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3886         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
3887         before calling execv.
3889 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3891         [BZ# 20971]
3892         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
3893         overflow in pointer addition.
3894         * string/test-memchr.c (do_test): Add an argument to pass as
3895         the size on memchr.
3896         (test_main): Add check for SIZE_MAX.
3898 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3900         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
3901         (libm-calls): Add w_scalblnF.
3902         * math/w_scalbln.c: Remove.
3903         * math/w_scalblnf.c: Likewise.
3904         * math/w_scalblnl.c: Likewise.
3905         * math/w_scalbln_template.c: New file with type-generic
3906         implementation based on math/w_scalbln.c.
3907         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
3908         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
3910 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3912         [BZ #20947]
3913         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
3914         either is a signaling NaN.
3915         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
3916         follow fmaxl more closely.
3917         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
3918         when either is a signaling NaN.
3919         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
3920         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
3921         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
3922         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
3923         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
3924         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
3925         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
3926         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
3927         (fmin_test_data): Likewise.
3929 2016-12-15  Andreas Schwab  <schwab@suse.de>
3931         * support/support_test_main.c (support_test_main): Don't shadow
3932         file-local variable test_pid.
3934 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
3936         [BZ #20947]
3937         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
3938         either is a signaling NaN.
3939         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
3941 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
3943         [BZ #20947]
3944         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
3945         when either is a signaling NaN.
3946         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
3948         * bits/long-double.h: New file.
3949         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
3950         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
3951         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
3952         * sysdeps/mips/bits/long-double.h: Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
3954         * math/Makefile (headers): Add bits/long-double.h.
3955         * misc/sys/cdefs.h: Include <bits/long-double.h>.
3956         * stdlib/strtold.c: Include <bits/long-double.h> instead of
3957         <bits/wordsize.h>.
3958         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
3959         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
3960         * math/math.h: Do not include <bits/mathdef.h>.
3961         * sysdeps/aarch64/bits/mathdef.h: Remove file.
3962         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
3963         inclusion.
3964         * sysdeps/ia64/bits/mathdef.h: Remove file.
3965         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
3966         * sysdeps/mips/bits/mathdef.h: Likewise.
3967         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3968         * sysdeps/s390/bits/mathdef.h: Likewise.
3969         * sysdeps/sparc/bits/mathdef.h: Likewise.
3970         * sysdeps/x86/bits/mathdef.h: Likewise.
3971         * sysdeps/s390/s390-32/bits/wordsize.h
3972         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
3973         conditional code.
3974         * sysdeps/s390/s390-64/bits/wordsize.h
3975         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3976         Likewise.
3977         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
3978         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3979         Likewise.
3980         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
3981         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3984         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
3985         Likewise.
3987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
3988         <linux/falloc.h>.
3989         (FALLOC_FL_KEEP_SIZE): Remove.
3990         (FALLOC_FL_PUNCH_HOLE): Likewise.
3991         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
3992         (FALLOC_FL_ZERO_RANGE): Likewise.
3994 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3996         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
3998 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4000         * sysdeps/unix/sysv/linux/renameat.c: New file.
4001         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4003         * sysdeps/unix/sysv/linux/rename.c: New file.
4004         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4006 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4008         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4009         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4010         * string/strtok_r.c (__strtok_r): Optimize for performance.
4011         * string/string-inlines.c (__old_strtok_r_1c): New function.
4012         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4014 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4016         * math/Makefile (gen-libm-calls): Add w_log1pF.
4017         (libm-calls): Remove w_log1pF.
4018         * math/w_log1p.c: Remove.
4019         * math/w_log1pf.c: Likewise.
4020         * math/w_log1pl.c: Likewise.
4021         * math/w_log1p_template.c: New file with type-generic
4022         implementation based on math/w_log1p.c.
4023         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4024         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4026 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4028         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4030 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4032         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4033         kernel version to 4.9.
4035 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4037         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4038         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4040 2016-12-13  Andreas Schwab  <schwab@suse.de>
4042         * sysdeps/powerpc/dl-procinfo.c: Don't define
4043         _dl_powerpc_platforms.
4044         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4045         constants instead of referencing _dl_powerpc_platforms.
4046         (_dl_platform_string): Remove.
4048 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4050         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4052 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4054         * Rules (binaries-shared-tests, binaries-pie-tests)
4055         (binaries-static-tests): Link with $(link-extra-libs-tests).
4056         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4057         Remove $(link-extra-libs-tests).
4059 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4061         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4062         (sysdep_routines): Add strncmp_power9.
4063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4064         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4065         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4066         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4067         (strncmp): Add __strncmp_power9 to ifunc list.
4068         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4070 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4072         [BZ #17252]
4073         Add getentropy, getrandom.
4074         * stdlib/sys/random.h: New file.
4075         (headers): Add it.
4076         * stdlib/Makefile (routines): Add getentropy, getrandom.
4077         (tests): Add tst-getrandom.
4078         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4079         * stdlib/getentropy.c: New file.
4080         * stdlib/getrandom.c: Likewise.
4081         * stdlib/tst-getrandom.c: Likewise.
4082         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4083         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4084         * manual/crypt.texi (Unpredictable Bytes): New section.
4085         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4086         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4087         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4088         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4089         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4090         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4091         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4092         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4093         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4095         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4096         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4097         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4098         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4099         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4100         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4102         Likewise.
4103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4104         Likewise.
4105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4107         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4108         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4109         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4110         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4111         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4118 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4120         [BZ #20956]
4121         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4122         as additional compiler barriers.
4123         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4124         (fn2, do_test): Declare with external linkage.
4125         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4126         (do_test): Declare with external linkage.
4127         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4128         (do_test): Declare with external linkage.
4129         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4130         (do_test): Declare with external linkage.
4132 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4134         * support/support_test_main.c (support_test_main): Use correct
4135         timeout.
4137 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4138             Florian Weimer  <fweimer@redhat.com>
4140         [BZ #16421]
4141         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4142         and __u6_addr32 members.
4143         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4144         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4145         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4146         Use __u6_addr32.
4147         * inet/tst-checks.c: Use <support/test-driver.c>
4148         * inet/tst-checks-posix.c: New file.
4149         * inet/Makefile (tests): Add it.
4150         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4152 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4154         New subdirectory support for build and test infrastructure.
4155         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4156         setting install-lib.
4157         * Makeconfig (link-extra-libs-tests): Define.
4158         (+link-pie-tests, +link-static-tests, +link-tests): Use
4159         link-extra-libs-tests.
4160         (rpath-dirs, all-subdirs): Add support.
4161         (built-modules): Add libsupport.
4162         (libsupport): Define.
4163         * support: New directory.
4164         * support/Makefile: New file.
4165         * support/check.c: Likewise.
4166         * support/check.h: Likewise.
4167         * support/delayed_exit.c: Likewise.
4168         * support/ignore_stderr.c: Likewise.
4169         * support/oom_error.c: Likewise.
4170         * support/set_fortify_handler.c: Likewise.
4171         * support/support.h: Likewise.
4172         * support/temp_file-internal.h: Likewise.
4173         * support/temp_file.c: Likewise.
4174         * support/test-driver.c: Likewise.
4175         * support/test-driver.h: Likewise.
4176         * support/test_main.c: Likewise.
4177         * support/write_message.c: Likewise.
4178         * support/xasprintf.c: Likewise.
4179         * support/xcalloc.c: Likewise.
4180         * support/xmalloc.c: Likewise.
4181         * support/xpthread_barrier_destroy.c: Likewise.
4182         * support/xpthread_barrier_init.c: Likewise.
4183         * support/xpthread_barrier_wait.c: Likewise.
4184         * support/xpthread_cancel.c: Likewise.
4185         * support/xpthread_check_return.c: Likewise.
4186         * support/xpthread_cond_wait.c: Likewise.
4187         * support/xpthread_create.c: Likewise.
4188         * support/xpthread_detach.c: Likewise.
4189         * support/xpthread_join.c: Likewise.
4190         * support/xpthread_mutex_lock.c: Likewise.
4191         * support/xpthread_mutex_unlock.c: Likewise.
4192         * support/xpthread_sigmask.c: Likewise.
4193         * support/xpthread_spin_lock.c: Likewise.
4194         * support/xpthread_spin_unlock.c: Likewise.
4195         * support/xrealloc.c: Likewise.
4196         * support/xsignal.h: Likewise.
4197         * support/xthread.h: Likewise.
4198         * support_tempfile.h: Likewise.
4199         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4200         (TEST_DATA_LIMIT): Remove unused macro.
4201         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4202         <support/check.h>.
4203         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4204         (ignore_stderr, set_fortify_handler): Remove.  Now in
4205         <support/support.h>.
4206         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4207         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4208         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4209         (xpthread_join): Remove.  Now in <support/xthread.h>.
4210         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4211         Introduce legacy wrappers.
4212         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4213         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4214         (write_message): Remove.
4215         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4216         test-skeleton.c.
4217         * io/test-open-tmpfile: Likewise.
4218         * io/tst-posix_fallocate-common.c: Likewise.
4219         * libio/tst-fseek.c: Likewise.
4220         * malloc/tst-malloc-backtrace.c: Likewise.
4221         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4222         * malloc/tst-malloc-thread-exit.c: Likewise.
4223         * nptl/tst-cancel7.c: Likewise.
4224         * nptl/tst-cleanup0.c: Likewise.
4225         * posix/tst-posix_fadvise-common.c: Likewise.
4226         * rt/tst-shm.c: Likewise.
4227         * time/bug-getdate1.c: Likewise.
4228         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4229         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4230         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4232 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4234         * Rules [$(run-built-tests) != no] (tests-expected): Add
4235         $(tests-printers).
4236         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4238 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4240         [BZ #20539]
4241         * math/Makefile (install-lib-ldscripts): Add libm.a.
4242         (install_subdir): Remove.
4243         (install-others): Add.
4244         ($(inst_libdir)/libm.a): Add rule for installation as
4245         linker script.
4246         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4248 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4250         * INSTALL: Regenerated.
4251         * Makeconfig: Add comments and whitespace to make the control flow
4252         clearer.
4253         (+link-printers-tests, +link-pie-printers-tests,
4254         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4255         built-rtld-LDFLAGS, link-libc-rpath,
4256         link-libc-tests-after-rpath-link,
4257         link-libc-printers-tests): New.
4258         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4259         link-libc-tests): Use the new variables as required.
4260         * Makerules ($(py-const)): New rule.
4261         generated: Add $(py-const).
4262         * README.pretty-printers: New file.
4263         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4264         (others): Depend on $(py-const).
4265         (tests): Depend on $(tests-printers-programs) or
4266         $(tests-printers-out),
4267         as required.  Pass $(tests-printers) to merge-test-results.sh.
4268         * manual/install.texi: Add requirements for testing the pretty
4269         printers.
4270         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4271         tests-printers, CFLAGS-test-mutexattr-printers.c
4272         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4273         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4274         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4275         * nptl/nptl-printers.py: New file.
4276         * nptl/nptl_lock_constants.pysym: Likewise.
4277         * nptl/test-cond-printers.c: Likewise.
4278         * nptl/test-cond-printers.py: Likewise.
4279         * nptl/test-condattr-printers.c: Likewise.
4280         * nptl/test-condattr-printers.py: Likewise.
4281         * nptl/test-mutex-printers.c: Likewise.
4282         * nptl/test-mutex-printers.py: Likewise.
4283         * nptl/test-mutexattr-printers.c: Likewise.
4284         * nptl/test-mutexattr-printers.py: Likewise.
4285         * nptl/test-rwlock-printers.c: Likewise.
4286         * nptl/test-rwlock-printers.py: Likewise.
4287         * nptl/test-rwlockattr-printers.c: Likewise.
4288         * nptl/test-rwlockattr-printers.py: Likewise.
4289         * scripts/gen-py-const.awk: Likewise.
4290         * scripts/test_printers_common.py: Likewise.
4291         * scripts/test_printers_exceptions.py: Likewise.
4293 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4295         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4296         argument.
4297         (Glibc.build_glibc): Strip installed shared libraries if
4298         requested.
4299         (get_parser): Add --strip option.
4300         (main): Update Context call.
4302 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4303             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4305         [BZ #20847]
4306         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4307         array bounds for else branch.
4308         (__execvpe): Style fixes.
4309         * posix/tst-vfork3.c (run_script): New function.
4310         (create_script): Likewise.
4311         (do_test): Use run_script internal function.
4312         (do_prepare): Use create_script internal function.
4314 2016-12-07  Andreas Schwab  <schwab@suse.de>
4316         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4317         (__elision_available): Don't declare.
4318         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4319         (__elision_available): Don't define.
4320         (elision_init): Don't set __elision_available.
4322 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4324         [BZ #20940]
4325         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4326         return Inf for arguments Inf and sNaN.
4327         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4328         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4329         Likewise.
4330         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4331         Likewise.
4332         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4333         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4334         for arguments Inf and sNaN.  When returning a NaN, compute it by
4335         arithmetic on the arguments.
4336         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4337         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4338         arguments.
4340 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4342         [BZ #20916]
4343         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4344         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4345         to compute result.
4346         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4347         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4349 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4351         * include/atomic.h (__atomic_check_size_ls): New.
4352         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4353         atomic_store_release): Use it.
4354         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4355         (elision_adapt, ELIDE_LOCK): Use atomics.
4356         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4357         atomics and improve code comments.
4358         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4359         (__lll_trylock_elision): Likewise.
4361 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4363         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4364         programs.
4366 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4368         [BZ #20916]
4369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4370         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4371         arguments to compute result.
4372         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4373         1 for arguments (sNaN, 0) or (1, sNaN).
4374         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4375         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4377         [BZ #20919]
4378         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4379         NaN first argument when raised to power 0.
4380         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4381         raising to power zero.
4382         * math/w_powf.c (__powf): Likewise.
4383         * math/w_powl.c (__powl): Likewise.
4384         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4385         pow (0, 0) or pow (NaN, 0).
4387 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4389         [BZ #20918]
4390         * configure.ac: Test for static NSS cryptographic libraries and set
4391         libc_cv_static_nss_crypt.
4392         * configure: Regenerate.
4393         * config.make.in (static-nss-crypt): Define.
4394         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4395         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4396         (CFLAGS-tst-linkall-static.c): Define.
4397         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4398         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4399         ($(objpfx)tst-linkall-static): Define.
4400         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4401         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4403 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4405         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4406         (one-hundred, tst-tls-many-dynamic-modules): Define.
4407         (modules-names): Add $(tst-tls-many-dynamic-modules).
4408         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4409         macros.
4410         (tst-tls-manydynamic): Link against libdl, libpthread.
4411         (tst-tls-manydynamic.out): The test needs the test modules at run
4412         time.
4413         * elf/tst-tls-manydynamic.c: New file.
4414         * elf/tst-tls-manydynamic.h: Likewise.
4415         * elf/tst-tls-manydynamicmod.c: Likewise.
4417 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4419         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4420         (TLS_DTV_UNALLOCATED): Add.
4421         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4422         offsets.
4424 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4426         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4428 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4430         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4431         Add -fno-optimize-sibling-calls.
4433 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4435         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4436         New declaration.
4437         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4438         macro.
4439         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4440         New macro.
4441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4443         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4444         (llogbf): Likewise.
4445         (llogbl): Likewise.
4446         * math/Makefile (gen-libm-calls): Add w_llogbF.
4447         (tests): Add test-fp-llogb-constants.
4448         * math/w_llogb_template.c: New file.  Based on
4449         math/w_ilogb_template.c.
4450         * math/libm-test.inc (llogb_test_data): New array.
4451         (llogb_test): New function.
4452         (main): Call llogb_test.
4453         * math/test-fp-llogb-constants.c: New file.  Based on
4454         math/test-fp-ilogb-constants.c.
4455         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4456         (do_test): Call check_return_llogb.
4457         * math/test-tgmath.c (NCALLS): Increase to 126.
4458         (F(compile_test)): Call llogb.
4459         (F(llogb)): New function.
4460         * manual/math.texi (Exponents and Logarithms): Document llogb,
4461         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4462         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4463         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4464         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4465         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4466         (CFLAGS-nldbl-llogb.c): New variable.
4467         * sysdeps/nacl/libm.abilist: Update.
4468         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4469         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4470         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4479         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4481         Likewise.
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4487         Likewise.
4488         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4489         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4490         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4491         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4492         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4494         Likewise.
4495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4496         Likewise.
4497         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4498         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4499         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4501 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4503         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4504         _Float128 instead of long double.
4505         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4507         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4508         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4509         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4510         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4511         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4512         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4513         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4514         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4515         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4516         Likewise.
4518 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4520         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4521         Remove redirection to __strrchr_ppc.
4523 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4525         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4526         (sysdep_routines): Add strcmp_power9.
4527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4528         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4529         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4530         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4531         (strcmp): Add __strcmp_power9 to ifunc list.
4532         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4534 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4536         * bits/fp-logb.h: New file.
4537         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4538         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4539         * sysdeps/x86/bits/fp-logb.h: Likewise.
4540         * math/Makefile (headers): Add bits/fp-logb.h.
4541         * math/math.h: Include <bits/fp-logb.h>.
4542         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4543         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4544         * bits/mathdef.h (FP_ILOGB0): Remove.
4545         (FP_ILOGBNAN): Likewise.
4546         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4547         (FP_ILOGBNAN): Likewise.
4548         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4549         (FP_ILOGBNAN): Likewise.
4550         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4551         (FP_ILOGBNAN): Likewise.
4552         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4553         (FP_ILOGBNAN): Likewise.
4554         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4555         (FP_ILOGBNAN): Likewise.
4556         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4557         (FP_ILOGBNAN): Likewise.
4558         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4559         (FP_ILOGBNAN): Likewise.
4560         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4561         (FP_ILOGBNAN): Likewise.
4562         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4563         (FP_ILOGBNAN): Likewise.
4565         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4566         time module.
4567         (Context.__init__): Initialize self.logsdir_old.
4568         (Context.run_builds): Handle bot action.
4569         (Context.bot_cycle): Copy logs directory before running builds.
4570         (Context.bot_run_self): Take argument for whether to check
4571         subprocess result.  Flush stdout before running subprocess.
4572         (Context.bot): New function.
4573         (get_parser): Allow bot action.
4575 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4577         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4578         Import email.mime.text, email.utils and smtplib modules.
4579         (Context.__init__): Initialize self.bot_config_json.
4580         (Context.run_builds): Handle bot-cycle action.
4581         (Context.load_bot_config_json): New function.
4582         (Context.part_build_old): Likewise.
4583         (Context.bot_cycle): Likewise.
4584         (Context.bot_build_mail): Likewise.
4585         (Context.bot_run_self): Likewise.
4586         (get_parser): Allow bot-cycle action.
4588 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4590         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4591         Remove redirection to __stpcpy_ppc.
4593 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4595         Remove __libc_memalign from ld.so because it is unused.
4596         * elf/dl-minimal.c: Update comment on the malloc implementation.
4597         (malloc): Renamed from __libc_memalign, replacing the original
4598         malloc implementation.  Replace the align parameter with
4599         MALLOC_ALIGNMENT.
4600         * elf/Versions (ld): Update comment and remove __libc_memalign.
4601         * sysdeps/nacl/ld.abilist: Likewise.
4602         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4603         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4604         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4605         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4606         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4607         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4608         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4609         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4610         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4611         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4612         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4613         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4614         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4618         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4619         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4620         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4621         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4622         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4628         * sysdeps/generic/localplt.data (ld.so): Likewise.
4629         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4630         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4631         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4632         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4633         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4634         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4635         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4636         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4637         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4639         (ld.so): Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4641         (ld.so): Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4643         Likewise.
4644         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4645         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4646         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
4647         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
4648         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4650 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4652         [BZ #16628]
4653         Implement _dl_catch_error, _dl_signal_error in libc.so.
4654         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
4655         (catch_hook): Define as thread-local or regular variable,
4656         depending on DL_ERROR_BOOTSTRAP.
4657         (CATCH_HOOK): Remove.
4658         (dl_signal_error, _dl_catch_error): Use
4659         catch_hook.  Add hidden definition for libc.
4660         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
4661         for DL_ERROR_BOOTSTRAP only.
4662         * elf/dl-error.c: New file.
4663         * elf/dl-error-minimal.c: Likewise.
4664         * elf/tst-latepthread.c: Likewise.
4665         * elf/tst-latepthreadmod.c: Likewise.
4666         * elf/Makefile (routines): Add dl-error.
4667         (dl-routines): Remove dl-error.
4668         (rtld-routines): Add dl-error-minimal.
4669         [build-shared] (tests): Add tst-latepthread.
4670         (module-names): Add tst-latepthreadmod.
4671         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
4672         symbol.
4673         (tst-latepthreadmod.so): Link against libpthread.
4674         (tst-latepthread): Link against libdbl.
4675         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
4676         _dl_catch_error.
4677         [ld] (GLIBC_PRIVATE): Likewise.
4678         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
4679         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
4680         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
4681         directly.
4682         * elf/dl-tsd.c: Remove file.
4683         * elf/rtld.c (_rtld_global_ro): Remove initializers for
4684         _dl_catch_error, _dl_signal_error.
4685         (_dl_initial_error_catch_tsd): Remove definition.
4686         (do_preload): Remove initialization of dl_error_catch_tsd.
4687         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
4688         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
4689         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4690         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4691         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
4692         set dl_error_catch_tsd.
4693         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
4694         _dl_error_catch_tsd member.
4695         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
4696         members.
4697         (_dl_initial_error_catch_tsd): Remove declaration.
4698         (_dl_dprintf): Provide definition for use outside of ld.so.
4699         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
4700         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
4701         prototype for libc.
4702         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
4703         _dl_catch_error.
4704         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4705         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4706         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4707         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4708         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4709         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4710         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4711         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4712         Likewise.
4713         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4715         (ld.so): Likewise.
4716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4717         (ld.so): Likewise.
4718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4719         Likewise.
4720         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4721         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4722         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4723         Likewise.
4724         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4725         Likewise.
4726         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4728 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4730         [BZ #4099]
4731         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
4732         _IO_BUFSIZ (8192).
4734 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
4736         * PROJECTS: Remove file.
4738 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4740         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
4742 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
4743             Steve Ellcey  <sellcey@caviumnetworks.com>
4745         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
4746         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
4747         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
4748         fxstatat.
4749         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
4750         lxstat.
4751         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
4752         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
4753         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
4754         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
4755         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
4756         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
4757         __xstat.
4759 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4761         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
4762         Define.
4763         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
4764         definition.
4766 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4768         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
4769         version and turn into strong alias.  Remove compat symbol.
4771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4772         (__longjmp): Remove.
4774 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
4776         * bits/fp-fast.h: New file.
4777         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
4778         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
4779         * math/Makefile (headers): Add bits/fp-fast.h.
4780         * math/math.h: Include <bits/fp-fast.h>.
4781         * bits/mathdef.h (FP_FAST_FMA): Remove.
4782         (FP_FAST_FMAF): Likewise.
4783         (FP_FAST_FMAL): Likewise.
4784         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
4785         (FP_FAST_FMAF): Likewise.
4786         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
4787         (FP_FAST_FMAF): Likewise.
4788         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
4789         (FP_FAST_FMAF): Likewise.
4790         (FP_FAST_FMAL): Likewise.
4791         * sysdeps/arm/bits/mathdef.h: Remove file.
4792         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
4793         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4794         * sysdeps/tile/bits/mathdef.h: Likewise.
4796 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4798         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
4799         * math/w_ilogb.c: Remove.
4800         * math/w_ilogbf.c: Likewise.
4801         * math/w_ilogbl.c: Likewise.
4802         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
4803         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
4804         * math/Makefile (gen-libm-calls): Add w_ilogbF.
4805         (libm-calls): Remove w_ilogbF.
4806         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
4807         (LDOUBLE_ilogbl_libm_version): New macro.
4809         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
4811         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
4812         [!__STRICT_ANSI__ && !__cplusplus].
4814 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4816         [BZ #20750]
4817         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
4818         of PIC.
4820 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4821             Yury Norov  <ynorov@caviumnetworks.com>
4822             Steve Ellcey  <sellcey@caviumnetworks.com>
4824         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
4825         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
4826         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
4827         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
4828         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
4829         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
4830         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
4831         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
4832         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
4833         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
4834         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
4835         to get correct reg name for ILP32.
4836         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
4837         (RELA_SIZE): New Macro.
4838         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
4839         to support ILP32.
4840         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
4841         cast for ILP32 mode.
4842         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
4843         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
4844         * sysdeps/aarch64/memset.S (__memset): Ditto.
4845         * sysdeps/aarch64/strchr.S (strchr): Ditto.
4846         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
4847         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
4848         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
4849         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
4850         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
4851         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
4852         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
4853         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
4854         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
4855         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
4856         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
4857         change PTR_MANGLE call to use register numbers instead of names.
4858         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
4859         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
4860         ILP32 mode, change PTR_MANGLE calls to use register numbers.
4861         * sysdeps/aarch64/start.S (_start): Ditto.
4862         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
4863         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
4864         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
4865         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
4866         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
4867         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
4868         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
4869         Make defined values dependent on __ILP32__.
4870         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
4871         (sem_t): Change __align type.
4872         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
4873         PTR_SIZE): New Macros.
4874         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
4875         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
4876         Set when in ILP32 mode.
4877         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
4878         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
4879         Set elf flags for ILP32.
4880         (add_system_dir): Set ILP32 library directories.
4881         * sysdeps/unix/sysv/linux/aarch64/init-first.c
4882         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
4883         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
4884         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
4885         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
4886         New Macros.
4887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
4889 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4891         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
4892         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
4893         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
4895 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4897         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
4898         <asm/cachectl.h>.
4900 2016-11-27  Zack Weinberg  <zackw@panix.com>
4902         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
4903         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
4905 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4907         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
4908         error_t to fix usage in C++ programs.
4910 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
4912         * scripts/build-many-glibcs.py: Import datetime module.
4913         (Context.__init__): Load JSON build state.  Initialize list of
4914         status logs.
4915         (Context.run_builds): Update saved build state.
4916         (Context.add_makefile_cmdlist): Update list of status logs.
4917         (Context.load_build_state_json): New function.
4918         (Context.store_build_state_json): Likewise.
4919         (Context.clear_last_build_state): Likewise.
4920         (Context.update_build_state): Likewise.
4921         (CommandList.status_logs): Likewise.
4923 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
4925         * scripts/build-many-glibcs.py (Context.__init__): Save text of
4926         script being executed.
4927         (Context.get_script_text): New function.
4928         (Context.exec_self): Likewise.
4929         (Context.checkout): Re-exec script if changed by checkout process.
4931 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
4933         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4934         (setpayloadsig): New declaration.
4935         * math/Versions (setpayloadsig): New libm symbol at version
4936         GLIBC_2.25.
4937         (setpayloadsigf): Likewise.
4938         (setpayloadsigl): Likewise.
4939         * math/Makefile (libm-calls): Add s_setpayloadsigF.
4940         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
4941         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
4942         (setpayloadsig_test_data): New array.
4943         (setpayloadsig_test): New function.
4944         (main): Call setpayloadsig_test.
4945         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
4946         setpayloadsigf and setpayloadsigl.
4947         * manual/libm-err-tab.pl: Update comment on interfaces without
4948         ulps tabulated.
4949         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
4950         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
4951         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
4954         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
4955         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4956         setpayloadsig.
4957         (CFLAGS-nldbl-setpayloadsig.c): New variable.
4958         * sysdeps/nacl/libm.abilist: Update.
4959         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4960         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4961         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4962         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4963         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4964         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4965         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4966         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4967         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4968         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4969         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4970         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4972         Likewise.
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4974         Likewise.
4975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4976         Likewise.
4977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4978         Likewise.
4979         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4980         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4981         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4983         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4985         Likewise.
4986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4987         Likewise.
4988         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4989         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4992         * scripts/build-many-glibcs.py: Import json module.
4993         (Context.__init__): Take replace_sources argument.  Load
4994         versions.json.
4995         (Context.load_versions_json): New function.
4996         (Context.store_json): Likewise.
4997         (Context.store_versions_json): Likewise.
4998         (Context.set_component_version): Likewise.
4999         (Context.checkout): Update versions.json.  Check for and handle
5000         changes of version.  Prefer previously explicitly specified
5001         version to default version.
5002         (Context.checkout_vcs): Return a revision identifier.
5003         (Context.git_checkout): Likewise.
5004         (Context.gcc_checkout): Likewise.
5005         (get_parser): Add --replace-sources option.
5006         (main): Pass replace_sources argument to Context call.
5008 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5010         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5011         * nptl/allocatestack.c (allocate_stack): Likewise.
5012         (__reclaim_stacks): Likewise.
5013         (setxid_signal_thread): Obtain pid through syscall.
5014         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5015         (sighandle_setxid): Likewise.
5016         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5017         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5018         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5019         Likewise.
5020         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5021         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5022         comment.
5023         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5024         * nptl/descr.h (struct pthread): Change comment about pid value.
5025         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5026         pid assert.
5027         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5028         Do not set pid value.
5029         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5030         pid cache check.
5031         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5032         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5033         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5034         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5035         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5036         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5037         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5038         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5039         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5040         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5041         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5042         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5043         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5044         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5045         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5046         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5047         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5048         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5049         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5050         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5051         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5052         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5053         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5054         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5055         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5058         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5059         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5060         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5061         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5062         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5063         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5064         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5065         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5066         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5067         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5068         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5069         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5070         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5071         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5072         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5073         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5076         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5077         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5078         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5079         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5080         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5081         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5082         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5083         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5084         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5085         struct access.
5086         (clone_test): Remove function.
5087         (do_test): Rewrite to take in consideration pid is not cached anymore.
5089 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5091         * bits/flt-eval-method.h: New file.
5092         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5093         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5094         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5095         * math/Makefile (headers): Add bits/flt-eval-method.h.
5096         * math/math.h: Include <bits/flt-eval-method.h>.
5097         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5098         [__USE_ISOC99] (double_t): Likewise.
5099         * bits/mathdef.h (float_t): Remove.
5100         (double_t): Likewise.
5101         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5102         (double_t): Likewise.
5103         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5104         (double_t): Likewise.
5105         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5106         (double_t): Likewise.
5107         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5108         (double_t): Likewise.
5109         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5110         (double_t): Likewise.
5111         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5112         (double_t): Likewise.
5113         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5114         (double_t): Likewise.
5115         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5116         (double_t): Likewise.
5117         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5118         (double_t): Likewise.
5119         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5120         (double_t): Likewise.
5121         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5122         (double_t): Likewise.
5123         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5124         (double_t): Likewise.
5125         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5126         (double_t): Likewise.
5128 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5130         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5131         instead of PIC.
5133 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #20859]
5136         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5137         (-0x7fffffff) instead of 0x80000001.
5138         * math/test-fp-ilogb-constants.c: New file.
5139         * math/Makefile (tests): Add test-fp-ilogb-constants.
5141 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5143         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5144         (_init): Use it in place of hardcoded R_MIPS_JALR.
5145         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5146         (_init): Use it in place of hardcoded R_MIPS_JALR.
5147         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5148         (_init): Use it in place of hardcoded R_MIPS_JALR.
5150 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5152         [BZ #20787]
5153         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5154         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5155         (double_t): Do not define to double if [__x86_64__] when
5156         __FLT_EVAL_METHOD__ is nonzero.
5157         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5158         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5159         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5160         test-flt-eval-method-387 and test-flt-eval-method-sse.
5161         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5162         variable.
5163         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5165 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5167         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5168         use of -fno-isolate-erroneous-paths options for tilepro.
5170 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5172         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5173         structure initialization is no longer needed.
5175 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5177         [BZ #20855]
5178         * bits/mathdef.h (float_t): Define to float.
5179         * math/test-flt-eval-method.c: New file.
5180         * math/Makefile (tests): Add test-flt-eval-method.
5181         (CFLAGS-test-flt-eval-method.c): New variable.
5183 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5185         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5186         and __fstatfs.  Make them aliases of __fstatfs64 if
5187         STATFS_IS_STATFS64 is set to non-zero.
5188         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5189         and __statfs64.
5190         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5191         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5192         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5193         for __statfs and statfs.
5194         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5195         to 0.
5196         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5197         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5198         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5199         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5200         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5201         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5204         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5205         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5206         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5207         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5209 2016-11-22  Andreas Schwab  <schwab@suse.de>
5211         * misc/mkstemp.c: Include <fcntl.h>.
5212         * misc/mkstemps.c: Likewise.
5213         * misc/mkostemp.c: Likewise.
5214         * misc/mkostemps.c: Likewise.
5216 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5218         [BZ #20847]
5219         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5220         array bounds.
5221         (__execvpe): Likewise.
5223 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5225         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5226         -fno-isolate-erroneous-paths options for tilepro.
5228 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5230         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5231         to 0 when in 32 bit mode.
5232         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5233         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5234         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5235         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5237         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5238         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5239         XSTAT_IS_XSTAT64 test.
5240         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5241         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5242         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5243         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5244         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5245         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5246         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5247         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5248         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5249         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5250         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5252 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5254         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5255         (setpayload): New declaration.
5256         * math/Versions (setpayload): New libm symbol at version
5257         GLIBC_2.25.
5258         (setpayloadf): Likewise.
5259         (setpayloadl): Likewise.
5260         * math/Makefile (libm-calls): Add s_setpayloadF.
5261         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5262         test_Ff_b1_data.
5263         (RUN_TEST_Ff_b1): New macro.
5264         (RUN_TEST_LOOP_Ff_b1): Likewise.
5265         (canonicalize_test_data): Update type.
5266         (setpayload_test_data): New array.
5267         (setpayload_test): New function.
5268         (main): Call setpayload_test.
5269         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5270         setpayloadf and setpayloadl.
5271         * manual/libm-err-tab.pl: Update comment on interfaces without
5272         ulps tabulated.
5273         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5274         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5275         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5276         Likewise.
5277         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5278         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5279         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5280         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5281         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5283         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5284         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5285         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5286         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5287         setpayload.
5288         (CFLAGS-nldbl-setpayload.c): New variable.
5289         * sysdeps/nacl/libm.abilist: Update.
5290         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5291         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5292         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5293         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5294         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5295         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5296         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5297         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5298         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5299         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5300         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5301         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5303         Likewise.
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5305         Likewise.
5306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5307         Likewise.
5308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5309         Likewise.
5310         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5312         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5313         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5314         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5318         Likewise.
5319         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5320         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5321         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5323 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5325         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5326         * include/unistd.h: Extend comment about __access_noerrno return
5327         semantics.
5328         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5329         (access_common): Correct typo for EACCES.
5331 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5333         * sysdeps/tile/math-tests.h: New file.
5335         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5336         (__old_set_dataplane): Rename from set_dataplane and make a
5337         compatibility symbol.
5338         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5339         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5340         sys/dataplane.h.
5342 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5344         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5345         script quote words in command output to log suitably for input to
5346         the shell.
5348 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5349             Maciej W. Rozycki  <macro@imgtec.com>
5351         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5352         `.Lno_weak_fn' label.
5353         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5354         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5356 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5357             Yury Norov  <ynorov@caviumnetworks.com>
5359         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5360         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5361         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5362         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5363         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5364         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5365         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5366         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5367         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5368         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5369         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5370         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5371         (sysdep_routines): Remove oldgetrlimit64.
5372         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5373         (sysdep_routines): Likewise.
5374         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5375         (sysdep_routines): Likewise.
5376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5377         [$(subdir) = resource] (sysdep_routines): Likewise.
5378         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5379         [$(subdir) = resource] (sysdep_routines): Likewise.
5380         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5381         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5382         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5383         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5384         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5385         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5386         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5387         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5388         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5389         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5390         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5391         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5392         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5393         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5394         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5395         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5396         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5397         setrlimit and getrlimit.
5398         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5399         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5400         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5404         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5405         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5406         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5407         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5408         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5409         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5410         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5411         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5412         (__old_getrlimit64): Add compatibility symbol.
5413         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5415 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5417         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5418         newly built gmp, mpfr and mpc.
5420         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5422 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5424         * conform/Makefile (linknamespace-libs): Rename to
5425         linknamespace-libs-thr.
5426         (linknamespace-libs-posix): New variable.
5427         (linknamespace-libs-xsi): Likewise.
5428         (linknamespace-libs-XPG3): Include libcrypt.a.
5429         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5430         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5431         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5432         (linknamespace-libs-XOPEN2K): Likewise.
5433         (linknamespace-libs-XOPEN2K8): Likewise.
5434         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5436         [BZ #20829]
5437         * stdio-common/Versions (__snprintf): Add to version
5438         GLIBC_PRIVATE.
5439         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5440         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5441         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5442         of snprintf.
5443         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5445 2016-11-16  Zack Weinberg  <zackw@panix.com>
5447         * string/string.h: Remove obsolete comment stating that
5448         strcoll_l and strxfrm_l have not yet been standardized.
5450 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5452         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5453         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5454         __access_noerrno.
5455         * io/access.c (__access_noerrno): New function.
5456         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5457         (hurd_fail_seterrno): Likewise.
5458         (access_common): Likewise.
5459         (__access_noerrno): Likewise.
5460         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5461         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5462         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5463         macro.
5465 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5467         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5468         Only declare fpregs if [__SH_FPU_ANY__].
5470 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5472         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5473         Make code unconditional.
5474         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5476 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5478         * manual/sysinfo.texi (S_APPEND): Delete.
5479         (S_IMMUTABLE): Likewise.
5481 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5482             Magnus Granberg  <zorry@gentoo.org>
5483             Mike Frysinger  <vapier@gentoo.org>
5485         [BZ #20662]
5486         * configure.ac (libc_cv_predef_stack_protector): Also check for
5487         __stack_chk_fail_local symbols.
5488         * configure: Regenerated.
5490 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5492         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5493         (libc_hidden_def): Remove redefinition.
5494         (__sigsetjmp): Add hidden definition.
5495         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5496         (libc_hidden_def): Remove redefinition.
5497         (__sigsetjmp): Add hidden definition.
5499 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5501         * scripts/build-many-glibcs.py (os.path): Do not import.
5502         (Context): Inherit explicitly from object.  Remove blank line
5503         between class and docstring.
5504         (Config): Likewise.
5505         (Glibc): Likewise.
5506         (Command): Likewise.
5507         (CommandList): Likewise.
5508         (Context.write_files): Store chmod mode in a variable.
5510         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5511         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5512         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5514 2016-11-14  Zack Weinberg  <zackw@panix.com>
5516         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5517         creating or re-creating it.
5519         * string/bits/string2.h: Fix typo in comment.
5521 2016-11-14  Zack Weinberg  <zackw@panix.com>
5523         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5524         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5525         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5526         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5527         of redirected function names.
5529         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5530         as well.  Document that MESSAGE must be a single string literal.
5532 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5534         * scripts/build-many-glibcs.py: New file.
5536         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5537         (do_test): Disable -Wmaybe-uninitialized around uses of
5538         except_mask.
5540         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5542 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5544         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5545         (atomic_store_release): Provide tilepro-specific implementations.
5547 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5549         * math/math.h (__MATH_TG): New macro.
5550         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5551         [__USE_ISOC99] (signbit): Likewise.
5552         [__USE_ISOC99] (isfinite): Likewise.
5553         [__USE_ISOC99] (isnan): Likewise.
5554         [__USE_ISOC99] (isinf): Likewise.
5555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5558         __MATH_TG and __MATH_EVAL_FMT2.
5559         * sysdeps/generic/math_private.h (fabs_tg): Define using
5560         __MATH_TG.
5561         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5562         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5563         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5564         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5565         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5566         macro.
5567         (__iscanonical): Likewise.
5568         (iscanonical): Define using __MATH_TG.
5570 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5572         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5573         guards.
5575         * sysdeps/unix/sysv/linux/access.c: New file.
5576         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5578 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5580         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5581         and __WORDSIZE32_PTRDIFF_LONG.
5583 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5585         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5587 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5589         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5590         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5591         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5592         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5593         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5595         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5596         * sysdeps/unix/sysv/linux/truncate.c: New file.
5597         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5598         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5599         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5600         Remove.
5601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5602         Likewise.
5604         * posix/tst-truncate-common.c: New file.
5605         * posix/tst-truncate.c: Use tst-truncate-common.c.
5606         * posix/tst-truncate64.c: Likewise and add LFS tests.
5607         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5608         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5609         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5610         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5611         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5613         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5614         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5615         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5616         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5617         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5618         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5619         Remove.
5620         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5621         Likewise.
5623 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
5625         [BZ #20790]
5626         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5627         to MAXLINESIZE.
5628         * sunrpc/bug20790.x: New file.
5629         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5630         variable.
5631         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5632         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5634         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5636         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
5638         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
5639         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
5640         calloc, realloc, free, memalign and __libc_memalign rather than
5641         making them optional.
5643         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
5644         for libc.so.
5646 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5648         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
5649         ptw-lseek64.
5650         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
5651         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
5652         Likewise.
5653         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
5654         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
5655         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
5656         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
5657         * sysdeps/unix/sysv/linux/lseek.c: New file.
5658         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
5659         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
5660         __libc_lseek64 from auto-generation.
5661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5662         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
5664 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5666         * nptl/tst-basic1.c (tf, do_test): Use write_message.
5667         * nptl/tst-cleanup1.c (do_test): Likewise.
5668         * nptl/tst-cleanup3.c (do_test): Likewise.
5669         * nptl/tst-key1.c (do_test): Likewise.
5670         * nptl/tst-key2.c (tf, do_test): Likewise.
5671         * nptl/tst-key3.c (tf, do_test): Likewise.
5672         * nptl/tst-stdio1.c (do_test): Likewise.
5673         * nptl/tst-stdio2.c (do_test): Likewise.
5675         * nptl/tst-kill3.c (handler): Use write_message in place of write.
5676         * nptl/tst-kill6.c (handler): Likewise.
5677         * nptl/tst-tls2.c (CB): Likewise.
5678         * nptl/tst-tls3.c (CB): Likewise.
5680 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
5682         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5684 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
5685             Steve Ellcey  <sellcey@caviumnetworks.com>
5687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5688           __ASSUME_ST_INO_64_BIT as 0
5689         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
5690         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
5691           over the code where __ASSUME_ST_INO_64_BIT is used.
5692         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5693         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5694         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5696 2016-11-07  Florian Weimer  <fweimer@redhat.com>
5698         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5699         Document ABI exposure of the __kind offset.
5700         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5701         Mention reason for the __kind offset exposure in the ABI.
5702         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5703         Likewise.
5704         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5705         Likewise.
5706         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5707         Likewise.
5708         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
5709         (struct __pthread_mutex_s): Likewise.
5710         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5711         Likewise.
5712         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5713         Likewise.
5714         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5715         Likewise.
5716         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5717         Likewise.
5718         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5719         Likewise.
5720         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5721         Likewise.
5722         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5723         (struct __pthread_mutex_s): Likewise.
5724         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5725         (struct __pthread_mutex_s): Likewise.
5726         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
5727         Likewise.
5729 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
5731         * test-skeleton.c: Document do_test usage.
5733 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
5735         * iconv/gconv.h (__gconv_info): Define __data element using a
5736         zero-length array.
5738 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
5740         * math/test-tgmath2.c: Split up test function.
5742 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5744         * Rules (tests-expected): New variable, depending on
5745         $(run-built-tests).
5746         (tests): Pass $(tests-expected) to merge-test-results.sh, not
5747         $(tests).
5749         * Rules [$(run-built-tests) = no] (tests): Do not depend on
5750         $(tests-unsupported).
5752 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5754         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5755         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
5757 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5759         [BZ #20768]
5760         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
5761         __fegetenv instead of fegetenv.
5763         [BZ #14139]
5764         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
5765         (find_files): Obtain platform name from libm-test-ulps-name and
5766         store in %pplatforms.
5767         (canonicalize_platform): Remove.
5768         (print_platforms): Use $pplatforms directly.
5769         (by_platforms): Do not allow for platforms missing from
5770         %pplatforms.
5771         * sysdeps/aarch64/libm-test-ulps-name: New file.
5772         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
5773         * sysdeps/arm/libm-test-ulps-name: Likewise.
5774         * sysdeps/generic/libm-test-ulps-name: Likewise.
5775         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
5776         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
5777         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
5778         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
5779         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
5780         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
5781         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
5782         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
5783         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
5784         * sysdeps/nios2/libm-test-ulps-name: Likewise.
5785         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
5786         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
5787         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
5788         * sysdeps/sh/libm-test-ulps-name: Likewise.
5789         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
5790         * sysdeps/tile/libm-test-ulps-name: Likewise.
5791         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
5793         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
5795         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
5796         (test-xfail-check-execstack): New variable.
5798         * sysdeps/mips/localplt.data: New file.
5800 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
5801             Steve Ellcey  <sellcey@caviumnetworks.com>
5803         * bits/wordsize.h: Add documentation.
5804         * sysdeps/aarch64/bits/wordsize.h : New file
5805         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
5806         definitions.
5807         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
5808         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
5809         with #if instead of #ifdef.
5810         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
5811         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
5812         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
5813         Add or change defines.
5814         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
5815         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5816         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
5817         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
5818         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5819         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5820         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
5821         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5822         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
5823         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5824         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
5825         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
5826         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
5827         * sysdeps/x86/bits/wordsize.h: Likewise.
5829 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
5830             Kevin Petit  <kevin.petit@arm.com>
5832         * sysdeps/aarch64/memchr.S (__memchr): New file.
5834 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5836         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
5838 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
5840         [BZ #19398]
5841         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
5842         $(linknamespace-symlists-tests).
5844 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
5846         * time/tst-strptime2.c: Ignore -Wformat-length warning.
5848 2016-11-02  Florian Weimer  <fweimer@redhat.com>
5849             Carlos O'Donell  <carlos@redhat.com>
5851         [Bug #20729]
5852         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
5853         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
5854         for -Os related change.
5856 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
5858         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
5860 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
5862         [BZ #19673]
5863         * manual/math.texi (Exponents and Logarithms): Correct description
5864         of clog10.
5866 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
5868         [Bz #20729]
5869         * locale/weight.h: Include libc-internal.h.
5870         * locale/weightwc.h: Likewise.
5871         * nptl/nptl_dbP.h: Likewise.
5873 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
5875         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
5876         when it is MACH_PORT_NULL.
5878 2016-10-31  Andreas Schwab  <schwab@suse.de>
5880         [BZ #20707]
5881         * posix/glob.c (glob): Initialize pglob before checking for
5882         GLOB_BRACE.  Don't call glob recursively if pattern contains no
5883         valid brace expression despite GLOB_BRACE.
5884         * posix/globtest.sh: Test it.
5886 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
5888         [BZ #20729]
5889         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
5890         Define.
5891         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
5892         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
5893         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
5894         for seq2.back_us and seq1.back_us only for -Os compiles.
5895         * locale/weightwc.h (findix): Likewise.
5896         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
5897         DB_GET_FIELD_ADDRESS only for -Os compiles.
5898         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
5899         for slen only for -Os compiles.
5900         * string/strcoll_l.c (get_next_seq): Ignore
5901         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
5902         for -Os compiles.
5904         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
5905         * include/crypt.h: New file.
5907 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5909         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
5910         from test-skeleton.c.
5911         (statclass): Replace calls to write with calls to write_message.
5913 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
5915         * math/math.h
5916         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
5917         New macro.
5918         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
5919         Likewise.
5920         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
5921         Likewise.
5922         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
5923         SNANL.
5924         * math/test-double.h (snan_value_MACRO): New macro.
5925         * math/test-float.h (snan_value_MACRO): Likewise.
5926         * math/test-ldouble.h (snan_value_MACRO): Likewise.
5927         * math/libm-test.inc (issignaling_test_data): Add tests of
5928         snan_value_MACRO.
5930 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5932         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
5933         behavior when eliding a lock not held by the current thread.
5934         * sysdeps/powerpc/nptl/elide.h: Likewise.
5936 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5938         [BZ #20728]
5939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
5940         branch to _exit() by a function call.
5942 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5944         * malloc/malloc.c: Update chunk layout comments.
5945         (chunk_main_arena): Update comment.
5947 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5949         * crypt/sha256.c, crypt/sha256-block.c,
5950         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
5951         sha256_process_block to __sha256_process_block.
5952         * crypt/sha512.c, crypt/sha512-block.c,
5953         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
5954         sha512_process_block to __sha512_process_block.
5956 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
5958         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
5960         * math/test-nan-overflow.c: Include stdlib.h for malloc.
5962 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
5964         [BZ #20019]
5965         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
5966         definition in unrelocated shared library.
5967         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5969 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5971         [BZ #20729]
5972         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
5973         * sysdeps/unix/sysv/linux/i386/Makefile
5974         (uses-6-syscall-arguments): Define.
5975         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
5976         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
5977         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
5978         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
5979         Likewise.
5980         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
5981         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
5982         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
5983         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
5984         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
5985         (CFLAGS-fallocate64.os): Likewise.
5986         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
5987         (CFLAGS-pthread_rwlock_timedrdlock.os)
5988         (CFLAGS-pthread_rwlock_timedwrlock.o)
5989         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
5990         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
5991         (CFLAGS-sem_timedwait.os): Likewise.
5993 2016-10-28  Florian Weimer  <fweimer@redhat.com>
5995         * elf/tst-linkall-static.c: New file.
5996         * elf/Makefile (tests-static): Add tst-linkall-static.
5997         (tst-linkall-static): Link against static libraries.
5999 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6001         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6002         mmaped chunks.
6004 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6006         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6007         members to mchunk_prev_size, mchunk_size.
6008         (chunk_main_arena): Reverse sense and rename from
6009         chunk_non_main_arena.
6010         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6011         mchunk_size instead of size.
6012         (set_non_main_arena): Define.
6013         (chunksize): Use chunksize_nomask instead of direct member access.
6014         (chunksize_nomask): Define.
6015         (next_chunk): Use chunksize instead of direct member access.
6016         (prev_size, set_prev_size): Define.
6017         (prev_chunk): Use prev_size instead of direct member access.
6018         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6019         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6020         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6021         (mchunk_prev_size, mchunk_size): Poison tokens.
6022         (unlink): Use chunksize_nomask, prev_size accessors.
6023         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6024         (do_check_free_chunk): Use prev_size accessor.
6025         (sysmalloc): Use set_prev_size, set_head accessors.
6026         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6027         (__libc_free): Use chunksize_nomask accessor.
6028         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6029         chunk_main_arena accessors.
6030         (_int_free): Use chunksize_nomask, prev_size accessors.
6031         (malloc_consolidate): Use chunksize, prev_size accessors.
6032         (_int_realloc): Use chunksize_nomask accessor.
6033         (_int_memalign): Use set_prev_size accessor.
6034         (__malloc_info): Use chunksize_nomask accessor.
6035         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6036         accessors.
6037         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6038         (heap_trim): Use chunksize_nomask, prev_size accessors.
6040 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6042         [BZ #19380]
6043         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6044         for inexact results.
6045         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6046         of inexact result where mpfr_subnormalize is the only inexact
6047         step.
6048         * stdlib/tst-strtod-round-data.h: Regenerated.
6049         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6050         Define to 0.
6051         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6053 2016-10-27  David S. Miller  <davem@davemloft.net>
6055         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6057 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6059         * malloc/malloc.c (do_set_mallopt_check): New function.
6060         (do_set_mmap_threshold): Likewise.
6061         (do_set_mmaps_max): Likewise.
6062         (do_set_top_pad): Likewise.
6063         (do_set_perturb_byte): Likewise.
6064         (do_set_trim_threshold): Likewise.
6065         (do_set_arena_max): Likewise.
6066         (do_set_arena_test): Likewise.
6067         (__libc_mallopt): Use them.
6069 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6071         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6072         (canonicalize): New declaration.
6073         * math/Versions (canonicalize): New libm symbol at version
6074         GLIBC_2.25.
6075         (canonicalizef): Likewise.
6076         (canonicalizel): Likewise.
6077         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6078         * math/s_canonicalize_template.c: New file.
6079         * math/libm-test.inc: Update comment on functions tested and
6080         testing of NaN payloads.
6081         (TEST_NAN_PAYLOAD): New macro.
6082         (NO_TEST_INLINE): Update value.
6083         (XFAIL_TEST): Likewise.
6084         (ERRNO_UNCHANGED): Likewise.
6085         (ERRNO_EDOM): Likewise.
6086         (ERRNO_ERANGE): Likewise.
6087         (IGNORE_RESULT): Likewise.
6088         (NON_FINITE): Likewise.
6089         (TEST_SNAN): Likewise.
6090         (NO_TEST_MATHVEC): Likewise.
6091         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6092         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6093         (struct test_Ffp_b1_data): New type.
6094         (RUN_TEST_Ffp_b1): New macro.
6095         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6096         (canonicalize_test_data): New array.
6097         (canonicalize_test): New function.
6098         (main): Call canonicalize_test.
6099         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6100         canonicalizef and canonicalizel.
6101         * manual/libm-err-tab.pl: Update comment on interfaces without
6102         ulps tabulated.
6103         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6104         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6105         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6106         canonicalize.
6107         (CFLAGS-nldbl-canonicalize.c): New variable.
6108         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6109         to ...
6110         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6111         ... here.
6112         (do_test): Also test canonicalizel.
6113         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6114         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6115         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6116         file.
6117         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6118         Use libm_hidden_def.
6119         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6120         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6121         (do_test): Also test canonicalizel.
6122         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6123         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6124         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6125         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6126         libm_hidden_def.
6127         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6128         macro.
6129         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6130         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6131         * sysdeps/nacl/libm.abilist: Update.
6132         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6133         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6134         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6135         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6136         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6137         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6138         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6139         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6140         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6141         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6142         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6143         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6145         Likewise.
6146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6147         Likewise.
6148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6149         Likewise.
6150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6151         Likewise.
6152         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6153         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6154         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6155         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6156         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6158         Likewise.
6159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6160         Likewise.
6161         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6162         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6163         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6165         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6166         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6167         getpayload.
6168         (CFLAGS-nldbl-getpayload.c): New variable.
6170 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6172         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6173         integer from the format string.
6175 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6177         [BZ #19473]
6178         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6179         declarations.
6180         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6181         weak aliases.
6182         * malloc/hooks.c (__malloc_get_state): Remove definition.
6183         (malloc_get_state): New stub implementation as
6184         compatibility symbol.
6185         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6186         compat symbol.
6187         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6188         malloc_set_state.
6189         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6191 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6193         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6194         (names): Turn into concatenation of strings.
6195         (gconv_init): Adapt iteration over names.
6197 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6199         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6200         make const.
6201         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6202         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6203         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6204         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6205         character in sbconv.
6206         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6207         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6208         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6210 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6212         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6214         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6215         (M_TRIM_THRESHOLD): Likewise.
6217         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6218         (M_ARENA_MAX): Likewise.
6219         * malloc/malloc.c: Remove obsolete comment.
6221         * manual/memory.texi: Add environment variable alternatives to
6222         setting mallopt parameters.
6224 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6226         * include/atomic.h
6227         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6228         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6230 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6232         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6233         * stdlib/tst-strfrom.h: New file.
6234         * stdlib/tst-strfrom.c: New file.
6235         * stdlib/tst-strfrom-locale.c: New file.
6237         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6238         * stdlib/bug-strtod2.c: Likewise.
6239         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6240         * stdlib/tst-strtod6.c: Likewise.
6241         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6243 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6245         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6246         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6247         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6248         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6249         * stdlib/stdlib.h (strfromd): New declaration.
6250         (strfromf): Likewise.
6251         (strfroml): Likewise.
6252         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6253         strfrom.
6254         * stdlib/strfromd.c: New file.
6255         * stdlib/strfromf.c: Likewise.
6256         * stdlib/strfroml.c: Likewise.
6257         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6258         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6259         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6260         * sysdeps/arm/nacl/libc.abilist: Update.
6261         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6265         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6266         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6267         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6268         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6269         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6270         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6271         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6272         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6273         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6274         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6279         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6280         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6282         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6283         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6286         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6287         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6288         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6290 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6292         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6293         instead of cmpli.
6294         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6295         instead of cmpli.
6297 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6299         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6300         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6301         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6302         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6303         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6304         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6306 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6308         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6309         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6310         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6311         SYSCALL_LL64_PRW.
6312         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6313         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6314         __ASSUME_PRW_DUMMY_ARG.
6315         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6316         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6317         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6318         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6319         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6320         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6322 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6324         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6326 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6328         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6329         "C++", to override a potential extern "C" directive around the
6330         header file inclusion.
6332 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6334         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6336 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6338         * sysdeps/powerpc/fpu/fenv_private.h:
6339         (_FPU_MASK_ALL): Rename to...
6340         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6341         XE FPSCR bits.
6343         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6345         (_FPU_MASK_ROUNDING): Rename to...
6346         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6347         NI bits.
6349         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6350         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6351         bits and rounding bits.
6353         (__libc_feholdbits_ppc): New inline function to mask, set,
6354         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6355         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6356         (libc_feholdexcept_setround_ppc): Likewise.
6358         (__libc_femergeenv_ppc): New function to dynamically mask both
6359         old and new FP environments and merge.
6360         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6361         (libc_feresetround_ppc): Likewise.
6362         (libc_feupdateenv_test_ppc): Likewise.
6363         (libc_feupdateenv_ppc): Likewise.
6365         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6366         of ISA RN bits, and update macro names.
6367         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6368         effectively the same as the previously mentioned function.
6370         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6371         usage with fe_resetround_ppc.
6373         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6374         to be used.
6375         (libc_feholdexcept_setround_ctxf): Likewise.
6376         (libc_feholdexcept_setround_ctxl): Likewise.
6378 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6380         [BZ #20715]
6381         * math/math.h [__cplusplus] (iszero): Define as function template.
6382         * math/Makefile [CXX] (tests): Add test-math-iszero.
6383         (CFLAGS-test-math-iszero.cc): Set.
6384         * math/test-math-iszero.cc: New file.
6386 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6388         [BZ #20660]
6389         * sysdeps/arm/e_sqrt.c: New file.
6390         * sysdeps/arm/e_sqrtf.c: Likewise.
6392 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6394         [BZ #20718]
6395         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6396         not use floating-point comparisons to test sign.
6397         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6398         Likewise.
6400         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6401         (getpayload): New declaration.
6402         * math/Versions (getpayload): New libm symbol at version
6403         GLIBC_2.25.
6404         (getpayloadf): Likewise.
6405         (getpayloadl): Likewise.
6406         * math/Makefile (libm-calls): Add s_getpayloadF.
6407         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6408         (struct test_f_f_data): Add comment.
6409         (RUN_TEST_fp_f): New macro.
6410         (RUN_TEST_LOOP_fp_f): Likewise.
6411         (getpayload_test_data): New array.
6412         (getpayload_test): New function.
6413         (main): Call getpayload_test.
6414         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6415         descriptor.
6416         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6417         getpayloadf and getpayloadl.
6418         * manual/libm-err-tab.pl: Update comment on interfaces without
6419         ulps tabulated.
6420         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6421         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6422         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6423         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6424         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6425         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6426         * sysdeps/nacl/libm.abilist: Update.
6427         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6431         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6432         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6435         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6436         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6437         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6438         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6440         Likewise.
6441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6442         Likewise.
6443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6448         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6449         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6450         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6451         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6453         Likewise.
6454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6455         Likewise.
6456         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6457         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6458         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6460 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6462         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6463         tst-fallocate{64}.
6464         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6465         on syscall return.
6467 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6469         [BZ #20689]
6470         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6471         usable.
6473 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6475         * sysdeps/generic/nan-high-order-bit.h: New file.
6476         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6477         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6478         * sysdeps/hppa/math_private.h: Remove file.
6479         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6480         not define here.
6481         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6482         <nan-high-order-bit.h>.
6483         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6484         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6485         <nan-high-order-bit.h>.
6486         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6487         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6488         <nan-high-order-bit.h>.
6489         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6490         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6491         <nan-high-order-bit.h>.
6492         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6493         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6494         <nan-high-order-bit.h>.
6495         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6496         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6497         <nan-high-order-bit.h>.
6498         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6499         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6500         <nan-high-order-bit.h>.
6501         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6502         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6503         <nan-high-order-bit.h>.
6504         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6505         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6506         <nan-high-order-bit.h>.
6507         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6508         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6509         <nan-high-order-bit.h>.
6510         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6511         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6512         <nan-high-order-bit.h>.
6513         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6514         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6515         <nan-high-order-bit.h>.
6516         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6517         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6518         <nan-high-order-bit.h>.
6519         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6520         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6521         <nan-high-order-bit.h>.
6522         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6523         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6524         <nan-high-order-bit.h>.
6525         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6526         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6527         <nan-high-order-bit.h>.
6528         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6529         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6530         <nan-high-order-bit.h>.
6531         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6532         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6533         <nan-high-order-bit.h>.
6534         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6536 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6538         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6540 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6542         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6543         abort-instr.h.
6544         (EFAULT): Remove conditional define.
6545         (ENOSYS): Likewise.
6546         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6547         instead of conditional branch instructions.
6549 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6551         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6552         (totalordermag): New declaration.
6553         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6554         New macro.
6555         * math/Versions (totalordermag): New libm symbol at version
6556         GLIBC_2.25.
6557         (totalordermagf): Likewise.
6558         (totalordermagl): Likewise.
6559         * math/Makefile (libm-calls): Add s_totalordermagF.
6560         * math/libm-test.inc (totalordermag_test_data): New array.
6561         (totalordermag_test): New function.
6562         (main): Call totalordermag_test.
6563         * math/test-tgmath.c (NCALLS): Increase to 125.
6564         (F(compile_test)): Call totalordermag.
6565         (F(totalordermag)): New function.
6566         * manual/arith.texi (FP Comparison Functions): Document
6567         totalordermag, totalordermagf and totalordermagl.
6568         * manual/libm-err-tab.pl: Update comment on interfaces without
6569         ulps tabulated.
6570         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6571         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6572         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6573         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6574         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6575         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6576         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6577         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6578         totalordermag.
6579         (CFLAGS-nldbl-totalordermag.c): New variable.
6580         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6581         (do_test): Also test totalordermagl.
6582         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6583         Likewise.
6584         * sysdeps/nacl/libm.abilist: Update.
6585         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6586         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6587         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6588         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6589         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6590         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6591         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6592         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6593         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6594         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6595         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6596         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6598         Likewise.
6599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6600         Likewise.
6601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6602         Likewise.
6603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6604         Likewise.
6605         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6607         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6608         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6609         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6611         Likewise.
6612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6613         Likewise.
6614         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6615         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6616         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6618 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
6620         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6621         boolean.
6623 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
6625         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6626         raising FE_INVALID with feraisexcept in case where part of
6627         argument is infinite, subtract that part of argument from itself.
6628         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6629         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6630         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6632 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6634         * math/libm-test.inc (totalorder_test_data): Add more tests.
6636 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6638         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
6639         Undefine weak_alias and add a comment why mips64 require
6640         versioning.
6642 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6644         [BZ #20647]
6645         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
6646         maximum CPUID level is less than 2.
6648 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6650         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6651         (totalorder): New declaration.
6652         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6653         New macro.
6654         * math/Versions (totalorder): New libm symbol at version
6655         GLIBC_2.25.
6656         (totalorderf): Likewise.
6657         (totalorderl): Likewise.
6658         * math/Makefile (libm-calls): Add s_totalorderF.
6659         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
6660         string.
6661         * math/libm-test.inc (PAYLOAD_DIG): New macro.
6662         (qnan_value_pl): Likewise.
6663         (snan_value_pl): Likewise.
6664         (qnan_value): Define using qnan_value_pl.
6665         (snan_value): Define using snan_value_pl.
6666         (struct test_ff_i_data): Add comment about which tests use this
6667         structure.
6668         (RUN_TEST_ff_b): New macro.
6669         (RUN_TEST_LOOP_ff_b): Likewise.
6670         (totalorder_test_data): New array.
6671         (totalorder_test): New function.
6672         (main): Call totalorder_test.
6673         * math/test-tgmath.c (NCALLS): Increase to 122.
6674         (F(compile_test)): Call totalorder.
6675         (F(totalorder)): New function.
6676         * manual/arith.texi (FP Comparison Functions): Document
6677         totalorder, totalorderf and totalorderl.
6678         * manual/libm-err-tab.pl: Update comment on interfaces without
6679         ulps tabulated.
6680         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
6681         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
6682         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
6683         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
6684         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
6685         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
6686         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
6687         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6688         totalorder.
6689         (CFLAGS-nldbl-totalorder.c): New variable.
6690         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
6691         file.
6692         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6693         Add test-totalorderl-ldbl-128ibm.
6694         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
6695         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
6696         test-totalorderl-ldbl-96.
6697         * sysdeps/nacl/libm.abilist: Update.
6698         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6703         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6711         Likewise.
6712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6713         Likewise.
6714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6715         Likewise.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6717         Likewise.
6718         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6719         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6720         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6721         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6722         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6724         Likewise.
6725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6726         Likewise.
6727         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6728         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6729         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6731 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6733         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
6734         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
6735         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
6736         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
6737         remove ENOSYS implementation.
6738         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
6739         Consolidate all Linux implementations.
6741 2016-10-11  Florian Weimer  <fweimer@redhat.com>
6743         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
6744         * resolv/herror.c (herror): Cast away const-ness.
6745         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
6746         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
6748 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
6750         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
6751         instead of M_NAN + M_NAN.
6752         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6754 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6756         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
6757         unused variable 'p'.
6759 2016-10-09  Alan Modra  <amodra@gmail.com>
6760             Andreas Schwab  <schwab@linux-m68k.org>
6762         [BZ #20554]
6763         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
6764         [PIC && !SHARED]: Set up PIC register for PLT call.
6766 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
6768         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
6769         conditional on value of [__FLT_EVAL_METHOD__].
6770         * math/test-iseqsig-excess-precision.c: New file.
6771         * math/Makefile (tests): Add test-iseqsig-excess-precision.
6773 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6775         * math/s_iseqsig_template.c: Include math-private.h.
6777         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
6778         * posix/tst-posix_fadvise.c: New file.
6779         * posix/tst-posix_fadvise64.c: Likewise.
6780         * posix/tst-posix_fadvise-common.c: Likewise.
6781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6782         (__ASSUME_FADVISE64_64_6ARG): Define.
6783         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6784         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
6785         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6786         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
6787         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
6788         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
6789         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6790         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6791         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
6792         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
6793         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
6794         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
6795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
6796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
6797         Likewise.
6798         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
6799         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
6800         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
6801         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6802         Alias to __posix_fadvise64_l32.
6803         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
6804         Add compat definition to posix_fadvise64.
6805         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6806         Add versioned definition to posix_fadvise64.
6807         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
6808         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
6809         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
6810         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
6811         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
6813         * io/Makefile (tests): Add tst-posix_fallocate and
6814         tst-posix_fallocate64.
6815         * io/tst-posix_fallocate-common.c: New file.
6816         * io/tst-posix_fallocate.c: Likewise.
6817         * io/tst-posix_fallocate64.c: Likewise.
6818         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
6819         file.
6820         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
6821         Likewise.
6822         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
6823         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
6826         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
6827         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
6828         SYSCALL_LL to pass both offset and len arguments.
6829         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
6832         __libc_pwrite64 alias used by posix_fallocate64.
6834         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6835         tst-fallocate64.
6836         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6837         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6838         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6839         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6840         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6841         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6842         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6843         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6844         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6845         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6846         macro on offset argument.
6847         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6848         SYSCALL_LL64 on offset argument.
6850         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6851         tst-fallocate64.
6852         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6853         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6854         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6855         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6856         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6857         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6858         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6859         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6860         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6861         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6862         macro on offset argument.
6863         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6864         SYSCALL_LL64 on offset argument.
6865         * test-skeleton.c (FAIL_RET): Add macro.
6866         (FAIL_EXIT): Likewise.
6867         (FAIL_EXIT1): Likewise.
6868         (_FAIL): Likewise.
6870 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6872         [BZ #20629]
6873         resolv: Remove RES_USEBSTRING and its implementation.
6874         * resolv/resolv.h (RES_USEBSTRING): Remove.
6875         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
6876         (digitvalue, encode_bitstring, decode_bitstring): Remove.
6877         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
6878         (labellen): Remove extended label types support.
6879         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
6880         * resolv/res_init.c (res_setoptions): Likewise.
6881         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6883 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6885         resolv: Remove RES_NOIP6DOTINT and its implementation.
6886         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
6887         (RES_NOIP6DOTINT): Remove.
6888         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
6889         handling.
6890         * resolv/res_debug.c (p_option): Likewise.
6891         * resolv/res_init.c (res_setoptions): Likewise.
6892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
6894 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6896         resolv: Deprecate unimplemented flags.
6897         * misc/sys/cdefs.h (__glibc_macro_warning1)
6898         (__glibc_macro_warning): Define.
6899         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
6900         (RES_KEEPTSIG): Mark as deprecated.
6901         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
6902         RES_NOCHECKNAME, RES_KEEPTSIG.
6903         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
6905 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6907         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
6908         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
6909         Use strong_alias to create symbols for glibc verison 2.19.
6911 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6913         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
6915 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6917         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
6919 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6921         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
6923 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6925         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6926         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
6927         in header for using it as type for ifunc function because __GI_* symbols
6928         for ppc32 do not target the ifunc symbols.
6929         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6931 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6933         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
6934         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
6935         libc_ifunc_hidden_def.
6936         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
6937         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
6938         Redirect ifunced function in header for using it as type of ifunc'ed
6939         function. Redefine libc_hidden_def to use fallback non ifunc'ed
6940         function for __GI_* symbol.
6941         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
6942         * include/libc-symbols.h
6943         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
6945 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6947         [BZ #20478]
6948         * sysdeps/s390/multiarch/ifunc-resolve.h
6949         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
6950         to create ifunc symbols.
6951         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
6952         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
6953         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
6954         for using it as type for ifunc function.
6955         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6956         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6957         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6958         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6959         * sysdeps/s390/multiarch/strcat.c: Likewise.
6960         * sysdeps/s390/multiarch/strchr.c: Likewise.
6961         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6962         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6963         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6964         * sysdeps/s390/multiarch/strlen.c: Likewise.
6965         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6966         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6967         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6968         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6969         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6970         * sysdeps/s390/multiarch/strspn.c: Likewise.
6971         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6972         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6973         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6974         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6975         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6976         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6977         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6978         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
6979         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
6980         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6981         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
6982         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
6984 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6986         * include/libc-symbols.h (__ifunc_resolver):
6987         New macro is used by __ifunc* macros.
6988         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
6989         depending on HAVE_GCC_IFUNC.
6990         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
6991         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
6992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6993         Redirect ifunced function in header for using as type for ifunc function.
6994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
6995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
6996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
6997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
6998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7000         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7001         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7003         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7004         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7005         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7007         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7013         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7014         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7015         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7016         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7017         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7018         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7019         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7020         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7021         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7022         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7023         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7024         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7025         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7026         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7028         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7029         instead of libc_ifunc() macro.
7030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7031         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7033 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7035         * config.h.in (HAVE_GCC_IFUNC): New undef.
7036         * configure.ac: Add check if gcc supports attribute ifunc feature.
7037         * configure: Regenerated.
7038         * manual/install.texi: Add recommendation for gcc with
7039         indirect-function support.
7040         * INSTALL: Regenerated.
7042 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7044         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7045         macro.
7046         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7047         (__iseqsig): New declaration.
7048         * math/s_iseqsig_template.c: New file.
7049         * math/Versions (__iseqsigf): New libm symbol at version
7050         GLIBC_2.25.
7051         (__iseqsig): Likewise.
7052         (__iseqsigl): Likewise.
7053         * math/libm-test.inc (iseqsig_test_data): New array.
7054         (iseqsig_test): New function.
7055         (main): Call iseqsig_test.
7056         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7057         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7058         * manual/libm-err-tab.pl: Update comment on interfaces without
7059         ulps tabulated.
7060         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7061         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7062         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7063         * sysdeps/nacl/libm.abilist: Update.
7064         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7070         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7077         Likewise.
7078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7079         Likewise.
7080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7081         Likewise.
7082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7083         Likewise.
7084         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7085         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7086         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7088         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7090         Likewise.
7091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7092         Likewise.
7093         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7094         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7095         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7097 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7099         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7100         do_sincos_2, sloww, sloww1): Update comments.
7102         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7103         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7105         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7106         K boolean and rename it.
7107         (__sin): Adjust.
7108         (__cos): Adjust.
7110 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7111             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7113         * manual/nss.texi: Fix typos in the manual.
7115 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7117         * manual/contrib.texi: Fix typos in the manual.
7119         * manual/maint.texi: Fix typos in the manual.
7121         * manual/install.texi: Fix typos in the manual.
7122         * INSTALL: Regenerated.
7124         * manual/lang.texi: Fix typos in the manual.
7126         * manual/probes.texi: Fix typos in the manual.
7128         * manual/threads.texi: Fix typos in the manual.
7130         * manual/debug.texi: Fix typos in the manual.
7132         * manual/crypt.texi: Fix typos in the manual.
7134         * manual/conf.texi: Fix typos in the manual.
7136         * manual/sysinfo.texi: Fix typos in the manual.
7138         * manual/users.texi: Fix typos in the manual.
7140         * manual/job.texi: Fix typos in the manual.
7142         * manual/process.texi: Fix typos in the manual.
7144         * manual/argp.texi: Fix typos in the manual.
7145         * manual/getopt.texi: Likewise.
7146         * manual/startup.texi: Likewise.
7148         * manual/signal.texi: Fix typos in the manual.
7150         * manual/setjmp.texi: Fix typos in the manual.
7152         * manual/resource.texi: Fix typos in the manual.
7154         * manual/time.texi: Fix typos in the manual.
7156         * manual/arith.texi: Fix typos in the manual.
7158         * manual/math.texi: Fix typos in the manual.
7160         * manual/syslog.texi: Fix typos in the manual.
7162         * manual/terminal.texi: Fix typos in the manual.
7164         * manual/socket.texi: Fix typos in the manual.
7166         * manual/filesys.texi: Fix typos in the manual.
7168         * manual/llio.texi: Fix typos in the manual.
7170         * manual/stdio.text: Fix typos in the manual.
7172 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7174         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7175         instead of K1.
7177         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7178         SHIFT_QUADRANT and make it bool.
7179         (do_sincos_2): Likewise.
7180         (sloww): Likewise.
7181         (sloww1): Likewise.
7182         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7183         (__cos): Likewise.
7185 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7187         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7189 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7191         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7192         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7193         0x7fffffffL].
7194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7196 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7198         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7199         inline by __inline__.
7200         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7201         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7202         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7203         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7204         sigset_t from signal.h.
7205         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7206         which is already required.
7208 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7210         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7212 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7214         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7215         (struct tcp_repair_window): New type.
7217 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7219         * libio/tst-memstream3.c: Include string.h.
7221 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7223         [BZ #18241]
7224         [BZ #20181]
7225         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7226         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7227         write position is at the end the buffer.
7228         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7229         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7230         (_IO_str_seekoff): Set correct offset from negative displacement and
7231         set EINVAL for invalid ones.
7232         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7233         buffer length.
7234         (_IO_wstr_switch_to_get_mode): New function.
7235         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7236         set EINVAL for invalid ones.
7237         * libio/tst-memstream3.c: New file.
7238         * libio/tst-wmemstream3.c: Likewise.
7239         * manual/examples/memstrm.c: Remove warning when priting size_t.
7241 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7243         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7244         macro to use __builtin_fma.
7245         * sysdeps/x86_64/fpu/dla.h: Remove file.
7247         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7248         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7249         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7251 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7253         [BZ #20292]
7254         * elf/Makefile (routines): Add dl-addr-obj.
7255         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7256         tst-_dl_addr_inside_object.
7257         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7258         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7259         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7260         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7261         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7262         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7263         * elf/dl-open.c: Likewise.
7264         * elf/dl-addr-obj.c: New file.
7265         * elf/tst-_dl_addr_inside_object.c: New file.
7267 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7269         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7270         <bits/iscanonical.h>.
7271         * bits/iscanonical.h: New file.
7272         * math/s_iscanonicall.c: Likewise.
7273         * math/Versions (__iscanonicall): New libm symbol at version
7274         GLIBC_2.25.
7275         * math/libm-test.inc (iscanonical_test_data): New array.
7276         (iscanonical_test): New function.
7277         (main): Call iscanonical_test.
7278         * math/Makefile (headers): Add bits/iscanonical.h.
7279         (type-ldouble-routines): Add s_iscanonicall.
7280         * manual/arith.texi (Floating Point Classes): Document
7281         iscanonical.
7282         * manual/libm-err-tab.pl: Update comment on interfaces without
7283         ulps tabulated.
7284         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7285         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7286         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7287         Likewise.
7288         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7289         test-iscanonical-ldbl-128ibm.
7290         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7291         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7292         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7293         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7294         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7295         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7296         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7298         Likewise.
7299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7300         Likewise.
7301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7302         Likewise.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7304         Likewise.
7305         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7306         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7308 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7310         * string/bits/string3.h: Remove C++ style comments.
7312 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7314         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7315         instead of ternary condition.
7316         (do_sincos_2): Likewise.
7317         (__sin): Likewise.
7318         (__cos): Likewise.
7319         (slow): Likewise.
7320         (sloww): Likewise.
7321         (sloww1): Likewise.
7322         (bsloww): Likewise.
7323         (bsloww1): Likewise.
7325         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7326         instead of ternary condition.
7327         (do_sin_slow): Likewise.
7328         (do_sincos_1): Likewise.
7329         (do_sincos_2): Likewise.
7330         (__cos): Likewise.
7331         (sloww): Likewise.
7332         (sloww1): Likewise.
7333         (sloww2): Likewise.
7334         (bsloww): Likewise.
7335         (bsloww1): Likewise.
7336         (bsloww2): Likewise.
7338         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7339         check from here...
7340         (slow2): ... and here...
7341         (__sin): ... to here.
7343 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7345         * math/math.h
7346         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7347         Cast argument to its own type.
7348         * math/test-iszero-excess-precision.c: New file.
7349         * math/Makefile (tests): Add test-iszero-excess-precision.
7350         (CFLAGS-test-iszero-excess-precision.c): New variable.
7352 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7354         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7355         field, add err field.
7356         (__spawni_child): Report error through err member instead of pipe.
7357         (__spawnix): Likewise.
7359 2016-09-28  Zack Weinberg  <zackw@panix.com>
7361         * scripts/check-installed-headers.sh: Generalize treatment of
7362         sys/elf.h to all target architectures.
7364         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7365         deleted typedef ucontext_t.
7367 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7369         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7370         (__INTERNAL_SYSCALL1): Likewise.
7371         (__INTERNAL_SYSCALL2): Likewise.
7372         (__INTERNAL_SYSCALL3): Likewise.
7373         (__INTERNAL_SYSCALL4): Likewise.
7374         (__INTERNAL_SYSCALL5): Likewise.
7375         (__INTERNAL_SYSCALL6): Likewise.
7376         (__INTERNAL_SYSCALL7): Likewise.
7377         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7378         (__INTERNAL_SYSCALL_NARGS): Likewise.
7379         (__INTERNAL_SYSCALL_DISP): Likewise.
7380         (INTERNAL_SYSCALL_CALL): Likewise.
7381         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7382         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7383         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7384         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7385         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7386         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7387         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7388         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7389         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7390         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7391         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7392         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7393         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7395 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7397         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7398         macro.
7399         * math/libm-test.inc (iszero_test_data): New array.
7400         (iszero_test): New function.
7401         (main): Call iszero_test.
7402         * manual/arith.texi (Floating Point Classes): Document iszero.
7403         * manual/libm-err-tab.pl: Update comment on interfaces without
7404         ulps tabulated.
7406 2016-09-23  Zack Weinberg  <zackw@panix.com>
7408         * scripts/check-installed-headers.sh: New script.
7409         * Rules: In each directory that defines header files to be installed,
7410         run check-installed-headers.sh on them as a special test.
7411         * Makefile: Likewise for the headers installed at top level.
7413         * include/aliases.h, include/alloca.h, include/argz.h
7414         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7415         * include/elf.h, include/envz.h, include/err.h
7416         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7417         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7418         * include/link.h, include/malloc.h, include/mcheck.h
7419         * include/mntent.h, include/netinet/ether.h
7420         * include/nss.h, include/obstack.h, include/printf.h
7421         * include/pty.h, include/resolv.h, include/rpc/auth.h
7422         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7423         * include/rpc/clnt.h, include/rpc/des_crypt.h
7424         * include/rpc/key_prot.h, include/rpc/netdb.h
7425         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7426         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7427         * include/rpc/rpc_msg.h, include/rpc/svc.h
7428         * include/rpc/svc_auth.h, include/rpc/xdr.h
7429         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7430         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7431         * include/rpcsvc/ypupd.h, include/shadow.h
7432         * include/stdio_ext.h, include/sys/epoll.h
7433         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7434         * include/sys/prctl.h, include/sys/profil.h
7435         * include/sys/statfs.h, include/sys/sysctl.h
7436         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7437         * sysdeps/arm/nacl/include/bits/setjmp.h
7438         * sysdeps/mips/include/sys/asm.h
7439         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7440         * sysdeps/unix/sysv/linux/include/sys/timex.h
7441         * sysdeps/x86/fpu/include/bits/fenv.h:
7442         Add #ifndef _ISOMAC guard around internal declarations.
7443         Add multiple-inclusion guard if not already present.
7445 2016-09-23  Zack Weinberg  <zackw@panix.com>
7447         * sysdeps/generic/sys/ucontext.h
7448         * sysdeps/arm/sys/ucontext.h
7449         * sysdeps/i386/sys/ucontext.h
7450         * sysdeps/m68k/sys/ucontext.h
7451         * sysdeps/mips/sys/ucontext.h
7452         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7453         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7454         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7455         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7456         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7457         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7458         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7459         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7460         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7461         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7462         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7463         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7464         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7465         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7466         Include both bits/sigcontext.h and bits/sigstack.h.
7467         Fix grammar error in comment, if present.
7469         * bits/sigstack.h
7470         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7471         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7472         * sysdeps/unix/sysv/linux/bits/sigstack.h
7473         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7474         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7475         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7476         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7477         * bits/sigcontext.h
7478         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7479         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7480         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7481         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7482         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7483         as well as signal.h, if this was not already allowed.  Request
7484         definition of size_t if necessary.  Minimize semantically-null
7485         differences across files.
7487 2016-09-23  Zack Weinberg  <zackw@panix.com>
7489         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7490         Remove all logic conditional on __need macros.  Move all the
7491         conditionally defined types to their own headers...
7492         * time/bits/types/clock_t.h: Define clock_t here.
7493         * time/bits/types/clockid_t.h: Define clockid_t here.
7494         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7495         * time/bits/types/struct_timespec.h: Define struct timespec here.
7496         * time/bits/types/struct_timeval.h: Define struct timeval here.
7497         * time/bits/types/struct_tm.h: Define struct tm here.
7498         * time/bits/types/time_t.h: Define time_t here.
7499         * time/bits/types/timer_t.h: Define timer_t here.
7500         * time/Makefile: Install the new headers.
7502         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7503         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7504         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7505         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7506         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7507         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7508         * sysdeps/unix/sysv/linux/bits/resource.h
7509         * sysdeps/unix/sysv/linux/bits/timex.h
7510         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7511         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7512         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7513         * sysdeps/unix/sysv/linux/sys/acct.h
7514         * sysdeps/unix/sysv/linux/sys/timerfd.h
7515         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7516         * time/sys/time.h, time/sys/timeb.h
7517         Use the new bits/types headers.
7519         * include/time.h: Remove __need logic.
7520         * include/bits/time.h
7521         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7522         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7523         * include/bits/types/struct_itimerspec.h
7524         * include/bits/types/struct_timespec.h
7525         * include/bits/types/struct_timeval.h
7526         * include/bits/types/struct_tm.h:
7527         New wrapper headers.
7529 2016-09-23  Zack Weinberg  <zackw@panix.com>
7531         * sysdeps/mach/hurd/net/if_ppp.h
7532         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7533         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7534         if __USE_MISC is defined, to ensure struct ifreq is declared.
7536         * inet/netinet/ether.h: Condition all function prototypes
7537         on __USE_MISC, to ensure struct ether_addr is declared.
7539         * socket/bits/types/struct_osockaddr.h: New header.
7540         * include/bits/types/struct_osockaddr.h: New wrapper.
7541         * socket/Makefile: Install the new header.
7542         * socket/sys/socket.h, inet/protocols/talkd.h:
7543         Refer to bits/types/struct_osockaddr.h for the definition of
7544         struct osockaddr.
7546 2016-09-23  Zack Weinberg  <zackw@panix.com>
7548         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7549         * inet/protocols/routed.h, inet/protocols/talkd.h
7550         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7551         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7552         * sysdeps/generic/netinet/if_ether.h
7553         * sysdeps/generic/netinet/in_systm.h
7554         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7555         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7556         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7557         * sysdeps/mach/hurd/net/if_arp.h
7558         * sysdeps/mach/hurd/net/if_ppp.h
7559         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7560         * sysdeps/unix/sysv/linux/bits/in.h
7561         * sysdeps/unix/sysv/linux/net/ethernet.h
7562         * sysdeps/unix/sysv/linux/net/if_arp.h
7563         * sysdeps/unix/sysv/linux/net/if_ppp.h
7564         * sysdeps/unix/sysv/linux/net/if_shaper.h
7565         * sysdeps/unix/sysv/linux/net/route.h
7566         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7567         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7568         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7569         * sysdeps/unix/sysv/linux/netipx/ipx.h
7570         * sysdeps/unix/sysv/linux/sys/acct.h
7571         * include/arpa/nameser.h, include/resolv.h:
7572         Change all uses of u_char to unsigned char,
7573         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7574         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7575         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7576         and u_int64_t and u_quad_t to uint64_t.
7578         * mach/sys/reboot.h: Remove two casts of integer literals
7579         to the types they already have.
7581         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7582         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7583         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7584         from referring to 'unsigned char' to 'uint8_t' for consistency with
7585         the macro definition below.
7587         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7588         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7589         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7590         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7591         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7592         * sysdeps/unix/sysv/linux/sys/acct.h
7593         * include/arpa/nameser.h, include/resolv.h:
7594         Fix indentation disrupted by mechanical edits.
7596         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7597         * sysdeps/generic/netinet/in_systm.h
7598         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7599         * sysdeps/gnu/netinet/udp.h
7600         * sysdeps/unix/sysv/linux/net/ethernet.h
7601         * sysdeps/unix/sysv/linux/net/if_arp.h
7602         * sysdeps/unix/sysv/linux/net/if_ppp.h
7603         * sysdeps/unix/sysv/linux/net/if_shaper.h
7604         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7605         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7606         * sysdeps/unix/sysv/linux/netipx/ipx.h
7607         * sysdeps/unix/sysv/linux/sys/acct.h
7608         Include stdint.h for uintNN_t definitions.
7609         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7611 2016-09-23  Zack Weinberg  <zackw@panix.com>
7613         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7614         * sysdeps/unix/sysv/linux/netrose/rose.h:
7615         Include sys/socket.h and netax25/ax25.h.
7617         * inet/netinet/icmp6.h, inet/netinet/ip6.h
7618         * resolv/arpa/nameser_compat.h:
7619         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7621         * sysdeps/unix/sysv/linux/sys/quota.h:
7622         Use __caddr_t instead of caddr_t.
7623         * sysdeps/unix/sysv/linux/sys/timerfd.h:
7624         Use __clockid_t instead of clockid_t.
7626         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7628         * argp/argp.h: Check whether _LIBC is defined before expanding it.
7629         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7630         expanding it.
7632         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7633         Define __glibc_c99_flexarr_available to 1 when the compiler
7634         supports C99-compatible flexible array members, 0 otherwise.
7635         * sysdeps/unix/sysv/linux/bits/socket.h
7636         * sysdeps/mach/hurd/bits/socket.h
7637         * bits/socket.h: Use __glibc_c99_flexarr_available in
7638         definitions of struct cmsghdr and CMSG_DATA.
7640 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7642         * manual/nss.texi (NSS Modules Interface): Adjust function return
7643         type to enum nss_status.  Document errnop argument.  Clarify
7644         h_errnop semantics.  Fix cross-reference formatting.
7645         (NSS Module Function Internals): Mention that *errnop needs to be
7646         set on failure, but not to zero.
7648 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7650         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
7651         (get_random_name): New functions.
7652         (check_wrapper_flags_mode): Use linkat to give the new file a name
7653         determined by get_random_name.
7654         (do_test): Add calls to test open64 and openat64.
7656 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7658         * test-skeleton.c: Remove #include <stdarg.h>.
7660 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
7662         [BZ #19826]
7663         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
7664         initialization of static TLS entries.
7665         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
7666         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7668 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7670         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
7671         _hurd_malloc_fork_prepare.
7672         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
7673         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
7674         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
7675         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
7676         (_hurd_fork_child_hook): Drop malloc_fork_child.
7677         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
7678         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
7679         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
7680         after locking locks (notably hurd_dtable_lock). Call
7681         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
7682         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
7683         __malloc_fork_unlock_child.
7684         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
7686 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
7688         * soft-fp/extendhftf2.c: New.
7689         * soft-fp/fixhfti.c: Likewise.
7690         * soft-fp/fixunshfti.c: Likewise.
7691         * soft-fp/floattihf.c: Likewise.
7692         * soft-fp/floatuntihf.c: Likewise.
7693         * soft-fp/half.h: Likewise.
7694         * soft-fp/trunctfhf2.c: Likewise.
7696 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
7698         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
7699         macro.
7700         * math/libm-test.inc (issubnormal_test_data): New array.
7701         (issubnormal_test): New function.
7702         * manual/arith.texi (Floating Point Classes): Document
7703         issubnormal.
7704         * manual/libm-err-tab.pl: Update comment on interfaces without
7705         ulps tabulated.
7707         * sysdeps/generic/stdint.h: Define
7708         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7709         <bits/libc-header-start.h> instead of including <features.h>.
7710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
7711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
7712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
7713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
7714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
7715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
7716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
7717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
7718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
7719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
7720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
7721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
7722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
7723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
7724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
7725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
7726         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
7727         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
7728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
7729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
7730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
7731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
7732         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
7733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
7734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
7735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
7736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
7737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
7738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
7739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
7740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
7741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
7742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
7743         * manual/arith.texi (Integers): Document these macros for types
7744         specified by width properties.
7745         * manual/lang.texi (Width of Type): Document these macros for
7746         other standard typedefs.
7747         * stdlib/tst-width-stdint.c: New file.
7748         * stdlib/Makefile (tests): Add tst-width-stdint.
7750 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7752         [BZ #20016]
7753         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
7754         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
7755         Move ...
7756         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
7757         ... here, as compatibility symbols in a new file.
7758         * resolv/Makefile (libresolv-routines): Add compat-hooks.
7759         * resolv/res_init.c (__res_vinit): Adjust member names.
7760         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
7761         * resolv/resolv.h (res_sendhookact, res_send_qhook)
7762         (res_send_rhook): Remove.
7763         (struct __res_state): Rename qhook, rhook members.
7765 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7767         malloc: Use __libc_lock wrappers.
7768         * malloc/arena.c (list_lock, free_list_lock): Define using
7769         __libc_lock_define_initialized.
7770         (arena_lock): Adjust formatting.
7771         * malloc/malloc.c (struct malloc_state): Define mutex using
7772         __libc_lock_define.
7773         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
7774         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
7775         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
7776         (mutex_unlock, mutex_trylock): Remove.
7777         (__pthread_initialize): Remove unused macro.
7778         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
7779         (mutex_unlock, mutex_trylock): Remove.
7781 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7783         [BZ #20592]
7784         Remove RR type classification macros.
7785         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
7786         (ns_t_udp_p, ns_t_xfr_p): Remove.
7788 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7790         Remove misleading version information.
7791         * resolv/arpa/nameser.h (__NAMESER): Remove.
7792         * resolv/arpa/nameser_compat.h (__BIND): Remove.
7794 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7796         Remove the always-defined BIND_4_COMPAT macro.
7797         * resolv/arpa/nameser.h: Unconditionally include
7798         <arpa/nameser_compat.h>.
7799         (BIND_4_COMPAT): Remove.
7800         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
7802 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7804         [BZ #20591]
7805         Remove obsolete DNSSEC support.
7806         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
7807         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
7808         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
7809         (ns_verify_tcp, ns_verify_tcp_init): Remove.
7810         (ns_cert_types): Add comment.
7811         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
7812         separately.
7813         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
7814         (dst_s_dns_key_id): Remove.
7815         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
7816         variables.
7818 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7820         [BZ #20524]
7821         * manual/string.texi (String/Array Comparison): Clarify the
7822         strverscmp behavior.
7824 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7826         * test-skeleton.c (xasprintf): Add function.
7827         * io/tst-open-tmpfile.c: New test.
7828         * io/Makefile (tests): Add it.
7830 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7832         Avoid running $(CXX) during build to obtain header file paths.
7833         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
7834         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
7835         * Makerules (cstdlib, cmath): Remove variables.  Use
7836         $(c++-cstdlib-header), $(c++-cmath-header) instead.
7837         * configure: Regenerate.
7839 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7841         * Makeconfig (all-object-suffixes): Include .op only if
7842         $(build-profile).
7844 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7846         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
7847         conditionals.  Do not define PATH_MAX.
7849 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7851         * posix/Makefile (tests): Add tst-spawn3.
7852         * posix/tst-spawn3.c: New file.
7853         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
7854         if it is already opened for open action.
7856         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
7857         all signals when executing the clone vfork child.
7858         (SIGALL_SET): Remove macro.
7860         * nptl/Makefile (tests): Add tst-exec5.
7861         * nptl/tst-exec5.c: New file.
7862         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
7863         asynchronous cancellation.
7865 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7867         * hurd/exc2signal.c: #include <hurd/signal.h>
7868         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
7869         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
7870         accordingly.
7871         * mach/mach_error.c (mach_error): Fix old-style function definition.
7872         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
7874 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7876         * math/Makefile (libm-calls): Remove s_nanF.
7877         (gen-libm-calls): Add s_nanF.
7879         * math/s_nan.c: Refactor into ...
7880         * math/s_nan_template.c: New file.
7882         * math/s_nanf.c: Removed.
7883         * math/s_nanl.c: Removed.
7884         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
7885         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
7887         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7888         (LDOUBLE_nanl_libm_version): New macro.
7890         * sysdeps/generic/math-type-macros-double.h:
7891         (M_STRTO_NAN): New macro.
7892         * sysdeps/generic/math-type-macros-float.h: Likewise.
7893         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7895         * sysdeps/generic/math-type-macros.h: Document
7896         M_STRTO_NAN.
7898 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7900         * math/s_nanf.c: Remove __nanf undef.
7901         * math/s_nan.c: Remove __nan undef.
7902         * math/s_nanl.c: Remove __nanl undef.
7904         * sysdeps/generic/math_private.h (__nan): Remove macro
7905         override.
7906         (__nanf): Likewise.
7907         (__nanl): Likewise.
7909 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7911         * math/Makefile (gen-all-calls): New variable.
7912         (generated): Replace gen-libm-calls with gen-all-calls.
7913         (gen-libm-templates.stmp): Likewise.  Also, ensure
7914         the output directory exists or is created and add
7915         dependency on the Makefile.
7916         (calls): Move s_ldexpF into gen-calls.
7917         (gen-calls): New variable.
7919         * math/s_ldexpf.c: Removed.
7920         * math/s_ldexpl.c: Removed.
7921         * math/s_ldexp.c: Refactored into ...
7922         * math/s_ldexp_template.c: New file.
7924         * sysdeps/generic/math-type-macros-double.h: Remove
7925         redundant fall-through definition of declare_mgen_alias.
7926         (declare_mgen_alias_2): New macro.
7928         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
7929         New macro for function aliased to two exported symbols.
7931         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
7932         new template file.
7933         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7935 2016-09-20  Florian Weimer  <fweimer@redhat.com>
7937         * Makeconfig (all-object-suffixes): Remove .og.
7938         * Makerules (elide-routines.og): Remove.
7939         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
7940         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
7941         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
7943 2016-09-20  Florian Weimer  <fweimer@redhat.com>
7945         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
7946         .os objects.
7948 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7950         [BZ #20615]
7951         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
7952         fpu directory by non-fpu.
7953         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
7954         on non-fpu directory from a fpu directory.
7956 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
7958         * include/limits.h: Define
7959         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7960         <bits/libc-header-start.h> instead of including <features.h>.
7961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
7962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
7963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
7964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
7965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
7966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
7967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
7968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
7969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
7971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
7972         * manual/lang.texi (Width of Type): Document these macros.
7973         * stdlib/tst-width.c: New file.
7974         * stdlib/Makefile (tests): Add tst-width.
7976 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7978         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
7979         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
7981 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7983         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
7984         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
7985         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
7987 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7989         [BZ #18243]
7990         * rt/Makefile (test): Add tst-shm-cancel.
7991         * rt/tst-shm-cancel.c: New file.
7992         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
7994         [BZ #18243]
7995         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
7996         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
7997         definition.
7998         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
7999         uncontended case.
8000         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8001         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8002         (tf): Fix check for uncontended case.
8003         (do_test): Likewise.
8004         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8005         (tf): Fix check for uncontended case.
8006         (do_test): Likewise.
8007         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8008         (tf): Fix check for uncontended case.
8009         (do_test): Likewise.
8010         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8011         (tf): Fix check for uncontended case.
8012         (do_test): Likewise.
8014         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8015         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8017         [BZ #15765]
8018         * nptl/Makefile (tests): Add tst-sem16.
8019         * nptl/tst-sem16.c: New file.
8020         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8022         * nptl/sem_open.c (sem_open): Init pad value to 0.
8023         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8024         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8026 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8028         [BZ #20611]
8029         * inet/Makefile (routines): Add inet6_scopeid_pton.
8030         (tests): Add tst-inet6_scopeid_pton.
8031         * inet/inet6_scopeid_pton.c: New file.
8032         * inet/net-internal.h: Likewise.
8033         * inet/tst-inet6_scopeid_pton.c: New test.
8034         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8035         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8038 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8040         Remove support for compiling wrappers with PTW.
8041         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8042         * nptl/Makefile (pthread-compat-wrappers): Define.
8043         (libpthread-routines): Use pthread-compat-wrappers.
8044         * sysdeps/unix/sysv/linux/alpha/Makefile
8045         (libpthread-routines, libpthread-shared-only-routines): Remove
8046         ptw- prefix.
8047         * sysdeps/s390/nptl/Makefile
8048         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8049         * sysdeps/ia64/nptl/Makefile
8050         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8051         * sysdeps/nacl/Makefile (libpthread-routines): Use
8052         pthread-compat-wrappers to filter the routines list instead of the
8053         ptw- prefix.
8055 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8057         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8058         with L() and remove explicit suffix, convert real literals
8059         which can be equivalentally substituted with integers, and
8060         transform -L(x) to L(-x).
8062         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8063         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8064         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8065         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8066         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8067         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8068         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8069         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8070         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8071         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8072         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8073         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8074         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8075         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8076         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8077         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8078         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8079         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8080         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8081         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8082         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8083         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8084         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8085         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8086         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8087         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8088         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8089         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8090         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8091         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8092         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8093         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8094         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8095         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8096         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8097         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8098         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8099         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8100         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8101         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8102         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8103         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8104         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8105         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8106         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8107         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8108         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8109         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8110         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8111         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8113 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8115         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8117 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8119         * malloc/Makefile (tests): Remove individual static test names
8120         and just add all of tests-static.
8122         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8124 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8126         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8127         file.
8129         * sysdeps/sparc/fpu/fegetmode.c: New file.
8130         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8132         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8133         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8135         * sysdeps/s390/fpu/fegetmode.c: New file.
8136         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8138         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8139         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8140         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8141         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8143         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8145         * sysdeps/mips/fpu/fegetmode.c: New file.
8146         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8148         * sysdeps/m68k/fpu/fegetmode.c: New file.
8149         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8151         * sysdeps/ia64/fpu/fegetmode.c: New file.
8152         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8154         * sysdeps/hppa/fpu/fegetmode.c: New file.
8155         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8157         * sysdeps/arm/fegetmode.c: New file.
8158         * sysdeps/arm/fesetmode.c: Likewise.
8160         * sysdeps/alpha/fpu/fegetmode.c: New file.
8161         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8163         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8164         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8166         * math/fegetmode.c: New file.
8167         * math/fesetmode.c: Likewise.
8168         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8169         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8170         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8171         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8172         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8174         declaration.
8175         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8176         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8177         typedef.
8178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8179         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8180         (femode_t): New typedef.
8181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8182         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8183         (femode_t): New typedef.
8184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8185         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8186         (femode_t): New typedef.
8187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8188         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8189         (femode_t): New typedef.
8190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8191         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8192         (femode_t): New typedef.
8193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8194         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8195         (femode_t): New typedef.
8196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8197         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8198         (femode_t): New typedef.
8199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8200         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8201         (femode_t): New typedef.
8202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8203         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8204         (femode_t): New typedef.
8205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8206         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8207         (femode_t): New typedef.
8208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8209         declaration.
8210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8211         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8212         (femode_t): New typedef.
8213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8214         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8215         (femode_t): New typedef.
8216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8217         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8218         (femode_t): New typedef.
8219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8220         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8221         (femode_t): New typedef.
8222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8223         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8224         (femode_t): New typedef.
8225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8226         * manual/arith.texi (FE_DFL_MODE): Document macro.
8227         (fegetmode): Document function.
8228         (fesetmode): Likewise.
8229         * math/Versions (fegetmode): New libm symbol at version
8230         GLIBC_2.25.
8231         (fesetmode): Likewise.
8232         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8233         (tests): Add test-femode and test-femode-traps.
8234         * math/test-femode-traps.c: New file.
8235         * math/test-femode.c: Likewise.
8236         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8237         alias for __fe_dfl_env.
8238         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8239         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8240         (__fe_dfl_mode): Likewise.
8241         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8242         version GLIBC_2.25.
8243         * sysdeps/nacl/libm.abilist: Update.
8244         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8254         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8255         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8257         Likewise.
8258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8259         Likewise.
8260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8261         Likewise.
8262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8263         Likewise.
8264         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8265         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8266         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8267         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8268         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8270         Likewise.
8271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8272         Likewise.
8273         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8274         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8275         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8277 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8279         [BZ #20495]
8280         [BZ #20508]
8281         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8282         processors, set Use_dl_runtime_resolve_slow and set
8283         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8284         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8285         New.
8286         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8287         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8288         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8289         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8290         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8291         if Use_dl_runtime_resolve_opt is set.  Use
8292         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8293         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8294         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8295         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8296         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8297         New.
8298         (_dl_runtime_resolve_opt): Likewise.
8299         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8300         defined.
8302 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8304         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8305         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8307 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8309         Convert malloc to __libc_lock.  Automated part, using this Perl
8310         s/// command:
8311           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8312             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8313         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8314         conversion.
8316 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8318         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8319         (linknamespace-symlists-tests): Likewise.
8320         (linknamespace-header-tests): Likewise.
8322 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8324         [BZ #19810]
8325         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8326         * elf/tst-noload.c: New test case.
8327         * elf/Makefile (tests): Add tst-noload.
8329 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8331         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8333         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8334         not any more.
8336         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8338 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8340         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8341         (do_cos_slow): Likewise.
8342         (do_sin): Likewise.
8343         (do_sin_slow): Likewise.
8344         (slow): Likewise.
8345         (slow1): Likewise.
8346         (slow2): Likewise.
8347         (sloww): Likewise.
8348         (sloww1): Likewise.
8349         (sloww2): Likewise.
8350         (bsloww): Likewise.
8351         (bsloww1): Likewise.
8352         (bsloww2): Likewise.
8353         (cslow2): Likewise.
8355         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8357         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8358         arguments.  Consolidate input partitioning from callers here.
8359         (do_cos_slow): Likewise.
8360         (do_sin): Likewise.
8361         (do_sin_slow): Likewise.
8362         (do_sincos_1): Remove the no longer necessary input partitioning.
8363         (do_sincos_2): Likewise.
8364         (__sin): Likewise.
8365         (__cos): Likewise.
8366         (slow1): Likewise.
8367         (slow2): Likewise.
8368         (sloww1): Likewise.
8369         (sloww2): Likewise.
8370         (bsloww1): Likewise.
8371         (bsloww2): Likewise.
8372         (cslow2): Likewise.
8374 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8376         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8377         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8378         outside of allocated array.
8380 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8382         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8383         instead of MB_CUR_MAX to avoid variable-length array.
8385 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8387         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8388         (type-double-routines): Add k_rem_pio2.
8389         (type-float-routines): Add k_rem_pio2f.
8391         * sysdeps/generic/math_private.h:
8392         (__kernel_rem_pio2l): Removed.
8394         * math/k_rem_pio2l.c: Removed.
8395         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8396         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8397         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8398         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8400 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8402         * math/Makefile (gen-libm-calls): Add s_fmin
8403         (libm-calls): Remove above.
8405         * math/s_fmin.c: Refactor into ...
8406         * math/s_fmin_template.c: New file.
8408         * math/s_fminf.c: Removed.
8409         * math/s_fminl.c: Removed.
8410         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8411         (LDOUBLE_fmin_libm_version): New macro.
8413         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8414         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8416 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8418         * math/Makefile: (gen-libm-calls): Add s_fmax.
8419         (libm-calls): Remove above.
8421         * math/s_fmax.c: Refactor into ...
8422         * math/s_fmax_template.c: New file.
8423         * math/s_fmaxf.c: Removed.
8424         * math/s_fmaxl.c: Removed.
8426         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8427         (LDOUBLE_fmaxl_libm_version): New macro.
8429         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8430         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8432         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8433         s_fmin.c to pick the aarch64 version of the file.
8434         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8435         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8437 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8439         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8440         (libm-calls): Remove above.
8442         * math/s_nextdown.c: Refactor into ...
8443         * math/s_nextdown_template.c: New file.
8444         * math/s_nextdownf.c: Removed.
8445         * math/s_nextdownl.c: Removed.
8447         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8449 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8451         * math/Makefile (gen-libm-calls): Add s_fdim.
8452         (libm-calls): Move to above.
8454         * math/s_fdim.c: Renamed and refactored into to ...
8455         * math/s_fdim_template.c: New file.
8456         * math/s_fdiml.c: Removed.
8457         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8458         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8460         * sysdeps/generic/math-type-macros-double.h:
8461         (declare_mgen_alias): Don't declare if already declared.
8462         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8463         Likewise.
8465         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8466         (declare_mgen_alias): Don't declare if already declared.
8467         (M_LIBM_NEED_COMPAT): Likewise.
8468         (declare_mgen_libm_compat): Likewise.
8469         (LDOUBLE_fdiml_libm_version): New macro.
8471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8472         Include math/s_fdim.c now that ldbl-opt version is not needed.
8473         (declare_mgen_alias): New macro to disable aliasing.
8475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8476         (declare_mgen_alias): Likewise.
8477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8478         (declare_mgen_alias): Likewise.
8479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8480         (declare_mgen_alias): Likewise.
8481         (M_LIBM_NEED_COMPAT): Likewise.
8483 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8485         [BZ #20525]
8486         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8487         Include <linux/quota.h>.
8488         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8489         and btodb.
8490         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8491         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8492         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8493         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8494         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8495         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8496         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8497         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8498         types.
8499         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8500         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8502 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8505         (gammal_positive): Fix spacing.
8506         (__ieee754_gammal_r): Likewise.
8508 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8510         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8511         (_Float128): Define as long double, always.
8512         (L): Apply long double type suffix, always.
8514         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8515         _Float128, excepting comments.
8517         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8518         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8519         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8520         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8522         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8524         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8525         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8526         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8527         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8528         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8529         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8530         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8531         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8532         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8533         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8534         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8535         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8536         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8537         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8538         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8539         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8540         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8541         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8542         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8543         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8544         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8545         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8546         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8547         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8548         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8549         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8550         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8551         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8552         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8553         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8554         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8555         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8556         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8557         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8558         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8559         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8560         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8561         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8562         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8563         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8564         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8565         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8566         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8567         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8568         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8569         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8570         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8571         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8572         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8573         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8574         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8575         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8576         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8577         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8578         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8579         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8580         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8581         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8582         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8583         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8584         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8586         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8587         _Float128, and include math_private.h.
8588         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8591         long double semantics.
8592         (_Float128): Likewise.
8593         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8594         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8595         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8596         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8598 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8600         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8601         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8602         * sysdeps/s390/configure: Regenerated.
8603         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8604         instruction for raising over-/underflow if z196 zarch is supported
8605         by default.
8606         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8608 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8610         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8611         it point to a dumb buffer for RPC to fill it.
8613 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8615         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8616         instead of if/else.
8617         (do_sin_slow): Likewise.
8618         (do_sincos_1): Use fabs instead of if/else.
8619         (do_sincos_2): Likewise.
8620         (__sin): Likewise.
8621         (__cos): Likewise.
8622         (slow2): Likewise.
8623         (sloww): Likewise.
8624         (sloww1): Likewise.  Drop argument M.
8625         (sloww2): Use fabs instead of if/else.
8626         (bsloww): Likewise.
8627         (bsloww1): Likewise.
8628         (bsloww2): Likewise.
8630         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8631         fall through comment.
8632         (do_sincos_1): Likewise.
8634         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8635         Consolidate switch cases 0 and 2.
8637 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8639         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
8640         (libm-calls): Remove the above.
8642         * math/s_cexp_template.c: Update using type-generic macros.
8643         * math/s_clog10_template.c: Likewise.
8644         * math/s_cpow_template.c: Likewise.
8645         * math/s_clog_template.c: Likewise.
8646         * math/s_cproj_template.c: Likewise.
8647         * math/s_csqrt_template.c: Likewise.
8649         * math/s_cexp.c: Removed.
8650         * math/s_cexpf.c: Removed.
8651         * math/s_cexpl.c: Removed.
8652         * math/s_clog10.c: Removed.
8653         * math/s_clog10f.c: Removed.
8654         * math/s_clog10l.c: Removed.
8655         * math/s_cpow.c: Removed.
8656         * math/s_cpowf.c: Removed.
8657         * math/s_cpowl.c: Removed.
8658         * math/s_clog.c: Removed.
8659         * math/s_clogf.c: Removed.
8660         * math/s_clogl.c: Removed.
8661         * math/s_cproj.c: Removed.
8662         * math/s_cprojf.c: Removed.
8663         * math/s_cprojl.c: Removed.
8664         * math/s_csqrt.c: Removed.
8665         * math/s_csqrtf.c: Removed.
8666         * math/s_csqrtl.c: Removed.
8668         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
8669         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
8670         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
8671         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
8672         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
8673         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
8675         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
8676         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
8677         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
8678         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
8679         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
8680         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
8681         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
8682         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
8683         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
8684         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
8685         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
8687         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
8688         version.
8690         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
8691         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
8692         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
8693         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
8695 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8697         * s_cexp_template.c: Copy of s_cexp.c.
8698         * s_clog_template.c: Copy of s_clog.c.
8699         * s_clog10_template.c: Copy of s_clog10.c.
8700         * s_cpow_template.c: Copy of s_cpow.c.
8701         * s_cproj_template.c: Copy of s_cproj.c.
8702         * s_csqrt_template.c: Copy of s_csqrt.c.
8704 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8706         [BZ #20517]
8707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8708         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
8709         exported.
8711 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
8713         * math/fetestexceptflag.c: New file.
8714         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
8715         Stefan Liebler.
8716         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8717         (fetestexceptflag): New function declaration.
8718         * manual/arith.texi (fetestexceptflag): Document function.
8719         * math/Versions (fetestexceptflag): New libm symbol at version
8720         GLIBC_2.25.
8721         * math/Makefile (libm-support): Add fetestexceptflag.
8722         (tests): Add test-fetestexceptflag.
8723         * math/test-fetestexceptflag.c: New file.
8724         * sysdeps/nacl/libm.abilist: Update.
8725         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8726         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8727         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8728         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8729         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8730         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8731         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8732         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8733         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8734         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8735         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8736         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8738         Likewise.
8739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8740         Likewise.
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8742         Likewise.
8743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8744         Likewise.
8745         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8746         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8747         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8748         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8749         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8751         Likewise.
8752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8753         Likewise.
8754         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8755         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8756         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8758 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8760         [BZ #20432]
8761         Avoid strong references to malloc-internal symbols when linking
8762         statically, to support statically interposed mallocs.
8763         * include/libc-symbols.h (call_function_static_weak): New macro.
8764         * malloc/Makefile (tests): Add tst-interpose-nothread,
8765         tst-interpose-thread, tst-interpose-static-nothread,
8766         tst-interpose-static-thread.
8767         (tests-static): Add tst-interpose-static-nothread,
8768         tst-interpose-static-thread.
8769         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
8770         tst-interpose-aux-thread.o.
8771         (test-extras): Add tst-interpose-aux-nothread,
8772         tst-interpose-aux-thread.
8773         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
8774         tst-interpose-aux-nothread.o.
8775         (tst-interpose-thread, tst-interpose-static-thread): Link with
8776         tst-interpose-aux-thread.o and libthread.
8777         * malloc/tst-interpose-aux-nothread.c: New file.
8778         * malloc/tst-interpose-aux-thread.c: Likewise.
8779         * malloc/tst-interpose-aux.c: Likewise.
8780         * malloc/tst-interpose-aux.h: Likewise.
8781         * malloc/tst-interpose-nothread.c: Likewise.
8782         * malloc/tst-interpose-skeleton.c: Likewise.
8783         * malloc/tst-interpose-static-nothread.c: Likewise.
8784         * malloc/tst-interpose-static-thread.c: Likewise.
8785         * malloc/tst-interpose-thread.c: Likewise.
8786         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
8787         * sysdeps/mach/hurd/fork.c (__fork): Only call
8788         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8789         __malloc_fork_unlock_child if defined.
8790         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8792 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8794         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
8795         timespec C99 designated initialization.
8797 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8799         [BZ #19946]
8800         Avoid expected SIGALRM signals.
8801         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
8802         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
8803         (xpthread_create, xpthread_detach, xpthread_join)
8804         (delayed_exit_thread, delayed_exit): New functions.
8805         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
8806         (tf): Use xpthread_cond_wait.
8807         (do_test): Likewise.  Replace alarm with delayed_exit.
8808         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8809         (do_test): Call delayed_exit.  Report failure.
8810         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8811         (do_test): Call delayed_exit.
8812         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8813         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
8814         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8815         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
8816         error.
8817         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8818         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
8819         error.
8820         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
8821         (do_test): Call delayed_exit.
8822         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
8823         (do_test): Call delayed_exit.
8824         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
8825         (do_test): Call delayed_exit instead of alarm.  Use
8826         xpthread_mutex_lock.
8827         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
8828         (do_test): Call delayed_exit instead of alarm.  Use
8829         xpthread_mutex_lock.
8830         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
8831         (do_test): Call delayed_exit instead of alarm.
8832         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
8833         (do_test): Call delayed_exit instead of alarm.  Use
8834         xpthread_spin_lock.
8835         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
8836         (do_test): Call delayed_exit instead of alarm.  Use
8837         xpthread_join.
8839 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8841         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
8842         adjust CFA when allocating register save area on re-aligned
8843         stack.
8845 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8847         * string/tst-cmp.c: New test.
8848         * string/Makefile (tests): Add it.
8850 2016-08-25  Mark Wielaard  <mark@klomp.org>
8852         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
8853         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
8854         (check_tree_recurse): Use newly defined accessors.
8855         (check_tree): Likewise.
8856         (maybe_split_for_insert): Likewise.
8857         (__tfind): Likewise.
8858         (__tdelete): Likewise.
8859         (trecurse): Likewise.
8860         (tdestroy_recurse): Likewise.
8861         (__tsearch): Likewise. And add asserts for malloc alignment.
8862         (__twalk): Cast root to node in case CHECK_TREE is defined.
8864 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8866         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
8868 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8870         * math/Makefile (libm-gen-calls): Add
8871         catan, catanh, ctan, ctanh.
8872         (libm-calls): Remove the above.
8874         * math/s_catan_template.c: Update using type-generic macros.
8875         * math/s_catanh_template.c: Likewise.
8876         * math/s_ctan_template.c: Likewise.
8877         * math/s_ctanh_template.c: Likewise.
8879         * math/s_catanf.c: Removed.
8880         * math/s_catan.c: Removed.
8881         * math/s_catanl.c: Removed.
8882         * math/s_catanhf.c: Removed.
8883         * math/s_catanh.c: Removed.
8884         * math/s_catanhl.c: Removed.
8885         * math/s_ctanf.c: Removed.
8886         * math/s_ctan.c: Removed.
8887         * math/s_ctanl.c: Removed.
8888         * math/s_ctanhf.c: Removed.
8889         * math/s_ctanh.c: Removed.
8890         * math/s_ctanhl.c: Removed.
8892         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
8893         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
8894         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
8895         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
8896         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
8897         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
8899         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
8900         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
8901         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
8902         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
8904 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8906         * s_catan_template.c: Copy of s_catan.c.
8907         * s_catanh_template.c: Copy of s_catanh.c.
8908         * s_ctan_template.c: Copy of s_ctan.c.
8909         * s_ctanh_template.c: Copy of s_ctanh.c.
8911 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8913         * math/Makefile (gen-libm-calls): Move
8914         casin, casinh, csin, csinh here.
8915         (libm-calls): Remove the above.
8917         * math/s_casin_template.c: Update using type-generic macros.
8918         * math/s_casinh_template.c: Likewise.
8919         * math/s_csin_template.c: Likewise.
8920         * math/s_csinh_template.c: Likewise.
8921         * math/k_casinh_template.c: Likewise.
8923         * math/s_casinf.c: Removed.
8924         * math/s_casin.c: Removed.
8925         * math/s_casinl.c: Removed.
8926         * math/s_casinh.c: Removed.
8927         * math/s_casinhf.c: Removed.
8928         * math/s_casinhl.c: Removed.
8929         * math/s_csin.c: Removed.
8930         * math/s_csinf.c: Removed.
8931         * math/s_csinl.c: Removed.
8932         * math/s_csinh.c: Removed.
8933         * math/s_csinhf.c: Removed.
8934         * math/s_csinhl.c: Removed.
8935         * math/k_casinh.c: Removed.
8936         * math/k_casinhf.c: Removed.
8937         * math/k_casinhl.c: Removed.
8939         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
8940         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
8941         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
8942         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
8944         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
8945         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
8946         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
8947         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
8948         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
8949         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
8950         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
8951         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
8953         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
8954         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
8955         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
8956         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
8958         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
8959         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
8960         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
8961         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
8963 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8965         * s_casin_template.c: Copy of s_casin.c.
8966         * s_casinh_template.c: Copy of s_casinh.c.
8967         * s_csin_template.c: Copy of s_csin.c.
8968         * s_csinh_template.c: Copy of s_csinh.c.
8969         * k_casinh_template.c: Copy of k_casinh.c.
8971 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
8973         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
8975 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8977         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
8978         (mul_split) Remove, rename as mul_splitl, remove
8979         redundant float.h include, and include via mul_splitl.h
8981         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8982         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8983         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8984         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8985         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8987         * math/mul_splitl.h: New file.
8989         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
8990         Move into mul_split.h, and remove redundant float.h include.
8992         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8993         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
8994         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8995         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
8997         * math/mul_split.h: New file.
8999 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9001         * math/Makefile (libm-gen-calls): Move
9002         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9003         (libm-calls): Remove above.
9005         * math/s_cacos_template.c: Update using type-generic macros.
9006         * math/s_cacosh_template.c: Likewise.
9007         * math/s_ccos_template.c: Likewise.
9008         * math/s_ccosh_template.c: Likewise.
9010         * math/s_cacosf.c: Removed.
9011         * math/s_cacos.c: Removed.
9012         * math/s_cacosl.c: Removed.
9013         * math/s_cacoshf.c: Removed.
9014         * math/s_cacosh.c: Removed.
9015         * math/s_cacoshl.c: Removed.
9016         * math/s_ccosf.c: Removed.
9017         * math/s_ccos.c: Removed.
9018         * math/s_ccosl.c: Removed.
9019         * math/s_ccoshf.c: Removed.
9020         * math/s_ccosh.c: Removed.
9021         * math/s_ccoshl.c: Removed.
9023         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9024         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9025         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9026         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9027         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9028         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9030         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9031         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9032         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9033         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9035         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9036         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9037         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9038         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9040 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9042         * s_cacos_template.c: Copy of s_cacos.c.
9043         * s_cacosh_template.c: Copy of s_cacosh.c.
9044         * s_ccos_template.c: Copy of s_ccos.c.
9045         * s_ccosh_template.c: Copy of s_ccosh.c.
9047 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9049         * stdlib/tst-strtod-round-skeleton.c:
9050         Refactored from tst-strtod-round.c.
9052         (L_): New macro to apply literal modifier.
9053         (FNPFX): New macro to select str or wcs prefix.
9054         (CHAR): New macro to choose wchar_t or char.
9055         (STRM): New macro to choose printf for tested character type.
9057         (STRTO): New macro to choose appropriate string -> real function.
9058         (FNPFXS): Stringitized version of FNPFX.
9059         (STR): Support for above macro.
9060         (STRX): Likewise.
9062         (TEST): Update with above macros.
9063         (test): Likewise.
9064         (GEN_ONE_TEST): Likewise.
9065         (test_in_one_mode): Likewise.
9067         * stdlib/tst-strtod-round.c: New file.
9068         * wcsmbs/tst-wcstod-round.c: New file.
9070         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9071         (tst-wcstod-round): Add libm depencency for fesetround.
9073 2016-08-19  Zack Weinberg  <zackw@panix.com>
9075         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9077 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9079         [BZ #20477]
9080         * resolv/res_hconf.c (do_init): Use atomic access.
9081         * resolv/res_hconf.h: Add comments.
9082         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9083         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9086 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9088         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9089         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9091         Likewise.
9093 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9095         [BZ #16907]
9096         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9097         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9098         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9099         (__attribute__): Remove definition.
9101 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9103         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9104         Remove unused sqrtl declaration.
9106 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9108         * math/Makefile: (gen-libm-templates.stmp): New rule.
9109         (libm-calls): Move carg conj cimag and cabs into ...
9110         (gen-libm-calls): New variable.
9111         (generated): Inform Make objects from gen-libm-calls
9112         may be generated.
9114         * sysdeps/generic/math-type-macros.h: New file.
9115         * sysdeps/generic/math-type-macros-float.h: Likewise.
9116         * sysdeps/generic/math-type-macros-double.h: Likewise.
9117         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9118         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9119         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9121         * math/cabs.c: Refactor into
9122         * math/cabs_template.c: new file.
9123         * math/cabsf.c: Removed.
9124         * math/cabsl.c: Removed.
9125         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9126         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9128         * math/carg.c: Refactor into
9129         * math/carg_template.c: new file.
9130         * math/cargf.c: Removed.
9131         * math/cargl.c: Removed.
9132         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9133         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9135         * math/conj.c: Refactor into
9136         * math/conj_template.c: new file.
9137         * math/conjf.c: Removed.
9138         * math/conjl.c: Removed.
9139         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9140         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9142         * math/cimag.c: Refactor into
9143         * math/cimag_template.c: new file.
9144         * math/cimagf.c: Removed.
9145         * math/cimagl.c: Removed.
9146         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9147         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9149         * math/cimag.c: Refactor into
9150         * math/cimag_template.c: new file.
9151         * math/cimagf.c: Removed.
9152         * math/cimagl.c: Removed.
9153         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9154         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9156 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9158         Reduce time to expected nptl/tst-once5 failure.
9159         * nptl/tst-once5.cc (TIMEOUT): Define.
9161 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9163         [BZ #20452]
9164         Avoid additional copies of objects in libc.a in static libraries.
9165         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9166         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9167         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9168         rt-sysdep.
9169         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9170         Add nptl-sysdep.
9171         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9172         Add ptw-sysdep.
9173         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9174         rt-sysdep.
9175         * sysdeps/unix/sysv/linux/alpha/Makefile
9176         (libpthread-shared-only-routines): Add ptw-sysdep,
9177         ptw-sigprocmask, ptw-rt_sigaction.
9178         * sysdeps/unix/sysv/linux/ia64/Makefile
9179         (librt-shared-only-routines): Add rt-sysdep.
9180         * sysdeps/unix/sysv/linux/i386/Makefile
9181         (libpthread-shared-only-routines): Add libc-do-syscall.
9182         * sysdeps/unix/sysv/linux/microblaze/Makefile
9183         (libpthread-shared-only-routines): Add sysdep.
9184         * sysdeps/unix/sysv/linux/powerpc/Makefile
9185         (librt-shared-only-routines): Add rt-sysdep.
9186         (libpthread-shared-only-routines): Add sysdep.
9187         * sysdeps/unix/sysv/linux/s390/Makefile
9188         (librt-shared-only-routines): Add rt-sysdep.
9189         * sysdeps/unix/sysv/linux/sparc/Makefile
9190         (librt-shared-only-routines): Add rt-sysdep.
9191         (libpthread-shared-only-routines): Add sysdep.
9192         * sysdeps/unix/sysv/linux/tile/Makefile
9193         (libpthread-shared-only-routines): Likewise.
9195 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9197         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9198         Mask implicit bit out of unpacked value.
9199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9203         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9205         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9207         * sysdeps/s390/fpu/fesetexcept.c: New file.
9209         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9210         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9211         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9213         * sysdeps/mips/fpu/fesetexcept.c: New file.
9215         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9217         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9219         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9221         * sysdeps/arm/fesetexcept.c: New file.
9223         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9225         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9227         * math/fesetexcept.c: New file.
9228         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9229         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9230         * math/fenv.h: Define
9231         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9232         <bits/libc-header-start.h> instead of including <features.h>.
9233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9234         declaration.
9235         * manual/arith.texi (fesetexcept): Document function.
9236         * math/Versions (fesetexcept): New libm symbol at version
9237         GLIBC_2.25.
9238         * math/Makefile (libm-support): Add fesetexcept.
9239         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9240         * math/test-fesetexcept.c: New file.
9241         * math/test-fesetexcept-traps.c: Likewise.
9242         * sysdeps/nacl/libm.abilist: Update.
9243         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9244         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9251         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9252         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9253         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9254         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9256         Likewise.
9257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9258         Likewise.
9259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9260         Likewise.
9261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9262         Likewise.
9263         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9264         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9265         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9266         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9267         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9269         Likewise.
9270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9271         Likewise.
9272         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9273         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9274         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9276 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9278         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9279         New.
9280         (do_test): Apply default_stack_size_in_mb if not set.
9281         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9283 2016-08-15  Andreas Schwab  <schwab@suse.de>
9285         [BZ #20435]
9286         CVE-2016-6323
9287         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9288         as .cantunwind.
9290 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9292         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9293         comment from fraiseexcpt.c.
9295         * math/test-fexcept.c (feraiseexcept_exact): New function.
9296         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9297         (test_except): Likewise.
9299 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9301         [BZ #20455]
9302         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9303         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9304         to be restored.
9306         * math/test-fexcept-traps.c: New file.
9307         * math/test-fexcept.c: Likewise.
9308         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9309         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9310         macro.
9311         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9312         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9314 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9316         * include/atomic.h (atomic_fetch_and_relaxed,
9317         atomic_fetch_and_release, atomic_fetch_or_release,
9318         atomic_fetch_xor_release): New.
9320 2016-08-06  Christian Seiler  <christian@iwakd.de>
9322         [BZ #20444]
9323         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9324         MACH_PORT_NULL.
9326 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9328         * math/s_fdim.c: Avoid alias renamed.
9329         * math/s_fdimf.c: Likewise.
9330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9331         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9332         Add s_fdimf-vis3, s_fdim-vis3.
9333         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9334         (CFLAGS-s_fdim-vis3.c): Likewise.
9335         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9336         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9338 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9341         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9342         Remove s_fdimf-vis3, s_fdim-vis3.
9343         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9344         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9351         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9352         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9354 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9356         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9357         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9358         -Wa,-Av9a -mvis.
9360 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9362         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9363         LIT() to individual constants in simple expressions
9364         after splitting on spaces.
9365         (_apply_lit): Rename replaced version, and use it to
9366         apply to what appears to be a token.
9368         * math/libm-test.inc: Fix many, many issues with
9369         spacing.
9371 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9373         * math/math.h: Move comment about <bits/mathdef.h> definitions
9374         above inclusion of <bits/mathdef.h>.  Do not mention
9375         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9377 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9379         * include/atomic.h (atomic_exchange_relaxed): New.
9381 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9383         * math/e_scalb.c: Do not include <fenv.h>.
9384         (invalid_fn): Do calculation resulting in NaN instead of raising
9385         FE_INVALID and returning a NaN explicitly.
9386         * math/e_scalbf.c: Do not include <fenv.h>.
9387         (invalid_fn): Do calculation resulting in NaN instead of raising
9388         FE_INVALID and returning a NaN explicitly.
9389         * math/e_scalbl.c: Do not include <fenv.h>.
9390         (invalid_fn): Do calculation resulting in NaN instead of raising
9391         FE_INVALID and returning a NaN explicitly.
9393 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9395         * po/de.po: Updated from Translation Project.
9396         * po/fi.po: Likewise.
9397         * po/sv.po: Likewise.
9399 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9401         [BZ #20452]
9402         Use sysdep.o from libc.a in static libraries.
9403         * sysdeps/unix/sysv/linux/i386/Makefile
9404         (libpthread-shared-only-routines): Add sysdep.
9405         (librt-shared-only-routines): Likewise.
9407 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9409         * math/tgmath.h (nextdown): Define if
9410         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9411         (nextup): Likewise.
9413         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9414         macro.
9415         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9416         Document.
9417         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9418         Document macro.
9419         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9420         (exp10f): Likewise.
9421         (exp10l): Likewise.
9422         * math/bits/mathcalls.h (exp10): Declare if
9423         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9425         * manual/arith.texi (nextup): Fix typo in last change.
9427 2016-08-03  Zack Weinberg  <zackw@panix.com>
9429         [BZ #19239]
9430         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9431         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9432         define major, minor, and makedev to issue deprecation warnings on use.
9433         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9434         previously-activated deprecation warnings for these macros and prevent
9435         subsequent inclusions of this header from having any effect.
9436         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9437         including <sys/sysmacros.h>, and undefine it again afterward.
9439 2016-08-03  Zack Weinberg  <zackw@panix.com>
9441         * sysdeps/generic/sys/sysmacros.h: Delete file.
9442         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9443         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9444         * bits/sysmacros.h: ... here; this encoding is now the generic
9445         encoding.  Now defines only the following macros:
9446         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9447         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9448         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9450         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9451         bits/sysmacros.h and the above new macros to generate the
9452         public implementations of major, minor, and makedev.
9453         * misc/tst-makedev.c: New test.
9454         * include/sys/sysmacros.h: New wrapper.
9456         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9457         (routines): Add makedev.
9458         (tests): Add tst-makedev.
9459         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9460         gnu_dev_makedev.
9461         * posix/Makefile (headers): Remove sys/sysmacros.h.
9462         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9464         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9465         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9466         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9467         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9468         * sysdeps/unix/sysv/linux/arm/libc.abilist
9469         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9470         * sysdeps/unix/sysv/linux/i386/libc.abilist
9471         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9472         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9473         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9474         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9475         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9476         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9477         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9478         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9479         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9484         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9485         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9486         * sysdeps/unix/sysv/linux/sh/libc.abilist
9487         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9488         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9491         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9492         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9493         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9494         Add GLIBC_2.25.
9496         * include/features.h (__glibc_clang_prereq): New macro.
9497         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9498         (__attribute_deprecated_msg__): New macros.
9500 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9502         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9503         macro.
9504         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9505         * manual/arith.texi (issignaling): Document as ISO from TS
9506         18661-1:2014.
9507         (nextup): Likewise.
9508         (nextupf): Likewise.
9509         (nextupl): Likewise.
9510         (nextdown): Likewise.
9511         (nextdownf): Likewise.
9512         (nextdownl): Likewise.
9513         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9514         macro.
9515         * math/math.h: Define
9516         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9517         <bits/libc-header-start.h> instead of including <features.h>.
9518         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9519         [__USE_GNU].
9520         * math/bits/mathcalls.h (nextdown): Declare if
9521         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9522         (nextup): Likewise.
9523         (__issignaling): Likewise.
9525 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9527         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9528         check, and remove __glibc_likely hint
9529         from FP_INFINITE check.
9530         * s_csinhf.c (__csinhf): Likewise.
9532         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9533         hint from FP_INFINITE check.
9534         * s_csinhl.c (__csinhl): Likewise.
9536 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9538         * math/Makefile (libm-calls): Insert F placeholder into
9539         object names.  Move w_lgamma_compat* routines into
9540         (libm-compat-calls): New variable.
9541         (libm-compat-calls-ldouble-yes): New variable.
9542         (calls): Insert F placeholder.
9543         (generated): Redefine using new type-foreach macro call.
9544         (routines): Likewise.
9546         (types): New variable to hold a list of symbolic names
9547         for each type supported by the target machine.
9548         (libm-routines): Redefine using new types variable.
9549         (type-foreach): macro to replace fooF with the
9550         appropriately suffixed foo for each types.
9552         (type-ldouble-suffix): New variable.
9553         (type-ldouble-routines): Likewise.
9554         (type-ldouble-yes): Likewise.
9555         (type-double-suffix): Likewise.
9556         (type-double-routines): Likewise.
9557         (type-float-suffix): Likewise.
9558         (type-float-routines): Likewise.
9560         (dbl-only-routines): Remove.
9561         (long-c-yes): Likewise.
9562         (long-m-routines): Likewise.
9563         (long-m-support): Likewise.
9564         (long-m-yes): Likewise.
9565         (test-longdouble-yes): Likewise.
9567         (test-float.o): Simplify by increasing the scope of the
9568         recipe which adds libm-test.stmp to the vector types.
9569         (test-ifloat.o): Likewise.
9570         (test-float-finite.o): Likewise.
9571         (test-double.o): Likewise
9572         (test-idouble.o): Likewise.
9573         (test-double-finite.o): Likewise.
9574         (test-ldouble.o): Likewise
9575         (test-ildoubl.o): Likewise.
9576         (test-ldouble-finite.o): Likewise.
9578         (libm-tests): Redefine type tests using foreach and the
9579         list of types in types.
9581         (CPPFLAGS-test-ildoubl.c): Rename to
9582         (CPPFLAGS-test-ildouble.c): New variable
9584         * math/test-ildoubl.c: Rename to
9585         * math/test-ildouble.c: New file.
9587 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9589         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9590         Use fabsl instead of fabs.
9591         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9592         Likewise.
9593         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9594         Add long double suffix to constant to ensure proper
9595         promotion to long double.
9597 2016-08-03  Tom Tromey  <tom@tromey.com>
9599         [BZ #20311]
9600         * nptl_db/Makefile (headers): Add proc_service.h.
9601         * nptl_db/proc_service.h: Add include guard.  Use
9602         __BEGIN/__END_DECLS.
9603         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9604         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9605         arguments.
9608 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9610         [BZ #17730]
9611         Avoid using memalign for TCB allocations.
9612         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9613         (_dl_allocate_tls_storage): Use malloc and manual alignment.
9614         Avoid alignment gap in the TLS_DTV_AT_TP case.
9615         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9616         determine the pointer to free.
9617         * nptl/tst-tls3-malloc.c: New test.
9618         * nptl/Makefile (tests): Add it.
9619         (tst-tls3-malloc): Link with libdl, libpthread.
9620         (LDFLAGS-tst-tls3-malloc): Set.
9621         (tst-tls3-malloc.out): Depend on DSO used in test.
9623 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9625         [BZ #17730]
9626         Avoid using memalign for TLS allocations.
9627         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
9628         is_static member with to_free member.
9629         (union dtv): Use struct dtv_pointer.
9630         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9631         dtv_pointer instead of is_static.
9632         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9633         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9634         instead of val.
9635         (allocate_dtv_entry): New function.
9636         (allocate_and_init): Return struct dtv_pointer.  Call
9637         allocate_dtv_entry instead of __libc_memalign.
9638         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
9639         instead of val.
9640         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
9641         instead of is_static.  Adjust call to allocate_and_init.
9642         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
9643         struct dtv_pointer instead of val.
9645 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9647         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
9648         (MALLOC_ALIGN_MASK): Move ...
9649         * malloc/malloc-internal.h: ... to here.
9650         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
9652 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9654         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
9655         (UDP_ENCAP_GTP1U): Likewise.
9657         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
9658         (PF_MAX): Update value.
9659         (AF_QIPCRTR): New macro.
9661 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9663         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
9664         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9665         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9667         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9668         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9669         s_truncf-vis3, s_trunc-vis3.
9670         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9671         (CFLAGS-s_ceil-vis3.c): Likewise.
9672         (CFLAGS-s_floorf-vis3.c): Likewise.
9673         (CFLAGS-s_floor-vis3.c): Likewise.
9674         (CFLAGS-s_truncf-vis3.c): Likewise.
9675         (CFLAGS-s_trunc-vis3.c): Likewise.
9676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
9677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
9679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
9681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
9683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9684         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
9685         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9686         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
9687         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9689 2016-08-02  David S. Miller  <davem@davemloft.net>
9691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9692         (__nearbyint_vis3): Don't check for sNaN before float register is
9693         loaded with the incoming argument.
9694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9695         (__nearbyintf_vis3): Likewise.
9696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
9697         Likewise.
9698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
9699         Likewise.
9701         * string/test-strncmp.c (do_test_limit): Make sure the test data
9702         stream is aligned as required for the type "CHAR".
9703         (do_test): Likewise.
9705 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9707         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
9708         by beq instructions jumping to the end of the function.
9709         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
9710         clobber list. Use "i" constraint instead of "X".
9711         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
9712         of "X".
9714 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
9716         * bits/libc-header-start.h: New file.
9717         * Makefile (headers): Add bits/libc-header-start.h.
9718         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
9719         (__GLIBC_USE): New macro.
9720         * libio/stdio.h: Define
9721         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9722         <bits/libc-header-start.h> instead of including <features.h>.
9723         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
9724         (open_memstream): Likewise.
9725         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
9726         (__asprintf): Likewise.
9727         (asprintf): Likewise.
9728         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
9729         (getdelim): Likewise.
9730         (getline): Likewise.
9731         * string/string.h: Define
9732         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9733         <bits/libc-header-start.h> instead of including <features.h>.
9734         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
9735         (strndup): Likewise.
9736         * wcsmbs/wchar.h: Define
9737         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9738         <bits/libc-header-start.h> instead of including <features.h>.
9739         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
9740         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
9742 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9744         Support linking against compatibility symbols, for use in tests.
9745         * include/libc-symbols.h (symbol_version_reference): New macro.
9746         (symbol_version): Use it.
9747         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
9748         (compat_symbol): Use compat_symbol_reference.
9749         (compat_symbol_1, compat_symbol_2): Remove.
9750         (compat_symbol_reference, compat_symbol_reference_1)
9751         (compat_symbol_reference_2): New macro.  Use
9752         symbol_version_reference.
9754 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9756         [BZ #19469]
9757         * malloc/Makefile (CPPFLAGS): Compile tests with
9758         -DTEST_NO_MALLOPT.
9759         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
9761 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
9763         [BZ #20033]
9764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
9765         finite version.
9766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
9767         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
9768         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
9769         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
9770         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
9771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
9772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
9773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
9774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
9775         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
9776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
9777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
9778         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
9779         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
9780         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
9781         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
9782         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
9783         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
9784         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
9785         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
9786         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
9787         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
9788         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
9789         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
9790         in zero power.
9792 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9794         [BZ #20370]
9795         * malloc/arena.c (get_free_list): Update comment.  Assert that
9796         arenas on the free list have no attached threads.
9797         (remove_from_free_list): New function.
9798         (reused_arena): Call it.
9800 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
9802         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
9803         when it is a NaN.
9804         [_IEEE_FP_INEXACT] Remove.
9805         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
9806         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
9807         when it is a NaN.
9808         [_IEEE_FP_INEXACT] Remove.
9809         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
9810         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
9811         when it is a NaN.
9812         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
9813         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
9814         when its absolute value is greater than 0x1.0p52.
9815         [_IEEE_FP_INEXACT] Remove.
9816         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
9817         when its absolute value is greater than 0x1.0p23.
9818         [_IEEE_FP_INEXACT] Remove.
9820 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
9822         * version.h (RELEASE): Set to "development"
9823         (VERSION): Set to 2.24.90.
9824         * NEWS: Add 2.25 section.
9826         * version.h (RELEASE): Set to "stable"
9827         (VERSION): Set to 2.24.
9828         * include/features.h (__GLIBC_MINOR__): Set to 24.
9830         * NEWS: Add 2.24 fixed bugs.
9831         * po/libc.pot: Regenerate.
9833 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
9835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9836         [$(subdir) = math] (libm-sysdep_routines): Remove.
9837         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9838         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9839         s_truncf-vis3, s_trunc-vis3.
9840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
9842         file.
9843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
9844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
9845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
9849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
9850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
9852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
9853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
9854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
9855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
9856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
9857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
9858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
9862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
9863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
9864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
9865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9870         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
9871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
9874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9876         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
9877         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
9878         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
9879         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
9880         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9881         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9882         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
9883         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
9884         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
9885         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
9887 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
9889         [BZ #20384]
9890         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
9891         test-double-libmvec-sincos-avx-main.o,
9892         test-double-libmvec-sincos-avx2-main.o,
9893         test-double-libmvec-sincos-main.o,
9894         test-float-libmvec-sincosf-avx-main.o,
9895         test-float-libmvec-sincosf-avx2-main.o and
9896         test-float-libmvec-sincosf-main.o.
9897         test-float-libmvec-sincosf-avx512-main.o.
9898         ($(objpfx)test-double-libmvec-sincos): Also link with
9899         $(objpfx)test-double-libmvec-sincos-main.o.
9900         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
9901         $(objpfx)test-double-libmvec-sincos-avx-main.o.
9902         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
9903         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
9904         ($(objpfx)test-float-libmvec-sincosf): Also link with
9905         $(objpfx)test-float-libmvec-sincosf-main.o.
9906         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
9907         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
9908         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
9909         test-double-libmvec-sincos-avx512-main.o and
9910         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
9911         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
9912         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
9913         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
9914         (CFLAGS-test-double-libmvec-sincos.c): Removed.
9915         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
9916         (CFLAGS-test-double-libmvec-sincos-main.c): New.
9917         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
9918         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
9919         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
9920         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
9921         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
9922         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
9923         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
9924         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
9925         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
9926         -DREQUIRE_AVX2.
9927         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
9928         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
9929         -DREQUIRE_AVX512F.
9930         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
9931         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
9932         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9933         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
9934         file.
9935         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
9936         Likewise.
9937         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
9938         Likewise.
9939         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
9940         Likewise.
9941         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
9942         Likewise.
9943         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
9944         Likewise.
9945         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
9946         Likewise.
9947         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
9948         Likewise.
9950 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
9952         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
9954 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
9956         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
9957         and typo in a comment about AT_HWCAP entry.
9959 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9961         * sysdeps/aarch64/libm-test-ulps: Updated.
9963 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9965         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
9966         of r13 as it is not restored in mvcle case.
9968 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
9970         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
9971         Rename "ret" to "__ret".
9972         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
9973         inline_syscall5, inline_syscall6): Likewise.
9975 2016-07-19   Will Newton  <will.newton@gmail.com>
9977         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
9978         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
9979         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
9980         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
9981         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
9983 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
9985         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
9986         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
9987         -mfpmath=387 with $(rtld-CFLAGS).
9988         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
9989         $(rtld-CFLAGS).
9991 2016-07-18   Ross Burton  <ross.burton@intel.com>
9992              Khem Raj  <raj.khem@gmail.com>
9994         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
9995         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
9996         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
9997         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
9998         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
9999         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10000         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10001         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10002         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10003         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10004         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10005         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10006         R_METAG_TLS_DTPOFF): New.
10008 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10009             Matt Clay  <mclay@lycos.com>
10011         [BZ #20357]
10012         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10013         to call __mpsin/__mpcos and to negate values.
10014         * math/auto-libm-test-in: Add test.
10015         * math/auto-libm-test-out: Regenerate.
10017 2016-07-18  Zack Weinberg  <zackw@panix.com>
10019         * grp/Makefile: Don't install the internal header grp-merge.h.
10021 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10023         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10025 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10027         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10029 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10031         [BZ #15368]
10032         * sysdeps/unix/sysv/linux/nptl-signals.h
10033         (__nptl_clear_internal_signals): New function.
10034         (__libc_signal_block_all): Likewise.
10035         (__libc_signal_block_app): Likewise.
10036         (__libc_signal_restore_set): Likewise.
10037         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10038         implementation.
10039         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10040         the cached pid/tid value in pthread structure.
10042 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10044         [BZ #20347]
10045         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10047 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10049         [BZ #20348]
10050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10051         preadv64, pwrite64 and pwritev64.
10053 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10055         [BZ #20350]
10056         * posix/tst-preadwrite.c: Renamed to ...
10057         * posix/tst-preadwrite-common.c: This.
10058         (PREAD): Removed.
10059         (PWRITE): Likewise.
10060         (STRINGIFY): Likewise.
10061         (STRINGIFY2): Likewise.
10062         (do_prepare): Make it static and remove function arguments.
10063         (do_test): Likewise.
10064         (PREPARE): Updated.
10065         (TEST_FUNCTION): New.
10066         (name): Make it static.
10067         (fd): Likewise.
10068         (do_prepare): Use create_temp_file.
10069         (do_test): Renamed to ...
10070         (do_test_with_offset): This.  Make it static and accept offset.
10071         Properly check return value of PWRITE and PREAD.  Return bytes
10072         read.  Don't close fd nor unlink name.
10073         * posix/tst-preadwrite.c: Rewrite.
10074         * posix/tst-preadwrite64.c: Likewise.
10076 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10078         [BZ #20309]
10079         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10080         -mtls-dialect=gnu2 works.
10081         * configure: Regenerated.
10082         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10083         (tests): Add tst-gnu2-tls1.
10084         (modules-names): Add tst-gnu2-tls1mod.
10085         ($(objpfx)tst-gnu2-tls1): New.
10086         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10087         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10088         * elf/tst-gnu2-tls1.c: New file.
10089         * elf/tst-gnu2-tls1mod.c: Likewise.
10090         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10091         bytes for push in the PLT entry to align the stack.
10093 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10095         [BZ #20349]
10096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10098 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10100         [BZ #18707]
10101         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10102         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10104 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10106         * sysdeps/unix/sysv/linux/sysdep.h
10107         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10108         guards.
10109         * misc/tst-preadvwritev-common.c: New file.
10110         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10111         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10112         a check for files larger than 2GB.
10114         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10115         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10116         * sysdeps/unix/sysv/linux/pread.c
10117         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10118         __OFF_T_MATCHES_OFF64_T.
10119         * sysdeps/unix/sysv/linux/pread64.c
10120         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10121         * sysdeps/unix/sysv/linux/preadv.c
10122         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10123         * sysdeps/unix/sysv/linux/preadv64.c
10124         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10125         * sysdeps/unix/sysv/linux/pwrite.c
10126         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10127         * sysdeps/unix/sysv/linux/pwrite64.c
10128         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10129         * sysdeps/unix/sysv/linux/pwritev.c
10130         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10131         * sysdeps/unix/sysv/linux/pwritev64.c
10132         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10134 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10136         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10137         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10139 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10141         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10143 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10145         [BZ #20240]
10146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10147         (CFLAGS-s_modf-ppc32.c): New variable.
10148         (CFLAGS-s_modff-ppc32.c): Likewise.
10149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10150         (CFLAGS-s_modf-ppc64.c): Likewise.
10151         (CFLAGS-s_modff-ppc64.c): Likewise.
10153 2016-07-07  Andreas Schwab  <schwab@suse.de>
10155         [BZ #20263]
10156         * nptl/tst-robust10.c: New test.
10157         * nptl/Makefile (tests): Add tst-robust10.
10159 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10161         [BZ #20263]
10162         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10164 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10166         * sysdeps/s390/linkmap.h (struct link_map_machine):
10167         Remove member gotplt and add member jmprel.
10168         * sysdeps/s390/s390-32/dl-machine.h
10169         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10170         instead of gotplt with &got[3].
10171         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10172         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10174 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10176         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10178 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10180         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10181         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10182         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10183         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10184         * libio/vtables.c (_IO_vtable_check)
10185         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10186         * libio/libioP.h (IO_set_accept_foreign_vtables)
10187         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10189 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10191         [BZ #20314]
10192         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10193         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10194         $(common-objpfx)cmath.
10195         ($(common-objpfx)cstdlib): New target.
10196         ($(common-objpfx)cmath): Likewise.
10198 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10200         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10202 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10204         [BZ #20327]
10205         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10206         are not part of the string.
10208 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10210         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10211         * nptl/tst-cancel4-common.h (fifoname): New variable.
10212         (fifofd): Likewise.
10213         (cl_fifo): New function.
10214         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10215         SIGINT.
10216         (tf_open): Add early cancel test.
10218 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10220         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10222 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10224         * sysdeps/generic/ldsodefs.h
10225         (dl_symbol_visibility_binds_local_p): New inline function.
10226         * elf/dl-addr.c (determine_info): Treat hidden and internal
10227         symbols as local.
10228         * elf/dl-lookup.c (do_lookup_x): Likewise.
10229         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10231 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10233         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10234         invalid exception for a sNaN input.
10235         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10236         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10237         (__nearbyint_vis3): Likewise
10238         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10239         (__nearbyintf_vis3): Likewise
10240         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10241         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10242         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10243         Likewise.
10244         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10245         Likewise.
10247 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10249         [BZ #20139]
10250         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10251         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10252         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10253         2.24 or above.
10254         (HAVE_AVX512_ASM_SUPPORT): Removed.
10255         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10256         * sysdeps/x86_64/configure: Regenerated.
10257         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10258         check unconditional.
10259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10260         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10261         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10262         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10263         Likewise.
10264         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10265         Likewise.
10266         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10267         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10268         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10269         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10270         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10271         Likewise.
10272         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10273         Likewise.
10274         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10275         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10276         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10277         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10278         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10279         Likewise.
10280         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10281         Likewise.
10282         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10283         Likewise.
10284         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10285         Likewise.
10286         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10287         Likewise.
10288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10289         Likewise.
10290         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10291         Likewise.
10292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10293         Likewise.
10294         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10295         Likewise.
10296         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10297         Likewise.
10298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10299         Likewise.
10301 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10303         [BZ #20024]
10304         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10305         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10306         of this implementation of vector function.
10307         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10309         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10310         Likewise.
10311         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10312         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10313         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10314         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10315         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10316         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10317         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10318         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10319         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10320         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10321         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10322         for testing vector sincos with fixed ABI.
10323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10324         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10325         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10326         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10327         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10328         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10329         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10330         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10331         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10332         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10333         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10334         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10335         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10336         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10337         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10338         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10340 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10342         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10344 2016-06-30  Anton Blanchard  <anton@samba.org>
10346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10347         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10348         s_sinf-ppc64.
10349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10352         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10354 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10358         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10359         e_expf-ppc64.
10360         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10362         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10363         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10365 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10367         [BZ #20277]
10368         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10369         when SHARED is defined.
10371 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10373         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10374         (index_arch_Prefer_ERMS): Likewise.
10375         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10376         __memcpy_erms for Prefer_ERMS.
10377         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10378         (__memmove_erms): Enabled for libc.a.
10379         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10380         __memmove_erms or Prefer_ERMS.
10381         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10382         __mempcpy_erms for Prefer_ERMS.
10383         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10384         __memset_erms for Prefer_ERMS.
10386 2016-06-30  Andreas Schwab  <schwab@suse.de>
10388         [BZ #20262]
10389         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10390         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10391         of memory.
10393 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10395         [BZ #18645]
10396         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10397         (test-extras): Add tst-cleanupx4aux.
10398         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10399         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10400         tst-cleanupx4aux.o.
10401         * nptl/tst-cleanupx4aux.c: New file.
10403 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10405         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10407 2016-06-29  Andreas Schwab  <schwab@suse.de>
10409         [BZ #20260]
10410         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10411         address before the beginning of the string as an integer to avoid
10412         array-bounds warning.
10414 2016-06-28  Richard Henderson  <rth@redhat.com>
10416         * elf/elf.h (EM_BPF): New.
10417         (EM_NUM): Update.
10418         (R_BPF_NONE, R_BPF_MAP_FD): New.
10420         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10421         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10422         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10423         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10424         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10425         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10426         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10427         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10428         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10429         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10430         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10431         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10432         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10433         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10434         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10435         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10436         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10437         (EM_NUM): Update.
10439 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10441         [BZ #18960]
10442         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10443         Set _nl_current_LC_CATEGORY_used to two instead of one.
10445 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10447         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10448         (do_test): ... this.
10449         (TEST_FUNCTION): New macro.
10450          Include test-skeleton.c.
10451         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10452         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10454 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10456         [BZ #15479]
10457         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10458         floating-point environment rather than just control word.
10459         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10460         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10461         floating-point environment, with "invalid" exceptions merged in,
10462         rather than just control word.
10463         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10464         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10465         "inexact" exceptions.
10467         [BZ #15479]
10468         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10469         floating-point environment rather than just control word.
10470         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10471         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10472         floating-point environment, with "invalid" exceptions merged in,
10473         rather than just control word.
10474         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10475         * math/libm-test.inc (floor_test_data): Do not allow spurious
10476         "inexact" exceptions.
10478         [BZ #15479]
10479         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10480         floating-point environment rather than just control word.
10481         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10482         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10483         floating-point environment, with "invalid" exceptions merged in,
10484         rather than just control word.
10485         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10486         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10487         "inexact" exceptions.
10489 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10491         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10492         __libc_vfork.
10493         (__vfork) [IS_IN (libc)]: Remove alias.
10494         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10495         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10496         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10498 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10500         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10501         of atomic_compare_and_exchange_bool_rel.
10502         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10503         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10504         catomic_compare_and_exchange_bool_rel): Remove.
10505         * sysdeps/aarch64/atomic-machine.h
10506         (atomic_compare_and_exchange_bool_rel): Likewise.
10507         * sysdeps/alpha/atomic-machine.h
10508         (atomic_compare_and_exchange_bool_rel): Likewise.
10509         * sysdeps/arm/atomic-machine.h
10510         (atomic_compare_and_exchange_bool_rel): Likewise.
10511         * sysdeps/mips/atomic-machine.h
10512         (atomic_compare_and_exchange_bool_rel): Likewise.
10513         * sysdeps/microblaze/atomic-machine.h
10514         ( __arch_compare_and_exchange_bool_8_rel,
10515         __arch_compare_and_exchange_bool_16_rel): Likewise.
10516         * sysdeps/powerpc/atomic-machine.h
10517         ( __arch_compare_and_exchange_bool_8_rel,
10518         __arch_compare_and_exchange_bool_16_rel): Likewise.
10519         * sysdeps/powerpc/powerpc32/atomic-machine.h
10520         ( __arch_compare_and_exchange_bool_32_rel,
10521         __arch_compare_and_exchange_bool_64_rel): Likewise.
10522         * sysdeps/powerpc/powerpc64/atomic-machine.h
10523         ( __arch_compare_and_exchange_bool_32_rel,
10524         __arch_compare_and_exchange_bool_64_rel): Likewise.
10525         * sysdeps/tile/atomic-machine.h
10526         (atomic_compare_and_exchange_bool_rel): Likewise.
10528 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10530         [BZ #20296]
10531         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10532         when either argument is a NaN.
10533         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10534         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10536         * math/libm-test.inc (snan_value_ld): New macro.
10537         (isgreater_test_data): Add sNaN tests.
10538         (isgreaterequal_test_data): Likewise.
10539         (isless_test_data): Likewise.
10540         (islessequal_test_data): Likewise.
10541         (islessgreater_test_data): Likewise.
10542         (isunordered_test_data): Likewise.
10543         (nextafter_test_data): Likewise.
10544         (nexttoward_test_data): Likewise.
10545         (remainder_test_data): Likewise.
10546         (remquo_test_data): Likewise.
10547         (significand_test_data): Likewise.
10548         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10550 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10552         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10553         environment macros are defined.
10554         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10556 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10558         [BZ #20191]
10559         Implement vtable verification in libio.
10560         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10561         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10562         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10563         _IO_new_file_init_internal instead of _IO_file_init.
10564         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10565         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10566         * libio/Makefile (routines): Add vtables.
10567         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10568         (_IO_init): Remove, not for internal use.
10569         (_IO_init_internal): Declare, internal replacement for _IO_init.
10570         (_IO_file_init): Remove, not for internal use.
10571         (_IO_new_file_init): Remove, not for internal use.
10572         (_IO_new_file_init_internal): Declare, internal replacement for
10573         _IO_new_file_init.
10574         (_IO_old_file_init): Remove, not for internal use.
10575         (_IO_old_file_init_internal): Declare, internal replacement for
10576         _IO_old_file_init.
10577         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10578         internal use.
10579         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10580         Declare.
10581         (libio_vtable): New macro.
10582         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10583         functions.
10584         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10585         _IO_new_file_init.
10586         (_IO_new_file_init): New externally visible wrapper which disables
10587         vtable verification.
10588         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10589         Define as vtables.
10590         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10591         (_IO_init): New externally visible wrapper which disables
10592         vtable verification.
10593         * libio/iofdopen.c (_IO_new_fdopen): Call
10594         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10595         comment.
10596         * libio/iofopen.c (__fopen_internal): Call
10597         _IO_new_file_init_internal instead of _IO_file_init.
10598         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10599         Define as vtables.
10600         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10601         _IO_new_file_init_internal instead of _IO_file_init.
10602         * libio/iopopen.c (_IO_new_popen): Likewise.
10603         (_IO_proc_jumps): Define as vtable.
10604         * libio/iovdprintf.c (_IO_vdprintf): Call
10605         _IO_new_file_init_internal instead of _IO_file_init.
10606         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10607         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10608         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10609         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10610         _IO_old_file_init.
10611         (_IO_old_file_init): New externally visible wrapper which disables
10612         vtable verification.
10613         (_IO_old_file_jumps): Define as vtable.
10614         * libio/oldiofdopen.c (_IO_old_fdopen): Call
10615         _IO_old_file_init_internal instead of _IO_old_file_init.
10616         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10617         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10618         (_IO_old_proc_jumps): Define as vtable.
10619         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10620         Define as vtables.
10621         * libio/vtables.c: New file.
10622         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10623         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10624         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10625         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10626         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10627         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10628         instead of _IO_init.
10630 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10632         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10634 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10636         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10637         potentially unused.
10639 2016-06-22  Florian Weimer  <fweimer@redhat.com>
10641         * test-skeleton.c (write_message): New function.
10642         * malloc/tst-mallocfork2.c (write_message): Remove.
10643         * debug/tst-longjmp_chk2.c (write_indented): New function.
10644         (write_message): Remove.
10645         (stackoverflow_handler): Call write_indented.
10647 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
10649         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
10650         "inexact" exceptions after fnstenv.
10651         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10652         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10653         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10655 2015-06-22  Zack Weinberg  <zackw@panix.com>
10657         * sysdeps/generic/bits/hwcap.h: Moved to ...
10658         * bits/hwcap.h: Here.
10660 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
10662         * sysdeps/aarch64/memcpy.S (memcpy):
10663         Further tuning for performance.
10665 2016-06-21  Florian Weimer  <fweimer@redhat.com>
10667         [BZ #20284]
10668         * malloc/arena.c (reused_arena): Do not return NULL if we start
10669         out with a non-corrupted arena.
10671 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10673         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
10674         * misc/tst-preadvwritev.c: New file.
10675         * misc/tst-preadvwritev64.c: Likewise.
10676         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
10677         usage.
10678         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
10679         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
10680         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
10681         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
10683 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
10685         [BZ #19654]
10686         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10687         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
10688         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
10689         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
10690         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
10691         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
10692         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
10693         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
10694         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
10695         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
10696         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
10697         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
10698         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
10699         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
10700         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
10701         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
10702         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
10703         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
10704         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
10705         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
10706         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
10707         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
10708         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
10709         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
10710         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
10711         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
10713 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10715         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
10716         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
10718 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10720         * sysdeps/aarch64/memcpy.S (memcpy):
10721         Rewrite of optimized memcpy and memmove.
10722         * sysdeps/aarch64/memmove.S (memmove): Remove
10723         memmove code (merged into memcpy.S).
10725 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10727         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
10728         * sysdeps/generic/dl-dtv.h: New file.
10729         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10730         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
10731         (dtv_t): Remove.
10732         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10733         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
10734         (dtv_t): Remove.
10735         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10736         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
10737         (dtv_t): Remove.
10738         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10739         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
10740         (dtv_t): Remove.
10741         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10742         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
10743         (dtv_t): Remove.
10744         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10745         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
10746         (dtv_t): Remove.
10747         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10748         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
10749         (dtv_t): Remove.
10750         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
10751         (dtv_t): Remove.
10752         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10753         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
10754         (dtv_t): Remove.
10755         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10756         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
10757         (dtv_t): Remove.
10758         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10759         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
10760         (dtv_t): Remove.
10761         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10762         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
10763         (dtv_t): Remove.
10764         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10765         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
10766         (dtv_t): Remove.
10767         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10768         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
10769         (dtv_t): Remove.
10770         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10771         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
10772         (dtv_t): Remove.
10773         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10774         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
10775         (dtv_t): Remove.
10777 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10779         Revert symbol poisoning of  __malloc_initialize_hook.
10780         * include/stdc-predef.h (__malloc_initialize_hook): Remove
10781         poisoning.
10782         * malloc/Makefile: Remove un-poisoning.
10783         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
10784         instead of old__malloc_initialize_hook.
10785         * malloc/malloc-hooks.h: Likewise.
10786         * malloc/malloc.c: Likewise.
10787         * malloc/mcheck-init.c: Likewise.
10789 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
10791         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
10793 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
10795         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
10796         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
10797         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10798         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10800 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10802         * NEWS: Mention addition of nextup and nextdown.
10803         * manual/arith.texi: Document nextup and nextdown.
10804         * manual/libm-err-tab.pl: Add nextup and nextdown.
10805         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
10806         * math/Versions (libm): Add GLIBC_2.24.
10807         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
10808         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10809         Add new test.
10810         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
10811         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
10812         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
10813         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
10814         (nextup_test_data): Likewise.
10815         (nextdown_test_data): Likewise.
10816         * math/s_nextdown.c: New file.
10817         * math/s_nextdownf.c: Likewise.
10818         * math/s_nextdownl.c: Likewise.
10819         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
10820         F(nextup): New function.
10821         F(nextdown): Likewise.
10822         * math/tgmath.h: Add nextup and nextdown.
10823         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
10824         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
10825         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10826         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10827         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10828         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
10829         Add nextup and nextdown.
10830         (CFLAGS-nldbl-nextup.c): New variable.
10831         (CFLAGS-nldbl-nextdown.c): Likewise.
10832         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
10833         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
10834         * sysdeps/nacl/libm.abilist: Update.
10835         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10836         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10837         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10838         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10839         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10840         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10841         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10842         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10843         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10844         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10845         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10846         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10849         Likewise.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10852         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10853         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10854         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
10858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
10859         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10860         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10861         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10864 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10866         * manual/pattern.texi: Fix typos & grammar errors.
10868 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10870         * manual/search.texi: Fix typos & grammar errors.
10872 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10874         * manual/message.texi: Fix typos & grammar errors.
10876 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
10878         * manual/contrib.texi: Fix spelling typos.
10879         * manual/crypt.texi: Likewise.
10880         * manual/filesys.texi: Likewise.
10881         * manual/locale.texi: Likewise.
10882         * manual/message.texi: Likewise.
10883         * manual/nss.texi: Likewise.
10884         * manual/string.texi: Likewise.
10886 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10888         * manual/locale.texi: Fix typos & grammar errors.
10890 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10892         * manual/charset.texi: Fix typos & grammar errors.
10894 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10896         * manual/string.texi: Fix typos.
10898 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10900         * manual/ctype.texi: Fix typos.
10902 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10904         * manual/memory.texi: Fix various typos & grammar errors.
10906 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
10908         [BZ #20255]
10909         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
10910         * math/libm-test.inc (fdim_test_data): Add another test.
10912         [BZ #6796]
10913         [BZ #20255]
10914         [BZ #20256]
10915         * math/s_fdim.c: Include <math_private.h>.
10916         (__fdim): Use math_narrow_eval on result.
10917         * math/s_fdimf.c: Include <math_private.h>.
10918         (__fdimf): Use math_narrow_eval on result.
10919         * sysdeps/i386/fpu/s_fdim.S: Remove file.
10920         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
10921         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
10922         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
10923         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
10924         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
10925         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
10926         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
10927         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
10928         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
10929         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
10930         * math/libm-test.inc (fdim_test_data): Expect errno setting on
10931         overflow.  Add sNaN tests.
10933         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
10934         fpclassify.
10935         * math/s_fdimf.c (__fdimf): Likewise.
10936         * math/s_fdiml.c (__fdiml): Likewise.
10938 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10940         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
10941         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
10942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10943         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
10944         ifunc'ed strcasecmp/strncasecmp.
10945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
10946         [EALIGN]: Removed.
10947         [END]: Likewise.
10948         [__strcasecmp]: Define instead of the above to control symbol name.
10949         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
10950         for __strcasecmp_power8.
10951         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
10952         for __strncasecmp_power8.
10953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
10954         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
10955         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
10956         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
10957         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
10958         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
10960 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #20252]
10963         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
10964         arguments when second argument is a NaN.
10965         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
10966         qNaN tests.
10968         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
10969         (conj_test_data): Likewise.
10970         (copysign_test_data): Likewise.
10971         (creal_test_data): Likewise.
10972         (fma_test_data): Likewise.
10973         (fmod_test_data): Likewise.
10975         [BZ #20250]
10976         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
10977         itself.
10978         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
10979         zero input to itself.
10980         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
10981         Likewise.
10982         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
10983         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
10984         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10985         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
10986         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
10988 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10990         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
10991         * nptl/tst-cancel4-common.c: New file.
10992         * nptl/tst-cancel4-common.h: Likewise.
10993         * nptl/tst-cancel4.c: Move common definitions to
10994         tst-cancel4-common.{c,h} file.
10995         * nptl/tst-cancel4_1.c: New test.
10996         * nptl/tst-cancel4_2.c: New test.
10998 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11000         [BZ #20248]
11001         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11002         (write_message): New function.
11003         (stackoverflow_handler): Call it instead of printf, to avoid
11004         excessive stack usage by printf.
11005         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11007 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11009         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11010         (prio_inherit_missing): Remove define.
11011         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11012         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11013         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11014         Likewise.
11015         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11016         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11018         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11019         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11020         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11022 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11024         [BZ #19670]
11025         [BZ #19672]
11027         * io/test-lfs.c (do_prepare): Use xmalloc.
11028         * io/tst-fcntl.c (do_prepare): Likewise.
11029         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11030         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11031         * login/tst-utmp.c (do_prepare): Likewise.
11032         * posix/tst-exec.c (do_prepare): Likewise.
11033         * posix/tst-pathconf.c (prepare): Likewise.
11034         * posix/tst-spawn.c (do_prepare): Likewise.
11035         * posix/tst-truncate.c (do_prepare): Likewise.
11036         * rt/tst-aio.c (do_prepare): Likewise.
11037         * rt/tst-aio64.c (do_prepare): Likewise.
11039 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11041         [BZ #20237]
11042         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11043         (get*ent): Set entidx to NULL during initialization.  If entidx is
11044         NULL, start iteration from the beginning.
11046 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11048         * malloc/malloc.c (musable): Return correct size for dumped fake
11049         mmapped chunk.
11051 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11053         [BZ #20222]
11054         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11055         (_IO_cookie_write): Likewise.
11056         (_IO_cookie_seek): Likewise.
11057         (_IO_cookie_close): Likewise.
11058         (_IO_old_cookie_seek): Likewise.
11059         (set_callbacks): New function.
11060         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11062 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11064         * locale/programs/localedef.c (oldstyle_tables): Remove.
11065         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11067 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11069         [BZ #20240]
11070         * math/Makefile (CFLAGS-s_modf.c): New variable.
11071         (CFLAGS-s_modff.c): Likewise.
11072         (CFLAGS-s_modfl.c): Likewise.
11073         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11075 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11077         [BZ #20215]
11078         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11079         [!__GNUC_PREREQ (3,2)]: Likewise.
11081 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11083         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11084         (msghdr.msg_controllen): Likewise.
11085         (cmsghdr.cmsg_len): Likewise.
11086         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11087         ptw-oldsendmsg.
11088         (CFLAGS-oldrecvmsg.c): Remove rule.
11089         (CFLAGS-oldsendmsg.c): Likewise.
11090         (CFLAGS-recvmsg.c): Add rule.
11091         (CFLAGS-sendmsg.c): Likewise.
11092         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11093         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11094         (CFLAGS-recvmsg.c): Remove rule.
11095         (CFLAGS-sendmsg.c): Likewise.
11096         (CFLAGS-oldrecvmsg.c): Likewise.
11097         (CFLAGS-oldsendmsg.c): Likewise.
11098         (CFLAGS-recvmmsg.c): Likewise.
11099         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11100         to kernel defined interfaces.
11101         (msghdr.msg_controllen): Likewise.
11102         (cmsghdr.cmsg_len): Likewise.
11103         (msghdr.__glibc_reserved1): Remove member.
11104         (msghdr.__glibc_reserved2): Likewise.
11105         (cmsghdr.__glibc_reserved1): Likewise.
11106         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11107         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11108         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11109         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11110         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11111         version.
11112         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11113         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11114         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11115         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11116         Remove recvmsg and sendmsg.
11117         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11118         Likewise.
11119         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11120         Likewise.
11121         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11122         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11123         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11124         Likewise.
11125         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11126         Likewise.
11127         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11128         [libc] (GLIBC_2.24): Likewise.
11129         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11130         Likewise.
11131         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11132         Likewise.
11133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11134         [libc] (GLIBC_2.24): Likewise.
11135         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11136         Likewise.
11137         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11138         Likewise.
11139         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11140         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11141         Likewise.
11142         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11143         Likewise.
11144         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11145         Likewise.
11146         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11147         Likewise.
11148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11149         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11150         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11151         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11152         version for {recv,send,recm,sendm}msg.
11153         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11154         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11155         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11156         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11157         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11158         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11159         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11160         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11161         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11162         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11163         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11166         Likewise.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11171         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11172         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11173         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11174         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11175         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11179         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11180         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11181         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11183 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11185         [BZ #19564]
11186         Remove __malloc_initialize_hook from the API.
11187         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11188         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11189         #pragma GCC poison.
11190         * malloc/malloc-hooks.h: New file.
11191         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11192         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11193         (old__malloc_initialize_hook): Rename from
11194         __malloc_initialize_hook to evade poisoning.  Turn into compat
11195         symbol.
11196         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11197         __malloc_initialize_hook.
11198         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11199         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11200         * manual/memory.texi (Hooks for Malloc): Remove
11201         __malloc_initialize_hook.  Adjust hook example.
11203 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #20235]
11206         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11207         itself.
11208         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11209         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11211         [BZ #20234]
11212         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11213         infinity or NaN input to itself.
11215         [BZ #20233]
11216         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11217         to itself.
11219         [BZ #20232]
11220         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11221         itself.
11223 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11225         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11226         __libc_start_main via GOT.
11228 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11230         * sysdeps/x86_64/memcopy.h: New file.
11231         * sysdeps/x86_64/wordcopy.c: Likewise.
11233 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11235         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11236         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11237         <cstdlib>.
11238         (optimization_barrier): New.
11239         (do_test): Use it.  Call quick_exit in the global namespace.
11240         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11241         instead of <cstdlib>, <thread>.
11242         (optimization_barrier): New.
11243         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11244         Call quick_exit in the global namespace.
11245         (do_test): Call optimization_barrier.  Use pthread_create,
11246         pthread_join instead of std::thread.
11248 2016-06-09  Andreas Schwab  <schwab@suse.de>
11250         [BZ #19755]
11251         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11252         new entries in auto-propagate mode.
11253         * nscd/grpcache.c (cache_addgr): Likewise.
11255 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11257         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11258         New functions.
11259         (add_temp_file): Use them.
11261 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11263         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11265 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11267         [BZ #20229]
11268         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11269         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11270         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11272         [BZ #20228]
11273         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11274         itself.
11275         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11276         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11278         [BZ #20227]
11279         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11280         itself.
11281         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11282         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11283         * math/libm-test.inc (log_test_data): Add sNaN tests.
11285         [BZ #20226]
11286         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11287         itself.
11288         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11289         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11290         (exp10_test_data): Likewise.
11291         (expm1_test_data): Likewise.
11293         [BZ #20225]
11294         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11295         itself.
11296         * math/s_ldexpf.c (__ldexpf): Likewise.
11297         * math/s_ldexpl.c (__ldexpl): Likewise.
11298         * math/w_scalbln.c (__w_scalbln): Likewise.
11299         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11300         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11301         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11302         (scalbln_test_data): Likewise.
11304         [BZ #20224]
11305         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11306         argument to itself.
11307         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11309 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11311         [BZ #19776]
11312         * sysdeps/x86_64/memcpy.S: Make it dummy.
11313         * sysdeps/x86_64/mempcpy.S: Likewise.
11314         * sysdeps/x86_64/memmove.S: New file.
11315         * sysdeps/x86_64/memmove_chk.S: Likewise.
11316         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11317         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11318         * sysdeps/x86_64/memmove.c: Removed.
11319         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11320         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11321         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11322         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11323         Likewise.
11324         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11325         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11327         memcpy-sse2-unaligned, memmove-avx-unaligned,
11328         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11330         (__libc_ifunc_impl_list): Replace
11331         __memmove_chk_avx512_unaligned_2 with
11332         __memmove_chk_avx512_unaligned.  Remove
11333         __memmove_chk_avx_unaligned_2.  Replace
11334         __memmove_chk_sse2_unaligned_2 with
11335         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11336         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11337         with __memmove_avx512_unaligned.  Replace
11338         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11339         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11340         with __memcpy_chk_avx512_unaligned.  Remove
11341         __memcpy_chk_avx_unaligned_2.  Replace
11342         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11343         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11344         Replace __memcpy_avx512_unaligned_2 with
11345         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11346         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11347         with __mempcpy_chk_avx512_unaligned.  Remove
11348         __mempcpy_chk_avx_unaligned_2.  Replace
11349         __mempcpy_chk_sse2_unaligned_2 with
11350         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11351         Replace __mempcpy_avx512_unaligned_2 with
11352         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11353         Replace __mempcpy_sse2_unaligned_2 with
11354         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11355         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11356         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11357         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11358         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11359         (ENTRY): Removed.
11360         (END): Likewise.
11361         (ENTRY_CHK): Likewise.
11362         (libc_hidden_builtin_def): Likewise.
11363         Don't include ../memcpy.S.
11364         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11365         __memcpy_chk_avx512_unaligned_erms and
11366         __memcpy_chk_avx512_unaligned.  Use
11367         __memcpy_chk_avx_unaligned_erms and
11368         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11369         Default to __memcpy_chk_sse2_unaligned.
11370         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11371         Change function suffix from unaligned_2 to unaligned.
11372         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11373         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11374         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11375         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11376         (ENTRY): Removed.
11377         (END): Likewise.
11378         (ENTRY_CHK): Likewise.
11379         (libc_hidden_builtin_def): Likewise.
11380         Don't include ../mempcpy.S.
11381         (mempcpy): New.  Add a weak alias.
11382         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11383         __mempcpy_chk_avx512_unaligned_erms and
11384         __mempcpy_chk_avx512_unaligned.  Use
11385         __mempcpy_chk_avx_unaligned_erms and
11386         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11387         Default to __mempcpy_chk_sse2_unaligned.
11389 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11391         [BZ #19881]
11392         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11393         into ...
11394         * sysdeps/x86_64/memset.S: This.
11395         (__bzero): Removed.
11396         (__memset_tail): Likewise.
11397         (__memset_chk): Likewise.
11398         (memset): Likewise.
11399         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11400         defined.
11401         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11402         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11403         (__memset_zero_constant_len_parameter): Check SHARED instead of
11404         PIC.
11405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11406         memset-avx2 and memset-sse2-unaligned-erms.
11407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11408         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11409         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11410         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11411         (__bzero): Enabled.
11412         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11413         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11414         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11415         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11416         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11417         (memset): Removed.
11418         (__memset_chk): Likewise.
11419         (MEMSET_SYMBOL): New.
11420         (libc_hidden_builtin_def): Replace __memset_sse2 with
11421         __memset_sse2_unaligned.
11422         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11423         __memset_chk_sse2 and __memset_chk_avx2 with
11424         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11425         Use __memset_chk_sse2_unaligned_erms or
11426         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11427         __memset_chk_avx512_unaligned_erms and
11428         __memset_chk_avx512_unaligned.
11430 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11432         * math/gen-auto-libm-test.c (fp_format_desc): remove
11433         suffix member.
11434         (output_generic_value): Remove usage of suffix member,
11435         and the resulting unuse of the fp_format argument.
11436         (output_for_one_input_case): Remove unused fp_format
11437         parameter.
11439         * math/auto-libm-test-out: Regenerate.
11441         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11442         usage with TEST_COND_ibm128.
11443         (TEST_COND_flt_32): Remove.
11444         (TEST_COND_dbl_64): Remove.
11445         (TEST_COND_ldbl_96_intel): Remove.
11446         (TEST_COND_ldbl_96_m68k): Remove.
11447         (TEST_COND_ldbl_128): Remove.
11449 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11451         * auto-libm-test-in:
11452         Replace flt-32 usage with binary32.
11453         Replace dbl-64 usage with binary64.
11454         Replace ldbl-intel-96 usage with intel96.
11455         Replace ldbl-m68k-96 usage with m68k96.
11456         Replace ldbl-128ibm usage with ibm128.
11457         Replace ldbl-128 usage with binary128.
11459         * auto-libm-test-out: Regenerate.
11461 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11463         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11464         (parse_ulps): Dynamically generate type name matching
11465         string from all_floats.
11466         (get_ulps): Generate the ulps as an array instead.
11467         (output_ulps): Dynamically compose the type based
11468         on the number of supported formats, and print
11469         the indices as type specific helper macros.
11471         * math/libm-test.inc: Remove comment about CHOOSE.
11472         (ulp_data): Generate the type in libm-test-ulps.h.
11473         (ULP_IDX): New macro.
11474         (find_ulps): Update usage of max_ulp.
11476         * math/test-double-vlen2.h (CHOOSE): Remove.
11477         * math/test-double-vlen4.h (CHOOSE): Likewise.
11478         * math/test-double-vlen8.h (CHOOSE): Likewise.
11479         * math/test-float.c (CHOOSE): Likewise.
11480         * math/test-float-finite.c (CHOOSE): Likewise.
11481         * math/test-double.c (CHOOSE): Likewise.
11482         * math/test-double-finite.c (CHOOSE): Likewise.
11483         * math/test-idouble.c (CHOOSE): Likewise.
11484         * math/test-ifloat.c (CHOOSE): Likewise.
11485         * math/test-ildoubl.c (CHOOSE): Likewise.
11486         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11487         * math/test-ldouble.c (CHOOSE): Likewise.
11489         * math/test-float.h (TEST_FLOAT): Remove.
11490         * math/test-double.h (TEST_DOUBLE): Likewise.
11491         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11493 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11495         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11496         (parse_args): Strip C suffix from floating point literals
11497         typed with 'f' and wrap them with LIT().
11499         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11500         (test_ff_f_data_nexttoward): Rename to
11501         (test_fj_f_data): New struct.
11502         (nexttoward_test_data): Relabel tests as
11503         TEST_fj_f instead of TEST_ff_f.
11505 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11507         Emacs bug 23726.
11508         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11509         (__libc_realloc): Correct size computation for dumped fake mmapped
11510         chunks.
11512 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11514         [BZ #20219]
11515         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11516         to itself.
11517         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11519         [BZ #20218]
11520         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11521         to itself.
11522         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11524 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11526         [BZ #20195]
11527         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11528         check to ...
11529         (init_cpu_features): Here.
11531 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11533         [BZ #20214]
11534         * sysdeps/unix/sysv/linux/bits/in.h
11535         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11536          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11537         Define to 1.
11538         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11539          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11540         Define to 0.
11541         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11542         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11544 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11546         [BZ #20198]
11547         * stdlib/Makefile (tests): Add tst-quick_exit, and
11548         tst-thread-quick_exit.
11549         [ifeq ($(have-cxx-thread_local),yes)]
11550         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11551         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11552         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11553         (LDLIBS-tst-thread-quick_exit): Likewise.
11554         [ifneq ($(have-cxx-thread_local),yes)]
11555         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11556         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11557         If run_dtors is true call __call_tls_dtors.
11558         (exit): Call __run_exit_handlers with run_dtors set to true.
11559         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11560         definition.
11561         * stdlib/quick_exit.c (quick_exit): Remove function.
11562         (__new_quick_exit): New function.
11563         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11564         function.
11565         * stdlib/tst-quick_exit.cc: New file.
11566         * stdlib/tst-thread-quick_exit.cc: New file.
11567         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11568         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11569         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11570         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11571         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11572         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11573         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11574         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11575         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11576         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11577         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11578         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11579         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11580         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11581         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11582         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11587         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11589         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11590         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11591         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11594         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11595         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11596         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11598 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11600         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11601         a typo in comments.
11603 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11605         [BZ #20213]
11606         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11607         argument to itself.
11608         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11610 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11612         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11613         required flags.
11614         (CFLAGS-pwritev64.c): Likewise.
11615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11616         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11617         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11618         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11619         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11620         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11621         syscall from auto-generation.
11622         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11623         [WORDSIZE == 64] (pwritev64): Remove macro.
11624         [!PWRITEV] (PWRITEV): Likewise.
11625         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11626         [!PWRITEV] (PWRITE): Likewise.
11627         [!PWRITEV] (OFF_T): Likewise.
11628         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11629         (LO_HI_LONG): Remove macro.
11630         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11631         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11632         (PWRITEV): Remove macro.
11633         (PWRITEV_REPLACEMENTE): Likewise.
11634         (PWRITE): Likewise.
11635         (OFF_T): Likewise.
11636         (pwritev64): New function.
11637         * nptl/tst-cancel4.c (tf_writev): Add test.
11639         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
11640         required flags.
11641         (CFLAGS-preadv64.c): Likewise.
11642         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
11643         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11644         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
11645         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
11646         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
11647         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
11648         syscall from auto-generation.
11649         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
11650         [WORDSIZE == 64] (preadv64): Remove macro.
11651         [!PREADV] (PREADV): Likewise.
11652         [!PREADV] (PREADV_REPLACEMENT): Likewise.
11653         [!PREADV] (PREAD): Likewise.
11654         [!PREADV] (OFF_T): Likewise.
11655         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
11656         (LO_HI_LONG): Remove macro.
11657         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
11658         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
11659         (PREADV): Remove macro.
11660         (PREADV_REPLACEMENTE): Likewise.
11661         (PREAD): Likewise.
11662         (OFF_T): Likewise.
11663         (preadv64): New function.
11664         * nptl/tst-cancel4.c (tf_preadv): Add test.
11666 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11668         [BZ #20212]
11669         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
11670         argument to itself.
11671         * math/libm-test.inc (acos_test_data): Add sNaN tests.
11673 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11675         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
11676         New symbol defined as libc_hidden_def.
11677         (strcasestr): Became a weak alias to __strcasestr.
11678         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
11679         according to multi-arch support.  Move __stpncpy hidden
11680         definition from here to...
11681         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
11682         symbol stpncpy.
11683         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
11684         libc_hidden_builtin_def.
11685         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
11686         memset symbol to use when multi-arch support is available.
11688 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11690         * dlfcn/tst-rec-dlopen.c: Include string.h.
11692 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11694         * manual/install.texi: Remove mention of --without-tls
11695         * INSTALL: Regenerate.
11697 2016-06-05  Florian Weimer  <fweimer@redhat.com>
11699         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
11700         Remove.
11701         (call_function, interposed_malloc_called): New variables.
11702         (malloc): New function.
11703         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
11704         and clear call_function as needed.
11706 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
11708         * include/wchar.h (__wmemset): Use __typeof.
11710 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
11712         * include/wchar.h (__wmemset): Declare function without typeof.
11714 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
11716         [BZ #20205]
11717         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
11718         exponent when incrementing negative subnormal with low mantissa
11719         word zero.
11720         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11721         Add another test.
11723 2016-06-03  Florian Weimer  <fweimer@redhat.com>
11725         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
11726         __wmemset instead of wmemset.
11728 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
11730         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
11731         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
11732         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
11733         __USE_KERNEL_IPV6_DEFS to 0.
11734         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
11735         Update comment.
11737 2016-06-01  Florian Weimer  <fweimer@redhat.com>
11739         [BZ #19861]
11740         Do not use IFUNC resolver with potentially unrelocated symbol.
11741         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
11742         (DEFINE_FORK): Remove macro and inline definition.
11743         (fork_alias): Renamed from fork_ifunc.
11744         (__fork_alias): Renamed from __fork_ifunc.
11746 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
11748         [BZ 19653]
11749         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
11750         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
11752 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11754         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
11755         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
11756         i386-linux-gnu).
11757         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
11758         Set to no.
11759         * sysdeps/mach/hurd/configure: Refresh.
11761 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11763         [BZ #20178]
11764         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
11765         on failure instead of exit.
11767 2016-05-30  Roland McGrath  <roland@hack.frob.com>
11769         [BZ #3629]
11770         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
11771         of POSIX.1-2008.
11773 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11775         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
11776           Use PLT entry for calling _hurd_self_sigstate.
11778 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
11780         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
11781         available logical processors with SMT level type sharing L2
11782         cache for Intel processors.
11784 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11786         [BZ #20160]
11787         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
11788         argument to itself before returning the result.
11789         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11790         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11791         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11792         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11793         Likewise.
11794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11795         Likewise.
11796         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
11797         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
11798         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11799         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11800         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11801         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11803         [BZ #20160]
11804         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
11805         argument to itself before returning the result.
11806         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11807         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11808         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11809         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
11810         Likewise.
11811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11812         Likewise.
11813         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
11814         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
11815         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
11816         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11817         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11818         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11820 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11822         * libm-test.inc: Replace usage of M_El with
11823         (lit_e): New macro.
11825 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11827         * libm-test.inc: Replace usage of M_PI_4l with
11828         (lit_pi_4_d): New macro.
11830 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11832         * libm-test.inc: Replace usage of M_PIl with
11833         (lit_pi): New macro.
11835 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11837         * libm-test.inc: Replace usage of M_PI2l with
11838         (lit_pi_2_d): New macro.
11840         * math/test-double.h (LITM): New macro.
11841         * math/test-float.h (LITM): Likewise.
11842         * math/test-ldouble.h (LITM): Likewise.
11844 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11846         * libm-test.inc (M_PI_34l): Rename to
11847         (lit_pi_3_m_4_d): New Macro.
11848         (M_PI_34_LOG10El): Rename to
11849         (lit_pi_3_m_4_ln10_m_d): New Macro.
11850         (M_PI2_LOG10El): Rename to
11851         (lit_pi_2_ln10_m_d):  New Macro.
11852         (M_PI4_LOG10El): Rename to
11853         (lit_pi_4_ln10_m_d):  New Macro.
11854         (M_PI_LOG10El): Rename to
11855         (lit_pi_ln10_d):  New Macro.
11857 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11859         [BZ #20157]
11860         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
11861         determine whether to negate low half if [_ARCH_PPCGR], and integer
11862         comparison otherwise.
11863         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
11864         determine whether to negate low half.
11866         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
11867         (NO_TEST_INLINE_DOUBLE): Likewise.
11868         (TEST_COND_x86_64): Likewise.
11869         (TEST_COND_x86): Likewise.
11870         (M_PI_6l): Likewise.
11872 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11874         * math/libm-test.inc:
11875         (TEST_FLOAT): Change usage to TEST_COND_binary32.
11876         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
11877         (TEST_LDOUBLE): Update usage to evaluate as true if
11878         the guarded tests match the property being tested.
11879         (LDBL_MAX_EXP): Change to MAX_EXP.
11880         (LDBL_MIN_EXP): Change to MIN_EXP.
11881         (LDBL_MANT_DIG): Change to MANT_DIG, except for
11882         nexttoward tests.
11884 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11886         * math/libm-test.inc:
11887         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
11888         (TYPE_MIN): Likewise.
11889         (TYPE_TRUE_MIN): Likewise.
11890         (TYPE_MAX): Likewise.
11891         (MIN_EXP): Likewise.
11892         (MAX_EXP): Likewise.
11893         (MANT_DIG): Likewise.
11895         (FSTR_MAX): New macro.
11896         (__CONCATX): Likewise.
11897         (QTYPE_STR): Likewise.
11898         (TEST_COND_binary32): Likewise.
11899         (TEST_COND_binary64): Likewise.
11900         (TEST_COND_binary128): Likewise.
11901         (TEST_COND_ibm128): Likewise.
11902         (TEST_COND_intel96): Likewise.
11903         (TEST_COND_m68k96): Likewise.
11905         (TEST_COND_flt_32): Redefine as equivalent format test macro.
11906         (TEST_COND_dbl_64): Likewise.
11907         (TEST_COND_ldbl_96_intel): Likewise.
11908         (TEST_COND_ldbl_96_m68k): Likewise.
11909         (TEST_COND_ldbl_128): Likewise.
11910         (TEST_COND_ldbl_128ibm): Likewise.
11912         (plus_zero): Redefine using LIT macro.
11913         (minus_zero): Likewise.
11914         (plus_infty): Redefine as (INF).
11915         (minux_infty): Redefine as (-INF).
11916         (max_value): Redefine as TYPE_MAX.
11917         (min_value): Redefine as TYPE_MIN.
11918         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
11920         (print_float): Refactor to use snprintf to convert FLOAT values
11921         to string. This brings it closer to dropin replacement of strtof
11922         for the TS 18661 defined types.
11923         (update_stats): Likewise.
11924         (print_complex_function_ulps): Likewise.
11925         (print_max_error): Likewise.
11926         (print_complex_max_error): Likewise.
11927         (check_float_internal): Likewise.
11929         * math/test-float.h (PREFIX): New macro.
11930         (LIT): Likewise.
11931         (TYPE_STR): Likewise.
11932         (FTOSTR): Likewise.
11934         * math/test-double.h (PREFIX): New macro.
11935         (LIT): Likewise.
11936         (TYPE_STR): Likewise.
11937         (FTOSTR): Likewise.
11939         * math/test-ldouble.h (PREFIX): New macro.
11940         (LIT): Likewise.
11941         (TYPE_STR): Likewise.
11942         (FTOSTR): Likewise.
11944 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11946         [BZ #20156]
11947         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
11948         to itself when zero or not finite.
11949         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
11950         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11951         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
11952         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
11954 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
11956         [BZ #20153]
11957         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
11958         x * x + x for infinities and NaNs.
11960         [BZ #20151]
11961         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
11962         argument to itself before returning result.
11963         (__ieee754_y0l): Likewise.
11964         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11965         (__ieee754_y1l).
11967         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
11968         (atan_test_data): Likewise.
11969         (ceil_test_data): Likewise.
11970         (cos_test_data): Likewise.
11971         (cosh_test_data): Likewise.
11972         (erf_test_data): Likewise.
11973         (exp2_test_data): Likewise.
11974         (fabs_test_data): Likewise.
11975         (floor_test_data): Likewise.
11976         (ilogb_test_data): Likewise.
11977         (j0_test_data): Likewise.
11978         (j1_test_data): Likewise.
11979         (jn_test_data): Likewise.
11980         (lgamma_test_data): Likewise.
11981         (lrint_test_data): Likewise.
11982         (llrint_test_data): Likewise.
11983         (logb_test_data): Likewise.
11984         (lround_test_data): Likewise.
11985         (llround_test_data): Likewise.
11986         (nearbyint_test_data): Likewise.
11987         (rint_test_data): Likewise.
11988         (round_test_data): Likewise.
11989         (sin_test_data): Likewise.
11990         (sincos_test_data): Likewise.
11991         (sinh_test_data): Likewise.
11992         (sqrt_test_data): Likewise.
11993         (tan_test_data): Likewise.
11994         (tanh_test_data): Likewise.
11995         (tgamma_test_data): Likewise.
11996         (trunc_test_data): Likewise.
11997         (y0_test_data): Likewise.
11998         (y1_test_data): Likewise.
11999         (yn_test_data): Likewise.
12001         * math/libm-test.inc: Update comment about NaN testing.
12002         (TEST_SNAN): New macro.
12003         (snan_value): Likewise.
12004         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12005         (fpclassify_test_data): Add sNaN tests.
12006         (isfinite_test_data): Likewise.
12007         (isinf_test_data): Likewise.
12008         (isnan_test_data): Likewise.
12009         (isnormal_test_data): Likewise.
12010         (issignaling_test_data): Likewise.
12011         (signbit_test_data): Likewise.
12012         * math/gen-libm-test.pl (%beautify): Add snan_value.
12013         (show_exceptions): Add argument $test_snan.
12014         (parse_args): Handle snan_value as non-finite.  Update call to
12015         show_exceptions.
12016         * math/Makefile (libm-test-no-inline-cflags): Add
12017         -fsignaling-nans.
12019 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12021         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12022         (CFLAGS-oldsendmsg.c): Add rule.
12023         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12024         Correct recvmsg symbol name.
12025         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12026         Likewise.
12028 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12030         * sysdeps/unix/sysv/linux/Makefile
12031         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12032         oldsendmmsg.
12033         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12034         sendmmsg.
12035         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12036         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12037         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12038         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12040         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12041         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12043         Likewise.
12044         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12045         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12046         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12047         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12048         iovlen and controllen fields to adjust to POSIX specification.
12049         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12051         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12052         and change to correct expected type.
12053         (msghdr.msg_controllen): Likewise.
12054         (cmsghdr.cmsg_len): Likewise.
12055         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12056         expected POSIX assumption about the size.
12057         (msghdr.msg_controllen): Likewise.
12058         (msghdr.__glibc_reserved1): Likewise.
12059         (msghdr.__glibc_reserved2): Likewise.
12060         (cmsghdr.cmsg_len): Likewise.
12061         (cmsghdr.__glibc_reserved1): Likewise.
12062         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12063         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12064         (CFLAGS-sendmsg.c): Remove rule.
12065         (CFLAGS-recvmsg.c): Likewise.
12066         (CFLAGS-oldsendmsg.c): Add rule.
12067         (CFLAGS-oldrecvmsg.c): Likewise.
12068         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12069         recvmsg and sendmsg.
12070         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12071         Likewise.
12072         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12073         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12074         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12075         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12076         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12077         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12078         Likewise.
12079         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12080         Likewise.
12081         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12082         Likewise.
12083         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12084         Likewise.
12085         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12086         Likewise.
12087         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12088         Likewise.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12090         (GLIBC_2.24): Likewise.
12091         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12092         Likewise.
12093         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12094         Likewise.
12095         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12096         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12097         Likewise.
12098         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12099         Likewise.
12100         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12101         Likewise.
12102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12103         (GLIBC_2.24): Likewise.
12104         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12105         Likewise.
12106         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12107         Likewise.
12108         * sysdeps/unix/sysv/linux/Makefile
12109         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12110         (CFLAGS-sendmsg.c): Add rule.
12111         (CFLAGS-recvmsg.c): Likewise.
12112         (CFLAGS-oldsendmsg.c): Likewise.
12113         (CFLAGS-oldrecvmsg.c): Likewise.
12114         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12115         initialization.
12116         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12117         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12118         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12119         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12120         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12121         iovlen and controllen fields to adjust to POSIX specification.
12122         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12123         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12124         added recvmsg and sendmsg.
12125         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12126         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12127         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12128         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12129         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12130         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12136         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12138         Likewise.
12139         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12141         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12142         Likewise.
12143         Likewise.
12144         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12151         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12153         Likewise.
12154         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12157         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12158         from auto-generation.
12159         (sendmsg): Likewise.
12160         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12161         (sendmsg): Likewise.
12162         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12163         (sendmsg): Likewise.
12164         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12165         (sendmsg): Likewise.
12166         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12167         (sendmsg): Likewise.
12168         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12169         (sendmsg): Likewise.
12170         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12171         Likewise.
12172         (sendmsg): Likewise.
12173         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12174         (sendmsg): Likewise.
12175         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12177         Remove.
12178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12179         Likewise.
12180         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12181         Undefine.
12182         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12183         Likewise.
12184         * sysdeps/unix/sysv/linux/kernel-features.h
12185         (__ASSUME_SENDMSG_SYSCALL): Define.
12186         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12187         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12189         Remove.
12190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12191         Likewise.
12192         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12193         Undefine.
12194         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12195         Likewise.
12196         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12198         Remove.
12199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12200         Likewise.
12201         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12202         Undefine.
12203         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12206         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12207         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12209         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12210         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12211         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12212         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12213         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12215 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12217         * stdlib/gen-tst-strtod-round.c: Add backslash to
12218         compile command in comment.
12219         (printfp): Remove the literal suffix, and define an infinite
12220         value as INF to avoid expansion clash with INFINITY.
12221         (round_str): Remove the literal suffix.
12222         (round_for_all): Likewise, remove the now duplicate ldbl-64
12223         entry, and remove some magic constants.
12225         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12226         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12227         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12228         (_CONCAT): New macro.
12229         (CONCAT): Likewise.
12230         (CHOOSE_ld): Likewise.
12231         (CHOOSE_f): Likewise.
12232         (CHOOSE_d): Likewise.
12233         (FTYPE_MEMBER): Likewise.
12234         (BOOL_MEMBER): Likewise.
12235         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12236         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12237         (_XNTRY): Likewise.
12238         (XNTRY): Likewise.
12239         (_ENTRY): Likewise.
12240         (ENTRY): Likewise.
12241         (test_exactness): Generate members via macro.
12242         (test_results): Likewise.
12243         (test): Update members.
12244         (TEST): Redefine using new macros.
12245         (INF): New macro.
12246         (fetestmodes): New structure.
12247         (do_test): Refactor to be type generic.
12248         (test_in_one_mode): Refactor duplicate code into
12249         (GEN_ONE_TEST): New macro.
12251         * stdlib/tst-strtod-round-data.h: Regenerate.
12253         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12254         Extend to pass additional arbitrary parameters to
12255         generators.
12257 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12259         [BZ #15479]
12260         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12261         floating-point state after first floating-point operation on
12262         input.  Restore full floating-point state instead of just rounding
12263         mode.
12264         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12265         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12266         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12267         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12268         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12270         [BZ #15479]
12271         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12272         floating-point state after first floating-point operation on
12273         input.  Restore full floating-point state instead of just rounding
12274         mode.
12275         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12276         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12277         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12278         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12279         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12281 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12283         [BZ #19727]
12284         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12285         valid high surrogate.
12286         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12287         of an utf16 surrogate.
12288         * iconv/gconv_simple.c (BODY): Likewise.
12289         * iconvdata/bug-iconv12.c: New file.
12290         * iconvdata/Makefile (tests): Add bug-iconv12.
12292 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12294         [BZ #19726]
12295         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12296         outptrp in case of an illegal input.
12297         * iconv/tst-iconv6.c: New file.
12298         * iconv/Makefile (tests): Add tst-iconv6.
12300 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12302         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12303         an error in case of a value in range of an utf16 low surrogate.
12305 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12307         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12308         an error in case of a value in range of an utf16 low surrogate.
12310 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12312         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12313         Move to ...
12314         * sysdeps/s390/Makefile: ... here.
12315         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12316         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12317         (BRANCH_ON_COUNT): New define.
12318         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12319         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12320         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12321         run on s390-32, too.
12322         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12323         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12324         run on s390-32, too.
12325         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12326         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12327         run on s390-32, too.
12329 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12331         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12332         etf3eh or new vector loop-variant.
12334 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12336         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12337         etf3eh or new vector loop-variant.
12339 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12341         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12342         or new vector loop-variant.
12344 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12346         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12347         Rename to TR_LOOP and usage of tr instead of troo instruction.
12349 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12351         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12354 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12356         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12357         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12358         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12359         New override define.
12360         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12362 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12364         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12365         * sysdeps/s390/configure.ac: Add test for S390 vector register
12366         support in gcc.
12367         * sysdeps/s390/configure: Regenerated.
12369 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12371         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12372         Install file from $(objpfx)gconv-modules.
12373         ($(objpfx)gconv-modules): Concatenate architecture specific file
12374         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12375         * sysdeps/s390/gconv-modules: New file.
12376         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12377         Deleted.
12378         ($(objpfx)gconv-modules-s390): Deleted.
12379         (sysdeps-gconv-modules): New variable.
12381 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12383         [BZ #15479]
12384         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12385         of immediate operand to rounding instruction.
12386         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12387         Likewise.
12388         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12389         Likewise.
12390         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12391         Likewise.
12393 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12395         * math/libm-test.inc (MIN_EXP): Directly define as
12396         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12398 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12400         * math/libm-test.inc (MANT_DIG): Directly define as
12401         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12403 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12405         * stdlib/gen-tst-strtod-round.c (main):
12406           Change usage to more closely match the generated
12407           output.  Add usage and compilation instructions.
12408           (string_to_fp): Add and use FILE* parameter as
12409           output target.
12410           (print_fp): Likewise.
12411           (round_str): Likewise.
12412           (round_for_all): Likewise.
12413         * stdlib/tst-strtod-round.c (tests): Move into
12414         * stdlib/tst-strtod-round-data.h: New file.
12416 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12418         [BZ #15479]
12419         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12420         (__round): Do not force "inexact" exception.
12421         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12422         variable.
12423         (__round): Do not force "inexact" exception.
12424         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12425         (__roundf): Do not force "inexact" exception.
12426         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12427         (__roundl): Do not force "inexact" exception.
12428         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12429         (__roundl): Do not force "inexact" exception.
12430         * math/libm-test.inc (round_test_data): Do not allow spurious
12431         "inexact" exceptions.
12433         [BZ #15479]
12434         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12435         exception in comment.
12436         (huge): Remove variable.
12437         (__floor): Do not force "inexact" exception.
12438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12439         "inexact" exception in comment.
12440         (huge): Remove variable.
12441         (__floor): Do not force "inexact" exception.
12442         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12443         exception in comment.
12444         (huge): Remove variable.
12445         (__floorf): Do not force "inexact" exception.
12446         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12447         exception in comment.
12448         (huge): Remove variable.
12449         (__floorl): Do not force "inexact" exception.
12451         [BZ #15479]
12452         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12453         exception in comment.
12454         (huge): Remove variable.
12455         (__ceil): Do not force "inexact" exception.
12456         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12457         "inexact" exception in comment.
12458         (huge): Remove variable.
12459         (__ceil): Do not force "inexact" exception.
12460         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12461         (__ceilf): Do not force "inexact" exception.
12462         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12463         exception in comment.
12464         (huge): Remove variable.
12465         (__ceill): Do not force "inexact" exception.
12467 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12469         * config.h.in (BIND_NOW): New.
12470         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12471         * configure: Regenerated.
12472         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12473         indirect branch via the GOT slot.
12475 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12477         [BZ #19765]
12478         * sysdeps/s390/mempcpy.S: New File.
12479         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12480         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12481         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12482         Add mempcpy variants.
12483         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12484         (memcpy): Adjust to be usable from mempcpy entry point.
12485         (__memcpy_mvcle): Likewise.
12486         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12487         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12488         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12489         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12490         (__memcpy_z10): Likewise.
12491         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12493 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12495         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12496         Remove __GI_ symbol.
12497         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12498         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12499         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12500         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12501         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12502         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12504 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12506         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12507         Use cghi instead of chi to compare 64bit value.
12509 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12511         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12512         Jump to 1MB check before executing mvc-loop.
12514 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12516         [BZ #6527]
12517         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12518         unconditionally.
12519         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12521 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12523         * stdlib/tst-strtod6.c (do_test): Use new type generic
12524         invocation of the test function.
12525         (test): Refactor into ...
12526         (TEST_STRTOD): New macro base function.
12528 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12530         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12531         (TEST_STRTOD): New macro.
12532         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12534 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12536         * stdlib/tst-strtod6.c (do_test): Use new type generic
12537         invocation of the test function.
12538         (test): Refactor into ...
12539         (TEST_STRTOD): New macro base function.
12541 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12543         CVE-2016-4429
12544         [BZ #20112]
12545         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12546         payload.
12548 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12550         [BZ #20111]
12551         * bits/sockaddr.h (_SS_SIZE): Define.
12552         * bits/socket.h (_SS_SIZE): Remove.
12553         (_SS_PADSIZE): Adjust to account for all padding.
12554         (struct sockaddr_storage): Update comment.  Avoid implicit
12555         padding.
12556         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12557         (_SS_PADSIZE): Adjust to account for all padding.
12558         (struct sockaddr_storage): Update comment.  Avoid implicit
12559         padding.
12560         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12561         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12562         (_SS_PADSIZE): Adjust to account for all padding.
12563         (struct sockaddr_storage): Update comment.  Avoid implicit
12564         padding.
12565         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12566         __SS_SIZE is 126 in this version.
12567         * inet/tst-sockaddr.c: New file.
12568         * inet/Makefile (tests): Add tst-sockaddr.c
12569         (tst-sockaddr.c): Compile with non-strict aliasing.
12571 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12573         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12574         [XPG3 || XPG4].
12575         (NL_ARGMAX): Also expect for [XPG3].
12576         (NL_LANGMAX): Likewise.
12577         (NL_MSGMAX): Likewise.
12578         (NL_NMAX): Likewise.
12579         (NL_SETMAX): Likewise.
12580         (NL_TEXTMAX): Likewise.
12581         (NZERO): Likewise.
12582         (TMP_MAX): Likewise.
12583         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12584         variable.
12586         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12587         (PF_MAX): Update value.
12588         (AF_KCM): New macro.
12589         (SOL_NETBEUI): Likewise.
12590         (SOL_LLC): Likewise.
12591         (SOL_DCCP): Likewise.
12592         (SOL_NETLINK): Likewise.
12593         (SOL_TIPC): Likewise.
12594         (SOL_RXRPC): Likewise.
12595         (SOL_PPPOL2TP): Likewise.
12596         (SOL_BLUETOOTH): Likewise.
12597         (SOL_PNPIPE): Likewise.
12598         (SOL_RDS): Likewise.
12599         (SOL_IUCV): Likewise.
12600         (SOL_CAIF): Likewise.
12601         (SOL_ALG): Likewise.
12602         (SOL_NFC): Likewise.
12603         (SOL_KCM): Likewise.
12604         (MSG_BATCH): New enum value and macro.
12606 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12608         [BZ #18185]
12609         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12610         sharing L2 cache to 2 for Knights Landing.
12612 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
12614         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12615         (FTW_DP): Do not expect for [XPG3 || XPG4].
12616         (FTW_SL): Do not expect for [XPG3].
12617         (FTW_SLN): Likewise.
12618         (FTW_PHYS): Likewise.
12619         (FTW_MOUNT): Likewise.
12620         (FTW_DEPTH): Likewise.
12621         (FTW_CHDIR): Likewise.
12622         (nftw): Likewise.
12623         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12624         variable.
12626 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12628         * manual/errno.texi: Fix various typos & grammar errors.
12630 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12632         * manual/intro.texi: Fix duplicated typo.
12634 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12636         [BZ #13304]
12637         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
12638         <float.h>, <math_private.h> and <stdlib.h>.
12639         (add_split): New function.
12640         (mul_split): Likewise.
12641         (ext_val): New typedef.
12642         (store_ext_val): New function.
12643         (mul_ext_val): New function.
12644         (compare): New function.
12645         (add_split_ext): New function.
12646         (__fmal): After checking for Inf, NaN and zero, compute result as
12647         an exact sum of scaled double values in round-to-nearest before
12648         adding those up and adjusting for other rounding modes.
12649         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
12650         tests of fma.
12651         * math/auto-libm-test-out: Regenerated.
12653 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12655         [BZ #20119]
12656         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
12657         processor level type mask for CPUID with EAX == 11.
12659 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12661         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
12662         logical threads if the HTT bit is 0.
12663         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
12664         (index_cpu_HTT): Likewise.
12665         (reg_HTT): Likewise.
12667 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12669         [BZ #20115]
12670         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
12671         Remove alignments on jump targets.
12673 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12675         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
12676         (getpwent): Likewise.
12677         (setpwent): Likewise.
12678         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
12679         variable.
12681         * conform/data/search.h-data (insque): Do not expect for [XPG3].
12682         (remque): Likewise.
12683         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
12684         variable.
12686 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12688         * math/libm-test.inc: Update comment not to refer to signs of NaNs
12689         not being tested.
12691 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12693         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12694         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
12695         call.
12696         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12697         (__condvar_cleanup1): Likewise.
12699 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12701         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
12702         New
12703         (__pthread_unwind): Renamed to ...
12704         (PTHREAD_UNWIND): This.
12705         (__pthread_enable_asynccancel): Replace
12706         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
12708 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12710         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
12711         (CLONE_NEWCGROUP): New macro.
12713         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
12714         (Q_GETNEXTQUOTA): New macro.
12716 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12718         [BZ #19907]
12719         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
12720         buffer updated by the previous run.
12721         * string/test-memcpy.c (do_one_test): Likewise.
12722         * benchtests/bench-memmove.c (do_one_test): Add a comment.
12723         * string/test-memmove.c (do_one_test): Likewise.
12725 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
12727         [BZ #20094]
12728         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
12729         not [__USE_XOPEN].
12730         (unlockpt): Likewise.
12731         (ptsname): Likewise.
12732         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
12733         variable.
12735         [BZ #20076]
12736         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
12737         instead of [__USE_UNIX98].
12738         (S_ISSOCK): Likewise.
12739         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
12740         variable.
12742         [BZ #20074]
12743         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
12744         [__USE_POSIX].
12745         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
12746         variable.
12748         [BZ #20051]
12749         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
12750         (ttyslot): Do not declare.
12751         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
12752         (ttyslot): New prototype.
12753         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
12754         variable.
12755         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12757 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12759         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
12761 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12763         Fix race condition in tst-mallocfork2, use fewer resources.
12764         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
12765         to current process group.
12766         (signal_sender): Yield in the non-sleeping case.
12768 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
12770         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
12771         (ecvt): Likewise.
12772         (fcvt): Likewise.
12773         (gcvt): Likewise.
12774         (getsubopt): Likewise.
12775         (grantpt): Likewise.
12776         (initstate): Likewise.
12777         (l64a): Likewise.
12778         (mktemp): Likewise.
12779         (mkstemp): Likewise.
12780         (ptsname): Likewise.
12781         (random): Likewise.
12782         (realpath): Likewise.
12783         (setstate): Likewise.
12784         (srandom): Likewise.
12785         (ttyslot): Likewise.
12786         (unlockpt): Likewise.
12787         (valloc): Likewise.
12789         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
12790         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
12791         variable.
12793 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12795         [BZ #20072]
12796         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
12797         init_cpu_features only if SHARED is defined.
12798         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
12800 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12802         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
12803         non-inclusive caches on Intel processors.
12805 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12807         * malloc/malloc.c (dumped_main_arena_start)
12808         (dumped_main_arena_end): New variables.
12809         (DUMPED_MAIN_ARENA_CHUNK): New macro.
12810         (do_check_chunk): Skip dumped fake mmapped chunks.
12811         (munmap_chunk): Likewise.
12812         (__libc_free): Do not adjust statistics for fake mmapped chunks.
12813         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
12814         mmapped chunks.
12815         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
12816         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
12817         and dumped_main_arena_end to cover the dumped heap.
12819 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
12821         * conform/data/time.h-data (getdate_err): Do not expect for
12822         [XPG3].
12823         (getdate): Likewise.
12824         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
12825         variable.
12827         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
12828         (F_ULOCK): Likewise.
12829         (F_TEST): Likewise.
12830         (F_TLOCK): Likewise.
12831         (useconds_t): Likewise.
12832         (intptr_t): Do not expect for [XPG3] or [XPG4].
12833         (brk): Do not expect for [XPG3]
12834         (fchown): Likewise.
12835         (fchdir): Likewise.
12836         (ftruncate): Likewise.
12837         (getdtablesize): Likewise.
12838         (gethostid): Likewise.
12839         (getpagesize): Likewise.
12840         (getpgid): Likewise.
12841         (getsid): Likewise.
12842         (getwd): Likewise.
12843         (lchown): Likewise.
12844         (lockf): Likewise.
12845         (readlink): Likewise.
12846         (sbrk): Likewise.
12847         (setpgrp): Likewise.
12848         (setregid): Likewise.
12849         (setreuid): Likewise.
12850         (symlink): Likewise.
12851         (sync): Likewise.
12852         (truncate): Likewise.
12853         (ualarm): Likewise.
12854         (usleep): Likewise.
12855         (vfork): Likewise.
12856         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
12857         variable.
12859         [BZ #20054]
12860         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
12861         not [__USE_UNIX98].
12862         * conform/data/unistd.h-data (gethostname): Do not expect for
12863         [XPG3].
12865         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
12866         [!POSIX] (S_IFBLK): Likewise.
12867         [!POSIX] (S_IFCHR): Likewise.
12868         [!POSIX] (S_IFIFO): Likewise.
12869         [!POSIX] (S_IFREG): Likewise.
12870         [!POSIX] (S_IFDIR): Likewise.
12871         [!POSIX] (S_IFLNK): Likewise.
12872         [!POSIX] (S_IFSOCK): Likewise.
12873         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
12874         variable.
12875         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12877 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
12879         * sysdeps/aarch64/memset.S (__memset):
12880         Rewrite of optimized memset.
12882 2016-05-12  Florian Weimer  <fweimer@redhat.com>
12884         [BZ #19703]
12885         Partially async-signal-safe fork for single-threaded processes.
12886         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
12887         variable.  Do not acquire and reset/release malloc and libio locks
12888         in single-threaded processes.
12889         * malloc/tst-mallocfork2.c: New file.
12890         * malloc/Makefile (tests): Add it.
12892 2016-05-12  Florian Weimer  <fweimer@redhat.com>
12894         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
12895         argument.  Use scratch buffer instead of extend_alloca.
12896         (gethosts): Use scratch buffer instead of extend_alloca.
12897         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
12898         extend_alloca.
12899         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
12901 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
12903         [BZ #20055]
12904         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
12905         instead of [__USE_UNIX98].
12906         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
12907         [__USE_UNIX98].
12908         * conform/data/termios.h-data (tcgetsid): Do not expect for
12909         [XPG3].
12910         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
12911         variable.
12912         (test-xfail-XPG4/termios.h/conform): Likewise.
12914 2016-05-11  Florian Weimer  <fweimer@redhat.com>
12916         Do not use mcheck in localedef.
12917         * locale/programs/localedef.c (turn_on_mcheck)
12918         (__malloc_initialize_hook): Remove.
12920 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12922         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
12923         * sysdeps/s390/s390-64/Makefile: Likewise.
12925 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
12927         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
12928         Remove ifunc-defines.sym.
12929         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
12930         Likewise.
12931         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
12932         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12933         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
12934         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
12935         rtld-global-offsets.sym.
12936         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
12937         * sysdeps/x86/cpu-features-offsets.sym: This.
12938         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
12939         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
12941 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
12943         [BZ #20073]
12944         * io/sys/stat.h (fchmod): Declare for
12945         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
12946         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
12947         variable.
12949         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
12950         [XPG3] (S_IFSOCK): Likewise.
12951         [XPG3] (S_ISVTX): Likewise.
12952         [XPG3] (S_ISLNK): Likewise.
12953         [XPG3] (S_ISSOCK): Likewise.
12954         [XPG3] (fchmod): Likewise.
12955         [XPG3] (lstat): Likewise.
12956         [XPG3] (mknod): Likewise.
12958         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
12959         [XPG3].  Expect type long and XFAIL for [XPG4].
12960         (st_blocks): Likewise.
12962         [BZ #20044]
12963         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
12964         (pthread_atfork): New prototype.
12965         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
12966         variable.
12968         [BZ #20043]
12969         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
12970         prototype.
12972 2016-05-10  Florian Weimer  <fweimer@redhat.com>
12974         [BZ #20017]
12975         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
12976         gmtime.
12978 2016-05-10  Florian Weimer  <fweimer@redhat.com>
12980         [BZ #19994]
12981         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
12982         flag in _res.options.
12984 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
12986         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
12987         [XPG3 || XPG4].
12988         (blksize_t): Likewise.
12989         (clockid_t): Likewise.
12990         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
12991         variable.
12992         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12994 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12996         * sysdeps/unix/sysv/linux/s390/init-first.c:
12997         Add VDSO_SYMBOL(getcpu).
12998         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
12999         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13000         Add VDSO_SYMBOL(getcpu).
13001         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13002         New define HAVE_GETCPU_VSYSCALL.
13003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13005 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13007         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13008         instead of <sysdeps/x86_64/cacheinfo.c>.
13009         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13010         * sysdeps/x86/cacheinfo.c: Here.
13012 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13014         * malloc/malloc-internal.h: Adjust header file guard.
13016 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13018         [BZ #19787]
13019         * inet/getnameinfo.c (check_sprintf_result): New function.
13020         (CHECKED_SNPRINTF): New macro.
13021         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13022         to the host buffer.
13023         (gni_host_local): Use checked_copy to copy the host name.
13024         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13025         (gni_serv_local): Use checked_copy to copy the service name.
13026         (getnameinfo): Remove unnecessary truncation of result buffers.
13028 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13030         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13031         in case of inet_ntop failure.
13033 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13035         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13036         avoid long lines.
13037         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13038         variables.
13039         (gni_host_inet, gni_host_local): Add comment.
13040         (gni_host): Add comment.  Use temporary to avoid long lines.
13042 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13044         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13045         registers specifiers where general purpose registers specifiers should
13046         have been used.
13048 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13050         [BZ #19779]
13051         CVE-2016-1234
13052         Avoid copying names of directory entries.
13053         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13054         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13055         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13056         (struct readdir_result): New type.
13057         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13058         (GL_READDIR): New macros.
13059         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13060         (convert_dirent, convert_dirent64): New functions.
13061         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13062         convert_dirent64.  Adjust references to the readdir result.
13063         * sysdeps/unix/sysv/linux/i386/glob64.c:
13064         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13065         * posix/bug-glob2.c (LONG_NAME): Define.
13066         (filesystem): Add LONG_NAME.
13067         (my_DIR): Increase the size of room_for_dirent.
13069 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13071         [BZ #20041]
13072         * misc/sys/select.h (__need_timespec): Only define if
13073         [__USE_XOPEN2K].
13074         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13075         variable.
13076         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13077         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13078         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13080 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13081             Segher Boessenkool  <segher@gcc.gnu.org>
13083         [BZ #20004]
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13085         (__novec_swapcontext): Add missing load.
13087 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #20023]
13090         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13091         <time.h>.
13092         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13093         variable.
13094         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13096 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13099         flags CLONE_VM compare.
13101 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13103         [BZ #20031]
13104         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13105         completely empty.
13107 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13109         [BZ #19573]
13110         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13111         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13112         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13113         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13114         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13115         (hesiod_free_list): Mark as hidden.
13116         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13117         res_set, res_get.
13118         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13119         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13120         (hesiod_init): Remove obsolete res_ninit call.
13121         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13122         (hesiod_bind): Do not call init.
13123         (get_txt_records): Use res_mkquery, res_send instead of
13124         res_nmkquery, res_nsend.
13125         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13126         instead of _nss_hesiod_init.
13127         (_nss_hesiod_initgroups_dyn): Likewise.
13128         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13129         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13130         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13132 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13134         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13135         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13137 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13139         * hesiod/hesiod.h: Remove RCS keyword.
13140         * hesiod/hesiod_p.h: Likewise.
13142         * hesiod/hesiod.c: Likewise.
13144 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13146         [BZ #12450]
13147         * locale/iso-639.def: Add Samogitian/sgs.
13149 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13151         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13153         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13155 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13156             Carlos O'Donell  <carlos@redhat.com>
13158         [BZ #19072]
13159         * grp/Makefile (headers): Add grp-merge.h
13160         (routines): Add grp-merge.
13161         * grp/getgrgid_r.c: Include grp-merge.h.
13162         (DEEPCOPY_FN): Define.
13163         (MERGE_FN): Define.
13164         * grp/getgrname_r.c: Include grp-merge.h.
13165         (DEEPCOPY_FN): Define.
13166         (MERGE_FN): Define.
13167         * grp/grp-merge.c: New file.
13168         * grp/grp-merge.h: New file.
13169         * include/grp-merge.h: New file.
13170         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13171         __copy_grp@GLIBC_PRIVATE.
13172         * manual/nss.texi (Actions in the NSS configuration): Describe
13173         return, continue, and merge.
13174         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13175         (DEEPCOPY_FN): Define.
13176         (MERGE_FN): Define.
13177         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13178         (DEEPCOPY_FN): Define.
13179         (MERGE_FN): Define.
13180         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13181         [!MERGE_FN]: Define __merge_einval.
13182         (CHECK_MERGE): Define.
13183         (REENTRANT_NAME): Process merge if do_merge is true.
13184         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13185         (__nss_getent_r): Likewise.
13186         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13187         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13189 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13191         [BZ #20012]
13192         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13193         length to calculate the buffer to read.
13194         (fmemopen_write): Set the buffer position based on bytes written.
13195         (fmemopen_seek): Return EINVAL for invalid whence modes.
13197         [BZ #19957]
13198         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13199         tst-getpid2.
13200         (test): Add tst-clone2.
13201         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13202         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13203         pid/tid fields for CLONE_VM.
13204         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13205         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13206         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13207         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13208         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13209         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13210         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13211         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13215         Likewise.
13216         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13217         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13218         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13219         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13220         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13221         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13222         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13223         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13225 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13227         [BZ #19642]
13228         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13229         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13230         (gni_serv_local, gni_serv): New functions extracted from
13231         getnameinfo.
13232         (getnameinfo): Call gni_host and gni_serv to perform the
13233         processing.  Always free scratch buffer.
13235 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13237         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13238         remaining bytes in the dest string, with zeros.
13240 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13242         [BZ #20010]
13243         CVE-2016-3706
13244         * sysdeps/posix/getaddrinfo.c
13245         (convert_hostent_to_gaih_addrtuple): New function.
13246         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13247         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13248         AF_INET data.
13250 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13252         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13253         callback function gl_readdir.
13254         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13255         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13256         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13257         memcpy to copy the name.
13258         * manual/pattern.texi (Calling Glob): Document requirements for
13259         implementations of the gl_readdir callback function.
13260         * manual/examples/mkdirent.c: New example.
13261         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13262         per the manual guidance.
13263         * posix/tst-gnuglob.c (my_readdir): Likewise.
13265 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13267         [BZ #20014]
13268         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13269         not [__USE_POSIX].
13270         (getchar_unlocked): Likewise.
13271         (putc_unlocked): Likewise.
13272         (putchar_unlocked): Likewise.
13273         (flockfile): Likewise.
13274         (ftrylockfile): Likewise.
13275         (funlockfile): Likewise.
13276         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13277         variable.
13278         (test-xfail-XPG4/stdio.h/conform): Likewise.
13280         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13281         Expect constant.
13282         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13283         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13284         variable.
13285         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13286         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13288         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13289         [__USE_LARGEFILE64] (off64_t): Likewise.
13290         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13291         variable.
13293 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13295         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13297 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13299         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13300         * resolv/res_init.c: Likewise.
13301         * resolv/res_mkquery.c: Likewise.
13303 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13305         * resolv/res_init.c (isascii): Do not define.  Use definition in
13306         <ctype.h>.
13307         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13308         (LOG_AUTH): Remove.
13309         (SPRINTF): Remove, adjust caller.
13310         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13312 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13314         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13315         SUNSECURITY conditional.
13316         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13318 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13320         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13321         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13322         Remove BSD-related preprocessor conditionals.
13323         * conf/portability.h: Remove.
13325 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13327         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13328         * resolv/res_data.c: Likewise.
13330 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13332         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13333         * resolv/res_data.c: Remove code conditional on ultrix.
13335 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13337         * resolv/res_init.c (RFC1535): Do not define.  Remove
13338         RFC1535 preprocessor conditionals.
13339         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13340         because there configuration options which make the resolver
13341         behavior different.
13343 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13345         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13346         RESOLVSORT preprocessor conditionals.
13347         * resolv/nss_dns/dns-host.c: Likewise.
13348         * resolv/res_init.c: Likewise.
13350 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13352         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13353         is never defined.
13355 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13357         * inet/inet_lnaof.c: Remove SCSS keyword.
13358         * inet/inet_mkadr.c: Likewise.
13359         * inet/inet_net.c: Likewise.
13360         * inet/inet_netof.c: Likewise.
13361         * inet/rcmd.c: Likewise.
13362         * inet/rexec.c: Likewise.
13363         * inet/ruserpass.c: Likewise.
13365 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13367         * resolv/inet_addr.c: Remove _LIBC conditionals.
13368         * resolv/res_data.c: Likewise.
13369         * resolv/res_init.c: Likewise.
13370         * resolv/res_mkquery.c: Likewise.
13371         * resolv/res_libc.c: Update comment.
13372         * resolv/README: Update.
13374 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13376         * resolv/gethnamaddr.c: Remove SCSS keyword.
13377         * resolv/herror.c: Likewise.
13378         * resolv/inet_addr.c: Likewise.
13379         * resolv/inet_net_ntop.c: Likewise.
13380         * resolv/inet_net_pton.c: Likewise.
13381         * resolv/inet_neta.c: Likewise.
13382         * resolv/inet_ntop.c: Likewise.
13383         * resolv/inet_pton.c: Likewise.
13384         * resolv/ns_date.c: Remove RCS keyword.
13385         * resolv/ns_name.c: Likewise.
13386         * resolv/ns_netint.c: Likewise.
13387         * resolv/ns_parse.c: Likewise.
13388         * resolv/ns_print.c: Likewise.
13389         * resolv/ns_samedomain.c: Likewise.
13390         * resolv/ns_ttl.c: Likewise.
13391         * resolv/nsap_addr.c: Likewise.
13392         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13393         * resolv/res_data.c: Remove RCS keyword.
13394         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13395         * resolv/res_init.c: Likewise.
13396         * resolv/res_mkquery.c: Likewise.
13397         * resolv/res_query.c: Likewise.
13398         * resolv/res_send.c: Likewise.
13400 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13402         * conform/data/stdio.h-data (fdopen): Expect also for
13403         [XPG3 || XPG4].
13405         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13406         (fseeko): Likewise.
13407         (ftello): Likewise.
13408         (ftrylockfile): Likewise.
13409         (funlockfile): Likewise.
13410         (getc_unlocked): Likewise.
13411         (getchar_unlocked): Likewise.
13412         (putc_unlocked): Likewise.
13413         (putchar_unlocked): Likewise.
13415 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13417         [BZ #19868]
13418         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13419         DNS packet syntax checks (which were not needed before).  Skip
13420         over non-PTR records.
13422 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13424         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13425         definition.  Include <stddef.h> instead.
13427 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13429         [BZ #19831]
13430         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13431         function.
13432         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13433         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13435 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13437         [BZ #19862]
13438         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13439         (getanswer_r): Do not call syslog.
13440         (gaih_getanswer_slice): Likewise.
13441         * resolv/gethnamaddr.c (AskedForGot): Remove.
13442         (getanswer): Do not call syslog.
13443         (gethostbyaddr): Likewise.
13445 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13447         * conform/data/signal.h-data (union sigval): Expect also if
13448         [XOPEN2K].
13449         (struct sigevent): Likewise.
13450         (SIGEV_NONE): Likewise.
13451         (SIGEV_SIGNAL): Likewise.
13452         (SIGEV_THREAD): Likewise.
13453         (SIGRTMIN): Likewise.
13454         (SIGRTMAX): Likewise.
13455         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13456         variable.
13457         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13459 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13461         [BZ #19830]
13462         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13463         (gaih_getanswer_slice): Likewise.
13464         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13465         Also check for availability of RR metadata.
13467 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13469         [BZ #19825]
13470         * resolv/res_send.c (send_vc): Remove early *resplen2
13471         initialization.  Set *resplen2 on socket error.  Call
13472         close_and_return_error for other errors.
13474 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13476         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13477         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13478         (SCM_IUCV_TRGCLS): New define.
13480 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13482         [BZ #20005]
13483         * libio/fmemopen.c (fmemopen_write): Update internal position after
13484         write.
13485         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13486         * stdio-common/tst-fmemopen4.c: New file..
13488 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13490         [BZ #19996]
13491         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13492         not [__USE_XOPEN2K].
13493         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13494         variable.
13496         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13497         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13498         variable.
13500         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13501         [__USE_XOPEN2K8].
13502         [__USE_LARGEFILE64] (off64_t): Likewise.
13503         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13504         variable.
13506 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13508         [BZ #19989]
13509         * libio/stdio.h (cuserid): Do not declare if
13510         [__USE_XOPEN2K && !__USE_GNU].
13511         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13512         variable.
13514 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13516         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13517         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13519         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13520         ifunc'ed strcspn.
13521         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13522         [EALIGN]: Removed.
13523         [END]: Likewise
13524         [STRSPN]: Define instead of the above to control symbol name.
13525         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13526         New file.
13527         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13528         Likewise.
13529         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13530         Likewise.
13531         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13532         Likewise.
13533         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13534         [INITIAL_MASK]: New macro.
13535         [STRCSPN]: Likewise.
13536         [UPDATE_MASK]: Likewise.
13537         [USE_AS_STRCSPN]: Likewise.
13539 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13541         [BZ #19931]
13542         * stdio-common/tst-vfprintf-width-prec.c: New file.
13543         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13544         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13545         (generated): Add mtrace-related files.
13546         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13547         (tst-%-mem.out): New pattern rule, replaces
13548         tst-printf-bz18872-mem.out.
13549         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13550         specifier, deallocate any previously allocated work buffer.
13552 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13554         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13555         Add nop before __startcontext, add explaining comments.
13557 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13559         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13560         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13561         completely different API.
13563         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13564         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13565         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13566         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13567         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13568         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13569         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13570         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13571         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13572         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13574 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13576         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13578 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13580         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13581         when it is the default of 0.
13583 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13585         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13586         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13587         (sysdep_routines): Add new strcasestr targets.
13588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13589         (__libc_ifunc_impl_list): Likewise.
13590         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13591         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13592         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13593         * sysdeps/powerpc/powerpc64/power8/Makefile:
13594         New file to add strcasestr-ppc64 to sysdep_routines.
13595         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13596         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13598 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13600         * benchtests/Makefile (wcsmbs-benchset): Include only for
13601         native builds and runs.
13602         (LOCALES): Likewise.
13603         (bench-build): Build timing-type here instead of the bench
13604         target.  Generate locale only for native builds.
13605         * benchtests/README: Add note for cross-building.
13607         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13609         * benchtests/README: Update README to include instructions on
13610         using bench-build.
13612         * Makefile.in (bench-build): New target.
13613         * Rules (PHONY): Add bench-build target.
13614         * benchtests/Makefile (bench): Depend on bench-build.
13615         (bench-build): New target.
13617 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13619         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13620         profil_reply_port.
13621         (profile_waiter): Do not initialize profil_reply_port.
13622         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13623         frequency instead of tick length in us.
13625 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
13627         [BZ #18712]
13628         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13629         (__old_mempcpy_small): Likewise.
13630         (__old_strcpy_small): Likewise.
13631         (__old_stpcpy_small): Likewise.
13632         (__old_strpbrk_c2): Fix compat symbol name.
13633         (__old_strpbrk_c3): Likewise.
13634         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13635         (__mempcpy_small): Remove.
13636         (__strcpy_small): Remove.
13637         (__stpcpy_small): Remove.
13639 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
13641         [BZ #19400]
13642         * locale/iso-639.def: Add the Talossan/tzl language.
13644 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13646         [BZ #16983]
13647         * locale/programs/ld-address.c (address_finish): Update postal_fmt
13648         comment.  Add "ln" to strchr check on postal_fmt.
13650 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13652         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
13653         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
13654         tel_dom_fmt.
13656 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13658         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13659         (sysdep_routines): Added __strlen_power8.
13660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
13661         __strlen_power8 entry.
13662         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
13663         Implementation for POWER8.
13664         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
13665         for __strlen_power8.
13666         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
13667         Implementation for POWER8.
13669 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
13671         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
13673 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
13675         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
13676         Goldmont and Airmont processors.
13678 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
13680         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
13681         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
13682         (__STRING2_SMALL_GET32): Remove.
13683         (memset): Remove.
13684         (__memset_1): Remove.
13685         (__memset_gc): Remove.
13686         (__mempcpy): Remove.
13687         (mempcpy): Remove.
13688         (__mempcpy_args): Remove.
13689         (strchr): Remove.
13690         (strcpy): Remove.
13691         (strcpy_args): Remove.
13692         (__stpcpy_args): Remove.
13693         (__strcmp_cc): Remove.
13694         (__strcmp_gc): Remove.
13695         (strstr): Remove.
13697 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
13699         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
13700         * nis/nis_call.c (nis_server_cache_add): Likewise.
13702 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13704         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
13706 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13708         * malloc/arena.c (__malloc_fork_lock_parent)
13709         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
13710         internal_function attribute.
13712 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
13714         * stdio-common/printf_fp.c (__printf_fp_l):
13715         Rename ___printf_fp_l to __printf_fp_l and
13716         remove strong alias. Use libc_hidden_def instead
13717         of ldbl_hidden_def macro.
13719 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13721         Remove malloc hooks from fork handler.  They are no longer needed
13722         because malloc runs right before fork, and no malloc calls from
13723         other fork handlers are not possible anymore.
13724         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
13725         declarations.
13726         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
13727         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
13728         (atfork_recursive_cntr): Remove.
13729         (__malloc_fork_lock_parent): Do not override malloc hooks and
13730         thread_arena.
13731         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
13732         thread_arena.
13733         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
13734         thread_arena instead of save_arena.
13736 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13738         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
13739         (thread_atfork, thread_atfork_static): Remove.
13740         * sysdeps/mach/hurd/malloc-machine.h:
13741         (thread_atfork, thread_atfork_static): Remove.
13743 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13745         [BZ #19431]
13746         Run the malloc fork handler as late as possible to avoid deadlocks.
13747         * malloc/malloc-internal.h: New file.
13748         * malloc/malloc.c: Include it.
13749         * malloc/arena.c (ATFORK_MEM): Remove.
13750         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
13751         Update comment.
13752         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
13753         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
13754         Remove outdated comment.
13755         (ptmalloc_init): Do not call thread_atfork.  Remove
13756         thread_atfork_static.
13757         * malloc/tst-malloc-fork-deadlock.c: New file.
13758         * Makefile (tests): Add tst-malloc-fork-deadlock.
13759         (tst-malloc-fork-deadlock): Link against libpthread.
13760         * manual/memory.texi (Aligned Memory Blocks): Update safety
13761         annotation comments.
13762         * sysdeps/nptl/fork.c (__libc_fork): Call
13763         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13764         __malloc_fork_unlock_child.
13765         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
13767 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13769         [BZ #19613]
13770         Remove union wait.
13771         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
13772         (w_stopsig, w_stopval): Remove.
13773         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
13774         stat_loc argument.
13775         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
13776         (__WAIT_STATUS_DEFN): Remove.
13777         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13778         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
13779         (wait, wait3, wait4): Use int * for the stat_loc argument.
13780         * posix/wait.c (__wait): Likewise.
13781         * posix/wait3.c (__wait3): Likewise.
13782         * posix/wait4.c (__wait4): Likewise.
13783         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
13784         (__WAIT_STATUS_DEFN): Remove.
13785         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13786         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
13787         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
13788         argument.
13789         * sysdeps/posix/wait.c (__libc_wait): Likewise.
13790         * sysdeps/posix/wait3.c (__wait3): Likewise.
13791         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
13792         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13793         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
13794         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
13795         stat_loc argument.
13796         * manual/process.texi (BSD Wait Functions): Remove union wait.
13798 2016-04-13  Andreas Schwab  <schwab@suse.de>
13800         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
13801         (test-extras): Add tst-tlsalign-vars.
13802         * math/Makefile: Wrap long lines.
13803         (libm-vec-test-wrappers): Define.
13804         (test-extras): Add $(libm-vec-test-wrappers).
13805         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
13806         * nss/Makefile (extra-test-objs): Add nss_test1.os.
13807         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
13808         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
13809         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
13810         (extra-test-objs): Add corresponding objects.
13812 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
13814         [BZ #19928]
13815         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
13816         New.
13817         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
13818         times of shared cache size.
13819         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
13820         (VMOVNT): New.
13821         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
13822         (VMOVNT): Likewise.
13823         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13824         (VMOVNT): Likewise.
13825         (VMOVU): Changed to movups for smaller code sizes.
13826         (VMOVA): Changed to movaps for smaller code sizes.
13827         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
13828         comments.
13829         (PREFETCH): New.
13830         (PREFETCH_SIZE): Likewise.
13831         (PREFETCHED_LOAD_SIZE): Likewise.
13832         (PREFETCH_ONE_SET): Likewise.
13833         Rewrite to use forward and backward loops, which move 4 vector
13834         registers at a time, to support overlapping addresses and use
13835         non temporal store if size is above the threshold and there is
13836         no overlap between destination and source.
13838 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
13840         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
13841         Include dl-vdso.
13842         * sysdeps/unix/sysv/linux/mips/Versions: Add
13843         __vdso_clock_gettime.
13844         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
13845         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
13846         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
13847         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
13848         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
13849         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
13850         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13851         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13852         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13854 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13856         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
13857         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
13858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13860         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13861         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13864         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
13865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
13866         syscalls generation.
13867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13868         [__NR_pwrite64] (__NR_write): Remove define.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13870         [__NR_pwrite64] (__NR_write): Remove define.
13871         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
13872         Remove define.
13873         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
13874         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
13875         Remove define.
13876         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
13877         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
13878         Linux implementation as base.
13879         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13881         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
13882         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
13883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13887         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
13888         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
13889         syscall generation.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13891         [__NR_pread64] (__NR_pread): Remove define.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13893         [__NR_pread64] (__NR_pread): Likewise.
13894         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
13895         define.
13896         (__libc_pread): Use SYSCALL_LL macro on offset argument.
13897         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
13898         Remove define.
13899         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
13900         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
13901         Linux implementation as base.
13902         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13903         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13904         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13906         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
13907         definition.
13908         (__ALIGNMENT_COUNT): Likewise.
13909         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
13910         (__ALIGNMENT_COUNT): Likewise.
13911         (SYSCALL_LL): New define.
13912         (SYSCALL_LL64): Likewise.
13913         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
13914         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
13915         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
13916         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
13918         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13919         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
13920         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13921         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13922         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13923         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
13925 2016-04-11  Florian Weimer  <fweimer@redhat.com>
13927         [BZ #19865]
13928         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
13929         original buffer before retry.
13931 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13933         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
13934         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
13935         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
13936         GLRO(dl_auxv) list.
13937         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
13938         including <ldsodefs.h>.
13939         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
13941 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
13943         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
13944         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
13945         $(CPPFLAGS).
13947 2016-04-09  Khem Raj  <raj.khem@gmail.com>
13949         [BZ #17950]
13950         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
13951         Add -mfpmath=387.
13953 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
13955         * sysdeps/i386/configure.ac: Change == to = when calling test.
13956         * sysdeps/x86_64/configure.ac: Likewise.
13957         * sysdeps/i386/configure: Regenerated.
13958         * sysdeps/x86_64/configure: Likewise.
13960 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
13962         [BZ #16137]
13963         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
13964         * benchtests/bench-strcoll.c (input_files): Likewise.
13965         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13966         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
13967         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
13969 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
13971         [BZ #19929]
13972         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
13973         [__USE_XOPEN2K8 && !__USE_GNU].
13974         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
13975         variable.
13977         [BZ #19925]
13978         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
13979         define if [!__USE_MISC && __USE_XOPEN2K].
13980         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
13981         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
13982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
13983         Likewise.
13984         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
13985         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
13986         variable.
13987         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13989 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13991         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13992         (sysdep_routines): Add new strspn targets.
13993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13994         (__libc_ifunc_impl_list): Add strspn.
13995         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13996         New file.
13997         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
13998         Likewise.
13999         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14000         Likewise.
14001         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14002         Likewise.
14004 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14006         * misc/hsearch_r.c: Include <limits.h>.
14008 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14010         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14012 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14014         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14015         (MEMCPY_SYMBOL): New.
14016         (MEMPCPY_SYMBOL): Likewise.
14017         (MEMMOVE_CHK_SYMBOL): Likewise.
14018         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14019         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14020         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14021         Provide alias for memcpy in libc.a and ld.so.
14023 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14025         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14026         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14027         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14028         Disabled fro now.
14029         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14030         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14032 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14034         * benchtests/Makefile (string-benchset): Add memcpy-large,
14035         memmove-large and memset-large.
14036         * benchtests/bench-memcpy-large.c: New file.
14037         * benchtests/bench-memmove-large.c: Likewise.
14038         * benchtests/bench-memmove-large.c: Likewise.
14039         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14041 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14043         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14044         32-bit displacement to avoid long nop between instructions.
14046 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14048         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14049         a comment on VMOVU and VMOVA.
14051 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14053         [BZ #19633]
14054         Use specified locale for number formatting in strfmon_l.
14055         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14056         (__nl_lookup_word): New inline functions.
14057         * include/printf.h (__print_fp_l): Declare.
14058         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14059         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14060         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14061         (___printf_fp): New function.
14062         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14063         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14064         * stdlib/tst-strfmon_l.c (do_test): New test.
14065         * stdlib/Makefile (tests): Add kt.
14066         (LOCALES): Build additional locales.
14067         (tst-strfmon_l.out): Require locales.
14069 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14071         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14072         if not in libc.
14073         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14074         Likewise.
14075         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14076         Likewise.
14077         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14078         Likewise.
14080 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14082         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14083         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14084         with unaligned_erms.
14085         (__memmove_erms): Skip if source == destination.
14086         (__memmove_unaligned_erms): Don't check source == destination
14087         first.
14089 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14091         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14092         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14094 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14096         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14097         * string/strspn.c (strspn): Likewise.
14099 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14101         * benchtests/bench-memset.c (do_test): Support 64-byte
14102         alignment.
14103         (test_main): Test 64-byte alignment.
14105 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14107         * benchtests/bench-memmove.c (test_main): Test 64-byte
14108         alignment.
14110 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14112         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14114 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14116         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14117         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14118         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14120         * string/strpbrk.c (strpbrk): Rewrite function.
14121         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14122         (__strpbrk_c2): Likewise.
14123         (__strpbrk_c3): Likewise.
14124         * string/string-inlines.c
14125         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14126         Likewise.
14127         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14128         Likewise.
14130         * string/strspn.c (strcspn): Rewrite function.
14131         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14132         (__strspn_c1): Remove inline function.
14133         (__strspn_c2): Likewise.
14134         (__strspn_c3): Likewise.
14135         * string/string-inlines.c
14136         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14137         compatibility symbol.
14138         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14139         Likewise.
14140         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14141         Likewise.
14142         * string/string-inlines.c: Include generic version.
14144 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14145             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14147         * string/Version (libc): Add GLIBC_2.24.
14148         * string/strcspn.c (strcspn): Rewrite function.
14149         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14150         (__strcspn_c1): Remove inline function.
14151         (__strcspn_c2): Likewise.
14152         (__strcspn_c3): Likewise.
14153         * string/string-inline.c
14154         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14155         compatibility symbol.
14156         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14157         Likewise.
14158         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14159         Likewise.
14160         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14162 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14164         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14165         Use ahi instead of aghi to adjust stack pointer.
14167 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14169         [BZ #19853]
14170         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14171         TEST to take significant digits as second parameter.
14172         [TEST]: Redefine in terms of TEST_N taking 30
14173         significant digits.
14174         (do_test): Add test case to demonstrate precision
14175         failure in the ldbl-128ibm printf.
14176         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14177         (__mpn_extract_long_double): Carry 7 extra intermediate
14178         bits of precision to aide computing difference when
14179         signs differ.
14181 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14183         [BZ #19881]
14184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14185         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14186         memset-avx512-unaligned-erms.
14187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14188         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14189         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14190         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14191         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14192         __memset_sse2_unaligned_erms, __memset_erms,
14193         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14194         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14195         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14196         file.
14197         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14198         Likewise.
14199         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14200         Likewise.
14201         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14202         Likewise.
14204 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14206         [BZ #19776]
14207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14208         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14209         memmove-avx512-unaligned-erms.
14210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14211         (__libc_ifunc_impl_list): Test
14212         __memmove_chk_avx512_unaligned_2,
14213         __memmove_chk_avx512_unaligned_erms,
14214         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14215         __memmove_chk_sse2_unaligned_2,
14216         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14217         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14218         __memmove_avx512_unaligned_erms, __memmove_erms,
14219         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14220         __memcpy_chk_avx512_unaligned_2,
14221         __memcpy_chk_avx512_unaligned_erms,
14222         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14223         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14224         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14225         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14226         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14227         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14228         __mempcpy_chk_avx512_unaligned_erms,
14229         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14230         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14231         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14232         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14233         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14234         __mempcpy_erms.
14235         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14236         file.
14237         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14238         Likewise.
14239         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14240         Likewise.
14241         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14242         Likewise.
14244 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14246         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14247         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14248         (La_s390_64_regs): Likewise.
14249         (La_s390_32_retval): Append vector register lrv_v24.
14250         (La_s390_64_retval): Likeweise.
14251         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14252         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14253         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14254         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14256 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14258         [BZ #19916]
14259         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14260         to create a non-vector/vector version for _dl_runtime_resolve and
14261         _dl_runtime_profile. Move implementation to ...
14262         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14263         (_dl_runtime_resolve) Save and restore fpr/vrs.
14264         (_dl_runtime_profile) Save and restore vrs and fix some issues
14265         if _dl_call_pltexit is called.
14266         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14267         Choose the correct resolver function if running on a machine with vx.
14268         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14269         to create a non-vector/vector version for _dl_runtime_resolve and
14270         _dl_runtime_profile. Move implementation to ...
14271         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14272         (_dl_runtime_resolve) Save and restore fpr/vrs.
14273         (_dl_runtime_profile) Save and restore vrs and fix some issues
14274         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14275         Choose the correct resolver function if running on a machine with vx.
14277 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14279         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14281 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14283         [BZ #19509]
14284         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14285         skip_map != NULL.
14286         * elf/tst-dlsym-error.c: New file.
14287         * elf/Makefile (tests): Add tst-dlsym-error.
14288         (tst-dlsym-error): Link against libdl.
14290 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14293         (__ASSUME_FUTIMESAT): Remove macro.
14294         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14296 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14298         [BZ #19879]
14299         CVE-2016-3075
14300         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14301         copy name.
14303 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14305         [BZ #19837]
14306         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14307         error if parse_line fails.
14309 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14311         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14312         (index_cpu_ERMS): Likewise.
14313         (reg_ERMS): Likewise.
14315 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14317         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14318         PER_LINUX_FDPIC): Add.
14320 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14323         memcpy-avx512-no-vzeroupper.
14324         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14325         to ...
14326         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14327         (MEMCPY): Don't define.
14328         (MEMCPY_CHK): Likewise.
14329         (MEMPCPY): Likewise.
14330         (MEMPCPY_CHK): Likewise.
14331         (MEMPCPY_CHK): Renamed to ...
14332         (__mempcpy_chk_avx512_no_vzeroupper): This.
14333         (MEMPCPY_CHK): Renamed to ...
14334         (__mempcpy_chk_avx512_no_vzeroupper): This.
14335         (MEMCPY_CHK): Renamed to ...
14336         (__memmove_chk_avx512_no_vzeroupper): This.
14337         (MEMCPY): Renamed to ...
14338         (__memmove_avx512_no_vzeroupper): This.
14339         (__memcpy_avx512_no_vzeroupper): New alias.
14340         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14342 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14344         [BZ #18858]
14345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14346         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14347         and mempcpy-avx512-no-vzeroupper.
14348         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14349         New.
14350         (MEMPCPY): Likewise.
14351         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14352         (MEMPCPY_CHK): New.
14353         (MEMPCPY): Likewise.
14354         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14355         (MEMPCPY): Likewise.
14356         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14357         (MEMPCPY): Likewise.
14358         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14359         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14360         Likewise.
14361         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14362         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14364 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14365              Amit Pawar  <Amit.Pawar@amd.com>
14367         [BZ #19583]
14368         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14369         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14370         processors.  Set Fast_Copy_Backward for AMD Excavator
14371         processors.
14372         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14373         New.
14374         (index_arch_Fast_Unaligned_Copy): Likewise.
14375         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14376         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14378 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14380         [BZ #19791]
14381         * resolv/res_send.c (close_and_return_error): New function.
14382         (send_dg): Initialize *resplen2 after reopen failure.  Call
14383         close_and_return_error for error returns.  On error paths without
14384         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14385         successful return.
14387 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14389         [BZ# 19860]
14390         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14391         zero if the compiler does not provide the AVX512F bit.
14393 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14395         [BZ #19848]
14396         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14397         from 8 to 4.
14398         (__ieee754_powl): Compare integer exponent against 4 not 8.
14399         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14400         from 8 to 4.
14401         (__ieee754_powl): Compare integer exponent against 4 not 8.
14402         * math/auto-libm-test-in: Add more tests of pow.
14403         * math/auto-libm-test-out: Regenerated.
14404         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14409         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14410         Make code unconditional.
14411         [!__NR_utimensat]: Remove conditional code.
14412         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14413         Make code unconditional.
14414         [!__NR_utimensat]: Remove conditional code.
14415         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14416         Make code unconditional.
14417         [!__NR_utimensat]: Remove conditional code.
14419 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14421         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14422         Make code unconditional.
14424 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14426         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14427         call-clobbered %eax on retry path.
14428         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14430 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14432         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14433         Don't set %rcx twice before "rep movsb".
14435 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14437         [BZ #19583]
14438         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14439         inline.  Check family before setting family, model and
14440         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14441         bits here.
14442         (init_cpu_features): Replace HAS_CPU_FEATURE and
14443         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14444         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14445         for Intel processors with usable AVX2.  Call get_common_indeces
14446         for other processors with family == NULL.
14447         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14448         (CPU_FEATURES_ARCH_P): Likewise.
14449         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14450         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14452 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14454         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14455         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14456         $(shared-thread-library) instead of hardcoding the path to libpthread.
14458 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14460         * sysdeps/unix/sysv/linux/kernel-features.h
14461         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14462         * sysdeps/unix/sysv/linux/getdents.c
14463         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14464         [!have_no_getdents64_defined]: Likewise.
14465         (__GETDENTS): Remove __have_no_getdents64 conditional.
14467 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14470         Remove macro.
14471         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14472         <kernel-features.h>.
14473         (signalfd) [__NR_signalfd4]: Make code unconditional.
14474         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14476 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14478         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14479         style.
14481 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14483         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14484         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14485         __pthread_unwind.
14486         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14487         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14488         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14489         (__condvar_cleanup1): Likewise.
14491 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14493         [BZ #19822]
14494         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14495         move it to the final $@ location.
14497 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14499         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14500         access where posix_spawn success and pid argument is null.
14501         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14502         success case.
14504 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14506         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14508         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14510         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14511         and __fcntl.
14512         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14513         __fcntl only.
14514         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14515         adding attribute_hidden to __open and __fcntl.
14517         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14518         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14519         depend on libc-modules.h,
14520         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14522 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14525         Remove macro.
14526         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14527         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14528         entry.
14530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14531         Remove macro.
14532         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14533         include <kernel-features.h>.
14534         [!__ASSUME_FALLOCATE]: Remove conditional code.
14535         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14537 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14540         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14541         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14542         (_ZGVdN4v_cos_avx2): Likewise.
14543         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14544         (_ZGVdN4v_cos): Likewise.
14545         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14546         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14547         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14548         (_ZGVdN4v_exp_avx2): Likewise.
14549         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14550         (_ZGVdN4v_exp): Likewise.
14551         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14552         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14553         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14554         (_ZGVdN4v_log_avx2): Likewise.
14555         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14556         (_ZGVdN4v_log): Likewise.
14557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14558         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14560         (_ZGVdN4vv_pow_avx2): Likewise.
14561         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14562         (_ZGVdN4vv_pow): Likewise.
14563         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14564         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14565         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14566         (_ZGVdN4v_sin_avx2): Likewise.
14567         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14568         (_ZGVdN4v_sin): Likewise.
14569         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14570         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14571         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14572         (_ZGVdN4vvv_sincos_avx2): Likewise.
14573         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14574         (_ZGVdN4vvv_sincos): Likewise.
14575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14576         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14577         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14578         (_ZGVbN4v_cosf_sse4): Likewise.
14579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14580         (_ZGVdN8v_cosf_avx2): Likewise.
14581         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14582         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14583         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14584         (_ZGVbN4v_expf_sse4): Likewise.
14585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14586         (_ZGVdN8v_expf_avx2): Likewise.
14587         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14588         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14590         (_ZGVbN4v_logf_sse4): Likewise.
14591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14592         (_ZGVdN8v_logf_avx2): Likewise.
14593         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14594         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14596         (_ZGVbN4vv_powf_sse4): Likewise.
14597         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14598         (_ZGVdN8vv_powf_avx2): Likewise.
14599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14600         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14602         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14603         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14604         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14606         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14608         (_ZGVbN4v_sinf_sse4): Likewise.
14609         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14610         (_ZGVdN8v_sinf_avx2): Likewise.
14611         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14612         Use JUMPTARGET to call callee.
14613         (WRAPPER_IMPL_SSE2_ff): Likewise.
14614         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14615         (WRAPPER_IMPL_AVX): Likewise.
14616         (WRAPPER_IMPL_AVX_ff): Likewise.
14617         (WRAPPER_IMPL_AVX_fFF): Likewise.
14618         (WRAPPER_IMPL_AVX512): Likewise.
14619         (WRAPPER_IMPL_AVX512_ff): Likewise.
14620         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14621         Likewise.
14622         (WRAPPER_IMPL_SSE2_ff): Likewise.
14623         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14624         (WRAPPER_IMPL_AVX): Likewise.
14625         (WRAPPER_IMPL_AVX_ff): Likewise.
14626         (WRAPPER_IMPL_AVX_fFF): Likewise.
14627         (WRAPPER_IMPL_AVX512): Likewise.
14628         (WRAPPER_IMPL_AVX512_ff): Likewise.
14629         (WRAPPER_IMPL_AVX512_fFF): Likewise.
14631 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14633         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14634         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14635         qualifier.
14636         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14637         internal_function qualifiers.
14639 2016-03-15  Carlos O'Donell <carlos@redhat.com>
14641         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
14642         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
14643         * math/atest-exp.c (exp_mpn): Mark chk unused.
14644         * math/atest-exp2.c (exp_mpn): Likewise.
14645         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
14646         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
14648 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
14650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
14651         Remove macro.
14652         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
14653         <kernel-features.h>.
14654         [__NR_ppoll]: Make code unconditional.
14655         [!__ASSUME_PPOLL]: Remove conditional code.
14657         * sysdeps/unix/sysv/linux/kernel-features.h
14658         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
14659         (__ASSUME_ACCEPT4): Likewise.
14660         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14661         Define.
14662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
14663         Likewise.
14664         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14665         Likewise.
14666         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
14667         Likewise.
14668         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
14669         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
14670         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14671         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14672         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14673         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14674         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14676         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14677         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14678         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14679         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14680         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14681         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14682         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14683         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14684         Likewise.
14685         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14686         Likewise.
14687         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14688         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14689         0x040300].
14690         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14691         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14692         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14693         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14694         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14695         0x030300].
14696         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
14697         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14698         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14699         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14700         0x040300].
14701         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14704         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14705         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14706         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14707         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14708         0x030300].
14709         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14710         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14711         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14712         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14713         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14714         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14715         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14717         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14718         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14719         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14720         0x040300].
14721         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14722         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14723         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14724         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14725         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14726         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14727         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14728         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14731         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14732         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14733         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14734         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14735         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
14736         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14738         Likewise.
14739         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14740         Likewise.
14742 2016-03-15  Andreas Schwab  <schwab@suse.de>
14744         [BZ #19257]
14745         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
14746         statp->_u._ext.nscount as loop count.
14748 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14750         * math/test-signgam-finite-c99.c: Also #undef
14751         __LIBC_INTERNAL_MATH_INLINES.
14752         * math/test-signgam-main.c: Likewise.
14754 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
14756         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
14757         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14758         (MADV_FREE): Likewise.
14759         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
14760         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
14761         EPOLLEXCLUSIVE.
14763 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
14765         * timezone/README: Remove mention of checktab.awk. Mention wiki
14766         SharedSourceFiles.
14768 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
14770         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
14771         WUNTRACED.
14773 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14775         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
14776         order to match the type of p when calling atomic_exchange_acq().
14778 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14780         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
14781         cfi_offset calls.
14782         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14783         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
14784         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
14785         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
14786         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
14788 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
14790         * timezone/checktab.awk: Removed.
14792 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
14794         * manual/math.texi (Errors in Math Functions): Document relaxed
14795         accuracy goals for IBM long double.
14796         * math/libm-test.inc (test_exceptions): Always allow spurious
14797         "underflow" and "inexact" exceptions for IBM long double.
14799 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
14801         [BZ #19762]
14802         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14803         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
14804         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
14805         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
14806         (bit_arch_*): This for feature array.
14807         (bit_*): Renamed to ...
14808         (bit_cpu_*): This for cpu array.
14809         (index_*): Renamed to ...
14810         (index_arch_*): This for feature array.
14811         (index_*): Renamed to ...
14812         (index_cpu_*): This for cpu array.
14813         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
14814         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
14815         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
14816         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
14817         bit_##name with index_cpu_##name and bit_cpu_##name.
14818         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
14819         bit_##name with index_arch_##name and bit_arch_##name.
14821 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
14823         [BZ #19792]
14824         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
14825         Terminate FDE before return label.
14827 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
14829         [BZ #19790]
14830         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
14831         (rintl): Define as macro.
14832         [USE_AS_NEARBYINTL] (__rintl): Likewise.
14833         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
14834         of fesetround.  Ensure results are evaluated before end of scope.
14835         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
14836         USE_AS_NEARBYINTL and include s_rintl.c.
14837         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
14838         Disable exception traps in new environment.
14839         (libc_feholdsetround_ppc_ctx): Likewise.
14841 2016-03-08  Roland McGrath  <roland@hack.frob.com>
14843         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
14844         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
14845         (tst_audit10_aux) [__AVX512F__]: ... here.
14847 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
14849         * include/sys/auxv.h: New file.
14851 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14853         [BZ #19759]
14854         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
14856 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14858         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
14859         operand modifier.
14860         (feclearexcept): Likewise.
14862 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14864         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
14865         to reflect the entire 32-bit HWCAP.
14866         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
14867         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
14869 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14871         [BZ #19783]
14872         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
14873         $(test-via-rtld-prefix).
14874         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
14876 2016-03-08  Florian Weimer  <fweimer@redhat.com>
14878         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
14879         union wait.  Report any non-zero exit status as error.
14881 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14883         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
14884         configured with --enable-hardcoded-path-in-tests.
14886 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
14888         [BZ #19677]
14889         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14890         (__ieee754_remainderl): Put zero low parts in canonical form.
14891         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
14892         file.  Based on
14893         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
14894         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
14895         with wrapper round test-fmodrem-ldbl-128ibm.c.
14896         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
14897         file.
14898         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
14899         Likewise.
14900         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14901         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
14903 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14905         [BZ #19610]
14906         * elf/ldconfig.c (opt_link): Update comment.
14907         (options): Update help string for option -X.
14908         (search_dir): Unlink stale symbolic link only if updating symbolic
14909         links.
14910         * elf/tst-ldconfig-X.sh: New file.
14911         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
14912         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
14914 2016-03-07  Andreas Schwab  <schwab@suse.de>
14916         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
14917         needed arguments.
14919 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
14921         [BZ #15333]
14922         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
14923         to lstat64.
14925 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14927         * libio/filedoalloc.c (isatty): Remove.
14928         (local_isatty): Add comment.  Call __isatty directly.
14929         (_IO_file_doallocate): Update comment.  Assume _LIBC.
14930         * libio/wfiledoalloc.c (isatty): Remove.
14931         (_IO_wfile_doallocate): Update comment.
14933 2016-03-07  Florian Weimer  <fweimer@redhat.com>
14935         [BZ #19269]
14936         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
14937         tst-audit4-aux.o.
14938         (tst-audit10): Depend on tst-audit10-aux.o.
14939         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
14940         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
14941         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
14942         instead of inline AVX code.
14943         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
14944         instead of inline AVX512 code.
14945         * sysdeps/x86_64/tst-audit4-aux.c: New file
14946         * sysdeps/x86_64/tst-audit10-aux.c: New file
14948         [BZ #19648]
14949         * test-skeleton.c (main): Do not set RLIMIT_DATA.
14951 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14953         [BZ #14750]
14954         [BZ #10354]
14955         [BZ #18433]
14956         * include/sched.h (__clone): Add hidden prototype.
14957         (__clone2): Likewise.
14958         * include/unistd.h (__dup): Likewise.
14959         * posix/Makefile (tests): Add tst-spawn2.
14960         * posix/tst-spawn2.c: New file.
14961         * sysdeps/posix/dup.c (__dup): Add hidden definition.
14962         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
14963         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14964         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14965         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14966         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14967         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
14968         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14969         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
14970         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14971         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14973         Likewise.
14974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14975         Likewise.
14976         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14977         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14978         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14979         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14980         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14981         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14982         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14983         * sysdeps/unix/sysv/linux/nptl-signals.h
14984         (____nptl_is_internal_signal): New function.
14985         * sysdeps/unix/sysv/linux/spawni.c: New file.
14987         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
14988         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
14989         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
14990         * posix/tst-execvp2.c (do_test): Likewise.
14991         * posix/tst-execvp3.c (do_test): Likewise.
14992         * posix/tst-execvp4.c (do_test): Likewise.
14993         * posix/tst-execvpe1.c: New file.
14994         * posix/tst-execvpe2.c: Likewise.
14995         * posix/tst-execvpe3.c: Likewise.
14996         * posix/tst-execvpe4.c: Likewise.
14997         * posix/tst-execvpe5.c: Likewise.
14998         * posix/tst-execvpe6.c: Likewise.
15000         [BZ #19534]
15001         * posix/execl.c (execl): Remove dynamic memory allocation.
15002         * posix/execle.c (execle): Likewise.
15003         * posix/execlp.c (execlp): Likewise.
15005 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15007         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15008         Replace .text with .text.avx512.
15009         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15010         Likewise.
15012 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15014         * sysdeps/generic/libnsl.abilist: New file.
15015         * sysdeps/generic/libutil.abilist: New file.
15017 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15019         [BZ #19762]
15020         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15021         HAS_ARCH_FEATURE with Fast_Rep_String.
15022         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15023         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15024         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15025         Likewise.
15026         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15027         Likewise.
15028         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15029         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15030         Likewise.
15031         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15032         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15033         Likewise.
15035 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15037         [BZ #19745]
15038         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15039         with *%rax in call.
15041 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15043         [BZ #19745]
15044         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15045         with *__libc_start_main@GOTPCREL(%rip) in call.
15047 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15049         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15050         inside conditional for nonempty $(CXX).
15052         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15053         nonempty.
15055         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15056         to test for empty $(CXX) rather than $(CXX) of "no".
15058 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15060         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15062 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15063             H.J. Lu  <hongjiu.lu@intel.com>
15065         [BZ #18880]
15066         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15067         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15068         enable __memcpy_ssse3_back.
15070 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15072         [BZ #19758]
15073         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15074         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15076 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15078         [BZ #19490]
15079         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15080         (__fentry__): Likewise.
15082 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15084         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15085         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15087 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15089         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15090         __mcount_internal directly.
15091         (C_LABEL(__fentry__)): Likewise.
15092         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15093         directly.
15095 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15097         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15098         (__start_context): Call __setcontext directly.
15100 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15102         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15103         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15104         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15105         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15106         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15107         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15108         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15109         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15110         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15111         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15112         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15113         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15114         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15115         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15116         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15117         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15118         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15120         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15121         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15122         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15124         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15125         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15126         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15127         Remove conditional code.
15128         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15129         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15130         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15131         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15132         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15133         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15134         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15135         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15136         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15137         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15138         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15139         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15141 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15143         * NEWS (2.23): Fix typo in bug 19048 text.
15145 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15147         [BZ #14259]
15148         * Makeconfig: Rename msgcatdir to localedir.
15149         Rename inst_msgcatdir to inst_localedir.
15150         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15151         * config.make.in: Add localedir.
15152         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15153         (ldd-rewrite): Likewise.
15154         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15155         (install-others): Use inst_localedir.
15156         (CPPFLAGS): Use localedir.
15157         * locale/Makefile (locale-CPPFLAGS): Likewise.
15158         * po/Makefile (mo-installed): Use inst_localedir.
15160         [BZ #19575]
15161         * localedata/charmaps/GB18030: Update comments regarding PAU to
15162         non-PUA mappings.
15164 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15166         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15167         test for header.
15168         * sysdeps/unix/sysv/linux/configure: Regenerated.
15169         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15170         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15171         Remove conditional code.
15172         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15174         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15175         Define to 3.2.0.
15176         (arch_minimum_kernel): Likewise.
15177         * sysdeps/unix/sysv/linux/configure: Regenerated.
15178         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15179         Define to 2.6.32.
15180         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15181         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15182         (arch_minimum_kernel): Define to 2.6.32.
15183         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15184         * README: Document Linux 3.2 requirement.
15185         * manual/install.texi (Linux): Document Linux 3.2 headers
15186         requirement.
15187         * INSTALL: Regenerated.
15189 2016-02-24  Andreas Schwab  <schwab@suse.de>
15191         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15192         if !NO_LONG_DOUBLE.
15194 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15196         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15197         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15199 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15201         [BZ #19512]
15202         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15204 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15206         * posix/tst-dir.c: Include libc-internal.h.
15208 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15210         [BZ #19056]
15211         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15212         * manual/filesys.texi (Reading/Closing Directory): Mention
15213         deprecaion.
15214         * posix/tst-dir.c (main): Disable deprecation warning in test.
15216 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15218         [BZ #19679]
15219         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15220         Renamed to ...
15221         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15222         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15223         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15224         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15225         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15226         * sysdeps/x86_64/dl-trampoline.h
15227         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15228         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15230 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15232         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15234 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15236         * elf/elf.h (R_386_GOT32X): New.
15237         (R_386_NUM): Update.
15238         (R_X86_64_GOTPCRELX: New.
15239         (R_X86_64_REX_GOTPCRELX): New.
15240         (R_X86_64_NUM): Update.
15242 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15244         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15246 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15248         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15249         assign attr->stackaddr to it, and adjust it down when
15250         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15251         [_STACK_GROWS_UP]: Delete assert.
15252         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15253         Implement stack grows up logic.
15254         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15255         stack grows up logic.
15257 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15259         * NEWS: Update with 2.24 template.
15261 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15263         [BZ #19678]
15264         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15265         Ensure +0.0 is returned when taking the next value below the least
15266         positive value.
15268 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15270         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15271         available.  Do not define NO_THREADS.
15272         * malloc/malloc.c: Do not check NO_THREADS.
15273         * malloc/arena.c: Likewise.
15275 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15277         * malloc/malloc.c (__libc_mallinfo): Update comment.
15278         (struct malloc_par): Remove max_total_mem member, it was always 0.
15279         (int_mallinfo): Store 0 into usmblks (no functional change).
15280         * malloc/hooks.c (struct malloc_state): Document that
15281         max_total_mem is always 0.
15282         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15283         always 0.
15284         * manual/memory.texi (Statistics of Malloc): Likewise.
15286 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15288         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15289         * malloc/arena.c (arena_max): Remove.
15290         (heap_trim, _int_new_arena): Do not update arena_max.
15292 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15294         * resolv/res_init.c (res_ninit): Update comment.
15296 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15298         [BZ #19505]
15299         * posix/spawn_int.h: Add headers and include guard.
15300         (__spawn_valid_fd): New function.
15301         * posix/spawn_faction_addopen.c
15302         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15303         * posix/spawn_faction_addclose.c
15304         (posix_spawn_file_actions_addclose): Likewise.
15305         * posix/spawn_faction_adddup2.c
15306         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15307         second file descriptor.
15308         * posix/spawn_valid_fd.c: New file.
15309         * posix/tst-posix_spawn-fd.c: New file.
15310         * posix/Makefile (routines): Add spawn_valid_fd.
15311         (tests): Add tst-posix_spawn-fd.
15313 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15315         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15316         (do_test): Limit the number of arenas, so that we can use fewer
15317         outer threads.  Limit timeout to 3 seconds, in preparation for a
15318         larger TIMEOUT value.
15320 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15322         [BZ #19674]
15323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15324         sign in overflowing and underflowing results when overflow or
15325         underflow is detected early.  Include sign in result before rather
15326         than after scaling.
15328         [BZ #19603]
15329         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15330         (__ieee754_remainderl): Adjust sign of integer version of low part
15331         when taking absolute value of high part.
15332         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15333         * math/libm-test.inc (remainder_test_data): Add another test.
15334         (remquo_test_data): Likewise.
15336 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15338         [BZ #19602]
15339         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15340         equal high parts and both low parts zero specially.
15341         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15342         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15343         Add test-fmodl-ldbl-128ibm.
15345         [BZ #19595]
15346         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15347         common logic for all cases of shifting subnormal results.  Do not
15348         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15349         exponent to ldbl_insert_mantissa in subnormal case.
15351         [BZ #19594]
15352         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15353         on high and low parts then adjust result and use
15354         ldbl_canonicalize_int if needed.
15356         [BZ #19593]
15357         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15358         on high part and __floor or __ceil on low part then use
15359         ldbl_canonicalize_int if needed.
15361         [BZ #19592]
15362         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15363         high and low parts then use ldbl_canonicalize_int if needed.
15365         [BZ #17899]
15366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15367         New function.
15368         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15369         on high and low parts then use ldbl_canonicalize_int if needed.
15371 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15373         * configure: Regenerated.
15375         * po/libc.pot: Regenerated.
15377         * po/be.po: Updated translation.
15378         * po/bg.po: Likewise.
15379         * po/ca.po: Likewise.
15380         * po/cs.po: Likewise.
15381         * po/da.po: Likewise.
15382         * po/el.po: Likewise.
15383         * po/eo.po: Likewise.
15384         * po/es.po: Likewise.
15385         * po/fi.po: Likewise.
15386         * po/fr.po: Likewise.
15387         * po/gl.po: Likewise.
15388         * po/hr.po: Likewise.
15389         * po/hu.po: Likewise.
15390         * po/ia.po: Likewise.
15391         * po/id.po: Likewise.
15392         * po/it.po: Likewise.
15393         * po/ja.po: Likewise.
15394         * po/lt.po: Likewise.
15395         * po/nb.po: Likewise.
15396         * po/nl.po: Likewise.
15397         * po/pt_BR.po: Likewise.
15398         * po/rw.po: Likewise.
15399         * po/sk.po: Likewise.
15400         * po/sl.po: Likewise.
15401         * po/sv.po: Likewise.
15402         * po/tr.po: Likewise.
15403         * po/zh_CN.po: Likewise.
15404         * po/zh_TW.po: Likewise.
15406         * version.h (RELEAES): Set to "development".
15407         (VERSION): Set to 2.23.90.
15409         * version.h (RELEASE): Set to "stable".
15410         (VERSION): Set to 2.23.
15411         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15413         * NEWS: Updated fixed bugs.
15415 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15416             Wilco Dijkstra  <wdijkstr@arm.com>
15418         [BZ #19462]
15419         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15420         (_STRING_INLINE_unaligned): This.
15421         * include/string.h: Include <string_private.h>.
15422         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15423         _STRING_INLINE_unaligned.
15424         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15425         (_STRING_INLINE_unaligned): New.
15426         * sysdeps/aarch64/string_private.h: New file.
15427         * sysdeps/generic/string_private.h: Likewise.
15428         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15429         * sysdeps/s390/string_private.h: Likewise.
15430         * sysdeps/x86/string_private.h: Likewise.
15431         * sysdeps/m68k/m680x0/m68020/bits/string.h
15432         (_STRING_ARCH_unaligned): Renamed to ...
15433         (_STRING_INLINE_unaligned): This.
15434         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15435         to ...
15436         (_STRING_INLINE_unaligned): This.
15437         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15438         to ...
15439         (_STRING_INLINE_unaligned): This.
15440         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15441         to ...
15442         (_STRING_INLINE_unaligned): This.
15444 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15445             H.J. Lu  <hongjiu.lu@intel.com>
15447         [BZ #19590]
15448         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15449         relocation.
15451 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15453         [BZ #18665]
15454         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15455         *herrno_p.
15456         (gaih_getanswer): Document functional behviour. Return tryagain
15457         if any result is tryagain.
15458         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15459         when freed.
15460         * resolv/res_send.c: Add copyright text.
15461         (__libc_res_nsend): Document that MAXPACKET is expected.
15462         (send_vc): Document. Remove buffer reuse.
15463         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15464         size of the buffer. Add Dprint for truncated UDP buffer.
15466 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15468         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15469         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15470         * INSTALL: Regenerate.
15472 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15473             Jonathan Wakely  <jwakely@redhat.com>
15474             Carlos O'Donell  <carlos@redhat.com>
15476         [BZ 19439]
15477         * math/Makefile (tests): Add test-math-isinff.
15478         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15479         * math/bits/mathcalls.h [__USE_MISC]: Use
15480         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15481         functions not in C++11 and which don't conflict e.g. isinff,
15482         isinfl etc.
15483         * math/test-math-isinff.cc: New file.
15485 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15487         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15489 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15491         [BZ #19529]
15492         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15494 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15496         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15498 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #19550]
15501         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15502         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15503         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15504         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15505         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15506         New syscall entry.
15507         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15508         New syscall entry.
15509         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15510         syscall entry.
15512 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15514         [BZ #18240]
15515         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15516         unsigned int wraparound.
15518 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15520         [BZ #18240]
15521         * misc/bug18240.c: New test.
15522         * misc/Makefile (tests): Add it.
15524 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15525             Joseph Myers  <joseph@codesourcery.com>
15527         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15528         load in branch delay slot when less than a word of input left.
15530 2016-01-27  Andreas Schwab  <schwab@suse.de>
15532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15533         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15534         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15535         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15537 2016-01-26  David S. Miller  <davem@davemloft.net>
15539         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15541 2016-01-25  David S. Miller  <davem@davemloft.net>
15543         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15544         __sqrtl_finite.
15545         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15546         instead using versioned_symbol.
15547         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15548         of entries.
15550         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15551         __sqrtl_finite to GLIBC_2.23
15553 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15555         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15557 2016-01-25  Andreas Schwab  <schwab@suse.de>
15559         [BZ #17514]
15560         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15561         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15562         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15563         * nptl/tst-mutex-errorcheck.c: New file.
15565 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15567         [BZ #18560]
15568         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15569         (IPCOP_semop): Likewise.
15570         (IPCOP_semget): Likewise.
15571         (IPCOP_semctl): Likewise.
15572         (IPCOP_msgsnd): Likewise.
15573         (IPCOP_msgrcv): Likewise.
15574         (IPCOP_msgget): Likewise.
15575         (IPCOP_msgctl): Likewise.
15576         (IPCOP_shmat): Likewise.
15577         (IPCOP_shmdt): Likewise.
15578         (IPCOP_shmget): Likewise.
15579         (IPCOP_shmctl): Likewise.
15581 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15583         * string/tst-endian.c: Include <libc-internal.h>.
15584         (do_test): Ignore tautological-compare warnings around
15585         "htobeXX (beXXtoh (i)) != i" and
15586         "htoleXX (leXXtoh (i)) != i" if-statements.
15588 2016-01-24  David S. Miller  <davem@davemloft.net>
15590         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15591         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15592         alias.
15593         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15594         __sqrtl_finite.
15596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15598 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15600         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15601         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15602         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15604 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15606         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15607         (thread_func): Use new function to simplify barrier check.
15608         (do_test): Use new function to simplify checking barrier exit
15609         code, and actually join the child thread.
15611 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15613         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15614         semicolon.
15615         (__libc_tend): Likewise.
15616         (__libc_tabort): Likewise.
15618 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
15620         * sysdeps/nios2/libm-test-ulps: Update.
15621         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15622         (__gtsf2): Likewise.
15623         (__unorddf2): Likewise.
15624         (__unordsf2): Likewise.
15625         (__ledf2): Likewise.
15627 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
15629         * nis/nis_table.c (__follow_path): Disable diagnostic for
15630         uninitialized variable that is a false positive for gcc 4.7.
15631         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15633 2016-01-20  Roland McGrath  <roland@hack.frob.com>
15635         * sysdeps/nacl/lowlevellock-futex.h
15636         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15637         Always evaluate PRIVATE argument.
15639 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
15641         [BZ #19490]
15642         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
15643         (pthread_cond_broadcast): Use ENTRY/END
15644         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
15645         (pthread_cond_signal): Likewise.
15646         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
15647         Likewise.
15648         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
15649         Likewise.
15650         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
15651         Likewise.
15653 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
15655         * sysdeps/ieee754/dbl-64/s_finite.c
15656         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
15657         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
15658         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
15659         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
15660         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15663         (__gtsf2): Add as optional for libc.so.
15664         (__unordsf2): Likewise.
15665         (__signbit): Remove for libc.so.
15666         (__signbitl): Likewise.
15668 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15670         * iconvdata/bug-iconv11.c (test_ibm93x):
15671         Use %zu printf format specifier for size_t argument.
15673 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
15675         * math/gen-libm-test.pl (parse_ulps): Do not reduce
15676         already-recorded ulps.
15677         * sysdeps/arm/libm-test-ulps: Regenerated.
15678         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15679         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15680         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15682 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15683             Paul Pluzhnikov  <ppluzhnikov@google.com>
15685         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
15686         assembler not supporting AVX-512.
15688 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15690         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15692 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
15694         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15695         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15697         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15699         * sysdeps/arm/libm-test-ulps: Regenerated.
15701 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15703         [BZ #19451]
15704         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
15706 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15708         [BZ #19486]
15709         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
15710         * sysdeps/generic/fix-fp-int-convert-overflow.h
15711         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
15712         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
15713         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
15714         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
15715         Likewise.
15716         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
15717         Avoid conversions to long int where inexact exceptions
15718         could be raised.
15719         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
15720         Likewise.
15721         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
15722         Avoid conversions to long long int where inexact exceptions
15723         could be raised.
15724         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
15725         Likewise.
15727 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
15729         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
15730         * configure: Regenerated.
15732 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15734         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
15736 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
15738         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
15739         outside of comment.
15741 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15743         * nptl/tst-barrier1.c: Add description on first line.
15744         * nptl/tst-barrier2.c: Likewise.
15745         * nptl/tst-barrier3.c: Likewise.
15746         * nptl/tst-barrier4.c: Likewise.
15747         * nptl/tst-barrier5.c: Likewise.
15749 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15751         [BZ #18868]
15752         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
15754 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
15757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15758         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
15759         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
15760         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
15761         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
15762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15763         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15764         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15765         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15766         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15768 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15770         [BZ #13065]
15771         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
15772         new implementation.
15773         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
15774         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
15775         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
15776         (BARRIER_IN_THRESHOLD): New macro.
15777         * nptl/pthread_barrierattr_setpshared.c
15778         (pthread_barrierattr_setpshared): Clean up.
15779         * nptl/tst-barrier4.c: Correct comment.
15780         * nptl/tst-barrier5.c: New file.
15781         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
15782         (gen-as-const-headers): Remove lowlevelbarrier.sym.
15783         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
15784         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
15785         * nptl/lowlevelbarrier.sym: Remove.
15786         * nptl/DESIGN-barrier.txt: Remove.
15787         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
15788         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
15789         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
15790         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
15791         error.
15792         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
15793         implementation.
15795 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15797         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
15798         (do_child): Mask SIGRTMIN while thr is running.
15800 2016-01-15  Martin Sebor  <msebor@redhat.com>
15802         [BZ #19432]
15803         * iconvdata/Makefile: Add bug-iconv11.
15804         * iconvdata/bug-iconv11.c: New test.
15805         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
15806         * iconvdata/ibm933.c: Same.
15807         * iconvdata/ibm935.c: Same.
15808         * iconvdata/ibm937.c: Same.
15809         * iconvdata/ibm939.c: Same.
15811 2016-01-15  Martin Sebor  <msebor@redhat.com>
15813         [BZ #19443]
15814         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
15815         [DEBUG] (_ufc_set_bits): Declare used.
15816         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
15817         [DEBUG] (print_all): Declare used.
15818         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
15819         operands of the ternary ?: expression to target type.
15820         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
15821         calling the undeclared abort.
15822         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
15824 2016-01-15  Martin Sebor  <msebor@redhat.com>
15826         [BZ #18755]
15827         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
15828         warnings.
15829         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
15830         (__gai_create_helper_thread): Same.
15831         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
15832         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
15833         to suppress -Wmaybe-uninitialized warnings.
15835 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
15837         [BZ #19465]
15838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
15839         inside if.
15840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15841         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15842         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15844 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
15846         [BZ #19466]
15847         * time/tst-mktime2.c (time_t_max): Removed.
15848         (time_t_min): Likewise.
15849         (TYPE_SIGNED): New.
15850         (TYPE_MINIMUM): Likewise.
15851         (TYPE_MAXIMUM): Likewise.
15852         (TIME_T_MIN): Likewise.
15853         (TIME_T_MAX): Likewise.
15854         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
15855         and TIME_T_MIN.
15856         (do_test): Likewise.
15858 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
15860         [BZ #19467]
15861         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15862         index_Fast_Unaligned_Load flag for Excavator family CPUs.
15864 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
15866         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
15868 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
15870         * benchtests/Makefile (PYTHON): Define.
15871         (bench-func): Use $(PYTHON) to run python scripts.
15872         ($(objpfx)bench-%.c): Likewise.
15874 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
15876         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
15877         leading slash when `file_name' is "/".
15879 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
15881         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
15882         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
15883         Likewise.
15884         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
15885         Likewise.
15886         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
15887         Likewise.
15888         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
15889         enum constant and macro.
15890         (PTRACE_SETSIGMASK): Likewise.
15891         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15892         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15893         (PTRACE_GETSIGMASK): Likewise.
15894         (PTRACE_SETSIGMASK): Likewise.
15895         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15896         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
15897         Likewise.
15898         (PTRACE_SETSIGMASK): Likewise.
15899         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15900         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15901         (PTRACE_GETSIGMASK): Likewise.
15902         (PTRACE_SETSIGMASK): Likewise.
15903         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
15905         Likewise.
15906         (PTRACE_SETSIGMASK): Likewise.
15907         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
15909         Likewise.
15910         (PTRACE_SETSIGMASK): Likewise.
15911         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15912         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
15913         Likewise.
15914         (PTRACE_SETSIGMASK): Likewise.
15915         (PTRACE_SECCOMP_GET_FILTER): Likewise.
15917 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
15918             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15920         [BZ #19439]
15921         * math/bits/mathcalls.h
15922         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
15923         prototype.
15924         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
15926 2016-01-11  Andreas Schwab  <schwab@suse.de>
15928         [BZ #19253]
15929         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
15930         cache when TZDEFRULES was used.
15931         * time/tst-tzname.c: New file.
15932         * time/Makefile (test): Add tst-tzname.
15933         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
15934         * timezone/Makefile (test-zones): Add $(posixrules-file).
15935         ($(testdata)/$(posixrules-file)): New rule.
15937 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
15939         Fix doc quoting problems with Texinfo 5
15940         Without this change, in the info file output, Texinfo 5 quotes code
15941         in text with undirected single quotes 'like this' and generates
15942         code examples that with many PDF readers cannot be cut out of PDFs
15943         and pasted into code.
15944         * manual/libc.texinfo: Configure the libc manual like the GNU
15945         Emacs manual, by using @documentencoding and setting
15946         txicodequoteundirected and txicodequotebacktick.  This way,
15947         Texinfo 5 quotes code in text with directed single quotes ‘like
15948         this’ and produces examples that can be cut out of PDFs.  This
15949         change causes Texinfo 5 to generate info files that contain UTF-8
15950         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
15951         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
15953 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15955         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
15956         __libc_tabort, __libc_tend): New wrappers that enforce compiler
15957         barriers to their respective compiler built-ins.
15958         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
15959         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
15960         * sysdeps/powerpc/sysdep.h: Likewise.
15961         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
15962         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
15963         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
15965 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
15967         * scripts/config.guess: Revert previous shebang change.
15968         * scripts/config.sub: Likewise.
15969         * scripts/mkinstalldirs: Likewise.
15971 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15973         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
15974         PPC_FEATURE2_HAS_IEEE128.
15975         * sysdeps/powerpc/dl-procinfo.c:
15976         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
15978 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
15980         [BZ #19415]
15981         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
15982         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
15983         (_dl_lookup_address): Rewrite using function resolver trampoline.
15984         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
15985         two bits in address.
15987 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
15989         * longlong.h: Change !__SHMEDIA__ to
15990         (!defined (__SHMEDIA__) || !__SHMEDIA__).
15991         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
15993 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
15994             Joseph Myers  <joseph@codesourcery.com>
15995             Mark Shinwell  <shinwell@codesourcery.com>
15996             Andrew Stubbs  <ams@codesourcery.com>
15997             Rich Felker <dalias@libc.org>
15999         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16001 2016-01-07  Richard Henderson  <rth@redhat.com>
16003         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16005 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16007         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16008         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16009         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16010         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16011         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16013 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16014             Joseph Myers  <joseph@codesourcery.com>
16016         * timezone/private.h: Update from tzcode 2015g.
16017         * timezone/tzfile.h: Likewise.
16018         * timezone/tzselect.ksh: Likewise.
16019         * timezone/zdump.c: Likewise.
16020         * timezone/zic.c: Likewise.
16021         * timezone/ialloc.c: Remove file.
16022         * timezone/scheck.c: Likewise.
16023         * timezone/Makefile (extra-objs): Remove variable.
16024         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16025         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16026         -Wno-maybe-uninitialized.
16027         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16028         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16029         (CFLAGS-ialloc.c): Remove variable.
16030         (CFLAGS-scheck.c): Likewise.
16031         * timezone/README: Update list of files from tzcode.
16033 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16035         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16036         instead of __fxprintf when _LIBC is undefined.
16038 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16040         * catgets/test-gencat.sh: Remove space after shebang.
16041         * conform/GlibcConform.pm: Likewise.
16042         * conform/check-header-lists.sh: Likewise.
16043         * conform/conformtest.pl: Likewise.
16044         * conform/linknamespace.pl: Likewise.
16045         * conform/list-header-symbols.pl: Likewise.
16046         * debug/catchsegv.sh: Likewise.
16047         * elf/genrtldtbl.awk: Likewise.
16048         * elf/tst-pathopt.sh: Likewise.
16049         * elf/tst-rtld-load-self.sh: Likewise.
16050         * grp/tst_fgetgrent.sh: Likewise.
16051         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16052         * iconvdata/gen-8bit-gap.sh: Likewise.
16053         * iconvdata/gen-8bit.sh: Likewise.
16054         * iconvdata/run-iconv-test.sh: Likewise.
16055         * intl/tst-gettext.sh: Likewise.
16056         * intl/tst-gettext2.sh: Likewise.
16057         * intl/tst-gettext4.sh: Likewise.
16058         * intl/tst-gettext6.sh: Likewise.
16059         * intl/tst-translit.sh: Likewise.
16060         * io/ftwtest-sh: Likewise.
16061         * libio/test-freopen.sh: Likewise.
16062         * locale/gen-translit.pl: Likewise.
16063         * malloc/tst-mtrace.sh: Likewise.
16064         * manual/check-safety.sh: Likewise.
16065         * manual/libc-texinfo.sh: Likewise.
16066         * manual/tsort.awk: Likewise.
16067         * manual/xtract-typefun.awk: Likewise.
16068         * nptl/tst-cancel-wrappers.sh: Likewise.
16069         * nptl/tst-tls6.sh: Likewise.
16070         * posix/globtest.sh: Likewise.
16071         * posix/tst-getconf.sh: Likewise.
16072         * posix/wordexp-tst.sh: Likewise.
16073         * scripts/check-c++-types.sh: Likewise.
16074         * scripts/check-local-headers.sh: Likewise.
16075         * scripts/config.guess: Likewise.
16076         * scripts/config.sub: Likewise.
16077         * scripts/cpp: Likewise.
16078         * scripts/cross-test-ssh.sh: Likewise.
16079         * scripts/documented.sh: Likewise.
16080         * scripts/evaluate-test.sh: Likewise.
16081         * scripts/gen-libc-abis: Likewise.
16082         * scripts/gen-sorted.awk: Likewise.
16083         * scripts/list-fixed-bugs.py: Likewise.
16084         * scripts/merge-test-results.sh: Likewise.
16085         * scripts/mkinstalldirs: Likewise.
16086         * scripts/rellns-sh: Likewise.
16087         * scripts/test-installation.pl: Likewise.
16088         * scripts/update-copyrights: Likewise.
16089         * stdio-common/tst-printf.sh: Likewise.
16090         * stdio-common/tst-unbputc.sh: Likewise.
16091         * stdlib/tst-fmtmsg.sh: Likewise.
16092         * stdlib/tst-setcontext3.sh: Likewise.
16093         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16094         * sysdeps/unix/make-syscalls.sh: Likewise.
16096 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16098         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16099         asm stw with atomic_exchange_rel.  Add explanatory comment.
16100         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16101         Likewise.
16103 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16105         [BZ #19122]
16106         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16107         * sysdeps/generic/dl-unistd.h: New file.
16108         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16110 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16112          [BZ #19122]
16113          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16114          * sysdeps/generic/dl-mman.h: New file.
16115          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16117 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16119         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16120         trailing whitespace removed.
16121         * scripts/config.guess: Update to version 2016-01-01.
16122         * scripts/config.sub: Update to version 2016-01-01.
16123         * scripts/move-if-change: Update from gnulib.
16125 2016-01-04  Anton Blanchard  <anton@samba.org>
16127         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16128         for array indices.
16129         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16131 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16133         * NEWS: Update copyright dates.
16134         * catgets/gencat.c (print_version): Likewise.
16135         * csu/version.c (banner): Likewise.
16136         * debug/catchsegv.sh: Likewise.
16137         * debug/pcprofiledump.c (print_version): Likewise.
16138         * debug/xtrace.sh (do_version): Likewise.
16139         * elf/ldconfig.c (print_version): Likewise.
16140         * elf/ldd.bash.in: Likewise.
16141         * elf/pldd.c (print_version): Likewise.
16142         * elf/sotruss.sh: Likewise.
16143         * elf/sprof.c (print_version): Likewise.
16144         * iconv/iconv_prog.c (print_version): Likewise.
16145         * iconv/iconvconfig.c (print_version): Likewise.
16146         * locale/programs/locale.c (print_version): Likewise.
16147         * locale/programs/localedef.c (print_version): Likewise.
16148         * login/programs/pt_chown.c (print_version): Likewise.
16149         * malloc/memusage.sh (do_version): Likewise.
16150         * malloc/memusagestat.c (print_version): Likewise.
16151         * malloc/mtrace.pl: Likewise.
16152         * manual/libc.texinfo: Likewise.
16153         * nptl/version.c (banner): Likewise.
16154         * nscd/nscd.c (print_version): Likewise.
16155         * nss/getent.c (print_version): Likewise.
16156         * nss/makedb.c (print_version): Likewise.
16157         * posix/getconf.c (main): Likewise.
16158         * scripts/test-installation.pl: Likewise.
16159         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16161         * All files with FSF copyright notices: Update copyright dates
16162         using scripts/update-copyrights.
16163         * intl/plural.c: Regenerated.
16164         * locale/programs/charmap-kw.h: Likewise.
16165         * locale/programs/locfile-kw.h: Likewise.
16167 2016-01-02  Helge Deller  <deller@gmx.de>
16169         [BZ #19285]
16170         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16171         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16172         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16173         (MADV_xxK_PAGES): Remove.
16175 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16177         [BZ #15421]
16178         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16179         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16180         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16181         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16183 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16185         [BZ #19408]
16186         * sysdeps/unix/sysv/linux/personality.c: New file.
16187         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16188         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16189         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16190         (sysdep_routines): Add personality.
16191         (tests): Add tst-personality.
16192         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16193         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16194         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16195         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16196         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16197         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16198         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16199         Likewise.
16200         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16201         Likewise.
16202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16203         Likewise.
16204         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16205         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16206         Likewise.
16208 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16210         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16211         (PATH_ARM_SYSTYPE): Remove.
16212         (PATH_CPUINFO): Likewise.
16213         (IO_BASE_FOOTBRIDGE): Likewise.
16214         (IO_SHIFT_FOOTBRIDGE): Likewise.
16215         (struct platform): Likewise.
16216         (init_iosys): Remove compatibility code for 2.4 kernels.
16217         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16219 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16221         * malloc/tst-malloc-thread-fail.c: New file.
16222         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16223         (tst-malloc-thread-fail): Link against libpthread.
16225 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16227         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16228         (get_parser): New function.
16229         (main): New function.
16231 2015-12-29  Rob Wu  <rob@robwu.nl>
16233         [BZ #19369]
16234         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16236 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16238         [BZ #19270]
16239         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16241 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16243         [BZ #15421]
16244         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16246 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16248         [BZ #13690]
16249         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16250         after releasing it.
16251         (__lll_robust_unlock): Likewise.
16252         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16253         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16254         (lll_robust_unlock): Likewise.
16255         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16256         Prevent warnings in callers.
16258 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16260         * malloc/arena.c (list_lock): Update comment.
16262 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16264         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16265         __parse_hwcap_and_convert_at_platform to libc.a.
16267 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16269         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16270         platform and feature support for POWER9.
16271         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16272         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16273         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16274         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16275         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16276         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16277         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16278         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16280 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16282         Harmonize generic stdio-lock support with nptl
16284         This fixes build when _IO_funlockfile is a macro, fixes build where
16285         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16286         stack unwind.
16288         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16289         _IO_release_lock ): Use cleanup attribute on new
16290         _IO_acquire_lock_file variable instead of assuming that
16291         _IO_release_lock will be called.
16292         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16293         _IO_acquire_lock_needs_exceptions_enabled.
16294         (_IO_acquire_lock_clear_flags2): New macro.
16296 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16298         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16300 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16302         [BZ #19182]
16303         * malloc/arena.c (list_lock): Document lock ordering requirements.
16304         (free_list_lock): New lock.
16305         (ptmalloc_lock_all): Comment on free_list_lock.
16306         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16307         (detach_arena): Update comment.  free_list_lock is now needed.
16308         (_int_new_arena): Use free_list_lock around detach_arena call.
16309         Acquire arena lock after list_lock.  Add comment, including FIXME
16310         about incorrect synchronization.
16311         (get_free_list): Switch to free_list_lock.
16312         (reused_arena): Acquire free_list_lock around detach_arena call
16313         and attached threads counter update.  Add two FIXMEs about
16314         incorrect synchronization.
16315         (arena_thread_freeres): Switch to free_list_lock.
16316         * malloc/malloc.c (struct malloc_state): Update comments to
16317         mention free_list_lock.
16319 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16321         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16322         Remove functions.
16323         (sloww, sloww1): Accept argument to offset quadrant.
16324         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16325         quadrant.
16326         (__sin, __cos): Consolidate common code into new functions.
16327         (reduce_sincos_1, do_sincos_1): New functions.
16328         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16331         code to new functions.
16332         (reduce_sincos_2, do_sincos_2): New functions.
16333         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16335         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16336         common code for sincos.
16337         (__cos) [!IN_SINCOS]: Likewise.
16338         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16339         New function.
16340         (__sincos): Use it.
16342 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16344         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16345         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16346         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16348 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16350         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16353         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16354         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16355         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16356         index_Prefer_No_VZEROUPPER): New feature.
16357         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16358         Prefer_No_VZEROUPPER for Knights Landing.
16360 015-12-18  Torvald Riegel  <triegel@redhat.com>
16362         * math/atest-exp2.c (mp_exp_m1): Remove.
16364 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16366         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16367         syscalls.
16368         (__SYSCALL0): New macro.
16369         (__SYSCALL1): Likewise.
16370         (__SYSCALL2): Likewise.
16371         (__SYSCALL3): Likewise.
16372         (__SYSCALL4): Likewise.
16373         (__SYSCALL5): Likewise.
16374         (__SYSCALL6): Likewise.
16375         (__SYSCALL_CONCAT_X): Likewise.
16376         (__SYSCALL_CONCAT): Likewise.
16377         (__SYSCALL_DIST): Likewise.
16378         (__SYSCALL_CALL): Likewise.
16380 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16382         [BZ #19363]
16383         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16385 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16387         [BZ #19375]
16388         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16389         negative subnormals.
16391 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16394         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16395         (INTERNAL_SYSCALL_NCS): Use it.
16396         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16398 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16400         [BZ #19243]
16401         * malloc/arena.c (get_free_list): Remove assert and adjust
16402         reference count handling.  Add comment about reused_arena
16403         interaction.
16404         (reused_arena): Add comments abount get_free_list interaction.
16405         * malloc/tst-malloc-thread-exit.c: New file.
16406         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16407         (tst-malloc-thread-exit): Link against libpthread.
16409 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16411         [BZ #19367]
16412         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16413         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16414         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16415         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16416         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16418 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16420         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16421         Silvermont optimizations for Knights Landing.
16423 2015-12-15  Andreas Schwab  <schwab@suse.de>
16425         [BZ #17197]
16426         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16427         immediately after emitting SI.
16428         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16429         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16430         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16431         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16432         * iconvdata/bug-iconv10.c: New file.
16433         * iconvdata/Makefile (tests): Add bug-iconv10.
16434         ($(objpfx)bug-iconv10.out): New rule.
16436 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16438         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16439         aliasing violation.
16441 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16443         [BZ #18472]
16444         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16445         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16446         conditionals for them.
16447         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16448         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16450         sys/kdaemon.h.
16451         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16452         compat-only syscall, obsoleted in glibc 2.23.
16453         (create_module): Likewise.
16454         (get_kernel_syms): Likewise.
16455         (query_module): Likewise.
16456         (uselib): Likewise.
16457         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16459 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16461         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16462         <linux/version.h>.
16463         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16464         conditional code.
16465         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16466         and ioshift_name initialization.
16468 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16470         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16471         Fix indentation.
16473 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16475         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16477 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16479         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16481 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16482             Jakub Wilk  <jwilk@debian.org>
16484         [BZ #19347]
16485         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16486         to change the group of the device to the tty group.
16488 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16490         Split large string section; add truncation advice
16491         * manual/examples/strncat.c: Remove.
16492         This example was misleading, as the code would have undefined
16493         behavior if "hello" was longer than SIZE.  Anyway, the manual
16494         shouldn't encourage strncpy+strncat for this sort of thing.
16495         * manual/string.texi (Copying Strings and Arrays): Split into
16496         three sections Copying Strings and Arrays, Concatenating Strings,
16497         and Truncating Strings, as this section was way too long.  All
16498         cross-referenced changed.  Add advice about string-truncation
16499         functions.  Remove misleading strncat example.
16501 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16503         * manual/nss.texi (NSS Modules Interface): Document
16504         NSS_STATUS_NOTFOUND and SUCCESS.
16506 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16508         [BZ 18568]
16509         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16510         201505L, for Unicode 8.
16512 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16514         * locale/C-translit.h: Regenerate.
16516 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16518         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16519         and U+0153.
16521 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16523         [BZ #19351]
16524         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16525         expanding log(1+z), compare z rather than its square with epsilon
16526         to determine when to avoid evaluating the expansion.
16528         [BZ #19350]
16529         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16530         Increase overflow threshold.
16532         [BZ #19349]
16533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16534         when small.
16536         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16538         New macro.
16539         [__LINUX_KERNEL_VERSION >= 0x040300]
16540         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16542         Likewise.
16543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16544         Likewise.
16545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16546         Likewise.
16547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16548         Likewise.
16549         [__LINUX_KERNEL_VERSION >= 0x040300]
16550         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16551         [__LINUX_KERNEL_VERSION >= 0x040300]
16552         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16553         [__LINUX_KERNEL_VERSION >= 0x040300]
16554         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16555         [__LINUX_KERNEL_VERSION >= 0x040300]
16556         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16557         [__LINUX_KERNEL_VERSION >= 0x040300]
16558         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16559         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16560         Likewise.
16561         [__LINUX_KERNEL_VERSION >= 0x040300]
16562         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16563         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16564         Likewise.
16565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16566         Likewise.
16567         [__LINUX_KERNEL_VERSION >= 0x040300]
16568         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16570         Likewise.
16571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16572         Likewise.
16573         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16575         Likewise.
16576         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16577         Likewise.
16578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16579         Likewise.
16580         [__LINUX_KERNEL_VERSION >= 0x040300]
16581         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16583         Likewise.
16584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16585         Likewise.
16586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16587         Likewise.
16588         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16589         Likewise.
16590         [__LINUX_KERNEL_VERSION >= 0x040300]
16591         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16592         [__LINUX_KERNEL_VERSION >= 0x040300]
16593         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16594         [__LINUX_KERNEL_VERSION >= 0x040300]
16595         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16596         [__LINUX_KERNEL_VERSION >= 0x040300]
16597         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16598         [__LINUX_KERNEL_VERSION >= 0x040300]
16599         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16601         Likewise.
16602         [__LINUX_KERNEL_VERSION >= 0x040300]
16603         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16605         Likewise.
16606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16607         Likewise.
16608         [__LINUX_KERNEL_VERSION >= 0x040300]
16609         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16611         Likewise.
16612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16613         Likewise.
16614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16615         (__ASSUME_SOCKET_SYSCALL): Likewise.
16616         (__ASSUME_BIND_SYSCALL): Likewise.
16617         (__ASSUME_CONNECT_SYSCALL): Likewise.
16618         (__ASSUME_LISTEN_SYSCALL): Likewise.
16619         (__ASSUME_ACCEPT_SYSCALL): Likewise.
16620         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16621         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16622         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16623         (__ASSUME_SEND_SYSCALL): Likewise.
16624         (__ASSUME_SENDTO_SYSCALL): Likewise.
16625         (__ASSUME_RECV_SYSCALL): Likewise.
16626         (__ASSUME_RECVFROM_SYSCALL): Likewise.
16627         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16628         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16629         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16630         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16631         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16632         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16633         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16634         Likewise.
16635         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16636         Likewise.
16637         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
16638         Likewise.
16639         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
16640         Likewise.
16641         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
16642         Likewise.
16643         [__LINUX_KERNEL_VERSION >= 0x020625]
16644         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16645         [__LINUX_KERNEL_VERSION >= 0x020625]
16646         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16647         [__LINUX_KERNEL_VERSION >= 0x020625]
16648         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16649         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
16650         Likewise.
16651         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
16652         Likewise.
16653         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
16654         Likewise.
16655         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
16656         Likewise.
16657         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
16658         Likewise.
16659         [__LINUX_KERNEL_VERSION >= 0x020625]
16660         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16661         [__LINUX_KERNEL_VERSION >= 0x020625]
16662         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
16664         Likewise.
16665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
16666         Likewise.
16668 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16670         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
16671         record the current if the current ABI and CPU support the FP64
16672         extension.
16673         (has-modd-spreg): Define to record the current if the current ABI and
16674         CPU support 32-bit floating point values in odd FPU registers.
16675         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16676         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
16677         $(has-modd-spreg) equals yes.
16678         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
16679         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
16680         $(has-modd-spreg) equal yes.
16682 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16684         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
16685         basename.
16687 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
16689         * benchtests/Makefile (bench-math): Move ffs and ffsll...
16690         (bench-string): ... here.
16691         (bench): Add bench-string.
16692         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
16693         to *-benchset to reflect what they are.
16694         (benchset): Adjust.
16696         * benchtests/sincos-inputs: Add inputs from sin-inputs and
16697         cos-inputs.
16699 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
16701         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
16702         __attribute__ ((__simd__)) for vector math function declarations.
16704 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16706         Fix typo in strncat, wcsncat manual entries
16707         * manual/string.texi (Copying and Concatenation): Fix typos in
16708         sample implementations of strncat and wcsncat, by having them use
16709         the old value of the destination length, not the new one.
16711 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
16713         [BZ #16961]
16714         [BZ #16962]
16715         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
16716         string on the stack for strtod.
16717         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
16718         a string on the stack for strtof.
16719         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
16720         constructing a string on the stack for strtold.
16721         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
16722         __strtold_nan to GLIBC_PRIVATE.
16723         * math/test-nan-overflow.c: New file.
16724         * math/test-nan-payload.c: Likewise.
16725         * math/Makefile (tests): Add test-nan-overflow and
16726         test-nan-payload.
16728 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16730         Consistency about byte vs character in string.texi
16731         * manual/string.texi (String and Array Utilities):
16732         Distinguish more carefully among bytes, multibyte characters,
16733         and wide characters.  Use "byte" when talking about C 'char',
16734         to distinguish it more clearly from multibyte characters.
16735         Say "wide character" or "multibyte character" instead of
16736         "character", when a wide or multibyte character is intended.
16737         Similarly for "multibyte string" versus "string".
16738         Define these terms more carefully.
16740 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
16742         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
16743         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
16744         Likewise.
16745         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16746         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16747         * sysdeps/sh/math_private.h: New file.
16748         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
16749         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
16750         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
16751         long double function name.
16752         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16753         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16754         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16758         Remove __finitel, __isinfl, and __isnanl.
16759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16760         Likewise.
16761         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16763         Remove __finitel.
16764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16765         Likewise.
16766         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16768 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
16770         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
16771         installed libmvec_nonshared.a.
16773 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16775         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
16776         (sysdep_routines): Likewise.
16777         (sysdep-rtld-routines): Likewise.
16778         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
16779         [$(subdir) = nptl](tests-static): test-get_hwcap-static
16780         * sysdeps/powerpc/Versions: Added new
16781         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
16782         * sysdeps/powerpc/hwcapinfo.c: New file.
16783         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
16784         and parse hwcap, hwcap2 and platform number information.
16785         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
16786         to store HWCAP+HWCAP2 and platform number.
16787         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
16788         for HWCAP+HWCAP2 and platform number in the TCB.
16789         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
16790         the HWCAP, HWCAP2 and platform number in the TCB.
16791         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
16792         (TLS_INIT_TP): Included calls to add the hwcap and
16793         at_platform values in the TCB in TP initialization.
16794         (TLS_DEFINE_INIT_TP): Likewise.
16795         (THREAD_GET_HWCAP): New macro.
16796         (THREAD_SET_HWCAP): Likewise.
16797         (THREAD_GET_AT_PLATFORM): Likewise.
16798         (THREAD_SET_AT_PLATFORM): Likewise.
16799         * sysdeps/powerpc/powerpc32/dl-machine.h:
16800         (dl_platform_init): New function that calls
16801         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
16802         powerpc32.
16803         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
16804         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
16805         this functionality, static linking case.
16806         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
16807         linking case.
16808         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
16809         __parse_hwcap_and_convert_at_platform for the static linking case.
16810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
16811         Included the new __parse_hwcap_and_convert_at_platform symbol in the
16812         ABI list for GLIBC 2.23.
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
16814         Likewise.
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
16816         Likewise.
16818 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
16820         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
16821         * configure: Regenerate.
16822         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
16823         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
16825 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
16827         * iconvdata/ibm930.c: Add comment explaining encoding uses.
16828         * iconvdata/ibm933.c: Likewise.
16829         * iconvdata/ibm935.c: Likewise.
16830         * iconvdata/ibm937.c: Likewise.
16831         * iconvdata/ibm939.c: Likewise.
16833 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16835         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
16836         pthread_join.
16837         * nptl/tst-cancel21.c (tf): Likewise.
16839 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16841         [BZ #19313]
16842         * bits/typesizes.h (__CPU_MASK_TYPE): New.
16843         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16844         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16845         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
16846         Likewise.
16847         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
16848         Likewise.
16849         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
16850         Likewise.
16851         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
16852         Likewise.
16853         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
16854         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
16855         unsigned long int with __CPU_MASK_TYPE.
16857 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16859         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16861 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
16863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
16864         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
16865         t512.x.
16866         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
16868 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
16870         [BZ #19214]
16871         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
16872         argument to return extended model.  Update family and model
16873         with extended family and model when family == 0x0f.
16874         (init_cpu_features): Updated.
16876 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16878         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
16879         signed off_t, so 32bit bigger than 2GiB values are fine actually.
16881         * sysdeps/mach/hurd/mmap64.c: New file.
16883 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
16885         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
16886         rights for its main user thread in NEWTASK.
16888 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
16890         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
16891         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
16893 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
16895         [BZ #14259]
16896         * Makeconfig: Rename localedir to complocaledir.
16897         Rename inst_localedir to inst_complocaledir.
16898         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
16899         * config.make.in: Use complocaledir and libc_cv_complocaledir.
16900         * configure.ac: Use libc_cv_complocaledir.
16901         * configure: Regenerate.
16902         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
16903         -DCOMPLOCALEDIR.
16904         * locale/findlocale.c: Use COMPLOCALEDIR.
16905         * locale/loadarchive.c: Likewise.
16906         * locale/programs/locale.c: Likewise.
16907         * locale/programs/localedef.c: Likewise.
16908         * locale/programs/locarchive.c: Likewise.
16909         * localedata/Makefile: Use inst_complocaledir.
16910         * sysdeps/gnu/configure: Regenerate.
16911         * sysdeps/hppa/configure: Regenerate.
16912         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16913         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16915         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16916         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16917         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16918         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16920 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
16922         [BZ #19058]
16923         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
16924         AS_NEEDED.
16925         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
16926         workaround.
16927         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
16928         libmvec-static-only-routines): Added new file.
16929         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
16931 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16933         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
16934         of interrupted RPC instead of restoring it.
16936         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
16937         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
16938         libc_hidden_def.
16939         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
16940         into initialized data instead of common. Define rtld_hidden_data_def.
16941         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
16942         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
16943         libc_hidden_def.
16944         (if_freenameindex): Add libc_hidden_weak.
16945         (if_nameindex): Add libc_hidden_weak.
16946         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
16947         __open64.
16948         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
16949         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
16950         * sysdeps/mach/nanosleep.c: Include <time.h>
16951         (__nanosleep): Rename to __libc_nanosleep.
16952         (__nanosleep): Add weak_alias.
16953         (nanosleep): Update alias.
16955 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
16957         * stdlib/strtod_nan.c: New file.
16958         * stdlib/strtod_nan_double.h: Likewise.
16959         * stdlib/strtod_nan_float.h: Likewise.
16960         * stdlib/strtod_nan_main.c: Likewise.
16961         * stdlib/strtod_nan_narrow.h: Likewise.
16962         * stdlib/strtod_nan_wide.h: Likewise.
16963         * stdlib/strtof_nan.c: Likewise.
16964         * stdlib/strtold_nan.c: Likewise.
16965         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
16966         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
16967         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
16968         * wcsmbs/wcstod_nan.c: Likewise.
16969         * wcsmbs/wcstof_nan.c: Likewise.
16970         * wcsmbs/wcstold_nan.c: Likewise.
16971         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
16972         strtold_nan.
16973         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
16974         wcstof_nan.
16975         * include/stdlib.h (__strtof_nan): Declare and use
16976         libc_hidden_proto.
16977         (__strtod_nan): Likewise.
16978         (__strtold_nan): Likewise.
16979         (__wcstof_nan): Likewise.
16980         (__wcstod_nan): Likewise.
16981         (__wcstold_nan): Likewise.
16982         * include/wchar.h (____wcstoull_l_internal): Declare.
16983         * stdlib/strtod_l.c: Do not include <ieee754.h>.
16984         (____strtoull_l_internal): Remove declaration.
16985         (STRTOF_NAN): Define macro.
16986         (SET_MANTISSA): Remove macro.
16987         (STRTOULL): Likewise.
16988         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
16989         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
16990         (STRTOF_NAN): Define macro.
16991         (SET_MANTISSA): Remove macro.
16992         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
16993         (SET_MANTISSA): Remove macro.
16994         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
16995         macro.
16996         (SET_MANTISSA): Remove macro.
16997         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
16998         macro.
16999         (SET_MANTISSA): Remove macro.
17000         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17001         (SET_MANTISSA): Remove macro.
17002         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17003         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17004         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17006         [BZ #19266]
17007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17008         upper case and lower case letters inside NAN(), not using TOLOWER.
17009         * stdlib/tst-strtod-nan-locale-main.c: New file.
17010         * stdlib/tst-strtod-nan-locale.c: Likewise.
17011         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17012         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17013         Depend on $(gen-locales).
17014         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17015         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17016         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17017         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17018         Depend on $(gen-locales).
17019         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17021 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17023         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17025         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17027         __finitel, __isinfl, and __isnanl.
17028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17029         Likewise.
17030         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17032         __finitel.
17033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17034         Likewise.
17035         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17037 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17039         * malloc/memusage.c (me): Remove redundant getenv call.
17041 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17043         [BZ #19143]
17044         [BZ #19164]
17045         * nptl/check-cpuset.h: Remove.
17046         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17047         Remove CPU set size check.
17048         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17049         Likewise.
17050         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17051         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17052         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17053         (__pthread_setaffinity_new): Remove CPU set size check.
17054         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17055         (__kernel_cpumask_size): Remove.
17056         (__sched_setaffinity_new): Remove CPU set size check.
17057         * manual/threads.texi (Default Thread Attributes): Remove stale
17058         reference to check_cpuset_attr, determine_cpumask_size in comment.
17059         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17060         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17061         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17062         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17063         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17064         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17065         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17066         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17067         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17068         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17069         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17070         skeleton test file.
17071         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17072         tst-affinity-pid.
17074 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17076         * scripts/update-abilist.sh: New file.
17077         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17078         * Makerules (update-all-abi-%, update-all-abi)
17079         (subdir_update-all-abi): New targets.
17080         * elf/Makefile (update-all-abi): New target.
17082 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17084         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17085         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17086         (__libc_lock_define_initialized): Use it.
17087         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17088         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17089         * malloc/malloc.c (main_arena): Likewise.
17090         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17091         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17093 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17095         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17096         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17097         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17098         (PTRACE_O_MASK): Update value.
17099         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17100         New value in enum __ptrace_setoptions.
17101         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17102         (PTRACE_O_MASK): Update value.
17103         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17104         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17105         (PTRACE_O_MASK): Update value.
17106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17107         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17108         (PTRACE_O_MASK): Update value.
17109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17110         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17111         (PTRACE_O_MASK): Update value.
17112         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17113         New value in enum __ptrace_setoptions.
17114         (PTRACE_O_MASK): Update value.
17115         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17116         New value in enum __ptrace_setoptions.
17117         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17118         (PTRACE_O_MASK): Update value.
17120         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17121         New macro.
17122         (PACKET_AUXDATA): Likewise.
17123         (PACKET_ORIGDEV): Likewise.
17124         (PACKET_VERSION): Likewise.
17125         (PACKET_HDRLEN): Likewise.
17126         (PACKET_RESERVE): Likewise.
17127         (PACKET_TX_RING): Likewise.
17128         (PACKET_LOSS): Likewise.
17129         (PACKET_VNET_HDR): Likewise.
17130         (PACKET_TX_TIMESTAMP): Likewise.
17131         (PACKET_TIMESTAMP): Likewise.
17132         (PACKET_FANOUT): Likewise.
17133         (PACKET_TX_HAS_OFF): Likewise.
17134         (PACKET_QDISC_BYPASS): Likewise.
17135         (PACKET_ROLLOVER_STATS): Likewise.
17136         (PACKET_FANOUT_DATA): Likewise.
17137         (PACKET_MR_UNICAST): Likewise.
17139         [BZ #19242]
17140         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17141         (TOUPPER): Likewise.
17142         * stdlib/tst-strtol-locale-main.c: New file.
17143         * stdlib/tst-strtol-locale.c: Likewise.
17144         * stdlib/Makefile (tests): Add tst-strtol-locale.
17145         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17146         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17147         Depend on $(gen-locales).
17148         * wcsmbs/tst-wcstol-locale.c: New file.
17149         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17150         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17151         tr_TR.ISO-8859-9.
17152         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17153         Depend on $(gen-locales).
17155 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17157         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17158         __glibc_likely instead of __builtin_expect.  After falling back to
17159         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17160         system interface to register the code pages as occupied.
17162 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17164         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17165         [!ARM_MATH_PRIVATE_H].
17166         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17167         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17168         [!HPPA_MATH_PRIVATE_H].
17169         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17170         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17171         to [!I386_MATH_PRIVATE_H].
17172         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17173         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17174         Change guard to [!M68K_MATH_PRIVATE_H].
17175         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17176         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17177         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17178         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17179         macro.
17180         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17181         [!MIPS_MATH_PRIVATE_H].
17182         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17183         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17184         [!NIO2_MATH_PRIVATE_H].
17185         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17186         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17187         [!TILE_MATH_PRIVATE_H].
17188         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17190         [BZ #15421]
17191         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17192         initialize with 0 and define as weak alias of __signgam.
17193         * include/math.h [!_ISOMAC] (__signgam): Declare.
17194         * math/Makefile (libm-calls): Add w_lgamma_compat.
17195         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17196         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17197         test-signgam-ullong-init.
17198         (tests-static): Add test-signgam-uchar-static,
17199         test-signgam-uchar-init-static, test-signgam-uint-static,
17200         test-signgam-uint-init-static, test-signgam-ullong-static and
17201         test-signgam-ullong-init-static.
17202         (CFLAGS-test-signgam-uchar.c): New variable.
17203         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17204         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17205         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17206         (CFLAGS-test-signgam-uint.c): Likewise.
17207         (CFLAGS-test-signgam-uint-init.c): Likewise.
17208         (CFLAGS-test-signgam-uint-static.c): Likewise.
17209         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17210         (CFLAGS-test-signgam-ullong.c): Likewise.
17211         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17212         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17213         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17214         * math/Versions (libm): Add GLIBC_2.23.
17215         * math/lgamma-compat.h: New file.
17216         * math/test-signgam-main.c: Likewise.
17217         * math/test-signgam-uchar-init-static.c: Likewise.
17218         * math/test-signgam-uchar-init.c: Likewise.
17219         * math/test-signgam-uchar-static.c: Likewise.
17220         * math/test-signgam-uchar.c: Likewise.
17221         * math/test-signgam-uint-init-static.c: Likewise.
17222         * math/test-signgam-uint-init.c: Likewise.
17223         * math/test-signgam-uint-static.c: Likewise.
17224         * math/test-signgam-uint.c: Likewise.
17225         * math/test-signgam-ullong-init-static.c: Likewise.
17226         * math/test-signgam-ullong-init.c: Likewise.
17227         * math/test-signgam-ullong-static.c: Likewise.
17228         * math/test-signgam-ullong.c: Likewise.
17229         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17230         wrapper of w_lgamma_main.c.
17231         * math/w_lgamma_compat.c: New file.
17232         * math/w_lgamma_compatf.c: Likewise.
17233         * math/w_lgamma_compatl.c: Likewise.
17234         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17235         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17236         defining compatibility symbols.
17237         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17238         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17239         wrapper of w_lgammaf_main.c.
17240         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17241         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17242         defining compatibility symbols.
17243         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17244         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17245         wrapper of w_lgammal_main.c.
17246         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17247         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17248         defining compatibility symbols.
17249         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17250         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17251         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17252         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17253         <lgamma-compat.h>.
17254         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17255         (__ieee754_gamma): Define as alias.
17256         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17257         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17258         <lgamma-compat.h>.
17259         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17260         (__ieee754_gammaf): Define as alias.
17261         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17262         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17263         <lgamma-compat.h>.
17264         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17265         (__ieee754_gammal): Define as alias.
17266         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17267         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17268         <math/w_lgamma_compat.c>.
17269         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17270         Define as alias of __lgamma_compat and use in defining lgammal.
17271         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17272         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17273         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17274         (USE_AS_COMPAT): New macro.
17275         (LGAMMA_OLD_VER): Undefine and redefine.
17276         (lgammal): Do not define here.
17277         (gammal): Only define here if [GAMMA_ALIAS].
17278         * conform/linknamespace.pl (@whitelist): Remove signgam.
17279         * sysdeps/nacl/libm.abilist: Update.
17280         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17281         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17282         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17283         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17284         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17285         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17286         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17287         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17288         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17289         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17290         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17291         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17293         Likewise.
17294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17295         Likewise.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17297         Likewise.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17299         Likewise.
17300         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17301         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17302         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17303         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17304         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17306         Likewise.
17307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17308         Likewise.
17309         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17310         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17311         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17313 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17315         [BZ #16364]
17316         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17317         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17319 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17321         * sysdeps/s390/fpu/bits/mathinline.h:
17322         Use __asm__ [__volatile__] instead of asm [volatile].
17323         * sysdeps/s390/abort-instr.h: Likewise.
17324         * sysdeps/s390/atomic-machine.h: Likewise.
17325         * sysdeps/s390/bits/string.h: Likewise.
17326         * sysdeps/s390/dl-tls.h: Likewise.
17327         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17328         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17329         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17330         * sysdeps/s390/fpu/fesetround.c: Likewise.
17331         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17332         * sysdeps/s390/fpu/s_fma.c: Likewise.
17333         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17334         * sysdeps/s390/memusage.h: Likewise.
17335         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17336         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17337         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17338         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17339         * sysdeps/s390/nptl/tls.h: Likewise.
17340         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17341         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17342         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17343         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17344         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17345         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17346         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17347         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17348         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17349         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17350         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17351         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17352         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17353         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17354         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17355         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17356         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17357         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17358         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17359         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17360         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17362         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17364 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17365             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17367         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17368         Add lwarx hint, and use macro for acquire instruction.
17369         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17370         Likewise.
17371         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17372         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17373         update to use new atomic macros.
17375 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17377         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17378         (__lll_trylock_elision): Fix setting of adapt_count.
17379         * sysdeps/unix/sysv/linux/powerpc/htm.h
17380         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17381         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17382         (_ABORT_SYSCALL): Renumber, and clarify definition.
17383         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17385 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17387         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17388         after system headers to prevent MIN/MAX redefinition.  Define
17389         HAVE_ALLOCA to preserve builtin alloca usage.
17391 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17393         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17394         static and don't set or restore rounding.
17395         (__cos)[IN_SINCOS]: Likewise.
17396         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17397         (__sincos): Set and restore rounding mode.  Remove check for infinite
17398         or NaN input.
17400         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17402         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17403         as used.
17405 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17407         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17409 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17411         * config.make.in (have-glob-dat-reloc): New.
17412         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17413         target supports GLOB_DAT relocaton. AC_SUBST.
17414         * configure: Regenerated.
17415         * elf/Makefile (tests): Add tst-prelink.
17416         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17417         (tst-prelink-ENV): New.
17418         ($(objpfx)tst-prelink-conflict.out): Likewise.
17419         ($(objpfx)tst-prelink-cmp.out): Likewise.
17420         * sysdeps/x86/tst-prelink.c: Moved to ...
17421         * elf/tst-prelink.c: Here.
17422         * sysdeps/x86/tst-prelink.exp: Moved to ...
17423         * elf/tst-prelink.exp: Here.
17424         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17425         (tst-prelink-ENV): Removed.
17426         ($(objpfx)tst-prelink-conflict.out): Likewise.
17427         ($(objpfx)tst-prelink-cmp.out): Likewise.
17428         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17430 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17432         [BZ #14551]
17433         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17434         (__mpn_construct_long_double): If high part overflows to infinity,
17435         set errno and recompute overflowed result of the correct sign.
17436         * sysdeps/ieee754/ldbl-128ibm/Makefile
17437         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17438         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17439         $(libm).
17440         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17442 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17444         [BZ #15479]
17445         [BZ #19238]
17446         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17447         floating-point state after first operation on input.  Restore full
17448         state rather than just rounding mode.
17449         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17450         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17451         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17453         [BZ #19235]
17454         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17455         add 0.5 to integer arguments.
17456         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17457         Likewise.
17458         (.LC2): New object.
17460 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17462         * scripts/pylintrc (reports): Set to no.
17464 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17466         * elf/dl-load.c (open_verify): Take new argument FD.
17467         Skip __open call if passed FD is not -1.
17468         (_dl_map_object, open_path): Update callers.
17469         * elf/dl-sysdep-open.h: New file.
17470         * elf/dl-load.c: Include it.
17471         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17472         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17473         * sysdeps/nacl/dl-sysdep-open.h: New file.
17474         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17475         from libc to rtld.
17477 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17479         [BZ #19228]
17480         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17481         and restore full floating-point state.
17482         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17483         Likewise.
17484         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17485         Likewise.
17486         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17487         Likewise.
17488         * math/test-nearbyint-except-2.c: New file.
17489         * math/Makefile (tests): Add test-nearbyint-except-2.
17491 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17493         [BZ #19178]
17494         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17495         (tst-prelink-ENV): New.
17496         ($(objpfx)tst-prelink-conflict.out): Likewise.
17497         ($(objpfx)tst-prelink-cmp.out): Likewise.
17498         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17499         * sysdeps/x86/tst-prelink.c: New file.
17500         * sysdeps/x86/tst-prelink.exp: Likewise.
17502 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17504         * math/auto-libm-test-in: Add another test of pow.
17505         * math/auto-libm-test-out: Regenerated.
17506         * math/libm-test.inc (pow_test_data): Add another test.
17508 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17510         [BZ #19219]
17511         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17512         weak_alias to nearbyintl.
17514 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17516         * sysdeps/aarch64/bits/string.h: New file.
17517         (_STRING_ARCH_unaligned): Define.
17519 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17521         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17522         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17523         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17524         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17527 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17529         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17530         for original name of the DSO.  Add it to the name list of the DSO
17531         if it is actually given.
17532         (_dl_map_object): Keep track of whether an audit module rewrote
17533         the file name.  If yes, pass the original name to
17534         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17535         debugging is enabled, log the change of the file name.
17536         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17537         _dl_map_object_from_fd.
17538         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17539         * elf/tst-audit11.c: New file
17540         * elf/tst-auditmod11.c: New file.
17541         * elf/tst-audit11mod1.c: New file.
17542         * elf/tst-audit11mod2.c: New file.
17543         * elf/tst-audit11mod2.map: New file.
17544         * elf/tst-audit12.c: New file
17545         * elf/tst-auditmod12.c: New file.
17546         * elf/tst-audit12mod1.c: New file.
17547         * elf/tst-audit12mod2.c: New file.
17548         * elf/tst-audit12mod2.map: New file.
17549         * elf/tst-audit12mod3.c: New file.
17551 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17553         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17554         Don't create weak aliases,
17555         because versioned symbols are created later.
17556         * sysdeps/s390/s390-32/setjmp.S
17557         (setjmp, _setjmp): Remove weak and rename to an unique name
17558         in SHARED case due to existing versioned symbols.
17559         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17561         (getcontext): Create weak alias only in non SHARED case.
17562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17564 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17566         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17567         (__ASSUME_*_SYSCALL) Define new macros.
17568         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17569         Remove socketcall syscalls.
17570         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17571         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17572         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17573         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17574         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17575         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17577 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17579         [BZ #12926]
17580         Terminate process on invalid netlink response.
17581         * sysdeps/unix/sysv/linux/netlinkaccess.h
17582         (__netlink_assert_response): Declare.
17583         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17584         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17585         (sysdep_routines): Add netlink_assert_response.
17586         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17587         __netlink_assert_response.
17588         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17589         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17590         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17591         __netlink_assert_response.
17593 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17595         [BZ #19178]
17596         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17597         (RTYPE_CLASS_PLT): Likewise.
17598         (RTYPE_CLASS_COPY): Likewise.
17599         (RTYPE_CLASS_TLS): Likewise.
17600         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17601         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17602         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17603         DL_DEBUG_PRELINK.
17605 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17607         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17608         calls with argument -0.5.
17609         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17611         * configure.ac (libc_cv_z_nodelete): Remove configure test.
17612         (libc_cv_z_nodlopen): Likewise.
17613         (libc_cv_z_initfirst): Likewise.
17614         * configure: Regenerated.
17616 2015-11-06  Florian Weimer  <fweimer@redhat.com>
17618         Simplify abilist format to be line-based.
17619         * scripts/abilist.awk: Collect descriptors in the descs variable.
17620         (emit): Write descs variable and sort it
17621         externally, with sort.
17622         * sysdeps/**/*.abilist: Convert to new format.
17624 2015-11-06  Mark Wielaard  <mjw@redhat.com>
17626         [BZ #11460]
17627         * io/Makefile (routines): Add fts64.
17628         (tests): Add tst-fts and tst-fts-lfs.
17629         (CFLAGS-fts64.c): New.
17630         * io/Versions (GLIBC_2.23): New.
17631         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17632         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17633         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17634         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17635         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17636         (FTSENT64): Likewise.
17637         (fts64_children): Likewise.
17638         (fts64_close): Likewise.
17639         (fts64_open): Likewise.
17640         (fts64_read): Likewise.
17641         (fts64_set): Likewise.
17642         * io/fts64.c: New file.
17643         * io/tst-fts.c: New test.
17644         * io/tst-fts-lfs.c: Likewise.
17645         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
17646         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
17647         fts64_set.
17648         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17649         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17650         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17651         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17652         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17653         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17654         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17655         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17656         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17657         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17658         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17659         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17660         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17662         Likewise.
17663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17664         Likewise.
17665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17667         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17668         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17669         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17670         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17671         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17674         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17675         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17676         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17677         * sysdeps/wordsize-64/fts.c: New file.
17678         * sysdeps/wordsize-64/fts64.c: Likewise.
17679         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
17680         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
17681         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
17682         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
17684 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17686         * math/libm-test.inc (NON_FINITE): New macro.
17687         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
17688         * math/gen-libm-test.pl (show_exceptions): Add argument
17689         $non_finite.
17690         (parse_args): Update call to show_exceptions.
17691         * math/test-math-finite.h: New file.
17692         * math/test-math-no-finite.h: Likewise.
17693         * math/test-double-finite.c: Likewise.
17694         * math/test-float-finite.c: Likewise.
17695         * math/test-ldouble-finite.c: Likewise.
17696         * math/test-double.c: Include "test-math-no-finite.h".
17697         * math/test-float.c: Include "test-math-no-finite.h".
17698         * math/test-ldouble.c: Include "test-math-no-finite.h".
17699         * math/test-math-inline.h (TEST_FINITE): New macro.
17700         * math/test-math-vector.h (TEST_FINITE): Likewise.
17701         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
17702         (libm-tests): Add test-float-finite and test-double-finite.
17703         ($(objpfx)test-float-finite.o): New dependency on
17704         $(objpfx)libm-test.stmp.
17705         ($(objpfx)test-double-finite.o): Likewise.
17706         ($(objpfx)test-ldouble-finite.o): Likewise.
17707         (libm-test-no-inline-cflags): New variable.
17708         (libm-test-finite-cflags): Likewise.
17709         (CFLAGS-test-float-finite.c): Likewise.
17710         (CFLAGS-test-double-finite.c): Likewise.
17711         (CFLAGS-test-ldouble-finite.c): Likewise.
17712         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
17713         (CFLAGS-test-double.c): Likewise.
17714         (CFLAGS-test-ldouble.c): Likewise.
17716 2015-11-05  Roland McGrath  <roland@hack.frob.com>
17718         * io/fcntl.c (__fcntl): Add ... to prototype.
17719         * misc/ioctl.c (__ioctl): Likewise.
17720         * misc/syscall.c (syscall): Likewise.
17722 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17724         * scripts/list-fixed-bugs.py: New file.
17726         [BZ #19213]
17727         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
17728         returned for argument 1.
17729         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
17730         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
17731         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
17732         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
17733         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
17734         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
17736         [BZ #19211]
17737         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
17738         __USE_XOPEN], not if [!__USE_ISOC99].
17739         (lgammaf): Likewise.
17740         (lgammal): Likewise.
17741         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
17742         (gammaf): Likewise.
17743         (gammal): Likewise.
17744         * math/test-signgam-finite-c11.c: New file.
17745         * math/test-signgam-finite-c99.c: Likewise.
17746         * math/test-signgam-finite.c: Likewise.
17747         * math/Makefile (tests): Add test-signgam-finite,
17748         test-signgam-finite-c99 and test-signgam-finite-c11.
17749         (CFLAGS-test-signgam-finite.c): New variable.
17750         (CFLAGS-test-signgam-finite-c99.c): Likewise.
17751         (CFLAGS-test-signgam-finite-c11.c): Likewise.
17753         [BZ #19212]
17754         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
17755         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
17756         500].
17757         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
17758         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
17759         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
17760         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
17761         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
17762         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
17763         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
17764         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
17765         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
17766         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
17768         [BZ #19209]
17769         * math/bits/math-finite.h (ldexp): Remove declaration.
17770         (ldexpf): Likewise.
17771         (ldexpl): Likewise.
17773         [BZ #19205]
17774         * math/bits/math-finite.h (acosf): Condition declaration on
17775         [__USE_ISOC99].
17776         (acosl): Likewise.
17777         (acoshf): Likewise.
17778         (acoshl): Likewise.
17779         (asinf): Likewise.
17780         (asinl): Likewise.
17781         (atan2f): Likewise.
17782         (atan2l): Likewise.
17783         (atanhf): Likewise.
17784         (atanhl): Likewise.
17785         (coshf): Likewise.
17786         (coshl): Likewise.
17787         (expf): Likewise.
17788         (expl): Likewise.
17789         (fmodf): Likewise.
17790         (fmodl): Likewise.
17791         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
17792         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
17793         (j0l): Likewise.
17794         (y0f): Likewise.
17795         (y0l): Likewise.
17796         (j1f): Likewise.
17797         (j1l): Likewise.
17798         (y1f): Likewise.
17799         (y1l): Likewise.
17800         (jnf): Likewise.
17801         (jnl): Likewise.
17802         (ynf): Likewise.
17803         (ynl): Likewise.
17804         (lgammaf_r): Condition declaration on [__USE_ISOC99].
17805         (lgammal_r): Likewise.
17806         (__lgamma_r_finite): New declaration.
17807         (__lgammaf_r_finite): Likewise.
17808         (__lgammal_r_finite): Likewise.
17809         (lgamma): Use __lgamma_r_finite.
17810         (lgammaf): Condition definition on [__USE_ISOC99].  Use
17811         __lgammaf_r_finite.
17812         (lgammal): Condition definition on [__USE_ISOC99].  Use
17813         __lgammal_r_finite.
17814         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
17815         __lgamma_r_finite.
17816         (gammaf): Condition definition on [__USE_ISOC99].  Use
17817         __lgammaf_r_finite.
17818         (gammal): Condition definition on [__USE_ISOC99].  Use
17819         __lgammal_r_finite.
17820         (logf): Condition declaration on [__USE_ISOC99].
17821         (logl): Likewise.
17822         (log10f): Likewise.
17823         (log10l): Likewise.
17824         (ldexpf): Likewise.
17825         (ldexpl): Likewise.
17826         (powf): Likewise.
17827         (powl): Likewise.
17828         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
17829         __USE_ISOC99].
17830         (remainderf): Condition declaration on [__USE_ISOC99].
17831         (remainderl): Likewise.
17832         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
17833         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
17834         (scalbl): Likewise.
17835         (sinhf): Condition declaration on [__USE_ISOC99].
17836         (sinhl): Likewise.
17837         (sqrtf): Likewise.
17838         (sqrtl): Likewise.
17840 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17842         * sysdeps/arm/atomic-machine.h
17843         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17844         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17845         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
17846         Remove conditional code.
17847         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17848         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17849         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
17850         Change conditional to [__ASSEMBLER__].
17851         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17852         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
17853         [!__ASSEMBLER__].
17854         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
17855         code.
17856         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
17857         conditional macro definitions.
17858         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
17859         (__arch_compare_and_exchange_val_16_acq): Likewise.
17860         (__arch_compare_and_exchange_val_32_acq): Likewise.
17861         (atomic_exchange_and_add): Likewise.
17862         (atomic_add): Likewise.
17863         (atomic_add_negative): Likewise.
17864         (atomic_add_zero): Likewise.
17865         (atomic_bit_set): Likewise.
17866         (atomic_bit_test_set): Likewise.
17867         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
17868         code unconditional.
17869         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17871         * math/test-math-errno.h: New file.
17872         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
17873         empty.
17874         (TEST_ERRNO): New macro.
17875         (TEST_EXCEPTIONS): Likewise.
17876         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
17877         (TEST_EXCEPTIONS): Likewise.
17878         * math/test-math-vector.h (TEST_ERRNO): Likewise.
17879         * math/test-double.c: Include "test-math-errno.h".
17880         * math/test-float.c: Likewise.
17881         * math/test-ldouble.c: Likewise.
17882         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
17883         code unconditional.
17884         (test_exceptions): Only run code if TEST_EXCEPTIONS.
17885         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
17886         unconditional.
17887         (test_errno): Only run code if TEST_ERRNO.
17888         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
17890 2015-11-04  Florian Weimer  <fweimer@redhat.com>
17892         * nptl/tst-once5.cc: Remove attribution.
17894 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17896         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
17897         sqrt, tan, tanh, y0, y1 and yn.
17898         * math/auto-libm-test-out: Regenerated.
17899         * math/libm-test.inc (scalb_test_data): Add more tests.
17900         (scalbn_test_data): Likewise.
17901         (scalbln_test_data): Likewise.
17902         (signbit_test_data): Likewise.
17903         (sin_test_data): Likewise.
17904         (sincos_test_data): Likewise.
17905         (sinh_test_data): Likewise.
17906         (sqrt_test_data): Likewise.
17907         (tan_test_data): Likewise.
17908         (tanh_test_data): Likewise.
17909         (tgamma_test_data): Likewise.
17910         (y0_test_data): Likewise.
17911         (y1_test_data): Likewise.
17912         (yn_test_data): Likewise.
17913         (significand_test_data): Likewise.
17914         * sysdeps/i386/fpu/libm-test-ulps: Update.
17916 2015-11-03  David Kastrup  <dak@gnu.org>
17918         [BZ #18604]
17919         * assert/assert.h (assert): Don't macro-expand failed assertion
17920         expression in error message.
17921         * malloc/malloc.c (assert): Likewise.
17923 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
17925         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
17926         test.
17927         * configure: Regenerated.
17929 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
17931         * math/libm-test.inc (modf_test_data): Add more tests.
17932         (nearbyint_test_data): Likewise.
17933         (nextafter_test_data): Likewise.
17934         (nexttoward_test_data): Likewise.
17935         (pow_test_data): Likewise.
17936         (remainder_test_data): Likewise.
17937         (remquo_test_data): Likewise.
17938         (rint_test_data): Likewise.
17940         [BZ #19201]
17941         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17942         Check for zero remainder in case of large exponents and ensure
17943         correct sign of result in that case.
17944         * math/libm-test.inc (remainder_test_data): Add more tests.
17946         [BZ #6799]
17947         * math/s_nextafter.c: Include <errno.h>.
17948         (__nextafter): Set errno on overflow and underflow.
17949         * math/s_nexttowardf.c: Include <errno.h>.
17950         (__nexttowardf): Set errno on overflow and underflow.
17951         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
17952         (__nextafterl): Set errno on overflow and underflow.
17953         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
17954         (__nexttoward): Set errno on overflow and underflow.
17955         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
17956         (__nexttowardf): Set errno on overflow and underflow.
17957         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
17958         (__nextafterf): Set errno on overflow and underflow.
17959         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
17960         (__nextafterl): Set errno on overflow and underflow.
17961         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
17962         (__nexttoward): Set errno on overflow and underflow.
17963         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
17964         (__nexttowardf): Set errno on overflow and underflow.
17965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
17966         (__nextafterl): Set errno on overflow and underflow.
17967         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
17968         (__nexttoward): Set errno on overflow and underflow.
17969         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
17970         (__nexttowardf): Set errno on overflow and underflow.
17971         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
17972         (__nexttoward): Set errno on overflow and underflow.
17973         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
17974         (__nexttowardf): Set errno on overflow and underflow.
17975         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
17976         (__nldbl_nexttowardf): Set errno on overflow and underflow.
17977         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
17978         (__nextafterl): Set errno on overflow and underflow.
17979         * math/libm-test.inc (nextafter_test_data): Do not allow errno
17980         setting to be missing on overflow.  Add more tests.
17981         (nexttoward_test_data): Likewise.
17983         * configure.ac (libc_cv_initfini_array): Remove configure test.
17984         * configure: Regenerated.
17986 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
17988         [BZ #19189]
17989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
17990         non-finite argument handle arguments with negative sign.
17992         * math/libm-test.inc (j0_test_data): Do not test sign of zero
17993         result from infinite argument.
17994         (j1_test_data): Likewise.
17995         (jn_test_data): Likewise.
17996         (y0_test_data): Likewise.
17997         (y1_test_data): Likewise.
17998         (yn_test_data): Likewise.
18000         [BZ #16171]
18001         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18002         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18003         * math/w_remainderf.c (dremf): Define as weak alias of
18004         __remainderf.
18005         * math/w_remainderl.c (dreml): Define as weak alias of
18006         __remainderl.
18007         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18008         __remainder.
18009         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18010         __remainderf.
18011         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18012         __remainderl.
18013         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18014         weak alias of remainderl.
18015         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18016         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18017         alias of __remainder.
18018         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18019         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18020         strong alias of __remainderl.
18021         (dreml): Use long_double_symbol.
18022         * math/Makefile (libm-calls): Remove w_drem.
18023         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18024         (CFLAGS-nldbl-drem.c): Remove variable.
18025         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18026         * math/w_drem.c: Remove file.
18027         * math/w_dremf.c: Likewise.
18028         * math/w_dreml.c: Likewise.
18029         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18030         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18031         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18033         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18034         * sysdeps/i386/configure: Regenerated.
18035         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18036         * sysdeps/x86_64/configure: Regenerated.
18038         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18039         test.
18040         (libc_cv_visibility_attribute): Likewise.
18041         (libc_cv_protected_data): Test unconditionally.
18042         (libc_cv_broken_visibility_attribute): Remove configure test.
18043         (libc_cv_have_sdata_section): Test unconditionally.
18044         * configure: Regenerated.
18046         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18047         * include/scratch_buffer.h: Include <stddef.h> instead of
18048         <libc-internal.h>.
18049         (struct scratch_buffer): Use max_align_t instead of
18050         libc_max_align_t.
18052 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18054         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18055         instead of extend_alloca.  Change control flow to avoid a goto.
18056         Remove assert which is trivially always true.
18058 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18060         [BZ #16068]
18061         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18062         (FE_ALL_EXCEPT_X86): New macro.
18063         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18064         FE_ALL_EXCEPT.  Ensure precision control is included in
18065         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18066         handle "denormal operand exception" and clear FZ and DAZ bits.
18067         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18068         (FE_ALL_EXCEPT_X86): New macro.
18069         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18070         FE_ALL_EXCEPT.  Ensure precision control is included in
18071         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18072         handle "denormal operand exception" and clear FZ and DAZ bits.
18073         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18074         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18075         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18076         test-fenv-x87 and test-fenv-sse-2.
18077         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18079         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18080         * math/test-double.h (BUILD_COMPLEX): New macro.
18081         * math/test-float.h (BUILD_COMPLEX): Likewise.
18082         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18084         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18085         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18086         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18087         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18088         instead of DBL_DENORM_MIN in comment.
18089         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18090         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18091         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18092         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18093         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18094         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18096 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18098         [BZ# 19048]
18099         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18100         attached_threads member.
18101         (main_arena): Initialize attached_threads.
18102         * malloc/arena.c (list_lock): Update comment.
18103         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18104         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18105         (deattach_arena): New function.
18106         (_int_new_arena): Initialize arena reference count and deattach
18107         replaced arena.
18108         (get_free_list, reused_arena): Update reference count and deattach
18109         replaced arena.
18110         (arena_thread_freeres): Update arena reference count and only put
18111         unreferenced arenas on the free list.
18113 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18115         [BZ #19181]
18116         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18117         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18118         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18119         * math/test-fenv-clear-main.c: New file.
18120         * math/test-fenv-clear.c: Likewise.
18121         * math/Makefile (tests): Add test-fenv-clear.
18122         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18123         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18124         test-fenv-clear-sse.
18125         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18127         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18128         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18129         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18131 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18133         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18134         static libc.
18136 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18138         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18139         test.
18140         * sysdeps/i386/configure: Regenerated.
18141         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18142         test.
18143         * sysdeps/x86_64/configure: Regenerated.
18144         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18146         memset-avx2 unconditionally instead of conditionally on
18147         [$(config-cflags-avx2) = yes].
18148         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18149         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18150         unconditional.
18151         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18152         * sysdeps/x86_64/multiarch/memset_chk.S
18153         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18154         to [IS_IN (libc) && SHARED].
18156 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18158         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18159         configure test.
18160         * sysdeps/arm/configure: Regenerated.
18161         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18162         Define variable if not already defined.
18164         [BZ #17404]
18165         * sysdeps/mips/atomic-machine.h
18166         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18167         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18168         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18170         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18171         unconditional.
18172         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18173         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18174         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18175         unconditional.
18176         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18177         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18178         unconditional.
18179         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18180         * stdlib/setenv.c
18181         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18182         code unconditional.
18183         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18184         Remove conditional code.
18185         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18186         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18187         unconditional.
18188         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18189         code.
18190         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18191         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18192         unconditional.
18193         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18194         code.
18195         * sysdeps/ieee754/ldbl-128/k_tanl.c
18196         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18197         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18198         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18199         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18200         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18201         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18202         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18203         unconditional.
18204         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18205         code.
18206         * sysdeps/ieee754/ldbl-96/k_tanl.c
18207         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18208         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18210         * nptl/tst-initializers1-c11.c: New file.
18211         * nptl/tst-initializers1-gnu11.c: Likewise.
18212         * nptl/Makefile (tests): Add these new tests.
18213         (CFLAGS-tst-initializers1-c11.c): New variable.
18214         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18216         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18217         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18218         instead of -std=gnu99.
18219         * configure.ac (systemtap): Test with -std=gnu11 instead of
18220         -std=gnu99.
18221         * configure: Regenerated.
18222         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18223         in compilation command in comment.
18225         * sysdeps/nptl/configure.ac: Remove file.
18226         * sysdeps/nptl/configure: Remove generated file.
18227         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18228         * configure: Regenerated.
18229         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18230         * config.make.in (have-forced-unwind): Remove variable.
18231         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18232         unconditional.
18233         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18234         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18235         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18236         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18237         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18238         unconditional.
18240 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18242         [BZ #19174]
18243         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18244         .skip_lock_out_of_tbegin_retries.
18245         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18246         (__lll_lock_elision): Likewise, and respect a value of
18247         try_tbegin <= 0.
18249 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18251         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18252         statement.
18254 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18256         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18257         variable.
18258         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18259         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18261         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18262         of -std=c1x -D_ISOC11_SOURCE.
18264         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18265         * configure: Regenerated.
18266         * manual/install.texi (Tools for Compilation): Document
18267         requirement for GCC 4.7 or later.
18268         * INSTALL: Regenerated.
18270 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18272         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18273         on CNT to a conditional jump to 'puntdata'.
18275 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18277         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18278         (libc_cv_gcc_tls_model_attr): Likewise.
18279         * configure: Regenerated.
18281         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18282         * configure: Regenerated.
18283         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18285 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18287         * configure.ac (old_glibc_headers): Remove configure test.
18288         * configure: Regenerated.
18289         * config.make.in (old-glibc-headers): Remove variable.
18290         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18291         (install): Remove dependency on remove-old-headers.
18292         (headers2_0): Remove variable.
18293         (remove-old-headers): Remove rule.
18295         * configure.ac (libc_cv_dot_text): Remove configure test.
18296         (libc_cv_asm_set_directive): Use .text instead of
18297         ${libc_cv_dot_text} in configure test.
18298         * configure: Regenerated.
18300 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18302         [BZ #19168]
18303         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18305 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18307         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18308         not support static linking.
18309         * configure: Regenerate.
18311 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18313         * math/libm-test.inc (check_float_internal): Do not special-case
18314         errors up to 0.5 ulp.
18316         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18317         log2.
18318         * math/auto-libm-test-out: Regenerated.
18319         * math/libm-test.inc (MAX_EXP): New macro.
18320         (ilogb_test_data): Add more tests.
18321         (isfinite_test_data): Likewise.
18322         (isgreater_test_data): Likewise.
18323         (isgreaterequal_test_data): Likewise.
18324         (isinf_test_data): Likewise.
18325         (isless_test_data): Likewise.
18326         (islessequal_test_data): Likewise.
18327         (islessgreater_test_data): Likewise.
18328         (isnan_test_data): Likewise.
18329         (isnormal_test_data): Likewise.
18330         (issignaling_test_data): Likewise.
18331         (isunordered_test_data): Likewise.
18332         (j0_test_data): Likewise.
18333         (j1_test_data): Likewise.
18334         (jn_test_data): Likewise.
18335         (lgamma_test_data): Likewise.
18336         (log_test_data): Likewise.
18337         (log10_test_data): Likewise.
18338         (log1p_test_data): Likewise.
18339         (log2_test_data): Likewise.
18340         (logb_test_data): Likewise.
18341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18343         [BZ #18611]
18344         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18345         avoid excess range and precision on underflow.
18346         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18347         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18348         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18349         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18350         underflow.
18351         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18352         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18353         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18354         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18355         * math/auto-libm-test-in: Do not allow missing errno setting for
18356         tests of j1 and jn.
18357         * math/auto-libm-test-out: Regenerated.
18359 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18361         [BZ #15491]
18362         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18363         floating-point environment instead of clearing all exceptions.
18364         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18365         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18366         merging in "invalid" exceptions from frndint.
18367         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18368         * math/test-nearbyint-except.c: New file.
18369         * math/Makefile (tests): Add test-nearbyint-except.
18371 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18373         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18375         * sysdeps/tile/libm-test-ulps: Regenerated.
18377 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18380         (__NR_sync_file_range2): Assume it is always defined.
18381         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18382         (__NR_sync_file_range): Assume it is always defined.
18384 2015-10-22  Andreas Schwab  <schwab@suse.de>
18386         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18387         INTERNAL_SYSCALL_ERRNO.
18388         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18389         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18390         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18391         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18392         Likewise.
18393         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18395 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18397         * io/tst-fcntl.c (fd): New static variable.
18398         (do_prepare): Open temporary file here....
18399         (do_test): ...not here.
18401         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18403 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18405         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18406         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18407         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18408         Moved before "#ifdef __ASSEMBLER__".
18410 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18412         [BZ #19156]
18413         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18414         arguments very close to 0.
18416 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18418         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18419         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18421 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18423         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18424         New.  Defined for GCC 5 and above when not compiling for
18425         profiling.
18426         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18428         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18429         Renamed to ...
18430         (CFLAGS-epoll_pwait.o): This.
18431         (CFLAGS-mmap.c): Renamed to ...
18432         (CFLAGS-mmap.o): This.
18433         (CFLAGS-mmap64.c): Renamed to ...
18434         (CFLAGS-mmap64.o): This.
18435         (CFLAGS-epoll_pwait.os): New.
18436         (CFLAGS-mmap.os): Likewise.
18437         (CFLAGS-mmap64.os): Likewise.
18438         (CFLAGS-semtimedop.os): Likewise.
18439         (CFLAGS-semtimedop.c): Renamed to ...
18440         (CFLAGS-semtimedop.o): This.
18442 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18444         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18445         warning message.
18447 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18449         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18450         * Makefile ($(objpfx)c++-types-check.out): Filter out
18451         $(+gccwarn-c) instead of -Wstrict-prototypes.
18453         * io/fts.c (fts_open): Convert to prototype-style function
18454         definition.
18455         * malloc/mcheck.c (mcheck): Likewise.
18456         (mcheck_pedantic): Likewise.
18457         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18458         internal_function.
18459         (re_search_internal): Likewise.
18460         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18461         prototype-style function definition.
18462         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18463         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18464         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18465         (xdr_utmpptr): Likewise.
18466         (xdr_utmparr): Likewise.
18467         (xdr_utmpidle): Likewise.
18468         (xdr_utmpidleptr): Likewise.
18469         (xdr_utmpidlearr): Likewise.
18471         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18472         log, log10 and log2.
18473         * math/auto-libm-test-out: Regenerated.
18474         * math/libm-test.inc (fmod_test_data): Add more tests.
18475         (fpclassify_test_data): Likewise.
18476         (frexp_test_data): Likewise.
18477         (hypot_test_data): Likewise.
18478         (ilogb_test_data): Likewise.
18480 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18482         * debug/fortify_fail.c (__fortify_fail): Convert to
18483         prototype-style function definition.  Use internal_function.
18484         * libio/genops.c (save_for_backup): Convert to prototype-style
18485         function definition.
18486         * libio/wgenops.c (save_for_wbackup): Likewise.
18487         * login/grantpt.c (grantpt): Likewise.
18488         * login/ptsname.c (ptsname): Likewise.
18489         (__ptsname_r): Likewise.
18490         * login/unlockpt.c (unlockpt): Likewise.
18491         * mach/msgserver.c (__mach_msg_server): Likewise.
18492         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18493         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18494         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18495         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18496         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18497         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18498         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18499         Likewise.
18500         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18501         internal_function.
18502         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18503         prototype-style function definition.
18504         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18505         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18506         (__pthread_create_2_0): Likewise.
18507         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18508         * nptl/register-atfork.c (__register_atfork): Likewise.
18509         * posix/glob.c (glob): Likewise.
18510         * posix/regcomp.c (re_comp): Likewise.
18511         * posix/regexec.c (re_exec): Likewise.
18512         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18513         [!__STDC__]: Remove conditional code.
18514         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18515         [!__STDC__]: Remove conditional code.
18516         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18517         [!__STDC__]: Remove conditional code.
18518         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18519         [!__STDC__]: Remove conditional code.
18520         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18521         [!__STDC__]: Remove conditional code.
18522         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18523         [!__STDC__]: Remove conditional code.
18524         * stdlib/mul.c [__STDC__]: Make code unconditional.
18525         [!__STDC__]: Remove conditional code.
18526         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18527         [!__STDC__]: Remove conditional code.
18528         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18529         [!__STDC__]: Remove conditional code.
18530         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18531         function definition.
18532         (STRTOF): Likewise.
18533         * stdlib/strtod_l.c (__STRTOF): Likewise.
18534         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18535         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18536         (__strtol_l): Likewise.
18537         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18538         [!__STDC__]: Remove conditional code.
18539         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18540         definition.
18541         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18542         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18543         type.
18544         (__strcasecmp): Convert to prototype-style function definition.
18545         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18546         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18547         type.
18548         (__strncasecmp): Convert to prototype-style function definition.
18549         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18550         * sunrpc/xdr.c (xdr_union): Likewise.
18551         * sunrpc/xdr_array.c (xdr_array): Likewise.
18552         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18553         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18554         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18555         Likewise.
18556         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18557         Likewise.
18558         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18559         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18560         Likewise.
18561         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18562         (LOCALE_PARAM_PROTO): Likewise.
18563         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18564         argument type.
18565         (ut_argument_spec): Remove macro.
18566         (ut_argument_spec_iso): Rename to ut_argument_spec.
18567         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18568         prototype-style function definition.
18569         (memcpy_uppcase): Likewise.
18570         (__strftime_internal): Likewise.
18571         (my_strftime): Likewise.
18572         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18573         (LOCALE_PARAM_DECL): Likewise.
18574         [_LIBC] (LOCALE_PARAM): Include argument type.
18575         (__strptime_internal): Convert to prototype-style function
18576         definition.
18577         (strptime): Likewise.
18578         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18579         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18580         type.
18581         (__wcscasecmp): Convert to prototype-style function definition.
18582         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18583         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18584         type.
18585         (__wcsncasecmp): Convert to prototype-style function definition.
18587         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18588         function definition.
18589         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18590         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18591         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18592         * elf/dl-minimal.c (_itoa): Likewise.
18593         * hurd/hurdmalloc.c (malloc): Likewise.
18594         (free): Likewise.
18595         (realloc): Likewise.
18596         * inet/inet6_option.c (inet6_option_space): Likewise.
18597         (inet6_option_init): Likewise.
18598         (inet6_option_append): Likewise.
18599         (inet6_option_alloc): Likewise.
18600         (inet6_option_next): Likewise.
18601         (inet6_option_find): Likewise.
18602         * io/ftw.c (FTW_NAME): Likewise.
18603         (NFTW_NAME): Likewise.
18604         (NFTW_NEW_NAME): Likewise.
18605         (NFTW_OLD_NAME): Likewise.
18606         * libio/iofwide.c (_IO_fwide): Likewise.
18607         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18608         (_IO_str_init_static): Likewise.
18609         (_IO_str_init_readonly): Likewise.
18610         (_IO_str_overflow): Likewise.
18611         (_IO_str_underflow): Likewise.
18612         (_IO_str_count): Likewise.
18613         (_IO_str_seekoff): Likewise.
18614         (_IO_str_pbackfail): Likewise.
18615         (_IO_str_finish): Likewise.
18616         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18617         (_IO_wstr_overflow): Likewise.
18618         (_IO_wstr_underflow): Likewise.
18619         (_IO_wstr_count): Likewise.
18620         (_IO_wstr_seekoff): Likewise.
18621         (_IO_wstr_pbackfail): Likewise.
18622         (_IO_wstr_finish): Likewise.
18623         * locale/programs/localedef.c (normalize_codeset): Likewise.
18624         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18625         (add_locales_to_archive): Likewise.
18626         (delete_locales_from_archive): Likewise.
18627         * malloc/malloc.c (__libc_mallinfo): Likewise.
18628         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18629         * misc/tsearch.c (__tfind): Likewise.
18630         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18631         * nptl/pthread_attr_getdetachstate.c
18632         (__pthread_attr_getdetachstate): Likewise.
18633         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18634         Likewise.
18635         * nptl/pthread_attr_getinheritsched.c
18636         (__pthread_attr_getinheritsched): Likewise.
18637         * nptl/pthread_attr_getschedparam.c
18638         (__pthread_attr_getschedparam): Likewise.
18639         * nptl/pthread_attr_getschedpolicy.c
18640         (__pthread_attr_getschedpolicy): Likewise.
18641         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
18642         Likewise.
18643         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
18644         Likewise.
18645         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18646         Likewise.
18647         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18648         Likewise.
18649         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
18650         (__pthread_attr_init_2_0): Likewise.
18651         * nptl/pthread_attr_setdetachstate.c
18652         (__pthread_attr_setdetachstate): Likewise.
18653         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18654         Likewise.
18655         * nptl/pthread_attr_setinheritsched.c
18656         (__pthread_attr_setinheritsched): Likewise.
18657         * nptl/pthread_attr_setschedparam.c
18658         (__pthread_attr_setschedparam): Likewise.
18659         * nptl/pthread_attr_setschedpolicy.c
18660         (__pthread_attr_setschedpolicy): Likewise.
18661         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
18662         Likewise.
18663         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
18664         Likewise.
18665         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18666         Likewise.
18667         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18668         Likewise.
18669         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
18670         Likewise.
18671         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
18672         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18673         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
18674         use internal_function.
18675         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
18676         prototype-style function definition.
18677         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18678         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
18679         internal_function.
18680         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
18681         Convert to prototype-style function definition.
18682         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18683         Likewise.
18684         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
18685         Likewise.
18686         (__pthread_mutex_unlock): Likewise.
18687         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
18688         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
18689         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
18690         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
18691         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
18692         * nss/makedb.c (process_input): Likewise.
18693         * posix/fnmatch.c (__strchrnul): Likewise.
18694         (__wcschrnul): Likewise.
18695         (fnmatch): Likewise.
18696         * posix/fnmatch_loop.c (FCT): Likewise.
18697         * posix/glob.c (globfree): Likewise.
18698         (__glob_pattern_type): Likewise.
18699         (__glob_pattern_p): Likewise.
18700         * posix/regcomp.c (re_compile_pattern): Likewise.
18701         (re_set_syntax): Likewise.
18702         (re_compile_fastmap): Likewise.
18703         (regcomp): Likewise.
18704         (regerror): Likewise.
18705         (regfree): Likewise.
18706         * posix/regexec.c (regexec): Likewise.
18707         (re_match): Likewise.
18708         (re_search): Likewise.
18709         (re_match_2): Likewise.
18710         (re_search_2): Likewise.
18711         (re_search_stub): Likewise.  Use internal_function
18712         (re_copy_regs): Likewise.
18713         (re_set_registers): Convert to prototype-style function
18714         definition.
18715         (prune_impossible_nodes): Likewise.  Use internal_function.
18716         * resolv/inet_net_pton.c (inet_net_pton): Convert to
18717         prototype-style function definition.
18718         (inet_net_pton_ipv4): Likewise.
18719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18720         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
18721         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18722         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
18723         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18724         Make variadic.
18725         * time/strptime_l.c (localtime_r): Convert to prototype-style
18726         function definition.
18727         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18728         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18729         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18730         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18732         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
18733         definition.
18734         (_ufc_doit_r): Likewise.
18735         * crypt/crypt_util.c (_ufc_copymem): Likewise.
18736         (_ufc_output_conversion_r): Likewise.
18737         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
18738         * inet/rcmd.c (rcmd_af): Likewise.
18739         (rcmd): Likewise.
18740         (ruserok_af): Likewise.
18741         (ruserok): Likewise.
18742         (ruserok2_sa): Likewise.
18743         (ruserok_sa): Likewise.
18744         (iruserok_af): Likewise.
18745         (iruserok): Likewise.
18746         (__ivaliduser): Likewise.
18747         (__validuser2_sa): Likewise.
18748         * inet/rexec.c (rexec_af): Likewise.
18749         (rexec): Likewise.
18750         * inet/ruserpass.c (ruserpass): Likewise.
18751         * locale/programs/xmalloc.c (xcalloc): Likewise.
18752         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
18753         * math/w_drem.c (__drem): Likewise.
18754         * math/w_dremf.c (__dremf): Likewise.
18755         * math/w_dreml.c (__dreml): Likewise.
18756         * misc/daemon.c (daemon): Likewise.
18757         * resolv/res_debug.c (p_fqnname): Likewise.
18758         * stdlib/div.c (div): Likewise.
18759         * string/memcmp.c (memcmp_bytes): Likewise.
18760         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
18761         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
18763         * crypt/cert.c (main): Convert to prototype-style function
18764         definition.
18765         * io/pipe.c (__pipe): Likewise.
18766         * io/pipe2.c (__pipe2): Likewise.
18767         * misc/futimesat.c (futimesat): Likewise.
18768         * misc/utimes.c (__utimes): Likewise.
18769         * posix/execve.c (__execve): Likewise.
18770         * posix/execvp.c (execvp): Likewise.
18771         * posix/execvpe.c (__execvpe): Likewise.
18772         * posix/fexecve.c (fexecve): Likewise.
18773         * socket/socketpair.c (socketpair): Likewise.
18774         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18775         * stdlib/erand48.c (erand48): Likewise.
18776         * stdlib/erand48_r.c (__erand48_r): Likewise.
18777         * stdlib/jrand48.c (jrand48): Likewise.
18778         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
18779         * stdlib/lcong48.c (lcong48): Likewise.
18780         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
18781         * stdlib/nrand48.c (nrand48): Likewise.
18782         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
18783         * stdlib/seed48.c (seed48): Likewise.
18784         * stdlib/seed48_r.c (__seed48_r): Likewise.
18785         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
18786         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
18787         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
18789 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18791         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
18792         * configure: Regenerated.
18793         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
18794         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
18795         unconditional.
18796         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18797         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18798         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18799         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
18800         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
18801         unconditional.
18802         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18804         * posix/Makefile (CFLAGS-regex.c): Remove variable.
18805         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
18807         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
18808         function definition.
18809         * crypt/crypt_util.c (__encrypt_r): Likewise.
18810         * libio/genops.c (_IO_no_init): Likewise.
18811         * libio/iofopncook.c (_IO_fopencookie): Likewise.
18812         (_IO_old_fopencookie): Likewise.
18813         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18814         * libio/iogetline.c (_IO_getline): Likewise.
18815         (_IO_getline_info): Likewise.
18816         * libio/iogetwline.c (_IO_getwline): Likewise.
18817         (_IO_getwline_info): Likewise.
18818         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
18819         * libio/vswprintf.c (_IO_vswprintf): Likewise.
18820         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
18821         (find_entry): Likewise.
18822         (iterate_table): Likewise.
18823         (lookup): Likewise.
18824         * login/forkpty.c (forkpty): Likewise.
18825         * misc/hsearch_r.c (__hsearch_r): Likewise.
18826         * misc/select.c (__select): Likewise.
18827         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
18828         Likewise.
18829         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
18830         Likewise.
18831         * nptl/old_pthread_cond_timedwait.c
18832         (__pthread_cond_timedwait_2_0): Likewise.
18833         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
18834         * nptl/pthread_barrierattr_getpshared.c
18835         (pthread_barrierattr_getpshared): Likewise.
18836         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
18837         Likewise.
18838         * nptl/pthread_mutex_setprioceiling.c
18839         (pthread_mutex_setprioceiling): Likewise.
18840         * nptl/pthread_mutexattr_getprioceiling.c
18841         (pthread_mutexattr_getprioceiling): Likewise.
18842         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
18843         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18844         Likewise.
18845         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18846         Likewise.
18847         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
18848         Likewise.
18849         * socket/recvfrom.c (__recvfrom): Likewise.
18850         * socket/sendto.c (__sendto): Likewise.
18851         * socket/setsockopt.c (__setsockopt): Likewise.
18852         * stdio-common/_itoa.c (_itoa): Likewise.
18853         * stdio-common/_itowa.c (_itowa): Likewise.
18854         * stdio-common/reg-printf.c (__register_printf_specifier):
18855         Likewise.
18856         (__register_printf_function): Likewise.
18857         * stdio-common/tempname.c (__path_search): Likewise.
18858         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
18859         * stdlib/mul_1.c (mpn_mul_1): Likewise.
18860         * stdlib/random_r.c (__initstate_r): Likewise.
18861         * stdlib/setenv.c (__add_to_environ): Likewise.
18862         * stdlib/submul_1.c (mpn_submul_1): Likewise.
18863         * streams/getpmsg.c (getpmsg): Likewise.
18864         * streams/putmsg.c (putmsg): Likewise.
18865         * streams/putpmsg.c (putpmsg): Likewise.
18866         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
18867         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18868         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
18869         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18870         * sunrpc/pm_getport.c (pmap_getport): Likewise.
18871         * sunrpc/svc_udp.c (cache_get): Likewise.
18872         * sunrpc/xdr_array.c (xdr_vector): Likewise.
18873         * sysdeps/mach/hurd/getcwd.c
18874         (__canonicalize_directory_name_internal): Likewise.
18875         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
18876         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
18877         * sysdeps/mach/hurd/select.c (__select): Likewise.
18878         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
18879         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18880         * sysdeps/sparc/nptl/pthread_barrier_init.c
18881         (__pthread_barrier_init): Likewise.
18882         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
18883         (__pthread_cond_timedwait): Likewise.
18884         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
18885         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
18886         Likewise.
18887         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
18888         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
18889         Likewise.
18890         * sysvipc/semtimedop.c (semtimedop): Likewise.
18891         * time/setitimer.c (__setitimer): Likewise.
18892         * time/strftime_l.c (emacs_strftime): Likewise.
18894 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
18896         * config.make.in (have-ssp): Delete.
18897         (stack-protector): New variable.
18898         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
18899         cache test for -fstack-protector-strong.  Export stack_protector to
18900         the best ssp flag.
18901         * configure: Regenerated.
18902         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
18903         * nscd/Makefile (CFLAGS-nscd): Likewise.
18904         * resolv/Makefile (CFLAGS-libresolv): Likewise.
18906 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
18908         [BZ #19122]
18909         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
18910         attribute_hidden.
18912 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18914         [BZ #18743]
18915         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
18916         code to...
18917         (ELIDE_LOCK): ...here.
18918         (__get_new_count): New function with part of the code from
18919         __elide_lock that updates the value of adapt_count after a
18920         transaction abort.
18921         (__elided_trylock): Moved this code to...
18922         (ELIDE_TRYLOCK): ...here.
18924 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
18926         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
18927         * configure: Regenerate.
18928         * INSTALL: Regenerate.
18929         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
18930         and tweak grammar.
18932 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
18934         * login/programs/pt_chown.c: Include signal.h
18935         (main): Clear any signal mask from the parent process.
18937 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18939         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
18940         * configure: Regenerated.
18941         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
18942         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
18943         $(gnu89-inline-CFLAGS).
18945         * configure.ac (libc_cv_asm_weak_directive): Remove configure
18946         test.
18947         (libc_cv_asm_weakext_directive): Likewise.
18948         * configure: Regenerated.
18949         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
18950         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
18951         * include/libc-symbols.h
18952         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
18953         #error.
18954         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
18955         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
18957         * sysdeps/arm/backtrace.c (__backtrace): Convert to
18958         prototype-style function definition.
18959         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18960         * sysdeps/i386/ffs.c (__ffs): Likewise.
18961         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18962         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
18963         Likewise.
18964         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18965         Likewise.
18966         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
18967         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18968         Likewise.
18969         * sysdeps/m68k/ffs.c (__ffs): Likewise.
18970         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
18971         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
18972         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
18973         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
18974         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
18975         * sysdeps/mach/hurd/access.c (__access): Likewise.
18976         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
18977         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
18978         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
18979         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
18980         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
18981         (cthread_getspecific): Likewise.
18982         (cthread_setspecific): Likewise.
18983         (__libc_getspecific): Likewise.
18984         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
18985         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
18986         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
18987         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
18988         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
18989         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
18990         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
18991         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
18992         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
18993         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
18994         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
18995         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
18996         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
18997         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
18998         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
18999         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19000         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19001         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19002         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19003         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19004         * sysdeps/mach/hurd/link.c (__link): Likewise.
19005         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19006         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19007         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19008         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19009         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19010         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19011         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19012         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19013         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19014         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19015         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19016         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19017         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19018         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19019         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19020         * sysdeps/mach/hurd/send.c (__send): Likewise.
19021         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19022         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19023         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19024         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19025         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19026         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19027         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19028         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19029         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19030         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19031         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19032         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19033         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19034         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19035         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19036         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19037         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19038         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19039         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19040         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19041         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19042         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19043         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19044         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19045         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19046         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19047         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19048         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19049         * sysdeps/posix/alarm.c (alarm): Likewise.
19050         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19051         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19052         * sysdeps/posix/dup.c (__dup): Likewise.
19053         * sysdeps/posix/dup2.c (__dup2): Likewise.
19054         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19055         (main): Likewise.
19056         * sysdeps/posix/flock.c (__flock): Likewise.
19057         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19058         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19059         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19060         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19061         * sysdeps/posix/isatty.c (__isatty): Likewise.
19062         * sysdeps/posix/killpg.c (killpg): Likewise.
19063         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19064         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19065         * sysdeps/posix/raise.c (raise): Likewise.
19066         * sysdeps/posix/remove.c (remove): Likewise.
19067         * sysdeps/posix/rename.c (rename): Likewise.
19068         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19069         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19070         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19071         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19072         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19073         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19074         * sysdeps/posix/sigset.c (sigset): Likewise.
19075         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19076         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19077         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19078         * sysdeps/posix/time.c (time): Likewise.
19079         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19080         (ttyname): Likewise.
19081         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19082         * sysdeps/posix/utime.c (utime): Likewise.
19083         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19084         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19085         Likewise.
19086         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19087         (pthread_spin_trylock): Likewise.
19088         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19089         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19090         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19091         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19092         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19093         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19094         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19095         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19096         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19097         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19098         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19099         * sysdeps/s390/ffs.c (__ffs): Likewise.
19100         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19101         Likewise.
19102         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19103         Likewise.
19104         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19105         Likewise.
19106         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19107         (pthread_barrier_destroy): Likewise.
19108         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19109         (__pthread_barrier_wait): Likewise.
19110         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19111         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19112         (__pthread_barrier_wait): Likewise.
19113         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19114         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19115         (memcmp_not_common_alignment): Likewise.
19116         (MEMCMP): Likewise.
19117         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19118         (_wordcopy_fwd_dest_aligned): Likewise.
19119         (_wordcopy_bwd_aligned): Likewise.
19120         (_wordcopy_bwd_dest_aligned): Likewise.
19121         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19122         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19123         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19124         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19125         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19126         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19127         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19128         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19129         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19130         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19131         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19132         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19133         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19134         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19135         * sysdeps/unix/stime.c (stime): Likewise.
19136         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19137         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19138         Likewise.  Use internal_function.
19139         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19140         Convert to prototype-style function definition.
19141         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19142         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19143         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19144         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19145         Likewise.  Use internal_function.
19146         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19147         prototype-style function definition
19148         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19149         Likewise.
19150         (__getlogin_r): Likewise.
19151         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19152         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19153         (__pthread_cond_broadcast): Likewise.
19154         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19155         (__pthread_cond_destroy): Likewise.
19156         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19157         (__pthread_cond_init): Likewise.
19158         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19159         (__pthread_cond_signal): Likewise.
19160         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19161         (__pthread_cond_wait): Likewise.
19162         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19163         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19164         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19165         Likewise.
19166         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19167         Likewise.
19168         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19169         Likewise.
19170         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19171         Likewise.
19172         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19174         (__ftruncate64): Likewise.
19175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19176         (truncate64): Likewise.
19177         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19178         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19179         (pthread_getcpuclockid): Likewise.
19180         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19181         Likewise.
19182         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19183         Likewise.
19184         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19185         Likewise.
19186         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19187         Likewise.
19188         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19189         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19190         (__libc_sigaction): Likewise.
19191         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19192         Likewise.
19193         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19194         (__sigprocmask): Likewise.
19195         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19196         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19197         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19198         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19199         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19200         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19201         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19202         Likewise.
19203         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19204         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19205         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19206         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19207         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19208         Likewise.
19209         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19210         (__sigprocmask): Likewise.
19211         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19212         (cfgetispeed): Likewise.
19213         (cfsetospeed): Likewise.
19214         (cfsetispeed): Likewise.
19215         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19216         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19217         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19218         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19219         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19220         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19221         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19222         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19223         Likewise.
19224         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19225         Likewise.
19226         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19227         Likewise.
19228         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19229         Likewise.
19230         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19232 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19234         sunrpc: Rewrite with explicit TLS access using __thread.
19235         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19236         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19237         directly.
19238         (__rpc_thread_variables): Access thread_rpc_vars directly.
19239         Eliminate redundant assignment of the tvp variable.
19241 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19243         malloc: Rewrite with explicit TLS access using __thread.
19244         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19245         (tsd_setspecific, tsd_getspecific): Remove.
19246         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19247         (tsd_setspecific, tsd_getspecific): Likewise.
19248         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19249         (tsd_setspecific, tsd_getspecific): Likewise.
19250         * malloc/arena.c (thread_arena): New TLS variable.
19251         (arena_key): Remove variable.
19252         (arena_get): Use thread_arena.
19253         (arena_lookup): Remove macro.
19254         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19255         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19256         (_int_new_arena, get_free_list, reused_arena)
19257         (arena_thread_freeres): Use thread_arena.
19258         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19259         tsd_getspecific, tsd_setspecific from safety annotations.
19260         (Allocating Cleared Space): Remove arena_lookup from safety
19261         annotations.
19263 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19265         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19266         struct scratch_buffer instead of extend_alloca.
19268 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19270         * sysdeps/unix/sysv/linux/kernel-features.h
19271         (__ASSUME_SOCK_CLOEXEC): Remove.
19272         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19273         (__have_paccept): Remove unused macro.
19274         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19275         * misc/syslog.c (openlog_internal): Remove fallback code for
19276         !__ASSUME_SOCK_CLOEXEC.
19277         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19278         missing SOCK_CLOEXEC.
19279         * nscd/connections.c (have_sock_cloexec): Remove definition.
19280         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19281         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19282         !__ASSUME_SOCK_CLOEXEC.
19283         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19284         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19285         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19286         definition.
19287         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19288         code for !__ASSUME_SOCK_CLOEXEC.
19290 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19292         [BZ #18982]
19293         * manual/stdio.texi (Variable Arguments Output): Add portability
19294         note, explaining that vfprintf clobbers the va_list pointer.
19296 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19298         * math/libm-test.inc (fabs_test_data): Add more tests.
19299         (fdim_test_data): Likewise.
19300         (fma_test_data): Likewise.
19301         (fmax_test_data): Likewise.
19302         (fmin_test_data): Likewise.
19303         (fmod_test_data): Likewise.
19305 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19307         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19308         data.
19310 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19312         * math/libm-test.inc (ceil_test_data): Add more tests and more
19313         expectations for "inexact".
19314         (floor_test_data): Add more tests.
19315         (round_test_data): Likewise.
19316         (trunc_test_data): Likewise.
19318         * crypt/cert.c (good_bye): Convert to prototype-style function
19319         definition.
19320         (get8): Likewise.
19321         (put8): Likewise.
19322         * crypt/crypt-entry.c (crypt): Likewise.
19323         (__fcrypt): Likewise.
19324         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19325         (_ufc_set_bits): Likewise.
19326         (_ufc_clearmem): Likewise.
19327         (__init_des_r): Likewise.
19328         (shuffle_sb): Likewise.
19329         (shuffle_sb): Likewise.
19330         (_ufc_setup_salt_r): Likewise.
19331         (_ufc_mk_keytab_r): Likewise.
19332         (_ufc_dofinalperm_r): Likewise.
19333         (encrypt): Likewise.
19334         (__setkey_r): Likewise.
19335         (setkey): Likewise.
19336         * crypt/md5.c (md5_init_ctx): Likewise.
19337         (md5_read_ctx): Likewise.
19338         (md5_finish_ctx): Likewise.
19339         (md5_stream): Likewise.
19340         (md5_buffer): Likewise.
19341         (md5_process_bytes): Likewise.
19342         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19343         (__sha256_finish_ctx): Likewise.
19344         (__sha256_process_bytes): Likewise.
19345         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19346         (__sha512_finish_ctx): Likewise.
19347         (__sha512_process_bytes): Likewise.
19348         * ctype/isctype.c (__isctype): Likewise.
19349         * debug/backtrace.c (__backtrace): Likewise.
19350         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19351         * debug/fgets_chk.c (__fgets_chk): Likewise.
19352         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19353         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19354         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19355         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19356         * debug/memset_chk.c (__memset_chk): Likewise.
19357         * debug/strcat_chk.c (__strcat_chk): Likewise.
19358         * debug/strncat_chk.c (__strncat_chk): Likewise.
19359         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19360         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19361         * dirent/dirfd.c (dirfd): Likewise.
19362         * dirent/getdents.c (__getdirentries): Likewise.
19363         * dirent/getdents64.c (getdirentries64): Likewise.
19364         * dirent/rewinddir.c (__rewinddir): Likewise.
19365         * dirent/seekdir.c (seekdir): Likewise.
19366         * dirent/telldir.c (telldir): Likewise.
19367         * elf/sln.c (makesymlinks): Likewise.
19368         (makesymlink): Likewise.
19369         * gmon/gmon.c (__moncontrol): Likewise.
19370         (__monstartup): Likewise.
19371         (write_hist): Likewise.
19372         (write_call_graph): Likewise.
19373         (write_bb_counts): Likewise.
19374         * grp/setgroups.c (setgroups): Likewise.
19375         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19376         * inet/inet_net.c (inet_network): Likewise.
19377         * inet/inet_netof.c (inet_netof): Likewise.
19378         * inet/rcmd.c (rresvport_af): Likewise.
19379         (rresvport): Likewise.
19380         * io/access.c (__access): Likewise.
19381         * io/chdir.c (__chdir): Likewise.
19382         * io/chmod.c (__chmod): Likewise.
19383         * io/chown.c (__chown): Likewise.
19384         * io/close.c (__close): Likewise.
19385         * io/creat.c (creat): Likewise.
19386         * io/creat64.c (creat64): Likewise.
19387         * io/dup.c (__dup): Likewise.
19388         * io/dup2.c (__dup2): Likewise.
19389         * io/dup3.c (__dup3): Likewise.
19390         * io/euidaccess.c (__euidaccess): Likewise.
19391         * io/faccessat.c (faccessat): Likewise.
19392         * io/fchmod.c (__fchmod): Likewise.
19393         * io/fchmodat.c (fchmodat): Likewise.
19394         * io/fchown.c (__fchown): Likewise.
19395         * io/fchownat.c (fchownat): Likewise.
19396         * io/fcntl.c (__fcntl): Likewise.
19397         * io/flock.c (__flock): Likewise.
19398         * io/fts.c (fts_load): Likewise.
19399         (fts_close): Likewise.
19400         (fts_read): Likewise.
19401         (fts_set): Likewise.
19402         (fts_children): Likewise.
19403         (fts_build): Likewise.
19404         (fts_stat): Likewise.
19405         (fts_sort): Likewise.
19406         (fts_alloc): Likewise.
19407         (fts_lfree): Likewise.
19408         (fts_palloc): Likewise.
19409         (fts_padjust): Likewise.
19410         (fts_maxarglen): Likewise.
19411         (fts_safe_changedir): Likewise.
19412         * io/getwd.c (getwd): Likewise.
19413         * io/isatty.c (__isatty): Likewise.
19414         * io/lchown.c (__lchown): Likewise.
19415         * io/link.c (__link): Likewise.
19416         * io/linkat.c (linkat): Likewise.
19417         * io/lseek.c (__libc_lseek): Likewise.
19418         * io/mkdir.c (__mkdir): Likewise.
19419         * io/mkdirat.c (mkdirat): Likewise.
19420         * io/mkfifo.c (mkfifo): Likewise.
19421         * io/mkfifoat.c (mkfifoat): Likewise.
19422         * io/open.c (__libc_open): Likewise.
19423         * io/open64.c (__libc_open64): Likewise.
19424         * io/readlink.c (__readlink): Likewise.
19425         * io/readlinkat.c (readlinkat): Likewise.
19426         * io/rmdir.c (__rmdir): Likewise.
19427         * io/symlink.c (__symlink): Likewise.
19428         * io/symlinkat.c (symlinkat): Likewise.
19429         * io/ttyname.c (ttyname): Likewise.
19430         * io/ttyname_r.c (__ttyname_r): Likewise.
19431         * io/umask.c (__umask): Likewise.
19432         * io/unlink.c (__unlink): Likewise.
19433         * io/unlinkat.c (unlinkat): Likewise.
19434         * io/utime.c (utime): Likewise.
19435         * libio/clearerr.c (clearerr): Likewise.
19436         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19437         * libio/feof.c (_IO_feof): Likewise.
19438         * libio/feof_u.c (feof_unlocked): Likewise.
19439         * libio/ferror.c (_IO_ferror): Likewise.
19440         * libio/ferror_u.c (ferror_unlocked): Likewise.
19441         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19442         * libio/fileno.c (__fileno): Likewise.
19443         * libio/fputc.c (fputc): Likewise.
19444         * libio/fputc_u.c (fputc_unlocked): Likewise.
19445         * libio/fputwc.c (fputwc): Likewise.
19446         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19447         * libio/freopen.c (freopen): Likewise.
19448         * libio/freopen64.c (freopen64): Likewise.
19449         * libio/fseek.c (fseek): Likewise.
19450         * libio/fseeko.c (fseeko): Likewise.
19451         * libio/fseeko64.c (fseeko64): Likewise.
19452         * libio/ftello.c (__ftello): Likewise.
19453         * libio/ftello64.c (ftello64): Likewise.
19454         * libio/fwide.c (fwide): Likewise.
19455         * libio/genops.c (_IO_un_link): Likewise.
19456         (_IO_link_in): Likewise.
19457         (_IO_least_marker): Likewise.
19458         (_IO_switch_to_main_get_area): Likewise.
19459         (_IO_switch_to_backup_area): Likewise.
19460         (_IO_switch_to_get_mode): Likewise.
19461         (_IO_free_backup_area): Likewise.
19462         (_IO_switch_to_put_mode): Likewise.
19463         (__overflow): Likewise.
19464         (__underflow): Likewise.
19465         (__uflow): Likewise.
19466         (_IO_setb): Likewise.
19467         (_IO_doallocbuf): Likewise.
19468         (_IO_default_underflow): Likewise.
19469         (_IO_default_uflow): Likewise.
19470         (_IO_default_xsputn): Likewise.
19471         (_IO_sgetn): Likewise.
19472         (_IO_default_xsgetn): Likewise.
19473         (_IO_sync): Likewise.
19474         (_IO_default_setbuf): Likewise.
19475         (_IO_default_seekpos): Likewise.
19476         (_IO_default_doallocate): Likewise.
19477         (_IO_init): Likewise.
19478         (_IO_old_init): Likewise.
19479         (_IO_default_sync): Likewise.
19480         (_IO_default_finish): Likewise.
19481         (_IO_default_seekoff): Likewise.
19482         (_IO_sputbackc): Likewise.
19483         (_IO_sungetc): Likewise.
19484         (_IO_set_column): Likewise.
19485         (_IO_set_column): Likewise.
19486         (_IO_adjust_column): Likewise.
19487         (_IO_get_column): Likewise.
19488         (_IO_init_marker): Likewise.
19489         (_IO_remove_marker): Likewise.
19490         (_IO_marker_difference): Likewise.
19491         (_IO_marker_delta): Likewise.
19492         (_IO_seekmark): Likewise.
19493         (_IO_unsave_markers): Likewise.
19494         (_IO_nobackup_pbackfail): Likewise.
19495         (_IO_default_pbackfail): Likewise.
19496         (_IO_default_seek): Likewise.
19497         (_IO_default_stat): Likewise.
19498         (_IO_default_read): Likewise.
19499         (_IO_default_write): Likewise.
19500         (_IO_default_showmanyc): Likewise.
19501         (_IO_default_imbue): Likewise.
19502         (_IO_iter_next): Likewise.
19503         (_IO_iter_file): Likewise.
19504         * libio/getc.c (_IO_getc): Likewise.
19505         * libio/getwc.c (_IO_getwc): Likewise.
19506         * libio/iofclose.c (_IO_new_fclose): Likewise.
19507         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19508         * libio/iofflush.c (_IO_fflush): Likewise.
19509         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19510         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19511         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19512         * libio/iofgets.c (_IO_fgets): Likewise.
19513         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19514         * libio/iofgetws.c (fgetws): Likewise.
19515         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19516         * libio/iofopen64.c (_IO_fopen64): Likewise.
19517         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19518         (_IO_cookie_write): Likewise.
19519         (_IO_cookie_seek): Likewise.
19520         (_IO_cookie_close): Likewise.
19521         (_IO_cookie_seekoff): Likewise.
19522         (_IO_old_cookie_seek): Likewise.
19523         * libio/iofputs.c (_IO_fputs): Likewise.
19524         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19525         * libio/iofputws.c (fputws): Likewise.
19526         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19527         * libio/iofread.c (_IO_fread): Likewise.
19528         * libio/iofread_u.c (__fread_unlocked): Likewise.
19529         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19530         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19531         * libio/ioftell.c (_IO_ftell): Likewise.
19532         * libio/iofwrite.c (_IO_fwrite): Likewise.
19533         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19534         * libio/iogets.c (_IO_gets): Likewise.
19535         * libio/iopadn.c (_IO_padn): Likewise.
19536         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19537         (_IO_new_popen): Likewise.
19538         (_IO_new_proc_close): Likewise.
19539         * libio/ioputs.c (_IO_puts): Likewise.
19540         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19541         (_IO_seekoff): Likewise.
19542         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19543         (_IO_seekpos): Likewise.
19544         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19545         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19546         * libio/ioungetc.c (_IO_ungetc): Likewise.
19547         * libio/ioungetwc.c (ungetwc): Likewise.
19548         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19549         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19550         * libio/iowpadn.c (_IO_wpadn): Likewise.
19551         * libio/libc_fatal.c (__libc_fatal): Likewise.
19552         * libio/memstream.c (__open_memstream): Likewise.
19553         (_IO_mem_sync): Likewise.
19554         (_IO_mem_finish): Likewise.
19555         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19556         (_IO_old_file_close_it): Likewise.
19557         (_IO_old_file_finish): Likewise.
19558         (_IO_old_file_fopen): Likewise.
19559         (_IO_old_file_attach): Likewise.
19560         (_IO_old_file_setbuf): Likewise.
19561         (_IO_old_do_write): Likewise.
19562         (old_do_write): Likewise.
19563         (_IO_old_file_underflow): Likewise.
19564         (_IO_old_file_overflow): Likewise.
19565         (_IO_old_file_sync): Likewise.
19566         (_IO_old_file_seekoff): Likewise.
19567         (_IO_old_file_write): Likewise.
19568         (_IO_old_file_xsputn): Likewise.
19569         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19570         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19571         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19572         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19573         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19574         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19575         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19576         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19577         (_IO_old_popen): Likewise.
19578         (_IO_old_proc_close): Likewise.
19579         * libio/oldpclose.c (__old_pclose): Likewise.
19580         * libio/pclose.c (__new_pclose): Likewise.
19581         * libio/peekc.c (_IO_peekc_locked): Likewise.
19582         * libio/putc.c (_IO_putc): Likewise.
19583         * libio/putc_u.c (putc_unlocked): Likewise.
19584         * libio/putchar.c (putchar): Likewise.
19585         * libio/putchar_u.c (putchar_unlocked): Likewise.
19586         * libio/putwc.c (putwc): Likewise.
19587         * libio/putwc_u.c (putwc_unlocked): Likewise.
19588         * libio/putwchar.c (putwchar): Likewise.
19589         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19590         * libio/rewind.c (rewind): Likewise.
19591         * libio/setbuf.c (setbuf): Likewise.
19592         * libio/setlinebuf.c (setlinebuf): Likewise.
19593         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19594         * libio/vscanf.c (_IO_vscanf): Likewise.
19595         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19596         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19597         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19598         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19599         (_IO_switch_to_main_wget_area): Likewise.
19600         (_IO_switch_to_wbackup_area): Likewise.
19601         (_IO_wsetb): Likewise.
19602         (_IO_wdefault_pbackfail): Likewise.
19603         (_IO_wdefault_finish): Likewise.
19604         (_IO_wdefault_uflow): Likewise.
19605         (__woverflow): Likewise.
19606         (__wuflow): Likewise.
19607         (__wunderflow): Likewise.
19608         (_IO_wdefault_xsputn): Likewise.
19609         (_IO_wdefault_xsgetn): Likewise.
19610         (_IO_wdoallocbuf): Likewise.
19611         (_IO_wdefault_doallocate): Likewise.
19612         (_IO_switch_to_wget_mode): Likewise.
19613         (_IO_free_wbackup_area): Likewise.
19614         (_IO_switch_to_wput_mode): Likewise.
19615         (_IO_sputbackwc): Likewise.
19616         (_IO_sungetwc): Likewise.
19617         (_IO_adjust_wcolumn): Likewise.
19618         (_IO_init_wmarker): Likewise.
19619         (_IO_wmarker_delta): Likewise.
19620         (_IO_seekwmark): Likewise.
19621         (_IO_unsave_wmarkers): Likewise.
19622         * libio/wmemstream.c (open_wmemstream): Likewise.
19623         (_IO_wmem_sync): Likewise.
19624         (_IO_wmem_finish): Likewise.
19625         * locale/nl_langinfo.c (nl_langinfo): Likewise.
19626         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19627         * locale/programs/simple-hash.c (init_hash): Likewise.
19628         (delete_hash): Likewise.
19629         (insert_entry): Likewise.
19630         (set_entry): Likewise.
19631         (next_prime): Likewise.
19632         (is_prime): Likewise.
19633         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19634         (xmalloc): Likewise.
19635         (xrealloc): Likewise.
19636         * locale/programs/xstrdup.c (xstrdup): Likewise.
19637         * localedata/collate-test.c (xstrcoll): Likewise.
19638         * localedata/xfrm-test.c (xstrcmp): Likewise.
19639         * login/getlogin_r.c (__getlogin_r): Likewise.
19640         * login/getpt.c (__posix_openpt): Likewise.
19641         * login/login_tty.c (login_tty): Likewise.
19642         * login/setlogin.c (setlogin): Likewise.
19643         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
19644         (mach_msg_destroy_port): Likewise.
19645         (mach_msg_destroy_memory): Likewise.
19646         * malloc/mcheck.c (flood): Likewise.
19647         * misc/acct.c (acct): Likewise.
19648         * misc/brk.c (__brk): Likewise.
19649         * misc/chflags.c (chflags): Likewise.
19650         * misc/chroot.c (chroot): Likewise.
19651         * misc/fchflags.c (fchflags): Likewise.
19652         * misc/fstab.c (getfsspec): Likewise.
19653         (getfsfile): Likewise.
19654         * misc/fsync.c (fsync): Likewise.
19655         * misc/ftruncate.c (__ftruncate): Likewise.
19656         * misc/ftruncate64.c (__ftruncate64): Likewise.
19657         * misc/getdomain.c (getdomainname): Likewise.
19658         (getdomainname): Likewise.
19659         * misc/gethostname.c (__gethostname): Likewise.
19660         * misc/getpass.c (getpass): Likewise.
19661         * misc/getttyent.c (skip): Likewise.
19662         (value): Likewise.
19663         * misc/gtty.c (gtty): Likewise.
19664         * misc/hsearch.c (hsearch): Likewise.
19665         (hcreate): Likewise.
19666         * misc/hsearch_r.c (__hcreate_r): Likewise.
19667         (__hdestroy_r): Likewise.
19668         * misc/ioctl.c (__ioctl): Likewise.
19669         * misc/mkdtemp.c (mkdtemp): Likewise.
19670         * misc/mkostemp.c (mkostemp): Likewise.
19671         * misc/mkostemp64.c (mkostemp64): Likewise.
19672         * misc/mkostemps.c (mkostemps): Likewise.
19673         * misc/mkostemps64.c (mkostemps64): Likewise.
19674         * misc/mkstemp.c (mkstemp): Likewise.
19675         * misc/mkstemp64.c (mkstemp64): Likewise.
19676         * misc/mkstemps.c (mkstemps): Likewise.
19677         * misc/mkstemps64.c (mkstemps64): Likewise.
19678         * misc/mktemp.c (__mktemp): Likewise.
19679         * misc/preadv.c (preadv): Likewise.
19680         * misc/preadv64.c (preadv64): Likewise.
19681         * misc/pwritev.c (pwritev): Likewise.
19682         * misc/pwritev64.c (pwritev64): Likewise.
19683         * misc/readv.c (__readv): Likewise.
19684         * misc/revoke.c (revoke): Likewise.
19685         * misc/setdomain.c (setdomainname): Likewise.
19686         * misc/setegid.c (setegid): Likewise.
19687         * misc/seteuid.c (seteuid): Likewise.
19688         * misc/sethostid.c (sethostid): Likewise.
19689         * misc/sethostname.c (sethostname): Likewise.
19690         * misc/setregid.c (__setregid): Likewise.
19691         * misc/setreuid.c (__setreuid): Likewise.
19692         * misc/sstk.c (sstk): Likewise.
19693         * misc/stty.c (stty): Likewise.
19694         * misc/syscall.c (syscall): Likewise.
19695         * misc/syslog.c (setlogmask): Likewise.
19696         * misc/truncate.c (__truncate): Likewise.
19697         * misc/truncate64.c (truncate64): Likewise.
19698         * misc/ualarm.c (ualarm): Likewise.
19699         * misc/usleep.c (usleep): Likewise.
19700         * misc/ustat.c (ustat): Likewise.
19701         * misc/writev.c (__writev): Likewise.
19702         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
19703         * nptl/old_pthread_cond_broadcast.c
19704         (__pthread_cond_broadcast_2_0): Likewise.
19705         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
19706         Likewise.
19707         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
19708         Likewise.
19709         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
19710         Likewise.
19711         * nptl/pt-raise.c (raise): Likewise.
19712         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
19713         Likewise.
19714         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
19715         * nptl/pthread_barrierattr_destroy.c
19716         (pthread_barrierattr_destroy): Likewise.
19717         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19718         Likewise.
19719         * nptl/pthread_barrierattr_setpshared.c
19720         (pthread_barrierattr_setpshared): Likewise.
19721         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19722         Likewise.
19723         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
19724         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19725         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
19726         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
19727         Likewise.
19728         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
19729         Likewise.
19730         * nptl/pthread_condattr_getpshared.c
19731         (pthread_condattr_getpshared): Likewise.
19732         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
19733         Likewise.
19734         * nptl/pthread_condattr_setpshared.c
19735         (pthread_condattr_setpshared): Likewise.
19736         * nptl/pthread_detach.c (pthread_detach): Likewise.
19737         * nptl/pthread_equal.c (__pthread_equal): Likewise.
19738         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
19739         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
19740         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
19741         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
19742         Likewise.
19743         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
19744         Likewise.
19745         * nptl/pthread_mutex_getprioceiling.c
19746         (pthread_mutex_getprioceiling): Likewise.
19747         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
19748         Likewise.
19749         * nptl/pthread_mutexattr_getprotocol.c
19750         (pthread_mutexattr_getprotocol): Likewise.
19751         * nptl/pthread_mutexattr_getpshared.c
19752         (pthread_mutexattr_getpshared): Likewise.
19753         * nptl/pthread_mutexattr_getrobust.c
19754         (pthread_mutexattr_getrobust): Likewise.
19755         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19756         Likewise.
19757         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
19758         Likewise.
19759         * nptl/pthread_mutexattr_setprioceiling.c
19760         (pthread_mutexattr_setprioceiling): Likewise.
19761         * nptl/pthread_mutexattr_setprotocol.c
19762         (pthread_mutexattr_setprotocol): Likewise.
19763         * nptl/pthread_mutexattr_setpshared.c
19764         (pthread_mutexattr_setpshared): Likewise.
19765         * nptl/pthread_mutexattr_setrobust.c
19766         (pthread_mutexattr_setrobust): Likewise.
19767         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
19768         Likewise.
19769         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
19770         Likewise.
19771         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
19772         Likewise.
19773         * nptl/pthread_rwlockattr_getkind_np.c
19774         (pthread_rwlockattr_getkind_np): Likewise.
19775         * nptl/pthread_rwlockattr_getpshared.c
19776         (pthread_rwlockattr_getpshared): Likewise.
19777         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
19778         Likewise.
19779         * nptl/pthread_rwlockattr_setkind_np.c
19780         (pthread_rwlockattr_setkind_np): Likewise.
19781         * nptl/pthread_rwlockattr_setpshared.c
19782         (pthread_rwlockattr_setpshared): Likewise.
19783         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
19784         Likewise.
19785         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
19786         Likewise.
19787         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
19788         Likewise.
19789         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
19790         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
19791         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
19792         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
19793         * nptl/sem_close.c (sem_close): Likewise.
19794         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
19795         * nptl/sem_init.c (__old_sem_init): Likewise.
19796         * nptl/sigaction.c (__sigaction): Likewise.
19797         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19798         * posix/_exit.c (_exit): Likewise.
19799         * posix/alarm.c (alarm): Likewise.
19800         * posix/confstr.c (confstr): Likewise.
19801         * posix/fpathconf.c (__fpathconf): Likewise.
19802         * posix/getgroups.c (__getgroups): Likewise.
19803         * posix/getpgid.c (__getpgid): Likewise.
19804         * posix/group_member.c (__group_member): Likewise.
19805         * posix/pathconf.c (__pathconf): Likewise.
19806         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
19807         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
19808         * posix/setgid.c (__setgid): Likewise.
19809         * posix/setpgid.c (__setpgid): Likewise.
19810         * posix/setuid.c (__setuid): Likewise.
19811         * posix/sleep.c (__sleep): Likewise.
19812         * posix/sysconf.c (__sysconf): Likewise.
19813         * posix/times.c (__times): Likewise.
19814         * posix/uname.c (__uname): Likewise.
19815         * posix/waitid.c (__waitid): Likewise.
19816         * pwd/getpw.c (__getpw): Likewise.
19817         * resolv/base64.c (b64_pton): Likewise.
19818         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
19819         * resolv/gethnamaddr.c (Dprintf): Likewise.
19820         (gethostbyname): Likewise.
19821         (gethostbyname2): Likewise.
19822         (gethostbyaddr): Likewise.
19823         (_sethtent): Likewise.
19824         (_gethtbyname): Likewise.
19825         (_gethtbyname2): Likewise.
19826         (_gethtbyaddr): Likewise.
19827         (map_v4v6_address): Likewise.
19828         (map_v4v6_hostent): Likewise.
19829         (addrsort): Likewise.
19830         (ht_sethostent): Likewise.
19831         (ht_gethostbyname): Likewise.
19832         (ht_gethostbyaddr): Likewise.
19833         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
19834         (inet_net_ntop_ipv4): Likewise.
19835         * resolv/inet_neta.c (inet_neta): Likewise.
19836         * resolv/inet_ntop.c (inet_ntop): Likewise.
19837         (inet_ntop4): Likewise.
19838         (inet_ntop6): Likewise.
19839         * resolv/inet_pton.c (__inet_pton): Likewise.
19840         (inet_pton4): Likewise.
19841         (inet_pton6): Likewise.
19842         * resolv/res_debug.c (loc_aton): Likewise.
19843         (loc_ntoa): Likewise.
19844         * resource/getpriority.c (__getpriority): Likewise.
19845         * resource/getrusage.c (__getrusage): Likewise.
19846         * resource/nice.c (nice): Likewise.
19847         * resource/setpriority.c (__setpriority): Likewise.
19848         * resource/setrlimit64.c (setrlimit64): Likewise.
19849         * resource/vlimit.c (vlimit): Likewise.
19850         * resource/vtimes.c (vtimes): Likewise.
19851         * rt/aio_error.c (aio_error): Likewise.
19852         * rt/aio_return.c (aio_return): Likewise.
19853         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
19854         * signal/kill.c (__kill): Likewise.
19855         * signal/killpg.c (killpg): Likewise.
19856         * signal/raise.c (raise): Likewise.
19857         * signal/sigaction.c (__sigaction): Likewise.
19858         * signal/sigaddset.c (sigaddset): Likewise.
19859         * signal/sigaltstack.c (sigaltstack): Likewise.
19860         * signal/sigandset.c (sigandset): Likewise.
19861         * signal/sigblock.c (__sigblock): Likewise.
19862         * signal/sigdelset.c (sigdelset): Likewise.
19863         * signal/sigempty.c (sigemptyset): Likewise.
19864         * signal/sigfillset.c (sigfillset): Likewise.
19865         * signal/sighold.c (sighold): Likewise.
19866         * signal/sigignore.c (sigignore): Likewise.
19867         * signal/sigintr.c (siginterrupt): Likewise.
19868         * signal/sigisempty.c (sigisemptyset): Likewise.
19869         * signal/sigismem.c (sigismember): Likewise.
19870         * signal/signal.c (signal): Likewise.
19871         * signal/sigorset.c (sigorset): Likewise.
19872         * signal/sigpause.c (__sigpause): Likewise.
19873         * signal/sigpending.c (sigpending): Likewise.
19874         * signal/sigprocmask.c (__sigprocmask): Likewise.
19875         * signal/sigrelse.c (sigrelse): Likewise.
19876         * signal/sigreturn.c (__sigreturn): Likewise.
19877         * signal/sigset.c (sigset): Likewise.
19878         * signal/sigsetmask.c (__sigsetmask): Likewise.
19879         * signal/sigstack.c (sigstack): Likewise.
19880         * signal/sigsuspend.c (__sigsuspend): Likewise.
19881         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
19882         * signal/sysv_signal.c (__sysv_signal): Likewise.
19883         * socket/accept.c (accept): Likewise.
19884         * socket/accept4.c (__libc_accept4): Likewise.
19885         * socket/bind.c (__bind): Likewise.
19886         * socket/connect.c (__connect): Likewise.
19887         * socket/getpeername.c (getpeername): Likewise.
19888         * socket/getsockname.c (__getsockname): Likewise.
19889         * socket/getsockopt.c (getsockopt): Likewise.
19890         * socket/listen.c (__listen): Likewise.
19891         * socket/recv.c (__recv): Likewise.
19892         * socket/recvmsg.c (__recvmsg): Likewise.
19893         * socket/send.c (__send): Likewise.
19894         * socket/sendmsg.c (__sendmsg): Likewise.
19895         * socket/shutdown.c (shutdown): Likewise.
19896         * socket/sockatmark.c (sockatmark): Likewise.
19897         * socket/socket.c (__socket): Likewise.
19898         * stdio-common/ctermid.c (ctermid): Likewise.
19899         * stdio-common/cuserid.c (cuserid): Likewise.
19900         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
19901         * stdio-common/remove.c (remove): Likewise.
19902         * stdio-common/rename.c (rename): Likewise.
19903         * stdio-common/renameat.c (renameat): Likewise.
19904         * stdio-common/tempname.c (__gen_tempname): Likewise.
19905         * stdio-common/xbug.c (InitBuffer): Likewise.
19906         (AppendToBuffer): Likewise.
19907         (ReadFile): Likewise.
19908         * stdlib/a64l.c (a64l): Likewise.
19909         * stdlib/drand48_r.c (drand48_r): Likewise.
19910         * stdlib/getcontext.c (getcontext): Likewise.
19911         * stdlib/getenv.c (getenv): Likewise.
19912         * stdlib/l64a.c (l64a): Likewise.
19913         * stdlib/llabs.c (llabs): Likewise.
19914         * stdlib/lldiv.c (lldiv): Likewise.
19915         * stdlib/lrand48_r.c (lrand48_r): Likewise.
19916         * stdlib/mrand48_r.c (mrand48_r): Likewise.
19917         * stdlib/putenv.c (putenv): Likewise.
19918         * stdlib/random.c (__srandom): Likewise.
19919         (__initstate): Likewise.
19920         (__setstate): Likewise.
19921         * stdlib/random_r.c (__srandom_r): Likewise.
19922         (__setstate_r): Likewise.
19923         (__random_r): Likewise.
19924         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
19925         * stdlib/setcontext.c (setcontext): Likewise.
19926         * stdlib/setenv.c (setenv): Likewise.
19927         (unsetenv): Likewise.
19928         * stdlib/srand48.c (srand48): Likewise.
19929         * stdlib/srand48_r.c (__srand48_r): Likewise.
19930         * stdlib/swapcontext.c (swapcontext): Likewise.
19931         * stdlib/system.c (__libc_system): Likewise.
19932         * stdlib/tst-strtod.c (expand): Likewise.
19933         * stdlib/tst-strtol.c (expand): Likewise.
19934         * stdlib/tst-strtoll.c (expand): Likewise.
19935         * streams/fattach.c (fattach): Likewise.
19936         * streams/fdetach.c (fdetach): Likewise.
19937         * streams/getmsg.c (getmsg): Likewise.
19938         * streams/isastream.c (isastream): Likewise.
19939         * string/ffs.c (__ffs): Likewise.
19940         * string/ffsll.c (ffsll): Likewise.
19941         * string/memcmp.c (memcmp_common_alignment): Likewise.
19942         (memcmp_not_common_alignment): Likewise.
19943         (MEMCMP): Likewise.
19944         * string/memcpy.c (memcpy): Likewise.
19945         * string/memmove.c (MEMMOVE): Likewise.
19946         * string/memset.c (memset): Likewise.
19947         * string/rawmemchr.c (RAWMEMCHR): Likewise.
19948         * string/strchrnul.c (STRCHRNUL): Likewise.
19949         * string/strerror.c (strerror): Likewise.
19950         * string/strndup.c (__strndup): Likewise.
19951         * string/strverscmp.c (__strverscmp): Likewise.
19952         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
19953         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
19954         (clnttcp_freeres): Likewise.
19955         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
19956         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
19957         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
19958         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
19959         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
19960         (xdr_callhdr): Likewise.
19961         * sunrpc/rpcinfo.c (udpping): Likewise.
19962         (tcpping): Likewise.
19963         (pstatus): Likewise.
19964         (pmapdump): Likewise.
19965         (brdcst): Likewise.
19966         (deletereg): Likewise.
19967         (getprognum): Likewise.
19968         (getvers): Likewise.
19969         (get_inet_address): Likewise.
19970         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
19971         * sunrpc/svc_udp.c (svcudp_create): Likewise.
19972         (svcudp_stat): Likewise.
19973         (svcudp_recv): Likewise.
19974         (svcudp_reply): Likewise.
19975         (svcudp_getargs): Likewise.
19976         (svcudp_freeargs): Likewise.
19977         (svcudp_destroy): Likewise.
19978         * sunrpc/xdr.c (xdr_bytes): Likewise.
19979         (xdr_netobj): Likewise.
19980         (xdr_string): Likewise.
19981         (xdr_wrapstring): Likewise.
19982         * sunrpc/xdr_float.c (xdr_float): Likewise.
19983         (xdr_double): Likewise.
19984         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
19985         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
19986         * sysvipc/ftok.c (ftok): Likewise.
19987         * sysvipc/msgctl.c (msgctl): Likewise.
19988         * sysvipc/msgget.c (msgget): Likewise.
19989         * sysvipc/msgrcv.c (msgrcv): Likewise.
19990         * sysvipc/msgsnd.c (msgsnd): Likewise.
19991         * sysvipc/semget.c (semget): Likewise.
19992         * sysvipc/semop.c (semop): Likewise.
19993         * sysvipc/shmat.c (shmat): Likewise.
19994         * sysvipc/shmctl.c (shmctl): Likewise.
19995         * sysvipc/shmdt.c (shmdt): Likewise.
19996         * sysvipc/shmget.c (shmget): Likewise.
19997         * termios/cfmakeraw.c (cfmakeraw): Likewise.
19998         * termios/speed.c (cfgetospeed): Likewise.
19999         (cfgetispeed): Likewise.
20000         (cfsetospeed): Likewise.
20001         (cfsetispeed): Likewise.
20002         * termios/tcflow.c (tcflow): Likewise.
20003         * termios/tcflush.c (tcflush): Likewise.
20004         * termios/tcgetattr.c (__tcgetattr): Likewise.
20005         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20006         * termios/tcgetsid.c (tcgetsid): Likewise.
20007         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20008         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20009         * time/adjtime.c (__adjtime): Likewise.
20010         * time/dysize.c (dysize): Likewise.
20011         * time/ftime.c (ftime): Likewise.
20012         * time/getitimer.c (__getitimer): Likewise.
20013         * time/gettimeofday.c (__gettimeofday): Likewise.
20014         * time/gmtime.c (__gmtime_r): Likewise.
20015         (gmtime): Likewise.
20016         * time/localtime.c (__localtime_r): Likewise.
20017         (localtime): Likewise.
20018         * time/offtime.c (__offtime): Likewise.
20019         * time/settimeofday.c (__settimeofday): Likewise.
20020         * time/stime.c (stime): Likewise.
20021         * time/strftime_l.c (tm_diff): Likewise.
20022         (iso_week_days): Likewise.
20023         * time/strptime.c (strptime): Likewise.
20024         * time/time.c (time): Likewise.
20025         * time/timespec_get.c (timespec_get): Likewise.
20026         * time/tzset.c (tzset_internal): Likewise.
20027         (compute_change): Likewise.
20028         (__tz_compute): Likewise.
20029         * wcsmbs/btowc.c (__btowc): Likewise.
20030         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20031         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20032         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20033         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20034         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20035         * wcsmbs/wcscat.c (__wcscat): Likewise.
20036         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20037         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20038         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20039         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20040         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20041         * wcsmbs/wcslen.c (__wcslen): Likewise.
20042         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20043         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20044         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20045         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20046         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20047         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20048         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20049         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20050         * wcsmbs/wcstok.c (wcstok): Likewise.
20051         * wcsmbs/wctob.c (wctob): Likewise.
20052         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20053         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20054         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20055         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20056         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20057         * wcsmbs/wmemset.c (__wmemset): Likewise.
20058         * wctype/wcfuncs.c (__towlower): Likewise.
20059         (__towupper): Likewise.
20061         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20062         (lll_unlock_elision): Add adapt_count parameter.
20064 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20066         * sysdeps/nptl/configure.ac: Do not give errors based on the
20067         results of top-level configure tests.
20068         * sysdeps/nptl/configure: Regenerated.
20070         * configure.ac (libc_cv_Bgroup): Remove configure test.
20071         * configure: Regenerated.
20072         * config.make.in (have-Bgroup): Remove variable.
20074         * configure.ac (sizeof_long_double): Remove configure test.
20075         * configure: Regenerated.
20076         * config.make.in (sizeof-long-double): Remove variable.
20078         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20079         * configure: Regenerated.
20080         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20081         variable.
20082         (exceptions): Likewise.
20083         * sysdeps/arm/configure: Regenerated.
20084         * config.make.in (exceptions): Remove variable.
20085         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20086         $(exceptions).
20087         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20088         (CFLAGS-vdprintf_chk.c): Likewise.
20089         (CFLAGS-printf_chk.c): Likewise.
20090         (CFLAGS-fprintf_chk.c): Likewise.
20091         (CFLAGS-vprintf_chk.c): Likewise.
20092         (CFLAGS-vfprintf_chk.c): Likewise.
20093         (CFLAGS-gets_chk.c): Likewise.
20094         (CFLAGS-fgets_chk.c): Likewise.
20095         (CFLAGS-fgets_u_chk.c): Likewise.
20096         (CFLAGS-fread_chk.c): Likewise.
20097         (CFLAGS-fread_u_chk.c): Likewise.
20098         (CFLAGS-wprintf_chk.c): Likewise.
20099         (CFLAGS-fwprintf_chk.c): Likewise.
20100         (CFLAGS-vwprintf_chk.c): Likewise.
20101         (CFLAGS-vfwprintf_chk.c): Likewise.
20102         (CFLAGS-fgetws_chk.c): Likewise.
20103         (CFLAGS-fgetws_u_chk.c): Likewise.
20104         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20105         (CFLAGS-fputc.c): Likewise.
20106         (CFLAGS-fputwc.c): Likewise.
20107         (CFLAGS-freopen64.c): Likewise.
20108         (CFLAGS-freopen.c): Likewise.
20109         (CFLAGS-fseek.c): Likewise.
20110         (CFLAGS-fseeko64.c): Likewise.
20111         (CFLAGS-fseeko.c): Likewise.
20112         (CFLAGS-ftello64.c): Likewise.
20113         (CFLAGS-ftello.c): Likewise.
20114         (CFLAGS-fwide.c): Likewise.
20115         (CFLAGS-genops.c): Likewise.
20116         (CFLAGS-getc.c): Likewise.
20117         (CFLAGS-getchar.c): Likewise.
20118         (CFLAGS-getwc.c): Likewise.
20119         (CFLAGS-getwchar.c): Likewise.
20120         (CFLAGS-iofclose.c): Likewise.
20121         (CFLAGS-iofflush.c): Likewise.
20122         (CFLAGS-iofgetpos64.c): Likewise.
20123         (CFLAGS-iofgetpos.c): Likewise.
20124         (CFLAGS-iofgets.c): Likewise.
20125         (CFLAGS-iofgetws.c): Likewise.
20126         (CFLAGS-iofputs.c): Likewise.
20127         (CFLAGS-iofputws.c): Likewise.
20128         (CFLAGS-iofread.c): Likewise.
20129         (CFLAGS-iofsetpos64.c): Likewise.
20130         (CFLAGS-iofsetpos.c): Likewise.
20131         (CFLAGS-ioftell.c): Likewise.
20132         (CFLAGS-iofwrite.c): Likewise.
20133         (CFLAGS-iogetdelim.c): Likewise.
20134         (CFLAGS-iogetline.c): Likewise.
20135         (CFLAGS-iogets.c): Likewise.
20136         (CFLAGS-iogetwline.c): Likewise.
20137         (CFLAGS-ioputs.c): Likewise.
20138         (CFLAGS-ioseekoff.c): Likewise.
20139         (CFLAGS-ioseekpos.c): Likewise.
20140         (CFLAGS-iosetbuffer.c): Likewise.
20141         (CFLAGS-iosetvbuf.c): Likewise.
20142         (CFLAGS-ioungetc.c): Likewise.
20143         (CFLAGS-ioungetwc.c): Likewise.
20144         (CFLAGS-oldfileops.c): Likewise.
20145         (CFLAGS-oldiofclose.c): Likewise.
20146         (CFLAGS-oldiofgetpos64.c): Likewise.
20147         (CFLAGS-oldiofgetpos.c): Likewise.
20148         (CFLAGS-oldiofsetpos64.c): Likewise.
20149         (CFLAGS-oldiofsetpos.c): Likewise.
20150         (CFLAGS-peekc.c): Likewise.
20151         (CFLAGS-putc.c): Likewise.
20152         (CFLAGS-putchar.c): Likewise.
20153         (CFLAGS-putwc.c): Likewise.
20154         (CFLAGS-putwchar.c): Likewise.
20155         (CFLAGS-rewind.c): Likewise.
20156         (CFLAGS-wfileops.c): Likewise.
20157         (CFLAGS-wgenops.c): Likewise.
20158         (CFLAGS-oldiofopen.c): Likewise.
20159         (CFLAGS-iofopen.c): Likewise.
20160         (CFLAGS-iofopen64.c): Likewise.
20161         (CFLAGS-oldtmpfile.c): Likewise.
20162         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20163         (CFLAGS-fprintf.c): Likewise.
20164         (CFLAGS-printf.c): Likewise.
20165         (CFLAGS-vfwprintf.c): Likewise.
20166         (CFLAGS-vfscanf.c): Likewise.
20167         (CFLAGS-vfwscanf.c): Likewise.
20168         (CFLAGS-fscanf.c): Likewise.
20169         (CFLAGS-scanf.c): Likewise.
20170         (CFLAGS-isoc99_vfscanf.c): Likewise.
20171         (CFLAGS-isoc99_vscanf.c): Likewise.
20172         (CFLAGS-isoc99_fscanf.c): Likewise.
20173         (CFLAGS-isoc99_scanf.c): Likewise.
20174         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20175         (CFLAGS-isoc99_fwscanf.c): Likewise.
20176         (CFLAGS-isoc99_vwscanf.c): Likewise.
20177         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20179         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20180         after mkstemp64.
20181         * login/tst-utmp.c (do_prepare): Likewise.
20182         * rt/tst-aio.c (do_prepare): Likewise.
20183         * rt/tst-aio64.c (do_prepare): Likewise.
20185 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20187         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20188         (__lll_lock_elision): Remove adapt_count decrement...
20189         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20190         (__lll_trylock_elision): Likewise.
20191         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20192         (__lll_unlock_elision): ... to here. And utilize
20193         new adapt_count parameter.
20194         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20195         (__lll_unlock_elision): Update to include adapt_count
20196         parameter.
20197         (lll_unlock_elision): Pass pointer to adapt_count
20198         variable.
20200 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20202         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20203         Add elision adapt_count parameter to list of arguments.
20204         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20205         (lll_unlock_elision): Update with new parameter list
20206         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20207         (lll_unlock_elision): Likewise.
20208         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20209         (lll_unlock_elision): Likewise.
20211 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20213         [BZ #19122]
20214         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20215         attribute_hidden.
20217         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20218         attribute_hidden.
20219         [IS_IN (rtld)] (__strdup): Likewise.
20220         [IS_IN (rtld)] (__strerror_r): Likewise.
20221         [IS_IN (rtld)] (__strsep_g): Likewise.
20222         [IS_IN (rtld)] (memchr): Likewise.
20223         [IS_IN (rtld)] (memcmp): Likewise.
20224         [IS_IN (rtld)] (memcpy): Likewise.
20225         [IS_IN (rtld)] (memmove): Likewise.
20226         [IS_IN (rtld)] (memset): Likewise.
20227         [IS_IN (rtld)] (rawmemchr): Likewise.
20228         [IS_IN (rtld)] (stpcpy): Likewise.
20229         [IS_IN (rtld)] (strchr): Likewise.
20230         [IS_IN (rtld)] (strcmp): Likewise.
20231         [IS_IN (rtld)] (strlen): Likewise.
20232         [IS_IN (rtld)] (strnlen): Likewise.
20233         [IS_IN (rtld)] (strsep): Likewise.
20235         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20236         attribute_hidden.
20237         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20239         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20240         attribute_hidden.
20241         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20243         * include/setjmp.h (__longjmp): Add attribute_hidden.
20244         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20246         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20247         Add attribute_hidden.
20249         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20250         [IS_IN (rtld)] (__open): Likewise.
20251         [IS_IN (rtld)] (__fcntl): Likewise.
20253         * include/dirent.h (__opendirat): Add attribute_hidden.
20254         (__getdents): Likewise.
20255         (__getdents64): Likewise.
20256         (__alloc_dir): Likewise.
20257         [IS_IN (rtld)] (__closedir): Likewise.
20258         [IS_IN (rtld)] (__fdopendir): Likewise.
20259         [IS_IN (rtld)] (__readdir): Likewise.
20260         [IS_IN (rtld)] (__readdir64): Likewise.
20261         [IS_IN (rtld)] (__rewinddir): Likewise.
20263         * include/dlfcn.h (_dl_catch_error): Moved to ...
20264         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20265         attribute_hidden.
20267         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20268         (_itoa_word): Likewise.
20270         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20271         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20272         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20273         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20274         (_dl_higher_prime_number): Likewise.
20275         (_dl_debug_printf_c): Likewise.
20276         (_dl_signal_cerror): Likewise.
20277         (_dl_receive_error): Likewise.
20278         (_dl_reloc_bad_type): Likewise.
20279         (_dl_resolve_conflicts): Likewise.
20280         (_dl_check_all_versions): Likewise.
20281         (_dl_check_map_versions): Likewise.
20282         (_dl_sort_fini): Likewise.
20283         (_dl_debug_initialize): Likewise.
20284         (_dl_init_paths): Likewise.
20285         (_dl_show_auxv): Likewise.
20286         (_dl_next_ld_env_entry): Likewise.
20287         (_dl_important_hwcaps): Likewise.
20288         (_dl_load_cache_lookup): Likewise.
20289         (_dl_update_slotinfo): Likewise.
20290         (_dl_show_scope): Likewise.
20292         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20293         attribute_hidden.
20294         (_wordcopy_fwd_dest_aligned): Likewise.
20295         (_wordcopy_bwd_aligned): Likewise.
20296         (_wordcopy_bwd_dest_aligned): Likewise.
20298         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20299         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20300         Likewise.
20301         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20302         Likewise.
20303         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20305 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20308         GCC 5 requirement.
20310 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20312         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20313         test.
20314         * sysdeps/i386/configure: Regenerated.
20315         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20316         code unconditional.
20318         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20319         test.
20320         (libc_cv_asm_popsection_directive): Likewise.
20321         * configure: Regenerated.
20322         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20323         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20324         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20325         (__make_section_unallocated): Make definition unconditional.
20326         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20327         Remove conditional definition.
20328         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20329         (__make_section_unallocated): Likewise.
20331         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20332         * configure: Regenerated.
20333         * config.make.in (static-libgcc): Remove variable.
20334         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20335         $(static-libgcc).
20336         (build-module-helper): Likewise.
20338         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20339         * configure: Regenerated.
20341 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20343         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20344         (struct char_buffer): New type.
20345         (char_buffer_start, char_buffer_size, char_buffer_error)
20346         (char_buffer_rewind, char_buffer_add): New functions.
20347         (ADDW): Remove macro, replaced by the char_buffer_add function.
20348         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20349         of extend_alloca.  Make control flow more explicit.
20351 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20353         [BZ #19137]
20354         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20355         Add -fomit-frame-pointer.
20356         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20358 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20360         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20361         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20362         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20363         only if !__GNUC_PREREQ (5,0).
20364         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20365         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20366         (INTERNAL_SYSCALL_NCS): Likewise.
20367         (LOADREGS_0): New macro for GCC 5.
20368         (ASMARGS_0): Likewise.
20369         (LOADREGS_1): Likewise.
20370         (ASMARGS_1): Likewise.
20371         (LOADREGS_2): Likewise.
20372         (ASMARGS_2): Likewise.
20373         (LOADREGS_3): Likewise.
20374         (ASMARGS_3): Likewise.
20375         (LOADREGS_4): Likewise.
20376         (ASMARGS_4): Likewise.
20377         (LOADREGS_5): Likewise.
20378         (ASMARGS_5): Likewise.
20379         (LOADREGS_6): Likewise.
20380         (ASMARGS_6): Likewise.
20382 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20384         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20385         -fomit-frame-pointer.
20386         (CFLAGS-mmap64.c): Likewise.
20387         (CFLAGS-semtimedop.c): Likewise.
20388         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20389         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20390         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20391         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20393 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20395         [BZ #18928]
20396         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20397         _dl_pointer_guard member.
20398         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20399         initializer.
20400         (security_init): Always set up pointer guard.
20401         (process_envvars): Do not process LD_POINTER_GUARD.
20403 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20405         [BZ #19134]
20406         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20407         (.LC2): Likewise.
20408         (.LC3): Likewise.
20409         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20411 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20413         [BZ #19129]
20414         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20415         r0 and r1.
20417 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20419         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20421 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20423         * include/stap-probe.h: Fix macro definition formatting.
20425 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20427         [BZ #19074]
20428         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20429         load and store num_ifs.
20431 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20433         [BZ #18822]
20434         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20435         (__sched_getaffinity_new): Add libc_hidden_proto and
20436         libc_hidden_def.
20438 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20440         [BZ #19007]
20441         * scripts/localplt.awk: Also allow GOT references.
20442         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20443         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20444         with "+ REL R_386_GLOB_DAT".
20445         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20446         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20448 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20450         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20451         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20452         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20453         Likewise.
20454         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20455         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20456         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20457         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20458         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20459         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20460         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20461         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20462         Likewise.
20463         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20465 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20467         [BZ #19125]
20468         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20469         <math_private.h> and <stdint.h>.
20470         (__llround): Avoid conversions to and from long long int, and
20471         subtractions, where those might raise spurious exceptions.
20472         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20473         <math_private.h> and <stdint.h>.
20474         (__llroundf): Avoid conversions to and from long long int, and
20475         subtractions, where those might raise spurious exceptions.
20477 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20479         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20480         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20481         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20482         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20483         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20484         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20485         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20486         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20487         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20488         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20489         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20490         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20491         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20492         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20493         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20494         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20495         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20496         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20497         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20498         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20499         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20500         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20501         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20502         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20503         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20504         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20505         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20506         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20507         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20508         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20509         (__xstat64_conv): Likewise.
20510         (__xstat32_conv): Likewise.
20512 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20514         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20515         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20516         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20517         <sysdeps/unix/sysv/linux/sysdep.h>.
20518         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20519         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20520         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20521         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20522         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20523         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20524         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20525         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20526         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20531         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20532         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20534         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20535         (sysdep-dl-routines): Add sysdep.
20536         [$(subdir) == nptl] (libpthread-routines): Likewise.
20537         [$(subdir) == rt] (librt-routines): Likewise.
20538         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20539         PIC when branching to SYSCALL_ERROR_LABEL.
20540         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20541         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20542         <sysdeps/unix/sysv/linux/sysdep.h>.
20543         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20544         (SYSCALL_ERROR_ERRNO): Removed.
20545         (SYSCALL_ERROR_HANDLER): Changed to empty.
20546         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20547         (__syscall_error): New prototype.
20548         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20549         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20551 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20553         [BZ #19124]
20554         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20555         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20556         _dl_runtime_resolve_avx.
20557         (_dl_runtime_profile_avx512): Make it a hidden alias of
20558         _dl_runtime_profile_avx.
20560 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20562         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20563         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20564         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20565         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20567         [BZ #16422]
20568         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20569         New configure test.
20570         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20571         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20572         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20573         <math_private.h> and <stdint.h>.
20574         (__llrint): Avoid conversions to long long int where those might
20575         raise spurious exceptions.
20576         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20577         <math_private.h> and <stdint.h>.
20578         (__llrintf): Avoid conversions to long long int where those might
20579         raise spurious exceptions.
20581 2015-10-12  Andreas Schwab  <schwab@suse.de>
20583         [BZ #18969]
20584         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20585         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20586         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20587         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20588         $(gen-locales).
20589         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20590         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20591         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20592         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20593         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20594         $(gen-locales).
20595         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20596         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20597         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20598         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20599         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20600         ($(objpfx)tst-ftell-active-handler.out)
20601         ($(objpfx)tst-ftell-append.out)
20602         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20603         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20604         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20605         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20606         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20607         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20608         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20609         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20610         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20611         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20612         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20613         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20614         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20615         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20616         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20617         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20618         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20619         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20620         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
20621         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20622         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20623         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20624         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20625         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
20626         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20627         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20628         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20629         $(gen-locales).
20630         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
20631         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20632         $(gen-locales).
20633         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
20634         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20635         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20636         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20637         $(gen-locales).
20638         * libio/tst_wprintf2.c (main): Use explicit locale.
20639         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
20641 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20643         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
20644         __msg_sig_post.
20645         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
20647 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20649         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20650         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20652         * sysdeps/arm/libm-test-ulps: Regenerated.
20654         [BZ #15470]
20655         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
20657         [BZ #16399]
20658         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
20659         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
20660         and <fix-fp-int-convert-overflow.h>.
20661         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20662         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20663         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
20664         and <fix-fp-int-convert-overflow.h>.
20665         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
20666         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20667         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
20668         <fix-fp-int-convert-overflow.h>.
20669         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20670         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20671         * sysdeps/ieee754/dbl-64/s_lround.c: Include
20672         <fix-fp-int-convert-overflow.h>.
20673         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
20674         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20675         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
20676         and <fix-fp-int-convert-overflow.h>.
20677         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20678         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20679         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
20680         <limits.h> and <fix-fp-int-convert-overflow.h>.
20681         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20682         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20683         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
20684         and <fix-fp-int-convert-overflow.h>.
20685         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20686         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20687         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
20688         and <fix-fp-int-convert-overflow.h>.
20689         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20690         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20691         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
20693 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
20695         [BZ #18589]
20696         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
20697         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
20698         $(gen-locales).
20700 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20701             Phil Blundell <pb@pbcl.net>
20703         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
20704         * nptl/tst-cancel26.c: New file.
20705         * nptl/tst-cancel27.c: Likewise.
20707 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
20709         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
20710         __ILP32__ isn't defined.
20711         (lrint): Likewise.
20712         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
20713         (lrintf): Likewise.
20714         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
20715         (lrintl): Likewise.
20716         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
20717         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
20718         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
20720 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20722         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20723         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20725         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
20726         file.
20727         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
20728         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20730 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20732         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
20733         configure test.
20734         * sysdeps/i386/configure: Regenerated.
20735         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
20736         configure test.
20737         * sysdeps/x86_64/configure: Regenerated.
20738         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
20739         Make code unconditional.
20741         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
20742         test.
20743         * sysdeps/i386/configure: Regenerated.
20744         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
20745         test.
20746         * sysdeps/x86_64/configure: Regenerated.
20747         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
20748         Make code unconditional.
20749         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20750         Likewise.
20751         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
20752         Likewise.
20753         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20754         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
20755         code unconditional.
20756         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20757         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
20758         code unconditional.
20759         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20760         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
20761         code unconditional.
20762         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
20763         code unconditional.
20764         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20765         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
20766         code unconditional.
20767         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20768         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
20769         code unconditional.
20770         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20771         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
20772         code unconditional.
20773         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20774         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
20775         code unconditional.
20776         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20777         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
20779         [BZ #19095]
20780         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
20781         mantissa to long int before shifting left.
20783 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20785         [BZ #19094]
20786         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
20787         <limits.h>.
20788         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20789         when result overflows but exception would not result from cast.
20790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
20791         <limits.h>.
20792         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20793         when result overflows but exception would not result from cast.
20794         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
20795         <limits.h>.
20796         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20797         when result overflows but exception would not result from cast.
20798         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
20799         <limits.h>.
20800         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20801         when result overflows but exception would not result from cast.
20802         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
20803         <limits.h>.
20804         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20805         when result overflows but exception would not result from cast.
20806         * math/libm-test.inc (lrint_test_data): Add more tests.
20807         (llrint_test_data): Likewise.
20809 2015-10-08  Roland McGrath  <roland@hack.frob.com>
20811         [BZ #18872]
20812         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
20813         Move out from under [$(run-built-tests) = yes] conditional.
20814         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
20815         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
20817 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
20819         [BZ #18589]
20820         * string/Makefile (tests): Add bug-strcoll2.
20821         (LOCALES): Add cs_CZ.UTF-8.
20822         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
20824         [BZ #18589]
20825         * string/bug-strcoll2.c: New file.
20826         * locale/categories.def: Revert commit
20827         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
20828         * locale/langinfo.h: Likewise.
20829         * locale/localeinfo.h: Likewise.
20830         * locale/C-collate.c: Likewise.
20831         * locale/programs/ld-collate.c (collate_output): Likewise.
20832         * string/strcoll_l.c (STRDIFF): Likewise.
20833         (STRCOLL): Likewise.
20834         * wcsmbs/wcscoll_l.c: Likewise.
20836 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20838         * math/libm-test.inc (lround_test_data): Do not expect the absence
20839         of "inexact" for some tests with non-integer arguments.
20840         (llround_test_data): Likewise.
20842         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
20843         test.
20844         (libc_cv_cc_sse2avx): Likewise.
20845         * sysdeps/i386/configure: Regenerated.
20846         * sysdeps/i386/i686/multiarch/Makefile
20847         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
20848         [$(subdir) = math].
20849         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
20850         code unconditional.
20851         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20852         Likewise.
20853         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
20854         Likewise.
20855         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20856         Likewise.
20857         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
20858         test.
20859         (libc_cv_cc_sse2avx): Likewise.
20860         * sysdeps/x86_64/configure: Regenerated.
20861         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
20862         unconditional.
20863         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
20864         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
20865         unconditional.
20866         (_dl_runtime_profile)
20867         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
20868         conditional code.
20869         * sysdeps/x86_64/fpu/multiarch/Makefile
20870         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
20871         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20872         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20873         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20874         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20875         * sysdeps/x86_64/fpu/multiarch/e_log.c
20876         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20877         * sysdeps/x86_64/fpu/multiarch/s_atan.c
20878         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20879         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20880         Likewise.
20881         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20882         Likewise.
20883         * sysdeps/x86_64/fpu/multiarch/s_sin.c
20884         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20885         * sysdeps/x86_64/fpu/multiarch/s_tan.c
20886         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20887         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
20888         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
20889         (HAVE_SSE2AVX_SUPPORT): Likewise.
20891 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
20893         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
20894         instead of #pragma optimize.
20896 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
20898         [BZ #17195]
20899         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
20900         as is similarly done in systrim and _int_free already.
20902 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20904         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
20906 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20908         [BZ #19088]
20909         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
20910         <limits.h>.
20911         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20912         overflows but exception would not result from cast.
20913         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
20914         and <limits.h>.
20915         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
20916         overflows but exception would not result from cast.
20917         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
20918         <limits.h>.
20919         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20920         overflows but exception would not result from cast.
20921         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
20922         <limits.h>.
20923         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20924         overflows but exception would not result from cast.
20925         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
20926         <limits.h>.
20927         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
20928         overflows but exception would not result from cast.
20929         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
20930         <limits.h>.
20931         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
20932         overflows but exception would not result from cast.
20933         * math/libm-test.inc (lround_test_data): Add more tests.
20934         (llround_test_data): Likewise.
20936 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
20938         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
20939         (CFLAGS-ialloc.c): Ditto.
20940         (CFLAGS-scheck.c): Ditto.
20942 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
20944         [BZ #19086]
20945         * manual/filesys.texi (Storage Allocation): Fix argument order for
20946         posix_fallocate64.
20948 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20950         [BZ #19085]
20951         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
20952         exponent below 48 inside case for non-overflowing exponent.
20953         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
20955 2015-10-07  Florian Weimer  <fweimer@redhat.com>
20957         * iconvdata/cp737.h (from_idx): Add const.
20958         * iconvdata/cp775.h (from_idx): Likewise.
20960 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
20962         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
20963         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
20964         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
20966         [BZ #19079]
20967         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
20968         file, conditioned on [!_LP64].
20969         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
20970         [!_LP64] (__lround): Do not define as function or alias.
20971         [!_LP64] (lround): Likewise.
20972         [!_LP64] (__lroundl): Likewise.
20973         [!_LP64] (lroundl): Likewise.
20974         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
20975         macro.
20976         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20977         Likewise.
20979 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
20981         * math/libm-test.inc (lrint_test_data): Add more tests.
20982         (llrint_test_data): Likewise.
20983         (lround_test_data): Likewise.
20984         (llround_test_data): Likewise.
20986         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
20987         (llrint_test_data): Add tests used for lrint.
20989         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
20990         test.
20991         * sysdeps/i386/configure: Regenerated.
20992         * sysdeps/i386/i686/multiarch/Makefile
20993         [$(config-cflags-sse4) = yes]: Make code unconditional.
20994         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
20995         Likewise.
20996         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
20997         Likewise.
20998         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
20999         test.
21000         * sysdeps/x86_64/configure: Regenerated.
21001         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21002         Make code unconditional.
21003         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21004         Likewise.
21005         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21006         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21008         * scripts/rpm2dynsym.sh: Remove file.
21010 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21012         * configure.ac (libc_cv_cxx_thread_local): Define.
21013         * configure: Regenerate.
21014         * config.make.in (have-cxx-thread_local): Define.
21015         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21016         (LDLIBS-tst-thread_local1): Define.
21017         (tests): Add tst-thread_local1.
21018         [have-cxx-thread_local != yes] (tests-unsupported): Add
21019         tst-thread_local1.
21020         * nptl/tst-thread_local1.cc: New file.
21022 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21024         [BZ #19078]
21025         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21026         (u_thres): Likewise.
21027         (__expl): Determine whether to call __kernel_standard_l based on
21028         value of result, not argument.
21030         * math/libm-test.inc (scalb_test_data): Add more expectations for
21031         the "inexact" exception.
21033         [BZ #19077]
21034         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21035         0.0L for argument 1.0L.
21037         [BZ #19076]
21038         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21039         constant 0.0L when computing infinite result.
21041 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21043         [BZ #10432]
21044         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21045         malloc_usable_size.
21047 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21049         [BZ #19018]
21050         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21051         Mangle function pointer before storing it.
21052         (__call_tls_dtors): Demangle function pointer before calling it.
21054 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21056         [BZ #19012]
21057         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21058         Clean up on failure.
21060 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21062         [BZ #19071]
21063         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21064         long int variable to store possibly incremented high part of
21065         mantissa.
21066         * math/libm-test.inc (lround_test_data): Add tests used for
21067         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21068         for tests requiring 64-bit long.  Do not condition tests on
21069         [TEST_FLOAT] unnecessarily.
21070         (llround_test_data): Add tests used for lround.  Add another
21071         expectation for the "inexact" exception.  Do not condition tests
21072         on [TEST_FLOAT] unnecessarily.
21074         [BZ #887]
21075         [BZ #19049]
21076         [BZ #19050]
21077         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21078         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21079         <fix-int-fp-convert-zero.h>.
21080         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21081         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21082         <fix-int-fp-convert-zero.h>.
21083         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21084         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21085         <fix-int-fp-convert-zero.h>.
21086         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21087         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21088         <fix-int-fp-convert-zero.h>.
21089         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21090         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21091         <fix-int-fp-convert-zero.h>.
21092         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21093         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21094         <fix-int-fp-convert-zero.h>.
21095         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21096         * sysdeps/ieee754/flt-32/s_erff.c: Include
21097         <fix-int-fp-convert-zero.h>.
21098         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21099         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21100         <fix-int-fp-convert-zero.h>.
21101         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21102         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21103         <fix-int-fp-convert-zero.h>.
21104         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21105         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21106         <fix-int-fp-convert-zero.h>.
21107         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21108         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21109         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21110         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21111         file.
21112         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21114 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21118 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21120         [BZ #19059]
21121         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21122         overflowing computation.
21123         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21124         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21125         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21126         Likewise.
21127         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21128         Likewise.
21129         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21130         Likewise.
21131         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21132         Likewise.
21133         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21134         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21135         Likewise.
21136         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21137         Likewise.
21138         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21140         * nss/rewrite_field.c (__nss_rewrite_field): Use
21141         internal_function.
21142         * nss/valid_field.c (__nss_valid_field): Likewise.
21143         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21145 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21147         [BZ #18724]
21148         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21149         (__nss_invalid_field_characters, __nss_valid_field)
21150         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21151         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21152         tst-field.c: New file.
21153         * nss/Makefile (routines): Add valid_field, rewrite_field.
21154         (tests-static): Define unconditionally.
21155         (tests): Include tests-static.
21156         [build-static-nss] (tests-static): Use append.
21157         [build-static-nss] (tests): Remove modification.
21158         * nss/getent.c (print_group): Call putgrent.  Report error.
21159         (print_gshadow): Call putsgent.  Report error.
21160         (print_passwd): Call putpwent.  Report error.
21161         (print_shadow): Call putspent.  Report error.
21162         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21163         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21164         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21165         name, password, directory, shell fields for valid syntax.  Rewrite
21166         GECOS field to match syntax.
21167         * pwd/Makefile (tests): Add tst-putpwent.
21168         * pwd/tst-putpwent.c: New file.
21169         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21170         Check grName, grpasswd, gr_mem fields for valid syntax.
21171         Change loop variable i to size_t.
21172         * grp/Makefile (tests): Add tst-putgrent.
21173         * grp/tst-putgrent.c: New file.
21174         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21175         valid syntax.
21176         * shadow/Makefile (tests): Add tst-putspent.
21177         * shadow/tst-putspent.c: New file.
21178         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21179         sg_mem fields for valid syntax.
21180         * gshadow/Makefile (tests): Add tst-putsgent.
21181         * gshadow/tst-putsgent.c: New file.
21183 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21185         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21186         assembly instructions.
21188 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21190         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21191         prefix from operands.
21193 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21195         [BZ #16347]
21196         [BZ #19046]
21197         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21198         <libc-internal.h>.
21199         (MAXLGM): Do not use diagnostic control macros.
21200         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21201         threshold for ldbl-128ibm.
21202         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21203         instead of multiplying by log then subtracting.
21204         * math/auto-libm-test-in: Add more tests of lgamma.
21205         * math/auto-libm-test-out: Regenerated.
21207         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21208         (TYPE_HEX_DIG): Likewise.
21209         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21210         precisions when printing floating-point numbers.
21211         (check_float_internal): Likewise.
21213 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21215         [BZ #16620]
21216         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21217         of log (10) rounded downward to 48 bits.
21218         (log10_low): Use corresponding low part of log (10).
21220         [BZ #19032]
21221         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21222         compute result as (x - x) / (x - x) not as 0 / 0.
21223         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21224         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21226         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21227         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21228         and expm1.
21229         * math/auto-libm-test-out: Regenerated.
21230         * math/libm-test.inc (acos_test_data): Add more tests.
21231         (asin_test_data): Likewise.
21232         (asinh_test_data): Likewise.
21233         (atan_test_data): Likewise.
21234         (atanh_test_data): Likewise.
21235         (atan2_test_data): Likewise.
21236         (cbrt_test_data): Likewise.
21237         (ceil_test_data): Likewise.
21238         (copysign_test_data): Likewise.
21239         (cos_test_data): Likewise.
21240         (cosh_test_data): Likewise.
21241         (erf_test_data): Likewise.
21242         (erfc_test_data): Likewise.
21243         (exp_test_data): Likewise.
21244         (exp10_test_data): Likewise.
21245         (exp2_test_data): Likewise.
21246         (expm1_test_data): Likewise.
21247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21249 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21251         [BZ #19006]
21252         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21253         to ...
21254         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21255         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21256         to ...
21257         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21258         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21259         to ...
21260         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21261         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21262         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21263         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21264         to ...
21265         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21266         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21267         Moved to ...
21268         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21269         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21270         Moved to ...
21271         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21272         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21273         to ...
21274         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21275         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21276         Moved to ...
21277         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21278         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21279         to ...
21280         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21281         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21282         Removed.
21283         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21284         Likewise.
21285         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21286         Likewise.
21287         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21288         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21289         Likewise.
21290         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21291         Likewise.
21292         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21293         Likewise.
21294         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21295         Likewise.
21296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21297         Likewise.
21298         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21299         Likewise.
21300         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21301         Likewise.
21302         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21303         Likewise.
21304         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21305         Likewise.
21306         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21307         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21308         Likewise.
21309         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21310         Likewise.
21311         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21312         Likewise.
21313         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21314         Likewise.
21315         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21316         Likewise.
21317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21318         Replace ../i486/pthread_cond_timedwait.S with
21319         ../pthread_cond_timedwait.S.
21321 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21323         * math/libm-test.inc (acos_test_data): Refine expectations for
21324         errno and "inexact" exceptions.
21325         (acosh_test_data): Likewise.
21326         (asin_test_data): Likewise.
21327         (asinh_test_data): Likewise.
21328         (atan_test_data): Likewise.
21329         (atanh_test_data): Likewise.
21330         (atan2_test_data): Likewise.
21331         (cbrt_test_data): Likewise.
21332         (ceil_test_data): Likewise.
21333         (copysign_test_data): Likewise.
21334         (cosh_test_data): Likewise.
21335         (erf_test_data): Likewise.
21336         (erfc_test_data): Likewise.
21337         (exp_test_data): Likewise.
21338         (exp10_test_data): Likewise.
21339         (exp2_test_data): Likewise.
21340         (expm1_test_data): Likewise.
21341         (fabs_test_data): Likewise.
21342         (floor_test_data): Likewise.
21343         (fma_test_data): Likewise.
21344         (fmax_test_data): Likewise.
21345         (fmin_test_data): Likewise.
21346         (fmod_test_data): Likewise.
21347         (fpclassify_test_data): Likewise.
21348         (frexp_test_data): Likewise.
21349         (hypot_test_data): Likewise.
21350         (ilogb_test_data): Likewise.
21351         (isgreater_test_data): Likewise.
21352         (isgreaterequal_test_data): Likewise.
21353         (isinf_test_data): Likewise.
21354         (isless_test_data): Likewise.
21355         (islessequal_test_data): Likewise.
21356         (islessgreater_test_data): Likewise.
21357         (isnan_test_data): Likewise.
21358         (isnormal_test_data): Likewise.
21359         (issignaling_test_data): Likewise.
21360         (isunordered_test_data): Likewise.
21361         (j0_test_data): Likewise.
21362         (j1_test_data): Likewise.
21363         (jn_test_data): Likewise.
21364         (lgamma_test_data): Likewise.
21365         (lrint_test_data): Likewise.
21366         (llrint_test_data): Likewise.
21367         (log_test_data): Likewise.
21368         (log10_test_data): Likewise.
21369         (log1p_test_data): Likewise.
21370         (log2_test_data): Likewise.
21371         (logb_test_data): Likewise.
21372         (lround_test_data): Likewise.
21373         (llround_test_data): Likewise.
21374         (modf_test_data): Likewise.
21375         (nearbyint_test_data): Likewise.
21376         (nextafter_test_data): Likewise.
21377         (nexttoward_test_data): Likewise.
21378         (pow_test_data): Likewise.
21379         (remainder_test_data): Likewise.
21380         (remquo_test_data): Likewise.
21381         (rint_test_data): Likewise.
21382         (round_test_data): Likewise.
21383         (signbit_test_data): Likewise.
21384         (sinh_test_data): Likewise.
21385         (sqrt_test_data): Likewise.
21386         (tanh_test_data): Likewise.
21387         (tgamma_test_data): Likewise.
21388         (trunc_test_data): Likewise.
21389         (y0_test_data): Likewise.
21390         (y1_test_data): Likewise.
21391         (yn_test_data): Likewise.
21392         (significand_test_data): Likewise.
21394 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21396         * manual/filesys.texi (Storage Allocation): Document that
21397         posix_fallocate emulation fails when fd is open with O_WRONLY.
21399 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21401         [BZ #19016]
21402         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21403         allow more cases with X^2 + Y^2 >= 0.5.
21404         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21405         normal element in sum instead of special-casing based on values of
21406         arguments.
21407         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21408         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21409         -1 as normal element in sum instead of special-casing based on
21410         values of arguments.
21411         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21412         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21413         (__x2y2m1): Update comment.
21414         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21415         as normal element in sum instead of special-casing based on values
21416         of arguments.
21417         * math/s_clog.c (__clog): Handle more cases using log1p without
21418         hypot.
21419         * math/s_clog10.c (__clog10): Likewise.
21420         * math/s_clog10f.c (__clog10f): Likewise.
21421         * math/s_clog10l.c (__clog10l): Likewise.
21422         * math/s_clogf.c (__clogf): Likewise.
21423         * math/s_clogl.c (__clogl): Likewise.
21424         * math/auto-libm-test-in: Add more tests of clog and clog10.
21425         * math/auto-libm-test-out: Regenerated.
21426         * sysdeps/i386/fpu/libm-test-ulps: Update.
21427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21429 2015-09-28  Martin Sebor  <msebor@redhat.com>
21431         [BZ #18969]
21432         * string/Makefile (LOCALES): Define.
21433         (gen-locales.mk): Include.
21434         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21435         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21436         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21437         on setlocale failure.
21439 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21441         [BZ #18985]
21442         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21443         (__strftime_internal): Likewise.
21444         * time/tst-strftime.c (do_bz18985): New test.
21445         (do_test): Call it.
21447 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21449         [BZ #18956]
21450         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21451         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21452         extracting high part.
21453         * math/auto-libm-test-in: Add another test of pow.
21454         * math/auto-libm-test-out: Regenerated.
21455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21457 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21459         [BZ #18825]
21460         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21461         New macro.
21462         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21463         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21464         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21465         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21466         DBL_NARROW_EVAL, reloading the PIC register as needed.
21467         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21468         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21469         FLT_NARROW_EVAL.  Use separate return path for case when first
21470         argument is NaN.
21471         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21472         DEFINE_LDBL_MIN.
21473         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21474         PIC register.
21475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21476         math_check_force_underflow_nonneg.
21477         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21478         underflow for subnormal result.
21479         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21480         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21481         math_check_force_underflow_nonneg.
21482         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21483         math_check_force_underflow.
21484         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21485         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21486         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21487         DEFINE_LDBL_MIN.
21488         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21489         * math/auto-libm-test-in: Add more tests of pow.
21490         * math/auto-libm-test-out: Regenerated.
21492 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21494         * nss/bug17079.c (init_test_items): Add diagnostic for
21495         inconsistent entries.
21496         (test_buffer_size): Skip inconsistent entries.
21498 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21500         [BZ #13304]
21501         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21502         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21503         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21505         [BZ #13304]
21506         * sysdeps/microblaze/s_fma.c: New file.
21507         * sysdeps/microblaze/s_fmaf.c: Likewise.
21508         * sysdeps/microblaze/sfp-machine.h: Likewise.
21510 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21512         [BZ #17250]
21513         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21514         member.
21516 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21518         [BZ #18803]
21519         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21520         (MO): New macro.
21521         (__ieee754_hypot) [PIC]: Load PIC register.
21522         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21523         DBL_NARROW_EVAL.
21524         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21525         math_check_force_underflow_nonneg in case where result might be
21526         tiny.
21527         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21528         Likewise.
21529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21530         Likewise.
21531         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21532         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21533         * math/auto-libm-test-in: Add more tests of hypot.
21534         * math/auto-libm-test-out: Regenerated.
21536 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21538         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21540 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21542         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21543         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21544         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21545         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21546         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21547         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21548         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21550         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21551         LOAD_PIC_REG.
21553         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21554         (FLT_CHECK_FORCE_UFLOW): Likewise.
21555         (DBL_CHECK_FORCE_UFLOW): Likewise.
21556         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21557         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21558         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21559         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21560         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21561         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21562         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21563         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21564         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21565         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21566         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21567         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21568         (flt_min): Replace with use of DEFINE_FLT_MIN.
21569         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21570         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21571         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21572         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21573         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21574         (flt_min): Replace with use of DEFINE_FLT_MIN.
21575         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21576         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21577         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21578         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21579         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21580         (flt_min): Replace with use of DEFINE_FLT_MIN.
21581         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21582         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21583         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21584         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21585         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21586         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21587         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21588         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21589         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21590         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21591         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21592         (flt_min): Replace with use of DEFINE_FLT_MIN.
21593         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21594         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21595         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21596         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21597         main computation.
21598         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21599         (flt_min): Replace with use of DEFINE_FLT_MIN.
21600         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21601         main computation.
21602         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21603         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21604         (MO): New macro.
21605         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21606         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21607         (flt_min): Replace with use of DEFINE_FLT_MIN.
21608         (MO): New macro.
21609         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21610         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21611         (__log1pl): Use MO.
21613         [BZ #19003]
21614         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21615         $(config-cflags-nofma).
21617 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21619         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21621 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
21623         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21624         (TWO127): Likewise.
21626         * sysdeps/generic/math_private.h (fabs_tg): New macro.
21627         (min_of_type): Likewise.
21628         (math_check_force_underflow): Likewise.
21629         (math_check_force_underflow_nonneg): Likewise.
21630         (math_check_force_underflow_complex): Likewise.
21631         * math/e_exp2l.c (__ieee754_exp2l): Use
21632         math_check_force_underflow_nonneg.
21633         * math/k_casinh.c (__kernel_casinh): Likewise.
21634         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21635         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21636         * math/s_catan.c (__catan): Use
21637         math_check_force_underflow_complex.
21638         * math/s_catanf.c (__catanf): Likewise.
21639         * math/s_catanh.c (__catanh): Likewise.
21640         * math/s_catanhf.c (__catanhf): Likewise.
21641         * math/s_catanhl.c (__catanhl): Likewise.
21642         * math/s_catanl.c (__catanl): Likewise.
21643         * math/s_ccosh.c (__ccosh): Likewise.
21644         * math/s_ccoshf.c (__ccoshf): Likewise.
21645         * math/s_ccoshl.c (__ccoshl): Likewise.
21646         * math/s_cexp.c (__cexp): Likewise.
21647         * math/s_cexpf.c (__cexpf): Likewise.
21648         * math/s_cexpl.c (__cexpl): Likewise.
21649         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
21650         * math/s_clog10.c (__clog10): Likewise.
21651         * math/s_clog10f.c (__clog10f): Likewise.
21652         * math/s_clog10l.c (__clog10l): Likewise.
21653         * math/s_clogf.c (__clogf): Likewise.
21654         * math/s_clogl.c (__clogl): Likewise.
21655         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
21656         * math/s_csinf.c (__csinf): Likewise.
21657         * math/s_csinh.c (__csinh): Likewise.
21658         * math/s_csinhf.c (__csinhf): Likewise.
21659         * math/s_csinhl.c (__csinhl): Likewise.
21660         * math/s_csinl.c (__csinl): Likewise.
21661         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
21662         * math/s_csqrtf.c (__csqrtf): Likewise.
21663         * math/s_csqrtl.c (__csqrtl): Likewise.
21664         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
21665         * math/s_ctanf.c (__ctanf): Likewise.
21666         * math/s_ctanh.c (__ctanh): Likewise.
21667         * math/s_ctanhf.c (__ctanhf): Likewise.
21668         * math/s_ctanhl.c (__ctanhl): Likewise.
21669         * math/s_ctanl.c (__ctanl): Likewise.
21670         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
21671         instead of volatile.
21672         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
21673         math_check_force_underflow.
21674         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21675         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
21676         volatile when forcing underflow.
21677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21678         math_check_force_underflow_nonneg.
21679         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
21680         Likewise.
21681         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
21682         math_check_force_underflow.
21683         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21684         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21685         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21686         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
21687         math_check_force_underflow_nonneg.
21688         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
21689         math_check_force_underflow.
21690         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
21691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
21692         instead of volatile.
21693         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
21694         math_check_force_underflow.
21695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21696         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21697         math_check_force_underflow_nonneg.
21698         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
21699         math_check_force_underflow.
21700         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
21701         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21702         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
21703         math_check_force_underflow_nonneg.
21704         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21705         Likewise.
21706         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
21707         math_check_force_underflow.
21708         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21709         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21710         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
21711         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
21712         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
21713         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
21714         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
21715         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
21716         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21717         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
21718         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
21719         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
21720         Likewise.
21721         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
21722         math_check_force_underflow_nonneg.
21723         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21724         Likewise.
21725         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
21726         math_check_force_underflow.
21727         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21728         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
21729         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21730         Likewise.
21731         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
21732         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
21733         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
21734         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
21735         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
21736         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
21737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
21738         instead of volatile.
21739         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
21740         math_check_force_underflow.
21741         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
21742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
21743         math_check_force_underflow.
21744         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
21745         Likewise.
21746         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21747         Use math_check_force_underflow_nonneg.
21748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
21749         math_check_force_underflow.
21750         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21751         Likewise.
21752         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21753         Likewise.
21754         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21755         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21756         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21757         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21760         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
21761         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
21762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
21763         math_check_force_underflow_nonneg.
21764         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
21765         math_check_force_underflow.
21766         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21767         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
21768         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
21769         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
21770         math_check_force_underflow_nonneg.
21771         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
21772         math_check_force_underflow.
21773         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
21774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
21775         instead of volatile.
21776         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
21777         math_check_force_underflow.
21779         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
21780         * stdlib/strtod_l.c: Include <math_private.h>.
21781         (overflow_value): Use math_narrow_eval.
21782         (underflow_value): Likewise.
21783         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21784         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21785         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
21786         (__ieee754_gamma_r): Likewise.
21787         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
21788         Likewise.
21789         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
21790         Likewise.
21791         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
21792         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
21793         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
21794         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
21795         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
21796         (__ieee754_gammaf_r): Likewise.
21797         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21798         Likewise.
21799         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
21800         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
21801         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
21802         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
21803         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
21804         volatile.
21805         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
21806         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
21807         math_narrow_eval.
21808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21809         Likewise.
21810         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21811         Likewise.
21812         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
21813         Likewise.
21814         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
21815         volatile.
21816         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
21817         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
21818         math_narrow_eval.
21819         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21820         Likewise.
21821         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21822         Likewise.
21824 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
21826         * nptl/Versions: Remove ignored symbols.
21828 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21830         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
21831         * nss/Makefile (tests): Update.
21833 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21835         * nss/bug18287.c: New file.
21836         * nss/Makefile (tests): Add bug18287.
21838 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21840         * mach/Versions (__mach_host_self_): Add symbol.
21842 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21844         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
21845         vm_page_size.
21847 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21849         Really fix sysdeps/i386/fpu/s_scalbn.S build
21851         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
21852         (libc: GLIBC_2_22): Remove unused version set.
21854 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21856         * config.make.in (enable-timezone-tools): New variable.
21857         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
21858         (enable_timezone_tools): Export to generated files.
21859         * configure: Regenerate.
21860         * INSTALL: Regenerate.
21861         * manual/install.texi (--disable-timezone-tools): Document new flag.
21862         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
21863         ifeq ($(enable-timezone-tools),yes) check.
21865 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21867         * timezone/Makefile: Revert previous change.
21869         [BZ #18980]
21870         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
21871         (DEFINE_DBL_MIN): Likewise.
21872         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21873         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21874         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21875         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21876         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
21877         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21878         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21879         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
21880         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
21881         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21882         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21883         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
21884         (flt_min): Replace with use of DEFINE_FLT_MIN.
21885         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21886         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
21887         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21888         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21889         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
21890         (flt_min): Replace with use of DEFINE_FLT_MIN.
21891         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21892         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
21893         (flt_min): Replace with use of DEFINE_FLT_MIN.
21894         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
21895         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
21896         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
21897         (__ieee754_hypot): Use DBL_NARROW_EVAL.
21898         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
21899         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
21900         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
21901         (__ieee754_pow): Use DBL_NARROW_EVAL.
21902         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
21903         (__ieee754_powf): Use FLT_NARROW_EVAL.
21904         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
21905         (__ieee754_expf_sse2): Convert double-precision result to single
21906         precision.
21907         * sysdeps/i386/fpu/libm-test-ulps: Update.
21909 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21911         * timezone/Makefile: Ignore unused variable errors due to private.h
21912         (time_t_min) and (time_t_max).
21913         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
21914         Likewise.
21916 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21918         [BZ #18981]
21919         * sysdeps/i386/fpu/i386-math-asm.h: New file.
21920         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
21921         (__ieee754_scalb): Use DBL_NARROW_EVAL.
21922         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
21923         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
21924         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
21925         (__scalbn): Use DBL_NARROW_EVAL.
21926         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
21927         (__scalbnf): Use FLT_NARROW_EVAL.
21929 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21931         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
21932         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
21933         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
21934         * stdio-common/printf_fp.c (___printf_fp):
21935         Use signbit to get the sign. Use isinf macro to allow inlining.
21936         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
21937         * stdio-common/printf_size.c (__printf_size): Likewise.
21939 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21941         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
21943 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21945         [BZ #18980]
21946         * sysdeps/generic/math_private.h: Include <float.h>.
21947         (math_narrow_eval): New macro.
21948         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
21949         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
21950         math_narrow_eval on overflowing return value.
21951         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
21952         Likewise.
21953         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21954         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
21955         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
21956         Likewise.
21957         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21959 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
21961         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
21962         * math/Makefile: Remove isinf_ns.c.
21963         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
21964         * math/multc3.c (__multc3): Likewise.
21965         * math/s_casin.c (__casin): Likewise.
21966         * math/s_casinf.c (__casinf): Likewise.
21967         * math/s_casinl.c (__casinl): Likewise.
21968         * math/s_cproj.c (__cproj): Likewise.
21969         * math/s_cprojf.c (__cprojf): Likewise.
21970         * math/s_cprojl.c (__cprofl): Likewise.
21971         * math/s_ctan.c (__ctan): Likewise.
21972         * math/s_ctanf.c (__ctanf): Likewise.
21973         * math/s_ctanh.c (__ctanh): Likewise.
21974         * math/s_ctanhf.c (__ctanhf): Likewise.
21975         * math/s_ctanhl.c (__ctanhl): Likewise.
21976         * math/s_ctanl.c (__ctanl): Likewise.
21977         * math/w_fmod.c (__fmod): Likewise.
21978         * math/w_fmodf.c (__fmodf): Likewise.
21979         * math/w_fmodl.c (_fmodl): Likewise.
21980         * math/w_remainder.c (__remainder): Likewise.
21981         * math/w_remainderf.c (__remainderf): Likewise.
21982         * math/w_remainderl.c (__remainderl): Likewise.
21983         * math/w_scalb.c (__scalb): Likewise.
21984         * math/w_scalbf.c (__scalbf): Likewise.
21985         * math/w_scalbl.c (__scalbl): Likewise.
21986         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
21987         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
21988         with isinf.
21989         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
21990         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
21991         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
21992         __isinf_nsf with isinf.
21993         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
21994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
21995         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
21996         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
21997         with isinf.
21998         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
21999         __isinf_nsl with isinf.
22000         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22001         with isinf.
22002         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22003         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22004         __isinf_nsl with isinf.
22005         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22006         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22007         with isinf.
22009 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22011         * resolv/base64.c (rcsid): Remove unused static.
22012         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22013         static.  (tqpi1): Likewise.
22014         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22015         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22016         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22017         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22018         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22019         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22020         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22021         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22022         Likewise.
22024 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22026         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22027         <nptl/pthreadP.h>.
22028         (_longjmp_unwind): Use __libc_ptf_call.
22029         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22031 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22033         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22034         * sysdeps/arm/__longjmp.S: Likewise.
22036 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22038         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22039         Use __builtin_signbit.
22040         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22041         Use __builtin_signbitf.
22042         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22043         Use __builtin_signbitl.
22044         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22045         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22047 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22049         [BZ #15367]
22050         [BZ #17441]
22052         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22053         * math/math.h (fpclassify): Use __builtin_fpclassify when
22054         available.  (signbit): Use __builtin_signbit(f/l).
22055         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22056         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22057         (isinf): Use __builtin_isinf_sign.
22059 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22061         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22062         * benchtests/bench-math-inlines.c: New benchmark.
22063         * benchtests/bench-util.h: New file.
22064         * benchtests/bench-util.c: New file.
22065         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22067 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22069         * elf/tst-dlmopen1.c: Define TEST_SO.
22070         (do_test): Use TEST_SO.
22072         * elf/dl-load.c: Include libc-internal.h.
22073         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22075 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22077         [BZ #17887]
22078         * time/strptime_l.c (__strptime_internal): Make %z accept
22079         [+-]HH:MM time zones.
22081 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22083         [BZ #17886]
22084         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22085         valid time zone.
22087 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22089         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22090         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22092         (__ASSUME_FDATASYNC): Delete.
22094 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22096         * conform/linknamespace.pl: Require weak undefined symbols to be
22097         in the standard namespace.
22098         (%strong_syms): Rename to %seen_syms.
22099         (%strong_seen): Rename to %seen_where.
22101 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22103         [BZ #18970]
22104         * misc/error.c (error): Replace pthread_setcancelstate with
22105         __pthread_setcancelstate.
22106         (error_at_line): Likewise.
22107         * posix/wordexp.c (parse_comm): Likewise.
22108         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22109         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22110         (__pthread_setcancelstate): This.
22111         (pthread_setcancelstate): Add an alias.
22112         * nptl/nptl-init.c (pthread_functions): Replace
22113         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22114         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22115         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22116         hidden_proto.
22117         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22118         it with hidden_def.
22119         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22120         (pthread_setcancelstate): Renamed to ...
22121         (__pthread_setcancelstate): This.
22122         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22123         __libc_ptf_call with __pthread_setcancelstate.
22125 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22126             Andreas Schwab  <schwab@suse.de>
22128         [BZ #17118]
22129         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22130         result when imaginary part of argument is infinite using sine and
22131         cosine.
22132         * math/s_ctanf.c (__ctanf): Likewise.
22133         * math/s_ctanl.c (__ctanl): Likewise.
22134         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22135         of result when real part of argument is infinite using sine and
22136         cosine.
22137         * math/s_ctanhf.c (__ctanhf): Likewise.
22138         * math/s_ctanhl.c (__ctanhl): Likewise.
22139         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22140         (ctanh_test_data): Add more tests of ctanh.
22142 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22144         [BZ #15384]
22145         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22146         bit-mask as in subtraction.
22147         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22148         Likewise.
22149         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22150         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22151         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22153         [BZ #18951]
22154         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22155         underflow exception for small results.
22156         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22157         Likewise.
22158         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22159         Likewise.
22160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22161         Likewise.
22162         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22163         Likewise.
22164         * math/auto-libm-test-in: Add more tests of tgamma.
22165         * math/auto-libm-test-out: Regenerated.
22167 2015-09-17  Andreas Schwab  <schwab@suse.de>
22169         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22171 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22173         [BZ #18977]
22174         * math/bits/mathcalls.h
22175         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22176         not declare.
22177         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22178         Likewise.
22179         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22180         Likewise.
22181         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22182         Likewise.
22183         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22184         Likewise.
22185         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22186         Likewise.
22187         * conform/data/math.h-data
22188         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22189         function.
22190         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22191         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22192         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22193         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22194         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22195         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22196         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22197         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22198         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22199         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22200         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22202         [BZ #6803]
22203         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22204         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22205         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22206         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22207         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22208         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22209         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22210         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22211         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22212         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22213         Likewise.
22214         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22215         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22216         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22217         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22218         long_double_symbol calls.
22219         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22220         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22221         strong alias of __ldexpl.
22222         (scalbnl): Define using long_double_symbol.
22223         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22224         Remove alias.
22225         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22226         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22227         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22228         (scalbln_test_data): Add more errno expectations.
22230 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22232         Cache the host port like we cache the task port.  This way we do not
22233         need to call the kernel just to get the port.  Furthermore, we no
22234         longer increase the reference count on every invocation of
22235         `mach_host_self'.
22237         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22238         Protect declarations against the macro expansion.
22239         * mach/mach_init.c (__mach_host_self_): New variable.
22240         (mach_init): Initialize `__mach_host_self_'.
22241         * mach/mach_init.h (__mach_host_self_): New declaration.
22242         (__mach_host_self, mach_host_self): New macros.
22243         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22244         Release reference.
22246 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22248         [BZ #4404]
22249         * po/de.po: Update from Translation Project.
22251         [BZ #16415]
22252         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22253         (__expm1l): Remove code to handle positive infinity and overflow.
22254         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22255         variable.
22256         (__expm1l): Remove code to handle positive infinity and overflow.
22258 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22259             Paul Pluzhnikov  <ppluzhnikov@google.com>
22261         [BZ #18872]
22262         * stdio-common/Makefile (tst-printf-bz18872): New test.
22263         (tst-printf-bz18872-mem.out): Likewise.
22264         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22265         * stdio-common/vfprintf.c: Fix memory leaks.
22267 2015-09-16  Andreas Schwab  <schwab@suse.de>
22269         [BZ #17244]
22270         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22271         Remove extra va_start/va_end calls.
22273         [BZ #17243]
22274         * posix/execl.c (execl): Add missing va_end.
22275         * posix/execle.c (execle): Likewise.
22276         * posix/execlp.c (execlp): Likewise.
22278 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22280         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22281         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22283 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #18967]
22286         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22287         undefine around includes of <bits/mathcalls.h>.
22288         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22289         not declare function.
22290         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22291         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22292         (scalb): Likewise.
22293         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22294         not define macro.
22295         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22296         variable.
22297         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22298         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22299         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22301         [BZ #18857]
22302         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22303         return non-finite argument without doing ordered comparisons on
22304         it.
22306         [BZ #16296]
22307         * math/fenv.h (fegetround): Use __attribute_pure__.
22308         * include/fenv.h (__fegetround): Likewise.
22310         [BZ #18595]
22311         * math/s_ctan.c (__ctan): Force underflow exception for results
22312         whose real or imaginary part has small absolute value.
22313         * math/s_ctanf.c (__ctanf): Likewise.
22314         * math/s_ctanh.c (__ctanh): Likewise.
22315         * math/s_ctanhf.c (__ctanhf): Likewise.
22316         * math/s_ctanhl.c (__ctanhl): Likewise.
22317         * math/s_ctanl.c (__ctanl): Likewise.
22318         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22319         and ctanh.  Add more tests of ctan and ctanh.
22321         [BZ #15918]
22322         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22323         handling of cases where one argument is an infinity.
22325         [BZ #18875]
22326         [BZ #18966]
22327         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22328         (MO): New macro.
22329         (__ieee754_exp10): For small results, force underflow exception
22330         and remove excess range and precision from return value.
22331         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22332         (MO): New macro.
22333         (__ieee754_exp10f): For small results, force underflow exception
22334         and remove excess range and precision from return value.
22335         * math/auto-libm-test-in: Add more tests of exp10.
22336         * math/auto-libm-test-out: Regenerated.
22338 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22340         [BZ #18875]
22341         [BZ #18961]
22342         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22343         (MO): New macro.
22344         (__ieee754_exp): For small results, force underflow exception and
22345         remove excess range and precision from return value.
22346         (__exp_finite): Likewise.
22347         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22348         (MO): New macro.
22349         (__ieee754_expf): For small results, force underflow exception and
22350         remove excess range and precision from return value.
22351         (__expf_finite): Likewise.
22352         * math/auto-libm-test-in: Add more tests of exp.
22353         * math/auto-libm-test-out: Regenerated.
22355         [BZ #16521]
22356         [BZ #18875]
22357         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22358         small results.
22359         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22360         (MO): New macro.
22361         (__ieee754_exp2): For small results, force underflow exception and
22362         remove excess range and precision from return value.
22363         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22364         (MO): New macro.
22365         (__ieee754_exp2f): For small results, force underflow exception
22366         and remove excess range and precision from return value.
22367         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22368         (MO): New macro.
22369         (__ieee754_exp2l): Force underflow exception for small results.
22370         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22371         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22372         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22373         (MO): New macro.
22374         (__ieee754_exp2l): Force underflow exception for small results.
22375         * math/auto-libm-test-in: Add more tests or exp2.
22376         * math/auto-libm-test-out: Regenerated.
22378 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22380         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22382         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22383         /dev/null.
22385 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22387         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22388         io fs process)): Drop spurious backslash.
22390 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22393         Use sysinfo system call instead of parsing /proc/meminfo.
22394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22395         Likewise.
22397 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22399         [BZ #16985]
22400         * programs/localedef.c (main): Display argv[remaining] when
22401         output_path is NULL.
22403 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22405         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22406         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22407         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22408         tanh.
22409         * math/auto-libm-test-out: Regenerated.
22410         * sysdeps/i386/fpu/libm-test-ulps: Update.
22411         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22412         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22417         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22418         Use 'override' keyword to freeze the value here, preventing
22419         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22421 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22423         [BZ #14912]
22424         * sysdeps/aarch64/bits/atomic.h: Move to ...
22425         * sysdeps/aarch64/atomic-machine.h: ...here.
22426         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22427         _AARCH64_ATOMIC_MACHINE_H.
22428         * sysdeps/alpha/bits/atomic.h: Move to ...
22429         * sysdeps/alpha/atomic-machine.h: ...here.
22430         * sysdeps/arm/bits/atomic.h: Move to ...
22431         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22432         * bits/atomic.h: Move to ...
22433         * sysdeps/generic/atomic-machine.h: ...here.
22434         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22435         * sysdeps/i386/bits/atomic.h: Move to ...
22436         * sysdeps/i386/atomic-machine.h: ...here.
22437         * sysdeps/ia64/bits/atomic.h: Move to ...
22438         * sysdeps/ia64/atomic-machine.h: ...here.
22439         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22440         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22441         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22442         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22443         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22444         * sysdeps/microblaze/bits/atomic.h: Move to ...
22445         * sysdeps/microblaze/atomic-machine.h: ...here.
22446         * sysdeps/mips/bits/atomic.h: Move to ...
22447         * sysdeps/mips/atomic-machine.h: ...here.
22448         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22449         * sysdeps/powerpc/bits/atomic.h: Move to ...
22450         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22451         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22452         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22453         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22454         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22455         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22456         <atomic-machine.h> instead of <bits/atomic.h>.
22457         * sysdeps/s390/bits/atomic.h: Move to ...
22458         * sysdeps/s390/atomic-machine.h: ...here.
22459         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22460         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22461         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22462         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22463         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22464         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22465         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22466         * sysdeps/tile/bits/atomic.h: Move to ...
22467         * sysdeps/tile/atomic-machine.h: ...here.
22468         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22469         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22470         <sysdeps/tile/atomic-machine.h> instead of
22471         <sysdeps/tile/bits/atomic.h>.
22472         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22473         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22474         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22475         <sysdeps/tile/atomic-machine.h> instead of
22476         <sysdeps/tile/bits/atomic.h>.
22477         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22478         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22479         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22480         <sysdeps/arm/atomic-machine.h> instead of
22481         <sysdeps/arm/bits/atomic.h>.
22482         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22483         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22484         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22485         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22486         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22487         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22488         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22489         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22490         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22491         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22492         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22493         * sysdeps/x86_64/bits/atomic.h: Move to ...
22494         * sysdeps/x86_64/atomic-machine.h: ...here.
22495         * include/atomic.h: Include <atomic-machine.h> instead of
22496         <bits/atomic.h>.
22498         * sysdeps/mips/mips32/libm-test-ulps: Update.
22499         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22501         [BZ #18952]
22502         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22503         not convert non-integer negative arguments to int to determine the
22504         value of signgam.
22505         * math/auto-libm-test-in: Add more tests of lgamma.
22506         * math/auto-libm-test-out: Regenerated.
22508         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22509         cosh, csqrt, erfc, expm1 and lgamma.
22510         * math/auto-libm-test-out: Regenerated.
22511         * sysdeps/i386/fpu/libm-test-ulps: Update.
22512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22514 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22516         [BZ #2542]
22517         [BZ #2543]
22518         [BZ #2558]
22519         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22520         __lgamma_neg for arguments from -28.0 to -2.0.
22521         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22522         __lgamma_negf for arguments from -15.0 to -2.0.
22523         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22524         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22525         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22526         Call __lgamma_negl for arguments from -33.0 to -2.0.
22527         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22528         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22529         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22530         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22531         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22532         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22533         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22534         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22535         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22536         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22537         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22538         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22539         (__lgamma_neg): Likewise.
22540         (__lgamma_negl): Likewise.
22541         (__lgamma_product): Likewise.
22542         (__lgamma_productl): Likewise.
22543         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22544         * math/auto-libm-test-in: Add more tests of lgamma.
22545         * math/auto-libm-test-out: Regenerated.
22546         * sysdeps/i386/fpu/libm-test-ulps: Update.
22547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22549 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22551         [BZ #18675]
22552         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22554 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22556         [BZ #14912]
22557         * bits/libc-lock.h: Move to ...
22558         * sysdeps/generic/libc-lock.h: ...here.
22559         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22560         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22561         * sysdeps/mach/hurd/libc-lock.h: ...here.
22562         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22563         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22564         * sysdeps/mach/bits/libc-lock.h: Move to ...
22565         * sysdeps/mach/libc-lock.h: ...here.
22566         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22567         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22568         * sysdeps/nptl/libc-lock.h: ...here.
22569         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22570         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22571         * sysdeps/nptl/libc-lockP.h: ...here.
22572         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22573         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22574         <bits/libc-lock.h>.
22575         * dirent/scandir-tail.c: Likewise.
22576         * dlfcn/dlerror.c: Likewise.
22577         * elf/dl-close.c: Likewise.
22578         * elf/dl-iteratephdr.c: Likewise.
22579         * elf/dl-lookup.c: Likewise.
22580         * elf/dl-open.c: Likewise.
22581         * elf/dl-support.c: Likewise.
22582         * elf/dl-writev.h: Likewise.
22583         * elf/rtld.c: Likewise.
22584         * grp/fgetgrent.c: Likewise.
22585         * gshadow/fgetsgent.c: Likewise.
22586         * gshadow/sgetsgent.c: Likewise.
22587         * iconv/gconv_conf.c: Likewise.
22588         * iconv/gconv_db.c: Likewise.
22589         * iconv/gconv_dl.c: Likewise.
22590         * iconv/gconv_int.h: Likewise.
22591         * iconv/gconv_trans.c: Likewise.
22592         * include/link.h: Likewise.
22593         * inet/getnameinfo.c: Likewise.
22594         * inet/getnetgrent.c: Likewise.
22595         * inet/getnetgrent_r.c: Likewise.
22596         * intl/bindtextdom.c: Likewise.
22597         * intl/dcigettext.c: Likewise.
22598         * intl/finddomain.c: Likewise.
22599         * intl/gettextP.h: Likewise.
22600         * intl/loadmsgcat.c: Likewise.
22601         * intl/localealias.c: Likewise.
22602         * intl/textdomain.c: Likewise.
22603         * libidn/idn-stub.c: Likewise.
22604         * libio/libioP.h: Likewise.
22605         * locale/duplocale.c: Likewise.
22606         * locale/freelocale.c: Likewise.
22607         * locale/newlocale.c: Likewise.
22608         * locale/setlocale.c: Likewise.
22609         * login/getutent_r.c: Likewise.
22610         * login/getutid_r.c: Likewise.
22611         * login/getutline_r.c: Likewise.
22612         * login/utmp-private.h: Likewise.
22613         * login/utmpname.c: Likewise.
22614         * malloc/mtrace.c: Likewise.
22615         * misc/efgcvt.c: Likewise.
22616         * misc/error.c: Likewise.
22617         * misc/fstab.c: Likewise.
22618         * misc/getpass.c: Likewise.
22619         * misc/mntent.c: Likewise.
22620         * misc/syslog.c: Likewise.
22621         * nis/nis_call.c: Likewise.
22622         * nis/nis_callback.c: Likewise.
22623         * nis/nss-default.c: Likewise.
22624         * nis/nss_compat/compat-grp.c: Likewise.
22625         * nis/nss_compat/compat-initgroups.c: Likewise.
22626         * nis/nss_compat/compat-pwd.c: Likewise.
22627         * nis/nss_compat/compat-spwd.c: Likewise.
22628         * nis/nss_nis/nis-alias.c: Likewise.
22629         * nis/nss_nis/nis-ethers.c: Likewise.
22630         * nis/nss_nis/nis-grp.c: Likewise.
22631         * nis/nss_nis/nis-hosts.c: Likewise.
22632         * nis/nss_nis/nis-network.c: Likewise.
22633         * nis/nss_nis/nis-proto.c: Likewise.
22634         * nis/nss_nis/nis-pwd.c: Likewise.
22635         * nis/nss_nis/nis-rpc.c: Likewise.
22636         * nis/nss_nis/nis-service.c: Likewise.
22637         * nis/nss_nis/nis-spwd.c: Likewise.
22638         * nis/nss_nisplus/nisplus-alias.c: Likewise.
22639         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
22640         * nis/nss_nisplus/nisplus-grp.c: Likewise.
22641         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
22642         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
22643         * nis/nss_nisplus/nisplus-network.c: Likewise.
22644         * nis/nss_nisplus/nisplus-proto.c: Likewise.
22645         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
22646         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
22647         * nis/nss_nisplus/nisplus-service.c: Likewise.
22648         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
22649         * nis/ypclnt.c: Likewise.
22650         * nptl/libc_pthread_init.c: Likewise.
22651         * nss/getXXbyYY.c: Likewise.
22652         * nss/getXXent.c: Likewise.
22653         * nss/getXXent_r.c: Likewise.
22654         * nss/nss_db/db-XXX.c: Likewise.
22655         * nss/nss_db/db-netgrp.c: Likewise.
22656         * nss/nss_db/nss_db.h: Likewise.
22657         * nss/nss_files/files-XXX.c: Likewise.
22658         * nss/nss_files/files-alias.c: Likewise.
22659         * nss/nsswitch.c: Likewise.
22660         * posix/regex_internal.h: Likewise.
22661         * posix/wordexp.c: Likewise.
22662         * pwd/fgetpwent.c: Likewise.
22663         * resolv/res_hconf.c: Likewise.
22664         * resolv/res_libc.c: Likewise.
22665         * shadow/fgetspent.c: Likewise.
22666         * shadow/lckpwdf.c: Likewise.
22667         * shadow/sgetspent.c: Likewise.
22668         * socket/opensock.c: Likewise.
22669         * stdio-common/reg-modifier.c: Likewise.
22670         * stdio-common/reg-printf.c: Likewise.
22671         * stdio-common/reg-type.c: Likewise.
22672         * stdio-common/vfprintf.c: Likewise.
22673         * stdio-common/vfscanf.c: Likewise.
22674         * stdlib/abort.c: Likewise.
22675         * stdlib/cxa_atexit.c: Likewise.
22676         * stdlib/fmtmsg.c: Likewise.
22677         * stdlib/random.c: Likewise.
22678         * stdlib/setenv.c: Likewise.
22679         * string/strsignal.c: Likewise.
22680         * sunrpc/auth_none.c: Likewise.
22681         * sunrpc/bindrsvprt.c: Likewise.
22682         * sunrpc/create_xid.c: Likewise.
22683         * sunrpc/key_call.c: Likewise.
22684         * sunrpc/rpc_thread.c: Likewise.
22685         * sysdeps/arm/backtrace.c: Likewise.
22686         * sysdeps/generic/ldsodefs.h: Likewise.
22687         * sysdeps/generic/stdio-lock.h: Likewise.
22688         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
22689         * sysdeps/i386/backtrace.c: Likewise.
22690         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22691         * sysdeps/m68k/backtrace.c: Likewise.
22692         * sysdeps/mach/hurd/cthreads.c: Likewise.
22693         * sysdeps/mach/hurd/dirstream.h: Likewise.
22694         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22695         * sysdeps/nptl/malloc-machine.h: Likewise.
22696         * sysdeps/nptl/stdio-lock.h: Likewise.
22697         * sysdeps/posix/dirstream.h: Likewise.
22698         * sysdeps/posix/getaddrinfo.c: Likewise.
22699         * sysdeps/posix/system.c: Likewise.
22700         * sysdeps/pthread/aio_suspend.c: Likewise.
22701         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22702         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22703         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22704         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22705         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
22706         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
22707         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
22708         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22709         * sysdeps/unix/sysv/linux/system.c: Likewise.
22710         * sysdeps/x86_64/backtrace.c: Likewise.
22711         * time/alt_digit.c: Likewise.
22712         * time/era.c: Likewise.
22713         * time/tzset.c: Likewise.
22714         * wcsmbs/wcsmbsload.c: Likewise.
22715         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
22716         instead of <bits/libc-lock.h> in comment.
22718 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
22720         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
22721         Only use .set mips2 if the current ISA is below mips2.
22722         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
22723         Likewise.
22724         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
22725         mips32r2 if the current ISA is below mips32r2.
22726         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
22727         (TLS_IE): Updated to use the TLD_RDHWR macro.
22728         (TLS_LE): Likewise.
22729         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
22730         __ASSEMBLER__ condition.
22732 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22734         Fix parallel build of before-compile targets.
22736         * sysdeps/mach/Makefile ($(patsubst
22737         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
22738         mach-before-compile target.
22739         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22740         io fs process)): Move rule to dedicated hurd-before-compile target.
22742 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22744         Fix rules generating headers in hurd/ and mach/ when initial make call
22745         has subdir= explicitly set.
22747         * sysdeps/mach/Makefile ($(patsubst
22748         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
22749         calling $(MAKE).
22750         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22751         io fs process)): Force subdir to hurd when calling $(MAKE).
22752         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
22753         subdir to mach when calling $(MAKE).
22755 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
22757         Check sysheaders when looking for Mach and Hurd headers
22759         * sysdeps/mach/configure.ac: Add sysheaders check.
22760         * sysdeps/mach/configure: Regenerate.
22761         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
22762         * sysdeps/mach/hurd/configure: Regenerate.
22764 2015-09-04  Roland McGrath  <roland@hack.frob.com>
22766         [BZ #18921]
22767         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
22768         Fix inverted sense of test of 'o_directory_works' value.
22769         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
22770         Bernhard Voelker <mail@bernhard-voelker.de>.
22772 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22774         [BZ #14912]
22775         * bits/linkmap.h: Move to ...
22776         * sysdeps/generic/linkmap.h: ...here.
22777         * sysdeps/aarch64/bits/linkmap.h: Move to ...
22778         * sysdeps/aarch64/linkmap.h: ...here.
22779         * sysdeps/arm/bits/linkmap.h: Move to ...
22780         * sysdeps/arm/linkmap.h: ...here.
22781         * sysdeps/hppa/bits/linkmap.h: Move to ...
22782         * sysdeps/hppa/linkmap.h: ...here.
22783         * sysdeps/ia64/bits/linkmap.h: Move to ...
22784         * sysdeps/ia64/linkmap.h: ...here.
22785         * sysdeps/mips/bits/linkmap.h: Move to ...
22786         * sysdeps/mips/linkmap.h: ...here.
22787         * sysdeps/s390/bits/linkmap.h: Move to ...
22788         * sysdeps/s390/linkmap.h: ...here.
22789         * sysdeps/sh/bits/linkmap.h: Move to ...
22790         * sysdeps/sh/linkmap.h: ...here.
22791         * sysdeps/x86/bits/linkmap.h: Move to ...
22792         * sysdeps/x86/linkmap.h: ...here.
22793         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
22795 2015-09-04  Andreas Schwab  <schwab@suse.de>
22797         [BZ #18635]
22798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
22799         (__makecontext): Terminate FDE before return label.
22800         (__novec_makecontext): Likewise.
22802 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22804         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
22805         first member of struct sv in syscall macro.
22807 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22809         [BZ #14912]
22810         * bits/stdio-lock.h: Move to ...
22811         * sysdeps/generic/stdio-lock.h: ...here.
22812         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22813         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
22814         * sysdeps/nptl/stdio-lock.h: ...here.
22815         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22816         * include/libio.h: Include <stdio-lock.h> instead of
22817         <bits/stdio-lock.h>.
22818         * sysdeps/nptl/fork.c: Likewise.
22819         * sysdeps/pthread/flockfile.c: Likewise.
22820         * sysdeps/pthread/ftrylockfile.c: Likewise.
22821         * sysdeps/pthread/funlockfile.c: Likewise.
22823         [BZ #14912]
22824         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
22825         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
22826         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
22827         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
22828         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
22829         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22830         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
22832 2015-09-03  Roland McGrath  <roland@hack.frob.com>
22834         * elf/Makefile (test-xfail-tst-protected1a): New variable.
22835         (test-xfail-tst-protected1b): New variable.
22837 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
22839         [BZ #14912]
22840         * bits/libc-tsd.h: Move to ...
22841         * sysdeps/generic/libc-tsd.h: ...here.
22842         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
22843         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
22844         * sysdeps/mach/hurd/libc-tsd.h: ...here.
22845         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
22846         * include/ctype.h: Include <libc-tsd.h> instead of
22847         <bits/libc-tsd.h>.
22848         * include/rpc/rpc.h: Likewise.
22849         * locale/localeinfo.h: Likewise.
22850         * sunrpc/rpc_thread.c: Likewise.
22851         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22852         * sysdeps/nptl/malloc-machine.h: Likewise.
22854         * Makefile (headers): Remove bits/libc-lock.h.
22855         * libio/Makefile (headers): Remove bits/stdio-lock.h.
22857         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
22858         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
22859         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
22860         <bits/stdio-lock.h>.
22861         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
22862         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
22864 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22866         [BZ #18757]
22867         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
22868         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
22869         BZ #18757.
22871 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22873         * malloc/mtrace.pl: Filter out NULL entries.
22875 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
22877         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
22878         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
22879         macro.
22881         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
22882         (TCP_CC_INFO): Likewise.
22883         (TCP_SAVE_SYN): Likewise.
22884         (TCP_SAVED_SYN): Likewise.
22886 2015-08-31  Brett Neumeier <brett@neumeier.us>
22888         [BZ #18870]
22889         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
22891 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
22893         [BZ #18873]
22894         Fix broken overflow check in posix_fallocate
22895         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
22896         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22897         Fix parenthesization typo.
22899 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
22901         [BZ #18887]
22902         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
22903         tst-mntent-blank-passno.
22904         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
22905         * misc/tst-mntent-blank-corrupt.c: New test.
22906         * misc/tst-mntent-blank-passno.c: New test ripped from ...
22907         * misc/tst-mntent.c (do_test): ... here.
22909 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
22911         [BZ #4404]
22912         * po/de.po: Fix SIGALRM typo.
22914 2015-08-28  James Perkins  <james@loowit.net>
22916         * time/tst-strptime2.c (tests): Replace short list of test
22917         strings for strptime %z specifier with code which exhaustively
22918         tests every combination of sign and 0 to 5 digits. Tests for
22919         rejection of invalid strings.
22921 2015-08-28  James Perkins  <james@loowit.net>
22923         [BZ #16141]
22924         * time/strptime_l.c (__strptime_internal): Fix %z minutes
22925         calculation, removing incorrect decimal time rounding, so that
22926         all minute values result in a valid seconds value.
22927         * time/strptime_l.c (__strptime_internal): Extend %z time zone
22928         offset range limits to UTC-99:59 through UTC+99:59 to parse
22929         current and historical use cases.
22930         * time/tst-strptime2.c (tests): Modify and add tests for the
22931         strptime %z input field descriptor, specifically conversion of
22932         minutes to seconds and validating an offset range of -9959 to
22933         +9959.
22935 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22936             Dmitry V. Levin  <ldv@altlinux.org>
22938         [BZ #18877]
22939         * posix/Makefile (tests): Add tst-mmap-offset.
22940         * posix/tst-mmap.c: New file.
22941         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
22942         offset calculation for negative values.
22944 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22946         * sysdeps/i386/init-arch.h: New file.
22947         * sysdeps/i386/i586/init-arch.h: Likewise.
22948         * sysdeps/i386/i686/init-arch.h: Likewise.
22949         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
22950         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
22951         * sysdeps/x86/cpu-features.h (bit_I586): New.
22952         (bit_I686): Likewise.
22953         (bit_CX8): Likewise.
22954         (bit_CMOV): Likewise.
22955         (index_CX8): Likewise.
22956         (index_CMOV): Likewise.
22957         (index_I586): Likewise.
22958         (index_I686): Likewise.
22959         (reg_CX8): Likewise.
22960         (reg_CMOV): Likewise.
22961         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
22962         available at compile-time.
22963         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
22964         available at compile-time.
22965         * sysdeps/x86/init-arch.h (USE_I586): New macro.
22966         (USE_I686): Likewise.
22968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
22970         * sysdeps/i386/bcopy.S: New file.
22971         * sysdeps/i386/bzero.S: Likewise.
22972         * sysdeps/i386/memcpy.S: Likewise.
22973         * sysdeps/i386/memmove.S: Likewise.
22974         * sysdeps/i386/mempcpy.S: Likewise.
22975         * sysdeps/i386/memset.S: Likewise.
22976         * sysdeps/i386/bzero.c: Removed.
22977         * sysdeps/i386/memset.c: Likewise.
22978         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
22979         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
22980         * sysdeps/i386/i586/memset_chk.S: Likewise.
22981         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
22982         * sysdeps/i386/memcpy_chk.S: Here.
22983         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
22984         * sysdeps/i386/memmove_chk.S: Here.
22985         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
22986         * sysdeps/i386/mempcpy_chk.S: Likewise.
22987         * sysdeps/i386/i686/memset_chk.S: Moved to ...
22988         * sysdeps/i386/memset_chk.S: Likewise.
22990 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
22992         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
22993         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
22994         file, move DIAG_POP_NEEDS_COMMENT to end of file.
22995         * soft-fp/fmadf4.c: Ditto.
22996         * soft-fp/fmatf4.c: Ditto.
22998 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23000         * sysdeps/i386/i586/Implies: Removed.
23001         * sysdeps/i386/i686/Implies: Likewise.
23003 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23005         * sysdeps/i386/i486/strlen.S: Moved to ...
23006         * sysdeps/i386/strlen.S: Here.
23008 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23010         * sysdeps/i386/i486/strcat.S: Moved to ...
23011         * sysdeps/i386/strcat.S: Here.
23013 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23015         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23016         * sysdeps/i386/pthread_spin_trylock.S: Here.
23017         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23018         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23020 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23022         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23023         * sysdeps/i386/string-inlines.c: Here.
23025 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23027         * sysdeps/i386/i486/htonl.S: Moved ...
23028         * sysdeps/i386/htonl.S: here.
23030 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23032         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23033         * sysdeps/i386/bits/atomic.h: Here.
23035 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23037         * sysdeps/i386/i486/Versions: Removed.
23039 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23041         [BZ #2898]
23042         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23043         Based on patch by Aurelien Jarno.
23045 2015-08-26  Stan Shebs  <stanshebs@google.com>
23047         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23048         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23050 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23052         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23053         * sysdeps/powerpc/dl-procinfo.c:
23054         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23055         feature so it shows when LD_SHOW_AUXV=1.
23057 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23059         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23060         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23061         definition.  ISA 2.07B no longer requires full sync.
23063 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23065         [BZ #18863]
23066         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23067         (si_call_addr): Define.
23068         (si_syscall): Define.
23069         (si_arch): Define.
23071 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23073         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23074         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23075         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23076         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23077         (__memset_zero_constant_len_parameter): New.
23078         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23079         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23080         (__memset_zero_constant_len_parameter): Don't define if
23081         __memset_chk or USE_AS_BZERO are defined.
23083         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23084         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23085         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23087         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23088         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23089         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23090         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23091         comments.
23092         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23093         -mno-mmx for $(all-rtld-routines).
23094         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23095         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23096         i386.
23098 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23100         * sysdeps/generic/unwind.h
23101         (_Unwind_Word): Use __mode__(__unwind_word__)
23102         instead of __mode__(__word__).
23103         (_Unwind_Sword): Likewise.
23105         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23106         (MAX_NEEDED_INPUT): New define.
23107         (MAX_NEEDED_OUTPUT): New define.
23109         * NEWS: New item for IBM z13 string optimizations.
23111         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23112         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23113         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23114         * sysdeps/s390/multiarch/Makefile
23115         (sysdep_routines): Add memrchr functions.
23116         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23117         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23119         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23120         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23121         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23122         * sysdeps/s390/multiarch/Makefile
23123         (sysdep_routines): Add wmemcmp functions.
23124         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23125         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23126         * benchtests/bench-wmemcmp.c: New File.
23127         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23129         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23130         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23131         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23132         * sysdeps/s390/multiarch/Makefile
23133         (sysdep_routines): Add wmemset functions.
23134         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23135         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23136         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23137         * string/test-memset.c: Add wmemset support.
23138         * wcsmbs/test-wmemset.c: New File.
23139         * wcsmbs/Makefile (strop-tests): Add wmemset.
23140         * benchtests/bench-memset.c: Add wmemset support.
23141         * benchtests/bench-wmemset.c: New File.
23142         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23144         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23145         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23146         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23147         * sysdeps/s390/multiarch/Makefile
23148         (sysdep_routines): Add memccpy functions.
23149         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23150         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23151         * string/memccpy.c: Use MEMCCPY if defined.
23153         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23154         * sysdeps/s390/multiarch/memchr.c: Likewise.
23155         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23156         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23157         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23158         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23159         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23160         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23161         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23162         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23163         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23164         and rawmemchr functions.
23165         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23166         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23167         and wmemchr.
23168         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23169         * string/test-memchr.c: Add wmemchr support.
23170         * wcsmbs/test-wmemchr.c: New File.
23171         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23172         * benchtests/bench-memchr.c: Add wmemchr support.
23173         * benchtests/bench-wmemchr.c: New File.
23174         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23176         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23177         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23178         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23179         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23180         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23181         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23182         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23183         wcscspn functions.
23184         * sysdeps/s390/multiarch/ifunc-impl-list.c
23185         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23186         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23187         * string/test-strcspn.c: Add wcscspn support.
23188         * wcsmbs/test-wcscspn.c: New File.
23189         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23190         * benchtests/bench-strcspn.c: Add wcscspn support.
23191         * benchtests/bench-wcscspn.c: New File.
23192         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23194         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23195         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23196         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23197         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23198         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23199         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23201         wcspbrk functions.
23202         * sysdeps/s390/multiarch/ifunc-impl-list.c
23203         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23204         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23205         * string/test-strpbrk.c: Add wcspbrk support.
23206         * wcsmbs/test-wcspbrk.c: New File.
23207         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23208         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23209         * benchtests/bench-wcspbrk.c: New File.
23210         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23212         * sysdeps/s390/multiarch/strspn-c.c: New File.
23213         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23214         * sysdeps/s390/multiarch/strspn.c: Likewise.
23215         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23216         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23217         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23218         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23220         wcsspn functions.
23221         * sysdeps/s390/multiarch/ifunc-impl-list.c
23222         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23223         * string/test-strspn.c: Add wcsspn support.
23224         * wcsmbs/test-wcsspn.c: New File.
23225         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23226         * benchtests/bench-strspn.c: Add wcsspn support.
23227         * benchtests/bench-wcsspn.c: New File.
23228         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23230         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23231         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23232         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23233         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23234         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23235         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23237         wcsrchr functions.
23238         * sysdeps/s390/multiarch/ifunc-impl-list.c
23239         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23240         * benchtests/bench-wcsrchr.c: New File.
23241         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23243         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23244         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23245         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23246         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23247         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23248         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23249         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23250         wcschrnul functions.
23251         * sysdeps/s390/multiarch/ifunc-impl-list.c
23252         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23253         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23254         * string/test-strchr.c: Add wcschrnul support.
23255         * wcsmbs/test-wcschrnul.c: New File.
23256         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23257         * benchtests/bench-strchr.c: Add wcschrnul support.
23258         * benchtests/bench-wcschrnul.c: New File.
23259         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23261         * sysdeps/s390/multiarch/strchr-c.c: New File.
23262         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23263         * sysdeps/s390/multiarch/strchr.c: Likewise.
23264         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23265         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23266         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23268         wcschr functions.
23269         * sysdeps/s390/multiarch/ifunc-impl-list.c
23270         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23271         * string/strchr.c (STRCHR): Define and use macro.
23272         * benchtests/bench-wcschr.c: New File.
23273         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23275         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23276         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23277         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23278         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23279         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23280         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23281         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23282         wcsncmp functions.
23283         * sysdeps/s390/multiarch/ifunc-impl-list.c
23284         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23285         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23286         * benchtests/bench-strncmp.c: Add wcsncmp support.
23287         * benchtests/bench-wcsncmp.c: New File.
23288         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23290         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23291         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23292         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23293         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23294         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23295         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23296         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23297         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23298         wcscmp functions.
23299         * sysdeps/s390/multiarch/ifunc-impl-list.c
23300         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23301         * string/strcmp.c (STRCMP): Define and use macro.
23302         * benchtests/bench-wcscmp.c: New File.
23303         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23304         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23305         instead of _HAVE_STRING_ARCH_memchr.
23307         * sysdeps/s390/multiarch/strncat-c.c: New File.
23308         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23309         * sysdeps/s390/multiarch/strncat.c: Likewise.
23310         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23311         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23312         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23313         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23314         wcsncat functions.
23315         * sysdeps/s390/multiarch/ifunc-impl-list.c
23316         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23317         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23318         * string/test-strncat.c: Add wcsncat support.
23319         * wcsmbs/test-wcsncat.c: New File.
23320         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23321         * benchtests/bench-strncat.c: Add wcsncat support.
23322         * benchtests/bench-wcsncat.c: New File.
23323         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23325         * sysdeps/s390/multiarch/strcat-c.c: New File.
23326         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23327         * sysdeps/s390/multiarch/strcat.c: Likewise.
23328         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23329         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23330         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23331         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23332         wcscat functions.
23333         * sysdeps/s390/multiarch/ifunc-impl-list.c
23334         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23335         * string/strcat.c (STRCAT): Define and use macro.
23336         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23337         * string/test-strcat.c: Add wcscat support.
23338         * wcsmbs/test-wcscat.c: New File.
23339         * wcsmbs/Makefile (strop-tests): Add wcscat.
23340         * benchtests/bench-strcat.c: Add wcscat support.
23341         * benchtests/bench-wcscat.c: New File.
23342         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23344         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23345         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23346         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23347         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23348         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23349         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23350         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23351         wcpncpy functions.
23352         * sysdeps/s390/multiarch/ifunc-impl-list.c
23353         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23354         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23355         * string/test-stpncpy.c: Add wcpncpy support.
23356         * wcsmbs/test-wcpncpy.c: New File.
23357         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23358         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23359         * benchtests/bench-wcpncpy.c: New File.
23360         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23362         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23363         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23364         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23365         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23366         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23367         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23368         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23369         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23370         wcsncpy functions.
23371         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23372         * sysdeps/s390/multiarch/ifunc-impl-list.c
23373         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23374         * string/test-strncpy.c: Add wcsncpy support.
23375         * wcsmbs/test-wcsncpy.c: New File.
23376         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23377         * benchtests/bench-strncpy.c: Add wcsncpy support.
23378         * benchtests/bench-wcsncpy.c: New File.
23379         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23381         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23382         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23383         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23384         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23385         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23386         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23387         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23388         wcpcpy functions.
23389         * string/stpcpy.c: Use STPCPY if defined.
23390         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23391         * sysdeps/s390/multiarch/ifunc-impl-list.c
23392         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23393         * string/test-stpcpy.c: Add wcpcpy support.
23394         * wcsmbs/test-wcpcpy.c: New File.
23395         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23396         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23397         * benchtests/bench-wcpcpy.c: New File.
23398         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23400         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23401         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23402         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23403         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23404         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23405         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23406         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23408         wcscpy functions.
23409         * sysdeps/s390/multiarch/ifunc-impl-list.c
23410         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23411         * benchtests/bench-wcscpy.c: New File.
23412         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23414         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23415         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23416         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23417         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23418         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23419         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23420         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23421         wcsnlen functions.
23422         * sysdeps/s390/multiarch/ifunc-impl-list.c
23423         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23424         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23425         * string/test-strnlen.c: Add wcsnlen support.
23426         * wcsmbs/test-wcsnlen.c: New File.
23427         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23428         * benchtests/bench-strnlen.c: Add wcsnlen support.
23429         * benchtests/bench-wcsnlen.c: New File.
23430         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23432         * sysdeps/s390/multiarch/Makefile: New File.
23433         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23434         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23435         * sysdeps/s390/multiarch/strlen.c: Likewise.
23436         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23437         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23438         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23439         * string/strlen.c (STRLEN): Define and use macro.
23440         * sysdeps/s390/multiarch/ifunc-impl-list.c
23441         (IFUNC_VX_IMPL): New macro function.
23442         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23443         * benchtests/Makefile (wcsmbs-bench): New variable.
23444         (string-bench-all): Added wcsmbs-bench.
23445         * benchtests/bench-wcslen.c: New File.
23447         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23448         s390_vx_libc_ifunc2): New macro function.
23450         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23451         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23452         assembler support.
23453         * sysdeps/s390/configure: Regenerated.
23455         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23456         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23458         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23459         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23460         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23462         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23463         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23464         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23465         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23466         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23467         (memcmp, bcmp): Use __memcmp_default as alias source.
23468         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23469         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23470         Rename to __memcmp_default.
23471         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23472         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23473         (memcpy): Use __memcpy_default as alias source.
23474         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23475         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23476         Rename to __memcpy_default.
23477         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23478         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23479         (memset): Use __memset_default as alias source.
23480         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23481         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23482         Rename to __memset_default.
23483         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23484         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23485         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23486         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23487         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23488         (memcmp, bcmp): Use __memcmp_default as alias source.
23489         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23490         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23491         Rename to __memcmp_default.
23492         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23493         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23494         (memcpy): Use __memcpy_default as alias source.
23495         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23496         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23497         Rename to __memcpy_default.
23498         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23499         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23500         (memset): Use __memset_default as alias source.
23501         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23502         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23503         Rename to __memset_default.
23504         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23505         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23507         [BZ #18610]
23508         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23509         __ieee_instruction_pointer to __unused.
23510         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23511         __ieee_instruction_pointer.
23512         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23513         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23514         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23515         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23516         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23517         Mark dxc-field as reserved.
23519 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23521         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23522         if the weak reference is not null.
23524 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23526         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23528         [BZ #11214]
23529         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23531 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23533         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23534         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23535         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23536         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23537         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23538         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23539         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23540         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23541         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23542         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23543         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23544         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23545         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23546         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23547         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23548         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23549         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23550         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23552 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23554         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23555         register other than r0 for tabort, it has special meaning.
23556         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23557         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23558         transaction before starting syscall.
23560 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23562         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23564 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23566         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23568         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23569         * sysdeps/x86_64/rtld-memset.S: Likewise.
23570         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23571         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23572         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23573         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23575         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23577 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23579         * debug/strcpy_chk.c: Improve performance.
23580         * debug/stpcpy_chk.c: Likewise.
23581         * sysdeps/x86_64/strcpy_chk.S: Remove.
23582         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23584         [BZ #18240]
23585         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23587 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23589         [BZ #15128]
23590         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23591         ifuncmain8.
23592         (modules-names): Add ifuncmod8.
23593         ($(objpfx)ifuncmain8): New rule.
23594         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23595         <cpuid.h>.
23596         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23597         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23598         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23599         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23600         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23601         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23602         * sysdeps/x86_64/ifuncmain8.c: New file.
23603         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23604         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23605         Removed.
23606         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23607         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23608         Change rtld_savespace_sse to __glibc_unused2.
23609         (RTLD_CHECK_FOREIGN_CALL): Removed.
23610         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23611         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23612         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23614 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23616         * sysdeps/aarch64/bzero.S (__bzero): Remove.
23618 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23620         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23621         Unconditionally set __fpcr to avoid uninialized warning.
23622         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23624 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23626         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23627         is corrupt.
23629         * malloc/arena.c (arena_get2): Drop unused argument.
23630         (arena_lock): Adjust.
23631         (arena_get_retry): Likewise.
23633 2015-08-24  Andreas Schwab  <schwab@suse.de>
23635         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23636         Don't define.
23637         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23638         (__ASSUME_IPC64): Don't undef.
23639         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23640         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23641         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23642         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
23643         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
23644         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
23645         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
23646         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
23647         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
23648         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
23649         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
23650         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
23651         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
23652         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
23653         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
23654         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
23655         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
23656         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
23657         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
23658         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
23659         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
23661 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
23663         * manual/Makefile (install): Only build manual when perl is available.
23665 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23667         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
23668         '#undef memcpy' by '#undef memchr'.
23670 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23672         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
23673         memchr not point to the internal __GI_memchr implementation.
23675 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23677         * timezone/Makefile (CFLAGS-zdump.c): Remove
23678         -Wno-strict-prototypes.
23679         (CFLAGS-zic.c): Likewise.
23680         (CFLAGS-ialloc.c): Likewise.
23681         (CFLAGS-scheck.c): Likewise.
23683         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
23684         -Wno-error=undef.
23686 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23688         * i386/i686/multiarch/strcasestr-c.c: Removed.
23689         * x86_64/multiarch/strcasestr.c: Likewise.
23690         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23691         Remove strcasestr.
23693 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23695         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
23697         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
23698         variables for high and low parts before possibly modifying them.
23700 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23702         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
23703         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
23704         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
23705         of "multiarch/init-arch.h".
23706         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
23707         * sysdeps/x86/init-arch.h: This.
23709 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23711         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
23712         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
23714 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
23716         [BZ #17787]
23717         * manual/macros.texi: Add twoexp macro.
23718         * manual/filesys.texi: Fix exponents.
23719         * manual/llio.texi: Likewise.
23720         * manual/stdio.texi: Likewise.
23722 2015-08-20  Florian Weimer  <fweimer@redhat.com>
23724         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
23725         incorrect use.
23727 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23729         [BZ #18370]
23730         * math/s_csqrt.c (__csqrt): Force underflow exception for results
23731         whose real or imaginary part has small absolute value.
23732         * math/s_csqrtf.c (__csqrtf): Likewise.
23733         * math/s_csqrtl.c (__csqrtl): Likewise.
23734         * math/auto-libm-test-in: Add more tests of csqrt.
23735         * math/auto-libm-test-out: Regenerated.
23736         * sysdeps/i386/fpu/libm-test-ulps: Update.
23738 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23740         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
23741         __ppc_set_ppr_very_low): New functions.
23742         * manual/platform.texi: Add documentation about
23743         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
23745 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
23747         * string/stpncpy.c (stpncpy): Improve performance using
23748         __strnlen/memcpy/memset.
23750 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23752         [BZ #18796]
23753         * scripts/test-installation.pl: Don't add -lmvec to build options if
23754         libmvec wasn't built.
23756 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23758         [BZ #14341]
23759         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
23760         case when there is a gap between DT_REL and DT_JMPREL sections.
23761         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
23762         (LDFLAGS-tst-split-dynreloc): New.
23763         (tst-split-dynreloc-ENV): Likewise.
23764         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
23765         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
23767 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23769         [BZ #18822]
23770         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
23771         attribute_hidden.
23772         (__xstat64_conv): Likewise.
23773         (__xstat32_conv): Likewise.
23775 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23777         [BZ #18822]
23778         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23779         Don't load %ebx when calling __setcontext.  Call __setcontext
23780         with HIDDEN_JUMPTARGET.
23781         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
23782         libc_hidden_def.
23784 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23786         * sysdeps/i386/i686/Makefile
23787         [$(subdir) == string] (sysdep_routines): Moved to ...
23788         * sysdeps/i386/Makefile: Here.
23789         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
23790         * sysdeps/i386/cacheinfo.c: Here.
23791         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
23792         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
23793         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
23794         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
23796 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23798         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
23799         __i586__ is defined.
23800         (HAS_I686): Defined to 1 if __i686__ is defined.
23802 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23804         * elf/Makefile [$(have-z-execstack) = yes]
23805         (CPPFLAGS-tst-execstack.c): New variable.
23807         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
23808         conditional to [defined UTMPX || _HAVE_UT_TYPE].
23809         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
23810         UTMPX || _HAVE_UT_TV].
23811         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
23812         UTMPX || _HAVE_UT_TV - 0].
23814 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
23816         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
23817         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
23818         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
23820 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23822         * sysdeps/powerpc/dl-procinfo.c:
23823         (_dl_powerpc_cap_flags): Added missing strings for some
23824         hwcap features.
23825         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
23827 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
23829         Port the 0x7efe...feff pattern to GCC 6.
23830         See Steve Ellcey's bug report in:
23831         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
23832         * string/memrchr.c (MEMRCHR):
23833         * string/rawmemchr.c (RAWMEMCHR):
23834         * string/strchr.c (strchr):
23835         * string/strchrnul.c (STRCHRNUL):
23836         Rewrite code to avoid issues with signed shift overflow.
23838 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
23840         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
23841         whether cpuid is available only if HAS_CPUID is 0.
23842         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
23843         (HAS_I586): Likewise.
23844         (HAS_I686): Likewise.
23846 2015-08-18  Zack Weinberg  <zackw@panix.com>
23848         * misc/Versions (libc): Add GLIBC_2.23.
23850 2015-08-18  Alan Modra  <amodra@gmail.com>
23852         [BZ #18421]
23853         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
23854         .Lp__global.
23855         (_start): Load %dp via .Lp__global.
23856         [!SHARED]: Use .section .rodata.
23858 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23860         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
23861         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
23863 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23865         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
23866         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
23868 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23870         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
23871         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
23873 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23875         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
23876         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
23878 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23880         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
23881         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
23883 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23885         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
23886         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
23888 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23890         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
23892 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23894         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
23895         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
23896         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23897         (__ASSUME_LWS_CAS): Delete.
23899 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23901         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
23902         * sysdeps/hppa/configure: Regenerated.
23903         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
23904         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
23905         * sysdeps/hppa/nptl/tls.h: Likewise.
23907 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
23909         [BZ #18823]
23910         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
23911         for scaling up small arguments.
23912         * math/s_csqrtf.c (__csqrtf): Likewise.
23913         * math/s_csqrtl.c (__csqrtl): Likewise.
23914         * math/auto-libm-test-in: Add more tests of csqrt.
23915         * math/auto-libm-test-out: Regenerated.
23917 2015-08-17  Andreas Schwab  <schwab@suse.de>
23919         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
23920         version set GLIBC_2.19.
23922 2015-08-16  Zack Weinberg  <zackw@panix.com>
23924         [BZ #18681]
23925         * misc/regexp.h: This interface is no longer supported.
23926         Remove all contents, leaving only an #error directive.
23927         * misc/regexp.c (loc1, loc2, locs, step, advance):
23928         Demote to compatibility symbols.
23930 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
23932         [BZ #18084]
23933         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
23934         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
23935         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
23936         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
23937         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
23938         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
23939         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
23940         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
23941         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
23943 2015-08-15  Zack Weinberg  <zackw@panix.com>
23945         [BZ #18795]
23946         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
23947         buffer length is known to be too large, not if it's known to be
23948         small enough.
23949         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
23950         overflow at runtime, involving a length parameter, twice: once
23951         with a compile-time constant length parameter, once without.
23953 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
23955         [BZ #18824]
23956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
23957         scaling x * y up instead of down.
23958         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23959         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23960         * math/auto-libm-test-in: Add more tests of fma.
23961         * math/auto-libm-test-out: Regenerated.
23963 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23967 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
23970         unnecessary movq.
23971         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
23972         Likewise.
23974 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
23976         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23977         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
23978         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
23979         and tgamma.
23980         * math/auto-libm-test-out: Regenerated.
23981         * sysdeps/i386/fpu/libm-test-ulps: Update.
23982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23984         [BZ #16520]
23985         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
23986         (__tanh): Force underflow exception for arguments with small
23987         absolute value.
23988         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
23989         (__tanhf): Force underflow exception for arguments with small
23990         absolute value.
23991         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
23992         (__tanhl): Force underflow exception for arguments with small
23993         absolute value.
23994         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
23995         (__tanhl): Force underflow exception for arguments with small
23996         absolute value.
23997         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
23998         (__tanhl): Force underflow exception for arguments with small
23999         absolute value.
24000         * math/auto-libm-test-in: Add more tests of tanh.
24001         * math/auto-libm-test-out: Regenerated.
24002         * sysdeps/i386/fpu/libm-test-ulps: Update.
24004 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24006         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24007         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24009 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24011         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24012         <cpuid.h>.
24014 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24016         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24017         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24019 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24021         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24022         Remove $(objpfx)init-arch.o.
24023         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24024         init-arch.
24025         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24026         (INIT_ARCH_EXT): Defined as empty.
24027         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24029         __init_cpu_features call.  Replace HAS_XXX with
24030         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24031         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24032         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24033         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24034         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24035         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24036         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24037         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24038         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24039         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24040         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24041         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24042         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24043         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24044         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24045         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24046         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24047         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24048         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24049         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24050         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24051         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24052         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24053         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24054         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24055         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24056         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24057         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24058         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24059         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24060         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24062         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24063         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24064         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24067 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24069         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24070         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24071         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24072         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24073         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24074         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24075         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24076         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24077         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24078         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24079         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24080         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24081         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24082         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24083         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24084         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24085         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24086         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24087         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24088         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24089         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24090         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24091         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24092         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24093         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24094         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24095         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24096         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24097         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24098         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24099         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24100         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24101         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24102         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24103         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24104         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24105         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24106         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24107         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24108         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24109         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24110         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24111         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24113 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24115         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24116         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24117         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24118         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24119         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24120         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24121         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24122         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24123         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24124         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24125         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24126         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24127         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24128         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24129         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24130         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24131         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24132         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24133         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24134         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24136         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24137         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24138         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24139         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24140         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24141         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24142         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24143         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24144         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24145         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24146         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24147         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24148         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24149         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24150         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24151         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24152         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24153         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24154         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24155         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24156         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24157         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24159 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24161         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24162         (dl_platform_init): Call init_cpu_features.
24163         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24164         * sysdeps/i386/i686/cacheinfo.c
24165         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24166         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24167         * sysdeps/i386/i686/multiarch/Versions: Removed.
24168         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24169         Removed.
24170         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24171         * sysdeps/unix/sysv/linux/x86/Makefile
24172         (libpthread-sysdep_routines): Remove init-arch.
24173         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24174         <sysdeps/x86_64/dl-procinfo.c> instead of
24175         sysdeps/generic/dl-procinfo.c>.
24176         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24177         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24178         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24179         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24180         [$(subdir) == elf] (tests-static): Add
24181         tst-get-cpu-features-static.
24182         * sysdeps/x86/Versions: New file.
24183         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24184         * sysdeps/x86/cpu-features.c: Likewise.
24185         * sysdeps/x86/cpu-features.h: Likewise.
24186         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24187         * sysdeps/x86/libc-start.c: Likewise.
24188         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24189         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24190         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24191         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24192         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24193         Assume USE_MULTIARCH is defined and don't check it.
24194         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24195         (is_amd): Likewise.
24196         (max_cpuid): Likewise.
24197         (intel_check_word): Likewise.
24198         (__cache_sysconf): Don't call __init_cpu_features.
24199         (__x86_preferred_memory_instruction): Removed.
24200         (init_cacheinfo): Don't call __init_cpu_features. Replace
24201         __cpu_features with GLRO(dl_x86_cpu_features).
24202         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24203         (dl_platform_init): Call init_cpu_features.
24204         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24205         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24206         * sysdeps/x86_64/multiarch/Versions: Removed.
24207         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24208         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24209         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24210         Removed.
24211         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24213 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24215         [BZ #18820]
24216         * libio/Makefile (test-fmemopen-mem): New test.
24217         * libio/test-fmemopen.c (do_bz18820): New test.
24218         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24219         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24221 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24223         [BZ #16734]
24224         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24225         (FREE_BUF): Delete.
24226         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24227         * libio/genops.c (_IO_setb): Use malloc and free directly.
24228         (_IO_default_doallocate, _IO_default_finish): Likewise.
24229         ( _IO_unbuffer_all): Likewise.
24230         ( libc_freeres_fn): Likewise.
24231         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24232         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24233         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24234         (_IO_wdefault_doallocate): Likewise.
24236 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24238         [BZ #18086]
24239         * sysdeps/posix/nice.c (nice): Restore old errno.
24240         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24242 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24244         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24246 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24248         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24249         __bcopy and add a weak_alias to bcopy.
24250         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24251         for static build.
24253         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24254         cleanup macro usage.
24255         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24256         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24257         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24258         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24259         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24260         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24261         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24262         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24263         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24264         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24266         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24267         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24268         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24269         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24271         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24272         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24273         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24275         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24276         libc_hidden_def.
24277         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24279         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24280         (sysdep_routines): Add strstr-ppc64.
24281         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24283 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24285         [BZ #18778]
24286         * elf/Makefile (tests): Add Add tst-nodelete2.
24287         (modules-names): Add tst-nodelete2mod.
24288         (tst-nodelete2mod.so-no-z-defs): New.
24289         ($(objpfx)tst-nodelete2): Likewise.
24290         ($(objpfx)tst-nodelete2.out): Likewise.
24291         (LDFLAGS-tst-nodelete2): Likewise.
24292         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24293         out of loop through all loaded libraries.
24294         * elf/tst-nodelete2.c: New file.
24295         * elf/tst-nodelete2mod.c: Likewise.
24296         * elf/tst-znodelete-zlib.cc: Delete.
24298 2015-08-11  Andreas Schwab  <schwab@suse.de>
24300         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24301         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24302         (__openat64_nocancel): Likewise.
24304 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24306         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24307         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24308         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24309         * math/auto-libm-test-out: Regenerated.
24310         * sysdeps/i386/fpu/libm-test-ulps: Update.
24311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24313 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24315         [BZ #18790]
24316         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24317         threshold for returning +/- 1.
24318         * math/auto-libm-test-in: Add more tests of tanh.
24319         * math/auto-libm-test-out: Regenerated.
24320         * sysdeps/i386/fpu/libm-test-ulps: Update.
24322 2015-08-10  Andreas Schwab  <schwab@suse.de>
24324         [BZ #18781]
24325         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24326         MORE_OFLAGS to oflag.
24327         * io/test-lfs.c (do_test): Test openat64.
24329 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24331         [BZ #18789]
24332         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24333         smaller threshold for returning the argument.
24334         * math/auto-libm-test-in: Add more tests of sinh.
24335         * math/auto-libm-test-out: Regenerated.
24336         * sysdeps/i386/fpu/libm-test-ulps: Update.
24338 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24340         [BZ #18674]
24341         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24342         break.
24344 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24346         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24347         (generated): Don't add $(addprefix z.,$(tzfiles)).
24349 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24351         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24352         * scripts/sysd-rules.awk: Likewise.
24354 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24356         * iconvdata/tst-tables.sh: Change echo -n to printf.
24357         * nss/db-Makefile: Likewise.
24358         * posix/tst-getconf.sh: Likewise.
24359         * stdio-common/tst-unbputc.sh: Likewise.
24361 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24363         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24364         MADV_*_PAGES defines behind this feature check.
24366 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24368         [BZ #18480]
24369         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24370         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24371         Define.
24372         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24373         LOAD_REGS_5, LOAD_REGS_6): Update.
24374         (INTERNAL_SYSCALL): Update using new LOAD defines.
24375         (INTERNAL_SYSCALL_NCS): Likewise.
24376         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24378 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24380         [BZ #16734]
24381         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24383 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24385         [BZ #17905]
24386         * catgets/Makefile (tst-catgets-mem): New test.
24387         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24388         * catgets/open_catalog.c (__open_catalog): Likewise.
24389         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24391 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24393         [BZ #18787]
24394         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24395         clobber registers.
24396         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24397         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24398         Cast return to __typeof (oldval).
24400 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24402         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24403         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24404         and delete sys/syscall.h include.
24406 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24408         [BZ #16517]
24409         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24410         (tan): Force underflow exception for arguments with small absolute
24411         value.
24412         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24413         (__kernel_tanf): Force underflow exception for arguments with
24414         small absolute value.
24415         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24416         (__kernel_tanl): Force underflow exception for arguments with
24417         small absolute value.
24418         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24419         (__kernel_tanl): Force underflow exception for arguments with
24420         small absolute value.
24421         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24422         (__kernel_tanl): Force underflow exception for arguments with
24423         small absolute value.
24424         * math/auto-libm-test-in: Add more tests of tan.
24425         * math/auto-libm-test-out: Regenerated.
24427 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24429         Fix sysdeps/i386/fpu/s_scalbn.S build
24431         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24433 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24435         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24437 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24439         Fix gcrt0.o compilation
24441         When static-start-installed-name is different from
24442         start-installed-name, we must not use the shared objects.
24444         * csu/Makefile
24445         (extra-objs): Add gmon-start.o when building shared library and
24446         $(static-start-installed-name) is different from
24447         $(start-installed-name).
24448         $(objpfx)g$(static-start-installed-name): When building shared
24449         library and $(static-start-installed-name) is different from
24450         $(static-start-installed-name), revert to non-shared rule,
24451         i.e. using $(objpfx)% and gmon-start.o.
24453 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24455         [BZ #16519]
24456         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24457         (__ieee754_sinh): Force underflow exception for arguments with
24458         small absolute value.
24459         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24460         (__ieee754_sinhf): Force underflow exception for arguments with
24461         small absolute value.
24462         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24463         (__ieee754_sinhl): Force underflow exception for arguments with
24464         small absolute value.
24465         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24466         (__ieee754_sinhl): Force underflow exception for arguments with
24467         small absolute value.
24468         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24469         (__ieee754_sinhl): Force underflow exception for arguments with
24470         small absolute value.
24471         * math/auto-libm-test-in: Add more tests of sinh.
24472         * math/auto-libm-test-out: Regenerated.
24473         * sysdeps/i386/fpu/libm-test-ulps: Update.
24475 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24477         * libio/oldfileops.c: Include unistd.h.
24479 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24481         * stdlib/isomac.c: Include ctype.h.
24483 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24485         * dirent/tst-seekdir.c (main): Converted to ...
24486         (do_test): ... this.
24487         (TEST_FUNCTION): New macro.
24488         Include test-skeleton.c.
24489         * elf/tst-dlmodcount.c (main): Converted to ...
24490         (do_test): ... this.
24491         (TEST_FUNCTION): New macro.
24492         Include test-skeleton.c.
24493         * elf/tst-order-main.c (main): Converted to ...
24494         (do_test): ... this.
24495         (TEST_FUNCTION): New macro.
24496         Include test-skeleton.c.
24497         * elf/tst-pie2.c (main): Converted to ...
24498         (do_test): ... this.
24499         (TEST_FUNCTION): New macro.
24500         Include test-skeleton.c.
24501         * inet/tst-ether_aton.c (main): Converted to ...
24502         (do_test): ... this.
24503         (TEST_FUNCTION): New macro.
24504         Include test-skeleton.c.
24505         * misc/tst-mntent.c (main): Converted to ...
24506         (do_test): ... this.
24507         (TEST_FUNCTION): New macro.
24508         Include test-skeleton.c.
24509         * misc/tst-tsearch.c (main): Converted to ...
24510         (do_test): ... this.
24511         (TEST_FUNCTION): New macro.
24512         Include test-skeleton.c.
24513         * posix/tst-regexloc.c (main): Converted to ...
24514         (do_test): ... this.
24515         (TEST_FUNCTION): New macro.
24516         Include test-skeleton.c.
24517         * resolv/tst-aton.c (main): Converted to ...
24518         (do_test): ... this.
24519         (TEST_FUNCTION): New macro.
24520         Include test-skeleton.c.
24521         * stdio-common/test-fwrite.c (main): Converted to ...
24522         (do_test): ... this.
24523         (TEST_FUNCTION): New macro.
24524         Include test-skeleton.c.
24525         * stdio-common/tst-ferror.c (main): Converted to ...
24526         (do_test): ... this.
24527         (TEST_FUNCTION): New macro.
24528         Include test-skeleton.c.
24529         * stdio-common/tst-printf.c (main): Converted to ...
24530         (do_test): ... this.
24531         (TEST_FUNCTION): New macro.
24532         Include test-skeleton.c.
24533         * stdio-common/tst-printfsz.c (main): Converted to ...
24534         (do_test): ... this.
24535         (TEST_FUNCTION): New macro.
24536         Include test-skeleton.c.
24537         * stdlib/tst-strtod.c (main): Converted to ...
24538         (do_test): ... this.
24539         (TEST_FUNCTION): New macro.
24540         Include test-skeleton.c.
24541         * string/tst-strlen.c (main): Converted to ...
24542         (do_test): ... this.
24543         (TEST_FUNCTION): New macro.
24544         Include test-skeleton.c.
24545         * string/tst-svc.c (main): Converted to ...
24546         (do_test): ... this.
24547         (TEST_FUNCTION): New macro.
24548         Include test-skeleton.c.
24549         * time/tst-strptime.c (main): Converted to ...
24550         (do_test): ... this.
24551         (TEST_FUNCTION): New macro.
24552         Include test-skeleton.c.
24553         * timezone/tst-timezone.c (main): Converted to ...
24554         (do_test): ... this.
24555         (TEST_FUNCTION): New macro.
24556         Include test-skeleton.c.
24558 2015-08-05  Zack Weinberg  <zackw@panix.com>
24560         * misc/regexp.h: Update comments.
24562 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24564         [BZ #18635]
24565         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24566         before return label.
24568 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24570         [BZ #18661]
24571         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24572         when calling __errno_location.
24573         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24574         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24576 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24578         [BZ #18661]
24579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24580         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24581         __gettimeofday.
24583 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24585         [BZ #18661]
24586         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24587         (__start_context): Don't use pop to restore %rdi so that stack
24588         is aligned to 16 bytes when calling __setcontext.
24590 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24592         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24593         only for libc.
24594         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24596 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24598         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24599         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24600         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24602 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24604         * string/memccpy.c (memccpy):
24605         Improve performance by using memchr/memcpy/__mempcpy.
24607 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24609         * string/strncpy.c (strncpy):
24610         Improve performance by using __strnlen/memcpy.
24612 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24614         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24615         Optimize to avoid an unnecessary FPCR read.
24617 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24619         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24620         Optimize to reduce FPCR/FPSR accesses.
24622 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24624         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24625         dead->data[category] != NULL.
24627 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #18647]
24630         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24631         and |x| close to 1, use absolute value of x when computing log.
24632         * math/auto-libm-test-in: Add more tests of pow.
24633         * math/auto-libm-test-out: Regenerated.
24635 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24637         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
24638         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
24639         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
24641 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
24643         [BZ #18525]
24644         * locales/km_KH: Remove timezone definition.
24645         * locales/lo_LA: Likewise.
24646         * locales/my_MM: Likewise.
24647         * locales/nan_TW@latin: Likewise.
24648         * locales/th_TH: Likewise.
24649         * locales/uk_UA: Likewise.
24651 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24653         [BZ #18265]
24654         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
24655         (wcsncat): Likewise.
24656         (wcscmp): Likewise.
24657         (wcsncmp): Likewise.
24659 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24661         * test-skeleton.c (usage): New function.
24662         (main): Call usage when opt is '?'.
24664 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24666         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
24667         before first use.
24669 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24671         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
24672         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
24673         in there too.
24675 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
24677         * version.h (RELEASE): Set to "development".
24678         (VERSION): Set to "2.22.90"
24680         * version.h (RELEASE): Set to "stable".
24681         (VERSION): Set to "2.22"
24682         * include/features.h (__GLIBC_MINOR__): Set to 22.
24684 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
24686         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
24687         Restructure macro to avoid "value computed is not used" warning.
24688         (atomic_compare_and_exchange_val_acq): Likewise.
24690 2015-08-04  Andreas Schwab  <schwab@suse.de>
24692         [BZ #18635]
24693         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
24694         ret.
24695         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
24697 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
24699         * po/pl.po: Updated translation.
24700         * po/uk.po: Likewise.
24701         * po/fi.po: Likewise.
24702         * po/ko.po: Likewise.
24703         * po/ru.po: Likewise.
24704         * po/vi.po: Likewise.
24706 2015-07-31  Zack Weinberg  <zackw@panix.com>
24708         [BZ #18681]
24709         * regexp.h: Add unconditional #warning stating that this header
24710         will be removed soon.  Revise banner comment to match.
24711         (compile): Consistently use ERROR instead of RETURN to report
24712         errors (partial fix for bz#18681).
24713         * regexp.c: Don't include regexp.h. Remove some unnecessary
24714         declarations.
24716 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
24718         * po/libc.pot: Regenerated.
24720 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24722         [BZ #18740]
24723         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
24724         float-vlen4-arch-ext-cflags): Removed.
24725         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
24726         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
24728 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24730         [BZ #14113]
24731         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
24732         aligned to __aligned__.
24733         (pthread_cond_t, pthread_rwlock_t): Likewise.
24735 2015-07-30  Torvald Riegel  <triegel@redhat.com>
24737         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
24739 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24741         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
24742         (struct sigaction): Change sa_flags from a long to an int, and add
24743         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
24745 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24747         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
24748         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
24749         sysdeps/generic/sysdep.h include.
24750         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
24751         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
24752         sysdeps/hppa/sysdep.h.
24753         (ENTRY, PSEUDO): Undefine before defining.
24755 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24757         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
24758         from scratch to use INTERNAL_SYSCALL.
24760 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
24762         [BZ #18078]
24763         * scripts/check-localplt.awk: Support alternate relocations.
24764         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
24765         sections.
24766         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
24767         malloc entries with + REL R_386_GLOB_DAT.
24768         * sysdeps/x86_64/localplt.data: New file.
24770 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
24772         [BZ #18731]
24773         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
24774         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24775         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24777 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24779         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
24781 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24783         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
24784         directly in terms of __sync_fetch_and_add and delete (int) cast.
24786 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24788         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
24789         the -D_ASM_IA64_CURRENT_H flag.
24791 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24793         [BZ #18641]
24794         * pwd/pwd.h (putpwent): Delete __nonnull markings.
24796 2015-07-27  Andreas Schwab  <schwab@suse.de>
24798         * conform/conformtest.pl (checknamespace): Filter out string
24799         literals while tokenizing.
24801 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24803         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24804         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
24805         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24807 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24809         * nptl/tst-join7mod.c: Add #include <string.h>.
24811 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24813         * sysdeps/nios2/libm-test-ulps: Update.
24815 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24817         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
24818         Fix order of arguments to the rt_sigprocmask syscall.
24819         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
24820         Likewise.
24822 2015-07-24  Roland McGrath  <roland@hack.frob.com>
24824         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
24826 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24828         [BZ #18457]
24829         * nptl/Makefile (tests): New test case tst-join7.
24830         (modules-names): New test case module tst-join7mod.
24831         * nptl/tst-join7.c: New file.
24832         * nptl/tst-join7mod.c: New file.
24833         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
24834         all translation units in libc.so, libpthread.so and rtld.
24836 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24840 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24842         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
24843         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24844         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24846         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24847         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24848         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24849         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24850         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24851         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24853         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24854         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
24855         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
24856         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
24857         implementation.
24859 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24861         [BZ #17711]
24862         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24863         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
24864         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24865         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24866         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
24867         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24869 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24871         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
24872         instead of just saying load lock in the comments.
24874 2015-07-23  Roland McGrath  <roland@hack.frob.com>
24876         * sysdeps/unix/Subdirs: Moved ...
24877         * sysdeps/posix/Subdirs: ... here.
24878         * login/pty.h (struct termios, struct winsize): Add forward decls.
24879         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
24880         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
24881         * sysdeps/arm/nacl/libc.abilist: Updated.
24882         * sysdeps/nacl/libutil.abilist: New file.
24884         * bits/signum.h: Update comments to mention 1003.1-2013 too.
24885         (SIGWINCH): New macro.
24887         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
24888         * sysdeps/arm/nacl/libc.abilist: Add it.
24890 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
24892         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
24894 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
24896         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24897         Swap __glibc_reserved0 and sa_flags order.
24899 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24901         [BZ #18657]
24902         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
24903         are pending TLS destructor calls.
24904         * include/link.h (struct link_map): Add concurrency note for
24905         L_TLS_DTOR_COUNT.
24906         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24907         Don't touch the link map flag.  Atomically increment
24908         l_tls_dtor_count.
24909         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
24910         Avoid taking the load lock and don't touch the link map flag.
24911         * stdlib/tst-tls-atexit-nodelete.c: New test case.
24912         * stdlib/Makefile (tests): Use it.
24913         * stdlib/tst-tls-atexit.c (do_test): dlopen
24914         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
24915         to allow tst-tls-atexit-nodelete test case to use it.
24917 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24919         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
24920         to bits/types.h.
24921         (msgqnum_t): New typedef.
24922         (msglen_t): Likewise.
24923         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
24924         and msg_qbytes type to msglen_t.
24926 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24928         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
24929         pad0 to __glibc_reserved0.
24930         (struct stat64): Likewise.
24932 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24934         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24935         Change sa_flags from a long to an int and add __glibc_reserved0 before
24936         it for padding.
24938 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24940         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
24941         anonymous by deleting "siginfo" name.
24943 2015-07-21  Roland McGrath  <roland@hack.frob.com>
24945         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
24946         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
24947         rather than __nacl_irt_filename.
24948         * sysdeps/nacl/xstat.c (__xstat): Likewise.
24950         * NEWS: New item for arm-nacl port.
24951         * sysdeps/arm/nacl/libc.abilist: New file.
24952         * sysdeps/nacl/ld.abilist: New file.
24953         * sysdeps/nacl/libBrokenLocale.abilist: New file.
24954         * sysdeps/nacl/libanl.abilist: New file.
24955         * sysdeps/nacl/libcrypt.abilist: New file.
24956         * sysdeps/nacl/libdl.abilist: New file.
24957         * sysdeps/nacl/libm.abilist: New file.
24958         * sysdeps/nacl/libpthread.abilist: New file.
24959         * sysdeps/nacl/libresolv.abilist: New file.
24960         * sysdeps/nacl/librt.abilist: New file.
24962 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
24964         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
24965         __startcontext to initialize the new context.
24966         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
24967         up CFI directive to forbid further backtracing.
24969 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
24971         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
24972         reference.
24973         * charmaps/ANSI_X3.4-1968: Likewise.
24974         * charmaps/BS_4730: Likewise.
24975         * charmaps/BS_VIEWDATA: Likewise.
24976         * charmaps/CP1250: Likewise.
24977         * charmaps/CP1251: Likewise.
24978         * charmaps/CP1252: Likewise.
24979         * charmaps/CP1253: Likewise.
24980         * charmaps/CP1254: Likewise.
24981         * charmaps/CP1255: Likewise.
24982         * charmaps/CP1256: Likewise.
24983         * charmaps/CSN_369103: Likewise.
24984         * charmaps/EBCDIC-DK-NO: Likewise.
24985         * charmaps/GB_1988-80: Likewise.
24986         * charmaps/GREEK-CCITT: Likewise.
24987         * charmaps/GREEK7: Likewise.
24988         * charmaps/INIS-8: Likewise.
24989         * charmaps/ISIRI-3342: Likewise.
24990         * charmaps/ISO_2033-1983: Likewise.
24991         * charmaps/ISO_5427-EXT: Likewise.
24992         * locales/POSIX: Likewise.
24993         * locales/ar_SA: Likewise.
24994         * locales/be_BY: Likewise.
24995         * locales/be_BY@latin: Likewise.
24996         * locales/ca_ES: Likewise.
24997         * locales/cs_CZ: Likewise.
24998         * locales/da_DK: Likewise.
24999         * locales/de_BE: Likewise.
25000         * locales/de_CH: Likewise.
25001         * locales/de_LU: Likewise.
25002         * locales/en_AU: Likewise.
25003         * locales/en_BW: Likewise.
25004         * locales/en_CA: Likewise.
25005         * locales/en_DK: Likewise.
25006         * locales/en_GB: Likewise.
25007         * locales/en_IE: Likewise.
25008         * locales/en_NZ: Likewise.
25009         * locales/en_ZA: Likewise.
25010         * locales/en_ZW: Likewise.
25011         * locales/es_AR: Likewise.
25012         * locales/es_BO: Likewise.
25013         * locales/es_CL: Likewise.
25014         * locales/es_CO: Likewise.
25015         * locales/es_DO: Likewise.
25016         * locales/es_EC: Likewise.
25017         * locales/es_ES: Likewise.
25018         * locales/es_HN: Likewise.
25019         * locales/es_MX: Likewise.
25020         * locales/es_PA: Likewise.
25021         * locales/es_PE: Likewise.
25022         * locales/es_PY: Likewise.
25023         * locales/es_SV: Likewise.
25024         * locales/es_US: Likewise.
25025         * locales/es_UY: Likewise.
25026         * locales/es_VE: Likewise.
25027         * locales/et_EE: Likewise.
25028         * locales/fa_IR: Likewise.
25029         * locales/fo_FO: Likewise.
25030         * locales/fr_CA: Likewise.
25031         * locales/fr_CH: Likewise.
25032         * locales/gv_GB: Likewise.
25033         * locales/he_IL: Likewise.
25034         * locales/hr_HR: Likewise.
25035         * locales/id_ID: Likewise.
25036         * locales/is_IS: Likewise.
25037         * locales/it_CH: Likewise.
25038         * locales/iw_IL: Likewise.
25039         * locales/kl_GL: Likewise.
25040         * locales/ko_KR: Likewise.
25041         * locales/kw_GB: Likewise.
25042         * locales/lg_UG: Likewise.
25043         * locales/lt_LT: Likewise.
25044         * locales/lv_LV: Likewise.
25045         * locales/mi_NZ: Likewise.
25046         * locales/nhn_MX: Likewise.
25047         * locales/nl_BE: Likewise.
25048         * locales/pl_PL: Likewise.
25049         * locales/sk_SK: Likewise.
25050         * locales/sl_SI: Likewise.
25051         * locales/sv_FI: Likewise.
25052         * locales/tl_PH: Likewise.
25053         * locales/tr_TR: Likewise.
25054         * locales/vi_VN: Likewise.
25056 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25058         [BZ #17475]
25059         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25060         of tu_IN and bh_IN.
25062 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25064         [BZ #18694]
25065         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25066         bits/wordsize.h.
25067         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25069 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25071         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25072         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25073         (spawn_thread): New function.
25074         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25075         (do_test): ... here.  Use IS_LOADED to test for its
25076         availability.
25078 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25080         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25082 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25084         [BZ #18696]
25085         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25086         si_addr_bnd.
25087         (si_lower): New.
25088         (si_upper): Likewise.
25090 2015-07-16  David S. Miller  <davem@davemloft.net>
25092         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25094 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25096         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25097         buffer.
25098         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25099         fail output information.
25101 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25104         and strstr-ppc64..
25105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25106         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25107         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25108         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25109         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25111 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25113         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25114         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25115         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25116         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25118 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25120         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25121         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25122         rtld_hidden_proto.
25123         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25125 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25127         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25128         the test can fail.
25130         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25132         [BZ #18676]
25133         * elf/tst-nodelete-opened.c: New test case.
25134         * elf/tst-nodelete-opened-lib.c: New test case module.
25135         * elf/Makefile (tests, modules-names): Use them.
25136         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25137         early.
25139 2015-07-15  David S. Miller  <davem@davemloft.net>
25141         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25142         futex-intenal.h
25143         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25144         * sysdeps/sparc/sparc64/Makefile: Likewise.
25145         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25146         Remove space from macro define.
25147         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25149 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25151         [BZ #17475]
25152         * locale/iso-639.def: Update Bhili and Tulu language codes as
25153         per iso639-3.
25155 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25157         * elf/tst-leaks1.c (main): Converted to ...
25158         (do_test): ... this.
25159         (TEST_FUNCTION): New macro.
25160         Include test-skeleton.c.
25161         * localedata/tst-langinfo.c (main): Converted to ...
25162         (do_test): ... this.
25163         (TEST_FUNCTION): New macro.
25164         Include test-skeleton.c.
25165         * math/test-fpucw.c (main): Converted to ...
25166         (do_test): ... this.
25167         (TEST_FUNCTION): New macro.
25168         Include test-skeleton.c.
25169         * math/test-tgmath.c (main): Converted to ...
25170         (do_test): ... this.
25171         (TEST_FUNCTION): New macro.
25172         Include test-skeleton.c.
25173         * math/test-tgmath2.c (main): Converted to ...
25174         (do_test): ... this.
25175         (TEST_FUNCTION): New macro.
25176         Include test-skeleton.c.
25177         * setjmp/tst-setjmp.c (main): Converted to ...
25178         (do_test): ... this.
25179         (TEST_FUNCTION): New macro.
25180         Include test-skeleton.c.
25181         * stdio-common/tst-sscanf.c (main): Converted to ...
25182         (do_test): ... this.
25183         (TEST_FUNCTION): New macro.
25184         Include test-skeleton.c.
25185         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25186         (do_test): ... this.
25187         (TEST_FUNCTION): New macro.
25188         Include test-skeleton.c.
25190         * elf/tst-audit9.c (main): Converted to ...
25191         (do_test): ... this.
25192         (TEST_FUNCTION): New macro.
25193         Include test-skeleton.c.
25195 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25197         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25199 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25201         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25202         New variable.
25204 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25206         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25208 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25210         * sysdeps/generic/dl-fileid.h: New file.
25211         * sysdeps/posix/dl-fileid.h: New file.
25212         * sysdeps/nacl/dl-fileid.h: New file.
25213         * include/link.h: Include <dl-fileid.h>.
25214         (struct link_map): Replace l_dev and l_ino with l_file_id.
25215         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25216         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25217         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25219 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25221         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25223 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25225         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25226         Add iff $CXX is set.
25227         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25228         Likewise.
25229         (tst-nodelete-zmodiff): Likewise.
25230         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25232 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25234         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25236 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25238         * sysdeps/aarch64/fpu/math_private.h
25239         (define math_opt_barrier): Add AArch64 version.
25240         (math_force_eval): Likewise.
25242 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25244         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25246 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25248         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25249         %ld with %jd and cast to intmax_t.
25250         (do_test_length_zero): Likewise.
25252 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25254         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25256 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25258         * sysdeps/tile/libm-test-ulps: Regenerated.
25260         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25261         Comment out the whole function, not just its body.
25263 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25265         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25266         locks.
25268         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25270 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25272         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25273         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25275 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25277         * sysdeps/nptl/futex-internal.h: New file.
25278         * sysdeps/nacl/futex-internal.h: New file.
25279         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25280         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25281         error checking.
25282         (setxid_unmark_thread): Likewise.
25283         (__nptl_setxid): Likewise.
25284         (__wait_lookup_done): Likewise.
25285         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25286         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25287         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25288         * nptl/pthread_once.c (clear_once_control): Likewise.
25289         (__pthread_once_slow): Likewise.
25290         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25291         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25292         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25293         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25294         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25295         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25296         Likewise.
25297         (__pthread_rwlock_rdlock): Likewise.
25298         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25299         Likewise.
25300         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25301         Likewise.
25302         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25303         Likewise.
25304         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25305         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25306         Likewise.
25307         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25308         __ASSUME_PRIVATE_FUTEX check.
25309         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25310         Check that shared futexes are supported.
25311         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25312         wrappers with error checking.
25313         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25314         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25315         * nptl/pthread_barrierattr_setpshared.c
25316         (pthread_barrierattr_setpshared): Check that shared futexes are
25317         supported.
25318         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25319         Likewise.
25320         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25321         Likewise.
25322         * nptl/sem_init.c (futex_private_if_supported): Remove.
25323         (__new_sem_init): Adapt and check that shared futexes are supported.
25324         * nptl/sem_open.c (sem_open): Likewise.
25325         * nptl/sem_post.c (futex_wake): Remove.
25326         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25327         (do_futex_wait): Use futex wrappers with error checking.
25328         * nptl/sem_wait.c: Include lowlevellock.h.
25329         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25330         Use futex_supports_pshared.
25331         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25332         Use futex wrappers with error checking.
25333         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25334         Likewise.
25335         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25336         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25337         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25338         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25339         (futex_wake): Likewise.
25340         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25341         (do_futex_wait): Use futex wrappers with error checking.
25342         (__new_sem_wait_slow): Update EINTR handling.
25343         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25345 2015-07-09  Martin Sebor  <msebor@redhat.com>
25347         [BZ #18435]
25348         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25349         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25350         * nptl/Makefile (test-xfail-tst-once5): Define.
25352 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25354         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25355         * elf/dl-minimal.c: For readability, reorder some definitions and
25356         introduce more page breaks.  Include <stdio.h>.
25357         (__libc_fatal): New function.
25359         * include/unistd.h: Add rtld_hidden_proto for _exit.
25360         * posix/_exit.c: Add rtld_hidden_def.
25361         * sysdeps/mach/hurd/_exit.c: Likewise.
25362         * sysdeps/nacl/_exit.c: Likewise.
25363         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25364         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25366 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25369         bndmov encoding with zero displacement.
25371 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25372             H.J. Lu  <hongjiu.lu@intel.com>
25374         [BZ #18134]
25375         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25376         * sysdeps/i386/configure: Regenerated.
25377         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25378         (_dl_runtime_profile): Save and restore Intel MPX return bound
25379         registers when calling _dl_call_pltexit.  Add
25380         PRESERVE_BND_REGS_PREFIX before return.
25381         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25382         (LRV_BND1_OFFSET): Likewise.
25383         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25384         lrv_bnd1.
25385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25386         typo in bndmov encoding.
25387         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25388         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25389         branch instructions to preserve bounds.
25391 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25394         [GLIBC_2.22]: Add fmemopen.
25396 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25398         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25399         returns an error, also try to use host port from __mach_host_self for
25400         the __vm_wire call.
25401         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25403 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25405         [BZ #18400]
25406         [BZ #18648]
25407         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25408         Fix pr_uid and pr_gid members.
25409         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25410         definition to elf_greg_t.
25412 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25414         [BZ #18383]
25415         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25416         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25417         * sysdeps/arm/configure: Regenerated.
25418         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25419         (test-xfail-tst-tlsalign-static): Variable removed.
25421         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25422         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25423         rather than explicit 'ln -s'.
25425         * resolv/rpc/netdb.h: New file.
25426         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25428 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25430         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25431         length buffers.
25432         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25433         test-skeleton.c.
25435         [BZ #6544]
25436         [BZ #11216]
25437         [BZ #12836]
25438         [BZ #13151]
25439         [BZ #13152]
25440         [BZ #14292]
25441         * include/stdio.h (fmemopen): Remove hidden prototype.
25442         (__fmemopen): Add new hidden prototype.
25443         * libio/Makefile: Add oldfmemopen object.
25444         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25445         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25446         compliance.
25447         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25448         symbol compatibility.
25449         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25450         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25451         fmemopen.
25452         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25453         on append and read mode.
25454         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25455         fmemopen.
25456         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25457         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25458         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25459         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25460         Likewise.
25461         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25462         [GLIBC_2.22]: Likewise.
25463         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25464         Likewise.
25465         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25466         Likewise.
25467         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25468         [GLIBC_2.22]: Likewise.
25469         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25470         [GLIBC_2.22]: Likewise.
25471         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25472         [GLIBC_2.22]: Likewise.
25473         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25474         [GLIBC_2.22]: Likewise.
25475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25476         [GLIBC_2.22]: Likewise.
25477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25478         [GLIBC_2.22]: Likewise.
25479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25480         [GLIBC_2.22]: Likewise.
25481         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25482         Likewise.
25483         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25484         Likewise.
25485         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25486         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25487         [GLIBC_2.22]: Likewise.
25488         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25489         [GLIBC_2.22]: Likewise.
25490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25491         [GLIBC_2.22]: Likewise.
25492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25493         [GLIBC_2.22]: Likewise.
25494         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25495         Likewise.
25496         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25497         Likewise.
25498         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25499         Likewise.
25500         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25501         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25503 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25505         [BZ #18643]
25506         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25507         IPV6_PATHMTU, and IPV6_DONTFRAG.
25509 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25511         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25512         and _IO_UNBUFFERED.
25513         * libio/oldfileops.c: Likewise.
25514         * libio/wfileops.c: Likewise.
25516 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25518         * nscd/selinux.c: Delete selinux/flask.h include.
25520 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25522         [BZ #18641]
25523         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25524         (putpwent): Likewise.
25525         (getpwnam): Likewise.
25526         (getpwent_r): Likewise.
25527         (getpwuid_r): Likewise.
25528         (getpwnam_r): Likewise.
25529         (fgetpwent_r): Likewise.
25531 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25533         [BZ #18557]
25534         * inet/rcmd.c (__validuser2_sa): Check user first to
25535         short-circuit host check.
25537 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25538             Mikhail Ilin  <m.ilin@samsung.com>
25540         [BZ #17833]
25541         * elf/Makefile (tests): Add tst-nodelete.
25542         (modules-names): Add tst-nodelete-uniquemod.
25543         (tst-nodelete-uniquemod.so-no-z-defs): New.
25544         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25545         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25546         ($(objpfx)tst-nodelete): Likewise.
25547         ($(objpfx)tst-nodelete.out): Likewise.
25548         (LDFLAGS-tst-nodelete): Likewise.
25549         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25550         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25551         implement forced object deletion.
25552         (_dl_close): Pass false to _dl_close_worker.
25553         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25554         * elf/tst-nodelete.cc: New file.
25555         * elf/tst-nodeletelib.cc: Likewise.
25556         * elf/tst-znodeletelib.cc: Likewise.
25557         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25559 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25561         [BZ #18508]
25562         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25563         Depend on $(libdl).
25564         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25565         is not called infinitely times.
25566         (backtrace_helper): New function.
25567         (trace_arg): New struct.
25568         (st1): Enlarge stack size.
25569         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25570         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25571         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25572         Likewise.
25574 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25576         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25578 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25580         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25581         Include sys/types.h instead of bits/types.h.
25582         Remove inclusion of bits/wordsize.h.
25584 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25586         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25587         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25588         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25589         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25590         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25591         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25593 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25595         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25596         link-defines.sym.
25597         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25598         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25599         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25600         and LR_SIZE.
25601         * sysdeps/i386/link-defines.sym: New file.
25603 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25605         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25606         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25607         ($(objpfx)tst-audit3): New rule.
25608         ($(objpfx)tst-audit3.out): Likewise.
25609         * sysdeps/i386/tst-audit3.c: New file.
25610         * sysdeps/i386/tst-audit3.h: Likewise.
25611         * sysdeps/i386/tst-auditmod3a.c: Likewise.
25612         * sysdeps/i386/tst-auditmod3b.c: Likewise.
25614 2015-07-07  Torvald Riegel  <triegel@redhat.com>
25616         [BZ #18633]
25617         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25618         pointer in C code.
25619         (__strcat_c): Likewise.
25620         (__strcat_g): Likewise.
25622 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
25624         [BZ #18592]
25625         * misc/sbrk.c: Set errno to ENOMEM on overflow.
25627 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25629         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25630         New function.  (__ieee754_sqrtf): New function.
25631         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25632         New function.
25633         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25634         New function.
25636 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25638         * sysdeps/ieee754/support.c: Remove unused file.
25640 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25642         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
25643         registers instead of d ones so the layout is kernel abi compatible.
25644         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
25645         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
25646         Likewise.
25648 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25650         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25652 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25654         [BZ #18619]
25655         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
25656         and return argument in case of subnormal argument.
25658 2015-07-01  Martin Sebor  <msebor@redhat.com>
25660         [BZ #18435]
25661         * nptl/Makefile: Add tst-once5.cc.
25662         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25663         Remove macro redefinitions.
25664         * nptl/tst-once5.cc: New test.
25666 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25668         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25670         * sysdeps/arm/libm-test-ulps: Regenerated.
25672         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25673         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25675 2015-06-30  Torvald Riegel  <triegel@redhat.com>
25677         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
25678         lll_lock_wait_private and lll_futex_wake probes.
25680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25681         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
25682         Likewise.
25683         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
25684         atomic_spin_nop.
25685         * sysdeps/x86_64/bits/atomic.h: Likewise.
25686         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
25687         to atomic_spin_nop and move ...
25688         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25689         ... here and ...
25690         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
25691         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
25692         atomic_spin_nop instead of BUSY_WAIT_NOP.
25693         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
25694         Likewise.
25695         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
25696         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25697         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
25698         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
25699         instead of atomic_delay.
25701 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
25703         [BZ #18613]
25704         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
25705         X_ADJ not X when adjusting exponent.
25706         (__ieee754_gamma_r): Do intermediate computations in
25707         round-to-nearest then adjust overflowing and underflowing results
25708         as needed.
25709         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
25710         of X_ADJ not X when adjusting exponent.
25711         (__ieee754_gammaf_r): Do intermediate computations in
25712         round-to-nearest then adjust overflowing and underflowing results
25713         as needed.
25714         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
25715         log of X_ADJ not X when adjusting exponent.
25716         (__ieee754_gammal_r): Do intermediate computations in
25717         round-to-nearest then adjust overflowing and underflowing results
25718         as needed.  Use 1.0L not 1.0f as numerator of division.
25719         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
25720         log of X_ADJ not X when adjusting exponent.
25721         (__ieee754_gammal_r): Do intermediate computations in
25722         round-to-nearest then adjust overflowing and underflowing results
25723         as needed.  Use 1.0L not 1.0f as numerator of division.
25724         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
25725         of X_ADJ not X when adjusting exponent.
25726         (__ieee754_gammal_r): Do intermediate computations in
25727         round-to-nearest then adjust overflowing and underflowing results
25728         as needed.  Use 1.0L not 1.0f as numerator of division.
25729         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
25730         to auto-libm-test-in.
25731         (tgamma_test): Use ALL_RM_TEST.
25732         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
25733         tests of tgamma with spurious-overflow.
25734         * math/auto-libm-test-out: Regenerated.
25735         * math/gen-libm-have-vector-test.sh: Do not check for START.
25736         * sysdeps/i386/fpu/libm-test-ulps: Update.
25737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25739         [BZ #18612]
25740         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
25741         arguments, just return 0.5 times the argument, with underflow
25742         forced as needed.
25743         * math/auto-libm-test-in: Add more tests of j1.
25744         * math/auto-libm-test-out: Regenerated.
25746         [BZ #16559]
25747         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
25748         (__ieee754_j1): Force underflow exception for small results.
25749         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25750         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
25751         (__ieee754_j1f): Force underflow exception for small results.
25752         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25753         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25755         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
25756         (__ieee754_j1l): Force underflow exception for small results.
25757         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25758         * math/auto-libm-test-in: Add more tests of j1 and jn.
25759         * math/auto-libm-test-out: Regenerated.
25761         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
25762         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
25763         (PF_MPLS): Likewise.
25764         (AF_IB): Likewise.
25765         (AF_MPLS): Likewise.
25766         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
25767         value and macro.
25768         (MS_RMT_MASK): Include MS_LAZYTIME.
25770 2015-06-26  Mel Gorman  <mgorman@suse.de>
25772         [BZ #18502]
25773         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
25774         already minimal.
25776 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
25778         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
25779         (DT_MIPS_NUM): Update.
25780         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
25781         DT_MIPS_RLD_MAP_REL.
25783 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
25785         [BZ #16559]
25786         [BZ #18602]
25787         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
25788         round-to-nearest internally then recompute results that
25789         underflowed to zero in the original rounding mode.
25790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25791         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25792         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25793         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25794         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
25795         * sysdeps/i386/fpu/libm-test-ulps: Update.
25796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25800         * NEWS: Fixed description of link with vector math library.
25802 2015-06-25  Andreas Schwab  <schwab@suse.de>
25804         [BZ #18549]
25805         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
25806         * libio/test-fmemopen.c (do_test): Add test for it.
25808 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
25810         [BZ #17841]
25811         * Makeconfig (no-pie-ldflag): New.
25812         (+link): Set to $(+link-pie) if default to PIE.
25813         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
25814         * config.make.in (build-pie-default): New.
25815         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
25816         is default.  AC_SUBST.
25817         * configure: Regenerated.
25818         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
25820 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25822         * nptl/descr.h (struct pthread): Change type of field setxid_futex
25823         to 'unsigned int'.
25825         * resolv/gai_misc.h (struct waitlist): Change type of field
25826         counterp to 'volatile unsigned int *'.
25827         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
25828         FUTEXADDR and OLDVAL.
25829         * resolv/getaddrinfo_a.c (getaddrinfo_a):
25830         Give local variable TOTAL type 'volatile unsigned int'.
25831         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25832         * resolv/gai_suspend.c (gai_suspend):
25833         Give local variable CNTR type 'unsigned int'.
25835         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
25836         counterp to 'volatile unsigned int *'.
25837         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
25838         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
25839         (aio_suspend): Give local variable CNTR type 'unsigned int'.
25840         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
25841         Give local variable TOTAL type 'volatile unsigned int'.
25842         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25844 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25846         [BZ #18383]
25847         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
25848         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
25849         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
25850         comment for i386/x86-64.
25851         (test-xfail-tst-tlsalign-extern-static): Removed.
25853 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25855         * math/test-double.h: New file.
25856         * math/test-float.h: Likewise.
25857         * math/test-ldouble.h: Likewise.
25858         * math/test-math-inline.h: Likewise.
25859         * math/test-math-no-inline.h: Likewise.
25860         * math/test-math-scalar.h: Likewise.
25861         * math/test-math-vector.h: Likewise.
25862         * math/test-vec-loop.h: Remove file.  Contents moved into
25863         test-math-vector.h.
25864         * math/libm-test.inc (MATHCONST): Do not document macro.
25865         * math/test-double.c: Include test-double.h, test-math-no-inline.h
25866         and test-math-scalar.h.
25867         (FUNC): Remove macro.
25868         (FUNC_TEST): Likewise.
25869         (FLOAT): Likewise.
25870         (MATHCONST): Likewise.
25871         (PRINTF_EXPR): Likewise.
25872         (PRINTF_XEXPR): Likewise.
25873         (PRINTF_NEXPR): Likewise.
25874         (TEST_DOUBLE): Likewise.
25875         (TEST_MATHVEC): Likewise.
25876         (__NO_MATH_INLINES): Likewise.
25877         * math/test-float.c: Include test-float.h, test-math-no-inline.h
25878         and test-math-scalar.h.
25879         (FUNC): Remove macro.
25880         (FUNC_TEST): Likewise.
25881         (FLOAT): Likewise.
25882         (MATHCONST): Likewise.
25883         (PRINTF_EXPR): Likewise.
25884         (PRINTF_XEXPR): Likewise.
25885         (PRINTF_NEXPR): Likewise.
25886         (TEST_FLOAT): Likewise.
25887         (TEST_MATHVEC): Likewise.
25888         (__NO_MATH_INLINES): Likewise.
25889         * math/test-idouble.c: Include test-double.h, test-math-inline.h
25890         and test-math-scalar.h.
25891         (FUNC): Remove macro.
25892         (FUNC_TEST): Likewise.
25893         (FLOAT): Likewise.
25894         (MATHCONST): Likewise.
25895         (PRINTF_EXPR): Likewise.
25896         (PRINTF_XEXPR): Likewise.
25897         (PRINTF_NEXPR): Likewise.
25898         (TEST_DOUBLE): Likewise.
25899         (TEST_MATHVEC): Likewise.
25900         (TEST_INLINE): Likewise.
25901         (__NO_MATH_INLINES): Likewise.
25902         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
25903         test-math-scalar.h.
25904         (FUNC): Remove macro.
25905         (FUNC_TEST): Likewise.
25906         (FLOAT): Likewise.
25907         (MATHCONST): Likewise.
25908         (PRINTF_EXPR): Likewise.
25909         (PRINTF_XEXPR): Likewise.
25910         (PRINTF_NEXPR): Likewise.
25911         (TEST_FLOAT): Likewise.
25912         (TEST_MATHVEC): Likewise.
25913         (TEST_INLINE): Likewise.
25914         (__NO_MATH_INLINES): Likewise.
25915         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
25916         and test-math-scalar.h.
25917         (FUNC): Remove macro.
25918         (FUNC_TEST): Likewise.
25919         (FLOAT): Likewise.
25920         (MATHCONST): Likewise.
25921         (PRINTF_EXPR): Likewise.
25922         (PRINTF_XEXPR): Likewise.
25923         (PRINTF_NEXPR): Likewise.
25924         (TEST_LDOUBLE): Likewise.
25925         (TEST_MATHVEC): Likewise.
25926         (TEST_INLINE): Likewise.
25927         (__NO_MATH_INLINES): Likewise.
25928         * math/test-ldouble.c: Include test-ldouble.h,
25929         test-math-no-inline.h and test-math-scalar.h.
25930         (FUNC): Remove macro.
25931         (FUNC_TEST): Likewise.
25932         (FLOAT): Likewise.
25933         (MATHCONST): Likewise.
25934         (PRINTF_EXPR): Likewise.
25935         (PRINTF_XEXPR): Likewise.
25936         (PRINTF_NEXPR): Likewise.
25937         (TEST_LDOUBLE): Likewise.
25938         (TEST_MATHVEC): Likewise.
25939         (__NO_MATH_INLINES): Likewise.
25940         * math/test-double-vlen2.h: Include test-double.h,
25941         test-math-no-inline.h and test-math-vector.h.
25942         (FLOAT): Remove macro.
25943         (FUNC): Likewise.
25944         (MATHCONST): Likewise.
25945         (PRINTF_EXPR): Likewise.
25946         (PRINTF_XEXPR): Likewise.
25947         (PRINTF_NEXPR): Likewise.
25948         (TEST_DOUBLE): Likewise.
25949         (TEST_MATHVEC): Likewise.
25950         (__NO_MATH_INLINES): Likewise.
25951         (CNCT): Likewise.
25952         (CONCAT): Likewise.
25953         (WRAPPER_NAME): Likewise.
25954         (WRAPPER_DECL): Likewise.
25955         (WRAPPER_DECL_ff): Likewise.
25956         (WRAPPER_DECL_fFF): Likewise.
25957         (VECTOR_WRAPPER): Likewise.
25958         (VECTOR_WRAPPER_ff): Likewise.
25959         (VECTOR_WRAPPER_fFF): Likewise.
25960         (VEC_LEN): New macro.
25961         * math/test-double-vlen4.h: Include test-double.h,
25962         test-math-no-inline.h and test-math-vector.h.
25963         (FLOAT): Remove macro.
25964         (FUNC): Likewise.
25965         (MATHCONST): Likewise.
25966         (PRINTF_EXPR): Likewise.
25967         (PRINTF_XEXPR): Likewise.
25968         (PRINTF_NEXPR): Likewise.
25969         (TEST_DOUBLE): Likewise.
25970         (TEST_MATHVEC): Likewise.
25971         (__NO_MATH_INLINES): Likewise.
25972         (CNCT): Likewise.
25973         (CONCAT): Likewise.
25974         (WRAPPER_NAME): Likewise.
25975         (WRAPPER_DECL): Likewise.
25976         (WRAPPER_DECL_ff): Likewise.
25977         (WRAPPER_DECL_fFF): Likewise.
25978         (VECTOR_WRAPPER): Likewise.
25979         (VECTOR_WRAPPER_ff): Likewise.
25980         (VECTOR_WRAPPER_fFF): Likewise.
25981         (VEC_LEN): New macro.
25982         * math/test-double-vlen8.h: Include test-double.h,
25983         test-math-no-inline.h and test-math-vector.h.
25984         (FLOAT): Remove macro.
25985         (FUNC): Likewise.
25986         (MATHCONST): Likewise.
25987         (PRINTF_EXPR): Likewise.
25988         (PRINTF_XEXPR): Likewise.
25989         (PRINTF_NEXPR): Likewise.
25990         (TEST_DOUBLE): Likewise.
25991         (TEST_MATHVEC): Likewise.
25992         (__NO_MATH_INLINES): Likewise.
25993         (CNCT): Likewise.
25994         (CONCAT): Likewise.
25995         (WRAPPER_NAME): Likewise.
25996         (WRAPPER_DECL): Likewise.
25997         (WRAPPER_DECL_ff): Likewise.
25998         (WRAPPER_DECL_fFF): Likewise.
25999         (VECTOR_WRAPPER): Likewise.
26000         (VECTOR_WRAPPER_ff): Likewise.
26001         (VECTOR_WRAPPER_fFF): Likewise.
26002         (VEC_LEN): New macro.
26003         * math/test-float-vlen4.h: Include test-float.h,
26004         test-math-no-inline.h and test-math-vector.h.
26005         (FLOAT): Remove macro.
26006         (FUNC): Likewise.
26007         (MATHCONST): Likewise.
26008         (PRINTF_EXPR): Likewise.
26009         (PRINTF_XEXPR): Likewise.
26010         (PRINTF_NEXPR): Likewise.
26011         (TEST_FLOAT): Likewise.
26012         (TEST_MATHVEC): Likewise.
26013         (__NO_MATH_INLINES): Likewise.
26014         (CNCT): Likewise.
26015         (CONCAT): Likewise.
26016         (WRAPPER_NAME): Likewise.
26017         (WRAPPER_DECL): Likewise.
26018         (WRAPPER_DECL_ff): Likewise.
26019         (WRAPPER_DECL_fFF): Likewise.
26020         (VECTOR_WRAPPER): Likewise.
26021         (VECTOR_WRAPPER_ff): Likewise.
26022         (VECTOR_WRAPPER_fFF): Likewise.
26023         (VEC_LEN): New macro.
26024         * math/test-float-vlen8.h: Include test-float.h,
26025         test-math-no-inline.h and test-math-vector.h.
26026         (FLOAT): Remove macro.
26027         (FUNC): Likewise.
26028         (MATHCONST): Likewise.
26029         (PRINTF_EXPR): Likewise.
26030         (PRINTF_XEXPR): Likewise.
26031         (PRINTF_NEXPR): Likewise.
26032         (TEST_FLOAT): Likewise.
26033         (TEST_MATHVEC): Likewise.
26034         (__NO_MATH_INLINES): Likewise.
26035         (CNCT): Likewise.
26036         (CONCAT): Likewise.
26037         (WRAPPER_NAME): Likewise.
26038         (WRAPPER_DECL): Likewise.
26039         (WRAPPER_DECL_ff): Likewise.
26040         (WRAPPER_DECL_fFF): Likewise.
26041         (VECTOR_WRAPPER): Likewise.
26042         (VECTOR_WRAPPER_ff): Likewise.
26043         (VECTOR_WRAPPER_fFF): Likewise.
26044         (VEC_LEN): New macro.
26045         * math/test-float-vlen16.h: Include test-float.h,
26046         test-math-no-inline.h and test-math-vector.h.
26047         (FLOAT): Remove macro.
26048         (FUNC): Likewise.
26049         (MATHCONST): Likewise.
26050         (PRINTF_EXPR): Likewise.
26051         (PRINTF_XEXPR): Likewise.
26052         (PRINTF_NEXPR): Likewise.
26053         (TEST_FLOAT): Likewise.
26054         (TEST_MATHVEC): Likewise.
26055         (__NO_MATH_INLINES): Likewise.
26056         (CNCT): Likewise.
26057         (CONCAT): Likewise.
26058         (WRAPPER_NAME): Likewise.
26059         (WRAPPER_DECL): Likewise.
26060         (WRAPPER_DECL_ff): Likewise.
26061         (WRAPPER_DECL_fFF): Likewise.
26062         (VECTOR_WRAPPER): Likewise.
26063         (VECTOR_WRAPPER_ff): Likewise.
26064         (VECTOR_WRAPPER_fFF): Likewise.
26065         (VEC_LEN): New macro.
26066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26067         test-vec-loop.h.
26068         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26070         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26071         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26072         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26073         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26074         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26076 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26078         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26079         (__getlogin_r): ... this.
26081 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26083         [BZ #18594]
26084         * math/s_ccosh.c (__ccosh): Compare with least normal value
26085         instead of comparing class with FP_SUBNORMAL.
26086         * math/s_ccoshf.c (__ccoshf): Likewise.
26087         * math/s_ccoshl.c (__ccoshl): Likewise.
26088         * math/s_cexp.c (__cexp): Likewise.
26089         * math/s_cexpf.c (__cexpf): Likewise.
26090         * math/s_cexpl.c (__cexpl): Likewise.
26091         * math/s_csin.c (__csin): Likewise.
26092         * math/s_csinf.c (__csinf): Likewise.
26093         * math/s_csinh.c (__csinh): Likewise.
26094         * math/s_csinhf.c (__csinhf): Likewise.
26095         * math/s_csinhl.c (__csinhl): Likewise.
26096         * math/s_csinl.c (__csinl): Likewise.
26097         * math/s_ctan.c (__ctan): Likewise.
26098         * math/s_ctanf.c (__ctanf): Likewise.
26099         * math/s_ctanh.c (__ctanh): Likewise.
26100         * math/s_ctanhf.c (__ctanhf): Likewise.
26101         * math/s_ctanhl.c (__ctanhl): Likewise.
26102         * math/s_ctanl.c (__ctanl): Likewise.
26103         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26104         csin, csinh, ctan and ctanh.
26105         * math/auto-libm-test-out: Regenerated.
26106         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26107         * sysdeps/i386/fpu/libm-test-ulps: Update.
26108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26110 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26112         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26113         return value is wrong, print the expected value too.
26115 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26117         [BZ #18585]
26118         * elf/readlib.c (is_gdb_python_file): New.
26119         (process_file): Don't issue errors on filenames with -gdb.py
26120         suffix.
26122 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26124         * math/auto-libm-test-in: Add more tests of csin and csinh.
26125         * math/auto-libm-test-out: Regenerated.
26126         * math/libm-test.inc (csin_test_data): Remove tests moved to
26127         auto-libm-test-in.
26128         (csinh_test_data): Likewise.
26130         [BZ #18593]
26131         * math/s_csin.c (__csin): Negate before rather than after possibly
26132         overflowing multiplication.
26133         * math/s_csinf.c (__csinf): Likewise.
26134         * math/s_csinh.c (__csinh): Likewise.
26135         * math/s_csinhf.c (__csinhf): Likewise.
26136         * math/s_csinhl.c (__csinhl): Likewise.
26137         * math/s_csinl.c (__csinl): Likewise.
26138         * math/auto-libm-test-in: Add some tests of csin and csinh.
26139         * math/auto-libm-test-out: Regenerated.
26140         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26141         (csinh_test_data): Likewise.
26142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26144         [BZ #18586]
26145         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26146         underflow exception for small results.
26148 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26152         variable and included header.
26153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26155         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26156         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26157         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26158         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26159         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26161         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26162         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26163         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26164         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26165         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26166         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26167         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26168         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26170 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26172         [BZ #16526]
26173         [BZ #16538]
26174         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26175         (__sin): Force underflow exception for arguments with small
26176         absolute value.
26177         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26178         (__kernel_sinf): Force underflow exception for arguments with
26179         small absolute value.
26180         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26181         (__kernel_sincosl): Force underflow exception for arguments with
26182         small absolute value.
26183         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26184         (__kernel_sinl): Force underflow exception for arguments with
26185         small absolute value.
26186         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26187         (__kernel_sincosl): Force underflow exception for arguments with
26188         small absolute value.
26189         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26190         (__kernel_sinl): Force underflow exception for arguments with
26191         small absolute value.
26192         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26193         (__kernel_sinl): Force underflow exception for arguments with
26194         small absolute value.
26195         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26196         (__kernel_sinf): Force underflow exception for arguments with
26197         small absolute value.
26198         * math/auto-libm-test-in: Add more tests of sin and sincos.
26199         * math/auto-libm-test-out: Regenerated.
26201         [BZ #18245]
26202         [BZ #18583]
26203         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26204         (__kernel_standard_l): Use feholdexcept and fesetenv around
26205         conversion to double instead of special-casing overflow and
26206         underflow.
26207         * math/libm-test.inc (fmod_test_data): Add more tests.
26208         (remainder_test_data): Likewise.
26209         (sqrt_test_data): Likewise.
26211 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26213         [BZ #17403]
26214         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26215         atomic_read_barrier, atomic_write_barrier): Define.
26216         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26217         atomic_read_barrier, atomic_write_barrier): Define.
26219 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26221         * math/Makefile [$(PERL) != no]
26222         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26223         dependency on libm-test.stmp below the inclusion of Rules.
26225 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26229         and included header.
26230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26235         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26236         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26238         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26239         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26240         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26241         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26242         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26243         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26244         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26245         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26246         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26247         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26248         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26250 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26252         [BZ #18371]
26253         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26254         intermediate but not final result might underflow.
26255         * math/s_csqrtf.c (__csqrtf): Likewise.
26256         * math/s_csqrtl.c (__csqrtl): Likewise.
26257         * math/auto-libm-test-in: Add more tests of csqrt.
26258         * math/auto-libm-test-out: Regenerated.
26259         * sysdeps/i386/fpu/libm-test-ulps: Update.
26261         [BZ #18219]
26262         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26263         threshold on absolute value of exponent for which scaling is used.
26264         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26265         * math/auto-libm-test-in: Add more tests of exp2.
26266         * math/auto-libm-test-out: Regenerated.
26268 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26270         [BZ #17977]
26271         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26272         when initializing interface list, based on the bug analysis
26273         and the patch proposed by Eric Newton.
26274         * resolv/tst-res_hconf_reorder.c: New test.
26275         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26276         tst-res_hconf_reorder.
26277         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26278         and $(shared-thread-library).
26279         (tst-res_hconf_reorder-ENV): New variable.
26281         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26282         in comment.
26284 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26286         [BZ #16353]
26287         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26288         (__expm1): Force underflow exception for arguments with small
26289         absolute value.
26290         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26291         (__expm1f): Force underflow exception for arguments with small
26292         absolute value.
26293         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26294         (__expm1): Force underflow exception for arguments with small
26295         absolute value.
26296         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26297         (__expm1f): Force underflow exception for arguments with small
26298         absolute value.
26299         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26300         Check for small arguments before calling __expm1.
26301         * math/auto-libm-test-in: Do not mark underflow exceptions as
26302         possibly missing for bug 16353.
26303         * math/auto-libm-test-out: Regenerated.
26305 2015-06-22  Andreas Schwab  <schwab@suse.de>
26307         [BZ #18513]
26308         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26309         PTR queries.
26311 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26313         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26315         * string/strcoll_l.c: Remove unused struct element idxnow.
26317 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26319         [BZ #18569]
26320         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26321         underflow and return argument in case of subnormal argument.
26322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26323         Likewise.
26324         * math/auto-libm-test-in: Add more tests of expm1.
26325         * math/auto-libm-test-out: Regenerated.
26327         [BZ #16361]
26328         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26329         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26330         tiny results.
26331         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26332         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26333         tiny results.
26334         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26335         mark underflow exceptions as possibly missing for bug 16361.
26336         * math/auto-libm-test-out: Regenerated.
26338 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26340         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26341         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26342         Remove variable.
26343         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26344         (test-xfail-XOPEN2K8/utmpx.h/conform).
26346         * conform/conformtest.pl ($xerrors): New variable.
26347         (note_error): New function.
26348         (compiletest): New argument $xfail.  Use not_error.
26349         (runtest): Likewise.
26350         (top level): Handle xfail- lines.  Update calls to compiletest and
26351         runtest.  Handle xfail- and optional- in headers listed with
26352         allow-header.
26353         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26354         (O_EXEC): Likewise.
26355         (O_SEARCH): Likewise.
26356         * conform/data/stropts.h-data (ioctl): Likewise.
26357         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26358         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26359         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26360         (msghdr.msg_controllen): Likewise.
26361         (cmsghdr.cmsg_len): Likewise.
26362         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26363         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26364         variable.
26365         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26366         (test-xfail-XPG4/stropts.h/conform): Likewise.
26367         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26368         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26369         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26370         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26371         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26372         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26373         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26374         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26375         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26376         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26377         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26378         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26379         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26380         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26381         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26382         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26383         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26384         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26385         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26387 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26389         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26390         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26391         definitions for proper unfolding of __MATHDECL_VEC.
26393 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26395         * benchtests/bench-strcoll.c:
26396         Include string.h.
26397         (main): Remove unused variable res.
26399 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26401         * timezone/Makefile (%/UTC %/Universal):
26402         Generate test-result files for UTC and Universal.
26404 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26406         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26408 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26410         [BZ #16350]
26411         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26412         for arguments with small absolute value.
26413         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26414         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26415         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26416         (__asinh): Force underflow exception for arguments with small
26417         absolute value.
26418         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26419         (__asinhf): Force underflow exception for arguments with small
26420         absolute value.
26421         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26422         (__asinhl): Force underflow exception for arguments with small
26423         absolute value.
26424         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26425         (__asinhl): Force underflow exception for arguments with small
26426         absolute value.
26427         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26428         (__asinhl): Force underflow exception for arguments with small
26429         absolute value.
26430         * math/auto-libm-test-in: Do not mark underflow exceptions as
26431         possibly missing for bug 16350.
26432         * math/auto-libm-test-out: Regenerated.
26434         * include/bits/ipc.h: Remove file.
26435         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26436         variable.
26437         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26438         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26439         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26440         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26441         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26442         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26443         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26444         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26445         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26447         * math/auto-libm-test-in: Remove spurious underflow allowance for
26448         tests of cexp.
26449         * math/auto-libm-test-out: Regenerated.
26451         [BZ #18558]
26452         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26453         unconditional definition.
26454         (MCAST_BLOCK_SOURCE): Likewise.
26455         (MCAST_UNBLOCK_SOURCE): Likewise.
26456         (MCAST_LEAVE_GROUP): Likewise.
26457         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26458         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26459         (MCAST_MSFILTER): Likewise.
26460         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26461         Remove variable.
26462         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26463         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26464         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26465         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26466         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26468 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26470         * NEWS: Mention addition of x86_64 vector sincosf.
26471         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26472         * math/test-float-vlen4.h: Likewise.
26473         * math/test-float-vlen8.h: Likewise.
26474         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26475         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26476         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26477         * sysdeps/x86_64/fpu/Versions: New versions added.
26478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26479         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26480         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26481         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26482         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26483         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26484         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26485         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26486         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26487         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26488         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26489         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26490         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26491         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26492         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26493         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26494         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26495         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26496         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26497         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26498         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26499         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26500         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26501         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26503         * NEWS: Mention addition of x86_64 vector sincos.
26504         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26505         * math/math.h (__MATHDECL_VEC): New macro.
26506         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26507         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26508         declaration under condition.
26509         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26510         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26511         TEST_VEC_LOOP change.
26512         * math/test-double-vlen4.h: Likewise.
26513         * math/test-double-vlen8.h: Likewise.
26514         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26515         * math/test-float-vlen4.h: Likewise.
26516         * math/test-float-vlen8.h: Likewise.
26517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26518         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26519         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26520         * sysdeps/x86_64/fpu/Versions: New versions added.
26521         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26522         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26523         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26528         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26530         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26531         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26532         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26533         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26534         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26535         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26536         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26537         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26538         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26539         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26541         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26542         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26543         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26544         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26547         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26548         redirections for powf.
26549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26550         * sysdeps/x86_64/fpu/Versions: New versions added.
26551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26552         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26553         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26554         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26556         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26558         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26559         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26560         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26561         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26562         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26563         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26564         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26565         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26566         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26567         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26568         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26569         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26570         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26572         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26573         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26574         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26575         * math/test-float-vlen16.h: Fixed 2 argument macro.
26576         * math/test-float-vlen4.h: Likewise.
26577         * math/test-float-vlen8.h: Likewise.
26578         * NEWS: Mention addition of x86_64 vector powf.
26580 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26582         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26583         and redefine.
26584         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26585         and redefine.
26586         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26587         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26588         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26590         [BZ #18553]
26591         * resource/getpriority.c (getpriority): Rename to __getpriority
26592         and define as weak alias of __getpriority.
26593         * resource/setpriority.c (setpriority): Rename to __setpriority
26594         and define as weak alias of __setpriority.
26595         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26596         __getpriority and define as weak alias of __getpriority.
26597         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26598         __setpriority and define as weak alias of __setpriority.
26599         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26600         strong name.
26601         (setpriority): Use __setpriority as strong name.
26602         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26603         __getpriority and define as weak alias of __getpriority.
26604         * include/sys/resource.h (__getpriority): Declare.  Use
26605         libc_hidden_proto.
26606         (__setpriority): Likewise.
26607         (getpriority): Don't use libc_hidden_proto.
26608         (setpriority): Likewise.
26609         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26610         getpriority.  Call __setpriority instead of setpriority.
26611         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26612         Remove variable.
26614         [BZ #18547]
26615         * misc/getttyent.c (getttynam): Rename to __getttynam and define
26616         as weak alias of __getttynam.  Use prototype function definition.
26617         Call __setttyent, __getttyent and __endttyent instead of
26618         setttyent, getttyent and endttyent.
26619         (getttyent): Rename to __getttyent and define as weak alias of
26620         __getttyent.  Call __setttyent instead of setttyent.  Call
26621         __fgets_unlocked instead of fgets_unlocked.
26622         (setttyent): Rename to __setttyent and define as weak alias of
26623         __setttyent.
26624         (endttyent): Rename to __endttyent and define as weak alias of
26625         __endttyent.
26626         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
26627         (__setttyent): Likewise.
26628         (__endttyent): Likewise.
26629         (getttyent): Don't use libc_hidden_proto.
26630         (setttyent): Likewise.
26631         (endttyent): Likewise.
26632         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26633         __endttyent instead of setttyent, getttyent and endttyent.
26634         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26635         Remove variable.
26637         [BZ #18546]
26638         * socket/recv.c (__recv): Use libc_hidden_def.
26639         * socket/socket.c (__socket): Likewise.
26640         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26641         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26642         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
26643         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
26644         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
26645         libc_hidden_def.
26646         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
26647         libc_hidden_weak.
26648         * include/sys/socket.h (__socket): Do not use attribute_hidden.
26649         Use libc_hidden_proto.
26650         (__recv): Likewise.
26651         * socket/Versions (libc): Export __recv and __socket at version
26652         GLIBC_PRIVATE.
26653         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
26654         instead of recv.
26655         (init_mq_netlink): Call __socket instead of socket.
26656         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
26657         Remove variable.
26659         [BZ #18545]
26660         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
26661         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
26662         hidden_weak.
26663         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
26664         define as alias of __mq_timedsend.  Use hidden_weak.
26665         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
26666         __mq_timedsend as strong name.
26667         (mq_timedreceive): Use __mq_timedreceive as strong name.
26668         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
26669         (__mq_timedreceive): Likewise.
26670         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
26671         __mq_timedreceive instead of mq_timedreceive.
26672         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
26673         instead of mq_timedsend.
26674         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
26675         Remove variable.
26677         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
26678         hidden_def and hidden_weak instead of libc_hidden_def and
26679         libc_hidden_weak.
26680         (top level): Refer to hidden_def in comment.
26681         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26682         macro.  Use it instead of libc_hidden_def.
26683         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
26684         specify __GI_* name explicitly.
26685         (mq_timedreceive): Likewise.
26686         (mq_setattr): Likewise.
26688         [BZ #18544]
26689         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
26690         __pthread_barrier_init and define as weak alias of
26691         __pthread_barrier_init.
26692         * sysdeps/sparc/nptl/pthread_barrier_init.c
26693         (pthread_barrier_init): Likewise.
26694         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
26695         __pthread_barrier_wait and define as weak alias of
26696         __pthread_barrier_wait.
26697         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26698         (pthread_barrier_wait): Likewise.
26699         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26700         (pthread_barrier_wait): Likewise.
26701         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
26702         (pthread_barrier_wait): Likewise.
26703         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
26704         (pthread_barrier_wait): Likewise.
26705         * nptl/Versions (libpthread): Export __pthread_barrier_init and
26706         __pthread_barrier_wait at version GLIBC_PRIVATE.
26707         * include/pthread.h (__pthread_barrier_init): Declare.
26708         (__pthread_barrier_wait): Likewise.
26709         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
26710         Call __pthread_barrier_wait instead of pthread_barrier_wait.
26711         (helper_thread): Likewise.
26712         (init_mq_netlink): Call __pthread_barrier_init instead of
26713         pthread_barrier_init.
26715         [BZ #18542]
26716         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
26717         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
26718         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
26719         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
26720         vswscanf.
26721         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
26722         Remove variable.
26724         [BZ #18540]
26725         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
26726         strong alias of _IO_fflush.  Use libc_hidden_def.
26727         * libio/iofflush_u.c (fflush_unlocked): Rename to
26728         __fflush_unlocked and define as weak alias of __fflush_unlocked.
26729         Use libc_hidden_weak.
26730         * include/stdio.h (__fflush_unlocked): Declare.  Use
26731         libc_hidden_proto.
26732         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
26733         fflush_unlocked.
26734         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
26735         Remove variable.
26737         [BZ #18539]
26738         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
26739         define as weak alias of __addseverity.
26740         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
26741         Remove variable.
26742         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26743         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26744         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26746         [BZ #18536]
26747         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
26748         (__tfind): Likewise.
26749         (__tdelete): Likewise.
26750         (__twalk): Likewise.
26751         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
26752         __twalk to GLIBC_PRIVATE.
26753         * include/search.h (__tsearch): Use libc_hidden_proto.
26754         (__tfind): Likewise.
26755         (__tdelete): Likewise.
26756         (__twalk): Likewise.
26757         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
26758         Call __tdelete instead of tdelete.
26759         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
26760         tfind.  Call __tsearch instead of tsearch.
26761         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
26762         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
26763         Remove variable.
26764         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26766         [BZ #18534]
26767         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
26768         (dprintf): Define as a weak alias of __dprintf, not a strong
26769         alias.
26770         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
26771         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
26772         dprintf.
26773         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
26774         Remove variable.
26775         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26776         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26778         [BZ #18533]
26779         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
26780         not a strong alias.
26781         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
26782         Remove variable.
26784         [BZ #18532]
26785         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
26786         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
26787         (in6addr_loopback): Rename to __in6addr_loopback and define as
26788         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
26789         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
26790         libc_hidden_proto.
26791         (__in6addr_any): Likewise.
26792         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
26793         in6addr_any.
26794         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
26795         variable.
26796         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26798 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
26800         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
26801         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
26802         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26803         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26804         redirections for pow.
26805         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26806         * sysdeps/x86_64/fpu/Versions: New versions added.
26807         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26808         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26809         build of SSE, AVX2 and AVX512 IFUNC versions.
26810         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
26811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
26812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
26813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
26814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
26815         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
26816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
26817         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
26818         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
26819         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
26820         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
26821         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
26822         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
26823         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
26824         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26825         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26826         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26827         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26828         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26829         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26830         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26831         * NEWS: Mention addition of x86_64 vector pow.
26833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26834         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26835         redirections for expf.
26836         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26837         * sysdeps/x86_64/fpu/Versions: New versions added.
26838         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26839         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26840         build of SSE, AVX2 and AVX512 IFUNC versions.
26841         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
26842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
26843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
26844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
26845         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
26846         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
26847         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
26848         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
26849         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
26850         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
26851         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
26852         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
26853         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
26854         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26856         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26859         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26860         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26861         * NEWS: Mention addition of x86_64 vector expf.
26863         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
26864         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
26865         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26866         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26867         redirections for exp.
26868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26869         * sysdeps/x86_64/fpu/Versions: New versions added.
26870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26872         build of SSE, AVX2 and AVX512 IFUNC versions.
26873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
26874         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
26875         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
26876         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
26877         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
26878         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
26879         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
26880         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
26881         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
26882         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
26883         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
26884         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
26885         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
26886         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26888         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26889         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26890         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26891         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26892         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26893         * NEWS: Mention addition of x86_64 vector exp.
26895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26897         redirections for logf.
26898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26899         * sysdeps/x86_64/fpu/Versions: New versions added.
26900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26902         build of SSE, AVX2 and AVX512 IFUNC versions.
26903         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
26904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
26905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
26906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
26907         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
26908         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
26909         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
26910         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
26911         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
26912         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
26913         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
26914         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
26915         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
26916         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26917         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26918         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26919         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26920         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26921         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26922         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26923         * NEWS: Mention addition of x86_64 vector logf.
26925         * bits/libm-simd-decl-stubs.h: Added stubs for log.
26926         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
26927         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26928         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26929         redirections for log.
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): Added
26934         build of SSE, AVX2 and AVX512 IFUNC versions.
26935         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
26936         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
26937         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
26938         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
26939         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
26940         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
26941         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
26942         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
26943         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
26944         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
26945         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
26946         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
26947         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
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 log.
26958 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26960         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
26961         cfi_adjust_cfa_offset argument.
26962         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
26963         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
26965         [BZ #18034]
26966         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
26967         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
26968         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
26969         ordering using ldar.
26970         (_dl_tlsdesc_dynamic): Likewise.
26971         (_dl_tlsdesc_return_lazy): Likewise.
26972         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
26973         relaxed atomics instead of volatile and synchronize with release store.
26974         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
26975         volatile.
26976         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26978 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
26980         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26981         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
26982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26983         * sysdeps/x86_64/fpu/Versions: New versions added.
26984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26986         build of SSE, AVX2 and AVX512 IFUNC versions.
26987         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
26988         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
26989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
26990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
26991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
26992         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
26993         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
26994         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
26995         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
26996         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
26997         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
26998         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
26999         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27000         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27001         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27002         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27005         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27006         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27007         * NEWS: Mention addition of x86_64 vector sinf.
27009 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27011         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27012         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27013         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27014         Remove variable.
27015         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27016         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27018 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27020         [BZ #18530]
27021         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27022         strong alias of _IO_fputs.  Use libc_hidden_def.
27023         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27024         and define as weak alias of __fputs_unlocked.  Use
27025         libc_hidden_weak.
27026         * include/stdio.h (__fputs_unlocked): Declare.  Use
27027         libc_hidden_proto.
27028         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27029         fputs_unlocked.
27031         [BZ #18529]
27032         * resolv/netdb.h [__USE_POSIX]: Change condition to
27033         [__USE_XOPEN2K].
27034         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27035         not expect.
27036         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27037         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27038         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27039         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27040         [XPG4 || UNIX98] (AI_ALL): Likewise.
27041         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27042         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27043         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27044         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27045         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27046         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27047         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27048         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27049         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27050         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27051         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27052         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27053         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27054         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27055         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27056         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27057         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27058         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27059         [XPG4 || UNIX98] (gai_strerror): Likewise.
27060         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27061         [XPG4 || UNIX98] (getnameinfo): Likewise.
27063         [BZ #18528]
27064         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27065         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27066         __USE_XOPEN2K8].
27067         (getgrent): Likewise.
27068         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27069         expect.
27070         [XPG3 || POSIX2008] (endgrent): Likewise.
27071         [XPG3] (setgrent): Likewise.
27072         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27073         variable.
27074         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27076         [BZ #18527]
27077         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27078         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27079         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27080         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27081         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27082         * include/unistd.h (__getlogin_r): Declare.  Use
27083         libc_hidden_proto.
27084         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27085         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27086         variable.
27087         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27088         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27089         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27091 2015-06-12  Martin Sebor  <msebor@redhat.com>
27093         [BZ #18512]
27094         * Makerules (check-install-supported): New target.
27095         (install): Add check-install-supported as a dependency.
27096         * manual/install.texi (Installing the C Library): Document
27097         that overriding prefix and exec_prefix is not supported.
27098         Mention DESTDIR.
27099         * INSTALL: Regenerate from the above.
27101 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27103         [BZ #18519]
27104         * posix/Versions (libc): Export __libc_pread at version
27105         GLIBC_PRIVATE.
27106         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27107         instead of pread.
27108         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27109         variable.
27111         [BZ #18522]
27112         * misc/efgcvt_r.c
27113         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27114         (cvt_symbol): Use weak_alias instead of strong_alias.
27115         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27116         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27117         Remove variable.
27118         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27119         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27121         [BZ #18520]
27122         * inet/herrno.c (h_errno): Rename to __h_errno.
27123         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27124         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27125         to __h_errno instead of h_errno.
27126         * nptl/herrno.c (h_errno): Rename to __h_errno.
27127         (__h_errno_location): Refer to __h_errno not h_errno.
27128         * resolv/Versions (h_errno): Rename to __h_errno.
27129         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27130         Remove variable.
27131         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27133 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27135         * configure.ac: More strict check for AVX512 assembler support.
27136         * configure: Regenerated.
27138         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27139         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27140         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27141         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27142         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27143         * sysdeps/x86_64/fpu/Versions: New versions added.
27144         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27145         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27146         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27147         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27153         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27154         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27155         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27156         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27157         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27158         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27159         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27160         test.
27161         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27162         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27163         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27164         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27165         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27166         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27167         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27168         * NEWS: Mention addition of x86_64 vector sin.
27170 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27172         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27173         comment.
27175 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27177         [BZ #18479]
27178         * nptl/pt-interp.c: New file.
27179         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27180         Add pt-interp.
27181         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27182         $(common-objpfx)runtime-linker.h.
27184 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27186         * Makeconfig (+interp): Remove unused variable.
27187         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27188         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27189         $(elf-objpfx)runtime-linker.h.
27190         ($(elf-objpfx)runtime-linker.h): Rename to
27191         $(common-objpfx)runtime-linker.h and move ...
27192         * Makerules [$(build-shared) = yes]: ... here.
27193         * elf/interp.c: Include <runtime-linker.h> instead of
27194         <elf/runtime-linker.h>.
27196 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27198         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27199         (__gettimeofday_syscall): Remove vsyscall fallback.
27200         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27201         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27202         Add syscall fallback function.
27203         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27204         if vDSO is not present.
27205         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27206         fallback function.
27207         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27208         present.
27209         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27210         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27212 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27214         [BZ #18497]
27215         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27216         of wcscmp.
27217         (wcscmp): Define as weak alias of WCSCMP.
27218         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27219         wcscoll.
27220         (USE_HIDDEN_DEF): Define.
27221         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27222         __wcscoll.  Don't use libc_hidden_weak.
27223         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27224         wcscmp.
27225         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27226         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27227         __GI_wcscmp.
27228         (weak_alias): Undefine and redefine.
27229         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27230         __wcscmp and define as weak alias of __wcscmp.
27231         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27232         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27233         (__wcscoll): Likewise.
27234         (wcscmp): Don't use libc_hidden_proto.
27235         (wcscoll): Likewise.
27236         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27237         wcscoll.
27238         * posix/regexec.c (check_node_accept_bytes): Likewise.
27239         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27240         variable.
27241         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27242         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27244         [BZ #18507]
27245         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27246         __fstatvfs and define as weak alias of __fstatvfs.  Use
27247         libc_hidden_weak.
27248         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27249         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27250         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27251         Define as alias of __fstatvfs, not fstatvfs.
27252         (fstatvfs64): Likewise.
27253         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27254         Define as alias of __statvfs, not statvfs.
27255         (statvfs64): Likewise.
27256         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27257         Remove variable.
27259 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27262         (HAVE_GETCPU_VSYSCALL): Define.
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27264         (HAVE_GETCPU_VSYSCALL): Likewise.
27265         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27266         * sysdeps/unix/sysv/linux/sched_getcpu.c
27267         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27268         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27269         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27270         prototype.
27271         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27272         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27273         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27274         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27275         Define.
27276         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27277         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27279         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27281 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27283         * sysdeps/x86_64/fpu/Makefile: New file.
27284         * sysdeps/x86_64/fpu/Versions: New file.
27285         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27286         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27287         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27288         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27289         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27290         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27291         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27292         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27294         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27296         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27297         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27298         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27299         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27300         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27301         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27302         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27303         * sysdeps/x86_64/configure: Regenerated.
27304         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27305         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27306         * manual/install.texi (Configuring and compiling): Document
27307         --disable-mathvec.
27308         * INSTALL: Regenerated.
27309         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27311         * math/Makefile: Added rules for vector tests.
27312         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27313         declaration under condition.
27314         * math/test-double-vlen2.h: New file.
27315         * math/test-double-vlen4.h: New file.
27316         * math/test-double-vlen8.h: New file.
27317         * math/test-vec-loop.h: Added initialization macro.
27318         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27320         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27321         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27322         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27325         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27326         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27327         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27328         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27330         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27331         * sysdeps/x86_64/fpu/Versions: New versions added.
27332         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27333         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27334         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27335         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27336         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27339         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27340         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27341         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27342         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27343         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27344         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27345         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27346         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27347         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27348         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27349         * NEWS: Mention addition of x86_64 vector cosf.
27351         * math/Makefile: Added CFLAGS for new tests.
27352         * math/test-float-vlen16.h: New file.
27353         * math/test-float-vlen4.h: New file.
27354         * math/test-float-vlen8.h: New file.
27355         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27356         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27357         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27358         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27359         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27360         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27361         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27364         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27365         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27367 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27369         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27370         * locale/programs/ld-ctype.c: Likewise.
27372 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27374         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27375         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27376         bit_ZMM16_31_state): New macro.
27377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27378         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27380 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27382         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27384 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27386         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27388 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27390         [BZ #18498]
27391         * libio/memstream.c (open_memstream): Rename to __open_memstream
27392         and define as weak alias of __open_memstream.
27393         * include/stdio.h (__open_memstream): Declare.  Use
27394         libc_hidden_proto.
27395         (open_memstream): Don't use libc_hidden_proto.
27396         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27397         open_memstream.
27398         * posix/getopt.c (_getopt_internal_r): Likewise.
27399         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27400         variable.
27401         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27402         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27403         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27405         [BZ #18496]
27406         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27407         instead of wcrtomb.
27409         [BZ #18483]
27410         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27411         [__USE_XOPEN2K8].  Remove redundant #endif.
27412         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27413         Remove redundant #if.
27414         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27415         Remove variable.
27416         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27417         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27419         [BZ #18495]
27420         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27421         (__iswlower): Likewise.
27422         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27423         (__iswlower): Likewise.
27424         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27425         instead of towlower.
27426         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27427         instead of iswlower.  Call __towupper instead of towupper.
27428         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27429         instead of iswalnum.
27431 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27433         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27434         errors to stderr.
27436 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27438         [BZ #15661]
27439         [BZ #17322]
27440         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27441         Check for overflow properly.  Check for O_APPEND.  Ignore large
27442         file system block sizes.  Add comments about problems.
27443         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27444         * manual/filesys.texi (Storage Allocation): New node.
27446 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27448         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27449         cancellable syscalls.
27450         (SYS_ify): Add guard to no redefine it.
27451         (INLINE_SYSCALL): Likewise.
27452         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27453         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27454         SYSCALL_CANCEL instead.
27455         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27456         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27457         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27458         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27459         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27460         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27461         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27462         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27463         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27464         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27465         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27466         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27467         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27468         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27469         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27471         Likewise.
27472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27473         (__libc_pread64): Likewise.
27474         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27475         (__libc_preadv): Likewise.
27476         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27477         (__libc_readv64): Likewise.
27478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27479         (__libc_pwrite): Likewise.
27480         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27481         (__libc_pwrite64): Likewise.
27482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27483         (__libc_pwritev): Likewise.
27484         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27485         (__libc_pwritev64): Likewise.
27486         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27487         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27488         (sync_file_range): Likewise.
27489         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27490         Likewise.
27491         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27492         Likewise.
27493         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27494         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27495         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27496         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27497         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27498         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27499         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27500         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27502         Likewise.
27503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27504         (__libc_read64): Likewise.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27506         Likewise.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27508         Likewise.
27509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27510         Likewise.
27511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27512         Likewise.
27513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27514         (__libc_pread64): Likewise.
27515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27516         Likewise.
27517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27518         (__libc_pwrite64): Likewise.
27519         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27520         (sync_file_range): Likewise.
27521         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27522         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27523         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27524         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27525         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27526         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27527         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27528         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27529         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27530         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27531         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27532         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27533         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27534         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27535         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27536         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27537         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27538         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27539         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27540         Likewise.
27541         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27542         Likewise.
27543         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27544         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27545         Likewise.
27546         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27547         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27548         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27549         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27550         Likewise.
27551         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27552         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27553         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27554         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27555         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27557 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27559         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27560         Include dl-vdso.
27561         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27562         Use VDSO routines for gettimeofday, clock_gettime if
27563         available.
27564         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27565         Declare VDSO symbols.
27566         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27567         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27568         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27569         * sysdeps/unix/sysv/linux/arm/Versions: Add
27570         __vdso_clock_gettime.
27572 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27574         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27575         be an inline implementation regardless of library is built within.
27576         (open_not_cancel_2): Likewise.
27577         (__read_nocancel): Likewise.
27578         (__write_nocancel): Likewise.
27579         (openat_not_cancel): Likewise.
27580         (openat_not_cancel_3): Likewise.
27581         (openat64_not_cancel): Likewise.
27582         (openat64_not_cancel_3): Likewise.
27583         (__close_nocancel): Likewise.
27584         (pause_not_cancel): Likewise.
27585         (nanosleep_not_cancel): Likewise.
27586         (sigsuspend_not_cancel): Likewise.
27588 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27590         [BZ #14958]
27591         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27592         wake-up.
27593         (__pthread_rwlock_rdlock_slow): Likewise.
27594         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27595         Likewise.
27596         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27597         Likewise.
27598         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27599         * nptl/tst-rwlock16.c: New file.
27600         * nptl/Makefile (tests): Add new test.
27602 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27604         [BZ #18324]
27605         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27606         missing wake-up of readers.
27607         * nptl/tst-rwlock15.c: New file.
27608         * nptl/Makefile (tests): Add new test.
27610 2015-06-03  Roland McGrath  <roland@hack.frob.com>
27612         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27613         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27614         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27615         and __nacl_supply_interface_rtld.
27616         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27617         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27618         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27619         Add __nacl_supply_interface_rtld.
27620         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27622 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27624         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27625         isfinite.
27626         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27627         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27629 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27631         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27632         __signbit* with standard C99 macros.
27633         * math/e_exp10l.c: Likewise.
27634         * math/e_exp2l.c: Likewise.
27635         * math/e_scalb.c: Likewise.
27636         * math/e_scalbf.c: Likewise.
27637         * math/e_scalbl.c: Likewise.
27638         * math/s_ldexp.c: Likewise.
27639         * math/s_ldexpf.c: Likewise.
27640         * math/s_ldexpl.c: Likewise.
27641         * math/w_atan2.c: Likewise.
27642         * math/w_atan2f.c: Likewise.
27643         * math/w_atan2l.c: Likewise.
27644         * math/w_cosh.c: Likewise.
27645         * math/w_coshf.c: Likewise.
27646         * math/w_coshl.c: Likewise.
27647         * math/w_exp10.c: Likewise.
27648         * math/w_exp10f.c: Likewise.
27649         * math/w_exp10l.c: Likewise.
27650         * math/w_exp2.c: Likewise.
27651         * math/w_exp2f.c: Likewise.
27652         * math/w_exp2l.c: Likewise.
27653         * math/w_fmod.c: Likewise.
27654         * math/w_fmodf.c: Likewise.
27655         * math/w_fmodl.c: Likewise.
27656         * math/w_hypot.c: Likewise.
27657         * math/w_hypotf.c: Likewise.
27658         * math/w_hypotl.c: Likewise.
27659         * math/w_jnl.c: Likewise.
27660         * math/w_lgamma.c: Likewise.
27661         * math/w_lgamma_r.c: Likewise.
27662         * math/w_lgammaf.c: Likewise.
27663         * math/w_lgammaf_r.c: Likewise.
27664         * math/w_lgammal.c: Likewise.
27665         * math/w_lgammal_r.c: Likewise.
27666         * math/w_pow.c: Likewise.
27667         * math/w_powf.c: Likewise.
27668         * math/w_powl.c: Likewise.
27669         * math/w_remainder.c: Likewise.
27670         * math/w_remainderf.c: Likewise.
27671         * math/w_remainderl.c: Likewise.
27672         * math/w_scalb.c: Likewise.
27673         * math/w_scalbf.c: Likewise.
27674         * math/w_scalbl.c: Likewise.
27675         * math/w_scalbln.c: Likewise.
27676         * math/w_scalblnf.c: Likewise.
27677         * math/w_scalblnl.c: Likewise.
27678         * math/w_sinh.c: Likewise.
27679         * math/w_sinhf.c: Likewise.
27680         * math/w_sinhl.c: Likewise.
27681         * math/w_tgamma.c: Likewise.
27682         * math/w_tgammaf.c: Likewise.
27683         * math/w_tgammal.c: Likewise.
27684         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27685         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
27686         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27687         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27688         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27689         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27690         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27691         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27692         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27693         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27694         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27695         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27696         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27697         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27698         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27699         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27700         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27701         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27702         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27703         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27704         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27705         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27707         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27708         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27709         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27710         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
27711         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27712         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27713         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27714         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
27715         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
27716         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
27717         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
27718         * stdio-common/printf_fp.c: Likewise.
27719         * stdio-common/printf_fphex.c: Likewise.
27720         * stdio-common/printf_size.c: Likewise.
27722 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
27724         [BZ #18470]
27725         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
27726         strnlen.
27727         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
27728         Remove variable.
27729         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27730         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27731         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27732         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27733         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27734         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27735         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27736         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27737         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27738         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27740         [BZ #18468]
27741         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
27742         weak alias of __wmemchr.  Use libc_hidden_weak.
27743         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
27744         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
27745         instead of wmemchr.
27747 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27749         [BZ #18383]
27750         * elf/tst-tlsalign-extern.c: New file.
27751         * elf/tst-tlsalign-extern-static.c: New file.
27752         * elf/tst-tlsalign-vars.c: New file.
27753         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
27754         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
27755         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
27756         ($(objpfx)tst-tlsalign-extern-static): Likewise.
27757         (test-xfail-tst-tlsalign-extern-static): New variable.
27759 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
27761         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
27762         Use variable name _sc_err instead of err.
27763         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
27764         instead of ret.
27765         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
27766         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
27767         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
27768         (INLINE_SYSCALL): Likewise.
27770         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
27771         * include/string.h (__strnlen): Use libc_hidden_proto.
27772         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
27773         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
27774         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
27775         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
27776         (libc_hidden_def): Undefine and redefine.
27777         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
27778         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
27779         __GI_strnlen.
27780         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
27781         libc_hidden_def.
27782         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
27784         [BZ #18469]
27785         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
27786         weak alias of __towlower.  Use libc_hidden_weak.
27787         (towupper): Rename to __towupper and define as weak alias of
27788         __towupper.  Use libc_hidden_weak.
27789         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
27790         (__towupper): Likewise.
27791         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
27792         __towlower instead of towlower.
27794 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27796         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
27797         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
27799 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27801         * sysdeps/aarch64/libm-test-ulps: Update.
27803 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27805         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
27806         Define.
27807         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27809         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27810         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27811         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
27812         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
27813         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
27815 2015-06-01  Martin Sebor  <msebor@redhat.com>
27817         [BZ #18116]
27818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27819         (__setcontext): Use extended four-operand version of mtsf whenever
27820         possible.
27821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27822         (__novec_swapcontext): Likewise.
27824 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27826         * benchtests/scripts/compare_bench.py: New file.
27827         * benchtests/scripts/import_bench.py (mean): New function.
27828         (split_list): Likewise.
27829         (do_for_all_timings): Likewise.
27830         (compress_timings): Likewise.
27832         * benchtests/scripts/import_bench.py: New file.
27833         * benchtests/scripts/validate_benchout.py: Import import_bench
27834         instead of jsonschema.
27835         (validate_bench): Remove function.
27836         (main): Use import_bench.
27838 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
27840         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27841         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
27843 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27847 2015-05-28  Roland McGrath  <roland@hack.frob.com>
27849         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
27850         set THREAD_SELF->tid to a magic value and futex-wake it.
27851         Pass its address to the thread_exit system call.
27852         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
27853         bit is clear.
27854         * sysdeps/nacl/lowlevellock.h: New file.
27855         * sysdeps/nacl/lll_timedwait_tid.c: New file.
27857         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
27858         Add TIMEOUT to current time, don't subtract it.
27860 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
27862         [BZ #2981]
27863         [BZ #18422]
27864         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
27865         ($(objpfx)tst-audit2.out): Also depend on
27866         $(objpfx)tst-auditmod9b.so.
27867         * elf/tst-audit2.c: Include <dlfcn.h>.
27868         (calloc_called): New.
27869         (calloc): Allow to be called more than once.
27870         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
27872 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
27874         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
27875         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
27877 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
27879         * stdlib/monetary.h: Fix comment.
27881 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
27883         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
27884         Avoid using variables in #defines that might cause shadowing.
27885         (INTERNAL_VSYSCALL_CALL): Likewise.
27887 2015-05-26  Roland McGrath  <roland@hack.frob.com>
27889         * sysdeps/nacl/lll_timedlock_wait.c: New file.
27891         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
27892         * nptl/lll_timedlock_wait.c: ... to this new file.
27893         * nptl/Makefile (libpthread-routines): Add it.
27894         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
27895         * nptl/lll_timedwait_tid.c: ... to this new file.
27896         * nptl/Makefile (libpthread-routines): Add it.
27897         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
27898         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
27899         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
27900         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
27901         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
27902         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
27903         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
27904         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
27905         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
27906         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
27908 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27910         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
27911         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27912         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27913         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
27914         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
27915         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27916         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27918         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27919         * sysdeps/unix/sysv/linux/tile/sysdep.h
27920         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27921         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
27922         using vDSO syscall macro.
27924 2015-05-26  Andriy Rysin  <arysin@gmail.com>
27926         [BZ #17293]
27927         * uk_UA: Fix sorting order for Ukrainian locale
27929 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
27931         * stdlib/monetary.h: Fix comment.
27933 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27935         [BZ #18234]
27936         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
27937         st_mtim and st_ctim members.
27938         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
27939         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
27940         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
27941         (struct stat64): Likewise.
27942         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
27943         (struct stat64): Likewise.
27944         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
27945         (struct stat64): Likewise.
27947 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27949         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
27950         Define and include sysdep-vdso.h.
27951         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
27952         Likewise.
27953         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
27954         Likewise.
27955         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
27956         Define with VDSO_SYMBOL and use PTR_MANGLE.
27957         (__vdso_clock_gettime): Likewise.
27958         (__vdso_clock_getres): Likewise.
27959         (_libc_vdso_platform_setup): Likewise.
27960         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27961         Likewise.
27962         (_libc_vdso_platform_setup): Likewise.
27963         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
27964         Likewise.
27965         (__vdso_clock_gettime): Likewise.
27966         (__vdso_clock_getres): Likewise.
27967         (__vdso_get_tbfreq): Likewise.
27968         (__vdso_getcpu): Likewise.
27969         (__vdso_time): Likewise.
27970         (__vdso_sigtramp_rt64): Likewise.
27971         (__vdso_signtramp32): Likewise.
27972         (__vdso_sigtramp_rt32): Likewise.
27973         (_libc_vdso_platform_setup): Likewise.
27974         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
27975         Likewise.
27976         (__vdso_clock_gettime): Likewise.
27977         (__vdso_clock_getres): Likewise.
27978         (_libc_vdso_platform_setup): Likewise.
27979         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
27980         Likewise.
27981         (__vdso_clock_gettime): Likewise.
27982         (_libc_vdso_platform_setup): Likewise.
27983         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27984         Likewise.
27985         (__vdso_getcpu): Likewise.
27986         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
27987         Use VDSO_SYMBOL macro to define.
27988         (__vdso_clock_gettime): Likewise.
27989         (__vdso_clock_getres): Likewise.
27990         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
27991         Likewise.
27992         (__vdso_clock_gettime): Likewise.
27993         (__vdso_clock_getres): Likewise.
27994         (__vdso_get_tbfreq): Likewise.
27995         (__vdso_getcpu): Likewise.
27996         (__vdso_time): Likewise.
27997         (__vdso_sigtramp_rt64): Likewise.
27998         (__vdso_signtramp32): Likewise.
27999         (__vdso_sigtramp_rt32): Likewise.
28000         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28001         Likewise.
28002         (__vdso_clock_gettime): Likewise.
28003         (__vdso_clock_getres): Likewise.
28004         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28005         Likewise.
28006         (__vdso_clock_gettime): Likewise.
28007         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28008         Likewise.
28009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28010         macro.
28011         (INTERNAL_VSYSCALL): Likewise.
28012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28013         Remove macro.
28014         (INTERNAL_VSYSCALL): Likewise.
28015         (INTERNAL_VSYSCALL_NCS): Likewise.
28016         (INTERNAL_VSYSCALL_CALL): New macro.
28017         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28019         Likewise.
28020         (INTERNAL_VSYSCALL): Likewise.
28021         (INTERNAL_VSYSCALL_NCS): Likewise.
28022         (INTERNAL_VSYSCALL_CALL): New macro.
28023         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28025         (INLINE_VSYSCALL): Remove macro.
28026         (INTERNAL_VSYSCALL): Remove macro.
28027         (INTERNAL_VSYSCALL_NCS): Remove macro.
28028         (INTERNAL_VSYSCALL_CALL): New macro.
28029         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28030         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28031         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28032         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28033         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28035         (INLINE_VSYSCALL): Remove macro.
28036         (INTERNAL_VSYSCALL): Likewise.
28037         (INTERNAL_VSYSCALL_NCS): Likewise.
28038         (INTERNAL_VSYSCALL_CALL): New macro.
28039         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28040         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28041         PTR_DEMANGLE on vDSO pointer.
28042         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28043         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28044         macro.
28045         (INTERNAL_SYSCALL): Likewise.
28046         (INTERNAL_VSYSCALL_NCS): Remove macro.
28047         (INTERNAL_VSYSCALL_CALL): New macro.
28048         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28049         Remove macro.
28050         (INTERNAL_VSYSCALL): Likewise.
28051         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28052         sysdep-vdso.h instead of libc-vdso.h.
28053         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28054         definition.
28055         (INLINE_VSYSCALL): Likewise.
28056         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28057         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28058         definition.
28059         (INLINE_VSYSCALL): Likewise.
28060         (INTERNAL_VSYSCALL): Likewise.
28061         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28062         * sysdeps/unix/sysv/linux/timespec_get.c
28063         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28064         (timespec_get): Use ANSI prototype.
28065         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28066         and definition for Linux.
28068 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28070         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28071         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28073 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28075         [BZ #2981]
28076         [BZ #18410]
28077         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28078         for missing DT_PLTRELSZ.
28080 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28082         Remove obsolete aliases that broke 'locale -a'
28083         [BZ #18412]
28084         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28085         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28086         breaking some applications that use 'locale -a' output.
28087         Change the encoding of this file from Latin-1 to ASCII to avoid
28088         other potential problems with people grepping this file.
28090 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28092         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28093         -fasynchronous-unwind-tables.
28094         (CFLAGS-sendto.c): Likewise.
28095         (CFLAGS-sendmsg.c): Likewise.
28096         (CFLAGS-connect.c): Likewise.
28097         (CFLAGS-recvmsg.c): Likewise.
28098         (CFLAGS-recvfrom.c): Likewise.
28099         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28100         (SOCKETCALL): New macro: non-cancellable socketcall.
28101         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28102         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28103         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28104         * sysdeps/unix/sysv/linux/accept.c: New file.
28105         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28106         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28107         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28108         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28109         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28110         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28111         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28112         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28113         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28114         * sysdeps/unix/sysv/linux/send.c: Likewise.
28115         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28116         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28117         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28118         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28119         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28120         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28121         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28122         prototype.
28123         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28124         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28125         instead of __internal_xxx function.
28126         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28127         prototype.
28128         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28129         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28130         instead of __internal_xxx function.
28131         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28132         prototype.
28133         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28134         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28135         instead of __internal_xxx function.
28136         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28137         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28138         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28139         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28140         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28141         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28142         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28143         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28144         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28145         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28146         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28147         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28148         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28149         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28150         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28151         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28152         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28153         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28154         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28155         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28158         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28159         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28160         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28161         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28162         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28163         * sysdeps/unix/sysv/linux/send.S: Likewise.
28164         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28165         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28166         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28167         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28168         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28169         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28170         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28171         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28172         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28173         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28174         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28175         socketcall is implemented in GLIBC.
28177 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28179         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28180         (__fma): Ignore uninitialized warnings around packing.
28181         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28182         (__fmaf): Ignore uninitialized warnings around packing.
28183         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28184         (__fmal): Ignore uninitialized warnings around packing.
28186         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28187         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28189         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28191         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28192         switch statement into default case.
28193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28195         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28196         a conditional in forcing "inexact".
28197         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28198         Likewise.
28200 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28202         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28203         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28204         for each INTERNAL_SYSCALL use.
28206 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28208         [BZ #438]
28209         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28210         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28211         variable.
28213         [BZ #18444]
28214         * string/basename.c (basename): Rename to __basename and define as
28215         weak alias of __basename.  Use libc_hidden_weak.
28216         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28217         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28218         __basename instead of basename.
28219         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28220         Remove variable.
28221         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28223 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28225         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28226         (_IO_JUMPS_FILE_plus): New.
28227         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28228         _IO_CAST_FIELD_ACCESS.
28229         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28230         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28231         * libio/freopen.c (freopen): Likewise.
28232         * libio/freopen64.c (freopen64): Likewise.
28233         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28234         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28235         * libio/iofwide.c (_IO_fwide): Likewise.
28236         * libio/memstream.c (open_memstream): Likewise.
28237         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28238         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28239         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28241 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28243         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28244         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28245         NADJ.
28246         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28247         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28248         NADJ.
28249         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28250         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28251         NADJ.
28253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28254         (p == 4) case.
28256         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28257         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28258         Remove variable.
28259         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28260         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28261         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28263 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28265         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28266         Adjust jump table label generation macros.
28268 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28270         * stdio-common/vfprintf.c (vfprintf): Move local variables
28271         args_malloced, specs, specs_malloced, and the code after
28272         do_positional to the printf_positional function.
28273         (printf_positional): New function.
28275 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28277         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28278         function.
28279         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28280         STEP4_TABLE, process_arg): Move macro definitions
28281         out of the vfprintf function.  (Cosmetic change only.)
28283 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28285         * benchtests/Makefile (stdio-common-bench): Define.
28286         (benchset): Add stdio-common-bench.
28287         * sprintf-inputs: New file.
28288         * sprintf-source.c: New file.
28290 2015-05-21  Andreas Schwab  <schwab@suse.de>
28292         [BZ #13028]
28293         [BZ #17053]
28294         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28295         of struct __res_state.
28296         * resolv/res_send.c (__libc_res_nsend): Likewise.
28297         (get_nsaddr): New function.
28298         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28299         statp directly.
28301 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28303         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28304         -D_POSIX_C_SOURCE=199506L.
28306         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28308         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28309         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28310         Do not mention otherwise.
28311         [POSIX] (_XOPEN_VERSION): Do not expect.
28312         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28313         [POSIX] (_POSIX2_C_BIND): Likewise.
28314         [POSIX] (_POSIX2_VERSION): Likewise.
28315         [POSIX] (_XOPEN_XPG2): Likewise.
28316         [POSIX] (_XOPEN_XPG3): Likewise.
28317         [POSIX] (_XOPEN_XPG4): Likewise.
28318         [POSIX] (_XOPEN_UNIX): Likewise.
28319         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28320         [POSIX] (_POSIX_BARRIERS): Likewise.
28321         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28322         [POSIX] (_POSIX_CPUTIME): Likewise.
28323         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28324         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28325         [POSIX] (_POSIX_SHELL): Likewise.
28326         [POSIX] (_POSIX_SPAWN): Likewise.
28327         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28328         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28329         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28330         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28331         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28332         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28333         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28334         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28335         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28336         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28337         [POSIX] (_POSIX2_PBS): Likewise.
28338         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28339         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28340         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28341         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28342         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28343         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28344         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28345         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28346         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28347         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28348         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28349         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28350         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28351         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28352         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28353         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28354         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28355         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28356         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28357         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28358         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28359         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28360         [POSIX] (_SC_2_C_BIND): Likewise.
28361         [POSIX] (_SC_2_C_VERSION): Likewise.
28362         [POSIX] (_SC_2_PBS): Likewise.
28363         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28364         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28365         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28366         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28367         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28368         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28369         [POSIX] (_SC_BARRIERS): Likewise.
28370         [POSIX] (_SC_BASE): Likewise.
28371         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28372         [POSIX] (_SC_DEVICE_IO): Likewise.
28373         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28374         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28375         [POSIX] (_SC_FD_MGMT): Likewise.
28376         [POSIX] (_SC_FIFO): Likewise.
28377         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28378         [POSIX] (_SC_FILE_LOCKING): Likewise.
28379         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28380         [POSIX] (_SC_IOV_MAX): Likewise.
28381         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28382         [POSIX] (_SC_NETWORKING): Likewise.
28383         [POSIX] (_SC_PAGE_SIZE): Likewise.
28384         [POSIX] (_SC_PASS_MAX): Likewise.
28385         [POSIX] (_SC_PIPE): Likewise.
28386         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28387         [POSIX] (_SC_REGEXP): Likewise.
28388         [POSIX] (_SC_SHELL): Likewise.
28389         [POSIX] (_SC_SIGNALS): Likewise.
28390         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28391         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28392         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28393         [POSIX] (_SC_USER_GROUPS): Likewise.
28394         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28395         [POSIX] (_SC_STREAMS): Likewise.
28396         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28397         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28398         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28399         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28400         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28401         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28402         [POSIX] (_PC_FILESIZEBITS): Likewise.
28403         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28404         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28405         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28406         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28407         [POSIX] (uid_t): Likewise.
28408         [POSIX] (gid_t): Likewise.
28409         [POSIX] (off_t): Likewise.
28410         [POSIX] (pid_t): Likewise.
28411         [POSIX] (cuserid): Allow.
28412         (_SC_2_CHAR_TERM): Require constant.
28413         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28414         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28415         variable.
28417 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28419         * sysdeps/nacl/pthread-pids.h: New file.
28420         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28421         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28423         * nptl/pthread-pids.h: New file.
28424         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28425         * nptl/nptl-init.c: Include <pthread-pids.h>.
28426         (__pthread_initialize_minimal_internal):
28427         Call __pthread_initialize_pids instead of set_tid_address syscall.
28429         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28430         * sysdeps/posix/usleep.c: ... here.
28432 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28434         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28435         call_pselect6 object.
28436         [$(subdir) = io]: Remove call_sync_file_range object.
28437         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28438         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28439         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28440         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28442 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28444         * math/s_cproj.c: Add include "math_private.h".
28445         * math/s_cprojf.c: Likewise.
28446         * math/s_cprojl.c: Likewise.
28448 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28450         [BZ #18244]
28451         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28452         high mantissa bit when testing whether P is a NaN.
28453         * math/libm-test.inc (remainder_test_data): Add more tests.
28454         (remquo_test_data): Likewise.
28456         [BZ #18049]
28457         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28458         below -32, return the argument, with underflow if subnormal.
28459         * math/auto-libm-test-in: Add more tests of atanh.
28460         * math/auto-libm-test-out: Regenerated.
28462 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28464         [BZ #18434]
28465         * nptl/tst-sem15.c: New file.
28466         * nptl/Makefile (tests): Add it.
28467         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28468         s/<</>>/ to fix typo in EOVERFLOW check.
28469         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28471 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28473         * manual/strings.texi (envz_remove): Fix typo in safety
28474         annotations.
28476 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28477             Steve Ellcey  <sellcey@imgtec.com>
28479         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28480         in order to avoid strict alias warnings.
28481         (iruserok_af): Ditto for ra.
28483 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28485         [BZ #17581]
28486         * malloc/hooks.c
28487         (magicbyte): Convert to a function and avoid returning 0x01.
28488         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28489         (mem2chunk_check): Fix unsigned comparisons to zero.
28490         Hoist defs of sz and magic.
28492 2015-05-19  Richard Henderson  <rth@redhat.com>
28494         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28496         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28498 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28500         [BZ #16159]
28501         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28502         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28503         (reused_arena): Find a non-corrupt arena.
28504         (heap_trim): Pass arena to unlink.
28505         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28506         malloc_printerr.
28507         (top_check): Likewise.
28508         (free_check): Likewise.
28509         (realloc_check): Likewise.
28510         * malloc/malloc.c (malloc_printerr): Add arena argument.
28511         (unlink): Likewise.
28512         (munmap_chunk): Adjust.
28513         (ARENA_CORRUPTION_BIT): New macro.
28514         (arena_is_corrupt): Likewise.
28515         (set_arena_corrupt): Likewise.
28516         (sysmalloc): Use mmap if there are no usable arenas.
28517         (_int_malloc): Likewise.
28518         (__libc_malloc): Don't fail if arena_get returns NULL.
28519         (_mid_memalign): Likewise.
28520         (__libc_calloc): Likewise.
28521         (__libc_realloc): Adjust for additional argument to
28522         malloc_printerr.
28523         (_int_free): Likewise.
28524         (malloc_consolidate): Likewise.
28525         (_int_realloc): Likewise.
28526         (_int_memalign): Don't touch corrupt arenas.
28527         * malloc/tst-malloc-backtrace.c: New test case.
28529         * Makefile (summarize-tests): Fix return value on success.
28531         * manual/string.texi (Envz Functions): Add envz_remove.
28533 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28535         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28536         (invalid_name): New function, broken out of ...
28537         (__opendirat): ... here.  Call it.
28538         (need_isdir_precheck): New function, broken out of ...
28539         (__opendirat): ... here.  Call it.
28540         Use __fxstatat64, not __xstatat64.
28541         (opendir_oflags): New function, broken out of ...
28542         (__opendirat): ... here.  Call it.
28543         (opendir_tail): New function, broken out of ...
28544         (__opendirat): ... here.  Call it.
28545         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28546         opendir_tail, rather than punting to __opendirat.
28547         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28549 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28551         * .gitignore: Ignore generated *.pyc.
28553 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28555         * include/stdio.h: Define __need_wint_t.
28556         * test-skeleton.c: Avoid `for' loop initial declaration.
28557         * nptl/tst-initializers1.c: Use test-skeleton.c.
28559 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28561         [BZ #18418]
28562         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28564 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28566         [BZ #16352]
28567         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28568         (__ieee754_atanh): Force underflow exception for results with
28569         small absolute value.
28570         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28571         (__ieee754_atanhf): Force underflow exception for results with
28572         small absolute value.
28573         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28574         (__ieee754_atanh): Force underflow exception for results with
28575         small absolute value.
28576         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28577         (__ieee754_atanhf): Force underflow exception for results with
28578         small absolute value.
28579         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28580         (__ieee754_atanhl): Force underflow exception for results with
28581         small absolute value.
28582         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28583         (__ieee754_atanhl): Force underflow exception for results with
28584         small absolute value.
28585         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28586         (__ieee754_atanhl): Force underflow exception for results with
28587         small absolute value.
28588         * math/auto-libm-test-in: Do not allow missing underflow
28589         exceptions from atanh.
28590         * math/auto-libm-test-out: Regenerated.
28592         [BZ #18221]
28593         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28594         2**-28 as threshold for returning x or +/- 1/x.
28595         * math/auto-libm-test-in: Add more tests of tan.
28596         * math/auto-libm-test-out: Regenerated.
28598         [BZ #18220]
28599         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28600         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28601         * math/auto-libm-test-in: Add another test of lgamma.
28602         * math/auto-libm-test-out: Regenerated.
28604 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28606         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28607         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28608         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28609         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28610         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28611         (ADD2A): Use fabs.  (SUB2A): Use fabs.
28612         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28613         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28615         (log1): Use fabs.  (my_log2): Use fabs.
28616         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28617         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28619         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28621         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
28622         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
28623         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
28624         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
28625         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28626         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28628 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28630         [BZ #18217]
28631         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28632         as threshold for returning 1 - x.
28633         * math/auto-libm-test-in: Add more tests of erfc.
28634         * math/auto-libm-test-out: Regenerated.
28636 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
28638         [BZ #18196]
28639         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
28640         threshold for large arguments.
28641         * math/auto-libm-test-in: Add another test of atan.
28642         * math/auto-libm-test-out: Regenerated.
28644         [BZ #16339]
28645         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
28646         (__log1p): Force underflow exception for results with small
28647         absolute value.
28648         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
28649         (__log1pf): Force underflow exception for results with small
28650         absolute value.
28651         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
28652         (__log1p): Force underflow exception for results with small
28653         absolute value.
28654         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
28655         (__log1pf): Force underflow exception for results with small
28656         absolute value.
28657         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
28658         (__log1pl): Force underflow exception for results with small
28659         absolute value.
28660         * math/auto-libm-test-in: Do not allow missing underflow
28661         exceptions from log1p.
28662         * math/auto-libm-test-out: Regenerated.
28664 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
28665             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28667         [BZ #16704]
28668         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
28670 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
28672         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
28673         (libmvec): New variable.
28674         * configure.ac: Added option for mathvec build.
28675         * configure: Regenerated.
28676         * mathvec/Depend: New file.
28677         * mathvec/Makefile: New file.
28678         * shlib-versions: Added libmvec.
28679         * math/Makefile: Added rule for libm.so installation.
28681         * bits/math-vector.h: New file.
28682         * bits/libm-simd-decl-stubs.h: New header.
28683         * math/Makefile (headers): Added new header
28684         libm-simd-decl-stubs.h.
28685         * math/math.h (__MATHCALL_VEC): New macro.
28687         * math/gen-libm-have-vector-test.sh: Script generates series of macros
28688         for conditions in testing functions.
28689         * math/Makefile: Added call of libm-have-vector-test.sh.
28690         * math/libm-test.inc (HAVE_VECTOR): New macros.
28692         * math/libm-test.inc: START refactored.
28693         * math/test-double.c (TEST_MATHVEC): Add define.
28694         * math/test-float.c: Likewise.
28695         * math/test-idouble.c: Likewise.
28696         * math/test-ifloat.c: Likewise.
28697         * math/test-ildoubl.c: Likewise.
28698         * math/test-ldouble.c: Likewise.
28699         * sysdeps/generic/math-tests-arch.h
28700         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
28701         architecture check.
28703         * math/test-double.c (FUNC_TEST): New macro.
28704         * math/test-float.c: Likewise.
28705         * math/test-idouble.c: Likewise.
28706         * math/test-ifloat.c: Likewise.
28707         * math/test-ildoubl.c: Likewise.
28708         * math/test-ldouble.c: Likewise.
28709         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
28711 2015-05-13  Roland McGrath  <roland@hack.frob.com>
28713         * sysdeps/nacl/fdopendir.c: New file.
28715         * dirent/scandir-tail.c: New file.
28716         * dirent/scandir64-tail.c: New file.
28717         * dirent/Makefile (routines): Add them.
28718         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
28719         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
28720         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
28721         [!SCANDIR] (SCANDIR_TAIL): New macro.
28722         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
28723         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
28724         (SCANDIRAT): Macro removed.
28725         (SCANDIR_TAIL): New macro.
28726         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
28727         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
28728         (SCANDIRAT): Just call __opendirat and __scandir_tail.
28729         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
28730         (READDIR): Macro removed.
28731         (SCANDIR_TAIL): New macro.
28732         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
28733         (SCANDIR_TAIL): New macro.
28735         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
28736         * dirent/scandir-cancel.c: ... to this new file.
28737         * dirent/Makefile (routines): Add it.
28738         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
28739         * sysdeps/unix/sysv/linux/i386/scandir64.c
28740         (SKIP_SCANDIR_CANCEL): Macro removed.
28741         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
28743         * dirent/tst-scandir.c: New file.
28744         * dirent/tst-scandir64.c: New file.
28745         * dirent/Makefile (tests): Add them.
28747 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
28749         [BZ #18409]
28750         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
28752 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28754         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
28755         list.
28757 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
28759         * benchtests/bench-strcoll.c: New benchmark.
28760         * benchtests/Makefile: Generate locales and run benchmark.
28761         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
28762         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
28763         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
28764         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
28765         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
28766         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
28767         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
28768         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
28769         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
28770         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
28771         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
28772         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
28773         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
28774         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
28775         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
28776         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
28777         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
28778         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
28779         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
28780         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
28781         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
28782         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
28783         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
28784         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
28786 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
28788         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
28789         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28791 2015-05-12  Roland McGrath  <roland@hack.frob.com>
28793         * posix/uname-values.h: New file.
28794         * posix/uname.c: Include that instead of <config-name.h>.
28795         * sysdeps/nacl/uname-values.h: New file.
28796         * sysdeps/arm/nacl/uname-values.h: New file.
28798 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
28800         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
28801         splitting into fields.
28803 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
28805         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
28806         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
28807         * locale/localeinfo.h: Add enum collation_encoding_type.
28808         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
28809         * programs/ld-collate.c (collate_output): Add encoding type info.
28810         * string/strcoll_l.c (STRDIFF): New function.
28811         * (STRCOLL): Use STRDIFF to skip over equal prefix.
28812         * wcsmbs/wcscoll_l.c: Define STRDIFF.
28814 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
28816         [BZ #18397]
28817         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
28818         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
28819         <fpu_control.h> instead of <math/fpu_control.c>.
28820         * sysdeps/mips/mips32/fpu/Makefile: New file.
28822 2015-05-11  Andreas Schwab  <schwab@suse.de>
28824         [BZ #18007]
28825         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
28826         nss_endgrent.
28827         (_nss_compat_endgrent): Call nss_endgrent.
28828         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
28829         nss_endpwent.
28830         (_nss_compat_endpwent): Call nss_endpwent.
28831         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
28832         needent, call nss_setspent only if non-zero.
28833         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
28834         (internal_endspent): Don't call nss_endspent.
28835         (_nss_compat_endspent): Call nss_endspent.
28836         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
28837         Remove.  All uses removed.
28838         (internal_setent): Remove parameter stayopen, add parameter
28839         stream.  Use it instead of global variable.
28840         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
28841         (internal_endent, internal_getent): Add parameter stream.  Use it
28842         instead of global variable.
28843         (CONCAT(_nss_files_end,ENTNAME))
28844         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
28845         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
28846         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
28847         uses removed.
28848         (internal_setent, internal_endent): Add parameter stream.  Use it
28849         instead of global variable.
28850         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
28851         stream.
28852         (get_next_alias): Add parameter stream.
28853         (_nss_files_getaliasent_r): Pass global stream.
28854         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
28855         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
28856         (_nss_files_gethostbyname4_r): Pass local stream to
28857         internal_setent, internal_getent and internal_endent.  Remove
28858         locking.
28860 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28862         * tst-strfmon1.c (tests): Update expected currency symbol.
28864 2015-05-08  Roland McGrath  <roland@hack.frob.com>
28866         * sysdeps/nacl/gethostname.c: New file.
28868 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
28870         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
28871         and sinh.
28872         * math/auto-libm-test-out: Regenerated.
28873         * sysdeps/i386/fpu/libm-test-ulps: Update.
28874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28876 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
28878         [BZ #18125]
28879         * stdlib/tst-setcontext3.c: New file.
28880         * stdlib/tst-setcontext3.sh: New file.
28881         * stdlib/Makefile (tests): Add tst-setcontext3.
28882         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
28883         to verify test program created output file.
28884         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
28885         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
28886         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
28887         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
28889 2015-05-06  Roland McGrath  <roland@hack.frob.com>
28891         [BZ #18383]
28892         * elf/tst-tlsalign.c: New file.
28893         * elf/tst-tlsalign-static.c: New file.
28894         * elf/tst-tlsalign-lib.c: New file.
28895         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
28896         (tests-static): Add tst-tlsalign-static.
28897         (modules-names): Add tst-tlsalign-lib.
28898         (test-xfail-tst-tlsalign): New variable.
28899         (test-xfail-tst-tlsalign-static): New variable.
28901         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
28902         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
28904 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
28906         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
28907         csqrt, erfc, sin and sincos.
28908         * math/auto-libm-test-out: Regenerated.
28909         * sysdeps/i386/fpu/libm-test-ulps: Update.
28910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28912 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28914         * sysdeps/aarch64/libm-test-ulps: Update.
28916 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
28918         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
28919         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
28920         * math/auto-libm-test-out: Regenerated.
28921         * sysdeps/i386/fpu/libm-test-ulps: Update.
28922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28924 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28926         [BZ #18265]
28927         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
28928         (wcsncpy): Likewise.
28930 2015-05-05  Florian Weimer  <fweimer@redhat.com>
28932         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28933         Assume __ASSUME_FALLOCATE is always true.
28934         * sysdeps/unix/sysv/linux/posix_fallocate64.c
28935         (__posix_fallocate64_l64): Likewise.
28936         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
28937         (posix_fallocate): Likewise.
28938         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
28939         (__posix_fallocate64_l64): Likewise.
28940         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28941         [!__ASSUME_FALLOCATE]: Add comment.
28943 2015-05-05  Florian Weimer  <fweimer@redhat.com>
28945         * sysdeps/unix/sysv/linux/i386/Makefile
28946         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
28947         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
28948         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
28949         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28950         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28951         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
28952         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
28954 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
28956         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
28957         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
28958         tgamma.
28959         * math/auto-libm-test-out: Regenerated.
28960         * sysdeps/i386/fpu/libm-test-ulps: Update.
28961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28963 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
28965         * math/auto-libm-test-in: Add more tests of tgamma.
28966         * math/auto-libm-test-out: Regenerated.
28967         * sysdeps/i386/fpu/libm-test-ulps: Update.
28968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28970         * math/auto-libm-test-in: Add more tests of tanh.
28971         * math/auto-libm-test-out: Regenerated.
28972         * sysdeps/i386/fpu/libm-test-ulps: Update.
28973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28975         * math/auto-libm-test-in: Add more tests of tan.
28976         * math/auto-libm-test-out: Regenerated.
28977         * sysdeps/i386/fpu/libm-test-ulps: Update.
28978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28980         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
28981         * math/auto-libm-test-out: Regenerated.
28982         * sysdeps/i386/fpu/libm-test-ulps: Update.
28983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28985         * math/auto-libm-test-in: Add another test of pow.
28986         * math/auto-libm-test-out: Regenerated.
28987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28989         * math/auto-libm-test-in: Add more tests of lgamma.
28990         * math/auto-libm-test-out: Regenerated.
28991         * sysdeps/i386/fpu/libm-test-ulps: Update.
28992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28994         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
28995         log1p.
28996         * math/auto-libm-test-out: Regenerated.
28997         * sysdeps/i386/fpu/libm-test-ulps: Update.
28998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29000 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29002         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29003         Elf64_Chdr structs and ELFCOMPRESS constants.
29005 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29007         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29008         expm1.
29009         * math/auto-libm-test-out: Regenerated.
29010         * sysdeps/i386/fpu/libm-test-ulps: Update.
29011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29013         * math/auto-libm-test-in: Add more tests of erf and erfc.
29014         * math/auto-libm-test-out: Regenerated.
29015         * sysdeps/i386/fpu/libm-test-ulps: Update.
29016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29018 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29020         * config.h.in (HAVE_AARCH64_BE): Add.
29022 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29024         * math/auto-libm-test-in: Add more tests of csqrt.
29025         * math/auto-libm-test-out: Regenerated.
29026         * sysdeps/i386/fpu/libm-test-ulps: Update.
29027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29029         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29030         * math/auto-libm-test-out: Regenerated.
29031         * sysdeps/i386/fpu/libm-test-ulps: Update.
29032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29034         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29036 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29038         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29039         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29041         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29042         (euidaccess, eaccess): Define as weak aliases.
29044         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29045         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29046         but __suseconds_t is often 'long int' so some sources assume that
29047         type is being used (e.g. they use %ld to print tv_usec).
29049 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29051         [BZ #18007]
29052         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29053         (CVE-2014-8121)
29054         * nss/tst-nss-getpwent.c: New file.
29055         * nss/Makefile (tests): Add new test.
29057 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29059         [BZ #18346]
29060         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29061         exponents less than 48 as cases where high part of mantissa needs
29062         examining to determine whether argument is integral.
29063         * math/libm-test.inc (round_test_data): Add more tests.
29065 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29067         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29069 2015-04-27  David S. Miller  <davem@davemloft.net>
29071         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29072         __tls_get_addr.
29073         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29075 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29077         [BZ#18333]
29078         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29080 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29082         [BZ#18333]
29083         * time/tzset.c (parse_tzname): Return error on memory allocation
29084         failure.
29085         * test-skeleton.c (struct temp_name_list): Change type of name
29086         member to non-const.
29087         (add_temp_file): Create a copy of the file name.
29088         (delete_temp_files): Deallocate memory.
29089         (create_temp_file): Add comment.
29091 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29093         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29094         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29096 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29098         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29099         * sysdeps/arm/configure: Regenerated.
29101 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29103         [BZ #17715]
29104         * time/tzfile.c (__tzfile_read): Check for large values of
29105         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29106         * time/tzset.c (__tzstring_len): New function, based on the old
29107         __tzstring function.
29108         (__tzstring): Call __tzstring_len.
29109         (parse_tzname): New helper function extracted from
29110         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29111         the input string.
29112         (parse_offset): New helper function extracted from
29113         __tzset_parse_tz.  Replace switch with fallthrough with
29114         initialization before sscanf.
29115         (parse_rule): Likewise.
29116         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29117         new-style function definition.
29118         * timezone/Makefile (tests): Add tst-tzset.
29119         (tst-tzset.out): Dependencies on time zone files.
29120         (tst-tzset-ENV): Set TZDIR.
29121         (testdata/XT%): Copy crafted time zone files.
29122         * timezone/README: Mention crafted time zone files.
29123         * timezone/testdata/XT1, timezone/testdata/XT2,
29124         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29125         files.
29126         * timezone/tst-tzset.c: New test.
29128 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29130         * Makeconfig (+gccwarn): Remove -Winline.
29132 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29134         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29136 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29138         * NEWS: Mention sysconf() cache information support for s390.
29139         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29141 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29143         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29144         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29145         (__nearbyint): Likewise.
29146         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29147         (copysignl): Likewise.
29149 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29151         [BZ #18287]
29152         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29153         based on padding.  (CVE-2015-1781)
29155 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29157         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29158         libc-vdso.h.
29159         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29160         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29161         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29162         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29163         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29164         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29165         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29166         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29167         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29168         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29169         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29170         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29171         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29172         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29173         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29174         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29175         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29176         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29177         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29178         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29179         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29180         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29181         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29183 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29185         * stdlib/setenv.c (__add_to_environ):
29186         Dump core quickly if setenv (..., NULL, ...) is called.
29187         This time, do it the right way, and pacify GCC with a pragma.
29189 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29191         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29192         IMAP->l_prev cannot be null, and #if out the code for the contrary
29193         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29194         believe that NS (&_dl_ns[NSID]) could point outside the array.
29196         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29197         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29198         before using NSID as an index.
29200 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29202         [BZ #17825]
29203         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29204         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29205         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29207 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29209         Add preliminary port to Google Native Client on ARM.
29210         * abi-tags (.*-.*-nacl.*): New entry.
29211         * sysdeps/arm/nacl: New directory.
29212         * sysdeps/nacl: New directory.
29214 2015-04-16  David S. Miller  <davem@davemloft.net>
29216         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29217         lowlevellock-futex.h
29219 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29221         * sysdeps/tile/configure.ac: New file.
29222         * sysdeps/tile/configure: Regenerated.
29224 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29226         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29227         conditionals for weak_alias and libc_hidden_weak.
29228         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29229         libc_hidden_weak and weak_alias.
29230         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29231         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29232         and weak_alias for static one.
29234 2015-04-15  David S. Miller  <davem@davemloft.net>
29236         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29238 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29240         [BZ #18206]
29241         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29242           Use signed comparision instead of substraction to avoid
29243           overflow bug.
29244         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29245           Take the sign of ret.
29246         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29247           Do not expect precise return values. Only the sign matters.
29248         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29249         * wcsmbs/test-wcsncmp.c: New File.
29250         * string/test-strncmp.c: Add wcsncmp support.
29252 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29254         [BZ #6792]
29255         * math/w_log1p.c: New file.
29256         * math/w_log1pf.c: Likewise.
29257         * math/w_log1pl.c: Likewise.
29258         * math/Makefile (libm-calls): Add w_log1p.
29259         * math/s_log1pl.c (log1pl): Remove weak_alias.
29260         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29261         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29262         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29263         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29264         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29265         [NO_LONG_DOUBLE] (log1pl): Likewise.
29266         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29267         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29268         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29269         (log1p): Remove long_double_symbol.
29270         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29271         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29272         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29273         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29274         remove weak_alias for corresponding log1p function.
29275         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29276         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29277         * sysdeps/ia64/fpu/w_log1p.c: New file.
29278         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29279         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29280         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29282 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29284         [BZ #18247]
29285         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29286         decimal exponent by 1.
29287         * stdlib/tst-strtod-round-data: Add more tests.
29288         * stdlib/tst-strtod-round.c (tests): Regenerated.
29290 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29292         * math/auto-libm-test-in: Add more tests of clog and clog10.
29293         * math/auto-libm-test-out: Regenerated.
29294         * sysdeps/i386/fpu/libm-test-ulps: Update.
29295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29297 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29299         * Makeconfig (module-cppflags): Exclude all .v.i files.
29300         (skip-module-cppflags): Variable removed.
29302         * configure.ac (libc_config_ok): Initialize before reading
29303         preconfigure scripts, not after.
29304         * configure: Regenerated.
29306         * test-skeleton.c (TIMEOUT): Move #define to top level.
29307         (main): Grok environment variable TEST_DIRECT.  If set, print
29308         test expectation details into that file and then behave as if
29309         given --direct.
29311 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29313         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29314         warning on 32-bit.
29316 2015-04-08  David S. Miller  <davem@davemloft.net>
29318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29320 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29322         * math/auto-libm-test-in: Add more tests of atanh.
29323         * math/auto-libm-test-out: Regenerated.
29324         * sysdeps/i386/fpu/libm-test-ulps: Update.
29325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29327         * math/auto-libm-test-in: Add more tests of atan.
29328         * math/auto-libm-test-out: Regenerated.
29329         * sysdeps/i386/fpu/libm-test-ulps: Update.
29330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29332 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29334         * elf/pldd.c (main): Rewrite to use struct
29335         scratch_buffer instead of extend_alloca.
29336         * elf/pldd-xx.c (find_maps): Likewise.
29337         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29338         <alloca.h>.
29339         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29340         scratch_buffer instead of extend_alloca.
29341         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29342         grp/compat-initgroups.c.
29343         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29344         Rewrite to use struct scratch_buffer instead of extend_alloca.
29345         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29346         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29348 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29350         * math/auto-libm-test-in: Add more tests of cbrt.
29351         * math/auto-libm-test-out: Regenerated.
29352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29354         * math/auto-libm-test-in: Add more tests of cabs.
29355         * math/auto-libm-test-out: Regenerated.
29356         * sysdeps/i386/fpu/libm-test-ulps: Update.
29357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29359         [BZ #18210]
29360         [BZ #18211]
29361         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29362         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29363         computations.
29364         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29365         clog10.
29366         * math/auto-libm-test-out: Regenerated.
29367         * sysdeps/i386/fpu/libm-test-ulps: Update.
29368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29370         [BZ #18197]
29371         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29372         (atan): Set FE_TONEAREST mode for internal computations.
29373         * math/auto-libm-test-in: Add more tests of atan.
29374         * math/auto-libm-test-out: Regenerated.
29376 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29378         [BZ #17930]
29379         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29381 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29383         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29385 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29387         * include/scratch_buffer.h: New file.
29388         * malloc/scratch_buffer_grow.c: Likewise.
29389         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29390         * malloc/scratch_buffer_set_array_size.c: Likewise.
29391         * malloc/tst-scratch_buffer.c: Likewise.
29392         * malloc/Makefile (routines): Add scratch_buffer_grow.
29393         (tests): Add test case.
29394         * malloc/Versions (GLIBC_PRIVATE): Export
29395         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29396         __libc_scratch_buffer_set_array_size.
29398 2015-04-06  Richard Henderson  <rth@redhat.com>
29400         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29401         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29403         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29404         unsigned int before printing.
29406 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29408         [BZ #17596]
29409         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29410         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29412 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29414         * include/libc-internal.h (libc_max_align_t): Define.
29416 2015-04-02  Andreas Schwab  <schwab@suse.de>
29418         [BZ #16850]
29419         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29421 2015-04-02  Mel Gorman  <mgorman@suse.de>
29423         [BZ #17195]
29424         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29425         as well as the main arena.
29427 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29429         [BZ #18185]
29430         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29431         sharing L2 cache to 2 for Silvermont/Knights Landing.
29433 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29435         [BZ #17711]
29436         * config.make.in (have-protected-data): New.
29437         * configure.ac: Check linker support for protected data symbol.
29438         * configure: Regenerated.
29439         * elf/Makefile (modules-names): Add tst-protected1moda and
29440         tst-protected1modb if $(have-protected-data) is yes.
29441         (tests): Add tst-protected1a and tst-protected1b if
29442         $(have-protected-data) is yes.
29443         ($(objpfx)tst-protected1a): New.
29444         ($(objpfx)tst-protected1b): Likewise.
29445         (tst-protected1modb.so-no-z-defs): Likewise.
29446         * elf/tst-protected1a.c: New file.
29447         * elf/tst-protected1b.c: Likewise.
29448         * elf/tst-protected1mod.h: Likewise.
29449         * elf/tst-protected1moda.c: Likewise.
29450         * elf/tst-protected1modb.c: Likewise.
29452 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29454         [BZ #17711]
29455         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29456         indicates it is called from do_lookup_x on relocation against
29457         protected data, skip the data definion in the executable from
29458         copy reloc.
29459         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29460         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29461         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29462         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29463         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29464         otherwise to 0.
29465         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29466         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29467         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29468         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29469         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29470         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29472 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29474         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29475         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29477 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29479         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29480         THREAD_SETMEM_NC.
29481         * sysdeps/x86_64/nptl/tls.h: Ditto.
29483 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29485         * dlfcn/tststatic.c (main): Converted to ...
29486         (do_test): ... this.
29487         (TEST_FUNCTION): New macro.
29488         Include test-skeleton.c.
29490 2015-03-26  Alan Modra  <amodra@gmail.com>
29492         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29493         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29494         zero for undefined weak.
29495         (elf_machine_plt_conflict): Similarly.
29497 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29499         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29500         atanh.
29501         * math/auto-libm-test-out: Regenerated.
29502         * sysdeps/i386/fpu/libm-test-ulps: Update.
29503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29505         * math/auto-libm-test-in: Add another test of asin.
29506         * math/auto-libm-test-out: Regenerated.
29507         * sysdeps/i386/fpu/libm-test-ulps: Update.
29508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29510         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29511         Remove macro.
29512         (LLL_EBX_REG): Likewise.
29513         (LLL_ENTER_KERNEL): Likewise.
29515         * math/auto-libm-test-in: Add more tests of asin.
29516         * math/auto-libm-test-out: Regenerated.
29517         * sysdeps/i386/fpu/libm-test-ulps: Update.
29518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29520         [BZ #18138]
29521         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29522         libc_do_syscall_args): New structure.
29523         (INTERNAL_SYSCALL_MAIN_0): New macro.
29524         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29525         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29526         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29527         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29528         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29529         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29530         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29531         Replace conditional definitions by conditional definitions of ....
29532         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29533         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29534         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29535         (libpthread-sysdep_routines): Add libc-do-syscall.
29536         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29537         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29538         to __NR_futex not 240.
29540 2015-03-25  Alan Modra  <amodra@gmail.com>
29542         * NEWS: Advertise TLS optimization.
29543         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29544         (DT_PPC_NUM): Increment.
29545         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29546         (CHECK_STATIC_TLS): Use here.
29547         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29548         TLS descriptors.
29549         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29550         * sysdeps/powerpc/dl-tls.c: New file.
29551         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29552         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29553         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29554         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29559 2015-03-25  Alan Modra  <amodra@gmail.com>
29561         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29562         for overlapping .opd entries" to "support...".
29563         * sysdeps/powerpc/powerpc64/configure: Regenerate
29565 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29567         * math/auto-libm-test-in: Add more tests of acos.
29568         * math/auto-libm-test-out: Regenerated.
29569         * sysdeps/i386/fpu/libm-test-ulps: Update.
29570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29572         * math/auto-libm-test-in: Add more tests of expm1.
29573         * math/auto-libm-test-out: Regenerated.
29574         * sysdeps/i386/fpu/libm-test-ulps: Update.
29575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29577 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29579         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29580         * math/auto-libm-test-out: Regenerated.
29581         * sysdeps/i386/fpu/libm-test-ulps: Update.
29582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29584         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29587         * math/auto-libm-test-in: Add more tests of log2.
29588         * math/auto-libm-test-out: Regenerated.
29589         * sysdeps/i386/fpu/libm-test-ulps: Update.
29590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29592 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29594         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29595         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29596         _IO_IS_APPENDING bit in READ_WRITE instead.
29598 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29600         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29601         (__determine_cpumask_size): Replace extend_alloca with a
29602         variable-length array.  Do not treat res == 0 as an error.
29604 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29606         [BZ #18100]
29607         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29608         and integer overflow.
29609         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29610         (main): Add integer overflow tests.
29611         * manual/pattern.texi (Calling Wordexp): Document additional use
29612         for WRDE_SYNTAX.
29614 2015-03-23  Alan Modra  <amodra@gmail.com>
29616         * config.h.in: Remove HAVE_ASM_PPC_REL16.
29617         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29618         and false branch of conditional.
29619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29620         Likewise.
29622 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
29624         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29625         libc-modules.h
29626         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29627         unused declaration of _hurd_intr_rpc_msg_in_trap.
29628         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29629         defined instead of whether it is non-zero.
29630         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29631         input constraint instead of both input and output constraint.  Use ecx
29632         clobber instead of %ecx.
29633         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29634         mutex_unlock): Use a statement expression instead of an expression list.
29635         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29636         type to vm_size_t instead of vm_address_t.
29637         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
29638         defined instead of whether it is non-zero.
29639         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
29640         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
29641         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29642         comparisons with mapaddr.
29643         * nscd/nscd-client.h: Include <time.h>.
29644         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
29645         9th parameter to __vm_region instead of int.
29646         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
29647         * scripts/check-local-headers.sh (exclude): Add device/,
29648         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
29649         cthreads.h.
29651 2015-03-19  Roland McGrath  <roland@hack.frob.com>
29653         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29654         to account for alignment padding.
29655         * sysdeps/arm/memmove.S: Likewise.
29657 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
29659         * sysdeps/unix/sysv/linux/generic/README: New file.
29661 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
29663         [BZ #18138]
29664         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
29665         (futex_abstimed_wait)
29666         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
29667         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
29668         of lll_futex_timed_wait.
29670 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
29672         [BZ #17542]
29673         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
29675 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
29677         [BZ #17090]
29678         [BZ #17620]
29679         [BZ #17621]
29680         [BZ #17628]
29681         * NEWS: Update.
29682         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
29683         entries with Static TLS too.  Skip entries past the end of the
29684         allocated DTV, from Alan Modra.
29685         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
29686         Static TLS DTV entry set up from...
29687         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
29688         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
29689         * nptl/allocatestack.c (init_one_static_tls): ... and here...
29690         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
29691         for Static TLS.
29692         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
29693         that the slot we find is associated with the given map before
29694         using its generation count.
29695         * nptl_db/db_info.c: Include ldsodefs.h.
29696         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
29697         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29698         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
29699         (link_map::l_tls_offset): New struct field.
29700         (dtv_t::counter): Likewise.
29701         (rtld_global): New struct.
29702         (_rtld_global): New rtld variable.
29703         (dl_tls_dtv_slotinfo_list): New rtld global field.
29704         (dtv_slotinfo_list): New struct.
29705         (dtv_slotinfo): Likewise.
29706         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
29707         (td_lookup): Rename to...
29708         (td_mod_lookup): ... this.  Use new mod parameter instead of
29709         LIBPTHREAD_SO.
29710         * nptl_db/td_thr_tlsbase.c: Include link.h.
29711         (dtv_slotinfo_list, dtv_slotinfo): New functions.
29712         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
29713         addresses even if the DTV is out of date or missing them.
29714         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
29715         index zero-length arrays.
29716         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
29717         (td_lookup): Make it a macro implemented in terms of...
29718         (td_mod_lookup): ... this declaration.
29719         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
29720         (DB_MAIN_VARIABLE): Likewise.
29722 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29724         [BZ #18134]
29725         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29727 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
29729         * stdlib/setenv.c (__add_to_environ): Revert previous change.
29731 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
29733         [BZ #18128]
29734         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
29735         (atomic_add, atomic_increment_and_test)
29736         (atomic_decrement_and_test): Fix 64-bit arithmetic.
29738 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
29740         * stdlib/setenv.c (__add_to_environ):
29741         Dump core quickly if setenv (..., NULL, ...) is called.
29743 2015-03-13  Roland McGrath  <roland@hack.frob.com>
29745         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
29746         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
29747         all the necessary asm magic in one place.
29748         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
29749         using those.
29751 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
29753         [BZ #14906]
29754         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
29755         traced file mtime. Use consistent log message.
29756         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
29757         (register_traced_file): Call install_watches. Always set mtime.
29758         (invalidate_cache): Iterate over all trace files. Call install_watches.
29759         (inotify_check_files): Don't inline. Handle watching parent
29760         directories and configuration file movement in and out.
29761         (handle_inotify_events): New function.
29762         (main_loop_poll): Call handle_inotify_events.
29763         (main_loop_epoll): Likewise.
29764         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
29765         (struct traced_file): Use array of inotify fds. Add parent directory,
29766         and basename.
29767         (struct database_dyn): Remove unused file_mtime.
29768         (init_traced_file): New inline function.
29769         (define_traced_file): New macro.
29770         * nss/nss_db/db-init.c: Use define_traced_file.
29771         (_nss_db_init): Use init_traced_file.
29772         * nss/nss_files/files-init.c: Use define_traced_file.
29773         (_nss_files_init): Use init_traced_file.
29775 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
29777         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
29778         [_LIBC]: Do not include <stdlib.h>.
29779         [!_LIBC] (abort): Remove declaration.
29780         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
29781         _FP_STATIC_ASSERT instead of conditionally calling abort.
29782         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
29783         (_FP_EXTEND_CNAN): Likewise.
29784         (FP_TRUNC): Likewise.
29785         (__FP_CLZ): Likewise.
29786         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
29788 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
29790         * manual/string.texi (XPG basename): Fix prototype.
29792 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29794         [BZ #18080]
29795         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
29796         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29797         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
29798         (__setcontext): Likewise.
29799         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
29800         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29801         Call rt_sigprocmask syscall one time to set new signal mask
29802         and retrieve the current signal mask instead of two calls.
29803         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
29804         (__swapcontext): Likewise.
29805         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
29806         * stdlib/tst-setcontext2.c: New file.
29808 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29810         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29812 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
29814         [BZ #18093]
29815         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
29816         the wrong size.
29818 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29820         [BZ #18043]
29821         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
29823 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29825         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
29826         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
29827         Remove define.
29828         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
29829         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
29830         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
29831         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
29832         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
29833         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
29834         define.
29835         * nptl_db/td_symbol_list.c (td_lookup): Remove
29836         HAVE_ASM_GLOBAL_DOT_NAME code.
29837         * sysdeps/powerpc/powerpc64/configure.ac: Remove
29838         HAVE_ASM_GLOBAL_DOT_NAME check.
29839         * sysdeps/powerpc/powerpc64/configure: Regenerate.
29840         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
29841         (DOT_LABEL): Remove define.
29842         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
29843         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
29844         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
29845         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
29846         (__TLS_GET_ADDR): Likewise.
29847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
29848         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
29850 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
29852         [BZ #18111]
29853         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
29854         (_FPU_SETCW): Initialize cw from fpsr before storing.
29855         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
29856         (fesetexceptflag): Rewrite using fpu_control.h.
29857         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
29859 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
29861         [BZ #18110]
29862         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
29863         asms.
29864         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29866 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
29868         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
29869         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
29870         abort.
29871         (_FP_FMA): Likewise.
29872         (_FP_DIV): Likewise.
29874 2015-03-10  Roland McGrath  <roland@hack.frob.com>
29876         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
29877         with 0 in that case.
29878         * Makefile (summarize-tests): New canned sequence, factored out of
29879         commands for targets tests and xtests.  Display summary lines that
29880         don't start with PASS: or XFAIL: rather than ones that do start with
29881         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
29882         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
29883         do start with ERROR: or FAIL:.
29884         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
29885         (except for [$(build-shared) = yes]).
29886         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
29887         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
29888         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
29889         * nptl/Makefile: Revert 2015-03-04 changes.
29890         [$(CXX) empty] (tests-unsupported): New variable.
29891         * debug/Makefile: Likewise.
29893         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
29894         gnulib file.  Replace __attribute with __attribute__ throughout.
29896 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
29898         * sysdeps/hppa/fpu/libm-test-ulps: Update.
29900 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
29902         [BZ #18104]
29903         * math/auto-libm-test-in: Add another test of pow.
29904         * math/auto-libm-test-out: Regenerated.
29906 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29908         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
29909         $(config-cflags-nofma).
29911 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
29913         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
29914         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
29915         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
29916         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
29917         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
29918         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
29919         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
29920         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
29921         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
29922         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
29923         Add comment on closing #endif.
29925 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29927         * posix/wordexp.c (CHAR_IN_SET): New macro.
29928         (parse_param): Use it.
29930 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29932         * sysdeps/powerpc/fpu/libm-test-ulps: update.
29934 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29936         [BZ #18043]
29937         * posix/wordexp.c (parse_param): Fix buffer overflow.
29938         * posix/wordexp-test.c (test_case): Add test case.
29940 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29942         [BZ #18042]
29943         * posix/wordexp.c (parse_backtick): Fix off-by-one.
29944         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
29946 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
29948         [BZ #18043]
29949         * posix/wordexp-test.c (test_case): Add test for BZ #18043
29950         (do_bz18043): Delete.
29951         (at_page_end): New.
29952         (testit): Refactor to have words at the edge of unreadable page.
29954 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29956         [BZ #16734]
29957         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
29958         Cleanup read-only streams as well.
29959         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
29961 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29963         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
29964         <bits/libc-lockP.h>
29966 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
29968         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
29969         on [__KERNEL__].
29970         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
29971         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
29972         * soft-fp/op-common.h (_FP_DECL): Likewise.
29974 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
29976         * elf/ifuncdep2.c (global): Replace
29977         __attribute__((visibility("protected"))) with
29978         asm (".protected global").
29979         * elf/ifuncmod1.c (global): Likewise.
29980         * elf/ifuncmod5.c (global): Likewise.
29982 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
29984         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
29985         <asm/sfp-machine.h> instead of <sfp-machine.h>.
29987 2015-03-06  Roland McGrath  <roland@hack.frob.com>
29989         * manual/install.texi (Configuring and compiling):
29990         Document test-wrapper-env-only.
29991         * INSTALL: Regenerated.
29993 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29995         [BZ #18043]
29996         * posix/wordexp.c (parse_param): Fix buffer overflow.
29997         * posix/wordexp-test.c (do_bz18043): Add test case.
29999 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30001         * time/tst-strptime2.c (do_test): Ensure failing tests are
30002         reported correctly.
30003         * time/tst-strptime3.c (do_test): Likewise.
30005 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30007         Fix aio_error thread-safety.
30008         * sysdeps/pthread/aio_error.c: New file
30009         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30010         synchronization.
30012 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30014         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30015         (group_number, vfprintf): Use it.
30016         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30017         (JUMP, REF): Use it.
30018         (WORK_BUFFER_SIZE): New enum constant.
30019         (process_arg, vfprintf): Use it.
30021 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30023         * manual/errno.texi (Error Messages): Complete example function
30024         by adding missing #define.
30025         (program_invocation_name): Add statement indicating GNU
30026         extension and reference which header file declares the variable.
30027         (program_invocation_short_name): Likewise.
30029 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30031         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30032         compatibility note.
30034 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30036         * Makeconfig (test-wrapper-env-only): New variable.
30037         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30038         then use that with $(test-wrapper-env-only) rather than using
30039         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30041 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30043         [BZ #18082]
30044         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30045         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30046         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30047         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30048         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30049         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30050         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30051         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30052         Likewise.
30053         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30054         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30055         Likewise.
30056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30057         Likewise.
30058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30059         Likewise.
30060         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30061         Likewise.
30062         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30063         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30064         Likewise.
30065         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30066         Likewise.
30067         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30068         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30070 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30072         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30073         (ETH_ALEN): New macro.
30074         (struct ether_addr): Use it for length of ether_addr_octet.
30076         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30077         (setdb): Don't call __nss_configure_lookup for "rpc".
30078         (do_test): Don't call test_rpc.
30079         (output_rpcent, test_rpc): Functions moved ...
30080         * sunrpc/test-rpcent.c: ... to this new file.
30081         * sunrpc/Makefile (tests): Add it.
30083         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30084         __xpg_sigpause.
30085         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30086         * nptl/tst-signal6.c: Likewise.
30087         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30088         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30090         * configure.ac (libc_cv_cxx_link_ok): New check.
30091         Reset CXX to empty if it fails to link.
30092         * configure: Regenerated.
30093         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30094         bug-atexit3-lib only if $(CXX) is nonempty.
30095         * nptl/Makefile (tests): Likewise for tst-cancel24.
30096         (tests, tests-static): Likewise for tst-cancel24-static.
30097         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30098         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30099         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30100         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30102 2015-03-04  Andreas Schwab  <schwab@suse.de>
30104         [BZ #17631]
30105         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30106         for non-GCC compilers.
30107         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30108         Likewise.
30110 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30112         [BZ #17776]
30113         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30114         integer before bitwise and assembly operations.
30115         (feclearexcept): Likewise.
30116         * math/test-fenvinline.c: New file.
30117         * math/Makefile: Add test-fenvinline test.
30119 2015-03-03  Alan Modra  <amodra@gmail.com>
30121         [BZ #16512]
30122         * scripts/localplt.awk: Strip off symbol version.
30123         * NEWS: Mention bug fix.
30125 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30127         * sysdeps/pthread/timer_routines.c
30128         (timer_free_list, thread_free_list, thread_active_list): Make static.
30130 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30132         [BZ #17779]
30133         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30134         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30135         Undefine.
30136         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30137         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30138         Likewise.
30139         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30140         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30141         Likewise.
30143 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30145         [BZ #18036]
30146         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30147         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30149 2015-03-02  Andreas Schwab  <schwab@suse.de>
30151         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30152         variable name.
30154 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30156         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30157         Return error status.
30159 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30161         [BZ #15969]
30162         * locale/findlocale.c (_nl_find_locale): Introduce const
30163         version of loc_name and drop unsafe type casts.
30165 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30167         * dlfcn/tststatic2.c (main): Converted to ...
30168         (do_test): ... this.
30169         (TEST_FUNCTION): New macro.
30170         Include test-skeleton.c.
30172 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30174         [BZ #17711]
30175         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30176         (tests-pie): Add vismain.
30177         (CFLAGS-vismain.c): New.
30178         * elf/vismain.c: Add comments for PIE requirement.
30180 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30182         [BZ #18046]
30183         [BZ #18047]
30184         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30185         0x1p-56L as threshold for just returning the argument.
30186         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30187         0x1p-32L as threshold for just returning the argument.
30188         * math/auto-libm-test-in: Add more tests of atanh.
30189         * math/auto-libm-test-out: Regenerated.
30190         * sysdeps/i386/fpu/libm-test-ulps: Update.
30191         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30193 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30195         * string/bcopy.c (bcopy): Call memmove for performance.
30197 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30199         * string/bzero.c (__bzero): Call memset for performance.
30201 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30203         [BZ #18068]
30204         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30205         to 00100000.
30207 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30209         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30211 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30213         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30214         (__kernel_standard): Use CSTR macro when setting exc.name.
30215         * sysdeps/ieee754/Makefile [$(subdir) = math]
30216         (CFLAGS-k_standard.c): Remove variable.
30218         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30219         setting p and q from "else if" to "else".
30220         (qzero): Likewise.
30221         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30222         (qone): Likewise.
30223         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30224         (qzerof): Likewise.
30225         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30226         (qonef): Likewise.
30227         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30228         (qzero): Likewise.
30229         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30230         (qone): Likewise.
30232         [BZ #18038]
30233         [BZ #18039]
30234         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30235         return pi/2 for arguments below 0x1p-113L.
30236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30237         return pi/2 for arguments below 0x1p-106L.
30238         * math/auto-libm-test-in: Add more tests of acos.
30239         * math/auto-libm-test-out: Regenerated.
30241         [BZ #16351]
30242         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30243         (MO): New macro.
30244         (__ieee754_asin): Force underflow exception for results with small
30245         absolute value.
30246         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30247         (MO): New macro.
30248         (__ieee754_asinf): Force underflow exception for results with
30249         small absolute value.
30250         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30251         (__ieee754_asin): Force underflow exception for results with small
30252         absolute value.
30253         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30254         (__ieee754_asinf): Force underflow exception for results with
30255         small absolute value.
30256         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30257         (__ieee754_asinl): Force underflow exception for results with
30258         small absolute value.
30259         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30260         (__ieee754_asinl): Force underflow exception for results with
30261         small absolute value.
30262         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30263         (__ieee754_asinl): Force underflow exception for results with
30264         small absolute value.
30265         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30266         Include <math.h>.
30267         * math/auto-libm-test-in: Do not mark underflow exceptions as
30268         possibly missing for bug 16351.
30269         * math/auto-libm-test-out: Regenerated.
30271         [BZ #18030]
30272         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30273         of power of 2 down when low part has opposite sign.
30274         * math/libm-test.inc (logb_test_data): Add more tests.
30276 2015-02-26  Andreas Schwab  <schwab@suse.de>
30278         [BZ #18032]
30279         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30280         over collating symbol inside a bracket expression.  Minor cleanup.
30281         * posix/tst-fnmatch3.c (do_test): Add test case.
30283 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30285         [BZ #18029]
30286         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30287         Adjust exponent of power of 2 down when low part has opposite
30288         sign.
30289         * math/libm-test.inc (ilogb_test_data): Add more tests.
30291 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30293         [BZ #15969]
30294         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30295         the previous change.
30297         [BZ #15969]
30298         * locale/findlocale.c (_nl_find_locale): Retry archive search
30299         after alias expansion.
30301 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30303         * iconv/tst-iconv3.c (main): Converted to ...
30304         (do_test): ... this.
30305         (TEST_FUNCTION): New macro.
30306         Include test-skeleton.c.
30308         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30309         (convert): Make function static.
30310         (test_unalign): Likewise.  Add const to argument pointee types.
30311         (main): Replace with static function do_test.
30312         Print "Succeeded." only if RET is zero.
30313         (TEST_FUNCTION): New macro.
30314         Include test-skeleton.c.
30316         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30317         returns a null pointer.
30319 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30321         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30322         to __memcpy_ppc only for static builds.
30324 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30326         [BZ #18020]
30327         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30328         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30329         * math/auto-libm-test-in: Add more tests of asinh.
30330         * math/auto-libm-test-out: Regenerated.
30331         * sysdeps/i386/fpu/libm-test-ulps: Update.
30332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30334 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30336         [BZ #15850]
30337         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30338         and ip6_mtuinfo definitions here.
30339         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30340         in this define too.  Update comment.
30342 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30344         * elf/sprof.c (load_shobj): Tweak error message to match others.
30346 2015-02-24  Kevin Easton  <kevin@guarana.org>
30348         [BZ #16145] (partial fix)
30349         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30350         to reduce lock contention.
30352 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30354         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30355         (struct timex): Update time comment.
30356         (ADJ_SETOFFSET): Define.
30358 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30360         [BZ #18019]
30361         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30362         2**56 not 2**28 as threshold for log (2x) formula.
30363         * math/auto-libm-test-in: Add more tests of acosh.
30364         * math/auto-libm-test-out: Regenerated.
30365         * sysdeps/i386/fpu/libm-test-ulps: Update.
30366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30368 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30370         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30371         parenthesis around the buf assignment.
30372         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30374 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30376         [BZ #16783]
30377         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30378         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30379         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30380         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30381         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30382         * math/libm-test.inc (scalb_test_data): Add more tests.
30384 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30386         [BZ #17916]
30387         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30388         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30390 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30392         [BZ #17523]
30393         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30394         * io/bits/fcntl2.h (open): Use it.
30395         (openat): Likewise.
30396         * io/open.c (__libc_open): Likewise.
30397         * io/open64.c (__libc_open64): Likewise.
30398         * io/open64_2.c (__open64_2): Likewise.
30399         * io/open_2.c (__open_2): Likewise.
30400         * io/openat.c (__openat): Likewise.
30401         * io/openat64.c (__openat64): Likewise.
30402         * io/openat64_2.c (__openat64_2): Likewise.
30403         * io/openat_2.c (__openat_2): Likewise.
30404         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30405         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30406         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30407         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30408         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30409         (__open_nocancel): Likewise.
30410         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30411         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30412         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30414 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30416         [BZ #14841]
30417         * resolv/gethnamaddr.c (getanswer): Skip logging if
30418         RES_USE_DNSSEC is set.
30419         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30421 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30423         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30425 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30427         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30428         201304L, for Unicode 7.
30430 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30432         [BZ #17836]
30433         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30434         shared library.  Add gmon-start.os otherwise.
30435         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30436         $(objpfx)gmon-start.os if builing shared library.
30437         ($(objpfx)g$(static-start-installed-name)): Likewise.
30439 2015-02-23  Andreas Schwab  <schwab@suse.de>
30441         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30443 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30445         [BZ #17269]
30446         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30447         (enlarge_userbuf): Likewise.
30449 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30451         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30452         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30453         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30454         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30456 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30458         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30459         expression inside statement expression.
30461 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30463         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30464         <sysdeps/nptl/lowlevellock.h> and remove macros and
30465         functions that are now defined there.
30466         (SYS_futex): Remove.
30467         (lll_compare_and_swap): Remove.
30468         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30470 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30472         [BZ #17999]
30473         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30474         instead of scandirat.
30475         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30476         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30477         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30478         __scandirat.
30479         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30480         (__scandirat): Declare.  Use libc_hidden_proto.
30481         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30482         Remove variable.
30483         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30485 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30487         [BZ #15319]
30488         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30489         (MO): New macro.
30490         (__ieee754_atan2): For results with small absolute value, force
30491         underflow exception and remove excess range and precision from
30492         return value.
30493         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30494         (MO): New macro.
30495         (__ieee754_atan2f): For results with small absolute value, force
30496         underflow exception and remove excess range and precision from
30497         return value.
30498         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30499         (MO): New macro.
30500         (__atan): For results with small absolute value, force underflow
30501         exception and remove excess range and precision from return value.
30502         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30503         (MO): New macro.
30504         (__atanf): For results with small absolute value, force underflow
30505         exception and remove excess range and precision from return value.
30506         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30507         <math.h>.
30508         (__ieee754_atan2): Force underflow exception for results with
30509         small absolute value.
30510         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30511         <math_private.h>.
30512         (atan): Force underflow exception for results with small absolute
30513         value.
30514         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30515         (__atanf): Force underflow exception for results with small
30516         absolute value.
30517         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30518         <math.h>.
30519         (__atanl): Force underflow exception for results with small
30520         absolute value.
30521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30522         (__atanl): Force underflow exception for results with small
30523         absolute value.
30524         * sysdeps/x86/fpu/bits/mathinline.h
30525         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30526         (__ieee754_atan2): Only define inline for long double.
30527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30528         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30529         * math/auto-libm-test-in: Do not mark underflow exceptions as
30530         possibly missing for bug 15319.  Add more tests of atan2.
30531         * math/auto-libm-test-out: Regenerated.
30532         * math/libm-test.inc (casin_test_data): Do not mark underflow
30533         exceptions as possibly missing for bug 15319.
30534         (casinh_test_data): Likewise.
30535         * sysdeps/i386/fpu/libm-test-ulps: Update.
30537 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30539         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30540         * sysdeps/mips/bits/endian.h: Fix comments.
30542 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30544         [BZ #17996]
30545         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30546         (hdestroy_r): Likewise.
30547         (hsearch_r): Likewise.
30548         (__hcreate_r): Declare and use libc_hidden_proto.
30549         (__hdestroy_r): Likewise.
30550         (__hsearch_r): Likewise.
30551         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30552         (hcreate): Call __hcreate_r instead of hcreate_r.
30553         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30554         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30555         as weak alias of __hcreate_r.
30556         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30557         __hdestroy_r.
30558         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30559         __hsearch_r.
30560         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30561         Remove variable.
30562         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30563         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30564         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30565         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30567 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30569         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30570         arena_lock into a single arena_get.
30572 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30574         * dl-reloc.c: Inlucde libc-internal.h.
30575         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30576         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30577         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30578         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30579         (grow_heap): Likewise.
30580         * malloc/malloc.c: Include libc-internal.h.
30581         (do_check_malloc): Call powerof2.
30582         (sysmalloc): Use pagesize. Call ALIGN_UP.
30583         (systrim): Use pagesize.
30584         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30585         (__libc_valloc): Use pagesize.
30586         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30588 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30590         [BZ #17991]
30591         * include/sys/resource.h (__getrlimit64): Declare.  Use
30592         libc_hidden_proto.
30593         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30594         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30595         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30596         getrlimit64.
30597         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30598         __getrlimit64.
30599         [!getrlimit64] (getrlimit64): Define as weak alias of
30600         __getrlimit64.  Use libc_hidden_weak.
30601         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30602         using __getrlimit64 not __new_getrlimit64.
30603         (__GI_getrlimit64): Likewise.
30604         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30605         Likewise.
30606         (__GI_getrlimit64): Likewise.
30607         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30609         (getrlimit): Add __getrlimit64 alias.
30610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30611         Likewise.
30612         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30613         Remove variable.
30614         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30615         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30617 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
30619         * libio/fileops.c: Add missing sys/mman.h
30620         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30622 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30624         * manual/math.texi (Errors in Math Functions): Clarify goals
30625         regarding inexact and underflow exceptions.
30627 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30629         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30630         * sysdeps/mips/memset.S: Ditto.
30632 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30634         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30636 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30638         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
30639         (__v1longjmp): Remove versioned symbol.
30640         (__v1siglongjmp): Remove alias and versioned symbol.
30641         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
30642         (__v2siglongjmp): Likewise.
30644 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30646         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
30648 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
30650         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
30652 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30654         [BZ #17987]
30655         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30656         zero result does not depend on the sign resulting from
30657         subtraction.
30658         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30659         Likewise.
30660         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30661         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30662         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30663         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30664         * math/libm-test.inc (remquo_test_data): Add more tests.
30666 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
30668         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
30669         Problem reported by J William Piggott.
30671 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30673         [BZ #17978]
30674         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
30675         products 4 * y and 2 * y where those would overflow.
30676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30677         Likewise.
30678         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30679         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30680         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30681         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30682         * math/libm-test.inc (remquo_test_data): Add more tests.
30684         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
30686         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
30687         [defined _COMPILING_NEWLIB].
30688         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
30689         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
30691         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
30692         [!defined __mips_isa_rev || __mips_isa_rev < 6].
30694 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30696         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
30697         acquired.
30699 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
30701         [BZ #17792]
30702         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
30703         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
30704         HOST_STACK_END_ADDR): Likewise.
30706 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
30708         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
30709         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
30710         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30712 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30714         * sysdeps/generic/c++-types.data: New file.
30715         * sysdeps/generic/ld.abilist: New file.
30716         * sysdeps/generic/libBrokenLocale.abilist: New file.
30717         * sysdeps/generic/libanl.abilist: New file.
30718         * sysdeps/generic/libc.abilist: New file.
30719         * sysdeps/generic/libcrypt.abilist: New file.
30720         * sysdeps/generic/libdl.abilist: New file.
30721         * sysdeps/generic/libm.abilist: New file.
30722         * sysdeps/generic/libpthread.abilist: New file.
30723         * sysdeps/generic/libresolv.abilist: New file.
30724         * sysdeps/generic/librt.abilist: New file.
30726 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30728         [BZ #17569]
30729         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30730         Compute absolute value of x as modified by fmod, not original
30731         value of x.
30732         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
30733         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
30734         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
30735         RUN_TEST_ffI_f1_mod8.
30736         (remquo_test_data): Add more tests.
30738 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30740         * sysdeps/init_array/pt-crti.S: New file.
30742 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30744         [BZ #17967]
30745         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
30746         __builtin_fmaf instead of relying on contraction of a * b + c.
30748 2015-02-12  J William Piggott  <elseifthen@gmx.com>
30750         [BZ #17969]
30751         * manual/time.texi: correct the zoneinfo path in the TZ Variable
30752         node.
30754 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30756         [BZ #17964]
30757         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
30758         __builtin_fma instead of relying on contraction of a * b + c.
30760 2015-02-12  Roland McGrath  <roland@hack.frob.com>
30762         * Makeconfig (ASFLAGS): Add -Werror=undef.
30763         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
30764         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
30765         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
30767         * Makeconfig (after-link): New variable.
30768         (+link-pie, +link-pie-tests): Use it.
30769         (+link-static, +link-static-tests): Likewise.
30770         (+link, +link-tests): Likewise.
30771         * Makerules (build-module, build-module-asneeded): Likewise.
30772         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
30773         Likewise.
30774         * elf/Makefile ($(objpfx)ld.so): Likewise.
30776 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
30778         [BZ #17965]
30779         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
30780         both struct timeval and struct timespec.
30782 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30784         [BZ #16560]
30785         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30786         and redefine.
30787         (__ieee754_exp2l): Do not multiply small fractional parts by
30788         M_LN2l.
30789         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
30790         small argument.
30791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30792         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30793         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
30794         * math/auto-libm-test-in: Add more tests of exp2.
30795         * math/auto-libm-test-out: Regenerated.
30797 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30799         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
30800         unaligned path.
30802 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30804         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
30805         little endian.
30807 2015-02-12  Andreas Schwab  <schwab@suse.de>
30809         [BZ #15790]
30810         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
30811         Filter out elision flags from value returned in kind.
30812         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
30813         * nptl/tst-pthread-mutexattr.c: New file.
30815 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30817         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
30818         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
30819         into gnu-gnu, and update comment to refer to abi-tags.
30821 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #15467]
30824         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
30825         (__sincos): Set errno to EDOM for infinite argument.
30826         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
30827         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
30828         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
30829         (__sincosl): Set errno to EDOM for infinite argument.
30830         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
30831         (__sincosl): Set errno to EDOM for infinite argument.
30832         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
30833         (__sincosl): Set errno to EDOM for infinite argument.
30834         * math/libm-test.inc (sincos_test_data): Test errno setting.
30836 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
30838         * string/strxfrm_l.c: Remove #define STRCMP.
30839         * string/strcoll_l.c: Remove #define STRLEN.
30840         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
30841         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
30843 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
30845         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
30846         * sysdeps/mips/mips32/sfp-machine.h: ... here.
30847         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
30848         * sysdeps/mips/mips64/Makefile: ... here.
30849         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
30850         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
30851         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
30852         * sysdeps/mips/mips64/sfp-machine.h: ... here.
30853         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
30854         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
30855         * sysdeps/mips/mips64/n64/Implies: Likewise.
30857 2015-02-10  Roland McGrath  <roland@hack.frob.com>
30859         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
30860         <sys/time.h>, <string.h>, and <errno.h>.
30861         (dest_offset, dest_address, value, zero): Remove unused variables.
30862         (ldouble): Remove typedef.
30863         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
30864         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
30865         1).  Fix code style.
30866         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
30867         (check): Function removed.
30868         (CHECK): New macro.
30869         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
30870         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
30871         Don't call set_sigaction_FP and remove_sigaction_FP here.
30872         (ldouble_test): Just use 'long double' as macro argument, no need for
30873         the 'ldouble' typedef.
30874         (do_test): Set up SIGFPE handler at start, using plain signal rather
30875         than sigaction.  Fix code style.
30877 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
30879         [BZ #17949]
30880         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
30881         jump label.
30883 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30885         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
30886         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30888         * sysdeps/powerpc/configure.ac: Remove file.
30889         * sysdeps/powerpc/configure: Likewise.
30891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30892         [sysdep_routines]: Remove wordcopy-power6 object.
30893         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30894         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
30895         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
30896         (__memmove_ppc32): Likewise.
30897         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
30898         file.
30899         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
30900         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
30901         Remove preprocessor.
30903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
30904         [sysdep_routines]: Remove wide chars objects.
30905         [wcsmbs]: New rule for wide char objects.
30907         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30908         Remove wordcopy-power6 obejct.
30909         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
30910         Use local call for wordcopy and memcpy symbols.
30911         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
30912         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
30913         implementation for loader.
30914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
30916         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30917         Remove wordcopy-power7 object.
30918         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
30919         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
30920         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
30921         (_wordcopy_fwd_dest_aligned): Likewise.
30922         (_wordcopy_bwd_aligned): Likewise.
30923         (_wordcopy_bwd_dest_aligned): Likewise.
30925         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
30926         Rewrite to call __memmove_ppc instead of include default
30927         implementation.
30929         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30930         Remove wide chars objects.
30931         [wcsmbs]: New rule for wide char objects.
30933 2015-02-09  Andreas Schwab  <schwab@suse.de>
30935         [BZ #17912]
30936         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30937         in terms of __O_DIRECTORY.
30939 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30941         * time/getdate.c: Include <stdbool.h>.
30942         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
30943         call PTR_MANGLE.
30944         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
30945         PTR_DEMANGLE.
30947 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
30949         Add ersatz _Static_assert on older C hosts
30950         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
30951         pre-C11 C platform that is not known to support _Static_assert.
30953 2015-02-07  Richard Braun  <rbraun@sceen.net>
30955         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
30956         sigstate.
30957         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
30959 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30961         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
30962         priority against unexistent AIO_PRIO_DELTA_MAX.
30963         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
30964         instead of int.
30965         * misc/fchflags.c (fchflags): Likewise.
30966         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
30967         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
30968         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
30969         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
30970         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
30971         Declare macros.
30972         [__USE_MISC] (chflags, fchflags): Declare functions.
30973         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
30974         EINVAL when nfds is greater than FD_SETSIZE.
30975         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
30976         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
30977         45.
30978         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
30979         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
30980         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
30981         MACH_RCV_TIMED_OUT.
30982         * hurd/hurd/signal.h (_hurd_self_sigstate,
30983         _hurd_critical_section_lock, _hurd_critical_section_unlock):
30984         Explicit casts from void *.
30985         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
30986         * abi-tags: Rename gnu-gnu os into gnu.
30988         [BZ #4719]
30989         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
30990         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
30991         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
30992         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
30993         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
30994         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
30996         [BZ #17944]
30997         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
30998         duplicates ADDR->sun_path with sockaddr LEN limitation.
30999         * sysdeps/mach/hurd/connect.c: Include <string.h>
31000         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31001         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31002         * sysdeps/mach/hurd/sendto.c: Likewise.
31003         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31004         implementing it by hand.
31006 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31008         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31009         Use sfi_breg on ldr.
31010         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31011         Likewise.
31013         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31014         it's defined.
31015         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31016         Test SIGSETXID only if it's defined.
31018         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31020         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31021         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31023         * nptl/tst-align2.c: Moved ...
31024         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31025         * nptl/Makefile (tests): Remove tst-align2.
31026         * sysdeps/unix/sysv/linux/Makefile
31027         [$(subdir) = nptl] (tests): Add tst-align-clone.
31028         * nptl/tst-getpid1.c: Moved ...
31029         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31030         * nptl/tst-getpid2.c: Moved ...
31031         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31032         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31033         * sysdeps/unix/sysv/linux/Makefile
31034         [$(subdir) = nptl] (tests): ... here.
31035         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31036         * sysdeps/unix/sysv/linux/Makefile
31037         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31039         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31040         Drop trailing \n from perror argument.  Use return rather than exit.
31042         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31043         on [SA_SIGINFO].
31044         * nptl/tst-cancel21.c (do_test): Likewise.
31045         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31046         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31047         [!SA_SIGINFO]: Make it a stub test.
31049         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31050         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31052         * posix/tst-getlogin.c: Move to ...
31053         * login/tst-getlogin.c: ... here.
31054         * posix/Makefile (tests): Move tst-getlogin to ...
31055         * login/Makefile (tests): ... here.
31057         * libio/tst-atime.c (do_test): Move local variables SV and E
31058         inside [ST_NOATIME] conditional.
31060         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31062         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31064         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31065         (wait_code): New function replaces macro.
31066         Call nanosleep rather than syscall.
31068         * nptl/pt-system.c: Rewritten.  Put everything under
31069         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31070         Use IFUNC to redirect when possible.
31072         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31073         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31074         Use IFUNC to redirect when possible.
31076         * nptl/pt-fork.c: Rewritten.  Put everything under
31077         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31078         Use IFUNC to redirect when possible.
31079         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31082         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31083         unconditionally nowadays.  This included the only reference to
31084         __vdso_clock_gettime that appears outside libc proper.
31085         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31086         Remove version set (containing only __vdso_clock_gettime).
31087         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31088         Add attribute_hidden.
31089         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31090         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31091         libc_hidden_data_def.
31092         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31093         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31095         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31096         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31097         setrpcent, and getrpcport to ...
31098         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31099         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31100         getrpcbynumber_r, and getrpcent_r to ...
31101         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31102         * inet/getrpcbyname.c: Moved ...
31103         * sunrpc/getrpcbyname.c: ... here.
31104         * inet/getrpcbyname_r.c: Moved ...
31105         * sunrpc/getrpcbyname_r.c: ... here.
31106         * inet/getrpcbynumber.c: Moved ...
31107         * sunrpc/getrpcbynumber.c: ... here.
31108         * inet/getrpcbynumber_r.c: Moved ...
31109         * sunrpc/getrpcbynumber_r.c: ... here.
31110         * inet/getrpcent.c: Moved ...
31111         * sunrpc/getrpcent.c: ... here.
31112         * inet/getrpcent_r.c: Moved ...
31113         * sunrpc/getrpcent_r.c: ... here.
31114         * inet/Makefile (routines): Move those to ...
31115         * sunrpc/Makefile (routines): ... here.
31116         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31117         the $(subdirs) list.
31118         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31119         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31120         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31121         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31123         * elf/Makefile (routines): Include $(all-dl-routines), not just
31124         $(dl-routines).
31125         (rtld-routines): Likewise.  Use = rather than :=.
31126         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31127         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31128         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31129         * sysdeps/arm/Makefile: Likewise.
31130         * sysdeps/i386/Makefile: Likewise.
31131         * sysdeps/x86_64/Makefile: Likewise.
31132         * sysdeps/hppa/Makefile [$(subdir) = elf]
31133         (sysdep_routines, sysdep-rtld-routines): Don't add
31134         $(sysdep-dl-routines) to these.
31135         * sysdeps/ia64/Makefile: Likewise.
31136         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31137         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31138         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31139         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31140         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31141         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31142         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31143         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31144         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31145         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31146         these; sysdep-dl-routines alone is enough.
31148 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31150         [BZ #17932]
31151         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31152         where multiplication results in zero and third argument is finite
31153         and nonzero.
31154         * math/auto-libm-test-in: Add more tests of fma.
31155         * math/auto-libm-test-out: Regenerated.
31157         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31158         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31159         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31160         (_FP_CMP_EQ): Likewise.
31161         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31163         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31164         extra argument CHECK_NAN.  Redefine as wrapper around
31165         _FP_EXTEND_CNAN.
31167 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31169         * version.h (RELEASE): Set to "stable".
31170         (VERSION): Set to "2.21"
31171         * include/features.h (__GLIBC_MINOR__): Set to 21.
31173         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31175 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31176             Paul Eggert  <eggert@cs.ucla.edu>
31178         [BZ #16618]
31179         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31180         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31181         size in bytes. Store needed elements in wpmax. Use needed size
31182         in bytes for extend_alloca.
31184 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31186         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31187         binutls 2.25, and texinfo 5.2.
31188         * INSTALL: Regenerate.
31189         * sysdeps/nios2/configure: Regenerate.
31190         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31191         * manual/contrib.texi: Update.
31192         * po/be.po: Update.
31193         * po/bg.po: Update.
31194         * po/ca.po: Update.
31195         * po/cs.po: Update.
31196         * po/da.po: Update.
31197         * po/de.po: Update.
31198         * po/el.po: Update.
31199         * po/eo.po: Update.
31200         * po/es.po: Update.
31201         * po/fi.po: Update.
31202         * po/fr.po: Update.
31203         * po/gl.po: Update.
31204         * po/hr.po: Update.
31205         * po/hu.po: Update.
31206         * po/ia.po: Update.
31207         * po/id.po: Update.
31208         * po/it.po: Update.
31209         * po/ja.po: Update.
31210         * po/ko.po: Update.
31211         * po/lt.po: Update.
31212         * po/nb.po: Update.
31213         * po/nl.po: Update.
31214         * po/pl.po: Update.
31215         * po/pt_BR.po: Update.
31216         * po/ru.po: Update.
31217         * po/rw.po: Update.
31218         * po/sk.po: Update.
31219         * po/sl.po: Update.
31220         * po/sv.po: Update.
31221         * po/tr.po: Update.
31222         * po/uk.po: Update.
31223         * po/vi.po: Update.
31224         * po/zh_CN.po: Update.
31225         * po/zh_TW.po: Update.
31227         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31228         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31229         * sysdeps/hppa/dl-irel.h: Remove #warning.
31230         * sysdeps/hppa/entry.h: Provide prototype for
31231         __canonicalize_funcptr_for_compare and cast argument.
31232         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31233         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31234         * sysdeps/hppa/sotruss-lib.c: New file.
31235         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31236         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31237         (atomic_compare_and_exchange_bool_acq): Likewise.
31238         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31239         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31241         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31242         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31243         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31245 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31247         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31248         called function in non-PIC case.
31250 2015-01-31  David S. Miller  <davem@davemloft.net>
31252         * sysdeps/sparc/sparc32/bits/atomic.h
31253         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31254         unlock not after it.
31255         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31256         volatile register usage warnings from the compiler.
31258         * sysdeps/sparc/nptl/sem_init.c: Delete.
31259         * sysdeps/sparc/nptl/sem_post.c: Delete.
31260         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31261         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31262         * sysdeps/sparc/sparc32/sem_init.c: New file.
31263         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31264         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31265         padding explicitly initialized.
31266         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31267         padding for in-semaphore spinlock.
31268         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31269         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31270         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31271         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31272         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31273         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31274         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31275         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31276         version.
31277         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31278         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31280 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31282         [BZ #17801]
31283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31284         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31285         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31286         New.
31287         (index_AVX_Fast_Unaligned_Load): Likewise.
31288         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31289         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31290         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31291         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31292         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31293         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31294         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31295         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31296         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31298 2015-01-29  Andreas Schwab  <schwab@suse.de>
31300         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31302 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31304         [BZ #17892]
31305         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31307 2015-01-28  Martin Sebor  <msebor@redhat.com>
31309         * math/README.libm-test: Clarify. Add "How to read the test output."
31311 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31313         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31314         Define to 0.
31316 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31318         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31319         (__HAVE_64B_ATOMICS): Define to 0.
31321 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31323         [BZ #17885]
31324         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31325         value to set as new flag.
31327         [BZ #16576]
31328         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31329         and use _ARCH_PPCSQ instead.
31330         (__ieee754_sqrt): Likewise.
31331         (__ieee754_sqrtf): Likewise.
31332         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31333         _ARCH_PPCSQ is defined.
31334         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31335         fsqrt instruction.
31336         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31337         _ARCH_PPCSQ is defined.
31338         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31339         fsqrts instruction.
31340         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31342 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31344         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31345         bug (GCC BZ #64739).
31347 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31349         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31350         Mark _retval as used.
31351         (lll_futex_wake_unlock): Likewise.
31352         (lll_futex_timed_wait_requeue_pi): Likewise.
31354         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31355         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31356         register variables.
31358         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31359         libm_hidden_def.
31361         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31362         (__bswap_64): Mark as __always_inline.
31364 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31366         [BZ #15378]
31367         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31368         when none of the search directories exist.
31370 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31372         [BZ #17869]
31373         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31374         power8 in .machine directive.
31376         [BZ #17868]
31377         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31378         set dependency from opd value.
31380 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31383         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31384         architecture.
31386 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31388         [BZ #17870]
31389         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31390         with uint64_t.
31391         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31392         (uint64_t) 1.
31393         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31394         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31395         Replace 1UL with (uint64_t) 1.
31396         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31397         int with uint64_t.
31399 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31401         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31402         (if_freenameindex): Likewise.
31404         * resource/getrlimit64.c: Add missing libc_hidden_def.
31406 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31408         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31409         __label__.
31410         (_FP_FMA): Likewise.
31411         (_FP_TO_INT_ROUND): Likewise.
31412         (_FP_FROM_INT): Likewise.
31414 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31416         [BZ #16418]
31417         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31418         Make code racy and cancel safe.
31420 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31422         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31423         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31424         attribution.
31426         * pwd/tst-getpw.c: Rewrite.
31428         [BZ #17702]
31429         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31430         (modules-names): Add moddummy1 and moddummy2.
31431         ($(objpfx)tst-rec-dlopen): Define.
31432         * dlfcn/moddummy1.c: New file.
31433         * dlfcn/moddummy2.c: New file.
31434         * dlfcn/tst-rec-dlopen.c: New file.
31435         * elf/dl-cache.c (_dl_load_cache_lookup):
31436         Return char*. Copy result with alloca/strcpy/strdup.
31437         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31438         returns char*. Free cached. If not saving realname
31439         free cached.
31440         * elf/dl-open.c (dl_open_worker): Do not assert that
31441         _r_debug->r_state is RT_CONSISTENT.
31442         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31443         returns char*.
31445 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31446             Carlos O'Donell  <carlos@redhat.com>
31448         [BZ #12674]
31449         * nptl/sem_waitcommon.c: New file.
31450         * nptl/sem_wait.c: Include sem_waitcommon.c.
31451         (__sem_wait_cleanup, do_futex_wait): Remove.
31452         (__new_sem_wait): Adapt.
31453         (__new_sem_trywait): New function.
31454         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31455         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31456         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31457         (sem_timedwait): Adapt.
31458         * nptl/sem_post.c (__new_sem_post): Adapt.
31459         (futex_wake): New function.
31460         (__old_sem_post): Add release MO fence.
31461         * nptl/sem_open.c (sem_open): Adapt.
31462         * nptl/sem_init.c (__new_sem_init): Adapt.
31463         (futex_private_if_supported): New function.
31464         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31465         (__old_sem_getvalue): Add using previous code.
31466         * sysdeps/nptl/internaltypes.h: Adapt.
31467         * nptl/tst-sem13.c (do_test): Adapt.
31468         * nptl/tst-sem11.c (main): Adapt.
31469         * nptl/sem_trywait.c: Remove.
31470         * nptl/DESIGN-sem.txt: Remove.
31471         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31472         (gen-as-const-headers): Remove structsem.sym.
31473         * nptl/structsem.sym: Remove.
31474         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31475         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31476         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31477         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31478         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31479         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31480         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31481         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31482         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31483         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31484         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31485         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31486         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31487         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31488         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31489         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31490         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31491         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31492         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31493         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31494         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31495         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31497 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31499         * INSTALL: Regenerated.
31501         * po/libc.pot: Regenerated.
31503 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31504             Sandra Loosemore  <sandra@codesourcery.com>
31505             Andrew Jenner  <andrew@codesourcery.com>
31506             Joseph Myers  <joseph@codesourcery.com>
31507             Nathan Sidwell  <nathan@codesourcery.com>
31509         * NEWS: Mention new Nios II port.
31510         * sysdeps/nios2/Implies: New file.
31511         * sysdeps/nios2/Makefile: New file.
31512         * sysdeps/nios2/Subdirs: New file.
31513         * sysdeps/nios2/Versions: New file.
31514         * sysdeps/nios2/__longjmp.S: New file.
31515         * sysdeps/nios2/abort-instr.h: New file.
31516         * sysdeps/nios2/backtrace.c: New file.
31517         * sysdeps/nios2/bits/endian.h: New file.
31518         * sysdeps/nios2/bits/fenv.h: New file.
31519         * sysdeps/nios2/bits/link.h: New file.
31520         * sysdeps/nios2/bits/setjmp.h: New file.
31521         * sysdeps/nios2/bsd-_setjmp.S: New file.
31522         * sysdeps/nios2/bsd-setjmp.S: New file.
31523         * sysdeps/nios2/configure: New generated file.
31524         * sysdeps/nios2/configure.ac: New file.
31525         * sysdeps/nios2/crti.S: New file.
31526         * sysdeps/nios2/crtn.S: New file.
31527         * sysdeps/nios2/dl-init.c: New file.
31528         * sysdeps/nios2/dl-machine.h: New file.
31529         * sysdeps/nios2/dl-sysdep.h: New file.
31530         * sysdeps/nios2/dl-tls.h: New file.
31531         * sysdeps/nios2/dl-trampoline.S: New file.
31532         * sysdeps/nios2/gccframe.h: New file.
31533         * sysdeps/nios2/gmp-mparam.h: New file.
31534         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31535         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31536         * sysdeps/nios2/ldsodefs.h: New file.
31537         * sysdeps/nios2/libc-tls.c: New file.
31538         * sysdeps/nios2/libm-test-ulps: New file.
31539         * sysdeps/nios2/machine-gmon.h: New file.
31540         * sysdeps/nios2/math-tests.h: New file.
31541         * sysdeps/nios2/math_private.h: New file.
31542         * sysdeps/nios2/memusage.h: New file.
31543         * sysdeps/nios2/nptl/Makefile: New file.
31544         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31545         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31546         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31547         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31548         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31549         * sysdeps/nios2/nptl/tls.h: New file.
31550         * sysdeps/nios2/preconfigure: New file.
31551         * sysdeps/nios2/s_fma.c: New file.
31552         * sysdeps/nios2/s_fmaf.c: New file.
31553         * sysdeps/nios2/setjmp.S: New file.
31554         * sysdeps/nios2/sfp-machine.h: New file.
31555         * sysdeps/nios2/sotruss-lib.c: New file.
31556         * sysdeps/nios2/stackguard-macros.h: New file.
31557         * sysdeps/nios2/stackinfo.h: New file.
31558         * sysdeps/nios2/start.S: New file.
31559         * sysdeps/nios2/sysdep.h: New file.
31560         * sysdeps/nios2/tls-macros.h: New file.
31561         * sysdeps/nios2/tst-audit.h: New file.
31562         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31563         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31564         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31565         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31566         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31567         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31568         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31569         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31570         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31571         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31572         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31573         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31574         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31575         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31576         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31577         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31578         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31579         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31580         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31581         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31582         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31583         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31584         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31585         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31586         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31587         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31588         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31589         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31590         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31591         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31592         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31593         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31594         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31595         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31596         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31597         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31598         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31599         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31600         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31601         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31602         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31603         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31604         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31605         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31607 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31609         [BZ #17844]
31610         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31611         (getutent): Use weak_alias in non SHARED case
31612         and default_symbol_version in SHARED case.
31613         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31614         (getutent_r, pututline): Likewise.
31615         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31616         (getutid): Likewise.
31617         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31618         (getutid_r): Likewise.
31619         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31620         (getutline): Likewise.
31621         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31622         (getutline_r): Likewise.
31623         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31624         (updwtmp): Likewise.
31626 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31628         [BZ #17848]
31629         * sysdeps/s390/s390-32/memcmp.S
31630         (memcmp_g5): Rename to __memcmp_g5.
31631         * sysdeps/s390/s390-32/memcpy.S
31632         (memcpy_g5): Rename to __memcpy_g5.
31633         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31634         (memcpy_mvcle) Rename to __memcpy_mvcle.
31635         * sysdeps/s390/s390-32/memset.S
31636         (memset_g5): Rename to __memset_g5.
31637         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31638         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31639         and use prefixed functions.
31640         * sysdeps/s390/s390-32/multiarch/memcmp.S
31641         (memcmp_z196): Rename to __memcmp_z196.
31642         (memcmp_z10): Rename to __memcmp_z10.
31643         (memcmp): Set alias to __memcmp_g5.
31644         (bcmp): Set alias to __memcmp_g5.
31645         * sysdeps/s390/s390-32/multiarch/memcpy.S
31646         (memcpy_z196): Rename to __memcpy_z196.
31647         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31648         (memcpy_z10): Rename to __memcpy_z10.
31649         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31650         (memcpy): Set alias to __memcpy_g5.
31651         * sysdeps/s390/s390-32/multiarch/memset.S
31652         (memset_z196): Rename to __memset_z196.
31653         Jump to __memset_mvcle instead of memset_mvcle.
31654         (memset_z10): Rename to __memset_z10.
31655         Jump to __memset_mvcle instead of memset_mvcle.
31656         (memset_mvcle) Rename to __memset_mvcle.
31657         (memset): Set alias to __memset_g5.
31658         * sysdeps/s390/s390-64/memcmp.S
31659         (memcmp_z900): Rename to __memcmp_z900.
31660         * sysdeps/s390/s390-64/memcpy.S
31661         (memcpy_z900): Rename to __memcpy_z900.
31662         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31663         (memcpy_mvcle) Rename to __memcpy_mvcle.
31664         * sysdeps/s390/s390-64/memset.S
31665         (memset_z900): Rename to __memset_z900.
31666         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
31667         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31668         and use prefixed functions.
31669         * sysdeps/s390/s390-64/multiarch/memcmp.S
31670         (memcmp_z196): Rename to __memcmp_z196.
31671         (memcmp_z10): Rename to __memcmp_z10.
31672         (memcmp): Set alias to __memcmp_z900.
31673         (bcmp): Set alias to __memcmp_z900.
31674         * sysdeps/s390/s390-64/multiarch/memcpy.S
31675         (memcpy_z196): Rename to __memcpy_z196.
31676         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31677         (memcpy_z10): Rename to __memcpy_z10.
31678         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31679         (memcpy): Set alias to __memcpy_z900.
31680         * sysdeps/s390/s390-64/multiarch/memset.S
31681         (memset_z196): Rename to __memset_z196.
31682         Jump to __memset_mvcle instead of memset_mvcle.
31683         (memset_z10): Rename to __memset_z10.
31684         Jump to __memset_mvcle instead of memset_mvcle.
31685         (memset_mvcle) Rename to __memset_mvcle.
31686         (memset): Set alias to __memset_z900.
31688 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
31690         [BZ #17748]
31691         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
31692         __fesetenv instead of fesetenv.
31694 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31696         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
31697         macro.
31699 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31701         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
31702         regression on LE.
31704         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
31705         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
31706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31707         strncmp-power8 object.
31708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31709         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
31710         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
31711         * NEWS: Update.
31713 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31714             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31716         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
31717         trailing byte check.
31719 2015-01-13  David S. Miller  <davem@davemloft.net>
31721         * include/signal.h (__sigreturn): Guard with __USE_MISC.
31723 2015-01-13  Roland McGrath  <roland@hack.frob.com>
31725         * login/logout.c (logout): Use memset rather than bzero.
31726         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
31727         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
31728         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
31729         (_gethtbyaddr): Likewise.
31730         * locale/programs/simple-hash.c (bcopy): Macro removed.
31732 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31735         Add strcmp-power8 object.
31736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31737         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
31738         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
31739         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
31740         __strcmp_power8 implementation.
31741         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
31742         * NEWS: Update.
31744         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31745         Add strncpy-power8 and stpncpy-power8 objects.
31746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31747         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
31748         implementations.
31749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
31750         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
31751         __stpncpy_power8 implementation.
31752         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
31753         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
31754         __strncpy_power8 implementation.
31755         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
31756         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
31757         * NEWS: Update.
31759         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
31760         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
31761         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
31763         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31764         strncat-power8 object.
31765         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
31766         __strcat_power8 implementation.
31767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31768         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
31769         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
31770         optimized strcat for power8.
31772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31773         strcpy-power8 and stpcpy-power8 objects.
31774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31775         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
31776         implementations.
31777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
31778         multiarch stpcpy implementation for POWER8.
31779         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
31780         multiarch strcpy implementation for POWER8.
31781         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
31782         __strcpy_power8 function.
31783         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
31784         stpcpy for POWER8.
31785         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
31786         strcpy for POWER8.
31787         * NEWS: Update.
31789 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
31791         [BZ #16009]
31792         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
31793         weights and rules. Use do_xfrm_cached if data fits in cache,
31794         do_xfrm otherwise.  Moved former main loop to...
31795         * (do_xfrm_cached): New function.
31796         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
31797         find_idx, find_position and stack_push.
31798         * (find_idx): New function.
31799         * (find_position): Likewise.
31800         * localedata/sort-test.sh: Added test run for do_xfrm.
31801         * localedata/xfrm-test.c (main): Added command line option
31802         -nocache to run the test with strings that are too large for
31803         the STRXFRM cache.
31805 2015-01-13  Torvald Riegel  <triegel@redhat.com>
31807         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
31808         variable to lll_futex_wake call, not the value itself.
31810 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
31812         [BZ #17803]
31813         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
31814         twom64.  Adjust value to 0x1p-64L.
31815         (__scalblnl): Only return standard underflowing result for K <=
31816         -64 not K <= -63; adjust exponent for underflowing result by 64
31817         not 63.
31818         * math/libm-test.inc (scalbn_test_data): Add more tests.
31819         (scalbln_test_data): Likewise.
31821         [BZ #17834]
31822         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
31823         0x1p63L.
31824         (__scalblnl): Get new exponent of adjusted subnormal value from ES
31825         not HX.
31826         * math/libm-test.inc (scalbn_test_data): Add more tests.
31827         (scalbln_test_data): Likewise.
31829 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31830             Stefani Seibold  <stefani@seibold.net>
31832         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
31833         (sysdep_routines): Add dl-vdso here, ...
31834         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
31835         (sysdep_routines): ... not here.
31836         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
31837         fallback when vDSO is not presented.
31838         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31839         Define with libc_hidden_proto/libc_hidden_data_def definitions.
31840         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
31841         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
31842         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
31843         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
31844         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
31845         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
31846         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
31847         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
31848         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
31849         fallback configurable symbol when vDSO is not available.
31850         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
31851         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
31852         be able to redefine fallback symbol when vDSO is not available.
31853         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
31854         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
31856 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31858         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
31859         (TLS_INIT_TP): Add tm_capable initialization.
31860         (TLS_DEFINE_INIT_TP): Likewise.
31861         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
31862         TCB.
31863         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
31864         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
31865         calculation.
31866         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
31867         transactoion is lock elision is built and TCB tm_capable is set.
31868         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
31869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31870         (INTERNAL_SYSCALL_NCS): Likewise.
31871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31872         (INTERNAL_SYSCALL_NCS): Likewise.
31873         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
31875         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
31876         for powerpc.
31877         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31878         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
31879         and remove it for 32 bits case.
31880         [pthread_rwlock_t] (__rwelision): New field for lock elision.
31881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
31882         initialization.
31883         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
31884         Disable lock elision with rdlocks if elision is not available.
31886         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
31887         (sysdep_routines): Add lock elision objects.
31888         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31889         [pthread_mutex_t] (__spins): Rework to add lock elision field.
31890         [pthread_mutex_t] (__elision): Add field.
31891         [__PTHREAD_SPINS]: Adjust to init lock elision field.
31892         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
31893         elision definitions for powerpc.
31894         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
31895         implementation of lock elision for powerpc.
31896         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
31897         implementation of timed lock elision for powerpc.
31898         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
31899         implementation of trylock with lock elision for powerpc.
31900         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
31901         implementaion of unlock for lock elision for powerpc.
31902         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
31903         automatic enable lock elision for mutexes.
31904         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
31905         transaction execution definitions for powerpc.
31906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
31907         definitions.
31908         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
31909         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
31910         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
31911         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
31912         * NEWS: Update.
31914 2015-01-09  Roland McGrath  <roland@hack.frob.com>
31916         * sysdeps/posix/shm-directory.c: Use <> rather than ""
31917         for #include of <shm-directory.h>.
31919 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
31921         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
31922         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
31924 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
31926         [BZ #17791]
31927         * NEWS: Mention bug fix.
31928         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
31929         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
31930         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
31932 2015-01-09  Torvald Riegel <triegel@redhat.com>
31934         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
31936 2015-01-09  Torvald Riegel <triegel@redhat.com>
31938         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
31940 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31942         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
31943         pointer and cast to uintptr_t.
31945 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31947         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
31948         removed.
31949         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
31951 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
31953         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
31954         of 0.
31956 2015-01-08  Roland McGrath  <roland@hack.frob.com>
31958         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
31959         <nptl/pthreadP.h> instead.
31960         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
31962         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
31963         already defined.
31964         [__SIGRTMIN] (init): Function removed.
31965         [__SIGRTMIN] (initialized): Variable removed.
31966         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
31967         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
31968         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
31969         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
31970         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
31971         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
31972         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
31973         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
31974         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
31975         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
31976         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
31977         * sysdeps/nptl/allocrtsig.c: New file.
31978         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
31979         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
31980         * sysdeps/generic/testrtsig.h: File removed.
31982         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
31983         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
31985         * nptl/nptl-init.c (pthread_functions): Conditionalize
31986         .ptr__nptl_setxid initialization on [SIGSETXID].
31988         * sysdeps/nptl/sys/procfs.h: New file.
31989         * nptl_db/Makefile (headers): Add it.
31990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
31992         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
31993         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
31994         * nptl/pthread_attr_setaffinity.c: Include it.
31995         * nptl/pthread_setattr_default_np.c: Likewise.
31996         * nptl/check-cpuset.h: New file.
31998 2015-01-08  Richard Henderson  <rth@redhat.com>
32000         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32001         (CFLAGS-tst-execstack-prog.c): Likewise.
32002         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32004 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32005             Sandra Loosemore  <sandra@codesourcery.com>
32006             Andrew Jenner  <andrew@codesourcery.com>
32007             Joseph Myers  <joseph@codesourcery.com>
32008             Nathan Sidwell  <nathan@codesourcery.com>
32010         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32011         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32012         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32013         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32014         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32015         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32016         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32017         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32018         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32019         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32020         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32021         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32022         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32023         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32024         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32025         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32026         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32028 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32030         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32031         timespec struct member in syscall macro.
32032         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32033         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32034         first timeval struct member in syscall macro.
32035         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32037 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32039         [BZ #17748]
32040         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32041         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32042         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32043         __feupdateenv and define as weak alias of __feupdateenv.  Use
32044         libm_hidden_weak.
32045         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32046         libm_hidden_def.
32047         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32048         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32049         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32050         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32051         libm_hidden_def.
32052         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32053         __feupdateenv and define as weak alias of __feupdateenv.  Use
32054         libm_hidden_weak.
32055         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32056         libm_hidden_def.
32057         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32058         __feupdateenv and define as weak alias of __feupdateenv.  Use
32059         libm_hidden_weak.
32060         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32061         libm_hidden_def.
32062         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32063         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32064         (__feupdateenv): Likewise.
32065         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32066         __feupdateenv and define as weak alias of __feupdateenv.  Use
32067         libm_hidden_weak.
32068         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32069         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32070         libm_hidden_def.
32071         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32072         function.
32073         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32074         libm_hidden_def.
32075         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32076         __feupdateenv instead of feupdateenv.
32077         (default_libc_feupdateenv_test): Likewise.
32078         (libc_feresetround_ctx): Likewise.
32080 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32082         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32083         prototype.
32085 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32087         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32088         COLL_SYM in a couple of places to avoid uninitialized variable
32089         wanings on tilegx gcc 4.8.2.
32091 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32093         * sysdeps/aarch64/strcpy.S: New file.
32094         * sysdeps/aarch64/stpcpy.S: New file.
32095         * NEWS: Updated.
32097 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32099         * sysdeps/aarch64/strrchr.S: New file.
32100         * NEWS: Updated.
32102 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32104         [BZ #17658]
32105         * stdlib/setenv.c: Fix memory leak when setting large,
32106         duplicate string.
32108 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32110         [BZ #17273]
32111         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32112         and tabs from buffer before parsing fstab entry.
32113         * misc/tst-mntent.c (main): Add test for mount entry with
32114         trailing spaces and tabs.
32116 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32118         [BZ #17748]
32119         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32120         * math/fesetround.c (fesetround): Rename to __fesetround and
32121         define as weak alias of __fesetround.  Use libm_hidden_weak.
32122         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32123         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32124         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32125         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32126         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32127         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32128         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32129         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32130         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32131         __fesetround_inline.
32132         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32133         __fesetround_inline instead of __fesetround.
32134         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32135         __fesetround and define as weak alias of __fesetround.  Use
32136         libm_hidden_weak.  Call __fesetround_inline instead of
32137         __fesetround.
32138         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32139         __fesetround and define as weak alias of __fesetround.  Use
32140         libm_hidden_weak.
32141         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32142         Likewise.
32143         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32144         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32145         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32146         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32147         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32148         __fesetround and define as weak alias of __fesetround.  Use
32149         libm_hidden_weak.
32150         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32151         __fesetround instead of fesetround.
32152         (default_libc_feholdexcept_setround): Likewise.
32153         (libc_feholdsetround_ctx): Likewise.
32154         (libc_feholdsetround_noex_ctx): Likewise.
32156         [BZ #17748]
32157         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32158         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32159         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32160         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32161         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32162         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32163         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32164         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32165         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32166         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32167         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32168         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32169         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32170         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32171         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32172         libm_hidden_def.
32173         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32174         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32175         Likewise.
32176         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32177         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32178         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32179         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32180         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32181         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32182         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32183         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32184         __fesetenv instead of fesetenv.
32185         (libc_feresetround_noex_ctx): Likewise.
32186         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32187         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32188         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32189         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32190         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32191         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32192         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32193         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32194         (__feupdateenv): Likewise.
32195         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32196         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32197         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32198         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32200 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32202         [BZ #17806]
32203         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32204         addresses have been freed.
32206 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32208         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32209         and nservall.
32211 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32213         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32214         Clean up check_pf allocation pattern. addresses
32216 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32218         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32219         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32220         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32221         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32222         * nptl/pthread_join.c (pthread_join): Likewise.
32223         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32224         * sysdeps/posix/waitid.c (__waitid): Likewise.
32225         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32226         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32227         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32228         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32230         Likewise.
32231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32232         (__libc_pread64): Likewise.
32233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32234         (__libc_pwrite): Likewise.
32235         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32236         (__libc_pwrite64): Likewsie.
32237         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32238         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32239         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32240         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32241         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32242         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32243         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32245         Likewise.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32247         (__libc_pread64): Likewise.
32248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32249         Likewise.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32251         (__libc_pwrite64): Likewise.
32252         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32253         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32254         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32255         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32256         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32257         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32258         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32259         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32260         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32261         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32262         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32263         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32264         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32265         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32266         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32267         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32268         Likewise.
32270 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32272         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32273         (CFLAGS-test-double.c): Likewise.
32274         (CFLAGS-test-ldouble.c): Likewise.
32275         (CPPFLAGS-test-ifloat.c): Likewise.
32276         (CPPFLAGS-test-idouble.c): Likewise.
32277         (CPPFLAGS-test-ildoubl.c): Likewise.
32278         (CFLAGS-test-test-fenv.c): Remove variable.
32279         (CFLAGS-test-misc.c): Likewise.
32281 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32283         [BZ #17797]
32284         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32285         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32286         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32287         CLOCKS_PER_SEC == 1000000.
32288         * time/clocktest.c (main): Replace %ld with %jd and cast to
32289         intmax_t.
32291 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32293         * sysdeps/generic/unwind-resume.h: New file.
32294         * sysdeps/gnu/unwind-resume.c: Include it.
32295         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32296         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32297         argument list.
32298         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32299         global rather than static.
32300         (_Unwind_Resume): Update user.
32301         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32302         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32303         rather than static.  Add __attribute__ ((cold)).
32304         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32305         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32306         * sysdeps/arm/arm-unwind-resume.S: New file.
32307         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32308         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32309         * sysdeps/arm/Makefile [$(subdir) = csu]
32310         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32311         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32312         Add rt-arm-unwind-resume.
32313         [$(subdir) = nptl]
32314         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32315         Add pt-arm-unwind-resume.
32316         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32317         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32319 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32321         [BZ #17748]
32322         * include/fenv.h (__feholdexcept): Declare.  Use
32323         libm_hidden_proto.
32324         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32325         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32326         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32327         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32328         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32329         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32330         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32331         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32332         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32333         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32334         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32335         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32336         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32337         (feholdexcept): Likewise.
32338         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32339         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32340         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32341         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32342         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32343         __feholdexcept instead of feholdexcept.
32344         (default_libc_feholdexcept_setround): Likewise.
32346 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32348         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32349         to avoid using stl/str to align destination.
32351 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32353         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32355 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32357         [BZ #17796]
32358         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32359         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32360         Define as weak alias not strong alias.
32362 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32364         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32365         bltzal with addiupc.
32366         (RTLD_START): Ditto.
32368 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32370         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32371         for __vdso_* functions in declarations.
32372         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32373         definitions.
32374         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32375         INTERNAL_VSYSCALL): Use struct return types to check for error.
32377         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32378         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32379         function with cast from llround().
32380         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32381         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32382         Define.
32384 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32386         [BZ #17793]
32387         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32388         Define as weak alias not strong alias.
32390         [BZ #17635]
32391         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32392         ...
32393         * ctype/ctype-extn.c: ... here.
32394         (__isblank_l): Move to ...
32395         * ctype/ctype-c99_l.c: ... here.  New file.
32396         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32397         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32398         Remove variable.
32399         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32400         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32401         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32402         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32403         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32405         [BZ #17777]
32406         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32407         (posix_fadvise64): Define as weak alias not strong alias.
32408         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32409         (posix_fallocate64): Likewise.
32410         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32411         Remove variable.
32412         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32413         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32414         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32415         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32416         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32418 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32420         [BZ #16191]
32421         * NEWS: Mention bug fix.
32422         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32423         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32424         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32425         (HOST_STACK_END_ADDR): Likewise.
32427 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32429         [BZ #17748]
32430         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32431         * math/fegetround.c (fegetround): Rename to __fegetround and
32432         define as weak alias of __fegetround.  Use libm_hidden_weak.
32433         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32434         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32435         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32436         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32437         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32438         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32439         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32440         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32441         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32442         Undefine after rather than before function definition; use
32443         parentheses around function name in definition.
32444         (__fegetround): Also undefine macro after function definition.
32445         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32446         __fegetround and define as weak alias of __fegetround.  Use
32447         libm_hidden_weak.  Do not undefine as macro.
32448         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32449         Likewise.
32450         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32451         __fegetround and define as weak alias of __fegetround.  Use
32452         libm_hidden_weak.
32453         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32454         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32455         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32456         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32457         __fegetround and define as weak alias of __fegetround.  Use
32458         libm_hidden_weak.
32459         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32460         __fegetround instead of fegetround.
32462         [BZ #17782]
32463         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32464         Condition macro definition on [__USE_MISC].
32466         [BZ #17781]
32467         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32468         (struct sigaction): Change type of sa_flags field to int.
32470         [BZ #17780]
32471         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32472         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32473         __glibc_reserved0.
32475         * nptl/version.c (banner): Use single year in copyright notice.
32477         * NEWS: Update copyright dates.
32478         * catgets/gencat.c (print_version): Likewise.
32479         * csu/version.c (banner): Likewise.
32480         * debug/catchsegv.sh: Likewise.
32481         * debug/pcprofiledump.c (print_version): Likewise.
32482         * debug/xtrace.sh (do_version): Likewise.
32483         * elf/ldconfig.c (print_version): Likewise.
32484         * elf/ldd.bash.in: Likewise.
32485         * elf/pldd.c (print_version): Likewise.
32486         * elf/sotruss.sh: Likewise.
32487         * elf/sprof.c (print_version): Likewise.
32488         * iconv/iconv_prog.c (print_version): Likewise.
32489         * iconv/iconvconfig.c (print_version): Likewise.
32490         * locale/programs/locale.c (print_version): Likewise.
32491         * locale/programs/localedef.c (print_version): Likewise.
32492         * login/programs/pt_chown.c (print_version): Likewise.
32493         * malloc/memusage.sh (do_version): Likewise.
32494         * malloc/memusagestat.c (print_version): Likewise.
32495         * malloc/mtrace.pl: Likewise.
32496         * manual/libc.texinfo: Likewise.
32497         * nptl/version.c (banner): Likewise.
32498         * nscd/nscd.c (print_version): Likewise.
32499         * nss/getent.c (print_version): Likewise.
32500         * nss/makedb.c (print_version): Likewise.
32501         * posix/getconf.c (main): Likewise.
32502         * scripts/test-installation.pl: Likewise.
32503         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32505 2015-01-02  Will Newton  <will.newton@linaro.org>
32507         * sysdeps/arm/armv7/configure: Removed.
32508         * sysdeps/arm/armv7/configure.ac: Likewise.
32510 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32512         * All files with FSF copyright notices: Update copyright dates
32513         using scripts/update-copyrights.
32514         * intl/plural.c: Regenerated.
32515         * locale/programs/charmap-kw.h: Likewise.
32516         * locale/programs/locfile-kw.h: Likewise.
32518 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32520         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32522 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32524         [BZ #17748]
32525         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32526         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32527         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32528         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32529         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32530         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32531         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32532         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32533         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32534         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32535         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32536         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32537         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32538         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32539         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32540         libm_hidden_def.
32541         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32542         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32543         Likewise.
32544         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32545         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32546         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32547         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32548         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32549         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32550         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32551         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32552         __fegetenv instead of fegetenv.
32553         (libc_feholdsetround_noex_ctx): Likewise.
32555 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32557         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32558         (Elf_MIPS_ABIFlags_v0): New structure.
32559         (EF_MIPS_FP64): Define.
32560         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32561         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32562         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32563         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32564         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32565         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32566         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32567         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32568         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32569         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32570         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32571         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32572         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32573         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32574         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32575         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32576         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32577         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32578         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32579         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32580         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32581         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32582         field.
32583         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32584         EF_MIPS_FP64.
32585         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32586         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32587         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32588         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32589         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32590         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32591         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32592         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32593         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32594         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32595         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32596         record the current FP ABI extension.
32597         (mips-mode-switch): Define to show if kernel headers support mode
32598         switching.
32599         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32600         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32601         supported SYSV ABI version to 3.
32602         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32603         feature.
32605 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32606             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32608         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32609         path.
32610         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32612 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32614         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32615         __fegetround and redefine to call __fegetround.  Remove condition
32616         on [!__NO_MATH_INLINES].
32617         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32618         function.
32619         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32620         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32621         Remove macro.
32622         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32623         instead of <fenv_libc.h>.
32624         (__llrintl): Call fegetround instead of __fegetround.
32625         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32626         instead of <fenv_libc.h>.
32627         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32628         (__lrintl): Call fegetround instead of __fegetround.
32629         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32630         instead of <fenv_libc.h>.
32631         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32632         (__rintl): Call fegetround instead of __fegetround.
32634 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32636         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32637         arrays.
32639 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32641         [BZ #17775]
32642         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
32643         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
32644         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
32646 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32648         * sysdeps/i386/tls-macros.h: Include <features.h>.
32649         (TLS_LE): Use non-PIC version for GCC >= 5.0.
32650         (TLS_IE): Likewise.
32651         (TLS_LD): Likewise.
32652         (TLS_GD): Likewise.
32653         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
32654         define for GCC >= 5.0.
32656 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
32658         * math/test-fenv.c (test_single_exception, set_single_exc,
32659         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
32660         feexcp_mask_test, feenable_test, fe_single_test): Add
32661         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
32662         case where they are not used.
32663         * math/libm-test.inc: Likewise.
32664         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32665         unused in the absence of FP rounding/exception support.
32666         * stdio-common/tst-printf-round.c: Likewise.
32667         * stdlib/tst-strtod-round.c: Likewise.
32668         * stdlib/tst-strtod-underflow.c: Likewise.
32670 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
32672         [BZ #17723]
32673         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
32674         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
32675         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32676         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32677         libm_hidden_weak.
32678         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
32679         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32680         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
32681         libm_hidden_def.
32682         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32683         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32684         libm_hidden_weak.
32685         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
32686         Likewise.
32687         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
32688         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32689         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32690         libm_hidden_weak.
32691         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32692         libm_hidden_def.
32693         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32694         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
32695         (__feraiseexcept): Likewise.
32696         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32697         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32698         libm_hidden_weak.
32699         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32700         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32701         libm_hidden_def.
32702         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
32703         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
32704         Use libm_hidden_def.
32705         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
32706         libm_hidden_def.
32707         (feraiseexcept): Define as weak not strong alias.  Use
32708         libm_hidden_weak.
32709         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
32710         New inline function.  Factored out of ...
32711         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
32712         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
32713         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
32714         feraiseexcept.
32715         * math/w_acos.c (__acos): Likewise.
32716         * math/w_asin.c (__asin): Likewise.
32717         * math/w_ilogb.c (__ilogb): Likewise.
32718         * math/w_j0.c (y0): Likewise.
32719         * math/w_j1.c (y1): Likewise.
32720         * math/w_jn.c (yn): Likewise.
32721         * math/w_log.c (__log): Likewise.
32722         * math/w_log10.c (__log10): Likewise.
32723         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
32724         * sysdeps/aarch64/fpu/math_private.h
32725         (libc_feupdateenv_test_aarch64): Likewise.
32726         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32727         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
32728         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
32729         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32730         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32731         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32732         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
32733         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32734         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32735         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32737 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32739         [BZ #17732]
32740         * io/test-utime.c (main): Replace %ld with %jd and cast to
32741         intmax_t.
32742         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
32743         * nptl/tst-mutex5.c: Include <stdint.h>.
32744         (do_test): Replace %ld with %jd and cast to intmax_t.
32745         * posix/tst-regex.c (run_test): Likewise.
32746         (run_test_backwards): Likewise.
32747         * rt/tst-clock.c: Include <stdint.h>.
32748         (clock_test): Replace %ld with %jd and cast to intmax_t.
32749         * rt/tst-cpuclock1.c: Include <stdint.h>.
32750         (do_test): Replace %lu with %ju and cast to uintmax_t.
32751         * rt/tst-cpuclock2.c: Include <stdint.h>.
32752         (do_test): Replace %lu with %ju and cast to uintmax_t.
32753         * rt/tst-mqueue1.c: Include <stdint.h>.
32754         (check_attrs): Replace %ld with %jd and cast to intmax_t.
32755         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
32756         intmax_t.
32757         * rt/tst-mqueue4.c (do_test): Likewise.
32758         * rt/tst-timer4.c: Include <stdint.h>.
32759         (check_ts): Replace %ld with %jd and cast to intmax_t.
32760         (do_test): Likewise.
32761         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
32762         and cast to intmax_t.
32763         * sysdeps/pthread/tst-timer.c (main): Likewise.
32764         * time/clocktest.c (main): Likewise.
32765         * time/tst-posixtz.c (do_test): Likewise.
32766         * timezone/tst-timezone.c (main): Likewise.
32768 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32769             H.J. Lu  <hongjiu.lu@intel.com>
32771         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
32772         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32773         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
32774         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
32775         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
32776         version if bit_Fast_Unaligned_Load is set.
32777         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32778         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32779         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32780         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32781         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32782         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32784         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
32785         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
32786         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
32787         to 4.
32788         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
32789         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
32790         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
32791         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
32793 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
32795         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
32796         instead of #if to avoid a Wundef warning.
32797         * stdlib/tst-limits.c (do_test): Likewise.
32799         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
32800         parallel other exception macros.
32801         (fegetenv): Convert from macro to extern inline so that it applies
32802         retroactively to inline functions already seen by the compiler.
32803         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
32805         * posix/Makefile (before-compile): Use $(objpfx) for
32806         posix-conf-vars-def.h.
32808 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32810         * posix/getconf.c (main): Use size_t for type of I.
32811         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
32812         NSPEC.
32814         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
32815         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
32816         * posix/posix-envs.def: Likewise.
32817         * sysdeps/posix/sysconf.c: Likewise.
32818         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
32819         (specs): Remove array.
32820         * scripts/gen-posix-conf-vars.awk: Support generation of specs
32821         array.
32823         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
32824         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
32825         (__sysconf): Use CONF_IS_* macros.
32827         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
32828         ($(objpfx)posix-conf-vars-def.h): New target.
32829         * posix/posix-conf-vars.list: New file.
32830         * posix/posix-conf-vars.h: New file.
32831         * posix/confstr.c: Include posix-conf-vars.h.
32832         (confstr): Use CONF_IS_* macros.
32833         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
32834         CONF_IS_* macros.
32835         * scripts/gen-posix-conf-vars.awk: New file.
32837 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
32839         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
32840         fegetround): Add no-op macros to avoid linknamespace issues.
32842         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
32843         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
32845         * sysdeps/unix/sysv/linux/tile/sysdep.h
32846         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
32847         assembly-specific section to avoid a redefinition warning.
32849         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
32850         long before casting to pointer to avoid a cast warning.
32852 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
32854         * sysdeps/tile/tilegx/Implies: New file.
32856 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
32858         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
32860 2014-12-23  Florian Weimer  <fweimer@redhat.com>
32862         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
32864 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32866         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
32867         not define.
32868         * sysdeps/unix/sysv/linux/utimes.c: Do not include
32869         <kernel-features.h>.
32870         (__utimes) [__NR_utimes]: Make code unconditional.
32871         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
32872         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32873         (__ASSUME_UTIMES): Do not undefine.
32874         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32875         (__ASSUME_UTIMES): Likewise.
32876         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32877         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
32878         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
32879         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
32881 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
32883         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
32885 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
32887         [BZ #17747]
32888         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
32889         alias to weak alias for j0l, y0l.
32890         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
32891         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
32893         [BZ #17746]
32894         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
32895         conversion.
32897 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
32899         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
32900         to zero if not already defined.
32902 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32904         [BZ #17724]
32905         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
32906         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
32907         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
32908         (char *) casts added.
32909         * sysdeps/ieee754/k_standardf.c: New file.
32910         * sysdeps/ieee754/k_standardl.c: Likewise.
32911         * math/Makefile (libm-support): Remove k_standard.
32912         (libm-calls): Add k_standard.
32914 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32916         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32917         Optimize to avoid an unnecessary FPCR read.
32919 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32921         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32922         Optimize to reduce FPCR/FPSR accesses.
32924 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32926         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
32927         Call libc_fetestexcept_aarch64.
32929 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
32931         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
32932         Call libc_fesetround_aarch64.
32934 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32936         [BZ #17733]
32937         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
32938         (__bind): Do not define as weak alias.
32939         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
32940         define.
32941         (__getsockname): Do not define as weak alias.
32943 2014-12-22  Will Newton  <will.newton@linaro.org>
32945         * manual/install.texi: Document that we require bison 2.7
32946         or above.
32947         * INSTALL: Regenerate.
32948         * configure.ac: Use AC_CHECK_PROG_VER instead of
32949         AC_PATH_PROG when checking for bison and check for
32950         version 2.7 or above.
32951         * configure: Regenerate.
32953 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
32955         [BZ #17745]
32956         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
32957         * sysdeps/tile/ffsll.c (ffsll): To here.
32959         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
32961 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
32963         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
32964         if not defined.
32965         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
32966         definition.
32967         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32968         hidden ___tls_get_addr.
32969         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
32970         hidden __tls_get_addr.
32971         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
32972         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
32973         Likewise.
32975 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32977         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
32978         _dl_init call.
32980 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
32982         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
32983         from "call _dl_init@PLT".
32984         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
32986 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
32988         * manual/search.texi: (Array Sort Function): Clarify stable sorting
32989         guarantees.
32991 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
32993         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
32995 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
32997         [BZ #17744]
32998         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
32999         strnlen.
33001 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33003         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33004         of multu on MIPSr6.
33005         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33006         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33007         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33008         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33009         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33011 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33013         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33014         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33015         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33016         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33017         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33018         mips32r6/mips64r6.
33019         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33021 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33023         * string/strncat.c (STRNCAT): Simplify implementation.
33025 2014-12-19  David S. Miller  <davem@davemloft.net>
33027         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33028         access the quad as both a long double and as a series of 4 words.
33030         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33031         link_map->l_info array access.
33033 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33035         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33037         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33038         * math/atest-exp2.c (TIMEOUT): Likewise.
33039         * math/atest-sincos.c (TIMEOUT): Likewise.
33041 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33043         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33044         -Wno-error with -fno-builtin-lround.
33046 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33048         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33049         Contains futex constants and functions moved over from ...
33050         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33051         <lowlevellock-futex.h>.
33052         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33053         (lll_timedwait_tid): Add comments and parentheses around macro
33054         arguments.
33056 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33059         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33060         (__lll_private_flag): Remove.
33061         (lll_futex_wait): Likewise.
33062         (lll_futex_timed_wait): Likewise.
33063         (lll_futex_wake): Likewise.
33064         (lll_futex_requeue): Likewise.
33065         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33066         (__lll_timedwait_tid): Spell out argument names.
33067         (lll_timedwait_tid): Add comments and parentheses around macro
33068         arguments.
33069         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33070         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33072 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33074         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33075         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33076         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33077         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33078         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33079         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33080         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33081         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33082         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33084         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33085         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33087         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33088         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33089         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33090         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33091         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33092         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33094 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33096         * sysdeps/x86_64/x32/Makefile: New file.
33098 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33100         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33101         1L with (mp_limb_t) 1.
33103 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33105         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33106         * nptl/libc_pthread_init.c: ... here.
33107         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33108         * nptl/register-atfork.c: ... here.
33110         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33111         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33112         Use assert_perror to check its return value.
33113         (__gai_create_helper_thread): Likewise.
33115         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33117         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33119 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33121         [BZ #17725]
33122         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33123         __profil_counter.
33124         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33125         Likewise.
33126         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33127         Likewise.
33128         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33129         Likewise.
33130         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33131         (profil_counter): Likewise.
33132         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33133         (profil_counter): Likewise.
33134         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33135         Likewise.
33136         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33137         Likewise.
33138         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33139         (profil_counter): Likewise.
33140         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33141         Likewise.
33142         [!__profil_counter] (profil_counter): Define as weak alias of
33143         __profil_counter.
33144         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33145         (profil_counter): Rename to __profil_counter.
33146         [!__profil_counter] (profil_counter): Define as weak alias of
33147         __profil_counter.
33148         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33149         (profil_counter): Rename to __profil_counter.
33150         [!__profil_counter] (profil_counter): Define as weak alias of
33151         __profil_counter.
33152         * sysdeps/posix/profil.c: Update comment referring to
33153         profil_counter.
33154         (__profil): Use __profil_counter instead of profil_counter.
33155         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33156         __profil_counter.  Use __profil_counter_ushort and
33157         __profil_counter_uint in definitions.
33158         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33159         instead of profil_counter_uint and profil_counter_ushort.
33161         [BZ #17722]
33162         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33163         define as weak alias of __inet_makeaddr.
33164         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33165         as weak alias of __inet_addr.
33166         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33167         as weak alias of __inet_pton.  Use libc_hidden_weak.
33168         * include/arpa/inet.h (__inet_pton): Declare.  Use
33169         libc_hidden_proto.
33170         (inet_makeaddr): Don't use libc_hidden_proto.
33171         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33172         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33173         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33174         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33175         Remove variable.
33176         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33177         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33179 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33181         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33183 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33185         * stdio-common/bug-vfprintf-nargs.c (do_test):
33186         Cast value to intptr_t to avoid format warning
33187         for usage with PRIdPTR printing macro.
33189 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33191         * libio/tst-widetext.c (do_test):
33192         Use format type %td instead of %Zd for ptrdiff_t
33193         in order to avoid format warning.
33195 2014-12-17  Andreas Schwab  <schwab@suse.de>
33197         * nscd/mem.c (gc): Add size_t cast to match printf format.
33199 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33201         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33202         (init): Apply PTR_MANGLE to pointers before storing them.
33203         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33204         before using them.
33206 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33208         [BZ #17719]
33209         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33210         define as weak alias of __memrchr.
33211         (__memrchr): Do not define as strong alias of memrchr.
33212         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33213         Remove variable.
33214         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33215         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33216         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33218         [BZ #17717]
33219         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33220         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33221         (if_indextoname): Rename to __if_indextoname and define as weak
33222         alias of __if_indextoname.  Use libc_hidden_weak.
33223         (if_freenameindex): Rename to __if_freenameindex and define as
33224         weak alias of __if_freenameindex.
33225         (if_nameindex): Rename to __if_nameindex and define as weak alias
33226         of __if_nameindex.
33227         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33228         __if_nametoindex and define as weak alias of __if_nametoindex.
33229         Use libc_hidden_weak.
33230         (if_freenameindex): Rename to __if_freenameindex and define as
33231         weak alias of __if_freenameindex.
33232         (if_nameindex): Rename to __if_nameindex and define as weak alias
33233         of __if_nameindex.
33234         (if_indextoname): Rename to __if_indextoname and define as weak
33235         alias of __if_indextoname.  Use libc_hidden_weak.
33236         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33237         __if_nametoindex and define as weak alias of __if_nametoindex.
33238         Use libc_hidden_weak.
33239         (if_freenameindex): Rename to __if_freenameindex and define as
33240         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33241         (if_nameindex_netlink): Use __if_freenameindex instead of
33242         if_freenameindex.
33243         (if_nameindex): Rename to __if_nameindex and define as weak alias
33244         of __if_nameindex.  Use libc_hidden_weak.
33245         (if_indextoname): Rename to __if_indextoname and define as weak
33246         alias of __if_indextoname.  Use libc_hidden_weak.
33247         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33248         libc_hidden_proto.
33249         [!_ISOMAC] (__if_freenameindex): Likewise.
33250         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33251         if_nametoindex.
33252         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33253         variable.
33254         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33255         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33256         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33257         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33258         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33259         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33260         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33262         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33263         Remove variable.
33264         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33265         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33267 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33270         subscript above bounds'
33272         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33273         bounds.
33275 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33277         * libio/tst-fopenloc.c: Use test-skeleton.c.
33279         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33280         (entry): Rename to ITEM.
33281         (do_test, comp): Adjust.
33283         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33285 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33287         * string/tester.c: Include <libc-internal.h>.
33288         (test_memset): Ignore -Wmemset-transposed-args.
33290 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33292         * misc/tst-mntent2.c (do_test): Fix warning.
33294 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33296         * elf/tst-unique4lib.cc(a): Mark as used.
33298 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33300         [BZ #17630]
33301         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33302         names.
33304 2014-12-16  Allan McRae  <allan@archlinux.org>
33306         * stdio-common/Makefile (tests): Re-add bug26.
33308 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33310         [BZ #17657]
33311         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33312         static array.
33314 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33316         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33317         (__lll_lock_wait): Likewise.
33318         (__lll_timedlock_wait): Likewise.
33319         (__lll_timedwait_tid): Likewise.
33320         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33321         (__lll_robust_timedlock_wait): Likewise.
33322         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33323         (lll_cond_trylock): Likewise.
33324         (__lll_lock): Likewise.
33325         (__lll_robust_lock): Likewise.
33326         (__lll_cond_lock): Likewise.
33327         (lll_robust_cond_lock): Likewise.
33328         (__lll_timedlock): Likewise.
33329         (__lll_robust_timedlock): Likewise.
33330         (__lll_unlock): Likewise.
33331         (__lll_robust_unlock): Likewise.
33332         (lll_wait_tid): Likewise.
33333         (lll_timedwait_tid): Likewise.
33335 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33337         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33339 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33341         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33343 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33345         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33346         * stdio-common/tst-sprintf.c: Likewise.
33348 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33350         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33352 2014-12-15  Jeff Law  <law@redhat.com>
33354         [BZ #16617]
33355         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33356         on the heap.  (CVE-2012-3406)
33357         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33358         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33359         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33361 2014-12-15  Will Newton  <will.newton@linaro.org>
33363         * manual/install.texi: Bump required version of texinfo
33364         to 4.7 from 4.5.
33365         * INSTALL: Regenerated.
33366         * configure.ac: Check for makeinfo version 4.7 and above.
33367         * configure: Regenerated.
33369 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33371         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33372         PREFIX, string constant to insert between directory and name.
33373         * sysdeps/posix/shm_open.c: Update caller.
33374         * sysdeps/posix/shm_unlink.c: Likewise.
33375         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33376         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33377         (SEM_SHM_PREFIX): New macro.
33378         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33379         [$(have-thread-library) = no].
33380         * nptl/Makefile (libpthread-routines): Add shm-directory.
33381         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33382         * sysdeps/nptl/shm-directory.h: New file.
33383         * sysdeps/posix/shm-directory.c
33384         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33385         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33386         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33387         INTERNAL_SYSCALL.
33388         (__where_is_shmfs): Function removed.
33389         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33390         Variables removed.
33391         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33392         Use SHM_GET_NAME.
33393         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33395         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33396         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33397         unconditional for use inside libpthread.
33398         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33400 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33402         * nptl/pthread_getaffinity.c: New file.
33403         * nptl/pthread_setaffinity.c: New file.
33404         * nptl/pthread_getname.c: New file.
33405         * nptl/pthread_setname.c: New file.
33407         * nptl/pthread_create.c (START_THREAD_DEFN)
33408         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33410 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33411             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33413         * resolv/res_send.c (send_vc): Disable warning resplen may
33414         be used uninitialized.
33416 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33418         * nptl/tst-mutex6.c
33419         (ATTR_NULL): New define checks ATTR against NULL.
33420         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33421         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33423 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33425         [BZ #17581]
33426         * malloc/hooks.c
33427         (mem2mem_check): Revert my previous change.
33428         (malloc_check_get_size): Revert my previous change.
33429         (mem2chunk_check): Revert my previous change.
33431 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33433         * sysdeps/posix/shm-directory.c: New file.
33434         * sysdeps/posix/shm-directory.h: New file.
33435         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33436         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33437         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33438         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33439         Transmute EPERM to EACCES.
33440         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33441         from ...
33442         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33443         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33445 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33447         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33448         pointer and cast to uintptr_t.
33449         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33450         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33451         Add cast to avoid warning.
33452         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33454 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33456         * nptl/semaphore.h: Move to ...
33457         * sysdeps/pthread/semaphore.h: ... here.
33458         * Makefile (installed-headers): Change nptl/semaphore.h to
33459         sysdeps/pthread/semaphore.h.
33461 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33463         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33464         generated error format strings.
33466         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33467         -Wformat-extra-args warnings for scanf formats.
33468         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33469         test of zero-length format (duh).
33470         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33471         corner-case scanf format test.
33472         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33473         generated fprintf format string.
33474         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33475         corner-case sprintf format tests.
33476         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33477         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33478         -Wformat-extra-args warnings throughout.
33479         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33480         (CFLAGS-scanf4.c): Likewise.
33481         (CFLAGS-scanf7.c): Likewise.
33482         (CFLAGS-tst-sprintf.c): Likewise.
33483         (CFLAGS-tst-printf.c): Likewise.
33484         (CFLAGS-tst-printfsz.c): Likewise.
33486 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33488         * include/cpio.h: New file.
33489         * include/fmtmsg.h: Likewise.
33491         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33492         corresponding format argument to size_t.
33493         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33494         arguments.
33495         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33496         corresponding format argument to size_t.
33497         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33498         arguments.
33499         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33500         corresponding format argument to size_t.
33501         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33502         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33503         (CFLAGS-tst-mbswcs2.c): Likewise.
33504         (CFLAGS-tst-mbswcs3.c): Likewise.
33505         (CFLAGS-tst-mbswcs4.c): Likewise.
33506         (CFLAGS-tst-mbswcs5.c): Likewise.
33507         (CFLAGS-tst-trans.c): Likewise.
33509 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33511         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33512         rather than assuming they won't contain any '%'s.
33514 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33516         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33517         inhibit_loop_to_libcall to avoid recursive calls.
33518         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33519         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33521 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33523         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33524         prototype.
33526 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33528         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33529         integer value instead of boolean.
33531 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33533         * malloc/malloc.c: Fix powerof2 check.
33535 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33537         * locale/programs/locfile.h (maybe_swap_uint32):
33538         Remove inline and add unused attribute.
33540 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33543         Truncating assembler expression to a .long expression.
33545 2014-12-11  Andreas Schwab  <schwab@suse.de>
33547         * elf/rtld.c (struct map_args): Constify str member.
33548         (do_preload): Constify fname argument.
33550 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33552         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33553         constants definition.
33555 2014-12-11  Andreas Schwab  <schwab@suse.de>
33557         [BZ #16657]
33558         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33559         FORCE_ELISION instead of DO_ELISION.
33560         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33561         Remove.
33562         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33563         Likewise.
33565         * iconvdata/gconv-modules: Remove duplicate entry.
33567 2014-12-11  Will Newton  <will.newton@linaro.org>
33569         Merge gettext 0.19.3 into intl/.
33571         This involves a number of cosmetic changes to comments
33572         and ANSI function definitions and prototypes throughout
33573         all the files. The gettext copyright header is used but
33574         with the date ranges taken from the glibc copy.
33576         * NEWS: Add gettext merge to 2.21.
33577         * intl/bindtextdom.c: Switch to gettext copyright.
33578         Use ANSI definitions and prototypes.
33579         Use gl_* locking primitives rather than __libc_* ones.
33580         Use __builtin_expect rather than __glibc_likely/unlikely.
33581         * intl/dcgettext.c: Switch to gettext copyright.
33582         Use ANSI definitions and prototypes.
33583         * intl/dcigettext.c: Switch to gettext copyright.
33584         Use ANSI definitions and prototypes.
33585         (INTDIV0_RAISES_SIGFPE): New define.
33586         Use gl_* locking primitives rather than __libc_* ones.
33587         Include eval-plural.h instead of plural-eval.c.
33588         Use __builtin_expect rather than __glibc_likely/unlikely.
33589         * intl/dcngettext.c: Switch to gettext copyright.
33590         Use ANSI definitions and prototypes.
33591         * intl/dgettext.c: Likewise.
33592         * intl/dngettext.c: Likewise.
33593         * intl/plural-eval.c: Renamed to...
33594         * intl/eval-plural.h: ...this.
33595         * intl/explodename.c: Switch to gettext copyright.
33596         Use ANSI definitions and prototypes.
33597         (_nl_explode_name): Use strchr instead of __rawmemchr.
33598         * intl/finddomain.c: Switch to gettext copyright.
33599         Use ANSI definitions and prototypes.
33600         Use gl_* locking primitives rather than __libc_* ones.
33601         (_nl_find_domain): Use malloc rather than alloca for
33602         allocation of temporary locale name.
33603         * intl/gettext.c: Switch to gettext copyright.
33604         Use ANSI definitions and prototypes.
33605         * intl/gettextP.h: Switch to gettext copyright.
33606         Use ANSI definitions and prototypes.
33607         Use gl_* locking primitives rather than __libc_* ones.
33608         * intl/gmo.h: Switch to gettext copyright.
33609         (struct sysdep_string): Move struct segment_pair outside of
33610         struct definition.
33611         * intl/hash-string.c: Use ANSI definitions and prototypes.
33612         * intl/hash-string.h: Switch to gettext copyright.
33613         Use ANSI definitions and prototypes.
33614         * intl/l10nflist.c: Switch to gettext copyright.
33615         Use ANSI definitions and prototypes.
33616         (_nl_normalize_codeset): Avoid integer overflow.
33617         * intl/loadinfo.h: Switch to gettext copyright.
33618         Use ANSI definitions and prototypes.
33619         (LIBINTL_DLL_EXPORTED): New define.
33620         (PATH_SEPARATOR): New define.
33621         * intl/loadmsgcat.c: Switch to gettext copyright.
33622         * intl/localealias.c: Switch to gettext copyright.
33623         Use ANSI definitions and prototypes.
33624         (_nl_expand_alias): Use PATH_SEPARATOR.
33625         * intl/ngettext.c: Switch to gettext copyright.
33626         Use ANSI definitions and prototypes.
33627         * intl/plural-exp.c: Likewise.
33628         * intl/plural-exp.h: Switch to gettext copyright.
33629         Use ANSI definitions and prototypes.
33630         (struct expression): Move definition of enum operator outside
33631         of struct definition.
33632         * intl/plural.c: Regenerate.
33633         * intl/plural.y: Switch to gettext copyright.
33634         Use ANSI definitions and prototypes.
33635         Port to bison 3.0.
33636         * intl/textdomain.c: Switch to gettext copyright.
33637         Use ANSI definitions and prototypes.
33638         Use gl_* locking primitives rather than __libc_* ones.
33640 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
33642         * debug/warning-nop.c: Add used atrribute.
33644 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33646         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
33648         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
33649         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
33650         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
33652 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33653             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33655         [BZ #17634]
33656         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
33657         Undefine after defining function.  Define as weak alias of
33658         __wcschr.  Use libc_hidden_weak.
33659         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
33660         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
33661         (libc_hidden_def): Also define __GI___wcschr alias.
33662         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
33663         __wcschr and define as weak alias of __wcschr.
33664         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
33665         __wcschr.
33666         [!WCSCHR] (DEFAULT_WCSCHR): Define.
33667         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
33668         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
33669         libc_hidden_weak.  Do not use libc_hidden_def.
33670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
33671         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33672         __GI___wcschr alias.
33673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
33674         [IS_IN (libc)] (wcschr): Define as macro expanding to
33675         __redirect_wcschr.
33676         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
33677         [IS_IN (libc)] (__wcschr_power6): Likewise.
33678         [IS_IN (libc)] (__wcschr_power7): Likewise.
33679         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
33680         instead of wcschr.
33681         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
33682         __libc_wcschr.
33683         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
33684         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
33685         __wcschr and define as weak alias of __wcschr.  Use
33686         libc_hidden_builtin_def.
33687         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
33688         as weak alias of __wcschr.  Use libc_hidden_weak.
33689         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
33690         wcschr.
33691         * time/era.c (_nl_init_era_entries): Likewise.
33692         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
33693         variable.
33694         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33695         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33697 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33699         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
33700         format for long int variable.
33702 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
33704         [BZ #10672]
33705         * manual/search.texi: (Array Sort Function): Remove claim how to make
33706         qsort stable.
33708 2014-12-10  Andreas Schwab  <schwab@suse.de>
33710         [BZ #12847]
33711         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
33712         user-controlled locks.
33714 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
33716         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
33717         register.
33719 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33721         * configure.ac (--disable-werror): New configure option.
33722         (enable_werror): New AC_SUBST.
33723         * configure: Regenerated.
33724         * config.make.in (enable-werror): New variable.
33725         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
33726         -Wno-error=undef.
33727         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
33728         * manual/install.texi (Configuring and compiling): Document
33729         --disable-werror.
33730         * INSTALL: Regenerated.
33731         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
33732         (CFLAGS-tst-chk2.c): Likewise.
33733         (CFLAGS-tst-chk3.c): Likewise.
33734         (CFLAGS-tst-chk4.cc): Likewise.
33735         (CFLAGS-tst-chk5.cc): Likewise.
33736         (CFLAGS-tst-chk6.cc): Likewise.
33737         (CFLAGS-tst-lfschk1.c): Likewise.
33738         (CFLAGS-tst-lfschk2.c): Likewise.
33739         (CFLAGS-tst-lfschk3.c): Likewise.
33740         (CFLAGS-tst-lfschk4.cc): Likewise.
33741         (CFLAGS-tst-lfschk5.cc): Likewise.
33742         (CFLAGS-tst-lfschk6.cc): Likewise.
33744         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
33745         (main): Disable -Wdeprecated-declarations around calls to
33746         register_printf_function.
33748         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
33749         (do_test): Disable -Wdiv-by-zero around some calls to
33750         fwrite_unlocked and fread_unlocked.
33752         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
33753         (DIAG_POP_NEEDS_COMMENT): Likewise.
33754         (_DIAG_STR1): Likewise.
33755         (_DIAG_STR): Likewise.
33756         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
33757         * stdio-common/bug21.c: Include <libc-internal.h>.
33758         (do_test): Disable -Wformat around call to sscanf.
33759         * stdio-common/scanf14.c: Include <libc-internal.h>.
33760         (main): Disable -Wformat around some calls to scanf functions.
33762 2014-12-09  Torvald Riegel  <triegel@redhat.com>
33764         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
33766 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33768         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
33769         stack variable alignment.
33771 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
33773         [BZ #17682]
33774         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
33775         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
33776         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
33777         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
33778         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
33779         __getrlimit instead of getrlimit.
33780         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
33781         __gettimeofday instead of gettimeofday.
33782         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33783         Likewise.
33784         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33785         Likewise.
33786         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33787         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
33788         Remove variable.
33789         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33790         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33792 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33794         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
33795         for wide-character tests.
33797 2014-12-04  Roland McGrath  <roland@hack.frob.com>
33799         * io/openat64.c: #include <libc-internal.h>
33800         (__openat64): Prototypify.  Use ignore_value on MODE.
33801         * io/openat.c: Likewise.
33802         * misc/reboot.c: #include <libc-internal.h>
33803         (reboot): Prototypify.  Use ignore_value on HOWTO.
33804         * misc/ptrace.c: #include <libc-internal.h>
33805         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
33807 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
33809         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
33810         XPG4, UNIX98 and XOPEN2K.
33811         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
33812         Remove variable.
33813         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33815 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33817         * libio/fileops.c: Use ISO C style for function definitions.
33818         * libio/iofopen.c: Likewise.
33819         * libio/wfileops.c: Likewise.
33821         [BZ #17653]
33822         * libio/fileops.c (_IO_new_file_underflow): Unset cached
33823         offset on EOF.
33824         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
33825         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
33826         (fgets_func): Function pointer to fgets and fgetws.
33827         (do_ftell_test): Add test to verify ftell value after read
33828         EOF.
33829         (do_test): Set fgets_func.
33831         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
33832         O_TRUNC flag for w and w+ modes.
33833         (do_rewind_test): Likewise.
33834         (do_ftell_test): Likewise.
33835         (do_write_test): Likewise.
33837         [BZ #17647]
33838         * libio/fileops.c (do_ftell): Seek only when there are
33839         unflushed writes.
33840         * libio/wfileops.c (do_ftell_wide): Likewise.
33841         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
33842         test case.
33843         (do_one_test): Call it.
33845 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
33847         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
33848         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
33849         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
33850         Remove variable.
33851         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33852         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33853         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33855 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33857         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
33858         Remove variable.
33859         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33861         [BZ #17668]
33862         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
33863         as weak alias of __getifaddrs.  Use libc_hidden_weak.
33864         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33865         __freeifaddrs.  Use libc_hidden_weak.
33866         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
33867         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
33868         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33869         __freeifaddrs.  Use libc_hidden_weak.
33870         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
33871         __getifaddrs and define as weak alias of __getifaddrs.  Use
33872         libc_hidden_weak.
33873         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33874         __freeifaddrs.  Use libc_hidden_weak.
33875         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
33876         Remove variable.
33877         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33878         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33880 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
33882         [BZ #17601]
33883         * sysdeps/mips/start.S (__start): Use indirect jump to call
33884         __libc_start_main.
33886 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33888         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
33890         * nptl/tst-mutex1.c: Include <stdbool.h>.
33891         [!ATTR] (ATTR_NULL): New macro.
33892         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
33893         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
33894         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
33896         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
33897         to char *.
33899         [BZ #17665]
33900         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
33901         Change conditional to [__USE_MISC].
33903         [BZ #17664]
33904         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
33905         fgets_unlocked.
33906         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
33907         __fgets_unlocked.
33908         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
33909         fgets_unlocked.
33910         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
33911         Remove variable.
33912         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33913         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33914         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33915         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33916         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33917         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33918         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33919         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33920         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33922         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
33924 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33926         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33927         Remove strpbrk objects.
33928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33929         (__libc_ifunc_impl_list): Remove strpbrk implementation.
33930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
33931         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
33932         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
33933         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
33935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33936         Remove strcspn objects.
33937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33938         (__libc_ifunc_impl_list): Remove strcspn implementation.
33939         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
33940         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
33941         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
33942         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
33944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33945         Remove strspn objetcs.
33946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33947         (__libc_ifunc_impl_list): Remove strspn implementation.
33948         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
33949         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33950         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
33951         * sysdeps/powerpc/powerpc64/strspn.S: New file.
33953 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
33955         [BZ #17581]
33956         * malloc/hooks.c
33957         (mem2mem_check): Add a terminator to the chain of checking blocks.
33958         (malloc_check_get_size): Use it here.
33959         (mem2chunk_check): Ditto.
33961 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33963         * sysdeps/powerpc/powerpc64/strtok.S: New file.
33964         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
33966 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
33968         * bits/ioctl-types.h: Indent preprocessor directives correctly.
33970         * nptl/nptl-init.c: Include libc-internal.h.
33971         (__pthread_initialize_minimal_internal): Use ROUND_UP.
33973         * elf/ldconfig.c (search_dir): Expand comment.
33975 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
33977         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
33978         variable.
33979         (linknamespace-symlist-stdlibs-tests): Likewise.
33980         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
33981         instead of $(objpfx)symlist-stdlibs.
33982         (linknamespace-libs-isoc): New variable.
33983         (linknamespace-libs): Use $(linknamespace-libs-isoc).
33984         (linknamespace-libs-ISO): New variable.
33985         (linknamespace-libs-ISO99): Likewise.
33986         (linknamespace-libs-ISO11): Likewise.
33987         (linknamespace-libs-XPG3): Likewise.
33988         (linknamespace-libs-XPG4): Likewise.
33989         (linknamespace-libs-POSIX): Likewise.
33990         (linknamespace-libs-UNIX98): Likewise.
33991         (linknamespace-libs-XOPEN2K): Likewise.
33992         (linknamespace-libs-POSIX2008): Likewise.
33993         (linknamespace-libs-XOPEN2K8): Likewise.
33994         ($(objpfx)symlist-stdlibs): Replace by
33995         $(linknamespace-symlist-stdlibs-tests).  Use
33996         $(linknamespace-libs-$*) as set of libraries.
33997         ($(linknamespace-header-tests)): Update dependencies.  Use
33998         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
33999         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34000         * conform/linknamespace.pl: Remove comment about considering
34001         definitions of symbols from irrelevant libraries.
34003 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34005         [BZ #13862]
34006         * elf/dl-tls.c: Include <atomic.h>.
34007         (oom): Remove #ifdef SHARED/#endif.
34008         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34009         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34010         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34011         big enough.
34012         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34013         * nptl/Makefile (tests): Add tst-stack4.
34014         (modules-names): Add tst-stack4mod.
34015         ($(objpfx)tst-stack4): New.
34016         (tst-stack4mod.sos): Likewise.
34017         ($(objpfx)tst-stack4.out): Likewise.
34018         ($(tst-stack4mod.sos)): Likewise.
34019         (clean): Likewise.
34020         * nptl/tst-stack4.c: New file.
34021         * nptl/tst-stack4mod.c: Likewise.
34023 2014-11-27  J. Brown  <jb999@gmx.de>
34025         * sysdeps/x86/bits/string.h: Add recent CPUs.
34027 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34029         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34030         sigblock.
34032         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34033         feof.
34035         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34036         variable.
34038 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34040         * nscd/connections.c: Include libc-internal.h because of macro
34041         usage ignore_value.
34043 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34045         * string/bits/string3.h (__warn_memset_zero_len): Don't
34046         declare for gcc newer than 5.0.
34047         (memset): Don't test for zero-length __LEN for gcc newer than
34048         5.0.
34050 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34052         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34053         size_t for %zu format.
34055         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34056         difference, not %ju.
34058 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34060         * include/libc-internal.h (ignore_value): New macro.
34061         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34062         with ignore_value.
34064         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34065         definition.
34067         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34068         pthread_cleanup_push to void *.
34070         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34071         Undefine.
34073         [BZ #16619]
34074         [BZ #16740]
34075         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34076         instead of 1L << 52.
34078         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34079         * libio/bug-rewind2.c (do_test): Likewise.
34081         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34082         * debug/test-strcpy_chk-ifunc.c: Likewise.
34083         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34084         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34085         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34086         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34087         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34088         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34089         * Rules [$(multi-arch) = no] (tests): Do not filter out
34090         $(tests-ifunc).
34091         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34092         * debug/Makefile (tests-ifunc): Remove variable.
34093         (tests): Do not add $(tests-ifunc).
34094         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34095         (tests): Do not add $(tests-ifunc).
34096         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34097         [TEST_IFUNC]: Remove conditionals.
34098         * string/test-string.h (TEST_IFUNC): Remove macro.
34099         [TEST_IFUNC]: Remove conditionals.
34101         * string/test-strchr.c [!WIDE] (L): New macro.
34102         [WIDE] (L): Likewise.
34103         (check1): Use CHAR instead of char.  Use L on string and character
34104         constants.
34106 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34108         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34109         tests.
34110         * sysdeps/powerpc/bits/atomic.h
34111         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34112         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34113         (atomic_exchange_and_add_acq): Likewise.
34114         (atomic_exchange_and_add_rel): Likewise.
34115         * sysdeps/powerpc/powerpc32/bits/atomic.h
34116         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34117         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34118         * sysdeps/powerpc/powerpc64/bits/atomic.h
34119         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34120         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34122 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34124         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34125         Change synchronization of __sched_fifo_min_prio and
34126         __sched_fifo_max_prio.
34127         * nptl/pthread_mutexattr_getprioceiling.c
34128         (pthread_mutexattr_getprioceiling): Likewise.
34129         * nptl/pthread_mutexattr_setprioceiling.c
34130         (pthread_mutexattr_setprioceiling): Likewise.
34131         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34132         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34133         Likewise.
34135 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34137         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34138         void.
34140 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34142         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34143         third argument const.
34145 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34147         fnmatch: work around GCC compiler warning bug with uninit var
34148         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34149         This works around a bug with x86-64 GCC 4.9.2 and earlier
34150         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34151         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34152         used uninitialized in this function [-Wmaybe-uninitialized]".
34154 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34156         * posix/bug-regex31.c (main): Return RES not 0.
34158 2014-11-25  Anton Blanchard <anton@samba.org>
34160         * sysdeps/powerpc/bits/atomic.h
34161         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34163 2014-11-24  Sterling Augustine  <saugustine@google.com>
34165         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34167 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34169         [BZ #17608]
34170         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34172 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34174         [BZ #17633]
34175         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34176         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34177         variable.
34178         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34179         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34181 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34183         * string/strncpy.c (strncpy): Improve performance by using memset.
34185 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34187         * string/strcpy.c (strcpy):
34188         Improve performance by using strlen and memcpy.
34190 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34192         * string/strcoll_l.c (get_next_seq): __always_inline.
34193         * string/strcoll_l.c (do_compare): __always_inline.
34195 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34197         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34198         defined.
34199         * include/mqueue.h: Likewise.
34200         * include/stdlib.h: Likewise.
34202         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34203         (get_null_defines): Adjust.
34204         * sunrpc/Makefile: Adjust comment.
34205         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34206         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34207         (CFLAGS-interp.c): Likewise.
34208         (CFLAGS-ldconfig.c): Likewise.
34209         (CPPFLAGS-.os): Likewise.
34210         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34211         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34212         * extra-modules.mk (extra-modules.mk): Likewise.
34213         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34214         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34215         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34216         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34217         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34218         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34219         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34220         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34221         * iconvdata/Makefile (CPPFLAGS): Likewise.
34222         (cpp-srcs-left): Add libof for all iconvdata routines.
34223         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34224         * include/assert.h: Likewise.
34225         * include/ctype.h: Likewise.
34226         * include/errno.h: Likewise.
34227         * include/libc-symbols.h: Likewise.
34228         * include/math.h: Likewise.
34229         * include/netdb.h: Likewise.
34230         * include/resolv.h: Likewise.
34231         * include/stdio.h: Likewise.
34232         * include/stdlib.h: Likewise.
34233         * include/string.h: Likewise.
34234         * include/sys/stat.h: Likewise.
34235         * include/wctype.h: Likewise.
34236         * intl/l10nflist.c: Likewise.
34237         * libidn/idn-stub.c: Likewise.
34238         * libio/libioP.h: Likewise.
34239         * nptl/libc_multiple_threads.c: Likewise.
34240         * nptl/pthreadP.h: Likewise.
34241         * posix/regex_internal.h: Likewise.
34242         * resolv/res_hconf.c: Likewise.
34243         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34244         * sysdeps/arm/memmove.S: Likewise.
34245         * sysdeps/arm/sysdep.h: Likewise.
34246         * sysdeps/generic/_itoa.h: Likewise.
34247         * sysdeps/generic/symbol-hacks.h: Likewise.
34248         * sysdeps/gnu/errlist.awk: Likewise.
34249         * sysdeps/gnu/errlist.c: Likewise.
34250         * sysdeps/i386/i586/memcpy.S: Likewise.
34251         * sysdeps/i386/i586/memset.S: Likewise.
34252         * sysdeps/i386/i686/memcpy.S: Likewise.
34253         * sysdeps/i386/i686/memmove.S: Likewise.
34254         * sysdeps/i386/i686/mempcpy.S: Likewise.
34255         * sysdeps/i386/i686/memset.S: Likewise.
34256         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34257         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34258         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34259         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34261         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34262         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34263         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34264         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34272         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34273         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34274         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34275         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34276         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34277         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34278         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34279         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34280         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34281         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34282         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34283         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34284         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34285         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34286         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34289         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34291         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34292         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34293         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34294         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34297         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34298         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34299         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34300         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34301         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34302         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34303         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34304         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34305         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34306         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34307         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34308         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34309         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34310         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34311         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34312         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34313         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34314         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34315         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34316         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34317         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34318         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34319         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34320         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34321         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34322         * sysdeps/posix/closedir.c: Likewise.
34323         * sysdeps/posix/opendir.c: Likewise.
34324         * sysdeps/posix/readdir.c: Likewise.
34325         * sysdeps/posix/rewinddir.c: Likewise.
34326         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34327         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34328         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34329         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34330         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34331         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34337         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34338         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34340         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34341         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34342         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34343         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34344         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34346         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34347         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34348         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34349         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34352         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34354         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34362         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34363         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34364         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34366         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34367         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34368         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34370         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34371         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34372         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34373         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34374         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34375         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34376         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34377         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34379         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34380         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34382         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34383         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34384         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34386         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34387         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34388         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34389         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34390         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34391         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34392         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34393         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34394         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34395         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34396         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34397         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34398         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34399         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34400         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34401         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34402         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34403         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34404         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34405         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34406         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34407         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34408         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34409         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34410         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34411         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34412         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34413         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34414         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34415         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34416         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34417         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34418         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34422         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34424         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34425         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34427         * sysdeps/unix/alpha/sysdep.S: Likewise.
34428         * sysdeps/unix/alpha/sysdep.h: Likewise.
34429         * sysdeps/unix/make-syscalls.sh: Likewise.
34430         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34432         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34433         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34435         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34436         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34437         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34438         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34439         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34441         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34444         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34445         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34446         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34447         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34448         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34449         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34450         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34451         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34452         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34453         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34454         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34455         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34456         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34459         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34460         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34463         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34464         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34468         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34469         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34470         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34471         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34472         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34473         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34474         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34477         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34479         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34480         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34482         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34483         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34484         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34486         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34488         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34489         * sysdeps/x86_64/memcpy.S: Likewise.
34490         * sysdeps/x86_64/memmove.c: Likewise.
34491         * sysdeps/x86_64/memset.S: Likewise.
34492         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34493         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34494         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34495         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34496         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34498         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34499         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34500         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34501         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34502         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34503         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34504         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34505         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34506         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34507         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34508         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34509         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34510         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34511         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34512         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34513         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34514         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34515         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34516         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34517         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34518         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34519         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34520         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34521         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34522         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34523         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34524         * sysdeps/x86_64/strcmp.S: Likewise.
34526         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34528         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34529         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34530         * elf/rtld-Rules: Likewise.
34531         * elf/setup-vdso.h: Likewise.
34532         * include/assert.h: Likewise.
34533         * include/bits/stdlib-float.h: Likewise.
34534         * include/errno.h: Likewise.
34535         * include/sys/stat.h: Likewise.
34536         * include/unistd.h: Likewise.
34537         * sysdeps/aarch64/setjmp.S: Likewise.
34538         * sysdeps/alpha/setjmp.S: Likewise.
34539         * sysdeps/arm/__longjmp.S: Likewise.
34540         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34541         * sysdeps/arm/setjmp.S: Likewise.
34542         * sysdeps/arm/sysdep.h: Likewise.
34543         * sysdeps/generic/_itoa.h: Likewise.
34544         * sysdeps/generic/dl-sysdep.h: Likewise.
34545         * sysdeps/generic/ldsodefs.h: Likewise.
34546         * sysdeps/i386/dl-tls.h: Likewise.
34547         * sysdeps/i386/setjmp.S: Likewise.
34548         * sysdeps/m68k/setjmp.c: Likewise.
34549         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34550         * sysdeps/mach/hurd/opendir.c: Likewise.
34551         * sysdeps/posix/getcwd.c: Likewise.
34552         * sysdeps/posix/opendir.c: Likewise.
34553         * sysdeps/posix/profil.c: Likewise.
34554         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34555         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34556         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34557         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34558         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34559         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34560         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34561         * sysdeps/s390/dl-tls.h: Likewise.
34562         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34563         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34564         * sysdeps/sh/sh3/setjmp.S: Likewise.
34565         * sysdeps/sh/sh4/setjmp.S: Likewise.
34566         * sysdeps/unix/alpha/sysdep.h: Likewise.
34567         * sysdeps/unix/arm/sysdep.S: Likewise.
34568         * sysdeps/unix/i386/sysdep.S: Likewise.
34569         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34570         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34571         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34572         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34573         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34574         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34575         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34576         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34577         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34578         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34579         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34580         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34584         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34587         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34588         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34589         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34592         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34593         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34594         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34596         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34597         * sysdeps/x86_64/setjmp.S: Likewise.
34599         * include/math.h: Use IS_IN instead of IS_IN_libm.
34600         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34601         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34602         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34603         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34604         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34605         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34606         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34607         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34609         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34610         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34611         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34612         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34613         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34614         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34615         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34616         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34617         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34618         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34619         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34620         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34621         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34622         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34623         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34624         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34625         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34626         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34627         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34628         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34629         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34630         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34631         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34632         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34634         Likewise.
34635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34636         Likewise.
34637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
34638         Likewise.
34639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
34640         Likewise.
34641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
34642         Likewise.
34643         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34644         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
34645         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34646         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34647         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34648         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
34650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
34651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
34652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
34653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
34654         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
34655         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
34656         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34657         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34658         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34659         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34660         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34661         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34662         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34663         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
34664         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
34665         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
34666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
34667         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
34668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34669         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
34671         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
34672         * nptl/pthreadP.h: Likewise.
34673         * nptl_db/structs.def: Likewise.
34674         * sysdeps/arm/sysdep.h: Likewise.
34675         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34676         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34677         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
34678         * sysdeps/unix/alpha/sysdep.h: Likewise.
34679         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34681         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34682         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34683         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34684         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34685         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34686         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34687         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34688         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34689         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34690         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34691         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34692         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34697         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34700         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34701         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34702         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34703         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
34704         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34706         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
34707         * nptl/pthreadP.h: Likewise.
34708         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34709         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34710         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34711         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34712         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34713         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34714         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34715         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34716         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34717         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34718         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34719         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34721         Likewise.
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34723         Likewise.
34724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34726         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34729         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34730         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34731         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34733         * dlfcn/dladdr.c: Use IS_IN.
34734         * dlfcn/dladdr1.c: Likewise.
34735         * dlfcn/dlclose.c: Likewise.
34736         * dlfcn/dlerror.c: Likewise.
34737         * dlfcn/dlinfo.c: Likewise.
34738         * dlfcn/dlmopen.c: Likewise.
34739         * dlfcn/dlopen.c: Likewise.
34740         * dlfcn/dlsym.c: Likewise.
34741         * dlfcn/dlvsym.c: Likewise.
34743         * include/ifaddrs.h: Use IS_IN.
34744         * inet/check_pf.c: Likewise.
34745         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34746         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
34748         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
34749         IS_IN_ldconfig.
34750         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
34751         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
34753         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
34754         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
34755         IS_IN (libc).
34757         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
34759         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
34760         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34761         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34762         * include/libc-symbols.h (IS_IN_LIB): New macro.
34763         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
34764         * include/netdb.h: Likewise.
34765         * include/stap-probe.h: Remove all uses of IN_LIB.
34767         * Makeconfig (module-cppflags-real): Define MODULE_NAME
34768         instead of IN_MODULE.
34769         * include/libc-symbols.h (IN_MODULE): Define using
34770         MODULE_NAME.
34771         (PASTE_NAME, PASTE_NAME1): New macros.
34772         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
34773         of IN_LIB.
34774         (STAP_PROBE_ASM): Likewise.
34776 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34778         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
34779         __mach_init in dlopened libc.
34781 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
34783         * sysdeps/arm/preconfigure.ac: Delete EABI check.
34784         * sysdeps/arm/preconfigure: Regenerate.
34786 2014-11-21  Roland McGrath  <roland@hack.frob.com>
34788         * nptl/pthread_create.c (__pthread_create_2_1): Set
34789         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
34790         when copying values from IATTR into PD.
34792 2014-11-21  Will Newton  <will.newton@linaro.org>
34793             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
34795         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
34796         Refactor inline-asm.  Also add comment.
34798         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
34799         ElfW macro instead of hardcoded Elf64 types.
34800         (la_aarch64_gnu_pltenter): Likewise.
34801         * sysdeps/aarch64/dl-machine.h
34802         (elf_machine_runtime_setup): Use ElfW(Addr).
34804         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
34805         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
34806         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
34807         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
34808         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
34809         (R_AARCH64_TLS_DTPMOD64): Rename to ..
34810         (R_AARCH64_TLS_DTPMOD): This.
34811         (R_AARCH64_TLS_DTPREL64): Rename to ...
34812         (R_AARCH64_TLS_DTPREL): This.
34813         (R_AARCH64_TLS_TPREL64): Rename to ...
34814         (R_AARCH64_TLS_TPREL): This.
34815         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
34816         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
34817         R_AARCH64_TLS_TPREL64.
34818         (elf_machine_rela): Likewise.
34820 2014-11-21  Torvald Riegel  <triegel@redhat.com>
34822         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
34823         by setting it to 0.  64b atomics are not supported currently.
34825 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34827         [BZ #16469]
34828         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
34829         search domain names.
34831 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34833         [BZ #16469]
34834         * NEWS: Update.
34835         * resolv/res_query.c (__libc_res_nquerydomain): Retain
34836         trailing dot.
34837         * posix/tst-getaddrinfo5.c: New.
34838         * posix/Makefile (tests): Add it.
34840 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34842         [BZ #14498]
34843         * NEWS: Fixed.
34844         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
34845         after parsing line but before break_if_match.
34846         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
34847         if there is a protocol mismatch.
34849 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
34851         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
34852         because the potential race is on the user-supplied stream.
34854 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34856         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
34857         string literal if not passed a buffer.
34858         * manual/job.texi (ctermid): Update reasoning, note deviation
34859         from posix, suggest mtasurace when not passed a buffer, for
34860         future non-preliminary safety notes.
34862 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34864         * manual/users.texi (cuserid): Fix MT-Safety note for the case
34865         of not passing it a buffer.
34866         Reported by Peng Haitao.
34868 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34870         * manual/Makefile ($(objpfx)stamp-summary): Require
34871         check-safety.sh to pass.
34872         * manual/check-safety.sh: Wish for verification that every
34873         @deftypefn and @deftypefun is followed by a @safety remark.
34875 2014-11-20  Roland McGrath  <roland@hack.frob.com>
34877         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
34879         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
34880         PTHREAD_CANCEL_ASYNCHRONOUS.
34881         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
34882         send SIGCANCEL.
34884         * nptl/default-sched.h: New file.
34885         * sysdeps/unix/sysv/linux/default-sched.h: New file.
34886         * nptl/pthread_create.c: Include it.
34887         (__pthread_create_2_1): Use collect_default_sched instead of making
34888         Linux syscalls here directly.
34890 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34892         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
34893         __pthread_once): Use C11 atomics.
34895 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34897         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
34899 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34901         * include/atomic.h (__atomic_link_error, __atomic_check_size,
34902         atomic_thread_fence_acquire, atomic_thread_fence_release,
34903         atomic_thread_fence_seq_cst, atomic_load_relaxed,
34904         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
34905         atomic_compare_exchange_weak_relaxed,
34906         atomic_compare_exchange_weak_acquire,
34907         atomic_compare_exchange_weak_release,
34908         atomic_exchange_acquire, atomic_exchange_release,
34909         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
34910         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
34911         atomic_fetch_and_acquire,
34912         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
34914 2014-11-20  Torvald Riegel  <triegel@redhat.com>
34916         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
34917         USE_ATOMIC_COMPILER_BUILTINS): Define.
34918         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
34919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34920         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
34921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34922         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
34923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34924         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
34925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34926         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
34927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34928         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
34929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34930         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
34931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34932         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
34933         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34934         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34936         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34938         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
34939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34940         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
34941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34942         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
34943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34944         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
34945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34946         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
34947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34948         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
34949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34950         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
34951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34952         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34953         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34954         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
34955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34956         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
34957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34959 2014-11-19  Roland McGrath  <roland@hack.frob.com>
34961         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
34962         the sched_priority value here.  It was already checked when the user
34963         called pthread_attr_setschedparam.
34965         * nptl/tst-bad-schedattr.c: New file.
34966         * nptl/Makefile (tests): Add it.
34968 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
34969             Florian Weimer  <fweimer@redhat.com>
34970             Joseph Myers  <joseph@codesourcery.com>
34971             Adam Conrad  <adconrad@0c3.net>
34972             Andreas Schwab  <schwab@suse.de>
34973             Brooks  <bmoses@google.com>
34975         [BZ #17625]
34976         * wordexp-test.c (__dso_handle): Add prototype.
34977         (__register_atfork): Likewise.
34978         (__app_register_atfork): New function.
34979         (registered_forks): New global.
34980         (register_fork): New function.
34981         (test_case): Add 3 new tests for WRDE_CMDSUB.
34982         (main): Call __app_register_atfork.
34983         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
34984         fork count is non-zero fail the test.
34985         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
34986         is set.
34987         (parse_dollars): Remove check for WRDE_NOCMD.
34988         (parse_dquote): Likewise.
34990 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34992         * Makeconfig (built-modules): List non-library modules to be
34993         built.
34994         (module-cppflags): Include libc-modules.h for
34995         everything except shlib-versions.v.i.
34996         (CPPFLAGS): Use it.
34997         (before-compile): Add libc-modules.h.
34998         ($(common-objpfx)libc-modules.h,
34999         $(common-objpfx)libc-modules.stmp): New targets.
35000         (common-generated): Add libc-modules.h and libc-modules.stmp.
35001         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35002         * include/libc-symbols.h: Don't include libc-modules.h.
35003         * include/libc-modules.h: Remove file.
35004         * scripts/gen-libc-modules.awk: New script to generate
35005         libc-modules.h.
35006         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35007         Depend on libc-modules.stmp.
35009         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35011         * Makeconfig (in-module): Get value of libof set for the
35012         translation unit.
35013         (CPPFLAGS): Use $(in-module).
35014         * Makerules: Don't suffix routine names for nonlib.
35015         * include/libc-modules.h: New file.
35016         * include/libc-symbols.h: Include libc-modules.h
35017         (IS_IN): New macro to replace IS_IN_* macros.
35018         * elf/Makefile: Set libof-* for each routine.
35019         * elf/rtld-Rules: Likewise.
35020         * extra-modules.mk: Likewise.
35021         * iconv/Makefile: Likewise.
35022         * iconvdata/Makefile: Likewise.
35023         * locale/Makefile: Likewise.
35024         * malloc/Makefile: Likewise.
35025         * nss/Makefile: Likewise.
35026         * sysdeps/gnu/Makefile: Likewise.
35027         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35028         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35029         * sysdeps/s390/s390-64/Makefile: Likewise.
35030         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35031         CPPFLAGS for nscd instead of nonlib.
35033 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35035         * nptl/createthread.c: New file.
35037         * nptl/createthread.c: Moved ...
35038         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35040         * nptl/createthread.c: Add proper top-line comment.
35041         (do_clone): Folded into ...
35042         (create_thread): ... here.  Take new arguments STOPPED_START and
35043         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35044         increment __nptl_threads, do event-reporting logic, do
35045         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35046         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35047         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35048         just send SIGCANCEL.
35049         * nptl/pthread_create.c: Forward-declare create_thread before
35050         including createthread.c.
35051         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35052         declaration, and new macro START_THREAD_SELF to replace argument.
35053         Remove return statement.
35054         (report_thread_creation): New function.
35055         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35056         synchronization logic, and __nptl_nthreads increment here, around
35057         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35058         PD->parent_cancelhandling here, before create_thread.  When
35059         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35060         __deallocate_stack, and ENOMEM translation here.
35062 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35064         [BZ #17616]
35065         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35066         (mptwo): Rename to __mptwo.
35067         (__inv): Use __mptwo instead of mptwo.
35068         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35069         (mptwo): Rename to __mptwo.
35070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35071         of mpone and __mptwo instead of mptwo.
35072         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35073         instead of mpone.
35074         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35075         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35076         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35077         of mpone and __mptwo instead of mptwo.
35078         (__mpranred): Use __mpone instead of mpone.
35079         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35080         variable.
35081         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35082         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35083         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35084         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35085         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35086         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35087         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35088         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35089         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35090         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35091         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35092         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35093         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35094         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35095         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35096         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35097         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35098         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35099         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35101 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35103         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35104         replace BSD Handler xref with BSD Signal Handling.
35106 2014-11-17  Richard Henderson  <rth@redhat.com>
35108         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35109         (_FP_PACK_RAW_2): Remove.
35110         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35111         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35112         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35113         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35114         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35115         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35116         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35117         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35118         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35119         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35120         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35121         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35122         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35123         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35124         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35125         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35127 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35129         * signal/signal.h [__USE_MISC]
35130         (struct sigvec): Remove type.
35131         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35132         (sigvec): Remove declaration.
35133         * sysdeps/posix/sigvec.c: Moved ...
35134         * signal/sigvec.c: ... here, replacing old file.
35135         (struct sigvec): New type, copied from old signal.h definition.
35136         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35137         (__sigvec): Convert definition to prototype.
35138         (sigvec): Replace weak_alias with compat_symbol.
35139         * signal/Versions (libc: GLIBC_2.21): New version set.
35140         * include/signal.h: Remove __sigvec declaration.
35141         * sysdeps/unix/bsd/sigvec.c: Remove file.
35142         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35143         * manual/signal.texi (BSD Handler): Remove subsection.
35144         Move siginterrupt up to ...
35145         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35146         (Blocking in BSD): Fold subsection into its parent.
35147         * NEWS: Mention sigvec removal.
35149 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35151         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35152         (DLA_FMS): Make definition conditional only on [__FMA4__].
35153         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35154         definition.
35156         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35157         Make definition conditional only on [PROF].
35158         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35159         definition.
35160         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35161         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35163         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35164         !__GNUC__].
35165         * include/signal.h (__sigpause): Move declaration above call to
35166         libc_hidden_proto.
35167         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35168         variable.
35169         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35170         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35172 2014-11-14  David S. Miller  <davem@davemloft.net>
35174         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35175         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35177 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35179         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35180         * configure: Regenerated.
35181         * manual/install.texi (Tools for Compilation): Document a
35182         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35183         compiler verified to work.
35184         * INSTALL: Regenerated.
35186         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35187         redeclare with asm name.
35188         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35189         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35190         including <string.h>.
35191         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35192         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35193         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35194         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35195         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35197         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35199 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35201         * stdlib/strtol.c (__strtol): Use prototype definition.
35203         [BZ #17594]
35204         * stdlib/strtol.c (SYM__): New macro.
35205         (SYM__1): Likewise.
35206         (__strtol): Likewise.
35207         (strtol): Rename to __strtol and define as weak alias of
35208         __strtol.  Use libc_hidden_weak.
35210 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35212         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35213         Use numbered labels in inline assembly.
35215 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35217         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35218         Add setjmp LIBC_PROBE.
35219         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35220         Likewise.
35221         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35222         Add longjmp, longjmp_target LIBC_PROBE.
35223         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35224         Likewise.
35226 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35228         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35229         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35230         to get rid of unused variable warning.
35232 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35234         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35235         Check for unwind_backtrace ==  NULL only in SHARED case.
35236         (__backchain_backtrace): Compile only in SHARED case.
35237         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35238         Likewise.
35239         (__backchain_backtrace): Declare as static.
35241 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35243         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35244         (__libc_multiple_threads_ptr): Variable moved ...
35245         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35247 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35249         * conform/GlibcConform.pm: New file.
35250         * conform/conformtest.pl: Use GlibcConform module.
35251         * conform/linknamespace.pl: New file.
35252         * conform/list-header-symbols.pl: Likewise.
35253         * conform/Makefile (linknamespace-symlists-base): New variable.
35254         (linknamespace-symlists-tests): Likewise.
35255         (linknamespace-header-base): Likewise.
35256         (linknamespace-header-tests): Likewise.
35257         (tests-special): Add new tests.
35258         ($(linknamespace-symlists-tests)): New rule.
35259         (linknamespace-libs): New variable.
35260         ($(objpfx)symlist-stdlibs): New rule.
35261         ($(linknamespace-header-tests)): Likewise.
35262         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35263         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35264         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35265         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35266         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35267         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35268         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35269         (test-xfail-ISO/math.h/linknamespace): Likewise.
35270         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35271         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35272         (test-xfail-ISO/time.h/linknamespace): Likewise.
35273         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35274         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35275         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35276         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35277         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35278         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35279         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35280         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35281         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35282         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35283         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35284         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35285         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35286         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35287         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35288         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35289         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35290         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35291         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35292         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35293         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35294         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35295         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35296         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35297         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35298         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35299         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35300         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35301         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35302         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35303         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35304         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35305         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35306         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35307         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35308         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35309         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35310         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35311         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35312         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35313         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35314         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35315         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35316         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35317         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35318         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35319         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35320         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35321         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35322         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35323         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35324         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35325         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35326         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35327         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35328         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35329         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35330         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35331         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35332         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35333         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35334         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35335         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35336         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35337         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35338         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35339         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35340         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35341         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35342         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35343         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35344         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35345         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35346         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35347         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35348         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35349         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35350         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35351         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35352         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35353         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35354         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35355         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35356         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35357         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35358         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35359         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35360         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35361         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35362         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35363         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35364         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35365         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35366         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35367         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35368         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35369         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35370         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35371         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35372         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35373         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35374         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35375         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35376         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35377         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35378         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35379         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35380         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35381         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35382         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35383         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35384         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35385         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35386         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35387         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35388         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35389         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35390         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35391         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35392         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35393         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35394         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35395         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35396         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35397         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35398         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35399         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35400         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35401         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35402         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35403         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35404         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35405         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35406         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35407         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35408         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35409         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35410         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35411         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35412         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35413         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35414         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35415         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35416         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35417         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35418         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35419         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35420         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35421         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35422         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35424         [BZ #17589]
35425         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35426         of fgets_unlocked.
35428         [BZ #17585]
35429         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35430         (memmem): Rename to __memmem and define as weak alias of
35431         __memmem.  Use libc_hidden_weak.
35432         (__memmem): Use libc_hidden_def.
35433         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35434         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35435         memmem.
35437         [BZ #17582]
35438         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35439         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35440         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35441         and define as weak alias of __fgets_unlocked.  Use
35442         libc_hidden_weak.
35443         (__fgets_unlocked): Use libc_hidden_def.
35444         * include/stdio.h (__fgets_unlocked): Declare.  Use
35445         libc_hidden_proto.
35446         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35447         __fgets_unlocked instead of fgets_unlocked.
35448         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35449         (GET_NPROCS_CONF_PARSER): Likewise.
35450         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35451         (GET_NPROCS_CONF_PARSER): Likewise.
35453         [BZ #17574]
35454         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35455         weak alias of __wmemset.  Use libc_hidden_weak.
35456         (__wmemset): Use libc_hidden_def.
35457         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35458         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35459         of wmemset.
35461         [BZ #17573]
35462         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35463         with asm name __mempcpy.
35464         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35466         [BZ #17572]
35467         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35468         and define as weak alias of __rawmemchr.
35469         (__rawmemchr): Do not define as strong alias of rawmemchr.
35471         [BZ #17571]
35472         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35473         alias of __qsort_r.
35474         (qsort): Call __qsort_r instead of qsort_r.
35475         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35476         (__qsort_r): Declare.  Call libc_hidden_proto.
35477         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35478         instead of qsort_r.
35479         * nscd/gai.c (__qsort_r): Define to qsort_r.
35480         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35481         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35482         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35484         [BZ #17570]
35485         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35486         define as weak alias of __malloc_info.
35488         [BZ #17584]
35489         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35490         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35491         (__rewinddir): Use libc_hidden_def.
35492         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35493         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35494         (__rewinddir): Use libc_hidden_def.
35495         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35496         weak alias of __rewinddir.  Don't use libc_hidden_def.
35497         (__rewinddir): Use libc_hidden_def.
35498         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35499         (__rewinddir): Use libc_hidden_proto.
35500         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35501         rewinddir.
35502         (__getcwd): Use __rewinddir instead of rewinddir.
35504         [BZ #17583]
35505         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35506         alias of __fileno.  Use libc_hidden_weak.
35507         (__fileno): Use libc_hidden_def.
35508         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35509         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35510         alias of __ftello.
35511         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35512         __ftello.
35513         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35514         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35515         libc_hidden_def.
35516         (fread_unlocked): Don't use libc_hidden_ver.
35517         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35518         and define as weak alias of __fread_unlocked.  Don't use
35519         libc_hidden_def.
35520         (__fread_unlocked): Use libc_hidden_def.
35521         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35522         (ftello): Don't use libc_hidden_proto.
35523         (__ftello): Declare.  Use libc_hidden_proto.
35524         (fread_unlocked): Don't use libc_hidden_proto.
35525         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35526         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35527         and __ftello instead of fileno, fread_unlocked and ftello.
35529 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35531         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35532         GOT12.
35533         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35534         Likewise.
35535         (_dl_start_user): Likewise.
35536         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35538 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35539             Siddhesh Poyarekar  <siddhesh@redhat.com>
35541         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35542         Move argv and envp down instead of moving argc up.
35543         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35545 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35547         [BZ #17506]
35548         * test-skeleton.c (main): Return successful if one of
35549         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35550         * string/tst-strcoll-overflow.c: Define expected status.
35552 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35554         [BZ #17475]
35555         * locale/iso-639.def: Define Bhili and Tulu language codes.
35557 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35559         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35561 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35563         [BZ #17555]
35564         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35566 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35568         * configure.ac: Updated check of minimal required version to
35569         2.22.
35570         * manual/install.texi (Tools for Compilation): Updated version
35571         number.
35572         * configure: Regenerated.
35573         * INSTALL: Likewise.
35575 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35577         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35578         __tls_get_addr.
35580 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35582         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35583         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35584         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35585         libc_hidden_weak.
35586         (waitpid): Define as alias of __waitpid.
35587         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35588         __waitpid.
35589         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35590         libc_hidden_weak.
35591         (waitpid): Define as alias of __waitpid.
35592         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35593         __libc_waitpid alias.
35594         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35595         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35596         Likewise.
35597         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35598         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35599         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35600         alias.
35601         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35602         __waitpid.
35603         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35604         libc_hidden_weak.
35605         (waitpid): Define as alias of __waitpid.
35607 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35609         * manual/llio.texi: Add comment that write safety has been
35610         fixed in Linux.
35612         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35613         (localplt-build-dso): Add elf/ld.so.
35614         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35615         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35616         and free for ld.so.
35617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35618         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35620         Likewise.
35621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35622         Likewise.
35623         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35624         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35625         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35626         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35627         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35628         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35629         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35630         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35631         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35632         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35633         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35635 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
35637         [BZ #14132]
35638         * include/libc-symbols.h (INTUSE): Remove macro.
35639         (INTDEF): Likewise.
35640         (INTVARDEF): Likewise.
35641         (_INTVARDEF): Likewise.
35642         (INTDEF2): Likewise.
35643         (INTVARDEF2): Likewise.
35644         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
35645         rtld_hidden_def instead of INTVARDEF.
35646         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
35647         (_dl_starting_up_internal): Remove declaration.
35648         (_dl_starting_up): Use rtld_hidden_proto.
35649         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
35650         declaration.
35651         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
35652         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
35653         _dl_starting_up.
35654         * elf/dl-writev.h (_dl_writev): Likewise.
35655         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
35656         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
35657         _dl_starting_up_internal.
35659 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35661         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
35662         test-skeleton.c.
35664 2014-11-05  Will Newton  <will.newton@linaro.org>
35666         * benchtests/Makefile: (bench-malloc): Add malloc thread
35667         scalability benchmark.
35668         * benchtests/bench-malloc-threads.c: New file.
35670 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
35672         * sysdeps/aarch64/strchrnul.S: New file.
35674 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35676         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
35677         definition.
35678         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35679         Likewise.
35680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35681         Likewise.
35682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35683         Likewise.
35684         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35685         Likewise.
35686         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35687         Likewise.
35689 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
35691         * catgets/test-gencat.c: Use test-skeleton.c.
35692         * catgets/tst-catgets.c: Likewise.
35693         * csu/tst-empty.c: Likewise.
35694         * elf/tst-audit2.c: Likewise.
35695         * elf/tst-global1.c: Likewise.
35696         * elf/tst-pathopt.c: Likewise.
35697         * elf/tst-piemod1.c: Likewise.
35698         * elf/tst-tls10.c: Likewise.
35699         * elf/tst-tls11.c: Likewise.
35700         * elf/tst-tls12.c: Likewise.
35701         * gnulib/tst-gcc.c: Likewise.
35702         * iconvdata/tst-e2big.c: Likewise.
35703         * iconvdata/tst-loading.c: Likewise.
35704         * iconv/tst-iconv1.c: Likewise.
35705         * iconv/tst-iconv2.c: Likewise.
35706         * inet/test-inet6_opt.c: Likewise.
35707         * inet/tst-gethnm.c: Likewise.
35708         * inet/tst-network.c: Likewise.
35709         * inet/tst-ntoa.c: Likewise.
35710         * intl/tst-codeset.c: Likewise.
35711         * intl/tst-gettext2.c: Likewise.
35712         * intl/tst-gettext3.c: Likewise.
35713         * intl/tst-ngettext.c: Likewise.
35714         * intl/tst-translit.c: Likewise.
35715         * io/test-stat.c: Likewise.
35716         * libio/test-fmemopen.c: Likewise.
35717         * libio/tst-freopen.c: Likewise.
35718         * libio/tst-sscanf.c: Likewise.
35719         * libio/tst-ungetwc1.c: Likewise.
35720         * libio/tst-ungetwc2.c: Likewise.
35721         * libio/tst-widetext.c: Likewise.
35722         * localedata/tst-ctype.c: Likewise.
35723         * localedata/tst-digits.c: Likewise.
35724         * localedata/tst-leaks.c: Likewise.
35725         * localedata/tst-mbswcs1.c: Likewise.
35726         * localedata/tst-mbswcs2.c: Likewise.
35727         * localedata/tst-mbswcs3.c: Likewise.
35728         * localedata/tst-mbswcs4.c: Likewise.
35729         * localedata/tst-mbswcs5.c: Likewise.
35730         * localedata/tst-setlocale.c: Likewise.
35731         * localedata/tst-trans.c: Likewise.
35732         * localedata/tst-wctype.c: Likewise.
35733         * localedata/tst-xlocale1.c: Likewise.
35734         * login/tst-grantpt.c: Likewise.
35735         * malloc/tst-calloc.c: Likewise.
35736         * malloc/tst-malloc.c: Likewise.
35737         * malloc/tst-mallocstate.c: Likewise.
35738         * malloc/tst-mcheck.c: Likewise.
35739         * malloc/tst-mtrace.c: Likewise.
35740         * malloc/tst-obstack.c: Likewise.
35741         * math/atest-exp2.c: Likewise.
35742         * math/atest-exp.c: Likewise.
35743         * math/atest-sincos.c: Likewise.
35744         * math/test-matherr.c: Likewise.
35745         * math/test-misc.c: Likewise.
35746         * math/test-powl.c: Likewise.
35747         * math/tst-definitions.c: Likewise.
35748         * misc/tst-dirname.c: Likewise.
35749         * misc/tst-efgcvt.c: Likewise.
35750         * misc/tst-fdset.c: Likewise.
35751         * misc/tst-hsearch.c: Likewise.
35752         * misc/tst-mntent2.c: Likewise.
35753         * nptl/tst-sem7.c: Likewise.
35754         * nptl/tst-sem8.c: Likewise.
35755         * nptl/tst-sem9.c: Likewise.
35756         * nss/test-netdb.c: Likewise.
35757         * posix/tst-fnmatch.c: Likewise.
35758         * posix/tst-getlogin.c: Likewise.
35759         * posix/tst-gnuglob.c: Likewise.
35760         * posix/tst-mmap.c: Likewise.
35761         * pwd/tst-getpw.c: Likewise.
35762         * resolv/tst-inet_ntop.c: Likewise.
35763         * rt/tst-timer.c: Likewise.
35764         * stdio-common/test-fseek.c: Likewise.
35765         * stdio-common/test-popen.c: Likewise.
35766         * stdio-common/test-vfprintf.c: Likewise.
35767         * stdio-common/tst-cookie.c: Likewise.
35768         * stdio-common/tst-fileno.c: Likewise.
35769         * stdio-common/tst-gets.c: Likewise.
35770         * stdio-common/tst-obprintf.c: Likewise.
35771         * stdio-common/tst-perror.c: Likewise.
35772         * stdio-common/tst-sprintf2.c: Likewise.
35773         * stdio-common/tst-sprintf3.c: Likewise.
35774         * stdio-common/tst-sprintf.c: Likewise.
35775         * stdio-common/tst-swprintf.c: Likewise.
35776         * stdio-common/tst-tmpnam.c: Likewise.
35777         * stdio-common/tst-unbputc.c: Likewise.
35778         * stdio-common/tst-wc-printf.c: Likewise.
35779         * stdlib/tst-environ.c: Likewise.
35780         * stdlib/tst-fmtmsg.c: Likewise.
35781         * stdlib/tst-limits.c: Likewise.
35782         * stdlib/tst-rand48-2.c: Likewise.
35783         * stdlib/tst-rand48.c: Likewise.
35784         * stdlib/tst-random2.c: Likewise.
35785         * stdlib/tst-random.c: Likewise.
35786         * stdlib/tst-strtol.c: Likewise.
35787         * stdlib/tst-strtoll.c: Likewise.
35788         * stdlib/tst-tls-atexit.c: Likewise.
35789         * stdlib/tst-xpg-basename.c: Likewise.
35790         * string/test-ffs.c: Likewise.
35791         * string/tst-bswap.c: Likewise.
35792         * string/tst-inlcall.c: Likewise.
35793         * string/tst-strtok.c: Likewise.
35794         * string/tst-strxfrm.c: Likewise.
35795         * sysdeps/x86_64/tst-audit10.c: Likewise.
35796         * sysdeps/x86_64/tst-audit3.c: Likewise.
35797         * sysdeps/x86_64/tst-audit4.c: Likewise.
35798         * sysdeps/x86_64/tst-audit5.c: Likewise.
35799         * time/tst-ftime_l.c: Likewise.
35800         * time/tst-getdate.c: Likewise.
35801         * time/tst-mktime3.c: Likewise.
35802         * time/tst-mktime.c: Likewise.
35803         * time/tst-posixtz.c: Likewise.
35804         * time/tst-strptime2.c: Likewise.
35805         * time/tst-strptime3.c: Likewise.
35806         * wcsmbs/tst-btowc.c: Likewise.
35807         * wcsmbs/tst-mbrtowc.c: Likewise.
35808         * wcsmbs/tst-mbsrtowcs.c: Likewise.
35809         * wcsmbs/tst-wchar-h.c: Likewise.
35810         * wcsmbs/tst-wcpncpy.c: Likewise.
35811         * wcsmbs/tst-wcrtomb.c: Likewise.
35812         * wcsmbs/tst-wcsnlen.c: Likewise.
35813         * wcsmbs/tst-wcstof.c: Likewise.
35815 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
35817         [BZ #14132]
35818         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
35819         INTDEF.
35820         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
35821         declaration.
35822         (_dl_mcount): Use rtld_hidden_proto.
35823         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
35824         _dl_mcount.
35825         * elf/rtld.c (_rtld_global_ro): Likewise.
35827         [BZ #14132]
35828         * elf/dl-init.c (_dl_init): Don't use INTDEF.
35829         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
35830         of _dl_init_internal.
35831         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
35832         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
35833         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
35834         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
35835         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
35836         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
35837         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
35838         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
35839         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
35840         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
35841         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
35842         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
35843         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35844         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35845         * sysdeps/tile/dl-start.S (_start): Likewise.
35846         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
35847         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
35849         [BZ #14132]
35850         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
35851         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
35852         (rtld_progname): Make macro definition unconditional.
35853         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
35854         INTDEF.
35855         (dlmopen_doit): Do not use INTUSE with _dl_argv.
35856         (dl_main): Likewise.
35857         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35858         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
35859         instead of _dl_argv_internal.
35860         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35861         __GI__dl_argv instead of INTUSE(_dl_argv).
35862         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
35863         __GI__dl_argv instead of _dl_argv_internal.
35865         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
35866         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
35867         macro.
35868         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
35869         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
35870         New macro.
35871         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
35872         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
35873         macro.
35874         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
35875         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
35877 2014-11-04  Andreas Schwab  <schwab@suse.de>
35879         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
35881 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35883         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
35884         mtvsrd instruction in binary form.
35886 2014-11-03  Andreas Schwab  <schwab@suse.de>
35888         [BZ #17522]
35889         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
35890         for less than MB_LEN_MAX use a local buffer of that size.
35891         * libio/tst-fputws.c: New file.
35892         * libio/Makefile (tests): Add tst-fputws.
35894 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
35896         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
35897         the size of the fpu_fr.fpu_dregs[] array.
35899 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
35901         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
35902         (__nanosleep): Do not define as alias.
35903         (nanosleep): Define as alias of __nanosleep.
35904         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
35905         __libc_nanosleep name.
35907 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
35909         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
35910         install.texi in comment.
35912 2014-10-31  Torvald Riegel  <triegel@redhat.com>
35914         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
35915         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
35916         ... add here and use lwsync or sync ...
35917         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
35918         ... and add here using lwsync.
35920 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35922         * elf/dl-machine-reject-phdr.h: New file.
35923         * elf/dl-load.c: #include that.
35924         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
35925         if that returned true.
35927 2014-10-31  Roland McGrath  <roland@hack.frob.com>
35929         [BZ #17496]
35930         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
35931         gen-as-const-headers chunk.  Add a big scare comment after the last
35932         safe place to touch before-compile.
35934 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
35936         * manual/install.texi (Tools for Compilation): Update autoconf
35937         version requirements.
35938         * INSTALL: Regenerated.
35940         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
35941         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
35942         (__libc_pselect): Likewise.
35944         [BZ #14138]
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
35946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35950 2014-10-31  Torvald Riegel  <triegel@redhat.com>
35952         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
35953         correct barrier instruction.
35954         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
35955         Likewise.
35956         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
35957         Likewise.
35959 2014-10-30  Roland McGrath  <roland@hack.frob.com>
35961         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
35962         after defining inlines.  Instead, just use parens to defeat macro
35963         expansion of __isctype in its declaration.
35965 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
35967         * include/sys/uio.h (__libc_readv): Remove declaration.
35968         (__libc_writev): Likewise.
35969         * misc/readv.c (__libc_readv): Rename to __readv.
35970         (__readv): Do not define as alias.
35971         (readv): Define as alias of __readv.
35972         * misc/writev.c (__libc_writev): Rename to __writev.
35973         (__writev): Do not define as alias.
35974         (writev): Define as alias of __writev.
35975         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
35976         (__readv): Do not define as alias.
35977         (readv): Define unconditionally as alias of __readv.
35978         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
35979         (__writev): Do not define as alias.
35980         (writev): Define unconditionally as alias of __writev.
35981         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
35982         name.
35983         (writev): Do not define __libc_writev name.
35985 2014-10-30  Roland McGrath  <roland@hack.frob.com>
35987         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
35988         (convert_charseq): New function, broken out of ...
35989         (use_from_charmap): ... here.  Call it.
35990         (use_to_charmap): Use convert_charseq and free instead of duplicating
35991         its code with a variable-length stack struct.
35993 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
35995         * include/fcntl.h (__libc_creat): Remove declaration.
35996         * io/creat.c (__libc_creat): Rename to creat.
35997         (creat): Do not define as alias.
35998         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
35999         of creat instead of __libc_creat.
36000         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36001         to creat.
36002         (creat): Do not define as alias.
36003         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36004         __libc_creat.
36005         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36006         __libc_creat name.
36007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36008         Likewise.
36010 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36012         * manual/llio.texi: Add comments discussing why write() may be
36013         considered MT-unsafe on Linux.
36015 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36017         * dl-load.c (local_strdup): Remove.
36018         (expand_dynamic_string_token): Use __strdup.
36019         (decompose_rpath): Likewise.
36020         (_dl_map_object): Likewise.
36022 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36024         [BZ #14132]
36025         * sysdeps/generic/unwind-dw2-fde.c
36026         (__register_frame_info_bases_internal): Do not declare.
36027         (__register_frame_info_table_bases_internal): Likewise.
36028         (__deregister_frame_info_bases_internal): Likewise.
36029         (__register_frame_info_bases): Declare and use hidden_proto before
36030         definition.  Use hidden_def instead of INTDEF.
36031         (__register_frame_info_table_bases): Likewise.
36032         (__deregister_frame_info_bases): Likewise.
36033         (__register_frame_info): Do not use INTUSE.
36034         (__register_frame): Likewise.
36035         (__register_frame_info_table): Likewise.
36036         (__register_frame_table): Likewise.
36037         (__deregister_frame_info): Likewise.
36038         (__deregister_frame): Likewise.
36040 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36043         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36044         not undefine.
36045         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36046         Likewise.
36047         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36048         Likewise.
36050 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36052         [BZ #14138]
36053         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36054         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36055         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36056         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36057         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36058         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36059         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36060         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36061         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36062         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36063         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36064         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36065         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36066         syscall.
36067         (setfsuid): Likewise.
36068         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36069         (setfsuid): Likewise.
36070         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36071         (setfsuid): Likewise.
36072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36073         Likewise.
36074         (setfsuid): Likewise.
36075         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36076         (setfsuid): Likewise.
36077         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36078         Likewise.
36079         (setfsuid): Likewise.
36081 2014-10-27  Andreas Schwab  <schwab@suse.de>
36083         [BZ #17501]
36084         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36085         check for Slow_SSE4_2 feature bit.
36086         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36087         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36088         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36089         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36091 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36093         * configure.ac: Validate compiler version with a empirical test of
36094         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36095         $CC -v output.
36096         * configure: Regenerated.
36098         * inet/htons.c (htons): Prototypify.
36099         * inet/htonl.c (htonl): Likewise.
36101 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36103         * string/strncat.c (strncat): Improve performance by using strlen.
36105 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36107         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36109 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36111         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36112         Call libc_fetestexcept_aarch64.
36114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36116         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36117         Call libc_feholdexcept_aarch64.
36119 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36121         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36122         Call get_rounding_mode.
36124 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36126         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36127         Simplify logic.
36129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36131         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36132         Simplify logic.
36134 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36136         [BZ #14138]
36137         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36138         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36139         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36140         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36141         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36142         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36143         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36144         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36145         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36146         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36147         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36148         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36149         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36150         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36151         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36152         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36153         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36154         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36155         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36156         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36157         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36158         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36159         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36160         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36161         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36162         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36163         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36164         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36165         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36166         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36167         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36168         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36169         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36170         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36171         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36172         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36173         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36174         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36175         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36176         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36177         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36178         syscall.
36179         (geteuid): Likewise.
36180         (getgid): Likewise.
36181         (getuid): Likewise.
36182         (getresgid): Likewise.
36183         (getresuid): Likewise.
36184         (getgroups): Likewise.
36185         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36186         (geteuid): Likewise.
36187         (getgid): Likewise.
36188         (getuid): Likewise.
36189         (getresgid): Likewise.
36190         (getresuid): Likewise.
36191         (getgroups): Likewise.
36192         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36193         (geteuid): Likewise.
36194         (getgid): Likewise.
36195         (getuid): Likewise.
36196         (getresgid): Likewise.
36197         (getresuid): Likewise.
36198         (getgroups): Likewise.
36199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36200         Likewise.
36201         (geteuid): Likewise.
36202         (getgid): Likewise.
36203         (getuid): Likewise.
36204         (getresgid): Likewise.
36205         (getresuid): Likewise.
36206         (getgroups): Likewise.
36207         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36208         (geteuid): Likewise.
36209         (getgid): Likewise.
36210         (getuid): Likewise.
36211         (getresgid): Likewise.
36212         (getresuid): Likewise.
36213         (getgroups): Likewise.
36214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36215         Likewise.
36216         (geteuid): Likewise.
36217         (getgid): Likewise.
36218         (getuid): Likewise.
36219         (getgroups): Likewise.
36221         [BZ #14138]
36222         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36223         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36224         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36225         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36226         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36227         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36228         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36229         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36230         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36231         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36232         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36233         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36234         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36235         __chown.
36236         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36237         (lchown): Likewise.
36238         (fchown): Likewise.
36239         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36240         Likewise.
36241         (lchown): Likewise.
36242         (fchown): Likewise.
36243         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36244         (lchown): Likewise.
36245         (fchown): Likewise.
36246         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36247         Likewise.
36248         (lchown): Likewise.
36249         (fchown): Likewise.
36251 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36253         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36254         Simplify logic.
36256 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36258         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36259         Cleanup logic.
36261 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36263         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36264         Remove unused include.
36266 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36268         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36269         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36270         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36271         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36273 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36274             Helge Deller <deller@gmx.de>
36276         [BZ #17508]
36277         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36278         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36279         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36281 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36283         [BZ #14132]
36284         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36285         Remove macro definition.
36286         (__ashrdi3_v_glibc20): Likewise.
36287         (__lshrdi3_v_glibc20): Likewise.
36288         (__cmpdi2_v_glibc20): Likewise.
36289         (__ucmpdi2_v_glibc20): Likewise.
36290         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36291         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36292         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36293         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36294         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36295         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36297 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36299         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36300         old GNU extension [0] syntax.
36301         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36302         alloca rather than an array member with variable length.
36303         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36304         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36305         (parse_opt): ... here.  Likewise use alloca there.
36306         Validate the -i argument before checking for rootness.
36307         (send_shutdown): New function, broken out of ...
36308         (parse_opt): ... here.
36310 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36312         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36313         macro to get at the _rt_local_ro field.
36314         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36315         ([PIC] case) or _dl_hwcap ([!PIC] case).
36316         * sysdeps/arm/setjmp.S: Likewise.
36318         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36319         * sysdeps/arm/configure.ac: New check to define it.
36320         * sysdeps/arm/configure: Regenerated.
36321         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36322         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36323         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36324         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36325         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36326         Use move/movt pair instead of a load.
36327         (LDST_GLOBAL): Macro removed.
36328         (LDR_GLOBAL): New macro replaces it.
36329         (LDR_HIDDEN): New macro.
36330         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36331         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36333         * setjmp/tst-setjmp-static.c: New file.
36334         * setjmp/Makefile (tests): Add it.
36335         (tests-static): New variable.
36337 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36339         [BZ #17485]
36340         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36342 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36344         [BZ #14132]
36345         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36347 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36349         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36351 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36353         * io/fts.c (dirent_not_directory): New function.
36354         (fts_build): Call it.
36356 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36358         * nptl/version.c (__nptl_main): Use normal __write rather than
36359         INTERNAL_SYSCALL.
36360         (banner): Update copyright years.
36362         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36363         gettimeofday.
36364         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36365         * nptl/pthread_cond_timedwait.c: Likewise.
36366         * nptl/pthread_mutex_timedlock.c: Likewise.
36367         * nptl/sem_timedwait.c: Likewise.
36369         * sysdeps/nptl/bits/libc-lock.h
36370         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36371         (__libc_lock_init_recursive): Return void, not 0.
36372         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36373         (__libc_rwlock_init): Likewise.
36374         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36376 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36378         [BZ #15215]
36379         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36380         (__pthread_once_slow): ... here.
36381         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36382         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36384 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36386         [BZ #15215]
36387         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36388         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36389         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36390         * nptl/pthread_once.c (__pthread_once): Likewise.
36391         Update comments.
36393 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36395         [BZ #14138]
36396         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36397         name.
36398         (writev): Use __libc_writev as strong name.
36399         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36400         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36402 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36404         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36406         * sysdeps/i386/nptl/tls.h
36407         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36408         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36409         New macros.
36410         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36411         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36412         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36413         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36414         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36415         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36417         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36418         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36419         on [__NR_futex].
36420         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36421         broken out of ...
36422         (__pthread_mutex_init): ... here.  Call it.
36423         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36424         Conditionalize PI cases on [__NR_futex].
36425         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36426         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36427         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36429         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36430         conditional on [SIGSETXID].
36431         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36432         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36433         is defined.  Likewise for SIGSETXID.
36434         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36435         Conditionalize definitions on [SIGSETXID].
36436         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36437         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36438         unblocking on [SIGCANCEL].
36440         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36441         [__NR_set_robust_list].
36443 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36445         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36446         (do_compare): Likewise.
36448 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36450         [BZ #15884]
36451         * string/strcoll_l.c: Don't include stdio.h.
36452         (coll_seq): Remove members idxarr and rulearr.
36453         (get_next_seq_cached): Remove function.
36454         (get_next_seq): Likewise.
36455         (get_next_seq_nocache): Rename to get_next_seq.
36456         (do_compare): Remove function.
36457         (do_compare_nocache): Rename to do_compare.
36458         (STRCOLL): Remove weight and rules cache.
36460 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36462         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36463         * sysdeps/arm/sfp-machine.h: ... to here.
36464         * sysdeps/arm/Implies: Remove arm/soft-fp.
36466 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36468         * conform/data/sys/utsname.h-data (*_t): Allow.
36469         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36470         [POSIX] (WEXITED): Do not expect constant.
36471         [POSIX] (WSTOPPED): Likewise.
36472         [POSIX] (WNOHANG): Likewise.
36473         [POSIX] (WNOWAIT): Likewise.
36474         [POSIX] (siginfo_t): Do not expect type or elements.
36475         [POSIX] (pid_t): Do not expect type.
36476         [POSIX] (signal.h): Do not allow header.
36477         [POSIX] (sys/resource.h): Likewise.
36478         [POSIX] (si_*): Do not allow pattern.
36479         [POSIX] (W*): Likewise.
36480         [POSIX] (P_*): Likewise.
36481         [POSIX] (BUS_*): Likewise.
36482         [POSIX] (CLD_*): Likewise.
36483         [POSIX] (FPE_*): Likewise.
36484         [POSIX] (ILL_*): Likewise.
36485         [POSIX] (POLL_*): Likewise.
36486         [POSIX] (SEGV_*): Likewise.
36487         [POSIX] (SI_*): Likewise.
36488         [POSIX] (TRAP_*): Likewise.
36489         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36490         variable.
36492 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36494         [BZ #12926]
36495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36496         infinite loop when __recvmsg returns 0.
36498 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36500         * CANCEL-FCT-WAIVE: Remove file.
36501         * CANCEL-FILE-WAIVE: Likewise.
36503         [BZ #14132]
36504         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36505         instead of INTVARDEF.
36506         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36507         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36508         rtld_hidden_data_def instead of INTVARDEF.
36509         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36510         * elf/dl-deps.c (expand_dst): Likewise.
36511         * elf/dl-load.c (_dl_dst_count): Likewise.
36512         (_dl_dst_substitute): Likewise.
36513         (decompose_rpath): Likewise.
36514         (_dl_init_paths): Likewise.
36515         (open_path): Likewise.
36516         (_dl_map_object): Likewise.
36517         * elf/rtld.c (dl_main): Likewise.
36518         (process_dl_audit): Likewise.
36519         (process_envvars): Likewise.
36520         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36521         Remove declaration.
36522         (__libc_enable_secure): Use rtld_hidden_proto.
36524 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36526         * elf/dl-load.c
36527         (add_path): New function broken out of _dl_rtld_di_serinfo.
36528         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36530 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36532         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36533         parentheses around macro arguments.
36534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36538         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36545         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36546         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36547         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36549         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36550         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36551         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36553         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36554         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36563         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36565         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36566         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36567         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36568         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36569         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36570         Likewise.
36571         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36573         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36575         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36578         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36579         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36580         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36581         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36582         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36583         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36592         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36596         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36597         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36598         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36599         (_FP_FRAC_SRS_1): Likewise.
36600         (_FP_FRAC_CLZ_1): Likewise.
36601         (_FP_MUL_MEAT_1_imm): Likewise.
36602         (_FP_MUL_MEAT_1_wide): Likewise.
36603         (_FP_MUL_MEAT_1_hard): Likewise.
36604         (_FP_SQRT_MEAT_1): Likewise.
36605         (_FP_FRAC_ASSEMBLE_1): Likewise.
36606         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36607         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36608         (__FP_CLZ_2): Likewise.
36609         (_FP_MUL_MEAT_2_wide): Likewise.
36610         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36611         (_FP_MUL_MEAT_2_gmp): Likewise.
36612         (_FP_MUL_MEAT_2_120_240_double): Likewise.
36613         (_FP_SQRT_MEAT_2): Likewise.
36614         (_FP_FRAC_ASSEMBLE_2): Likewise.
36615         (_FP_FRAC_DISASSEMBLE_2): Likewise.
36616         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36617         (_FP_FRAC_CLZ_4): Likewise.
36618         (_FP_MUL_MEAT_4_wide): Likewise.
36619         (_FP_MUL_MEAT_4_gmp): Likewise.
36620         (_FP_SQRT_MEAT_4): Likewise.
36621         (_FP_FRAC_ASSEMBLE_4): Likewise.
36622         (_FP_FRAC_DISASSEMBLE_4): Likewise.
36623         * soft-fp/op-common.h (_FP_CMP): Likewise.
36624         (_FP_CMP_EQ): Likewise.
36625         (_FP_CMP_UNORD): Likewise.
36626         (_FP_TO_INT): Likewise.
36627         (_FP_FROM_INT): Likewise.
36628         [!__FP_CLZ] (__FP_CLZ): Likewise.
36629         (_FP_DIV_HELP_imm): Likewise.
36630         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36631         Likewise.
36632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36636         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
36640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
36641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
36642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
36643         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
36644         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
36645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
36646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
36647         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
36648         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
36649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
36650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
36651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
36652         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
36653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
36654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
36655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
36658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
36659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
36660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
36661         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
36662         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
36663         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
36664         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
36665         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
36666         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
36667         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
36668         (FP_UNPACK_RAW_SP): Likewise.
36669         (FP_PACK_RAW_S): Likewise.
36670         (FP_PACK_RAW_SP): Likewise.
36671         (FP_UNPACK_S): Likewise.
36672         (FP_UNPACK_SP): Likewise.
36673         (FP_UNPACK_SEMIRAW_S): Likewise.
36674         (FP_UNPACK_SEMIRAW_SP): Likewise.
36675         (FP_PACK_S): Likewise.
36676         (FP_PACK_SP): Likewise.
36677         (FP_PACK_SEMIRAW_S): Likewise.
36678         (FP_PACK_SEMIRAW_SP): Likewise.
36679         (_FP_SQRT_MEAT_S): Likewise.
36680         (FP_CMP_S): Likewise.
36681         (FP_CMP_EQ_S): Likewise.
36682         (FP_CMP_UNORD_S): Likewise.
36683         (FP_TO_INT_S): Likewise.
36684         (FP_FROM_INT_S): Likewise.
36686         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
36688         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
36689         (FP_EX_INVALID_IMZ): Likewise.
36690         (FP_EX_INVALID_IMZ_FMA): Likewise.
36691         (FP_EX_INVALID_ISI): Likewise.
36692         (FP_EX_INVALID_ZDZ): Likewise.
36693         (FP_EX_INVALID_IDI): Likewise.
36694         (FP_EX_INVALID_SQRT): Likewise.
36695         (FP_EX_INVALID_CVI): Likewise.
36696         (FP_EX_INVALID_VC): Likewise.
36697         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
36698         "invalid" exceptions.
36699         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
36700         (_FP_ADD_INTERNAL): Likewise.
36701         (_FP_MUL): Likewise.
36702         (_FP_FMA): Likewise.
36703         (_FP_DIV): Likewise.
36704         (_FP_CMP_CHECK_NAN): Likewise.
36705         (_FP_SQRT): Likewise.
36706         (_FP_TO_INT): Likewise.
36707         (FP_EXTEND): Likewise.
36709 2014-10-09  Allan McRae  <allan@archlinux.org>
36711         * po/fr.po: Update French translation from translation project.
36713 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36715         [BZ #14132]
36716         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
36717         of INTDEF.
36718         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
36719         (__cxa_atexit): Use libc_hidden_proto.
36720         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36722         [BZ #14132]
36723         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
36724         declaration.
36725         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
36726         [!_ISOMAC] (__iswspace_l_internal): Likewise.
36727         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
36728         [!_ISOMAC] (__iswctype_internal): Likewise.
36729         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
36730         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
36731         alias.
36732         (fcntl): Remove __fcntl_internal alias.
36733         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
36734         __connect_internal alias.
36735         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
36736         Likewise.
36738         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
36739         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
36740         FP_DENORM_ZERO.
36741         (_FP_CHECK_FLUSH_ZERO): New macro.
36742         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
36743         (_FP_CMP): Likewise.
36744         (_FP_CMP_EQ): Likewise.
36745         (_FP_TO_INT): Do not set inexact for subnormal arguments if
36746         FP_DENORM_ZERO.
36747         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
36748         (FP_TRUNC): Likewise.
36750         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
36751         treated as invalid conversion, not as normal exponent.
36753         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
36754         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
36755         (_FP_CMP_EQ): Likewise.
36756         (_FP_CMP_UNORD): Likewise.
36757         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
36758         (FP_CMP_EQ_D): Likewise.
36759         (FP_CMP_UNORD_D): Likewise.
36760         * soft-fp/extended.h (FP_CMP_E): Likewise.
36761         (FP_CMP_EQ_E): Likewise.
36762         (FP_CMP_UNORD_E): Likewise.
36763         * soft-fp/quad.h (FP_CMP_Q): Likewise.
36764         (FP_CMP_EQ_Q): Likewise.
36765         (FP_CMP_UNORD_Q): Likewise.
36766         * soft-fp/single.h (FP_CMP_S): Likewise.
36767         (FP_CMP_EQ_S): Likewise.
36768         (FP_CMP_UNORD_S): Likewise.
36769         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
36770         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
36771         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
36772         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
36773         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
36774         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
36775         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
36776         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
36777         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
36778         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
36779         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
36780         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
36781         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
36782         to FP_CMP_Q.
36783         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
36784         FP_CMP_Q.
36785         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
36786         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
36787         FP_CMP_EQ_Q.
36788         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
36789         FP_CMP_Q.
36790         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
36791         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
36792         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
36793         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
36794         FP_CMP_EQ_Q.
36795         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
36796         FP_CMP_Q.
36797         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
36798         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
36799         FP_CMP_EQ_Q.
36800         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
36801         FP_CMP_Q.
36802         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
36803         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
36804         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
36805         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
36806         FP_CMP_EQ_Q.
36808         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
36809         a subnormal result, set the underflow exception if trapping on
36810         underflow is enabled.
36811         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
36812         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
36813         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
36814         redefine to 0.
36815         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
36816         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36817         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36818         * soft-fp/extendxftf2.c (__extendxftf2): Use
36819         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
36821         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
36822         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
36823         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36824         FP_HANDLE_EXCEPTIONS.
36825         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
36826         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36827         FP_HANDLE_EXCEPTIONS.
36828         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
36829         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36830         FP_HANDLE_EXCEPTIONS.
36831         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
36832         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36833         FP_HANDLE_EXCEPTIONS.
36835 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
36837         [BZ #14132]
36838         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
36839         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
36840         use INTUSE.
36841         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
36842         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
36843         Remove alias.
36844         (__adjtimex): Define using libc_hidden_ver.
36845         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
36846         Remove declaration.
36847         (ntp_gettime): Call __adjtimex directly.
36848         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
36849         Remove declaration.
36850         (ntp_gettimex): Call __adjtimex directly.
36851         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
36852         __adjtimex_internal alias.
36854 2014-10-08  Roland McGrath  <roland@hack.frob.com>
36856         [BZ #17460]
36857         * nscd/nscd.c (more_help): Rewrite list of tables collection
36858         using xstrdup and asprintf.
36860         * nscd/nscd_conf.c: Remove local xstrdup declaration.
36862 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36863             Roland McGrath  <roland@hack.frob.com>
36865         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
36866         (do_lookup_unique): ... local function 'enter' here; update callers.
36868 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
36870         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
36871         compat_symbol calls on [SHARED].
36872         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
36873         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
36874         Remove.
36875         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36876         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
36877         (oldsetrlimit): Remove.
36878         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36880         (lchown): New syscall entry.
36881         (oldsetrlimit): Remove.
36882         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36883         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
36884         (oldsetrlimit): Remove.
36885         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36887         [BZ #14138]
36888         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
36889         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
36890         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
36891         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
36892         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
36893         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
36894         (fchown): Likewise.
36895         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
36896         (fchown): Likewise.
36897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
36898         Likewise.
36900 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36902         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
36903         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
36904         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
36905         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
36906         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
36907         Likewise.
36908         (__old_sem_post): Likewise.
36910 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
36912         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
36913         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
36914         HAVE_CLOCK_GETTIME_VSYSCALL macros.
36915         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
36916         Use INLINE_VSYSCALL macro.
36917         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
36918         __vdso_clock_gettime.
36919         * sysdeps/unix/sysv/linux/tile/init-first.c
36920         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
36921         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
36922         __vdso_clock_gettime.
36924         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
36925         to set up frame more cleanly.
36927         * sysdeps/tile/memcmp.c: New file.
36929         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
36931         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
36932         * sysdeps/tile/tilegx/strcasestr.c: New file.
36933         * sysdeps/tile/tilegx/strnlen.c: New file.
36934         * sysdeps/tile/tilegx/strstr.c: New file.
36936         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
36938 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
36940         * nptl/tst-setuid3.c: Write errors to stdout.
36942 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36944         * elf/dl-deps.c
36945         (preload): New functions broken out of _dl_map_object_deps.
36946         (_dl_map_object_deps):  Remove a nested function. Update call sites.
36948 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
36950         [BZ #14138]
36951         * sysdeps/unix/sysv/linux/execve.c: Remove file.
36952         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
36954 2014-10-01  Steve Ellcey  <sellcey@mips.com>
36956         * sysdeps/mips/strcmp.S: New.
36958 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
36960         [BZ #14138]
36961         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
36962         (linkat): Likewise.
36963         (mkdirat): Likewise.
36964         (readlinkat): Likewise.
36965         (renameat): Likewise.
36966         (symlinkat): Likewise.
36967         (unlinkat): Likewise.
36968         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
36969         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
36970         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
36971         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
36972         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
36973         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
36974         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
36976 2014-09-30  Will Newton  <will.newton@linaro.org>
36978         * math/math.h: Define long double math functions if
36979         _LIBC_TEST is defined.
36980         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
36982         * localedata/Makefile: Move assignment to tests-special
36983         into an ifdef testing run-built-tests.
36984         * timezone/Makefile: Likewise.
36986 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
36988         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
36989         with $(BASH) not $(SHELL).
36991 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
36992             Matthew LeGendre  <legendre1@llnl.gov>
36994         [BZ #17411]
36995         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
36996         l_reloc_result.
36998 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37000         * stdio-common/printf_fp.c
37001         (hack_digit): New function, broken out of ...
37002         (__printf_fp): ... local function here.  Update call sites.
37003         hack_digit now takes an additional parameter that is a pointer
37004         to a struct of the referenced locals.  Those locals moved inside
37005         the struct and references updated.
37007 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37009         * aclocal.m4: Require autoconf 2.69.
37010         * configure: Regenerated.
37011         * sysdeps/aarch64/configure: Likewise.
37012         * sysdeps/alpha/configure: Likewise.
37013         * sysdeps/arm/armv7/configure: Likewise.
37014         * sysdeps/arm/configure: Likewise.
37015         * sysdeps/ia64/configure: Likewise.
37016         * sysdeps/mach/configure: Likewise.
37017         * sysdeps/mips/configure: Likewise.
37018         * sysdeps/s390/configure: Likewise.
37019         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37022         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37023         file.
37024         * sysdeps/ia64/configure.ac: Likewise.
37026 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37029         specify symbol version for ld.so.  Do not include entry for
37030         libpthread.
37031         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37032         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37033         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37035         [BZ #14171]
37036         * Makeconfig [$(build-shared) = yes]
37037         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37038         makefiles.
37039         [$(build-shared) = yes && $(soversions.mk-done) = t]
37040         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37041         [$(build-shared) = yes && $(soversions.mk-done) = t]
37042         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37043         to Makerules.
37044         [$(build-shared) = yes && $(soversions.mk-done) = t]
37045         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37046         here.
37047         [$(build-shared) = yes && $(soversions.mk-done) = t]
37048         (common-generated): Don't append gnu/lib-names.h and
37049         gnu/lib-names.stmp here.
37050         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37051         (lib-names-h-abi): New variable.
37052         [$(build-shared) = yes && $(soversions.mk-done) = t]
37053         (lib-names-stmp-abi): Likewise.
37054         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37055         abi-variants] (before-compile): Append
37056         $(common-objpfx)$(lib-names-h-abi).
37057         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37058         abi-variants] (common-generated): Append gnu/lib-names.h.
37059         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37060         abi-variants] (install-others-nosubdir): Depend on
37061         $(inst_includedir)/$(lib-names-h-abi).
37062         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37063         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37064         [$(build-shared) = yes && $(soversions.mk-done) = t]
37065         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37066         [$(build-shared) = yes && $(soversions.mk-done) = t]
37067         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37068         [$(build-shared) = yes && $(soversions.mk-done) = t]
37069         (common-generated): Append $(lib-names-h-abi) and
37070         $(lib-names-stmp-abi).
37071         * scripts/lib-names.awk: Do not handle multi being set.
37072         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37073         Remove variable.
37074         (abi-lp64_be-ld-soname): Likewise.
37075         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37076         Likewise.
37077         (abi-hard-ld-soname): Likewise.
37078         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37079         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37080         Remove variable.
37081         (abi-o32_hard-ld-soname): Likewise.
37082         (abi-o32_soft_2008-ld-soname): Likewise.
37083         (abi-o32_hard_2008-ld-soname): Likewise.
37084         (abi-n32_soft-ld-soname): Likewise.
37085         (abi-n32_hard-ld-soname): Likewise.
37086         (abi-n32_soft_2008-ld-soname): Likewise.
37087         (abi-n32_hard_2008-ld-soname): Likewise.
37088         (abi-n64_soft-ld-soname): Likewise.
37089         (abi-n64_hard-ld-soname): Likewise.
37090         (abi-n64_soft_2008-ld-soname): Likewise.
37091         (abi-n64_hard_2008-ld-soname): Likewise.
37092         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37093         Likewise.
37094         (abi-64-v2-ld-soname): Likewise.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37096         ld.so entries.
37097         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37098         variable.
37099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37100         entry.
37101         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37102         variable.
37103         (abi-64-ld-soname): Likewise.
37104         (abi-x32-ld-soname): Likewise.
37105         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37106         entry.
37107         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37109 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37111         [BZ #14138]
37112         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37113         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37114         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37115         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37116         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37117         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37118         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37119         syscall entry for GLIBC_2.2 symbol version.
37120         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37121         Likewise.
37122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37123         (setrlimit): Likewise.
37124         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37125         Likewise.
37127 2014-09-23  Will Newton  <will.newton@linaro.org>
37129         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37130         _LINUX_ARM_SYSDEP_H include guard too.
37131         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37132         define.
37134 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37136         * sysdeps/unix/sysv/linux/eventfd.c:
37137         Make first argument unsigned.
37138         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37139         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37141 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37143         [BZ #16852]
37144         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37145         * socket/sys/socket.h: Likewise.
37146         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37148 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37150         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37152 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37154         * time/tst-ftime.c: New test.
37155         * time/Makefile (tests): Add tst-ftime.
37157 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37159         * soft-fp/extended.h: Fix comment formatting.
37160         * soft-fp/op-1.h: Likewise.
37161         * soft-fp/op-2.h: Likewise.
37162         * soft-fp/op-4.h: Likewise.
37163         * soft-fp/op-8.h: Likewise.
37164         * soft-fp/op-common.h: Likewise.
37165         * soft-fp/soft-fp.h: Likewise.
37167         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37169 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37171         [BZ #6652]
37172         * Makeconfig (soversions-default-setname): Remove variable.
37173         ($(common-objpfx)soversions.i): Don't pass default_setname to
37174         soversions.awk.
37175         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37176         oldest_abi to abi-versions.awk.
37177         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37178         * config.make.in (oldest-abi): Remove variable.
37179         * configure.ac (--enable-oldest-abi): Remove configure option.
37180         * configure: Regenerated.
37181         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37182         text.
37183         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37184         * scripts/soversions.awk: Do not handle default_setname variable.
37185         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37186         variable.
37187         * sysdeps/mach/hurd/configure: Regenerated.
37188         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37189         variable.
37190         * sysdeps/unix/sysv/linux/configure: Regenerated.
37192 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37194         * elf/Makefile (CFLAGS-interp.c): Remove.
37195         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37196         path string.
37197         * elf/interp.c: Include generated runtime-linker.h
37199         * Makerules (lib%.so): Don't include $(+interp) in
37200         prerequisites.
37201         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37202         * dlfcn/eval.c: Remove file.
37204         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37205         macros.
37207         [BZ #17266]
37208         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37209         4.2 and newer.
37211         [BZ #17370]
37212         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37214 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37215             Jakub Jelinek  <jakub@redhat.com>
37217         [BZ #17266]
37218         * libio/stdio.h: Check definition of __fortify_function
37219         instead of __extern_always_inline to include bits/stdio2.h.
37220         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37221         check if __extern_always_inline is defined.
37222         [__USE_MISC || __USE_XOPEN]: Likewise.
37223         [__USE_ISOC99] Likewise.
37224         * misc/sys/cdefs.h (__fortify_function): Define only if
37225         __extern_always_inline is defined.
37226         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37227         __extern_always_inline and __extern_inline only for g++-4.3
37228         and newer or a compatible gcc.
37230 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37232         [BZ #17371]
37233         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37234         last change to handle zero prefix length.
37236 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37239         _SC_REGEX_VERSION.
37241         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37242         _POSIX_RAW_SOCKETS.
37244 2014-09-13  Allan McRae  <allan@archlinux.org>
37246         * po/ru.po: Update Russian translation from translation project.
37248 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37250         * locale/programs/locale.c (show_locale_vars): Inline local function
37251         into its sole call site.  Clean up some style nits.
37252         (print_item): New function, broken out of ...
37253         (show_info): ... local function here.  Clean up style nits.
37255         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37256         out of ...
37257         (set_class_defaults): ... local function set_default here.
37258         Define set_default as a macro locally to pass constant parameters.
37259         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37260         rather than a shared local.
37262         * stdlib/rpmatch.c (try): New function, broken out of ...
37263         (rpmatch): ... local function here.  Also, prototypify definition.
37265 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37267         * scripts/soversions.awk: Do not handle configuration names.
37268         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37269         vendor and os variables to soversions.awk.
37270         * configure.ac: Do not modify gnu-* host_os.
37271         * configure: Regenerated
37272         * shlib-versions: Remove first column with configuration names.
37273         * nptl/shlib-versions: Likewise.
37274         * nptl_db/shlib-versions: Likewise.
37275         * sysdeps/hppa/shlib-versions: Likewise.
37276         * sysdeps/m68k/shlib-versions: Likewise.
37277         * sysdeps/mach/hurd/shlib-versions: Likewise.
37278         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37279         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37280         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37281         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37282         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37283         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37284         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37285         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37287         Likewise.
37288         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37289         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37290         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37291         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37292         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37293         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37294         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37295         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37298         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37300         Regenerated.
37301         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37303         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37305         * shlib-versions: Remove OS-specific entries.  Moved to files in
37306         sysdeps.
37307         * sysdeps/mach/hurd/shlib-versions: New file.
37308         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37310         * nptl/shlib-versions: Remove architecture-specific entries.
37311         Moved to files in sysdeps.
37312         * shlib-versions: Likewise.
37313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37314         file.
37315         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37316         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37317         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37318         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37320         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37321         (UDP_NO_CHECK6_RX): Likewise.
37323 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37325         * sysdeps/posix/sysconf.c (__sysconf): Spell
37326         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37328 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37330         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37331         loading.
37332         * iconv/Versions (__gconv_transliterate): Export for use from
37333         gconv modules.
37334         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37335         (struct __gconv_trans_data, __gconv_trans_fct,
37336         __gconv_trans_context_fct, __gconv_trans_query_fct,
37337         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37338         definitions.
37339         (struct __gconv_step_data): Remove __trans member.
37340         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37341         longer hidden.  Remove unused trans_data argument.
37342         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37343         (__gconv_translit_find): Remove declaration.
37344         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37345         prototype.
37346         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37347         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37348         trans_data argument.  Add hidden definition.
37349         (__gconv_translit_find): Remove.
37350         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37351         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37352         * iconv/skeleton.c: Remove transliteration initialization.
37353         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37354         __gconv_step_data initialization.
37355         * libio/iofwide.c (__libio_translit_): Remove.
37356         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37357         * wcsmbs/btowc.c (__btowc): Likewise.
37358         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37359         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37360         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37361         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37362         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37363         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37364         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37365         * wcsmbs/wctob.c (wctob): Likewise.
37367 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37369         [BZ #16194]
37370         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37371         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37372         register usage.
37373         * sysdeps/x86/Makefile: Adjust.
37375 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37376             Roland McGrath  <roland@hack.frob.com>
37378         * locale/weight.h: Add include guard.
37379         (findidx): Make static rather than auto; take new parameters
37380         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37381         * locale/weightwc.h: Likewise.
37382         * posix/fnmatch_loop.c
37383         (FCT): Change type of EXTRA from int32_t to wint_t.
37384         Don't include either header inside the function.
37385         Call FINDIDX rather than findidx, and pass new arguments.
37386         #undef FINDIDX at the end of the file.
37387         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37388         FINDIDX before including fnmatch_loop.c for the non-wide version.
37389         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37390         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37391         for the wide version.
37392         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37393         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37394         Pass new arguments to findidx.
37395         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37396         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37397         Don't #include it inside the function.  Pass new arguments to findidx.
37398         * posix/regex_internal.h
37399         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37400         (re_string_elem_size_at): Don't #include it inside the function.
37401         Pass new arguments to findidx.
37402         * string/strcoll_l.c: #include WEIGHT_H at top level.
37403         (get_next_seq): Don't #include it inside the function.
37404         Pass new arguments to findidx.
37405         (get_next_seq_nocache): Likewise.
37406         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37407         (STRXFRM): Don't #include it inside the function.
37408         Pass new arguments to findidx.
37410 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37412         [BZ #17344]
37413         * malloc/malloc.c (unlink): Turn asserts into a call to
37414         malloc_printerr.
37416 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37418         [BZ #17370]
37419         * libio/wfileops (do_ftell_wide): Free OUT.
37421 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37423         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37425 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37427         [BZ #17363]
37428         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37429         group if the current group is empty.
37431 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37433         * benchtests/bench-memset.c (test_main): Add more test from size
37434         from 32 to 512 bytes.
37435         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37436         Add POWER8 memset object.
37437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37438         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37439         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37440         implementation.
37441         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37442         Likewise.
37443         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37444         multiarch POWER8 memset optimization.
37445         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37446         POWER8 memset optimization.
37448         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37449         Remove bzero multiarch objects.
37450         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37451         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37452         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37453         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37454         Remove define.
37455         [__bzero]: Redefine to specific name.
37456         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37457         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37458         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37459         define.
37460         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37461         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37463 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37465         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37466         warnings into errors.
37468         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37469         __cxa_thread_atexit_impl prototype.
37471 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37473         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37474         Fix capitalization of error message.
37476 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37478         * sysdeps/mips/preconfigure: Modify ABI tests.
37480 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37482         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37484 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37485             Carlos O'Donell  <carlos@systemhalted.org>
37487         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37488         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37489         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37490         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37491         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37492         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37493         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37494         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37495         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37496         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37497         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37498         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37502         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37503         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37504         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37506         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37508         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37509         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37510         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37511         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37512         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37513         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37514         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37515         Deconditionalize the code that was previously under [RESET_PID].
37516         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37517         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37518         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37519         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37520         include sysdep.h.
37522 2014-09-08  Allan McRae  <allan@archlinux.org>
37524         * version.h (RELEASE): Set to "development".
37525         (VERSION): Set to "2.20.90"
37527 2014-09-07  Allan McRae  <allan@archlinux.org
37529         * version.h (RELEASE): Set to "stable".
37530         (VERSION): Set to "2.20"
37531         * include/features.h (__GLIBC_MINOR__): Set to 20.
37533         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37534         Liebler.
37536         * po/ko.po: Update Korean translation from translation project.
37538 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37540         [BZ #17354]
37541         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37542         macro for handling signed relocations.
37544 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37546         [BZ #17325]
37547         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37548         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37549         assert.
37550         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37551         * iconvdata/ibm935.c (BODY): Likewise.
37552         * iconvdata/ibm937.c (BODY): Likewise.
37553         * iconvdata/ibm939.c (BODY): Likewise.
37554         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37555         assert.
37556         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37557         script.
37558         * iconvdata/run-iconv-test.sh: New test loop for checking for
37559         decoder crashers.
37561 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37563         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37564         libm_hidden_ver.
37566 2014-09-01  Allan McRae  <allan@archlinux.org>
37568         * po/eo.po: Update Esperanto translation from translation project.
37570         * po/ca.po: Update Catalan translation from translation project.
37572 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37574         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37575         __proc_dostop call.
37577 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37579         [BZ #17319]
37580         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37581         to call set_thread_area instead of hand written asm.
37582         (__NR_set_thread_area): Removed define.
37583         (TLS_FLAG_WRITABLE): Likewise.
37584         (__ASSUME_SET_THREAD_AREA): Remove check.
37585         (TLS_EBX_ARG): Remove define.
37586         (TLS_LOAD_EBX): Likewise.
37588 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37590         Simplify atomicity of socket creation in bind.
37592         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37593         looking up the name after linking the file.
37595 2014-08-27  Allan McRae  <allan@archlinux.org>
37597         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37599 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37601         [BZ #17187]
37602         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37603         trans_compare, open_translit, __gconv_translit_find):
37604         Remove module loading code.
37606 2014-08-26  Allan McRae  <allan@archlinux.org>
37608         * po/vi.po: Update Vietnamese translation from translation project.
37610         * po/uk.po: Update Ukrainian translation from translation project.
37612         * po/fr.po: Update French translation from translation project.
37614         * po/ru.po: Update Russian translation from translation project.
37616         * po/pl.po: Update Polish translation from translation project.
37618         * po/cs.po: Update Czech translation from translation project.
37620         * po/de.po: Update German translation from translation project.
37622         * po/bg.po: Update Bulgarian translation from translation project.
37624         * po/sv.po: Update Sweedish translation from translation project.
37626         * po/nl.po: Update Dutch translation from translation project.
37628         * po/es.po: Update Spanish translation from translation project.
37630 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37634         * catgets/Makefile (CPPFLAGS-gencat): Remove.
37635         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37636         (CPPFLAGS-iconvconfig): Likewise.
37637         * timezone/Makefile (CPPFLAGS-zic): Likewise.
37639         * include/libc-symbols.h: Remove unnecessary check for
37640         NOT_IN_libc.
37641         * nptl/pthreadP.h: Likewise.
37642         * sysdeps/aarch64/setjmp.S: Likewise.
37643         * sysdeps/alpha/setjmp.S: Likewise.
37644         * sysdeps/arm/sysdep.h: Likewise.
37645         * sysdeps/i386/setjmp.S: Likewise.
37646         * sysdeps/m68k/setjmp.c: Likewise.
37647         * sysdeps/posix/getcwd.c: Likewise.
37648         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37649         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37650         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37651         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37652         * sysdeps/sh/sh3/setjmp.S: Likewise.
37653         * sysdeps/sh/sh4/setjmp.S: Likewise.
37654         * sysdeps/unix/alpha/sysdep.h: Likewise.
37655         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37656         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37657         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37658         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37661         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37662         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37663         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37664         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37666         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37667         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37668         * sysdeps/x86_64/setjmp.S: Likewise.
37670 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
37672         [BZ #17263]
37673         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
37674         <stdint.h>.
37675         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
37676         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
37678 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37680         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
37682         [BZ #17262]
37683         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
37684         and __x86_64__ when disabling x87 inline functions.
37686 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37688         [BZ #17259]
37689         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
37690         asm statement with __cpuid_count.
37692 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
37694         * configure.ac: Change __ehdr_start code to dereference the struct.
37695         Run readelf on the output to look for relocations.
37696         * configure: Regenerated.
37698 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
37700         [BZ #17261]
37701         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
37702         value to 0.
37703         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
37705 2014-08-12  Roland McGrath  <roland@hack.frob.com>
37707         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
37709 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
37711         [BZ #16892]
37712         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
37713         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
37715 2014-08-12  Sean Anderson  <seanga2@gmail.com>
37717         * malloc/malloc.c: Fix typo in comment.
37719 2014-08-09  Allan McRae  <allan@archlinux.org>
37721         * Regenerate libc.po.
37723 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
37725         * intl/tst-gettext2.sh: Check every lang file for creation.
37727 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37729         * sysdeps/aarch64/fpu/math_private.h
37730         (libc_feholdsetround_noex_aarch64_ctx): New function.
37732 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37734         * sysdeps/arm/armv6/strcpy.S (strcpy):
37735         Fix performance issue in misaligned cases.
37737 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37739         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
37740         Move definition from termios.h.
37741         (struct termio): Likewise.
37742         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37743         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37744         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37745         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37746         Likewise.
37747         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
37748         Move definition to ioctl-types.h
37749         (struct termio): Likewise.
37750         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37751         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37752         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37753         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37754         Likewise.
37756 2014-08-05  Richard Henderson  <rth@redhat.com>
37758         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
37759         exceptions.
37760         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
37761         Add fraiseexcpt.
37762         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
37763         Use __feraiseexcept.
37764         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
37765         Protect libm symbols with IS_IN_libm.
37767         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
37769 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
37771         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
37773 2014-08-04  Will Newton  <will.newton@linaro.org>
37775         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
37776         file.
37778 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
37780         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
37781         variants for each function.
37783 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37785         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
37786         appended ...
37787         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
37788         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
37789         appended ...
37790         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
37791         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37792         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
37793         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
37794         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
37795         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
37796         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
37797         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
37798         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
37799         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
37800         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
37801         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
37802         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
37803         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
37804         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
37805         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
37806         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
37807         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
37808         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
37809         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
37810         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
37811         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
37812         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
37813         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
37814         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
37815         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
37816         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
37817         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
37818         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
37819         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
37820         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
37821         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
37822         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
37823         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
37824         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
37825         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
37826         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
37827         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
37828         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
37829         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
37830         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
37831         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
37832         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
37833         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
37834         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
37835         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
37836         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
37837         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
37838         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
37839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
37840         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
37841         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
37842         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
37843         Update #include.
37844         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
37845         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
37847 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37849         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
37850         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
37851         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
37852         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
37853         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
37854         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
37856 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37858         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
37859         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
37860         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37861         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
37863 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37865         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
37866         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
37867         (__libc_vfork): Define function under this name.
37868         (__vfork): Define as an alias.
37869         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
37870         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
37872 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37874         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
37875         that was previously under [RESET_PID].
37876         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
37878 2014-08-04  Andreas Schwab  <schwab@suse.de>
37880         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
37882 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
37884         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
37885         (main): Likewise.
37887 2014-08-01  Roland McGrath  <roland@hack.frob.com>
37889         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
37891 2014-08-01  Richard Henderon  <rth@redhat.com>
37893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
37894         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
37895         typo in exact zero test.
37896         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37897         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37900 2014-08-01  Roland McGrath  <roland@hack.frob.com>
37902         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
37903         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
37904         * sysdeps/arm/sysdep.h: ... here.
37905         [!__ASSEMBLER__]: Include <stdint.h>.
37907 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37909         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
37910         (HAVE_WCTYPE_H): Likewise.
37911         (HAVE_ISWCTYPE): Likewise.
37912         (ENABLE_NLS): Likewise.
37913         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
37914         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
37916         * posix/regex_internal.c: Check if DEBUG is defined and is
37917         set.
37919         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
37920         (HAVE_MBSRTOWCS): Likewise.
37921         * posix/fnmatch.c: Include string.h unconditionally.
37923 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37925         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
37926         reversal.
37928 2014-07-31  Roland McGrath  <roland@hack.frob.com>
37930         * sysdeps/generic/safe-fatal.h: New file.
37931         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
37932         * nptl/forward.c: Include it.
37933         (__pthread_unwind): Use __safe_fatal as default action, rather
37934         than a bogus use of INTERNAL_SYSCALL that could never work.
37936         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
37937         * configure.ac (libc_cv_builtin_trap): New test.
37938         * configure: Regenerated.
37939         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
37940         (ABORT_INSTRUCTION): Define using __builtin_trap.
37942         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
37943         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
37944         * sysdeps/nptl/nptl-signals.h: New file.
37945         * nptl/pthreadP.h: Include <nptl-signals.h>.
37947 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
37949         * sysdeps/s390/s390-64/utf16-utf32-z9.c
37950         (ONE_DIRECTION): Define.
37951         * sysdeps/s390/s390-64/utf8-utf16-z9.c
37952         (ONE_DIRECTION): Define.
37953         * sysdeps/s390/s390-64/utf8-utf32-z9.c
37954         (ONE_DIRECTION): Define.
37956 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
37958         * sysdeps/s390/Makefile: Delete file.
37959         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
37960         * sysdeps/s390/__longjmp.c: Delete file.
37961         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
37962         Remove fields __flags and __reserved.
37963         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
37964         and add versioning.
37965         * sysdeps/s390/rtld-__longjmp.c: Delete file.
37966         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
37967         * sysdeps/s390/rtld-setjmp.S: Likewise.
37968         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
37969         * sysdeps/s390/s390-32/__longjmp.c: ... here.
37970         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
37971         * sysdeps/s390/s390-32/setjmp.S: ... here.
37972         Add versioning.
37973         (__sigsetjmp): Remove setting __flags field.
37974         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
37975         * sysdeps/s390/s390-64/__longjmp.c: ... here.
37976         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
37977         * sysdeps/s390/s390-64/setjmp.S: ... here.
37978         Add versioning.
37979         (__sigsetjmp): Remove setting __flags field.
37980         * sysdeps/s390/setjmp.S: Delete file.
37981         * sysdeps/s390/sigjmp.c: Likewise.
37982         * sysdeps/s390/v1-longjmp.c: Likewise.
37983         * sysdeps/s390/v1-setjmp.h: Likewise.
37984         * sysdeps/s390/v1-sigjmp.c: Likewise.
37985         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
37986         Remove v1-longjmp_chk.
37987         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
37988         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
37989         Include debug/longjmp_chk.c and add versioning.
37990         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
37991         Include nptl/pt-longjmp.c and add versioning.
37992         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
37993         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
37994         Include __longjmp.c.
37995         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37996         Move to ...
37997         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
37998         (__getcontext): Remove setting __flags field.
37999         Add versioning.
38000         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38001         Don't restore upper high grps.
38002         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38003         Likewise.
38004         (__swapcontext): Remove setting uc_flags field.
38005         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38006         Delete file.
38007         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38008         Include __longjmp.c.
38009         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38010         Move to ...
38011         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38012         (__getcontext): Remove setting __flags field.
38013         Add versioning.
38014         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38015         (__swapcontext): Remove setting uc_flags field.
38016         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38017         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38018         Remove fields uc_high_gprs and __reserved.
38019         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38020         New file with reverted content.
38021         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38022         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38023         Regenerated.
38024         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38025         Regenerated.
38027 2014-07-31  Andreas Schwab  <schwab@suse.de>
38029         * config.h.in (HAVE_IFUNC): Define to 0.
38030         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38031         definedness.
38033 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38036         memmove-avx-unaligned, memcpy-avx-unaligned and
38037         mempcpy-avx-unaligned.
38038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38039         Add tests for AVX memcpy functions.
38040         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38041         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38042         memcpy_chk.
38043         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38044         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38045         memmove_chk.
38046         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38047         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38048         mempcpy_chk.
38049         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38050         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38051         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38053 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38055         [BZ #17213]
38056         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38057         powerpc64le.
38059 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38061         [BZ #16839]
38062         * manual/llio.texi: Add section about open file description locks.
38063         * manual/examples/ofdlocks.c: Example of open file description
38064         lock usage.
38065         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38066         F_OFD_SETLK, and F_OFD_SETLKW.
38068 2014-07-23  Allan McRae  <allan@archlinux.org>
38070         * po/es.po: Update Spanish translation from translation project.
38072 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38074         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38076 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38078         [BZ #17078]
38079         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38080         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38081         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38083 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38085         [BZ #17088]
38086         * math/fesetenv.c (__fesetenv)
38087         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38088         * math/feupdateenv.c (__feupdateenv)
38089         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38091         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38092         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38093         (__ASSUME_SOCKETCALL): Do not define.
38095         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38096         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38097         (__ASSUME_SOCKETCALL): Do not define.
38098         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38099         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38100         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38101         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38102         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38103         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38104         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38105         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38107         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38108         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38109         (__ASSUME_SOCKETCALL): Do not define.
38110         (__ASSUME_IPC64): Define unconditionally.
38111         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38112         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38113         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38114         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38115         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38116         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38117         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38118         Likewise.
38120         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38121         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38122         (__ASSUME_SOCKETCALL): Do not define.
38123         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38124         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38125         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38126         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38127         (__ASSUME_REQUEUE_PI): Define unconditionally.
38128         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38129         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38130         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38131         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38132         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38133         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38135         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38136         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38137         (__ASSUME_SOCKETCALL): Do not define.
38138         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38139         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38140         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38141         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38142         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38143         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38145         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38146         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38147         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38148         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38149         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38150         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38152         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38153         (__ASSUME_GETCPU_SYSCALL): Likewise.
38155         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38156         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38157         cases for individual architectures.
38158         * sysdeps/gnu/configure: Regenerated.
38159         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38160         LIBC_SLIBDIR_RTLDDIR.
38161         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38162         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38163         LIBC_SLIBDIR_RTLDDIR.
38164         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38166         LIBC_SLIBDIR_RTLDDIR.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38168         Regenerated.
38169         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38170         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38171         file.
38172         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38173         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38174         file.
38175         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38176         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38177         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38178         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38180         * sysdeps/aarch64/shlib-versions: Move to ...
38181         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38182         * sysdeps/alpha/shlib-versions: Move to ...
38183         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38184         * sysdeps/arm/shlib-versions: Move to ...
38185         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38186         * sysdeps/hppa/shlib-versions: Move all contents except for
38187         libgcc_s entry to ...
38188         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38189         entry from ...
38190         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38191         * sysdeps/ia64/shlib-versions: Move to ...
38192         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38193         entry from ...
38194         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38195         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38196         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38197         * sysdeps/microblaze/shlib-versions: Move to ...
38198         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38199         * sysdeps/mips/shlib-versions: Move to ...
38200         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38201         entry from ...
38202         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38203         * sysdeps/tile/shlib-versions: Move to ...
38204         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38205         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38206         from ...
38207         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38208         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38209         entry from ...
38210         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38212 2014-07-17  Will Newton  <will.newton@linaro.org>
38214         * sysdeps/arm/bits/atomic.h
38215         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38216         (__arch_compare_and_exchange_bool_16_int): Likewise.
38217         (__arch_compare_and_exchange_bool_64_int): Likewise.
38219         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38220         into an #else block.
38222 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38224         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38225         just Linux configurations.  Test empirically that the compiler sets
38226         __ARM_EABI__, rather than using the tuple to decide.
38227         * sysdeps/arm/preconfigure: Regenerated.
38228         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38229         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38230         contents appended ...
38231         * sysdeps/arm/configure.ac: ... here.
38232         * sysdeps/arm/configure: Regenerated.
38234 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38236         * nptl/pthread_kill.c: New file.
38237         * nptl/pthread_sigmask.c: New file.
38238         * nptl/pthread_sigqueue.c: New file.
38240         * sysdeps/nptl/lowlevellock.h: New file.
38241         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38242         * sysdeps/nptl/lowlevellock-futex.h: New file.
38244         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38245         Remove dead declarations.
38247 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38249         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38250         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38251         config-cflags-avx2.
38252         * sysdeps/x86_64/configure.ac: Likewise.
38253         * sysdeps/i386/configure: Regenerated.
38254         * sysdeps/x86_64/configure: Likewise.
38255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38256         memset-avx2 only if config-cflags-avx2 is yes.
38257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38258         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38259         defined.
38260         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38261         only if HAVE_AVX2_SUPPORT is defined.
38262         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38264 2014-07-14  Alan Modra  <amodra@gmail.com>
38266         [BZ #17153]
38267         * elf/elf.h (DT_PPC64_NUM): Correct value.
38268         * NEWS: Add to fixed bug list.
38270 2014-07-13  Jim Meyering  <meyering@fb.com>
38272         [BZ 17150]
38273         regex: don't deref NULL upon heap allocation failure
38274         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38275         failure in one more place.
38276         To trigger the segfault, configure grep -with-included-regex,
38277         build it, and run these commands:
38278         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38280 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38282         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38284 2014-07-11  Richard Henderson  <rth@redhat.com>
38286         * sysdeps/aarch64/libm-test-ulps: Update.
38288 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38290         [BZ #17135]
38291         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38292         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38293         (__nptl_setxid): Initialize error member.  Call
38294         __nptl_setxid_error.
38295         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38296         * nptl/descr.h (struct xid_command): Add error member.
38297         * nptl/tst-setuid3.c: New file.
38298         * nptl/Makefile (tests): Add it.
38300 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38302         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38303         New define.
38304         (__lll_trylock): Use __lll_base_trylock.
38305         (__lll_cond_trylock): Likewise.
38307 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38309         * nptl/pthread_create.c (start_thread): Use atomic_or and
38310         lll_futex_wake directly rather than lll_robust_dead.
38311         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38312         (lll_robust_dead): Macro removed.
38313         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38314         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38315         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38316         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38317         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38318         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38319         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38320         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38321         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38322         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38323         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38325         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38326         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38327         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38329         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38330         Use atomic_compare_and_exchange_val_acq directly rather than
38331         lll_robust_trylock.
38332         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38333         (__lll_robust_trylock, lll_robust_trylock): Removed.
38334         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38335         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38336         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38337         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38338         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38339         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38340         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38341         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38342         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38343         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38344         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38345         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38346         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38347         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38349 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38351         * manual/locale.texi (Locale Names): New section documenting
38352         locale name syntax.  Adjust menu and node chaining accordingly.
38353         (Choosing Locale): Reference Locale Names, Locale Categories.
38354         Mention setting LC_ALL=C.  Reflect that name syntax is now
38355         documented.
38356         (Locale Categories): New section title.  Reference Locale Names.
38357         LC_ALL is an environment variable, but not a category.
38358         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38359         description, now in Locale Name.  Reference that section.  Locale
38360         name syntax is now documented.
38362 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38364         [BZ #17137]
38365         * locale/findlocale.c (name_present, valid_locale_name): New
38366         functions.
38367         (_nl_find_locale): Use the loc_name variable to store name
38368         candidates.  Call name_present and valid_locale_name to check and
38369         validate locale names.  Return an error if the locale is invalid.
38371 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38373         * locale/setlocale.c (setlocale): Use strdup for allocating
38374         composite name copy.
38376 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38378         Sync up with gnulib.
38379         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38380         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38381         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38382         and _GL_ARG_NONNULL.
38383         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38384         [!_LIBC]: Include code for Windows and Cygwin.
38385         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38386         Include prototype for int strerror_r.
38387         [!_LIBC] (is_open): New function.
38388         (flush_stdout): New function.
38389         (print_errno_message): Use it.
38390         (error): Likewise.
38391         (error_at_line): Likewise.
38392         (error_tail) Add function attribute macros.  Use
38393         __builtin_expect.
38395         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38397         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38399         * io/ftw.c: Include sys/param.h unconditionally.
38401         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38403         [BZ #17125]
38404         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38405         libc_freeres_ptr.
38406         (freecache): New function to free CACHE on exit.
38408         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38409         initialization.
38411 2014-07-09  David S. Miller  <davem@davemloft.net>
38413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38415         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38416         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38417         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38418         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38419         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38420         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38421         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38422         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38423         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38424         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38425         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38426         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38427         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38429 2014-07-09  Andreas Schwab  <schwab@suse.de>
38431         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38432         output.
38433         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38434         (do_test): Likewise.
38436         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38438 2014-07-09  Will Newton  <will.newton@linaro.org>
38440         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38441         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38442         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38443         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38444         * sysdeps/hppa/start.S (_start): Likewise.
38446 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38448         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38450         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38451         defined.
38453 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38455         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38456         after checking that it is non-NULL.
38458         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38460 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38462         * sysdeps/powerpc/memmove.c: Remove file.
38463         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38464         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38465         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38466         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38467         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38468         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38469         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38470         string memmove instead of removed powerpc one.
38472         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38473         [weak_alias]: Fix compiler warning due trailing data.
38474         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38475         [weak_alias]: Likewise.
38476         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38477         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38480         (__libc_ifunc_impl_list): Add memmove functions.
38482 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38484         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38485         Remove code.
38486         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38487         Likewise.
38488         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38489         Likewise.
38490         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38491         Likewise.
38492         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38493         Likewise.
38494         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38495         Likewise.
38496         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38497         Likewise.
38498         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38499         Likewise.
38500         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38501         Likewise.
38502         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38503         Likewise.
38504         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38505         Likewise.
38506         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38507         Likewise.
38508         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38509         Likewise.
38510         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38511         Likewise.
38512         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38513         Likewise.
38514         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38515         Likewise.
38516         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38517         Likewise.
38519 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38521         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38522         to avoid alignment traps in non-cacheable memory.
38523         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38526         multiarch objects.
38527         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38528         file: multiarch power7 memmove.
38529         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38530         multiarch default memmove.
38531         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38532         multiarch memove for powerpc32/power4.
38534         * string/bcopy.c: Use full path to include memmove.c.
38535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38536         multiarch objects.
38537         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38538         bcopy for powerpc64.
38539         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38540         bcopy for powerpc64.
38541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38542         and memmove implementations.
38543         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38544         optimized multiarch memmove for POWER7/powerpc64.
38545         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38546         default multiarch memmove for powerpc64.
38547         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38548         multiarch for powerpc64.
38549         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38550         for POWER7/powerpc64.
38551         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38552         memmove for POWER7/powerpc64.
38554         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38555         glibc default one.
38557         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38558         __ELF_NATIVE_CLASS equal to 64.
38560 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38562         * sysdeps/nptl/lowlevellock.h: File removed.
38564         * NEWS: NPTL is no longer an add-on!
38565         * nptl/internaltypes.h: Moved ...
38566         * sysdeps/nptl/internaltypes.h: ... here.
38567         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38568         * sysdeps/nptl/fork.c: Likewise.
38569         * sysdeps/nptl/gai_misc.h: Likewise.
38570         * sysdeps/nptl/librt-cancellation.c: Likewise.
38571         * sysdeps/nptl/jmp-unwind.c: Likewise.
38572         * sysdeps/nptl/setxid.h: Likewise.
38573         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38574         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38575         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38576         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38577         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38578         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38579         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38580         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38581         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38582         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38583         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38584         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38585         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38586         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38587         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38588         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38589         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38590         * nptl/Makeconfig: Moved ...
38591         * sysdeps/nptl/Makeconfig: ... here.
38592         * nptl/configure: File removed.
38593         * nptl/ANNOUNCE: File removed.
38594         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38595         * sysdeps/unix/sysv/linux/configure: Regenerated.
38597         * nptl/Makefile (routines): Add libc_pthread_init,
38598         libc_multiple_threads, register-atfork and unregister-atfork.
38599         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38600         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38601         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38602         pthread-pi-defines.sym, structsem.sym.
38603         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38604         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38605         [$(subdir) = nptl] (tests): Add tst-setgetname.
38606         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38607         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38608         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38609         [!LIBC_SIGACTION]: Remove aliases.
38610         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38611         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38612         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38613         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38614         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38615         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38616         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38617         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38618         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38619         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38620         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38621         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38622         __libc_allocate_rtsig_private.
38623         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38624         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38625         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38626         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38627         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38628         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38629         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38630         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38631         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38632         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38633         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38634         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38635         * nptl/internaltypes.h: ... here.
38636         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38637         * sysdeps/nptl/jmp-unwind.c: ... here.
38638         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
38639         * nptl/libc-lowlevellock.c: ... here.
38640         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
38641         * nptl/libc_multiple_threads.c: ... here.
38642         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
38643         * nptl/libc_pthread_init.c: ... here.
38644         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
38645         * nptl/lowlevelbarrier.sym: ... here.
38646         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
38647         * nptl/lowlevelcond.sym: ... here.
38648         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
38649         * nptl/lowlevellock.c: ... here.
38650         * nptl/lowlevellock.h: Moved ...
38651         * sysdeps/nptl/lowlevellock.h: ... here.
38652         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
38653         * nptl/lowlevelrobustlock.c: ... here.
38654         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
38655         * nptl/lowlevelrobustlock.sym: ... here.
38656         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
38657         * nptl/lowlevelrwlock.sym: ... here.
38658         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
38659         * nptl/pt-fork.c: ... here.
38660         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
38661         * nptl/pthread-pi-defines.sym: ... here.
38662         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
38663         * nptl/pthread_attr_getaffinity.c: ... here.
38664         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
38665         * nptl/pthread_attr_setaffinity.c: ... here.
38666         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
38667         * nptl/pthread_mutex_cond_lock.c: ... here.
38668         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38669         Update #include.
38670         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
38671         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
38672         * nptl/pthread_once.c: ... here, replacing old file.
38673         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
38674         * nptl/pthread_yield.c: ... here.
38675         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
38676         * nptl/register-atfork.c: ... here.
38677         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
38678         * nptl/sem_post.c: ... here.
38679         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
38680         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
38681         * nptl/sem_timedwait.c: ... here.
38682         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
38683         * nptl/sem_trywait.c: ... here.
38684         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
38685         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
38686         * nptl/sem_wait.c: ... here.
38687         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
38688         * nptl/structsem.sym: ... here.
38689         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
38690         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
38691         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
38692         * nptl/unregister-atfork.c: ... here.
38693         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
38694         * nptl/unwindbuf.sym: ... here.
38695         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
38696         * sysdeps/nptl/fork.c: ... here.
38697         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
38698         * sysdeps/nptl/fork.h: ... here.
38699         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
38700         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
38701         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
38702         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
38703         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
38704         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
38705         * sysdeps/unix/sysv/linux/getpid.c: ... here.
38706         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
38707         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
38708         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
38709         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
38710         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
38711         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
38712         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
38713         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
38714         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
38715         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
38716         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
38717         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
38718         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
38719         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
38720         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
38721         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
38722         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
38723         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
38724         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
38725         * sysdeps/unix/sysv/linux/raise.c: ... here.
38726         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
38727         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
38728         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
38729         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
38730         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
38731         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
38732         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
38733         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
38734         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
38735         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
38736         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
38737         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
38738         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
38739         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
38740         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
38742 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38744         * sysdeps/generic/memcopy.h: Add comment for
38745         MEMCPY_OK_FOR_FWD_MEMMOVE.
38747 2014-07-04  Will Newton  <will.newton@linaro.org>
38749         * string/memchr.c: Merge from gnulib.
38750         [_LIBC]: Remove conditionals.
38751         (__ptr_t): Remove define.
38752         (LONG_MAX_32_BITS): Likewise.
38753         (LONG_MAX): Likewise.
38754         (MEMCHR): Use ANSI prototype and optimize algorithm.
38756         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
38758 2014-07-03  Roland McGrath  <roland@hack.frob.com>
38760         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
38761         (lll_futex_timed_wait_bitset): Fix syscall argument count.
38763         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
38764         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
38765         in a bare environment with no <stdlib.h> installed.
38766         * sysdeps/nptl/configure: Regenerated.
38768         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
38770         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
38771         AC_EGREP_CPP for kernel header checks, so they only succeed if
38772         including <linux/version.h> actually works right.
38773         * sysdeps/unix/sysv/linux/configure: Regenerated.
38775         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
38776         value so it's not diagnosed as unused.
38778         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
38779         thing) with "ifeq ($(subdir),rt)".
38781 2014-07-03  Richard Henderson  <rth@redhat.com>
38783         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
38784         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
38785         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
38787         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
38788         (math_force_eval): New.
38790         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
38791         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
38793         * sysdeps/alpha/fpu/s_round.c: Remove file.
38794         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
38796         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
38797         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
38798         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
38799         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
38800         (_dl_start, print_statistics): Likewise.
38801         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
38802         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
38804         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38805         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38806         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38807         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38808         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38809         (HP_SMALL_TIMING_AVAIL): Define.
38810         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38811         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38812         (HP_SMALL_TIMING_AVAIL): Define.
38813         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38814         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38816         * sysdeps/aarch64/hp-timing.h: New file.
38818         * sysdeps/generic/hp-timing.h: Remove dead comment.
38819         * sysdeps/generic/hp-timing-common.h: New file.
38820         * sysdeps/alpha/hp-timing.h: Include it.
38821         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
38822         * sysdeps/i386/i686/hp-timing.h: Likewise.
38823         * sysdeps/ia64/hp-timing.h: Likewise.
38824         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38825         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38826         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38827         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38828         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
38829         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
38830         (hp_timing_t): New.
38832         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
38833         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
38834         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
38835         * elf/rtld.c (_dl_start_final): Likewise.
38836         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
38837         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38838         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38839         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38840         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38841         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38842         (HP_TIMING_DIFF_INIT): Remove.
38843         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38844         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38845         (HP_TIMING_DIFF_INIT): Remove.
38846         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38847         * sysdeps/i386/i686/hp-timing.c: Remove file.
38848         * sysdeps/x86_64/hp-timing.c: Remove file.
38849         * sysdeps/ia64/hp-timing.c: Remove file.
38850         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
38851         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
38852         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
38853         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
38855         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
38856         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
38857         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
38858         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38859         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38860         (HP_TIMING_ACCUM): Remove.
38861         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38862         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
38863         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38865         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
38866         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
38867         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
38868         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
38869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
38870         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
38872         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38874         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
38876 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
38878         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
38880 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38882         Sync up with gettext.
38883         * intl/loadmsgcat.c: Define O_BINARY if not defined.
38884         [_MSC_VER]: Include malloc.h
38885         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
38886         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
38887         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
38888         TEMP_FAILURE_RETRY.  Cast return of alloca.
38889         [!_LIBC] Call gl_rwlock_init.
38890         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
38892 2014-07-02  Roland McGrath  <roland@hack.frob.com>
38894         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
38895         before checking its value.
38897 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38899         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
38901         * debug/memcpy_chk.c: Don't include pagecopy.h.
38902         * debug/mempcpy_chk.c: Likewise.
38903         * string/memcpy.c: Likewise.
38904         * string/memmove.c: Likewise.
38905         * sysdeps/powerpc/memmove.c: Likewise.
38906         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
38907         definition of PAGE_COPY_FWD_MAYBE here...
38908         * sysdeps/generic/pagecopy.h: ... from here.
38909         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
38911 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38912             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38914         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
38915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
38916         optimizations.
38917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38918         (__libc_ifunc_impl_list): Likewise.
38919         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
38920         multiarch strcat for PPC64.
38921         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
38922         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
38924 2014-07-02  Roland McGrath  <roland@hack.frob.com>
38926         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
38928 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38930         * intl/loadmsgcat.c: Remove declaration of
38931         get_sysdep_segment_value.
38932         (get_sysdep_segment_value): Use ISO C style.
38933         (_nl_load_domain): Use ISO C style.  Get rid of redundant
38934         semicolon.  Fix typo and formatting in comment.
38935         (_nl_unload_domain): Use ISO C style.
38937         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
38939 2014-07-02  Will Newton  <will.newton@linaro.org>
38941         * malloc/obstack.c: Merge from gnulib master.
38942         [HAVE_CONFIG_H]: Remove conditional code.
38943         [!_LIBC]: Include config.h.
38944         [!ELIDE_CODE]: Don't include inttypes.h, include
38945         stdint.h unconditionally.
38946         (print_and_abort): Mark as _Noreturn.
38947         (_obstack_allocated_p): Mark as __attribute_pure__.
38948         (obstack_free): Rename to __obstack_free.
38949         [!__attribute__]: Remove conditional code.
38950         * malloc/obstack.h: Merge from gnulib master.
38951         [__cplusplus]: Move conditional down.
38952         [!__attribute_pure__]: Define __attribute_pure__ here
38953         if it is not already defined.
38954         (_obstack_memory_used): Mark as __attribute_pure__.
38955         [!__obstack_free]: Define as obstack_free.
38956         [__GNUC__]: Remove check for ancient NeXT gcc.
38958 2014-07-02  Will Newton  <will.newton@linaro.org>
38959             Paul Eggert  <eggert@cs.ucla.edu>
38961         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
38963 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38965         * resolv/gethnamaddr.c: Add comment warning that the file is
38966         not maintained.
38968 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
38970         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
38971         entries.
38973         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
38974         entry for aio_cancel and aio_cancel64.
38975         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
38976         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
38977         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
38978         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
38979         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
38980         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
38981         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
38982         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
38983         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
38984         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
38985         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
38986         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
38987         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
38989 2014-07-01  Roland McGrath  <roland@hack.frob.com>
38991         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
38992         * nptl/pthread_mutex_lock.c: Likewise.
38993         * nptl/pthread_mutex_timedlock.c: Likewise.
38994         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
38996 2014-07-01  Richard henderson  <rth@redhat.com>
38998         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
38999         (__isnan, __isnanl): Remove.
39000         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39002         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39004 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39006         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39008 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39010         * resolv/nss_dns/dns-host.c (getanswer_r)
39011         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39013 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39015         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39016         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39017         undefine.
39018         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39019         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39021 2014-07-01  Roland McGrath <roland@hack.frob.com>
39023         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39024         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39026         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39027         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39029         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39030         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39031         ... here.
39032         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39033         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39035         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39036         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39037         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39038         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39040         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39041         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39042         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39043         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39044         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39045         Moved ...
39046         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39047         ... here.
39048         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39049         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39050         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39051         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39052         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39053         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39054         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39055         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39056         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39057         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39058         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39059         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39060         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39061         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39062         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39063         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39064         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39065         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39066         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39067         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39068         ... here.
39069         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39070         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39071         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39072         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39073         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39074         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39075         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39076         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39078 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39080         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39081         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39082         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39083         Add sysdep.
39085 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39089 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39091         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39092         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39094         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39096         * sysdeps/arm/libm-test-ulps: Regenerated.
39098 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39099             Roland McGrath <roland@hack.frob.com>
39101         * test-skeleton.c (signal_handler): Kill the whole process group
39102         before killing the child individually.
39103         (main): Report any failure on `setpgid'.
39105 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39107         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39108         from _TLS_H to _ARM_NPTL_TLS_H.
39109         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39110         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39112 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39114         [BZ #16539]
39115         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39116         (__expm1l): Return argument unchanged when small but not
39117         subnormal.
39119         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39120         include macro name.
39121         (_FP_UNPACK_RAW_1_P): Likewise.
39122         (_FP_PACK_RAW_1): Likewise.
39123         (_FP_PACK_RAW_1_P): Likewise.
39124         (_FP_MUL_MEAT_1_wide): Likewise.
39125         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39126         (_FP_MUL_MEAT_1_hard): Likewise.
39127         (_FP_DIV_MEAT_1_imm): Likewise.
39128         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39129         (_FP_DIV_MEAT_1_udiv): Likewise.
39130         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39131         (_FP_UNPACK_RAW_2): Likewise.
39132         (_FP_UNPACK_RAW_2_P): Likewise.
39133         (_FP_PACK_RAW_2): Likewise.
39134         (_FP_PACK_RAW_2_P): Likewise.
39135         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39136         (_FP_MUL_MEAT_2_wide): Likewise.
39137         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39138         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39139         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39140         (_FP_MUL_MEAT_2_gmp): Likewise.
39141         (_FP_DIV_MEAT_2_udiv): Likewise.
39142         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39143         (_FP_FRAC_SRL_4): Likewise.
39144         (_FP_FRAC_SRST_4): Likewise.
39145         (_FP_FRAC_SRS_4): Likewise.
39146         (_FP_UNPACK_RAW_4): Likewise.
39147         (_FP_UNPACK_RAW_4_P): Likewise.
39148         (_FP_PACK_RAW_4): Likewise.
39149         (_FP_PACK_RAW_4_P): Likewise.
39150         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39151         (_FP_MUL_MEAT_4_wide): Likewise.
39152         (_FP_MUL_MEAT_4_gmp): Likewise.
39153         (umul_ppppmnnn): Likewise.
39154         (_FP_DIV_MEAT_4_udiv): Likewise.
39155         (__FP_FRAC_ADD_4): Likewise.
39156         (__FP_FRAC_SUB_3): Likewise.
39157         (__FP_FRAC_SUB_4): Likewise.
39158         (__FP_FRAC_DEC_3): Likewise.
39159         (__FP_FRAC_DEC_4): Likewise.
39160         (__FP_FRAC_ADDI_4): Likewise.
39161         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39162         (_FP_FRAC_SRL_8): Likewise.
39163         (_FP_FRAC_SRS_8): Likewise.
39165         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39166         include macro name.
39167         (FP_UNPACK_RAW_EP): Likewise.
39168         (FP_PACK_RAW_E): Likewise.
39169         (FP_PACK_RAW_EP): Likewise.
39170         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39171         (_FP_ISSIGNAN): Likewise.
39172         (_FP_ADD_INTERNAL): Likewise.
39173         (_FP_FMA): Likewise.
39174         (_FP_CMP): Likewise.
39175         (_FP_SQRT): Likewise.
39176         (_FP_TO_INT): Likewise.
39177         (_FP_FROM_INT): Likewise.
39178         (FP_EXTEND): Likewise.
39179         (_FP_DIV_MEAT_N_loop): Likewise.
39181 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39183         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39184         throughout.
39186 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39188         [BZ #17097]
39189         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39190         result with correct sign in case of exponents that produce
39191         overflow except for X very close to 1.
39193 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39195         mktime: merge #if/#ifdef usage from glibc
39196         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39197         as that works with both Glibc's and Gnulib's style.
39198         See thread starting at Siddhesh Poyarekar's bug report at:
39199         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39201 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39203         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39204         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39205         * sysdeps/tile/tilegx/memmove.c: Remove file.
39207 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39209         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39210         abi-name definition.
39211         * scripts/soversions.awk: Do not handle or generate ABI lines.
39212         * shlib-versions: Remove ABI entries.
39213         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39214         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39216 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39219         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39220         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39221         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39223         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39225         Moved ...
39226         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39227         ... here.
39228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39229         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39231         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39233         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39235         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39237         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39239         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39241         Moved ...
39242         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39244         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39246         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39248         Moved ...
39249         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39251         Moved ...
39252         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39254         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39256         Moved ...
39257         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39259         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39261         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39263         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39265         Moved ...
39266         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39268         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39269         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39270         Moved ...
39271         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39272         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39273         Moved ...
39274         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39275         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39276         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39278         Moved ...
39279         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39280         ... here.
39281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39282         Identical file removed.
39283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39284         Moved ...
39285         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39286         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39287         Identical file removed.
39288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39289         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39290         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39291         Moved ...
39292         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39293         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39294         Identical file removed.
39295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39296         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39298         Identical file removed.
39299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39300         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39301         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39302         Identical file removed.
39303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39304         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39306         Identical file removed.
39307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39308         Moved ...
39309         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39311         Identical file removed.
39312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39313         Moved ...
39314         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39316         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39318         Identical file removed.
39319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39320         Moved ...
39321         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39322         ... here.
39323         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39324         Identical file removed.
39325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39326         Moved ...
39327         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39328         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39329         Identical file removed.
39330         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39331         Moved ...
39332         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39334         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39336         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39338         Moved ...
39339         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39340         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39341         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39343         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39344         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39345         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39346         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39347         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39349 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39351         [BZ #17092]
39352         * nscd/nscd.c (monitor_child): Return exit status of child
39353         instead of return value from wait syscall.
39355 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39357         * configure.ac (libc_commonpagesize): Remove variable.
39358         (libc_relro_required): Likewise.
39359         (libc_cv_z_relro): Remove configure test.
39360         * configure: Regenerated.
39361         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39362         variable.
39363         (libc_relro_required): Likewise.
39364         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39365         (libc_relro_required): Likewise.
39366         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39367         (libc_relro_required): Likewise.
39368         * sysdeps/arm/preconfigure: Regenerated.
39369         * sysdeps/ia64/preconfigure: Remove file.
39370         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39371         variable.
39372         (libc_relro_required): Likewise.
39374         [BZ #16561]
39375         [BZ #16562]
39376         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39377         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39378         recompute overflowing results in original rounding mode.
39379         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39380         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39381         recompute overflowing results in original rounding mode.
39382         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39383         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39384         recompute overflowing results in original rounding mode.
39385         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39386         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39387         recompute overflowing results in original rounding mode.
39388         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39389         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39390         recompute overflowing results in original rounding mode.
39391         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39392         (libc_feholdsetround_ctx): New macro.
39393         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39394         * sysdeps/i386/fpu/libm-test-ulps: Update.
39395         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39397 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39399         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39400         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39401         corresponding .cpsetup call.
39403 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39405         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39406         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39407         * sysdeps/arm/Makefile [$(subdir) = csu]
39408         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39409         (static-only-routines): Add aeabi_read_tp here.
39410         (shared-only-routines): Add libc-aeabi_read_tp here.
39411         (CFLAGS-libc-start.c): Add -fexceptions here.
39412         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39413         (sysdep_routines, static-only-routines, shared-only-routines):
39414         Don't add to these here.
39415         (CFLAGS-libc-start.c): Likewise.
39417         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39418         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39419         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39420         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39421         * sysdeps/arm/Makefile [$(subdir) = rt]
39422         (librt-sysdep_routines, librt-shared-only-routines):
39423         Append rt-aeabi_unwind_cpp_pr1 here.
39424         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39425         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39426         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39427         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39428         Append nptl-aeabi_unwind_cpp_pr1 here.
39429         (tests): Filter out tst-cleanupx4 here.
39430         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39431         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39432         Don't do those here.
39434 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39436         * scripts/list-sources.sh: Do not handle ports specially.
39438 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39440         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39441         * sysdeps/arm/feupdateenv.c: Likewise.
39443         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39445 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39447         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39448         trailing whitespace removed.
39449         * scripts/config.guess: Update to version 2014-03-23.
39450         * scripts/config.sub: Update to version 2014-05-01
39451         * scripts/install-sh: Update to version 2013-12-25.23.
39452         * scripts/move-if-change: Update from gnulib.
39454 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39456         * debug/memmove_chk.c: Remove pagecopy.h include.
39458 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39460         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39461         identical to gnulib mktime.
39463 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39465         * configure.ac: Do not test for machine being rs6000.  Do not test
39466         for powerpc*-*soft.
39467         * configure: Regenerated.
39469         [BZ #11505]
39470         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39471         test.
39472         * configure: Regenerated.
39473         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39474         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39475         Remove configure test.
39476         * sysdeps/arm/configure: Regenerated.
39477         * sysdeps/nptl/configure.ac: Do not check
39478         libc_cv_asm_cfi_directives.
39479         * sysdeps/nptl/configure: Regenerated.
39480         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39481         * sysdeps/x86_64/nptl/configure: Remove generated file.
39482         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39483         unconditional.
39484         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39486 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39488         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39489         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39490         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39491         it is defined.
39493         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39494         instead of whether it is defined.
39495         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39496         * sysdeps/hppa/dl-machine.h: Likewise.
39497         * sysdeps/ia64/dl-machine.h: Likewise.
39498         * sysdeps/m68k/dl-machine.h: Likewise.
39499         * sysdeps/microblaze/dl-machine.h: Likewise.
39500         * sysdeps/mips/dl-machine.: Likewise.
39501         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39502         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39503         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39504         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39505         * sysdeps/sh/dl-machine.h: Likewise.
39506         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39507         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39508         * sysdeps/tile/dl-machine.h: Likewise.
39509         * sysdeps/x86_64/dl-machine.h: Likewise.
39511         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39512         code.
39513         (verify_persistent_db): Likewise.
39515 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39518         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39520         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39522         Moved ...
39523         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39524         ... here.
39525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39526         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39528         Identical file removed.
39529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39530         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39532         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39534         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39536         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39538         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39540         Moved ...
39541         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39543         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39545         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39547         Moved ...
39548         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39550         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39552         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39554         Identical file removed.
39555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39556         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39558         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39560         Moved ...
39561         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39562         ... here.
39563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39564         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39566         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39568         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39570         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39572         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39574         Moved ...
39575         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39577         Moved ...
39578         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39580         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39582         Moved ...
39583         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39585         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39587         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39588         folded into ...
39589         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39590         * sysdeps/unix/sysv/linux/s390/Versions
39591         (libpthread: GLIBC_2.19): New version set.
39592         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39593         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39594         (librt: GLIBC_2.3.3): New version set.
39595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39596         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39597         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39598         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39599         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39600         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39601         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39602         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39603         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39604         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39605         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39606         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39607         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39608         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39609         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39610         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39611         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39612         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39613         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39614         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39615         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39617         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39619         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39621         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39623         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39625         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39626         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39627         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39629         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39631         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39633         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39635         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39637         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
39638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
39639         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
39641         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
39642         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
39643         (__libc_vfork): Define the function under this name.
39644         [!NOT_IN_libc] (__vfork): Make this an alias.
39645         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
39647         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
39648         (__libc_vfork): Define the function under this name.
39649         [!NOT_IN_libc] (__vfork): Make this an alias.
39650         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39651         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
39652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
39653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
39654         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
39655         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39657         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
39658         code that was previously under [RESET_PID].
39659         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
39660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
39661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
39663         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
39664         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
39665         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
39666         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
39667         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
39668         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
39669         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
39670         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
39671         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
39672         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
39673         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
39674         Moved ...
39675         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
39676         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39677         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
39678         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
39679         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
39680         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
39681         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
39682         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
39683         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
39684         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
39685         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
39687         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
39688         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
39689         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
39691         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
39692         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39693         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
39694         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
39695         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
39696         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
39697         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
39698         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
39699         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
39700         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
39701         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
39702         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
39703         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
39705 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39707         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
39708         that was previously under [RESET_PID].
39709         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
39711 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39713         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
39714         not undefine and redefine.
39715         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
39716         [O_CLOEXEC]: Make code unconditional.
39717         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
39718         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
39719         <kernel-features.h>.
39720         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
39721         conditional variable definition.
39722         (shm_open) [O_CLOEXEC]: Make code unconditional.
39723         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
39724         code.
39726         * configure.ac (USE_REGPARMS): Don't define here.
39727         * configure: Regenerated.
39728         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
39729         * sysdeps/i386/configure: Regenerated.
39731         * nptl/createthread.c: Don't include kernel-features.h.
39732         * nptl/pthread_cancel.c: Likewise.
39733         * nptl/pthread_condattr_setclock.c: Likewise.
39734         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
39735         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
39736         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
39737         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
39738         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
39739         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
39740         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
39742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39743         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
39744         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
39745         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
39746         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
39747         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
39748         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
39749         * nscd/gai.c: Likewise.
39750         * nss/nss_db/db-open.c: Likewise.
39751         * sysdeps/generic/ldsodefs.h: Likewise.
39752         * sysdeps/sh/nptl/tls.h: Likewise.
39753         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39754         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
39755         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
39756         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
39757         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
39758         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39759         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
39760         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39761         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39762         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
39763         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
39764         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39765         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
39766         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
39767         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
39768         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
39769         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
39770         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
39771         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
39772         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
39773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
39774         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
39775         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
39776         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
39777         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
39778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
39779         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
39780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
39781         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39782         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
39783         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
39784         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
39785         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
39786         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39787         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39788         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39789         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39790         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
39791         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
39792         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
39793         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39794         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
39795         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
39796         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39797         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
39798         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
39799         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
39800         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
39801         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
39802         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
39803         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
39804         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
39805         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
39806         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39807         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
39808         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39809         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39810         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
39811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
39813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
39814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
39815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
39816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
39817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
39818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
39819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
39822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
39823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
39824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
39825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
39831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
39832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
39833         * sysdeps/unix/sysv/linux/pread.c: Likewise.
39834         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
39835         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
39836         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
39837         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
39838         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
39839         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
39840         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
39841         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
39842         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
39843         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
39844         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
39845         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
39846         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
39847         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
39848         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
39849         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39850         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
39851         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
39852         * sysdeps/unix/sysv/linux/system.c: Likewise.
39853         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
39854         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
39855         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39856         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39857         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39858         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39859         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39861         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
39862         * configure: Regenerated.
39863         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
39865         * configure.ac (base_machine): Do not set specially for particular
39866         machines here.
39867         * configure: Regenerated.
39868         * sysdeps/powerpc/preconfigure: Move machine and base_machine
39869         settings from configure.ac.
39870         * sysdeps/i386/preconfigure: New file.
39871         * sysdeps/s390/preconfigure: Likewise.
39872         * sysdeps/sh/preconfigure: Likewise.
39873         * sysdeps/sparc/preconfigure: Likewise.
39875 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39877         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
39878         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
39879         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
39880         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
39881         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
39882         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
39883         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
39884         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
39885         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
39886         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
39887         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
39888         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
39889         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
39890         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
39891         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
39892         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
39893         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
39894         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
39895         * sysdeps/sparc/sparc64/Makefile: ... appended here.
39897         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
39898         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
39899         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
39900         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
39901         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
39902         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
39903         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
39904         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
39905         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
39906         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
39907         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
39908         * sysdeps/sparc/sparc32/sem_post.c: ... here.
39909         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
39910         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
39911         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
39912         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
39913         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
39914         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
39915         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
39916         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
39917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
39918         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
39919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
39920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
39921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
39922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
39923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
39924         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
39925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
39926         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
39927         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
39928         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
39929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
39930         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
39931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
39932         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
39933         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
39934         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
39936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
39937         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
39938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
39939         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
39940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39941         Moved ...
39942         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
39943         ... here.
39944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
39945         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
39946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
39947         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
39948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
39949         Moved ...
39950         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
39951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
39952         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
39953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
39954         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
39955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
39956         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
39957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39958         Moved ...
39959         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
39960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39961         Moved ...
39962         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
39963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
39964         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
39965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39966         Moved ...
39967         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
39968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
39969         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
39970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
39971         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
39972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
39973         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
39974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
39975         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
39976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39977         Moved ...
39978         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
39979         ... here.
39980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
39981         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
39982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
39983         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
39984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
39985         Moved ...
39986         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
39987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
39988         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
39989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
39990         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
39991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
39992         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
39993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39994         Moved ...
39995         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
39996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39997         Moved ...
39998         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
39999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40000         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40002         Moved ...
40003         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40005         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40007         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40009 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40011         * timezone/checktab.awk: Update from tzcode 2014e.
40012         * timezone/private.h: Likewise.
40013         * timezone/tzfile.h: Likewise.
40014         * timezone/zdump.c: Likewise.
40015         * timezone/zic.c: Likewise.
40017         * sysdeps/unix/sysv/linux/kernel-features.h
40018         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40019         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40020         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40021         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40022         Remove conditional code.
40024 2014-06-25  Will Newton  <will.newton@linaro.org>
40026         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40027         (_dl_arm_cap_flags): Add HWCAP2 values.
40028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40029         (_DL_HWCAP_COUNT): Increase to 37.
40030         (_DL_HWCAP_LAST): New define.
40031         (_DL_HWCAP2_LAST): New define.
40032         (_dl_procinfo): Add support for printing
40033         AT_HWCAP2 entries.
40034         (_dl_string_hwcap): Use _dl_hwcap_string.
40036 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40040 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40042         * README: Do not mention ports directory.
40044         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40045         Remove macro.
40046         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40047         <kernel-features.h>.
40048         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40049         conditional variable definition.
40050         (__futimes): Update comment.
40051         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40052         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40054         [BZ #16560]
40055         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40056         arguments close to 0.
40057         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40058         Likewise.
40059         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40060         Likewise.
40061         * math/auto-libm-test-in: Add more tests of exp10.
40062         * math/auto-libm-test-out: Regenerated.
40063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40065         * sysdeps/unix/sysv/linux/kernel-features.h
40066         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40067         * sysdeps/unix/sysv/linux/readv.c: Do not include
40068         <kernel-features.h>.
40069         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40070         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40071         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40072         unconditional.
40073         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40074         conditional code.
40075         * sysdeps/unix/sysv/linux/writev.c: Do not include
40076         <kernel-features.h>.
40077         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40078         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40079         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40080         unconditional.
40081         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40082         conditional code.
40084 2014-06-25  Will Newton  <will.newton@linaro.org>
40086         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40087         comment changes throughout the file.  Remove checks
40088         for HAVE_*_H definitions that are not required.
40089         (__gen_tempname): Call abort if an unknown kind value is
40090         passed.
40092 2014-06-25  Andreas Schwab  <schwab@suse.de>
40094         [BZ #17086]
40095         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40096         scalbln, scalblnf, scalblnl in libc.
40098 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40100         [BZ #17086]
40101         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40102         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40103         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40105 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40107         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40108         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40109         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40110         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40111         Update #include.
40112         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40113         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40114         Update #include.
40115         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40116         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40117         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40118         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40119         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40120         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40121         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40122         * sysdeps/x86/bits/semaphore.h: ... here.
40123         * sysdeps/x86/nptl/elide.h: Moved ...
40124         * sysdeps/x86/elide.h: ... here.
40125         * sysdeps/x86_64/nptl/Implies: File removed.
40126         * sysdeps/i386/nptl/Implies: File removed.
40128 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40130         [BZ #16539]
40131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40132         return the argument for normal arguments with exponent below -64.
40133         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40134         Likewise.
40135         * math/auto-libm-test-in: Add another test of expm1.
40136         * math/auto-libm-test-out: Regenerated.
40138         [BZ #16287]
40139         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40140         calling __erfcl for arguments at least 16.
40141         * math/auto-libm-test-in: Add more tests of erf.
40142         * math/auto-libm-test-out: Regenerated.
40144         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40145         individual architectures.
40146         * sysdeps/unix/sysv/linux/configure: Regenerated.
40147         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40148         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40149         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40150         (ldd_rewrite_script): Define variable.
40151         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40153         file.
40154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40155         generated file.
40156         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40157         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40158         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40159         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40160         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40161         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40162         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40163         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40165 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40167         [BZ #17084]
40168         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40169         Rename member __data.d to __data.__elision_data.
40171 2014-06-24  Wilco  <wdijkstr@arm.com>
40173         * NEWS: Add 16918 to fixed bug list.
40175 2014-06-24  Wilco  <wdijkstr@arm.com>
40177         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40179 2014-06-24  Wilco  <wdijkstr@arm.com>
40181         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40182         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40183         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40184         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40185         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40186         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40187         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40188         Use _FPU_MASK_RM.
40190 2014-06-24  Wilco  <wdijkstr@arm.com>
40192         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40194 2014-06-24  Wilco  <wdijkstr@arm.com>
40196         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40197         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40198         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40199         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40201 2014-06-24  Wilco  <wdijkstr@arm.com>
40203         [BZ #16918]
40204         * sysdeps/arm/feupdateenv.c (feupdateenv):
40205         Rewrite to reduce FPSCR accesses and fix return value.
40207 2014-06-24  Wilco  <wdijkstr@arm.com>
40209         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40210         Optimize to avoid unnecessary FPSCR writes.
40211         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40212         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40213         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40214         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40216 2014-06-24  Wilco  <wdijkstr@arm.com>
40218         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40219         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40220         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40221         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40222         Call libc_fetestexcept_vfp.
40223         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40224         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40225         __SOFTFP__ ifdef so that they can be built for softfp.
40227 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40229         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40230         argument type signed char.
40232         * Makerules (check-abi): Dump diff of symlist if the test
40233         fails.
40235 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40237         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40238         using abort.
40240         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40241         Remove unused variable ST.
40243 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40245         [BZ #16354]
40246         [BZ #17061]
40247         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40248         small arguments before calling __expm1.
40249         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40250         small arguments before calling __expm1f.
40251         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40252         small arguments before calling __expm1l.
40253         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40254         Likewise.
40255         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40256         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40257         spurious underflow for some cosh tests.
40258         * math/auto-libm-test-out: Regenerated.
40259         * sysdeps/i386/fpu/libm-test-ulps: Update.
40261         [BZ #17050]
40262         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40263         (__ieee754_y1): Set errno if return value overflows.
40264         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40265         (__ieee754_y1f): Set errno if return value overflows.
40266         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40267         (__ieee754_y1l): Set errno if return value overflows.
40268         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40269         (__ieee754_y1l): Set errno if return value overflows.
40270         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40271         * math/auto-libm-test-out: Regenerated.
40273         * math/gen-auto-libm-tests.c: Document use of
40274         ignore-zero-inf-sign.
40275         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40276         (input_flags): Add ignore-zero-inf-sign.
40277         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40278         * math/gen-libm-test.pl (generate_testfile): Handle
40279         ignore-zero-inf-sign.
40280         * math/auto-libm-test-in: Mark some cpow tests with
40281         ignore-zero-inf-sign and some with xfail-rounding.
40282         * math/auto-libm-test-out: Regenerated.
40283         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40284         * sysdeps/i386/fpu/libm-test-ulps: Update.
40285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40287         [BZ #16315]
40288         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40289         overflowing or underflowing operations take place with sign of
40290         result.
40291         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40292         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40293         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40294         (__ieee754_pow): Recompute overflowing and underflowing results in
40295         original rounding mode.
40296         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40297         (__powl_helper): Allow negative argument X and scale negated value
40298         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40299         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40300         overflowing or underflowing operations take place with sign of
40301         result.
40302         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40303         Include <math.h>.
40304         * math/auto-libm-test-in: Add more tests of pow.
40305         * math/auto-libm-test-out: Regenerated.
40306         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40307         (pow_tonearest_test_data): Remove.
40308         (pow_test_tonearest): Likewise.
40309         (pow_towardzero_test_data): Likewise.
40310         (pow_test_towardzero): Likewise.
40311         (pow_downward_test_data): Likewise.
40312         (pow_test_downward): Likewise.
40313         (pow_upward_test_data): Likewise.
40314         (pow_test_upward): Likewise.
40315         (main): Don't call removed functions.
40316         * sysdeps/i386/fpu/libm-test-ulps: Update.
40317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40319 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40322         Moved ...
40323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40325         Moved ...
40326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40328         Moved ...
40329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40331         Moved ...
40332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40334         File removed.
40335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40336         File removed.
40337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40338         File removed.
40339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40340         File removed.
40341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40342         File removed.
40343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40344         File removed.
40345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40346         File removed.
40347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40348         File removed.
40349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40350         File removed.
40351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40352         File removed.
40353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40354         File removed.
40355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40356         File removed.
40357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40358         Moved ...
40359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40361         Moved ...
40362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40363         ... here.
40364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40365         Moved ...
40366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40368         Moved ...
40369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40371         Moved ...
40372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40374         Moved ...
40375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40377         Moved ...
40378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40380         Moved ...
40381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40383         Moved ...
40384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40387         ... here.
40388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40389         Moved ...
40390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40392         Moved ...
40393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40394         ... here.
40395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40396         Moved ...
40397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40398         ... here.
40399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40400         Moved ...
40401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40402         ... here.
40403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40404         Moved ...
40405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40407         Moved ...
40408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40412         Moved ...
40413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40414         ... here.
40415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40416         Moved ...
40417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40418         ... here.
40419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40420         Moved ...
40421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40423         Moved ...
40424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40426         Moved ...
40427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40429         Moved ...
40430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40432         Moved ...
40433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40434         ... here.
40435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40436         Moved ...
40437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40439         Moved ...
40440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40442         Moved ...
40443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40445         Moved ...
40446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40450         Moved ...
40451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40453         Moved ...
40454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40456         Moved ...
40457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40458         ... here.
40459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40460         Moved ...
40461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40462         ... here.
40463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40464         Moved ...
40465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40466         ... here.
40467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40468         Moved ...
40469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40471         Moved ...
40472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40474         Moved ...
40475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40477         Moved ...
40478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40479         ... here.
40480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40481         Moved ...
40482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40483         ... here.
40484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40485         Moved ...
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40487         ... here.
40488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40489         Moved ...
40490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40492         Moved ...
40493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40495 2014-06-23  Will Newton  <will.newton@linaro.org>
40496             Wilco  <wdijkstr@arm.com>
40498         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40499         implementation.  Include get-rounding-mode.h.
40500         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40501         [!libc_feholdsetround_noex_ctx]: Define
40502         libc_feholdsetround_noex_ctx.
40503         [!libc_feholdsetround_noexf_ctx]: Define
40504         libc_feholdsetround_noexf_ctx.
40505         [!libc_feholdsetround_noexl_ctx]: Define
40506         libc_feholdsetround_noexl_ctx.
40507         (libc_feholdsetround_ctx): New function.
40508         (libc_feresetround_ctx): New function.
40509         (libc_feholdsetround_noex_ctx): New function.
40510         (libc_feresetround_noex_ctx): New function.
40512 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40514         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40515         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40516         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40517         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40518         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40519         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40521         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40522         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40523         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40524         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40525         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40526         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40528         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40530         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40532         Moved ...
40533         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40534         ... here.
40535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40536         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40538         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40540         Moved ...
40541         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40543         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40545         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40547         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40549         Moved ...
40550         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40551         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40552         Moved ...
40553         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40555         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40557         Moved ...
40558         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40560         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40561         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40562         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40563         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40564         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40566         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40568         Moved ...
40569         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40570         ... here.
40571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40572         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40574         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40576         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40578         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40580         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40582         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40584         Moved ...
40585         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40587         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40589         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40591         Moved ...
40592         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40593         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40594         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40595         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40596         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40598         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40599         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40600         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40601         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40602         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40603         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40604         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40605         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40607         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40608         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40609         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40610         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40611         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40612         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40613         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40614         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40615         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40616         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40617         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40618         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40619         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40620         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40621         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40622         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40623         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40624         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40625         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40627 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40630         (FALLOC_FL_COLLAPSE_RANGE): New macro.
40631         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40632         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40633         (IPV6_PMTUDISC_INTERFACE): Likewise.
40634         (IPV6_PMTUDISC_OMIT): Likewise.
40636 2014-06-23  Andreas Schwab  <schwab@suse.de>
40638         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
40639         Remove unused errout label.
40641 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40643         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
40644         macro: hardware supports Vector Crypto instructions.
40646 2014-06-23  Will Newton  <will.newton@linaro.org>
40648         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
40649         rather than __builtin_expect.
40651         * elf/dl-lookup.c (undefined_msg): Remove variable.
40652         (_dl_lookup_symbol_x): Replace undefined_msg with string
40653         literal.
40655         * elf/dl-lookup.c (do_lookup_unique): New function.
40656         (do_lookup_x): Move STB_GNU_UNIQUE handling code
40657         to a separate function.
40659 2014-06-23  Andreas Schwab  <schwab@suse.de>
40661         [BZ #17079]
40662         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
40663         before reading the next line.
40665 2014-06-23  Will Newton  <will.newton@linaro.org>
40667         * test-skeleton.c (signal_handler): Use printf and %m
40668         rather than perror.  Use printf rather than fprintf to
40669         stderr.  Use puts rather than fputs to stderr.
40670         (main): Likewise.
40672 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
40674         * nscd/nscd.c (thread_info_t): Remove typedef.
40675         (thread_info): Remove variable.
40677 2014-06-21  Allan McRae  <allan@archlinux.org>
40679         * NEWS: Mention CVE-2014-4043.
40681 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40683         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
40684         * nptl/smp.h: ... here.
40686         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40688         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
40689         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
40690         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
40691         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
40693         * nptl/allocatestack.c: Include <stack-aliasing.h>.
40694         * nptl/stack-aliasing.h: New file.
40695         * sysdeps/i386/i686/stack-aliasing.h: New file.
40696         * sysdeps/i386/i686/nptl/Makefile: File removed.
40697         * sysdeps/x86_64/stack-aliasing.h: New file.
40698         * sysdeps/x86_64/nptl/Makefile
40699         (CFLAGS-pthread_create.c): Variable removed.
40701         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
40702         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
40703         old file.
40704         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
40705         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
40706         old file.
40708 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
40710         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40711         (__ASSUME_SIGFRAME_V2): Remove macro.
40712         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
40713         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
40714         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
40715         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
40716         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
40717         Declare as function.  Remove conditional macro definitions.
40718         (__default_rt_sa_restorer): Likewise.
40719         (__default_sa_restorer_v1): Remove declaration.
40720         (__default_sa_restorer_v2): Likewise.
40721         (__default_rt_sa_restorer_v1): Likewise.
40722         (__default_rt_sa_restorer_v2): Likewise.
40723         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
40724         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40725         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
40727 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40729         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40730         (libpthread-routines): Add sysdep.
40731         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
40732         * sysdeps/unix/sysv/linux/sparc/Versions
40733         (libpthread: GLIBC_2.3.3): New version set.
40734         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
40735         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
40736         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
40737         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40738         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
40739         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
40740         Moved ...
40741         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
40742         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
40743         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
40744         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
40745         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
40746         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
40747         * sysdeps/sparc/nptl/sem_init.c: ... here.
40748         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
40749         * sysdeps/sparc/nptl/sem_post.c: ... here.
40750         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
40751         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
40752         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
40753         * sysdeps/sparc/nptl/sem_wait.c: ... here.
40754         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
40755         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
40756         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
40757         (libpthread-routines): Add cpu_relax.
40758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
40759         File removed.
40760         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
40761         (librt: GLIBC_2.3.3): New version set.
40762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
40763         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
40764         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
40765         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
40767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
40768         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
40769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
40770         Moved ...
40771         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
40772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
40773         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
40774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
40775         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
40776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
40777         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
40778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
40779         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
40780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
40781         Moved ...
40782         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
40783         Update #include.
40784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
40785         Moved ...
40786         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
40787         Update #include.
40788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
40789         Moved ...
40790         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
40791         Update #include.
40792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
40793         Moved ...
40794         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
40795         Update #include.
40796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
40797         Moved ...
40798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
40799         Update #include.
40800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
40801         Moved ...
40802         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
40803         Update #include.
40804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
40805         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
40806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
40807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
40808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
40809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
40810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
40811         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
40812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
40813         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
40814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40815         Moved ...
40816         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
40817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
40818         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
40819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
40820         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
40822 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40824         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
40825         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
40826         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40827         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
40828         * nscd/nscd.c: Likewise.
40829         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
40830         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
40831         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
40832         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
40834         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
40835         <kernel-features.h>.
40836         (init_mq_netlink): Remove conditional have_sock_cloexec
40837         definitions.  Remove code conditional on have_sock_cloexec < 0.
40838         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
40839         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
40840         * sysdeps/unix/sysv/linux/opensock.c: Do not include
40841         <kernel-features.h>.
40842         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
40843         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
40845 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
40847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40848         Add tests for memset_chk and memset.
40850         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
40851         with AVX2_Usable.
40853 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40855         [BZ #16046]
40856         * elf/tst-dl-iter-static.c: New file.
40857         * elf/Makefile (tests-static): Add tst-dl-iter-static.
40859         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
40860         error.
40862 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40864         * sysdeps/unix/sysv/linux/kernel-features.h
40865         (__ASSUME_F_GETOWN_EX): Remove macro.
40866         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
40867         <kernel-features.h>.
40868         (miss_F_GETOWN_EX): Remove variable or macro.
40869         (do_fcntl): Do not check miss_F_GETOWN_EX.
40870         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
40872         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
40873         Remove macro.
40874         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
40875         [!__ASSUME_AT_RANDOM]: Remove conditional code.
40876         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
40878         * sysdeps/unix/sysv/linux/kernel-features.h
40879         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
40880         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
40881         [ADJ_OFFSET_SS_READ]: Make code unconditional.
40882         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
40884 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40886         [BZ #17075]
40887         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
40888         Fix calculation of the symbol's value.
40889         * sysdeps/arm/tst-armtlsdescloc.c: New file.
40890         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
40891         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
40892         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
40893         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
40894         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
40895         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
40896         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
40897         (modules-names): Add `tst-armtlsdescmod',
40898         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
40899         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
40900         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40901         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
40902         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
40903         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
40904         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
40905         ($(objpfx)tst-armtlsdescloc): New dependency.
40906         ($(objpfx)tst-armtlsdescextnow): Likewise.
40907         ($(objpfx)tst-armtlsdescextlazy): Likewise.
40908         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
40909         TLS scheme support.
40910         * sysdeps/arm/configure: Regenerate.
40912 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40914         * include/fcntl.h (__atfct_seterrno): Remove prototype.
40915         (__atfct_seterrno_2): Likewise.
40916         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
40917         <kernel-features.h>.
40918         (__ASSUME_ATFCTS): Do not undefine and redefine.
40919         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
40920         (__have_atfcts): Remove conditional definition.
40921         (__fxstatat([__NR_fstatat64]: Make code unconditional.
40922         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
40923         unreachable if [__ASSUME_ATFCTS].
40924         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
40925         not undefine and redefine.
40926         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
40927         <kernel-features.h>.
40928         (faccessat) [__NR_faccessat]: Make code unconditional.
40929         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
40930         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
40931         <kernel-features.h>.
40932         (fchmodat) [__NR_fchmodat]: Make code unconditional.
40933         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
40934         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
40935         <kernel-features.h>.
40936         (fchownat) [__NR_fchownat]: Make code unconditional.
40937         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
40938         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
40939         <kernel-features.h>.
40940         (futimesat) [__NR_futimesat]: Make code unconditional.
40941         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
40942         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40943         <kernel-features.h>.
40944         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
40945         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40946         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40947         <kernel-features.h>.
40948         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
40949         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40950         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
40951         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40952         <kernel-features.h>.
40953         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
40954         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
40955         * sysdeps/unix/sysv/linux/linkat.c: Do not include
40956         <kernel-features.h>.
40957         (linkat) [__NR_linkat]: Make code unconditional.
40958         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40959         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
40960         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
40961         <kernel-features.h>.
40962         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
40963         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
40964         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
40965         <kernel-features.h>.
40966         (mkdirat) [__NR_mkdirat]: Make code unconditional.
40967         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
40968         * sysdeps/unix/sysv/linux/openat.c: Do not include
40969         <kernel-features.h>.
40970         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
40971         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
40972         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
40973         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
40974         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
40975         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
40976         <kernel-features.h>.
40977         (readlinkat) [__NR_readlinkat]: Make code unconditional.
40978         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
40979         result of INLINE_SYSCALL directly, not via int variable.
40980         * sysdeps/unix/sysv/linux/renameat.c: Do not include
40981         <kernel-features.h>.
40982         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
40983         (renameat) [__NR_renameat]: Make code unconditional.
40984         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
40985         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
40986         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
40987         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
40988         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
40989         (__ASSUME_ATFCTS): Do not undefine and redefine.
40990         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
40991         <kernel-features.h>.
40992         (symlinkat) [__NR_symlinkat]: Make code unconditional.
40993         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40994         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
40995         <kernel-features.h>.
40996         (unlinkat) [__NR_unlinkat]: Make code unconditional.
40997         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
40998         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
40999         (__ASSUME_ATFCTS): Do not undefine and redefine.
41000         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41001         <kernel-features.h>.
41002         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41003         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41004         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41005         <kernel-features.h>.
41006         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41007         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41009 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41011         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41013 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41015         [BZ #17069]
41016         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41017         constructed tree before returning error.
41018         * posix/bug-regexp36.c: Expand test case.
41020 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41022         [BZ #6803]
41023         * math/libm-test.inc (scalbln_test_date):
41024         Add errno expectations.
41025         * math/w_scalblnf.c: New File.
41026         Add wrapper which checks for setting errno to ERANGE.
41027         Add weak_alias for corresponding scalbln function.
41028         * math/w_scalbln.c: Likewise.
41029         * math/w_scalblnl.c: Likewise.
41030         * math/Makefile (libm-calls): Add w_scalbln.
41031         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41032         Remove weak_alias for corresponding scalbln function.
41033         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41035         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41037         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41038         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41039         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41040         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41041         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41042         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41043         Remove long_double_symbol for scalblnl function in libm, libc.
41044         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41045         Add wrapper which checks for setting errno to ERANGE.
41046         Add long_double_symbol for scalblnl function in libm, libc.
41047         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41048         Remove long_double_symbol for scalblnl in libm.
41049         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41050         Add wrapper which checks for setting errno to ERANGE.
41051         Add long_double_symbol for scalblnl function in libm.
41052         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41053         Do not use wrapper because of own implementation.
41055 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41057         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41058         3 bytes for __pad1 for x32.
41059         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41061 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41062             H.J. Lu  <hongjiu.lu@intel.com>
41064         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41065         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41066         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41067         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41068         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41070 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41072         [BZ #17069]
41073         * posix/regcomp.c (parse_expression): Deallocate partially
41074         constructed tree before returning error.
41075         * posix/Makefile.c (tests): Add bug-regex36.
41076         (generated): Add bug-regex36.mtrace.
41077         (tests-special): Add $(objpfx)bug-regex36-mem.out
41078         (bug-regex36-ENV): New variable.
41079         ($(objpfx)bug-regex36-mem.out): New rule.
41080         * posix/bug-regex36.c: New file.
41082 2014-06-19  Will Newton  <will.newton@linaro.org>
41084         * malloc/malloc.c (systrim): If extra is zero then return
41085         early.
41087 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41089         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41091 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41093         * sysdeps/aarch64/strchr.S: New file.
41095 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41097         [BZ #17022]
41098         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41099         from arguments -2 or below.
41100         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41101         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41103 2014-06-18  Andreas Schwab  <schwab@suse.de>
41105         [BZ #17062]
41106         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41107         of a bracket expr not to run off the end of the string.
41108         * posix/Makefile (tests): Add tst-fnmatch3.
41109         * posix/tst-fnmatch3.c: New file.
41111 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41113         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41114         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41115         [$(cross-compiling) = no]: Likewise.
41116         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41117         [$(cross-compiling) = no]: Likewise.
41119 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41121         [BZ #17031]
41122         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41123         double, adjusted for any remainder from the high double.
41124         * math/libm-test.inc (nearbyint): Add tests.
41125         (rint): Likewise.
41127 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41129         * nptl/sysdeps/powerpc/Makefile: Moved ...
41130         * sysdeps/powerpc/nptl/Makefile: ... here.
41131         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41132         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41133         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41134         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41135         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41136         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41137         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41138         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41139         * nptl/sysdeps/powerpc/tls.h: Moved ...
41140         * sysdeps/powerpc/nptl/tls.h: ... here.
41142 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41144         [BZ #16681]
41145         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41146         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41147         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41148         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41149         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41150         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41151         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41152         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41153         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41155 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41157         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41159 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41161         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41162         defined operator.
41164         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41165         $TIMEOUTFACTOR.
41167 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41169         [BZ #17058]
41170         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41171         non-executed part of the test.
41173 2014-06-16  Andreas Schwab  <schwab@suse.de>
41175         * string/bits/string2.h (strdup, strndup): Update feature guard.
41177 2014-06-14  David S. Miller  <davem@davemloft.net>
41179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41181 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41183         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41184         that was previously under [RESET_PID].
41185         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41187         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41188         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41189         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41191         (__libc_vfork): New strong alias.
41192         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41194 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41196         * sysdeps/generic/elide.h: New file.
41198 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41200         * Makefile (installed-headers): Adjust path of pthread.h header.
41202 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41204         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41205         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41206         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41207         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41209         * nptl/sysdeps/s390/Makefile: Moved ...
41210         * sysdeps/s390/nptl/Makefile: ... here.
41211         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41212         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41213         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41214         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41215         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41216         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41217         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41218         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41219         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41220         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41221         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41222         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41223         * nptl/sysdeps/s390/tls.h: Moved ...
41224         * sysdeps/s390/nptl/tls.h: ... here.
41226         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41227         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41229 2014-06-13  David S. Miller  <davem@davemloft.net>
41231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41234         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41238         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41239         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41240         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41241         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41242         Remove RESET_PID cpp guards.
41243         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41244         Remove RESET_PID cpp guards.
41245         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41247 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41249         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41250         __sp to uintptr_t.
41252 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41256         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41258         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41261         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41262         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41267         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41272         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41275         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41276         (pthread_rwlock_rdlock): Add elision.
41277         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41278         (pthread_rwlock_wrlock): Add elision.
41279         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41280         (pthread_rwlock_trywrlock): Add elision.
41281         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41282         (pthread_rwlock_tryrdlock): Add elision.
41283         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41284         (pthread_rwlock_tryrdlock): Add elision unlock.
41285         * nptl/sysdeps/pthread/pthread.h:
41286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41287         (PTHREAD_RWLOCK_INITIALIZER,
41288         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41289         Handle new elision field.
41290         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41291         * sysdeps/arm/nptl/bits/pthreadtypes.h
41292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41293         * sysdeps/sh/nptl/bits/pthreadtypes.h
41294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41295         * sysdeps/tile/nptl/bits/pthreadtypes.h
41296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41297         * sysdeps/a/nptl/bits/pthreadtypes.h
41298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41299         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41301         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41303         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41305         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41309         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41311         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41313         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41315         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41316         (elision_init): Set try_xbegin to zero when no RTM.
41317         * sysdeps/x86/nptl/bits/pthreadtypes.h
41318         (pthread_rwlock_t): Change __pad1 to __rwelision.
41319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41321 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41323         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41324         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41325         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41326         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41328 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41330         [BZ #16996]
41331         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41332         that the cached result has been set before returning it.
41334 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41336         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41337         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41338         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41339         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41340         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41341         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41343         * nptl/sysdeps/sparc/Makefile: Moved ...
41344         * sysdeps/sparc/nptl/Makefile: ... here.
41345         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41346         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41347         * nptl/sysdeps/sparc/tls.h: Moved ...
41348         * sysdeps/sparc/nptl/tls.h: ... here.
41349         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41350         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41351         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41352         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41353         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41354         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41355         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41356         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41357         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41358         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41359         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41360         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41361         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41362         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41363         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41364         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41365         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41366         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41367         Update #include.
41368         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41369         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41370         Update #include.
41371         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41372         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41373         Update #include.
41374         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41375         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41376         Update #include.
41378         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41380         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41381         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41383         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41384         (struct list_links): Type removed.
41385         (struct thread_node, struct timer_node): Replace struct list_links
41386         with struct list_head.
41387         (list_unlink_ip): Likewise.
41388         * sysdeps/pthread/timer_routines.c
41389         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41390         (list_append, list_insbefore): Likewise.
41391         (list_init): Function removed.
41392         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41393         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41394         * sysdeps/pthread/Makefile: ... here, new file.
41396         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41397         * sysdeps/nptl/Implies: ... here.
41398         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41399         * nptl/sysdeps/pthread/list.h: Moved ...
41400         * include/list.h: ... here.
41401         * nptl/sysdeps/pthread/createthread.c: Moved ...
41402         * nptl/createthread.c: ... here.
41403         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41404         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41405         * nptl/pt-longjmp.c: ... here.
41406         * nptl/sysdeps/pthread/Makefile: Moved ...
41407         * sysdeps/nptl/Makefile: ... here.
41408         * nptl/sysdeps/pthread/Subdirs: Moved ...
41409         * sysdeps/nptl/Subdirs: ... here.
41410         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41411         * sysdeps/nptl/aio_misc.h: ... here.
41412         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41413         * sysdeps/nptl/bits/libc-lock.h: ... here.
41414         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41415         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41416         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41417         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41418         * nptl/sysdeps/pthread/configure: Moved ...
41419         * sysdeps/nptl/configure: ... here.
41420         * nptl/sysdeps/pthread/configure.ac: Moved ...
41421         * sysdeps/nptl/configure.ac: ... here.
41422         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41423         * sysdeps/nptl/gai_misc.h: ... here.
41424         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41425         * sysdeps/nptl/librt-cancellation.c: ... here.
41426         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41427         * sysdeps/nptl/malloc-machine.h: ... here.
41428         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41429         * sysdeps/nptl/pthread-functions.h: ... here.
41430         * nptl/sysdeps/pthread/pthread.h: Moved ...
41431         * sysdeps/nptl/pthread.h: ... here.
41432         * nptl/sysdeps/pthread/setxid.h: Moved ...
41433         * sysdeps/nptl/setxid.h: ... here.
41434         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41435         * sysdeps/nptl/sigfillset.c: ... here.
41436         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41437         * sysdeps/nptl/tcb-offsets.h: ... here.
41438         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41439         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41440         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41441         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41442         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41443         * sysdeps/pthread/allocalim.h: ... here.
41444         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41445         * sysdeps/pthread/bits/sigthread.h: ... here.
41446         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41447         * sysdeps/pthread/flockfile.c: ... here.
41448         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41449         * sysdeps/pthread/ftrylockfile.c: ... here.
41450         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41451         * sysdeps/pthread/funlockfile.c: ... here.
41452         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41453         * sysdeps/pthread/posix-timer.h: ... here.
41454         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41455         * sysdeps/pthread/timer_create.c: ... here.
41456         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41457         * sysdeps/pthread/timer_delete.c: ... here.
41458         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41459         * sysdeps/pthread/timer_getoverr.c: ... here.
41460         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41461         * sysdeps/pthread/timer_gettime.c: ... here.
41462         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41463         * sysdeps/pthread/timer_routines.c: ... here.
41464         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41465         * sysdeps/pthread/timer_settime.c: ... here.
41466         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41467         * sysdeps/pthread/tst-timer.c: ... here.
41468         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41469         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41471         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41472         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41474         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41475         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41476         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41477         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41478         Update #include target.
41479         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41480         * sysdeps/i386/i686/nptl/Makefile: ... here.
41481         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41482         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41483         Update #include target.
41484         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41485         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41486         * nptl/sysdeps/i386/Makefile: Moved ...
41487         * sysdeps/i386/nptl/Makefile: ... here.
41488         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41489         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41490         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41491         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41492         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41493         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41494         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41495         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41496         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41497         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41498         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41499         * nptl/sysdeps/i386/tls.h: Moved ...
41500         * sysdeps/i386/nptl/tls.h: ... here.
41502         * sysdeps/sh/Makefile [$(subdir) = csu]
41503         (gen-as-const-headers): Add tcb-offsets.sym.
41504         * nptl/sysdeps/sh/Makefile: File removed.
41505         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41506         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41507         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41508         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41509         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41510         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41511         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41512         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41513         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41514         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41515         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41516         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41517         * nptl/sysdeps/sh/tls.h: Moved ...
41518         * sysdeps/sh/nptl/tls.h: ... here.
41519         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41520         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41521         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41522         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41523         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41524         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41525         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41526         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41527         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41528         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41530         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41532         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41534         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41536         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41538         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41540         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41542         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41544         Moved ...
41545         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41546         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41547         Moved ...
41548         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41549         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41551         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41552         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41553         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41554         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41555         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41556         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41557         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41558         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41559         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41560         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41561         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41562         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41563         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41564         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41565         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41566         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41568 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41570         * posix/spawn_faction_addopen.c: Include string.h.
41572 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41574         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41575         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41576         * nptl/sysdeps/x86_64/Makefile: Moved ...
41577         * sysdeps/x86_64/nptl/Makefile: ... here.
41578         * nptl/sysdeps/x86_64/configure: Moved ...
41579         * sysdeps/x86_64/nptl/configure: ... here.
41580         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41581         * sysdeps/x86_64/nptl/configure.ac: ... here.
41582         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41583         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41584         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41585         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41586         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41587         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41588         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41589         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41590         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41591         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41592         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41593         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41594         * nptl/sysdeps/x86_64/tls.h: Moved ...
41595         * sysdeps/x86_64/nptl/tls.h: ... here.
41596         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41597         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41598         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41599         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41601         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41603 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41607 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41609         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41610         type.
41611         [POSIX] (off_t): Likewise.
41612         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41613         [POSIX] (S_ISBLK): Require macro.
41614         [POSIX] (S_ISCHR): Likewise.
41615         [POSIX] (S_ISDIR): Likewise.
41616         [POSIX] (S_ISFIFO): Likewise.
41617         [POSIX] (S_ISREG): Likewise.
41618         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41619         optional-macro.
41620         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41621         type.
41622         [POSIX] (time_t): Likewise.
41623         [POSIX] (timer_t): Likewise.
41625 2014-06-11  Florian Weimer  <fweimer@redhat.com>
41627         [BZ #17048]
41628         * posix/spawn_int.h (struct __spawn_action): Make the path string
41629         non-const to support deallocation.
41630         * posix/spawn_faction_addopen.c
41631         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41632         * posix/spawn_faction_destroy.c
41633         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
41634         path in all spawn_do_open actions.
41635         * posix/tst-spawn.c (do_test): Exercise the copy operation in
41636         posix_spawn_file_actions_addopen.
41638 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
41640         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
41641         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
41642         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
41643         conditional code always true.
41644         (__libc_vfork): New alias.
41646 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41648         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41649         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
41651         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
41653         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41654         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
41656         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41657         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
41659         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41660         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
41662 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41664         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41665         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
41666         multiarch strcmp for PPC64.
41667         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
41668         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
41669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
41670         multiarch optimizations.
41671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41672         (__libc_ifunc_impl_list): Likewise.
41674 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41676         * benchtests/scripts/validate_benchout.py: New script.
41677         * benchtests/Makefile (bench-func): Call it.
41678         * benchtests/scripts/benchout.schema.json: New file.
41680 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
41682         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
41683         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
41684         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
41685         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41686         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
41687         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
41688         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
41689         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
41690         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41691         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
41692         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
41693         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
41694         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
41695         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
41696         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
41697         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
41698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
41699         Moved ...
41700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
41701         ... here.
41702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
41703         Moved ...
41704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
41705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
41706         Moved ...
41707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
41708         ... here.
41709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
41710         Moved ...
41711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
41712         ... here.
41713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41714         Moved ...
41715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
41716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
41717         Moved ...
41718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
41719         ... here.
41720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
41721         Moved ...
41722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
41723         ... here.
41724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
41725         Moved ...
41726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
41727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
41728         Moved ...
41729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
41730         ... here.
41731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
41732         Moved ...
41733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
41734         ... here.
41735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
41736         Moved ...
41737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
41738         ... here.
41739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
41740         Moved ...
41741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
41742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
41743         Moved ...
41744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
41745         ... here.
41746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
41747         Moved ...
41748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
41749         ... here.
41750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
41751         Moved ...
41752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
41753         ... here.
41754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
41755         Moved ...
41756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
41757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
41758         Moved ...
41759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
41760         ... here.
41761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
41762         Moved ...
41763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
41764         ... here.
41765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
41766         Moved ...
41767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
41768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
41769         Moved ...
41770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
41771         ... here.
41772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
41773         Moved ...
41774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
41775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
41776         Moved ...
41777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
41778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
41779         Moved ...
41780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
41781         ... here.
41782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
41783         Moved ...
41784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
41785         ... here.
41786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
41787         Moved ...
41788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
41789         ... here.
41790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
41791         Moved ...
41792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
41793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
41794         Moved ...
41795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
41796         ... here.
41797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
41798         Moved ...
41799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
41800         ... here.
41801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
41802         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
41803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
41804         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
41805         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
41806         Moved ...
41807         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
41808         ... here.
41809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
41810         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
41811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
41812         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
41813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
41814         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
41815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
41816         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
41817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
41818         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
41819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
41820         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
41821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
41822         Moved ...
41823         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
41824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
41825         Moved ...
41826         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
41827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
41828         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
41829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
41830         Moved ...
41831         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
41832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
41833         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
41834         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
41835         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
41836         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
41837         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
41839 2014-06-10  Wilco  <wdijkstr@arm.com>
41841         * math/test-fenv-return.c: New file.
41842         * math/Makefile: Add new test test-fenv-return.
41844 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
41846         [BZ #17042]
41847         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
41848         when x - 1 is zero.
41849         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
41850         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
41851         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
41852         0.0L for an argument of 1.0L.
41853         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
41854         Likewise.
41855         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
41856         value when x - 1 is zero.
41857         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
41858         * sysdeps/i386/fpu/libm-test-ulps: Update.
41859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41861 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
41863         [BZ #15119]
41864         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
41866 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41868         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
41869         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
41871 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41873         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41874         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
41876         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41877         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
41879         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41880         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
41882         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41883         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
41885         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
41886         if not already defined.
41887         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
41888         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
41889         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
41890         (TLS_INIT_TP): Use it.
41891         (TLS_DEFINE_INIT_TP): New macro.
41892         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
41894 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
41896         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
41897         constant.
41898         [POSIX] (IXANY): Likewise.
41899         [POSIX] (OLCUC): Likewise.
41900         [POSIX || POSIX2008] (CBAUD): Do not allow.
41901         [POSIX || POSIX2008] (DEFECHO): Likewise.
41902         [POSIX || POSIX2008] (ECHOCTL): Likewise.
41903         [POSIX || POSIX2008] (ECHOKE): Likewise.
41904         [POSIX || POSIX2008] (ECHOPRT): Likewise.
41905         [POSIX || POSIX2008] (EXTA): Likewise.
41906         [POSIX || POSIX2008] (EXTB): Likewise.
41907         [POSIX || POSIX2008] (FLUSHO): Likewise.
41908         [POSIX || POSIX2008] (LOBLK): Likewise.
41909         [POSIX || POSIX2008] (PENDIN): Likewise.
41910         [POSIX || POSIX2008] (SWTCH): Likewise.
41911         [POSIX || POSIX2008] (VDISCARD): Likewise.
41912         [POSIX || POSIX2008] (VDSUSP): Likewise.
41913         [POSIX || POSIX2008] (VLNEXT): Likewise.
41914         [POSIX || POSIX2008] (VREPRINT): Likewise.
41915         [POSIX || POSIX2008] (VSTATUS): Likewise.
41916         [POSIX || POSIX2008] (VWERASE): Likewise.
41917         (B*): Change to B[0123456789]*.
41918         * conform/data/time.h-data [POSIX || UNIX98]
41919         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
41920         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41921         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
41922         [POSIX] (tm_*): Do not allow.
41924 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
41926         * Makefile (install): Don't set LANGUAGE.
41927         * Makefile.in (install): Likewise.
41928         * assert/Makefile (test-assert-ENV): Remove variable.
41929         (test-assert-perr-ENV): Likewise.
41930         * elf/Makefile (neededtest4-ENV): Likewise.
41931         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41932         [$(cross-compiling) = no]: Don't set LANGUAGE.
41933         * io/ftwtest-sh (LANG): Remove variable.
41934         * libio/Makefile (tst-widetext-ENV): Likewise.
41935         * manual/install.texi (Running make install): Don't refer to
41936         environment settings for make install.
41937         * INSTALL: Regenerated.
41938         * nptl/tst-tls6.sh: Don't set LANG.
41939         * posix/globtest.sh (LANG): Remove variable.
41940         * string/Makefile (tester-ENV): Likewise.
41941         (inl-tester-ENV): Likewise.
41942         (noinl-tester-ENV): Likewise.
41943         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41944         [$(cross-compiling) = no]: Don't set LANGUAGE.
41945         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
41946         without explicit environment settings.
41948 2014-06-06  Roland McGrath  <roland@hack.frob.com>
41950         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
41951         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
41952         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
41953         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
41955 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
41957         * crypt/crypt-private.h [DOS]: Add some includes taken from the
41958         other files in the crypt directory.
41959         * crypt/crypt.c: Remove duplicate includes.
41960         * crypt/crypt-entry.c: Likewise.
41961         * crypt/crypt_util.c: Likewise.
41963 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
41965         * Makeconfig (run-program-env): New variable.
41966         (run-program-prefix-before-env): Likewise.
41967         (run-program-prefix-after-env): Likewise.
41968         (run-program-prefix): Define in terms of new variables.
41969         (built-program-cmd-before-env): New variable.
41970         (built-program-cmd-after-env): Likewise.
41971         (built-program-cmd): Define in terms of new variables.
41972         (test-program-prefix-before-env): New variable.
41973         (test-program-prefix-after-env): Likewise.
41974         (test-program-prefix): Define in terms of new variables.
41975         (test-program-cmd-before-env): New variable.
41976         (test-program-cmd-after-env): Likewise.
41977         (test-program-cmd): Define in terms of new variables.
41978         * Rules (make-test-out): Use $(run-program-env).
41979         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
41980         (help): Do not mention environment variables.  Mention
41981         --timeoutfactor option.
41982         (timeoutfactor): New variable.
41983         (blacklist_exports): Remove function.
41984         (exports): Remove variable.
41985         (command): Do not include ${exports}.
41986         * manual/install.texi (Configuring and compiling): Do not mention
41987         test wrappers preserving environment variables.  Mention that last
41988         assignment to a variable must take precedence.
41989         * INSTALL: Regenerated.
41990         * benchtests/Makefile (run-bench): Use $(run-program-env).
41991         * catgets/Makefile ($(objpfx)test1.cat): Use
41992         $(built-program-cmd-before-env), $(run-program-env) and
41993         $(built-program-cmd-after-env).
41994         ($(objpfx)test2.cat): Do not specify environment variables
41995         explicitly.
41996         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
41997         $(run-program-env) and $(built-program-cmd-after-env).
41998         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
41999         $(run-program-env) and $(test-program-cmd-after-env).
42000         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42001         explicitly.
42002         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42003         run_program_env and test_program_cmd_after_env arguments.
42004         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42005         * elf/tst-pathopt.sh: Use run_program_env argument.
42006         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42007         $(test-wrapper-env) and $(run-program-env).
42008         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42009         run_program_env arguments.
42010         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42011         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42012         $(test-program-prefix-before-env), $(run-program-env) and
42013         $(test-program-prefix-after-env).
42014         ($(objpfx)tst-gettext2.out): Likewise.
42015         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42016         run_program_env and test_program_prefix_after_env arguments.
42017         * intl/tst-gettext2.sh: Likewise.
42018         * intl/tst-gettext4.sh: Do not set environment variables
42019         explicitly.
42020         * intl/tst-gettext6.sh: Likewise.
42021         * intl/tst-translit.sh: Likewise.
42022         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42023         $(test-program-prefix-before-env), $(run-program-env) and
42024         $(test-program-prefix-after-env).
42025         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42026         run_program_env and test_program_prefix_after_env arguments.
42027         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42028         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42029         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42030         explicitly with each use of ${test_wrapper_env}.
42031         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42032         $(test-program-prefix-before-env), $(run-program-env) and
42033         $(test-program-prefix-after-env).
42034         * posix/tst-getconf.sh: Do not set environment variables
42035         explicitly.
42036         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42037         run_program_env and test_program_prefix_after_env arguments.
42038         * stdio-common/tst-printf.sh: Do not set environment variables
42039         explicitly.
42040         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42041         $(test-program-prefix-before-env), $(run-program-env) and
42042         $(test-program-prefix-after-env).
42043         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42044         run_program_env and test_program_prefix_after_env arguments.
42045         Split $test calls into $test_pre and $test.
42046         * timezone/Makefile (build-testdata): Use
42047         $(built-program-cmd-before-env), $(run-program-env) and
42048         $(built-program-cmd-after-env).
42050 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42052         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42053         strlen for non SHARED builds.
42055 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42057         * nptl/allocatestack.c (check_list): Inlined function...
42058         (__reclaim_stacks): ... here.
42060 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42062         [BZ #15698]
42063         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42064         memory overrun.
42066 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42068         * Rules (make-test-out): Include
42069         LOCPATH=$(common-objpfx)localedata in default environment.
42070         * debug/Makefile (tst-chk1-ENV): Remove variable.
42071         (tst-chk2-ENV): Likewise.
42072         (tst-chk3-ENV): Likewise.
42073         (tst-chk4-ENV): Likewise.
42074         (tst-chk5-ENV): Likewise.
42075         (tst-chk6-ENV): Likewise.
42076         (tst-lfschk1-ENV): Likewise.
42077         (tst-lfschk2-ENV): Likewise.
42078         (tst-lfschk3-ENV): Likewise.
42079         (tst-lfschk4-ENV): Likewise.
42080         (tst-lfschk5-ENV): Likewise.
42081         (tst-lfschk6-ENV): Likewise.
42082         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42083         (tst-iconv7-ENV): Likewise.
42084         * intl/Makefile (LOCPATH-ENV): Likewise.
42085         (tst-codeset-ENV): Likewise.
42086         (tst-gettext3-ENV): Likewise.
42087         (tst-gettext5-ENV): Likewise.
42088         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42089         (tst-fopenloc-ENV): Likewise.
42090         (tst-fgetws-ENV): Remove variable.
42091         (tst-ungetwc1-ENV): Likewise.
42092         (tst-ungetwc2-ENV): Likewise.
42093         (bug-ungetwc2-ENV): Likewise.
42094         (tst-swscanf-ENV): Likewise.
42095         (bug-ftell-ENV): Likewise.
42096         (tst-fgetwc-ENV): Likewise.
42097         (tst-fseek-ENV): Likewise.
42098         (tst-ftell-partial-wide-ENV): Likewise.
42099         (tst-ftell-active-handler-ENV): Likewise.
42100         (tst-ftell-append-ENV): Likewise.
42101         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42102         (tst-regexloc-ENV): Likewise.
42103         (bug-regex1-ENV): Likewise.
42104         (tst-regex-ENV): Likewise.
42105         (tst-regex2-ENV): Likewise.
42106         (bug-regex5-ENV): Likewise.
42107         (bug-regex6-ENV): Likewise.
42108         (bug-regex17-ENV): Likewise.
42109         (bug-regex18-ENV): Likewise.
42110         (bug-regex19-ENV): Likewise.
42111         (bug-regex20-ENV): Likewise.
42112         (bug-regex22-ENV): Likewise.
42113         (bug-regex23-ENV): Likewise.
42114         (bug-regex25-ENV): Likewise.
42115         (bug-regex26-ENV): Likewise.
42116         (bug-regex30-ENV): Likewise.
42117         (bug-regex32-ENV): Likewise.
42118         (bug-regex33-ENV): Likewise.
42119         (bug-regex34-ENV): Likewise.
42120         (bug-regex35-ENV): Likewise.
42121         (tst-rxspencer-ENV): Likewise.
42122         (tst-rxspencer-no-utf8-ENV): Likewise.
42123         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42124         (tst-sscanf-ENV): Likewise.
42125         (tst-swprintf-ENV): Likewise.
42126         (tst-swscanf-ENV): Likewise.
42127         (test-vfprintf-ENV): Likewise.
42128         (scanf13-ENV): Likewise.
42129         (bug14-ENV): Likewise.
42130         (tst-grouping-ENV): Likewise.
42131         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42132         (tst-strtod3-ENV): Likewise.
42133         (tst-strtod4-ENV): Likewise.
42134         (tst-strtod5-ENV): Likewise.
42135         (testmb2-ENV): Likewise./
42136         * string/Makefile (tst-strxfrm-ENV): Likewise.
42137         (tst-strxfrm2-ENV): Likewise.
42138         (bug-strcoll1-ENV): Likewise.
42139         (test-strcasecmp-ENV): Likewise.
42140         (test-strncasecmp-ENV): Likewise.
42141         * time/Makefile (tst-strptime-ENV): Likewise.
42142         (tst-ftime_l-ENV): Likewise.
42143         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42144         (tst-mbrtowc-ENV): Likewise.
42145         (tst-wcrtomb-ENV): Likewise.
42146         (tst-mbrtowc2-ENV): Likewise.
42147         (tst-c16c32-1-ENV): Likewise.
42148         (tst-mbsnrtowcs-ENV): Likewise.
42150 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42152         * manual/resource.texi (How to get information about the memory
42153         subsystem?): Fix typo.
42154         Reported by Peon de la Parra Ivan <peon@keba.com>
42156 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42158         [BZ #16882]
42159         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42160         (pthread_spin_lock): Branch out of spin loop to proper location.
42161         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42162         (pthread_spin_lock): Likewise.
42164         * nptl/tst-spin4.c: New test.
42165         * nptl/Makefile (tests): Add tst-spin4.
42167 2014-06-03  Andreas Schwab  <schwab@suse.de>
42169         [BZ #15946]
42170         * resolv/res_send.c (send_dg): Reload file descriptor after
42171         calling reopen.
42173 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42175         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42177 2014-06-03  Richard Henderson  <rth@redhat.com>
42179         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42180         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42181         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42182         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42183         in the SAVE_PID block.
42184         (__libc_vfork): New alias.
42185         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42187         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42188         child in registers, not on the stack.  Remove RESET_PID conditionals.
42189         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42191 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42193         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42195 2014-06-03  Wilco  <wdijkstr@arm.com>
42197         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42198         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42199         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42200         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42201         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42202         Likewise.
42204 2014-06-03  Wilco  <wdijkstr@arm.com>
42206         * sysdeps/aarch64/fpu/math_private.h
42207         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42208         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42209         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42210         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42211         Fix declarations.
42213 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42215         * crypt/crypt-private.h: Include ufc-crypt.h.
42216         (__b64_from_24bit): Declare extern.
42217         * crypt/crypt_util.c(__b64_from_24bit): New function.
42218         (b64t): New static const variable.
42219         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42220         (b64t): Remove variable.
42221         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42222         * crypt/sha256-crypt.c: Include crypt-private.h.
42223         (b64t): Remove variable.
42224         (__sha256_crypt_r): Remove b64_from_24bit and replace
42225         with __b64_from_24bit.
42226         * crypt/sha512-crypt.c: Likewise.
42228 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42230         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42231         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42232         Label the code __libc_vfork rather than __vfork.
42233         [!NOT_IN_libc] (vfork): Define as weak alias.
42234         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42235         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42236         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42238 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42240         * malloc/malloc.c (malloc_info): Fix format specifier for
42241         n_mmaps.
42243 2014-06-02  Wilco  <wdijkstr@arm.com>
42245         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42246         FPCR write.
42248 2014-06-02  Wilco  <wdijkstr@arm.com>
42250         [BZ #17009]
42251         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42252         Rewrite to reduce FPCR/FPSR accesses.
42254 2014-06-01  David S. Miller  <davem@davemloft.net>
42256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42258 2014-05-31  David S. Miller  <davem@davemloft.net>
42260         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42261         to occur in round to nearest mode when |x| >= 2.0
42263 2014-05-30  Richard Henderson  <rth@twiddle.net>
42265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42266         (PSEUDO_RET_NOERRNO): Remove.
42267         (ret): Don't redefine.
42268         (ret_NOERRNO): Define in terms of ret.
42269         (ret_ERRVAL): Likewise.
42271         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42272         use of PSEUDO_RET; perform the error check directly.
42274 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42276         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42277         with __int128_t.
42279 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42281         * malloc/malloc (malloc_info): Fix formatting.
42283 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42284             Roland McGrath  <roland@hack.frob.com>
42286         * malloc/malloc (malloc_info): Also print mmapped statistics.
42288 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42290         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42291         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42293 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42295         * malloc/malloc.c (malloc_info): Inline mi_arena.
42297 2014-05-29  Richard Henderson  <rth@twiddle.net>
42299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42300         Remove comma before expanding ASM_ARGS_##nr.
42301         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42302         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42303         of ASM_ARGS_##nr.
42304         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42305         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42306         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42307         (ASM_ARGS_1): Add leading comma.
42309         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42310         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42311         to __errno_location.
42312         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42313         Remove the expected plt for __errno_location.
42315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42316         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42317         call to __read_tp.
42319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42320         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42321         it and break it down.
42322         (DOCARGS_0, DOCARGS_1): Do nothing.
42323         (DOCARGS_2): Update to store into the new stack frame.
42324         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42325         (UNDOCARGS_1): Update to restore from the new stack frame.
42326         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42327         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42329         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42330         (SINGLE_THREAD_P): New parameter for result regno.
42331         (PSEUDO): Update to match; use cbz instead of beq.
42333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42334         Use ENTRY to define the _nocancel entry point.  Share the syscall
42335         and syscall error check paths with the cancel path.
42336         (PSEUDO_END): New.
42338         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42339         whitespace; tabs before and after asm mnemonics.
42341 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42343         [BZ #15132]
42344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42345         Call fstat64 or stat64 internally, depending on arguments passed.
42346         Replace stat buffer argument with file descriptor argument.
42347         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42348         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42349         Pass fd to __internal_statvfs instead of calling fstat64.
42350         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42351         Pass fd to __internal_statvfs64 instead of calling fstat64.
42352         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42353         Pass -1 to __internal_statvfs instead of calling stat64.
42354         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42355         Pass -1 to __internal_statvfs64 instead of calling stat64.
42357 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42359         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42360         that was previously under [RESET_PID].
42361         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42363         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42364         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42366 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42368         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42370         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42371         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42373 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42375         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42377 2014-05-27  Andreas Schwab  <schwab@suse.de>
42379         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42380         TLS_INIT_TP macro.
42381         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42382         * elf/rtld.c (init_tls, dl_main): Likewise.
42383         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42384         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42385         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42386         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42387         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42388         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42389         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42390         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42391         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42392         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42393         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42394         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42395         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42396         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42397         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42398         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42399         * sysdeps/generic/tls.h: Update description.
42401 2014-05-27  Will Newton  <will.newton@linaro.org>
42403         [BZ #16990]
42404         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42405         and restore r2 rather than just restoring.
42407 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42409         [BZ #16724]
42410         * libio/tst-ftell-append.c: New test case.
42411         * libio/Makefile (tests): Add test case.
42412         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42413         append mode.
42414         * libio/wfileops.c (do_ftell_wide): Likewise.
42416 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42420         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42421         ...
42422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42424         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42425         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42426         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42427         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42428         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42429         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42431         Moved ...
42432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42434         Moved ...
42435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42436         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42437         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42438         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42439         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42440         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42441         ...
42442         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42443         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42444         Moved ...
42445         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42446         here.
42447         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42448         ...
42449         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42450         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42451         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42453         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42454         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42455         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42456         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42459         merge into ...
42460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42462         ...
42463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42465         ...
42466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42468         Moved ...
42469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42470         here.
42471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42472         Moved ...
42473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42475         Moved ...
42476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42479         conditional [RESET_PID].
42480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42482         removed.
42483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42484         removed.
42486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42487         <tcb-offsets.h>.
42488         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42489         (__libc_vfork): New strong alias.
42490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42491         removed.
42492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42493         Removed.
42495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42496         <tcb-offsets.h>.
42497         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42498         (__libc_vfork): New strong alias.
42499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42500         removed.
42501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42502         removed.
42504 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42506         * malloc/malloc.c (mi_arena): New function.
42507         (malloc_info): Remove nested function mi_arena. Call non-nosted
42508         function mi_arena.
42510 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42512         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42513         by insrwi.
42514         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42515         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42516         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42517         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42518         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42519         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42520         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42522 2014-05-26  Andreas Schwab  <schwab@suse.de>
42524         [BZ #16984]
42525         * locale/programs/repertoire.c (repertoire_read): Add slash
42526         between I18NPATH element and file name.
42527         * locale/programs/locfile.c (locfile_read): Likewise.
42529 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42531         * nptl/pthread_mutexattr_settype.c
42532         (__pthread_mutexattr_settype):
42533         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42535 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42537         * nptl/tst-mutex5 (do_test):
42538         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42540 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42542         * benchtests/README: Document 'init' directive.
42543         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42544         BENCH_INIT.
42545         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42546         (parse_file): Recognize 'init' directive.
42548 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42550         [BZ #16796]
42551         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42552         alignment of struct pthread.
42554 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42556         [BZ #16878]
42557         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42558         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42559         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42560         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42562 2014-05-25  Richard Henderson  <rth@twiddle.net>
42564         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42565         (SINGLE_THREAD_P_PIC): Remove.
42566         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42567         (SINGLE_THREAD_P_PIC): Remove.
42569         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42570         branch to syscall error ...
42571         (PSEUDO): ... here.
42572         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42573         from __local_syscall_error to .Lsyscall_error.
42574         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42575         (SYSCALL_ERROR): Update label name.
42577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42578         Do not use DOARGS/UNDOARGS.
42579         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42580         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42581         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42582         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42583         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42586         block comment.
42588         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42589         define if !NOT_IN_libc.
42590         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42591         define with non-default symbol versions.
42593 2014-05-23  Richard Henderson  <rth@twiddle.net>
42595         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42596         (vfork, __vfork): Define via compat_symbol.
42598         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42599         [!HAVE_IFUNC] (vfork_compat): Remove.
42600         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42602 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42604         [BZ #16978]
42605         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42606         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42607         variable.
42609 2014-05-23  Richard Henderson  <rth@twiddle.net>
42611         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42612         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42613         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42614         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42616         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42617         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42618         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42619         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42620         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42621         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42622         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42623         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42624         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42625         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42626         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42627         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42628         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42629         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42630         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42631         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42632         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42633         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42634         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42635         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42636         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42637         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
42638         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
42639         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
42640         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
42641         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
42642         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
42643         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
42644         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
42645         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
42646         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
42647         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
42648         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
42649         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42650         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
42651         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
42652         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
42653         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
42654         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
42655         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
42656         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
42657         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
42658         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
42659         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
42660         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
42661         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
42662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
42663         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
42664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
42665         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
42666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
42667         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
42668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
42669         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
42670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
42671         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
42673         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
42674         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
42675         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
42676         before exiting on error.
42677         (__libc_vfork): New strong alias.
42678         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
42679         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
42681         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
42682         that was previously under [RESET_PID].
42683         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
42685         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
42687 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42689         [BZ #16977]
42690         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
42691         value when x - 1 is zero.
42692         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
42693         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
42694         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
42695         0.0L for an argument of 1.0L.
42696         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
42697         Likewise.
42698         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
42699         value when x - 1 is zero.
42700         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
42701         * sysdeps/i386/fpu/libm-test-ulps: Update.
42702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42704 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42706         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
42707         alphasort and versionsort.
42709 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42711         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
42712         macro.
42713         [copysignf]: Likewise.
42715 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42717         * crypt/md5-crypt.c: Fix formatting.
42719 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42721         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
42722         (b64_from_24bit): New function.
42724 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
42727         libc_hidden_builtin_def to ifunc.
42728         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42729         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
42731 2014-05-21  Roland McGrath  <roland@hack.frob.com>
42733         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
42734         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
42736 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
42738         * nscd/Depend (linuxthreads): Remove.
42739         (nptl): Add.
42740         * resolv/Depend (linuxthreads): Remove.
42741         * rt/Depend (linuxthreads): Remove.
42743         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
42744         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
42745         $(common-objpfx)elf/.
42746         (link-libc-before-gnulib): Likewise.
42747         (elfobjdir): Remove variable.
42748         * Makefile (install): Use $(elf-objpfx) instead of
42749         $(common-objpfx)elf/.
42750         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
42751         $(elfobjdir)/.
42752         (link-libc-deps): Likewise.
42753         ($(common-objpfx)libc.so): Likewise.
42754         ($(common-objpfx)linkobj/libc.so): Likewise.
42755         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
42756         instead of $(common-objpfx)elf/.
42757         (symbolic-link-list): Likewise.
42758         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42759         [$(cross-compiling) = no]: Likewise.
42760         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
42761         $(elfobjdir)/.
42762         (static-gnulib-arch): Likewise.
42763         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42764         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
42765         $(common-objpfx)elf/.
42767 2014-05-21  Richard Henderson  <rth@redhat.com>
42769         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42770         (SINGLE_THREAD_P): Use the correct width load.  Fold
42771         into the ldr offset.
42773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
42774         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
42776 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
42778         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
42779         (libgcc_s_resume): Use __attribute_used__.
42780         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
42781         Likewise.
42783 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42785         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
42786         optimization when used with float constants.
42788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42790 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
42792         [BZ #16915]
42793         * locale/nl_langinfo_l.c: Make direct reference to every
42794         _nl_current_CATEGORY symbol.
42795         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
42796         (tests-static): Add tst-langinfo-static.
42797         (tests-special): Add tst-langinfo-static.out.
42798         ($(objpfx)tst-langinfo.out): Redirect output.
42799         ($(objpfx)tst-langinfo-static.out): New.
42800         * localedata/tst-langinfo.sh: Send output to stdout.
42801         * localedata/tst-langinfo-static.c: New file.
42803         [BZ #16965]
42804         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
42805         when the shift amount is modulo the limb size.
42807 2014-05-20  Richard Henderson  <rth@redhat.com>
42809         [BZ #16967]
42810         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
42811         Change type of sa_flags from unsigned int to int.
42813         [BZ #16966]
42814         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
42816         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
42818 2014-05-20  Will Newton  <will.newton@linaro.org>
42820         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42821         Test the return value of the system call in the nocancel case.
42823 2014-05-20  Will Newton  <will.newton@linaro.org>
42824             Yvan Roux  <yvan.roux@linaro.org>
42826         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
42827         #include of asm/ptrace.h.
42828         (PTRACE_GET_THREAD_AREA): Remove #undef.
42829         (PTRACE_GETHBPREGS): Likewise.
42830         (PTRACE_SETHBPREGS): Likewise.
42831         (struct user_regs_struct): New structure.
42832         (struct user_fpsimd_struct): New structure.
42833         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
42834         #include of asm/ptrace.h and second #include of sys/user.h.
42835         (PTRACE_GET_THREAD_AREA): Remove #undef.
42836         (PTRACE_GETHBPREGS): Likewise.
42837         (PTRACE_SETHBPREGS): Likewise.
42838         (ELF_NGREG): Use new struct user_regs_struct.
42839         (elf_fpregset_t): Use new struct user_fpsimd_struct.
42841 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42843         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
42844         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
42846 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
42848         [BZ #16958]
42849         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
42850         membar to avoid block loads/stores to overlap previous stores.
42852 2014-05-17  Richard Henderson  <rth@redhat.com>
42854         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
42855         Create the __##syscall_name##_nocancel entry point.
42856         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
42857         Remove; let the sysdep-cancel.h code create it.
42859 2014-05-17  David S. Miller  <davem@davemloft.net>
42861         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
42862         Protect with __USE_GNU.
42863         (TIOCSET_TEMPT): Likewise.
42864         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42865         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
42866         these are already provided in bits/ioctl-types.h
42868 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42870         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
42871         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
42873         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
42874         Use wait4 regardless of [__NR_waitpid].
42876 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42878         PR libgcc/60166
42879         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42880         (_FP_NANSIGN_Q): Set the quiet bit.
42882 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
42884         * benchtests/Makefile
42885         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
42886         not $(common-objpfx)math/libm.so.
42887         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
42888         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
42889         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
42890         $(common-objpfx)dlfcn/libdl.so.
42891         ($(objpfx)tst-audit8): Depend on $(libm), not
42892         $(common-objpfx)math/libm.so.
42893         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
42894         not $(common-objpfx)dlfcn/libdl.so.
42895         * math/Makefile
42896         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42897         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
42898         [$(build-shared) = yes].
42899         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
42900         $(common-objpfx)nptl/libpthread.so.
42901         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
42902         $(common-objpfx)math/libm.so$(libm.so-version) or
42903         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
42904         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
42905         $(common-objpfx)dlfcn/libdl.so.
42906         * setjmp/Makefile (link-libm): Remove variable.
42907         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
42908         * stdio-common/Makefile (link-libm): Remove variable.
42909         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
42910         * stdlib/Makefile (link-libm): Remove variable.
42911         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
42912         ($(objpfx)tst-strtod-round): Likewise.
42913         ($(objpfx)tst-tininess): Likewise.
42914         ($(objpfx)tst-strtod-underflow): Likewise.
42915         ($(objpfx)tst-strtod6): Likewise.
42916         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
42917         $(libdl), not $(common-objpfx)nptl/libpthread.so and
42918         $(common-objpfx)dlfcn/libdl.so.
42920 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42922         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
42923         BSD terminal modes definitions.
42925 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42927         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
42928         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
42930         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
42931         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
42932         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
42933         Don't do #include_next.
42934         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
42935         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
42936         Don't do #include_next.
42937         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
42938         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
42939         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
42940         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
42942 2014-05-16  Allan McRae  <allan@archlinux.org>
42944         * po/sv.po: Update Swedish translation from translation project.
42946         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
42947         in sed expression.
42949 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
42951         [BZ #16917]
42952         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
42953         errno if the TIOCGPTN ioctl fails with an error different than
42954         EINVAL.
42955         * login/tst-ptsname.c: New file.
42956         * login/Makefile (tests): Add tst-ptsname.
42958         [BZ #16943]
42959         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
42960         and prlimit64.
42962 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42964         [BZ #16849]
42965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
42966         herrno to return EAI_AGAIN.
42968 2014-05-14  Roland McGrath  <roland@hack.frob.com>
42970         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
42971         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
42972         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
42973         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
42974         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
42975         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
42976         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
42977         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
42978         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
42979         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
42980         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
42981         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
42982         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
42983         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
42984         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
42985         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
42986         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
42987         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
42988         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
42989         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
42990         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
42991         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
42992         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
42993         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
42994         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
42995         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
42996         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
42997         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
42998         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
42999         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43001         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43003         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43005         Moved ...
43006         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43008         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43010         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43012         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43014         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43016         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43018         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43020         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43022         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43024         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43026         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43028         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43030         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43032         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43034         Moved ...
43035         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43037         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43039         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43041         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43043         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43045         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43047         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43049         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43051         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43053         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43055         Moved ...
43056         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43058         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43060         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43061         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43062         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43063         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43064         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43065         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43066         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43067         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43068         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43069         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43070         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43071         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43072         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43073         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43074         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43075         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43076         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43077         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43078         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43079         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43080         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43081         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43082         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43083         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43084         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43085         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43086         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43087         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43088         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43089         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43090         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43092         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43093         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43095         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43096         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43097         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43098         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43099         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43101         Moved ...
43102         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43103         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43104         Moved ...
43105         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43107         Moved ...
43108         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43110         Moved ...
43111         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43112         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43113         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43114         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43115         Moved ...
43116         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43117         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43118         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43120         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43121         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43122         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43123         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43124         Moved ...
43125         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43127         Moved ...
43128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43129         ... here.
43130         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43131         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43132         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43133         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43134         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43135         Moved ...
43136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43137         ... here.
43138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43139         Moved ...
43140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43141         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43142         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43143         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43144         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43146         Moved ...
43147         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43148         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43149         Moved ...
43150         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43152         Moved ...
43153         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43155         Moved ...
43156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43157         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43158         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43159         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43160         Moved ...
43161         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43162         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43163         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43165         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43166         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43167         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43168         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43169         Moved ...
43170         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43172         Moved ...
43173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43174         ... here.
43175         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43176         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43177         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43178         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43179         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43180         Moved ...
43181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43182         ... here.
43183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43184         Moved ...
43185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43186         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43187         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43188         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43189         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43190         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43191         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43192         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43193         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43194         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43195         Moved ...
43196         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43197         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43198         Moved ...
43199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43200         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43201         Moved ...
43202         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43203         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43204         Moved ...
43205         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43206         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43207         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43208         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43209         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43210         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43211         Moved ...
43212         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43213         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43214         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43215         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43216         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43217         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43218         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43220         Moved ...
43221         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43223         Moved ...
43224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43225         ... here.
43226         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43227         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43228         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43229         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43230         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43231         Moved ...
43232         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43233         ... here.
43234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43235         Moved ...
43236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43237         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43238         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43239         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43240         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43241         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43242         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43243         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43244         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43245         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43246         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43248         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43249         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43251         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43252         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43254         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43255         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43256         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43257         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43258         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43259         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43260         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43261         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43262         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43263         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43264         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43265         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43266         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43267         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43268         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43270         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43272         Moved ...
43273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43275         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43277         Moved ...
43278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43282         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43284         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43286         Moved ...
43287         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43289         Moved ...
43290         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43291         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43294         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43296         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43297         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43298         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43299         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43300         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43301         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43302         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43303         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43304         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43305         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43306         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43308         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43309         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43310         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43311         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43312         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43314         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43315         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43316         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43317         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43318         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43319         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43320         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43321         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43322         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43323         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43325         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43328         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43329         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43330         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43331         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43332         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43333         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43334         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43335         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43336         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43337         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43338         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43339         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43340         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43341         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43343         Update #include.
43344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43345         Likewise.
43346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43347         Likewise.
43348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43349         Likewise.
43350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43351         Likewise.
43352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43353         Likewise.
43354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43355         Likewise.
43356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43357         Likewise.
43358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43359         Likewise.
43360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43361         Likewise.
43362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43363         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43368         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43372         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43373         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43374         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43375         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43376         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43378         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43379         that was previously under [RESET_PID].
43380         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43381         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43382         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43384         * sysdeps/i386/nptl/Implies: New file.
43385         * sysdeps/x86_64/nptl/Implies: New file.
43386         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43387         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43388         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43389         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43391         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43392         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43393         (__libc_vfork): New strong alias.
43394         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43395         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43397         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43398         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43399         (__libc_vfork): New strong alias.
43400         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43401         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43403         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43404         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43405         (__libc_vfork): New strong alias.
43406         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43407         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43408         * nptl/pt-vfork.c: New file.
43409         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43410         (libpthread: GLIBC_2.20): New version set (empty).
43412 2014-05-14  Will Newton  <will.newton@linaro.org>
43414         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43415         rather than #if.
43417 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43419         [BZ #16564]
43420         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43421         arguments with exponent 65 or above.
43422         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43423         arguments 0x1p113L or above.
43424         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43425         to arguments 0x1p107L or above.
43426         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43427         positive arguments with exponent 65 or above.
43428         * math/auto-libm-test-in: Add more tests of log1p.
43429         * math/auto-libm-test-out: Regenerated.
43431         [BZ #16928]
43432         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43433         non-finite arguments is +0.
43434         * math/s_cacosf.c (__cacosf): Likewise.
43435         * math/s_cacosl.c (__cacosl): Likewise.
43436         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43437         * sysdeps/i386/fpu/libm-test-ulps: Update.
43438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43440         [BZ #16927]
43441         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43442         value.
43443         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43444         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43445         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43446         for explicit high bit of mantissa when testing for argument equal
43447         to 1.
43448         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43449         * sysdeps/i386/fpu/libm-test-ulps: Update.
43450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43452         [BZ #16516]
43453         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43454         (__erf): Scale by 16 instead of 8 in potentially underflowing
43455         case.  Ensure exception if result actually underflows.
43456         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43457         (__erff): Scale by 16 instead of 8 in potentially underflowing
43458         case.  Ensure exception if result actually underflows.
43459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43460         (efx8): Remove variable.
43461         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43462         case.  Ensure exception if result actually underflows.
43463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43464         (efx8): Remove variable.
43465         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43466         case.  Ensure exception if result actually underflows.
43467         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43468         (efx8): Remove variable.
43469         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43470         case.  Ensure exception if result actually underflows.
43471         * math/auto-libm-test-in: Add more tests of erf.
43472         * math/auto-libm-test-out: Regenerated.
43474 2014-05-14  Andreas Schwab  <schwab@suse.de>
43476         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43477         Remove code conditionalized on USE___THREAD.
43479         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43480         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43481         not definedness.
43483 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43485         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43486         Define unconditionally.
43487         (__ASSUME_O_CLOEXEC): Likewise.
43488         (__ASSUME_SOCK_CLOEXEC): Likewise.
43489         (__ASSUME_IN_NONBLOCK): Likewise.
43490         (__ASSUME_PIPE2): Likewise.
43491         (__ASSUME_EVENTFD2): Likewise.
43492         (__ASSUME_SIGNALFD4): Likewise.
43493         (__ASSUME_DUP3): Likewise.
43494         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43495         (__ASSUME_DUP3): Do not define.
43496         (__ASSUME_EVENTFD2): Likewise.
43497         (__ASSUME_IN_NONBLOCK): Likewise.
43498         (__ASSUME_O_CLOEXEC): Likewise.
43499         (__ASSUME_PIPE2): Likewise.
43500         (__ASSUME_SIGNALFD4): Likewise.
43501         (__ASSUME_SOCK_CLOEXEC): Likewise.
43502         (__ASSUME_UTIMES): Undefine.
43503         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43504         (__ASSUME_UTIMES): Do not define.
43505         (__ASSUME_O_CLOEXEC): Likewise.
43506         (__ASSUME_SOCK_CLOEXEC): Likewise.
43507         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43508         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43509         0x020621].
43510         (__ASSUME_PIPE2): Likewise.
43511         (__ASSUME_EVENTFD2): Likewise.
43512         (__ASSUME_SIGNALFD4): Likewise.
43513         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43514         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43515         Do not define.
43516         (__ASSUME_EVENTFD2): Likewise.
43517         (__ASSUME_SIGNALFD4): Likewise.
43518         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43519         (__ASSUME_32BITUIDS): Likewise.
43520         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43521         (__ASSUME_IPC64): Likewise.
43522         (__ASSUME_ST_INO_64_BIT): Likewise.
43523         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43524         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43525         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43526         (__ASSUME_UTIMES): Do not define.
43527         (__ASSUME_PSELECT): Likewise.
43528         (__ASSUME_PPOLL): Likewise.
43529         (__ASSUME_O_CLOEXEC): Likewise.
43530         (__ASSUME_SOCK_CLOEXEC): Likewise.
43531         (__ASSUME_IN_NONBLOCK): Likewise.
43532         (__ASSUME_PIPE2): Likewise.
43533         (__ASSUME_EVENTFD2): Likewise.
43534         (__ASSUME_SIGNALFD4): Likewise.
43535         (__ASSUME_DUP3): Likewise.
43536         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43537         (__ASSUME_UTIMES): Likewise.
43538         (__ASSUME_O_CLOEXEC): Likewise.
43539         (__ASSUME_SOCK_CLOEXEC): Likewise.
43540         (__ASSUME_IN_NONBLOCK): Likewise.
43541         (__ASSUME_PIPE2): Likewise.
43542         (__ASSUME_EVENTFD2): Likewise.
43543         (__ASSUME_SIGNALFD4): Likewise.
43544         (__ASSUME_DUP3): Likewise.
43545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43546         (__ASSUME_UTIMES): Likewise.
43547         (__ASSUME_O_CLOEXEC): Likewise.
43548         (__ASSUME_SOCK_CLOEXEC): Likewise.
43549         (__ASSUME_IN_NONBLOCK): Likewise.
43550         (__ASSUME_PIPE2): Likewise.
43551         (__ASSUME_EVENTFD2): Likewise.
43552         (__ASSUME_SIGNALFD4): Likewise.
43553         (__ASSUME_DUP3): Likewise.
43554         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43555         Likewise.
43556         (__ASSUME_UTIMES): Likewise.
43557         (__ASSUME_EVENTFD2): Likewise.
43558         (__ASSUME_SIGNALFD4): Likewise.
43559         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43560         (__ASSUME_O_CLOEXEC): Likewise.
43561         (__ASSUME_SOCK_CLOEXEC): Likewise.
43562         (__ASSUME_IN_NONBLOCK): Likewise.
43563         (__ASSUME_PIPE2): Likewise.
43564         (__ASSUME_EVENTFD2): Likewise.
43565         (__ASSUME_SIGNALFD4): Likewise.
43566         (__ASSUME_DUP3): Likewise.
43567         (__ASSUME_UTIMES): Undefine.
43569         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43570         feclearexcept.  Remove symbol versioning code.
43571         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43572         symbol versioning code.
43573         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43574         symbol versioning code.
43575         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43576         feupdateenv.  Remove symbol versioning code.
43577         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43578         fegetexceptflag.  Remove symbol versioning code.
43579         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43580         fesetexceptflag.  Remove symbol versioning code.
43581         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43582         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43583         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43584         (__posix_fadvise64_l32): Remove prototype.
43585         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43586         code.
43588 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43590         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43591         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43592         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43593         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43595 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43597         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43598         current working directory
43600 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43602         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43603         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43604         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43605         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43606         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43607         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43608         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43609         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43610         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43611         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43612         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43613         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43614         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43615         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43616         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43617         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43618         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43619         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43620         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43621         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43622         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43623         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43624         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43625         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43626         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43627         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43628         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43629         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43630         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43631         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43632         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43633         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43634         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43635         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43636         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43637         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
43638         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
43639         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
43640         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
43641         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
43642         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
43643         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
43645         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
43646         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
43648         * sysdeps/unix/sysv/linux/arm/Makefile
43649         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
43650         Add rt-aeabi_unwind_cpp_pr1.
43651         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
43652         Add nptl-aeabi_unwind_cpp_pr1.
43653         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
43654         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
43655         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
43656         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43657         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
43658         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43660         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
43661         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
43662         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
43663         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
43665         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
43666         Deconditionalize the code that was previously under [RESET_PID].
43667         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
43669         * sysdeps/generic/exit-thread.h: New file.
43670         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
43671         * include/unistd.h (__exit_thread): Remove declaration.
43672         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
43673         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
43674         * csu/libc-start.c: Include <exit-thread.h>.
43675         (LIBC_START_MAIN): Pass no argument to __exit_thread.
43676         * nptl/pthread_create.c: Include <exit-thread.h>.
43677         (start_thread): Call __exit_thread in place of __exit_thread_inline.
43678         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
43679         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
43680         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
43681         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
43682         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
43683         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
43684         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43685         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
43686         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
43687         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
43688         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
43689         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
43690         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
43691         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
43692         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
43693         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
43695 2014-05-13  Andreas Schwab  <schwab@suse.de>
43697         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
43699 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
43701         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43702         (__ASSUME_UTIMES): Do not condition on kernel version.
43703         (__ASSUME_PSELECT): Define unconditionally.
43704         (__ASSUME_PPOLL): Likewise.
43705         (__ASSUME_ATFCTS): Likewise.
43706         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
43707         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
43708         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
43709         (__ASSUME_UTIMENSAT): Define unconditionally.
43710         (__ASSUME_PRIVATE_FUTEX): Likewise.
43711         (__ASSUME_FALLOCATE): Likewise.
43712         (__ASSUME_O_CLOEXEC): Likewise.
43713         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
43714         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
43715         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
43716         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
43717         (__ASSUME_IN_NONBLOCK): Likewise.
43718         (__ASSUME_PIPE2): Likewise.
43719         (__ASSUME_EVENTFD2): Likewise.
43720         (__ASSUME_SIGNALFD4): Likewise.
43721         (__ASSUME_DUP3): Likewise.
43722         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43723         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
43724         (__ASSUME_AT_RANDOM): Likewise.
43725         (__ASSUME_PREADV): Likewise.
43726         (__ASSUME_PWRITEV): Likewise.
43727         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
43728         (__ASSUME_F_GETOWN_EX): Define unconditionally.
43729         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
43730         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43731         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
43732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43733         (__ASSUME_O_CLOEXEC): Define unconditionally.
43734         (__ASSUME_PSELECT): Do not undefine conditionally.
43735         (__ASSUME_PPOLL): Likewise.
43736         (__ASSUME_ATFCTS): Likewise.
43737         (__ASSUME_SET_ROBUST_LIST): Likewise.
43738         (__ASSUME_UTIMENSAT): Likewise.
43739         (__ASSUME_FDATASYNC): Define unconditionally.
43740         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43741         (__ASSUME_SIGFRAME_V2): Likewise.
43742         )__ASSUME_EVENTFD2): Likewise.
43743         (__ASSUME_SIGNALFD4): Likewise.
43744         (__ASSUME_PSELECT): Do not undefine conditionally.
43745         (__ASSUME_PPOLL): Likewise.
43746         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43747         (__ASSUME_PSELECT): Define unconditionally.
43748         (__ASSUME_PPOLL): Likewise.
43749         (__ASSUME_O_CLOEXEC): Likewise.
43750         (__ASSUME_SOCK_CLOEXEC): Likewise.
43751         (__ASSUME_IN_NONBLOCK): Likewise.
43752         (__ASSUME_PIPE2): Likewise.
43753         (__ASSUME_EVENTFD2): Likewise.
43754         (__ASSUME_SIGNALFD4): Likewise.
43755         (__ASSUME_DUP3): Likewise.
43756         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43757         (__ASSUME_O_CLOEXEC): Likewise.
43758         (__ASSUME_SOCK_CLOEXEC): Likewise.
43759         (__ASSUME_IN_NONBLOCK): Likewise.
43760         (__ASSUME_PIPE2): Likewise.
43761         (__ASSUME_EVENTFD2): Likewise.
43762         (__ASSUME_SIGNALFD4): Likewise.
43763         (__ASSUME_DUP3): Likewise.
43764         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43765         (__ASSUME_EVENTFD2): Likewise.
43766         (__ASSUME_SIGNALFD4): Likewise.
43767         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43769 2014-05-12  Andreas Schwab  <schwab@suse.de>
43771         [BZ #16932]
43772         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
43773         (_nss_nis_gethostbyname4_r): Return error if item length is larger
43774         than maximum RPC packet size.
43775         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
43776         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
43777         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
43778         (_nss_nis_getservbyport_r): Likewise.
43780 2014-05-12  Will Newton  <will.newton@linaro.org>
43782         * malloc/Makefile (tests): Add tst-mallopt.
43783         * malloc/tst-mallopt.c: New file.
43785 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43787         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
43788         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
43790 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43792         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
43793         (tst-tlsmod6.so): Likewise.
43795 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43797         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
43799 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
43801         [BZ #16064]
43802         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
43803         and <dl-procinfo.h>.
43804         (__fegetenv): Save SSE state in envp->__eip if supported.
43805         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
43806         envp->__eip if supported.
43807         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
43808         and <dl-procinfo.h>.
43809         (__fesetenv): Always set __eip, __cs_selector, __opcode,
43810         __data_offset and __data_selector in environment to 0.  Set SSE
43811         state if supported.
43812         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
43813         test-fenv-sse.
43814         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
43815         -mfpmath=sse.
43816         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
43818 2014-05-09  Will Newton  <will.newton@linaro.org>
43820         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
43821         and libc_relro_required for ARM.
43822         * sysdeps/arm/preconfigure: Regenerate.
43824 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
43825             Stefan Liebler  <stli@linux.vnet.ibm.com>
43827         * config.make.in (enable-lock-elision): New Makefile variable.
43828         * configure.ac: Likewise.
43829         * configure: Regenerate.
43830         * sysdeps/s390/configure.ac:
43831         Add check for gcc transactions support.
43832         * sysdeps/s390/configure: Regenerate.
43833         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
43834         Build elision files if enabled.
43835         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
43836         Add lock elision support for s390.
43837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
43838         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
43839         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
43840         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
43841         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
43842         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
43843         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43844         Likewise.
43845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
43846         Likewise.
43847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
43848         Likewise.
43849         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
43850         Likewise.
43851         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
43852         (__lll_timedlock_elision, __lll_lock_elision)
43853         (__lll_unlock_elision, __lll_trylock_elision)
43854         (lll_timedlock_elision, lll_lock_elision)
43855         (lll_unlock_elision, lll_trylock_elision): Add.
43856         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43857         (pthread_mutex_t): Add lock elision support for s390.
43859 2014-05-14  Wilco  <wdijkstr@arm.com>
43861         * sysdeps/arm/fclrexcpt.c: Cleanup.
43862         * sysdeps/arm/fedisblxcpt.c: Cleanup.
43863         * sysdeps/arm/feenablxcpt.c: Cleanup.
43864         * sysdeps/arm/fegetenv.c: Cleanup.
43865         * sysdeps/arm/fegetexcept.c: Cleanup.
43866         * sysdeps/arm/fegetround.c: Cleanup.
43867         * sysdeps/arm/feholdexcpt.c: Cleanup.
43868         * sysdeps/arm/fesetenv.c: Cleanup.
43869         * sysdeps/arm/fesetround.c: Cleanup.
43870         * sysdeps/arm/feupdateenv.c: Cleanup.
43871         * sysdeps/arm/fgetexcptflg.c: Cleanup.
43872         * sysdeps/arm/fraiseexcpt.c: Cleanup.
43873         * sysdeps/arm/fsetexcptflg.c: Cleanup.
43874         * sysdeps/arm/ftestexcept.c: Cleanup.
43875         * sysdeps/arm/get-rounding-mode.h: Cleanup.
43876         * sysdeps/arm/setfpucw.c: Cleanup.
43878 2014-05-09  Will Newton  <will.newton@linaro.org>
43880         * sysdeps/arm/armv7/strcmp.S: New file.
43881         * NEWS: Mention addition of ARMv7 optimized strcmp.
43883 2014-05-08  Roland McGrath  <roland@hack.frob.com>
43885         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
43886         look for %.ac rather than %.in.
43888         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
43889         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
43890         * sysdeps/mach/hurd/configure: Regenerated.
43891         * sysdeps/unix/sysv/linux/configure: Regenerated.
43893         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
43895 2014-05-07  Steve Ellcey  <sellcey@mips.com>
43897         [BZ# 16922]
43898         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
43899         (LONG_SUB): Ditto.
43900         (PTR_SUB): Ditto.
43902 2014-05-07  Andreas Schwab  <schwab@suse.de>
43904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
43905         when skipping over non-matching result from nscd.
43907 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
43909         [BZ #16876]
43910         * nptl/sockperf.c (client): Check socket return value.
43912         [BZ #16877]
43913         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
43914         nscd security class.
43916 2014-05-06  Roland McGrath  <roland@hack.frob.com>
43918         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
43919         * sysdeps/arm/unwind.h: ... here.
43921 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
43923         [BZ# 16916]
43924         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
43925         Define.
43927 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43929         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
43930         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
43931         multiarch strncpy for PPC64.
43932         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
43933         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
43934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
43935         multiarch optimizations.
43936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43937         (__libc_ifunc_impl_list): Likewise.
43938         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
43939         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
43940         multiarch stpncpy for PPC64.
43941         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
43942         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
43944 2014-05-06  Andreas Schwab  <schwab@suse.de>
43946         [BZ #16912]
43947         * gmon/mcount.c (_MCOUNT_DECL): Use
43948         atomic_compare_and_exchange_bool_acq instead of
43949         catomic_compare_and_exchange_bool_acq.
43951 2014-05-05  Roland McGrath  <roland@hack.frob.com>
43953         * elf/Makefile (others, install-bin): Remove pldd.
43954         (pldd-modules): Variable removed.
43955         ($(objpfx)pldd): Target removed.
43956         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
43957         (others, install-bin): Append pldd here.
43958         ($(objpfx)pldd): New target.
43960         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
43961         to 0, so the first #if test emitted later doesn't see it undefined.
43962         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
43963         * sysdeps/gnu/errlist.c: Regenerated.
43965 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43968         [libc_hidden_builtin_def]: Define to empty value.
43969         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
43970         [libc_hidden_builtin_def]: Likewise.
43971         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
43972         [libc_hidden_builtin_def]: Likewise.
43973         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
43974         [libc_hidden_builtin_def]: Likewise.
43975         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
43976         __redirect_memcpy and define ifunc as default hidden symbol.
43977         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
43978         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
43980 2014-05-04  Adam Conrad  <adconrad@0c3.net>
43982         * locale/iso-4217.def: Reintroduce XDR currency.
43984 2014-05-04  Allan McRae  <allan@archlinux.org>
43986         * po/eo.po: Update Esperanto translation from translation project.
43988 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
43990         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
43991         and FEATURE_INDEX_MAX to 1.
43992         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
43994 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43996         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
43997         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
43998         * iconvdata/big5.c (ONE_DIRECTION): Define.
43999         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44000         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44001         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44002         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44003         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44004         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44005         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44006         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44007         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44008         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44009         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44010         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44011         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44012         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44013         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44014         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44015         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44016         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44017         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44018         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44019         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44020         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44021         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44022         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44023         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44024         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44025         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44026         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44027         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44028         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44029         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44030         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44031         * iconvdata/johab.c (ONE_DIRECTION): Define.
44032         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44033         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44034         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44035         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44036         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44037         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44038         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44039         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44040         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44041         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44043 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44045         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44046         (_IO_JUMPS_OFFSET): Define to 0.
44048         * nptl/sysdeps/pthread/bits/libc-lock.h
44049         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44050         (__libc_lock_define_initialized_recursive): Always define using
44051         initializer.  Modern compilers treat uninitialized (implicit zero) and
44052         explicit zero initializers the same (i.e. put the datum in bss).
44054 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44056         * nscd/nscd-client.h: Include <string.h>.
44058 2014-05-01  David S. Miller  <davem@davemloft.net>
44060         [BZ #16885]
44061         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44062         multiple zero bytes exist at the end of a string.
44063         Reported by Aurelien Jarno <aurelien@aurel32.net>
44065         * string/test-strcmp.c (check): Add explicit test for situations where
44066         there are multiple zero bytes after the first.
44068 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44070         [BZ #16890]
44071         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44072         when compiling wprintf.
44073         * stdio-common/tstdiomisc.c (t3): New function.
44074         (main): Call it.
44076 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44078         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44079         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44080         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44081         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44083 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44085         * stdlib/longlong.h: Updated from GCC.
44087 2014-05-01  Will Newton  <will.newton@linaro.org>
44088             Bernard Ogden  <bernie.ogden@linaro.org>
44090         * NEWS: Update fixed bug list.
44092         [BZ #15119]
44093         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44095 2014-04-30  David S. Miller  <davem@davemloft.net>
44097         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44098         (libc_feholdexcept_setround_sparc_ctx): New function.
44099         (libc_fesetenv_sparc_ctx): Likewise.
44100         (libc_feupdateenv_sparc_ctx): Likewise.
44101         (libc_feholdsetround_sparc_ctx): Likewise.
44102         (libc_feholdexcept_setround_ctx): Define.
44103         (libc_feholdexcept_setroundf_ctx): Likewise.
44104         (libc_feholdexcept_setroundl_ctx): Likewise.
44105         (libc_fesetenv_ctx): Likewise.
44106         (libc_fesetenvf_ctx): Likewise.
44107         (libc_fesetenvl_ctx): Likewise.
44108         (libc_feupdateenv_ctx): Likewise.
44109         (libc_feupdateenvf_ctx): Likewise.
44110         (libc_feupdateenvl_ctx): Likewise.
44111         (libc_feresetround_ctx): Likewise.
44112         (libc_feresetroundf_ctx): Likewise.
44113         (libc_feresetroundl_ctx): Likewise.
44114         (libc_feholdsetround_ctx): Likewise.
44115         (libc_feholdsetroundf_ctx): Likewise.
44116         (libc_feholdsetroundl_ctx): Likewise.
44118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44119         with __USE_GNU instead of XOPEN cpp guards.
44121         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44122         0.
44124         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44125         with XOPEN cpp guards.
44127 2014-04-30  Julian Brown  <julian@codesourcery.com>
44129         [BZ #16888]
44130         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44131         handling.
44133 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44135         [BZ #9894]
44136         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44137         Change to 2.6.32.
44138         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44139         * sysdeps/unix/sysv/linux/configure: Regenerated.
44140         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44141         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44142         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44143         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44144         * README: Update reference to required Linux kernel version.
44145         * manual/install.texi (Linux): Update reference to required Linux
44146         kernel headers version.
44147         * INSTALL: Regenerated.
44149         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44150         header inclusion.
44151         [POSIX] (limits.h): Likewise.
44152         [POSIX] (math.h): Likewise.
44153         [POSIX] (sys/wait.h): Likewise.
44154         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44155         function.
44156         [POSIX] (stddef.h): Do not allow header inclusion.
44158 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44160         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44162 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44164         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44165         Return immediately after lll_futex_wake.
44167 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44169         [BZ #16791]
44170         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44171         structure.
44172         (datahead_init_pos): Call datahead_init_common early.
44173         (datahead_init_neg): Likewise.
44175         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44176         datahead_init_neg): New functions.
44177         * nscd/aicache.c (addhstaiX): Use them.
44178         * nscd/grpcache.c (cache_addgr): Likewise.
44179         * nscd/hstcache.c (cache_addhst): Likewise.
44180         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44181         * nscd/netgroupcache.c (do_notfound): Likewise.
44182         (addgetnetgrentX): Likewise.
44183         (addinnetgrX): Likewise.
44184         * nscd/pwdcache.c (cache_addpw): Likewise.
44185         * nscd/servicescache.c (cache_addserv): Likewise.
44187 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44188             Atsushi Onoe  <atsushi@onoe.org>
44190         [BZ #14308]
44191         [BZ #12994]
44192         [BZ #13651]
44193         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44194         one response is valid.
44195         * resolv/res_send.c (send_dg): Check for validity of other
44196         response if the current response is a referral.
44198 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44200         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44202 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44204         [BZ #16823]
44205         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44206         Always divide by positive zero when computing -Inf result.
44207         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44208         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44210 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44212         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44213         FPSCR if value do not change.
44214         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44215         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44216         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44217         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44218         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44219         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44220         function.
44222 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44224         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44225         * sysdeps/unix/sysv/linux/hppa: Move directory from
44226         ports/systeps/unix/sysv/linux/hppa.
44227         * README: Update listing for hppa-*-linux-gnu.
44229 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44231         [BZ #16754]
44232         * manual/stdio.texi (Hook functions): Fix types of stream hook
44233         functions.
44234         [BZ #16854]
44235         * socket/sys/socket.h: Fix typo in comment.
44237 2014-04-28  Wilco  <wdijkstr@arm.com>
44239         * sysdeps/arm/fenv_private.h: New file.
44240         * sysdeps/arm/math_private.h: New file.
44241         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44243 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44245         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44246         with __int128_t.
44247         (La_x86_64_retval): Likewise.
44249 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44251         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44252         fpsr if value didn't change.
44253         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44254         to fpcr if value didn't change.
44255         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44256         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44257         fpsr or fpcr if value didn't change.
44258         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44259         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44260         fpcr if value didn't change.
44261         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44262         to fpsr if value didn't change.
44264 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44266         * nptl/tst-sem3.c: Use test-skeleton.c
44267         (main): Rename to do_test.  Use return instead of
44268         exit.
44269         * nptl/tst-sem4.c: Use test-skeleton.c
44270         (main): Rename to do_test.
44272 2014-04-22  David S. Miller  <davem@davemloft.net>
44274         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44275         (struct sigaction): New struct member __glibc_reserved0, change
44276         type of sa_flags to int.
44278 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44280         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44281         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44283 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44285         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44286         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44288 2014-04-22  Will Newton  <will.newton@linaro.org>
44289             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44291         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44292         (__longjmp): Add longjmp and longjmp_target SystemTap
44293         probes.
44294         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44295         (__sigsetjmp): Add setjmp SystemTap probe.
44297 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44299         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44300         match manual order.
44302 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44304         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44306         * sysdeps/powerpc/fpu/fenv_private.h
44307         (libc_feholdexcept_setroundl_ctx): Define to
44308         libc_feholdexcept_setround_ppc_ctx.
44309         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44310         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44311         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44312         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44314 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44316         * sysdeps/aarch64/math-tests.h: New file.
44318 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44320         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44321         New.
44322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44323         Check and set bit_AVX2_Usable.
44324         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44325         macro.
44326         (bit_AVX2): Likewise.
44327         (index_AVX2_Usable): Likewise.
44328         (CPUID_AVX2): Likewise.
44329         (HAS_AVX2): Likewise.
44331 2014-04-17  Will Newton  <will.newton@linaro.org>
44333         * manual/setjmp.texi (System V contexts): Add note that
44334         calling setcontext on a context created by a call to a
44335         signal handler is undefined.  Update text to note that
44336         setcontext from a signal handler is possible but not
44337         recommended.
44339         [BZ #16629]
44340         * stdlib/tst-setcontext.c: Include signal.h.
44341         (main): Check that the signal stack before and
44342         after swapcontext is the same.
44344         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44345         Re-implement to restore registers in user code and avoid
44346         rt_sigreturn system call.
44348 2014-04-17  Wilco  <wdijkstr@arm.com>
44350         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44351         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44352         * math/test-fenv.c: Skip exception trap tests on targets which only
44353         support non-stop mode.
44355 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44356             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44358         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44359         (libc_feholdsetround_aarch64_ctx)
44360         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44361         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44362         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44363         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44364         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44365         (libc_feresetround_noexl_ctx): Define.
44367 2014-04-16  Richard Henderson  <rth@redhat.com>
44369         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44371         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44372         unwind tables.
44374         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44375         const from the non-libc, non-ldso copy.
44377         * sysdeps/alpha/libm-test-ulps: Regenerate.
44379 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44380             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44382         * sysdeps/aarch64/fpu/math_private.h: New file.
44384 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44386         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44388 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44390         [BZ #16275]
44391         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44392         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44394         Intel MPX bound registers before _dl_profile_fixup.
44395         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44396         registers after _dl_profile_fixup.  Save and restore bound
44397         registers bnd0/bnd1 when calling _dl_call_pltexit.
44398         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44399         (LR_BND_OFFSET): Likewise.
44400         (LRV_BND0_OFFSET): Likewise.
44401         (LRV_BND1_OFFSET): Likewise.
44403 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44405         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44406         to...
44407         * sysdeps/mach/hurd/i386/tls.h: ... here.
44408         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44409         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44410         fields.
44412 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44414         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44416 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44418         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44420 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44422         [BZ #14770]
44423         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44424         * sysdeps/s390/configure: Regenerate.
44426         [BZ #16824]
44427         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44428         Set round-to-nearest internally to reduce error accumulation.
44430 2014-04-16  Alan Modra  <amodra@gmail.com>
44432         [BZ #16740]
44433         [BZ #16619]
44434         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44435         * math/libm-test.inc (frexp_test_data): Add tests.
44436         * NEWS: Update fixed bug list.
44438 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44440         * benchtests/Makefile: Depend on libraries in build directory.
44441         (bench-math): Separate out math tests.
44442         (bench-pthread): Separate out pthread tests.
44443         (bench): Include math and pthread tests.
44445 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44447         [BZ #16831]
44448         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44449         _dl_debug_initialize.
44451         * configure.ac: Remove SELinux header check.
44452         * configure: Regenerate.
44453         * nscd/selinux.c (perms): Array of const char* to permission names.
44454         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44455         default policy. Call string_to_security_class and string_to_av_perm to
44456         translate strings. Enforce default policy and call avs_has_perm with
44457         results of translated strings.
44459 2014-04-13  David S. Miller  <davem@davemloft.net>
44461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44463 2014-04-12  Allan McRae  <allan@archlinux.org>
44465         [BZ #16838]
44466         * manual/string.texi (Collation Functions): Fix qsort argument
44467         order in example.
44468         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44470 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44472         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44473         Make the test a no-op if there are no exceptions defined.
44475 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44477         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44478         enable-hardcoded-path-in-tests
44480 2014-04-11  Will Newton  <will.newton@linaro.org>
44482         * benchtests/Makefile (extra-objs): Add json-lib.o.
44483         (bench-func): Tidy up JSON output.
44484         * benchtests/bench-skeleton.c: Include json-lib.h.
44485         (main): Use JSON library functions to do output of
44486         benchmark results.
44487         * benchtests/bench-timing-type.c (main): Output the
44488         timing type simply, leaving formatting to the user.
44489         * benchtests/json-lib.c: New file.
44490         * benchtests/json-lib.h: Likewise.
44492 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44494         [BZ #15215]
44495         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44496         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44497         memory barriers.  Add comments.
44498         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44499         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44500         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44501         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44502         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44503         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44505 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44507         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44508         * sysdeps/s390/s390-64/configure.ac: ... this ...
44509         * sysdeps/s390/configure.ac: ... to here.
44510         * sysdeps/s390/s390-32/configure: Delete file.
44511         * sysdeps/s390/s390-64/configure: Delete file.
44512         * sysdeps/s390/configure: Regenerate.
44514 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44516         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44518 2014-04-11  Will Newton  <will.newton@linaro.org>
44520         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44521         to zero if it is not defined elsewhere.  (mtrim): Test
44522         the value of MALLOC_DEBUG with #if rather than #ifdef.
44524 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44526         * benchtests/pthread_once-inputs: New file.
44527         * benchtests/pthread_once-source.c: New file.
44528         * benchtests/README: Update documentation.
44530 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44531             H.J. Lu  <hongjiu.lu@intel.com>
44533         [BZ #16275]
44534         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44535         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44536         * sysdeps/x86_64/configure: Regenerated.
44537         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44538         macro.
44539         (REGISTER_SAVE_RAX): Likewise.
44540         (REGISTER_SAVE_RCX): Likewise.
44541         (REGISTER_SAVE_RDX): Likewise.
44542         (REGISTER_SAVE_RSI): Likewise.
44543         (REGISTER_SAVE_RDI): Likewise.
44544         (REGISTER_SAVE_R8): Likewise.
44545         (REGISTER_SAVE_R9): Likewise.
44546         (REGISTER_SAVE_BND0): Likewise.
44547         (REGISTER_SAVE_BND1): Likewise.
44548         (REGISTER_SAVE_BND2): Likewise.
44549         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44550         bound registers when calling _dl_fixup.
44552 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44554         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44555         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44556         of its definition.
44557         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44558         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44559         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44560         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44561         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44562         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44563         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44565 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44567         [BZ #15514]
44568         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44569         pathconf(_PC_NAME_MAX).
44571 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44573         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44574         Remove macro usage.
44575         (__PTHREAD_SPINS): Move definition to ...
44576         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44577         (__PTHREAD_SPINS): ... here.
44578         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44579         (__PTHREAD_SPIN): Likewise.
44580         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44581         (__PTHREAD_SPIN): Likewise.
44582         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44583         (__PTHREAD_SPIN): Likewise.
44584         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44585         (__PTHREAD_SPIN): Likewise.
44586         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44587         (__PTHREAD_SPIN): Likewise.
44588         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44589         (__PTHREAD_SPIN): Likewise.
44590         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44591         (__PTHREAD_SPIN): Likewise.
44592         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44593         (__PTHREAD_SPIN): Likewise.
44594         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44595         (__PTHREAD_SPIN): Likewise.
44596         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44597         (__PTHREAD_SPIN): Likewise.
44598         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44599         (__PTHREAD_SPIN): Likewise.
44600         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44601         (__PTHREAD_SPIN): Likewise.
44603         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44604         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44605         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44606         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44607         imply folder.
44608         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44609         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44610         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44611         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44612         correct imply path.
44613         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44614         strlen symbol for non multi-arch builds.
44615         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44616         missing hidden_def and weak_alias.
44618 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
44620         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44622 2014-04-07  Will Newton  <will.newton@linaro.org>
44624         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44625         and contents.  [!_LIBC] Remove #ifndef and contents.
44626         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
44627         * string/memccpy.c (__memccpy): Use ANSI prototype.
44628         * string/memfrob.c (memfrob): Likewise.
44629         * string/strcoll.c (STRCOLL): Likewise.
44630         * string/strlen.c (strlen): Likewise.
44631         * string/strtok.c (STRTOK): Likewise.
44632         * string/strcat.c: Remove unused #include of memcopy.h.
44633         (strcat): Use ANSI prototype.
44634         * string/strchr.c: Remove unused #include of memcopy.h.
44635         (strchr): Use ANSI prototype.
44636         * string/strcmp.c: Remove unused #include of memcopy.h.
44637         (strcmp): Use ANSI prototype.
44638         * string/strcpy.c: Remove unused #include of memcopy.h.
44639         (strcpy): Use ANSI prototype.
44641 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44643         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
44644         * config.make.in (config-extra-cppflags): Set it from
44645         libc_extra_cppflags.
44646         * configure.ac (libc_extra_cflags): Make it accumulate over
44647         configure fragments.
44648         (libc_extra_cppflags): New flag.
44649         * configure. Regenerate.
44650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44651         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
44652         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
44655         [BZ #16815]
44656         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
44657         result for FE_DOWNWARD rounding mode.
44658         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
44659         Likewise.
44660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44662 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
44664         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
44665         in function argument name.
44667 2014-04-03  David Svoboda  <svoboda@cert.org>
44669         [BZ #5666]
44670         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
44671         explicitly.
44673 2014-04-03  Roland McGrath  <roland@hack.frob.com>
44675         * elf/dl-unmap-segments.h: New file.
44676         * sysdeps/generic/ldsodefs.h
44677         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
44678         * elf/dl-close.c: Include <dl-unmap-segments.h>.
44679         * elf/dl-fptr.c: Likewise.
44680         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
44681         * sysdeps/aarch64/tlsdesc.c: Likewise.
44682         * sysdeps/arm/tlsdesc.c: Likewise.
44683         * sysdeps/i386/tlsdesc.c: Likewise.
44684         * sysdeps/tile/dl-runtime.c: Likewise.
44685         * sysdeps/x86_64/tlsdesc.c: Likewise.
44686         * elf/dl-load.h: New file.
44687         * elf/dl-load.c: Include it.
44688         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
44689         Macros moved to dl-load.h.
44690         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
44691         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
44692         Use _dl_unmap_segments in place of __munmap.
44693         Break out segment-mapping loop into ...
44694         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
44696 2014-04-03  Will Newton  <will.newton@linaro.org>
44698         * elf/dl-lookup.c (do_lookup_x): Remove comment
44699         referring to nested function and move variable
44700         declarations down to before first use.
44702 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
44704         [BZ #16799]
44705         [BZ #16800]
44706         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
44707         with 0 numerator.
44708         * math/s_catanf.c (__catanf): Likewise.
44709         * math/s_catanh.c (__catanh): Likewise.
44710         * math/s_catanhf.c (__catanhf): Likewise.
44711         * math/s_catanhl.c (__catanhl): Likewise.
44712         * math/s_catanl.c (__catanl): Likewise.
44713         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
44714         by positive zero when computing -Inf result.
44715         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
44716         (catanh_test): Likewise.
44717         * sysdeps/i386/fpu/libm-test-ulps: Update.
44718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44720         [BZ #16789]
44721         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
44722         instead of using underflowing value in computing result.
44723         * math/s_clog10.c (__clog10): Likewise.
44724         * math/s_clog10f.c (__clog10f): Likewise.
44725         * math/s_clog10l.c (__clog10l): Likewise.
44726         * math/s_clogf.c (__clogf): Likewise.
44727         * math/s_clogl.c (__clogl): Likewise.
44728         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
44729         (clog10_test): Likewise.
44730         * sysdeps/i386/fpu/libm-test-ulps: Update.
44731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44733 2014-04-02  Alan Modra  <amodra@gmail.com>
44735         [BZ #16739]
44736         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
44737         output when value is near a power of two.  Use int64_t for lx and
44738         remove casts.  Use decimal rather than hex exponent constants.
44739         Don't use long double multiplication when double will suffice.
44740         * math/libm-test.inc (nextafter_test_data): Add tests.
44741         * NEWS: Add 16739 and 16786 to bug list.
44743         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
44745         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
44747 2014-04-01  Will Newton  <will.newton@linaro.org>
44749         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
44750         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
44752 2014-04-01  Florian Weimer  <fweimer@redhat.com>
44754         [BZ #13347]
44755         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
44756         * nptl/tst-setuid2.c: New file.
44757         * nptl/Makefile (xtests): Add tst-setuid2.
44759 2014-04-01  Alan Modra  <amodra@gmail.com>
44761         [BZ #16786]
44762         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
44764 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44766         [BZ #6803]
44767         [BZ #6804]
44768         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
44769         set errno as appropriate.
44770         * math/w_scalbf.c (__scalbf): Likewise.
44771         * math/w_scalbl.c (__scalbl): Likewise.
44772         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
44773         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
44774         * math/libm-test.inc (scalb_test_data): Add errno expectations.
44775         Add more NaN tests.
44777         [BZ #16349]
44778         * math/w_atan2.c: Include <errno.h>.
44779         (__atan2): Set errno for result underflowing to zero.
44780         * math/w_atan2f.c: Include <errno.h>.
44781         (__atan2f): Set errno for result underflowing to zero.
44782         * math/w_atan2l.c: Include <errno.h>.
44783         (__atan2l): Set errno for result underflowing to zero.
44784         * math/auto-libm-test-in: Don't allow missing errno for some atan2
44785         tests.
44786         * math/auto-libm-test-out: Regenerated.
44788 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44790         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44791         Encode instruction correctly in little endian.
44792         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44793         Likewise.
44794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44795         Likewise.
44796         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44797         Likewise.
44798         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44799         Likewise.
44801 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44803         [BZ #9894]
44804         * sysdeps/unix/sysv/linux/kernel-features.h
44805         [__sparc__ && !__arch64__ && !__sparc_v9__]
44806         (__ASSUME_SET_ROBUST_LIST): Do not define.
44807         [__sparc__ && !__arch64__ && !__sparc_v9__]
44808         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44809         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
44810         Likewise.
44811         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44812         (__ASSUME_FUTEX_LOCK_PI): Undefine.
44813         (__ASSUME_REQUEUE_PI): Likewise.
44814         (__ASSUME_SET_ROBUST_LIST): Likewise.
44815         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44816         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
44817         Undefine.
44818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44819         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
44820         Likewise.
44821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
44822         Likewise.
44823         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
44824         Likewise.
44825         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44826         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
44827         Undefine.
44828         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
44829         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
44830         Likewise.
44832         [BZ #16648]
44833         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44834         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
44835         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
44837 2014-03-31  Will Newton  <will.newton@linaro.org>
44839         * benchtests/Makefile (bench): Add ffs and ffsll to list
44840         of tests.
44841         * benchtests/ffs-inputs: New file.
44842         * benchtests/ffsll-inputs: Likewise.
44844 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
44846         [BZ #16770]
44847         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
44848         too large before casting to int.
44849         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
44850         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
44851         * math/libm-test.inc (scalb_test_data): Add more tests.
44853 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44855         * benchtests/Makefile (DETAILED_OPT): New make option.
44856         (bench-func): Run benchmark program with -d if DETAILED_OPT is
44857         set.
44858         * benchtests/bench-skeleton.c: Include stdbool.h.
44859         (main): Store and print timings per input.
44860         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
44861         member to each argument value.
44862         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
44863         (_print_arg_data): Initialize per-input timing to 0.
44865         * benchtests/Makefile (timing-type): New binary.
44866         (bench-clean): Also remove bench-timing-type.
44867         (bench): New target for timing-type.
44868         (bench-func): Print output in JSON format.
44869         * benchtests/bench-skeleton.c (main): Print output in JSON
44870         format.
44871         * benchtests/bench-timing-type.c: New file.
44872         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
44873         (TIMING_PRINT_STATS): Remove.
44874         * benchtests/scripts/bench.py (_print_arg_data): Store variant
44875         name separately.
44877         * benchtests/bench-modf.c: Remove.
44878         * benchtests/modf-inputs: New inputs file.
44880 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
44882         [BZ #16362]
44883         * math/s_clog10.c (M_PI_LOG10E): New macro.
44884         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
44885         imaginary parts are 0.
44886         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
44887         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
44888         imaginary parts are 0.
44889         * math/s_clog10l.c (M_PI_LOG10El): New macro.
44890         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
44891         imaginary parts are 0.
44892         * math/libm-test.inc (clog10_test_data): Update expected results
44893         for when real and imaginary parts are 0.
44895 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
44897         * elf/dl-load.c: Finish conversion of __builtin_expect into
44898         __glibc_{un}likely.
44900 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
44902         [BZ #16348]
44903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
44904         1+x for argument with exponent below -67.
44905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
44906         Likewise.
44907         * math/auto-libm-test-in: Add more tests of exp.
44908         * math/auto-libm-test-out: Regenerated.
44910 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44912         [BZ #16759]
44913         * inet/getnetgrent_r.c (get_nonempty_val): New function.
44914         (nscd_getnetgrent): Use it.
44916         [BZ #16760]
44917         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
44918         of stpcpy.
44920 2014-03-27  Andi Kleen  <ak@linux.intel.com>
44922         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
44923         (lll_robust_lock, lll_cond_lock, lll_timedlock)
44924         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44925         (lll_robust_unlock): Remove out of line section. Use cfi
44926         intrinsics.
44927         (LLL_STUB_UNWIND_INFO*): Remove.
44928         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
44929         (lll_robust_lock, lll_cond_lock, lll_timedlock)
44930         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
44931         (lll_robust_unlock): Remove out of line section. Use cfi
44932         intrinsics.
44933         (LLL_STUB_UNWIND_INFO*): Remove.
44935 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44937         [BZ #16758]
44938         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
44939         blank values.
44941 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
44943         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
44945 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
44947         [BZ #16198]
44948         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
44949         fnstenv.
44950         * math/test-fenv-preserve.c: New file.
44951         * math/Makefile (tests): Add test-fenv-preserve.
44953 2014-03-26  Will Newton <will.newton@linaro.org>
44955         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
44957 2014-03-25  Roland McGrath  <roland@hack.frob.com>
44959         * scripts/versionlist.awk: Partition the version sets and emit all
44960         GLIBC_* (sorted) before all others (sorted).
44962 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
44964         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
44965         GLIBC_2.2.5 version.
44967 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44969         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
44970         calls.
44972         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
44973         previous change.
44975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44977 2014-03-25  Andreas Schwab  <schwab@suse.de>
44979         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
44980         label to be used after in6ailist is initialized.
44982 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44984         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44985         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
44987 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
44989         [BZ #16357]
44990         [BZ #16599]
44991         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
44992         min_plus_half.
44993         (fp_formats): Update initializers.
44994         (init_fp_formats): Initialize new field.
44995         (output_for_one_input_case): Allow underflow for results up to
44996         min_plus_half.
44997         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
44998         * math/auto-libm-test-in: Don't mark some underflows from asin and
44999         atanh as spurious.
45000         * math/auto-libm-test-out: Regenerated.
45001         * sysdeps/i386/fpu/libm-test-ulps: Update.
45002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45004 2014-03-25  Andreas Schwab  <schwab@suse.de>
45006         * libio/Makefile (tst-ftell-partial-wide-ENV)
45007         (tst-ftell-active-handler-ENV): Define.
45009 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45011         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45013 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45015         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45017 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45019         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45020         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45021         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45023 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45025         [BZ #16634]
45026         * elf/dl-load.c (open_verify): Add mode parameter.
45027         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45028         (open_path): Change from boolean 'secure' to complete flag 'mode'
45029         (_dl_map_object): Adjust.
45030         * elf/Makefile (tests): Add tst-dlopen-aout.
45031         * elf/tst-dlopen-aout.c: New test.
45033 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45035         [BZ #16714]
45036         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45037         (struct stat): Rename member pad0 to __glibc_reserved0.
45039         [BZ #16712]
45040         * sysdeps/s390/s390-32/bits/wordsize.h
45041         (__WORDSIZE32_SIZE_ULONG): New define.
45042         * sysdeps/s390/s390-64/bits/wordsize.h
45043         (__WORDSIZE32_SIZE_ULONG): Likewise.
45044         * sysdeps/generic/stdint.h (SIZE_MAX):
45045         Define as UL if __WORDSIZE32_SIZE_ULONG.
45047         [BZ #16713]
45048         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45049         (__glibc_reserved0): New variable.
45050         (sa_flags): Change type to int.
45052         * posix/Makefile (before-compile): Use += before-compile instead
45053         of a :=.
45055         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45056         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45058 2014-03-20  Andreas Schwab  <schwab@suse.de>
45060         [BZ #16743]
45061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45062         non-matching result from nscd.
45064 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45066         * scripts/bench.py: Moved to ...
45067         * benchtests/scripts/bench.py: ... here.
45068         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45070 2014-03-24  Andreas Schwab  <schwab@suse.de>
45072         [BZ #16002]
45073         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45074         alloca_account and account alloca use for struct in6ailist.
45076 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45078         [BZ #16284]
45079         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45080         rounding mode to recompute results that overflow to infinity or
45081         underflow to zero.
45082         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45083         bug 16284.
45084         * math/auto-libm-test-out: Regenerated.
45085         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45086         (ccosh_test): Likewise.
45087         (csin_test_data): Use plus_oflow.
45088         (csin_test): Use ALL_RM_TEST.
45089         (csinh_test_data): Use plus_oflow.
45090         (csinh_test): Use ALL_RM_TEST.
45091         * sysdeps/i386/fpu/libm-test-ulps: Update.
45092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45094 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45096         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45097         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45098         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45100         [BZ #16731]
45101         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45102         when x - 1 is zero.
45103         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45104         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45105         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45107         argument is 1.
45108         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45109         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45110         zero.
45111         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45112         * sysdeps/i386/fpu/libm-test-ulps: Update.
45113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45115 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45117         * scripts/bench.pl: Remove file.
45118         * scripts/bench.py: New benchmark script.
45119         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45120         * benchtests/README: Mention python dependency.
45121         * scripts/pylintrc: New file.
45122         * scripts/pylint: New file.
45124         * bits/mathdef.h: Use #ifdef instead of #if.
45125         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45126         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45127         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45128         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45129         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45130         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45132 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45133             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45135         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45137         and strpbrk-ppc64 objects.
45138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45139         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45140         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45141         multiarch strpbrk for POWER7.
45142         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45143         multiarch strpbrk for PPC64.
45144         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45145         ifunc selector.
45146         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45147         strpbrk for POWER7.
45149 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45151         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45152         (atan_test): Likewise.
45153         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45154         (atanh_test): Use ALL_RM_TEST.
45155         (atan2_test_data): Likewise.
45156         (cabs_test): Likewise.
45157         (cacosh_test): Likewise.
45158         (carg_test): Likewise.
45159         (casin_test): Likewise.
45160         (casinh_test): Likewise.
45161         (cbrt_test): Likewise.
45162         (csqrt_test): Likewise.
45163         (erf_test): Likewise.
45164         (erfc_test): Likewise.
45165         (pow10_test): Likewise.
45166         (exp2_test): Likewise.
45167         (hypot_test): Likewise.
45168         (j0_test): Likewise.
45169         (j1_test): Likewise.
45170         (lgamma_test): Likewise.
45171         (gamma_test): Likewise.
45172         (sincos_test): Likewise.
45173         (tanh_test): Likewise.
45174         (y0_test): Likewise.
45175         (y1_test): Likewise.
45176         * sysdeps/i386/fpu/libm-test-ulps: Update.
45177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45179 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45181         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45183         and strcspn-ppc64 objects.
45184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45185         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45186         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45187         multiarch strcspn for POWER7.
45188         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45189         multiarch strcspn for PPC64.
45190         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45191         ifunc selector.
45192         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45193         strcspn for POWER7.
45195 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45197         * math/gen-libm-test.pl (generate_testfile): Expect only function
45198         name as argument to AUTO_TESTS_* and pass results for all rounding
45199         modes to parse_args.
45200         (parse_auto_input): Separate inputs of automatic tests from
45201         outputs before storing in %auto_tests.
45202         * math/libm-test.inc (acos_test_data): Update call to
45203         AUTO_TESTS_f_f.
45204         (acos_test): Use ALL_RM_TEST.
45205         (acos_tonearest_test_data): Remove.
45206         (acos_test_tonearest): Likewise.
45207         (acos_towardzero_test_data): Likewise.
45208         (acos_test_towardzero): Likewise.
45209         (acos_downward_test_data): Likewise.
45210         (acos_test_downward): Likewise.
45211         (acos_upward_test_data): Likewise.
45212         (acos_test_upward): Likewise.
45213         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45214         (asin_test_data): Likewise.
45215         (asin_test): Use ALL_RM_TEST.
45216         (asin_tonearest_test_data): Remove.
45217         (asin_test_tonearest): Likewise.
45218         (asin_towardzero_test_data): Likewise.
45219         (asin_test_towardzero): Likewise.
45220         (asin_downward_test_data): Likewise.
45221         (asin_test_downward): Likewise.
45222         (asin_upward_test_data): Likewise.
45223         (asin_test_upward): Likewise.
45224         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45225         (atan_test_data): Likewise.
45226         (atanh_test_data): Likewise.
45227         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45228         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45229         (carg_test_data): Likewise.
45230         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45231         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45232         (ccosh_test_data): Likewise.
45233         (cexp_test_data): Likewise.
45234         (clog_test_data): Likewise.
45235         (clog10_test_data): Likewise.
45236         (cos_test_data): Update call to AUTO_TESTS_f_f.
45237         (cos_test): Use ALL_RM_TEST.
45238         (cos_tonearest_test_data): Remove.
45239         (cos_test_tonearest): Likewise.
45240         (cos_towardzero_test_data): Likewise.
45241         (cos_test_towardzero): Likewise.
45242         (cos_downward_test_data): Likewise.
45243         (cos_test_downward): Likewise.
45244         (cos_upward_test_data): Likewise.
45245         (cos_test_upward): Likewise.
45246         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45247         (cosh_test): Use ALL_RM_TEST.
45248         (cosh_tonearest_test_data): Remove.
45249         (cosh_test_tonearest): Likewise.
45250         (cosh_towardzero_test_data): Likewise.
45251         (cosh_test_towardzero): Likewise.
45252         (cosh_downward_test_data): Likewise.
45253         (cosh_test_downward): Likewise.
45254         (cosh_upward_test_data): Likewise.
45255         (cosh_test_upward): Likewise.
45256         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45257         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45258         (ctan_test_data): Likewise.
45259         (ctan_test): Use ALL_RM_TEST.
45260         (ctan_tonearest_test_data): Remove.
45261         (ctan_test_tonearest): Likewise.
45262         (ctan_towardzero_test_data): Likewise.
45263         (ctan_test_towardzero): Likewise.
45264         (ctan_downward_test_data): Likewise.
45265         (ctan_test_downward): Likewise.
45266         (ctan_upward_test_data): Likewise.
45267         (ctan_test_upward): Likewise.
45268         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45269         (ctanh_test): Use ALL_RM_TEST.
45270         (ctanh_tonearest_test_data): Remove.
45271         (ctanh_test_tonearest): Likewise.
45272         (ctanh_towardzero_test_data): Likewise.
45273         (ctanh_test_towardzero): Likewise.
45274         (ctanh_downward_test_data): Likewise.
45275         (ctanh_test_downward): Likewise.
45276         (ctanh_upward_test_data): Likewise.
45277         (ctanh_test_upward): Likewise.
45278         (erf_test_data): Update call to AUTO_TESTS_f_f.
45279         (erfc_test_data): Likewise.
45280         (exp_test_data): Likewise.
45281         (exp_test): Use ALL_RM_TEST.
45282         (exp_tonearest_test_data): Remove.
45283         (exp_test_tonearest): Likewise.
45284         (exp_towardzero_test_data): Likewise.
45285         (exp_test_towardzero): Likewise.
45286         (exp_downward_test_data): Likewise.
45287         (exp_test_downward): Likewise.
45288         (exp_upward_test_data): Likewise.
45289         (exp_test_upward): Likewise.
45290         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45291         (exp10_test): Use ALL_RM_TEST.
45292         (exp10_tonearest_test_data): Remove.
45293         (exp10_test_tonearest): Likewise.
45294         (exp10_towardzero_test_data): Likewise.
45295         (exp10_test_towardzero): Likewise.
45296         (exp10_downward_test_data): Likewise.
45297         (exp10_test_downward): Likewise.
45298         (exp10_upward_test_data): Likewise.
45299         (exp10_test_upward): Likewise.
45300         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45301         (expm1_test_data): Likewise.
45302         (expm1_test): Use ALL_RM_TEST.
45303         (expm1_tonearest_test_data): Remove.
45304         (expm1_test_tonearest): Likewise.
45305         (expm1_towardzero_test_data): Likewise.
45306         (expm1_test_towardzero): Likewise.
45307         (expm1_downward_test_data): Likewise.
45308         (expm1_test_downward): Likewise.
45309         (expm1_upward_test_data): Likewise.
45310         (expm1_test_upward): Likewise.
45311         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45312         (fma_test): Use ALL_RM_TEST.
45313         (fma_towardzero_test_data): Remove.
45314         (fma_test_towardzero): Likewise.
45315         (fma_downward_test_data): Likewise.
45316         (fma_test_downward): Likewise.
45317         (fma_upward_test_data): Likewise.
45318         (fma_test_upward): Likewise.
45319         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45320         (j0_test_data): Update call to AUTO_TESTS_f_f.
45321         (j1_test_data): Likewise.
45322         (jn_test_data): Update call to AUTO_TESTS_if_f.
45323         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45324         (log_test_data): Update call to AUTO_TESTS_f_f.
45325         (log10_test_data): Likewise.
45326         (log1p_test_data): Likewise.
45327         (log2_test_data): Likewise.
45328         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45329         (pow_tonearest_test_data): Likewise.
45330         (sin_test_data): Update call to AUTO_TESTS_f_f.
45331         (sin_test): Use ALL_RM_TEST.
45332         (sin_tonearest_test_data): Remove.
45333         (sin_test_tonearest): Likewise.
45334         (sin_towardzero_test_data): Likewise.
45335         (sin_test_towardzero): Likewise.
45336         (sin_downward_test_data): Likewise.
45337         (sin_test_downward): Likewise.
45338         (sin_upward_test_data): Likewise.
45339         (sin_test_upward): Likewise.
45340         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45341         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45342         (sinh_test): Use ALL_RM_TEST.
45343         (sinh_tonearest_test_data): Remove.
45344         (sinh_test_tonearest): Likewise.
45345         (sinh_towardzero_test_data): Likewise.
45346         (sinh_test_towardzero): Likewise.
45347         (sinh_downward_test_data): Likewise.
45348         (sinh_test_downward): Likewise.
45349         (sinh_upward_test_data): Likewise.
45350         (sinh_test_upward): Likewise.
45351         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45352         (sqrt_test): Use ALL_RM_TEST.
45353         (sqrt_tonearest_test_data): Remove.
45354         (sqrt_test_tonearest): Likewise.
45355         (sqrt_towardzero_test_data): Likewise.
45356         (sqrt_test_towardzero): Likewise.
45357         (sqrt_downward_test_data): Likewise.
45358         (sqrt_test_downward): Likewise.
45359         (sqrt_upward_test_data): Likewise.
45360         (sqrt_test_upward): Likewise.
45361         (tan_test_data): Update call to AUTO_TESTS_f_f.
45362         (tan_test): Use ALL_RM_TEST.
45363         (tan_tonearest_test_data): Remove.
45364         (tan_test_tonearest): Likewise.
45365         (tan_towardzero_test_data): Likewise.
45366         (tan_test_towardzero): Likewise.
45367         (tan_downward_test_data): Likewise.
45368         (tan_test_downward): Likewise.
45369         (tan_upward_test_data): Likewise.
45370         (tan_test_upward): Likewise.
45371         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45372         (tgamma_test_data): Likewise.
45373         (y0_test_data): Likewise.
45374         (y1_test_data): Likewise.
45375         (yn_test_data): Update call to AUTO_TESTS_if_f.
45376         (main): Do not call removed functions.
45378 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45380         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45381         (ldexp_test_data): Remove.
45382         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45383         scalbn_test_data.
45384         (scalb_test): Use ALL_RM_TEST.
45386 2014-03-19  Andreas Schwab  <schwab@suse.de>
45388         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45390 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45392         [BZ #16649]
45393         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45394         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45395         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45397         (__ASSUME_PREADV): Undefine.
45398         (__ASSUME_PWRITEV): Likewise.
45400 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45402         * bits/mman-linux.h: Add comment about non-Linux use.
45403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45404         bits/mman-linux.h resting place.
45406         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45407         * bits/mman-linux.h: ... here.
45409 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45411         * conform/conformtest.pl: Add standard definition when calling C
45412         preprocessor on data files.
45413         (checknamespace): Remove unused variable.
45415 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45417         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45418         minus_oflow, plus_uflow and minus_uflow in expected results.
45419         * math/libm-test.inc (scalbn_test_data): Add more tests of
45420         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45421         minus_uflow.
45422         (scalbn_test): Use ALL_RM_TEST.
45423         (scalbln_test_data): Add more tests of negative arguments.  Use
45424         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45425         (scalbln_test): Use ALL_RM_TEST.
45427 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45429         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45431 2014-03-18  Will Newton  <will.newton@linaro.org>
45433         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45434         inaccurate comment.
45436 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45438         * Makerules [!subdir] (check-abi): Exit with error status if a
45439         test failed.
45441 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45443         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45444         for rint.  Include results for all rounding modes.
45445         (nearbyint_test): Use ALL_RM_TEST.
45446         (rint_test_data): Include all tests used for nearbyint.
45448 2014-03-17  Will Newton  <will.newton@linaro.org>
45450         * nptl/sysdeps/pthread/pthread.h: Revert previous
45451         change.
45453         * sysdeps/generic/ldsodefs.h: Revert previous
45454         change.
45456         * libio/genops.c: Revert previous change.
45457         * libio/libioP.h: Likewise.
45458         * stdio-common/vfprintf.c: Likewise.
45460         * sysdeps/generic/math_private.h: Revert previous
45461         change.
45463         * sysdeps/generic/math_private.h: Check whether
45464         HAVE_RM_CTX is defined with #ifdef rather
45465         than #if.
45467         * argp/argp-fmtstream.h: Check whether
45468         __STRICT_ANSI__ is defined with #ifdef rather
45469         than #if.
45470         * argp/argp.h: Likewise.
45472         * libio/genops.c: Check whether
45473         _IO_JUMPS_OFFSET is defined with #ifdef rather
45474         than #if.
45475         * libio/libioP.h: Likewise.
45476         * stdio-common/vfprintf.c: Likewise.
45478         * sysdeps/generic/ldsodefs.h: Check whether
45479         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45480         than #if.
45482         * nptl/sysdeps/pthread/pthread.h: Check
45483         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45484         its value.
45486 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45488         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45489         setting O_APPEND.
45490         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45491         test case.
45493         [BZ #16680]
45494         * libio/fileops.c (_IO_file_open): Seek to end of file but
45495         don't cache the offset.
45496         (get_file_offset): Remove function.
45497         (do_ftell): Use cached offset when available.
45498         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45499         don't cache the offset.
45500         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45501         case.
45502         (do_one_test): Call it.
45503         (do_ftell_test): Fix up expected old offset for a+ mode.
45504         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45505         available.
45507         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45508         up test status with function return status.
45509         (do_write_test): Likewise.
45510         (do_append_test): Likewise.
45512         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45513         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45514         Remove.
45516 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45518         * math/gen-libm-test.pl (parse_args): Handle results specified for
45519         each rounding mode separately.
45520         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45521         tests and results from lrint_tonearest_test_data,
45522         lrint_towardzero_test_data, lrint_downward_test_data and
45523         lrint_upward_test_data.
45524         (lrint_test): Use ALL_RM_TEST.
45525         (lrint_tonearest_test_data): Remove.
45526         (lrint_test_tonearest): Likewise.
45527         (lrint_towardzero_test_data): Likewise.
45528         (lrint_test_towardzero): Likewise.
45529         (lrint_downward_test_data): Likewise.
45530         (lrint_test_downward): Likewise.
45531         (lrint_upward_test_data): Likewise.
45532         (lrint_test_upward): Likewise.
45533         (llrint_test_data): Merge in per-rounding-mode tests and results
45534         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45535         llrint_downward_test_data and llrint_upward_test_data.
45536         (llrint_test): Use ALL_RM_TEST.
45537         (llrint_tonearest_test_data): Remove.
45538         (llrint_test_tonearest): Likewise.
45539         (llrint_towardzero_test_data): Likewise.
45540         (llrint_test_towardzero): Likewise.
45541         (llrint_downward_test_data): Likewise.
45542         (llrint_test_downward): Likewise.
45543         (llrint_upward_test_data): Likewise.
45544         (llrint_test_upward): Likewise.
45545         (rint_test_data): Merge in per-rounding-mode tests and results
45546         from rint_tonearest_test_data, rint_towardzero_test_data,
45547         rint_downward_test_data and rint_upward_test_data.  Add
45548         per-rounding-mode results for tests not in those arrays.
45549         (rint_test): Use ALL_RM_TEST.
45550         (rint_tonearest_test_data): Remove.
45551         (rint_test_tonearest): Likewise.
45552         (rint_towardzero_test_data): Likewise.
45553         (rint_test_towardzero): Likewise.
45554         (rint_downward_test_data): Likewise.
45555         (rint_test_downward): Likewise.
45556         (rint_upward_test_data): Likewise.
45557         (rint_test_upward): Likewise.
45558         (main): Don't call removed functions.
45560 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45562         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45563         "Compiled on ..." crapola.  It is anti-useful.
45565 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45567         * scripts/evaluate-test.sh: Handle fourth argument to determine
45568         whether test run should stop on failure.
45569         * Makeconfig (stop-on-test-failure): New variable.
45570         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45571         $(stop-on-test-failure).
45572         * Makefile (tests): Give a summary of results from testing and
45573         exit with failure status if they include an ERROR or FAIL.
45574         (xtests): Likewise.
45575         * manual/install.texi (Configuring and compiling): Mention
45576         stop-on-test-failure=y.
45577         * INSTALL: Regenerated.
45579 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45581         * scripts/versionlist.awk: New file.
45582         * Makerules [$(build-shared) = yes]
45583         (postclean-generated): Add Versions.def, not Versions.def.v and
45584         Versions.def.v.i.
45585         ($(common-objpfx)Versions.def.v.i): Target removed.
45586         ($(common-objpfx)Versions.def): New target.
45587         ($(common-objpfx)Versions.all): Depend on that rather that
45588         $(common-objpfx)Versions.def.v.
45589         * Versions.def: File removed.
45591         * Makeconfig (+gccwarn): Add -Wundef.
45592         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45593         a dl-sysdep.h breaking its contract.
45594         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45595         * include/stackinfo.h: New file.
45596         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45597         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45598         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45599         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45600         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45601         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45602         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45603         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45604         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45605         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45606         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45607         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45608         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45609         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45610         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45612 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45614         [BZ #16707]
45615         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45616         implementation.
45617         * math/libm-test.inc (round_test_data): Add more tests.
45619         [BZ #16706]
45620         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45621         implementation.
45622         * math/libm-test.inc (nearbyint_test_data): Add more tests.
45624         [BZ #16701]
45625         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45626         implementation.
45627         * math/libm-test.inc (ceil_test_data): Add more tests.
45629         * math/libm-test.inc (trunc_test_data): Add more tests related to
45630         BZ#16414.
45632 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45634         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45635         with #if rather than #ifdef.
45636         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
45638 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
45640         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
45641         first.  Disable AVX-512 GCC support if assembler doesn't support
45642         it.
45643         * sysdeps/x86_64/configure: Regenerated.
45645 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
45647         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
45648         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
45649         (__old_pthread_attr_setstack): Likewise.
45650         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
45651         [!_STACK_GROWS_DOWN]: Likewise.
45653 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
45655         * config.make.in (have-bash2): Delete.
45656         * configure.ac (libc_cv_have_bash2): Delete.
45657         * configure: Regenerate.
45658         * elf/Makefile (common-ldd-rewrite): Rename to ...
45659         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
45660         (sh-ldd-rewrite): Delete.
45661         (bash-ldd-rewrite): Delete.
45662         (have-bash2): Delete checks.
45663         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
45664         ldd-rewrite.
45666         * config.make.in (have-ksh): Delete.
45667         (KSH): Delete.
45668         * configure.ac (libc_cv_have_ksh): Delete.
45669         * configure: Regenerate.
45671         * elf/Makefile: Delete $(have-ksh) check.
45672         ($(objpfx)sotruss): Change KSH to BASH.
45673         * elf/sotruss.ksh: Rename to ...
45674         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
45675         function style to match POSIX.  Drop ksh vim mode setting.
45677         * manual/time.texi (Specifying the Time Zone with TZ): Change
45678         Tuesday to Thursday.
45680         * debug/tst-longjmp_chk2.c: Update header comment.
45681         (stackoverflow_handler): Add comment.  Call assert on pass value.
45683 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
45685         [BZ #16194]
45686         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
45687         (HAVE_AVX512_ASM_SUPPORT): Likewise.
45688         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
45689         (La_x86_64_vector): Add zmm.
45690         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45691         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
45692         ($(objpfx)tst-audit10): New target.
45693         ($(objpfx)tst-audit10.out): Likewise.
45694         (tst-audit10-ENV): New.
45695         (AVX512-CFLAGS): Likewise.
45696         (CFLAGS-tst-audit10.c): Likewise.
45697         (CFLAGS-tst-auditmod10a.c): Likewise.
45698         (CFLAGS-tst-auditmod10b.c): Likewise.
45699         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
45700         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
45701         * sysdeps/x86_64/configure: Regenerated.
45702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45703         AVX-512 zmm register support.
45704         (_dl_x86_64_save_sse): Likewise.
45705         (_dl_x86_64_restore_sse): Likewise.
45706         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
45707         size vector registers.
45708         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
45709         (ZMM_SIZE): Likewise.
45710         * sysdeps/x86_64/tst-audit10.c: New file.
45711         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
45712         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
45714 2014-03-13  Roland McGrath  <roland@hack.frob.com>
45716         * configure.ac (HAVE_EHDR_START): New check.
45717         * configure: Regenerated.
45718         * config.h.in (HAVE_EHDR_START): New #undef.
45719         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
45720         assuming the lowest-addressed segment maps the start of the file.
45722 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
45724         * INSTALL: Regenerated.
45726 2014-03-13  Will Newton  <will.newton@linaro.org>
45728         * manual/setjmp.texi (System V contexts): Improve
45729         clarity and grammar of documentation.
45731 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
45733         [BZ #16381]
45734         * elf/Makefile (tests): Add tst-pie2.
45735         (tests-pie): Add tst-pie2.
45736         * elf/tst-pie2.c: New file.
45737         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
45738         for ET_EXEC.
45739         * elf/rtld.c (map_doit): Load executable as lt_executable.
45740         (dl_main): Likewise.
45742 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
45744         [BZ #16642]
45745         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45746         (__ASSUME_PSELECT): Undefine.
45748 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45750         [BZ #16689]
45751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
45752         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
45753         static build.
45754         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
45755         selector for static builds.
45757 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45759         [BZ #16695]
45760         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
45761         key in the buffer.
45763 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45765         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
45766         IFUNC selector for static builds.
45768 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
45770         * sysdeps/mips/math_private.h [__mips_hard_float]
45771         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
45772         libc_feresetround_mips_ctx.
45773         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
45774         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
45775         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
45777         [BZ #16677]
45778         * math/s_nextafter.c (__nextafter): Do not return value from
45779         overflowing computation.
45780         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
45781         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
45782         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
45783         Likewise.
45784         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
45785         Likewise.
45786         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
45787         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
45789 2014-03-11  Roland McGrath  <roland@hack.frob.com>
45791         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
45792         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
45793         Move sfi_sp use from the load-multiple (that no longer sets sp) to
45794         the new mov targetting sp.
45796 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45798         [BZ #16683]
45799         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
45800         Define it for static builds as well.
45801         (NO_BZERO_IMPL): Likewise.
45803 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45805         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
45806         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
45807         multiarch strspn for PPC64.
45808         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
45809         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
45810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45811         (__libc_ifunc_impl_list): Likewise.
45812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
45813         multiarch optimizations
45814         * string/strspn.c (strspn): Using macro to redefine symbol name.
45816 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45817             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45819         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
45820         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
45821         multiarch strncat for PPC64.
45822         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
45823         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
45824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45825         (__libc_ifunc_impl_list): Likewise.
45826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
45827         multiarch optimizations
45829 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45831         [BZ #16639]
45832         * nscd/nscd.service: Make service type forking.
45834 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45836         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
45837         sign in non default rounding modes.
45838         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
45840 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
45842         * math/libm-test.inc (ALL_RM_TEST): New macro.
45843         (ceil_test): Use ALL_RM_TEST.
45844         (cimag_test): Likewise.
45845         (conj_test): Likewise.
45846         (copysign_test): Likewise.
45847         (cproj_test): Likewise.
45848         (creal_test): Likewise.
45849         (fabs_test): Likewise.
45850         (floor_test): Likewise.
45851         (fmax_test): Likewise.
45852         (fmin_test): Likewise.
45853         (fmod_test): Likewise.
45854         (fpclassify_test): Likewise.
45855         (frexp_test): Likewise.
45856         (ilogb_test): Likewise.
45857         (isfinite_test): Likewise.
45858         (finite_test): Likewise.
45859         (isgreater_test): Likewise.
45860         (isgreaterequal_test): Likewise.
45861         (isinf_test): Likewise.
45862         (isless_test): Likewise.
45863         (islessequal_test): Likewise.
45864         (islessgreater_test): Likewise.
45865         (isnan_test): Likewise.
45866         (isnormal_test): Likewise.
45867         (issignaling_test): Likewise.
45868         (isunordered_test): Likewise.
45869         (logb_test): Likewise.
45870         (logb_downward_test_data): Remove.
45871         (logb_test_downward): Likewise.
45872         (lround_test): Use ALL_RM_TEST.
45873         (llround_test): Likewise.
45874         (modf_test): Likewise.
45875         (nexttoward_test): Likewise.
45876         (remainder_test): Likewise.
45877         (drem_test): Likewise.
45878         (remainder_tonearest_test_data): Likewise.
45879         (remainder_test_tonearest): Likewise.
45880         (drem_test_tonearest): Likewise.
45881         (remainder_towardzero_test_data): Likewise.
45882         (remainder_test_towardzero): Likewise.
45883         (drem_test_towardzero): Likewise.
45884         (remainder_downward_test_data): Likewise.
45885         (remainder_test_downward): Likewise.
45886         (drem_test_downward): Likewise.
45887         (remainder_upward_test_data): Likewise.
45888         (remainder_test_upward): Likewise.
45889         (drem_test_upward): Likewise.
45890         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
45891         (round_test): Use ALL_RM_TEST.
45892         (signbit_test): Likewise.
45893         (trunc_test): Likewise.
45894         (significand_test): Likewise.
45895         (main): Don't call removed functions.
45897 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
45899         [BZ #16674]
45900         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
45901         || __USE_XOPEN2K8].
45902         (ILL_ILLOPN): Likewise.
45903         (ILL_ILLADR): Likewise.
45904         (ILL_ILLTRP): Likewise.
45905         (ILL_PRVOPC): Likewise.
45906         (ILL_PRVREG): Likewise.
45907         (ILL_COPROC): Likewise.
45908         (ILL_BADSTK): Likewise.
45909         (FPE_INTDIV): Likewise.
45910         (FPE_INTOVF): Likewise.
45911         (FPE_FLTDIV): Likewise.
45912         (FPE_FLTOVF): Likewise.
45913         (FPE_FLTUND): Likewise.
45914         (FPE_FLTRES): Likewise.
45915         (FPE_FLTINV): Likewise.
45916         (FPE_FLTSUB): Likewise.
45917         (SEGV_MAPERR): Likewise.
45918         (SEGV_ACCERR): Likewise.
45919         (BUS_ADRALN): Likewise.
45920         (BUS_ADRERR): Likewise.
45921         (BUS_OBJERR): Likewise.
45922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45923         (TRAP_TRACE): Likewise.
45924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45925         __USE_XOPEN2K8].
45926         (CLD_KILLED): Likewise.
45927         (CLD_DUMPED): Likewise.
45928         (CLD_TRAPPED): Likewise.
45929         (CLD_STOPPED): Likewise.
45930         (CLD_CONTINUED): Likewise.
45931         (POLL_IN): Likewise.
45932         (POLL_OUT): Likewise.
45933         (POLL_MSG): Likewise.
45934         (POLL_ERR): Likewise.
45935         (POLL_PRI): Likewise.
45936         (POLL_HUP): Likewise.
45937         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
45938         Likewise.
45939         (ILL_ILLOPN): Likewise.
45940         (ILL_ILLADR): Likewise.
45941         (ILL_ILLTRP): Likewise.
45942         (ILL_PRVOPC): Likewise.
45943         (ILL_PRVREG): Likewise.
45944         (ILL_COPROC): Likewise.
45945         (ILL_BADSTK): Likewise.
45946         (FPE_INTDIV): Likewise.
45947         (FPE_INTOVF): Likewise.
45948         (FPE_FLTDIV): Likewise.
45949         (FPE_FLTOVF): Likewise.
45950         (FPE_FLTUND): Likewise.
45951         (FPE_FLTRES): Likewise.
45952         (FPE_FLTINV): Likewise.
45953         (FPE_FLTSUB): Likewise.
45954         (SEGV_MAPERR): Likewise.
45955         (SEGV_ACCERR): Likewise.
45956         (BUS_ADRALN): Likewise.
45957         (BUS_ADRERR): Likewise.
45958         (BUS_OBJERR): Likewise.
45959         (BUS_MCEERR_AR): Likewise.
45960         (BUS_MCEERR_AO): Likewise.
45961         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45962         (TRAP_TRACE): Likewise.
45963         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45964         __USE_XOPEN2K8].
45965         (CLD_KILLED): Likewise.
45966         (CLD_DUMPED): Likewise.
45967         (CLD_TRAPPED): Likewise.
45968         (CLD_STOPPED): Likewise.
45969         (CLD_CONTINUED): Likewise.
45970         (POLL_IN): Likewise.
45971         (POLL_OUT): Likewise.
45972         (POLL_MSG): Likewise.
45973         (POLL_ERR): Likewise.
45974         (POLL_PRI): Likewise.
45975         (POLL_HUP): Likewise.
45976         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
45977         (ILL_ILLOPN): Likewise.
45978         (ILL_ILLADR): Likewise.
45979         (ILL_ILLTRP): Likewise.
45980         (ILL_PRVOPC): Likewise.
45981         (ILL_PRVREG): Likewise.
45982         (ILL_COPROC): Likewise.
45983         (ILL_BADSTK): Likewise.
45984         (FPE_INTDIV): Likewise.
45985         (FPE_INTOVF): Likewise.
45986         (FPE_FLTDIV): Likewise.
45987         (FPE_FLTOVF): Likewise.
45988         (FPE_FLTUND): Likewise.
45989         (FPE_FLTRES): Likewise.
45990         (FPE_FLTINV): Likewise.
45991         (FPE_FLTSUB): Likewise.
45992         (SEGV_MAPERR): Likewise.
45993         (SEGV_ACCERR): Likewise.
45994         (BUS_ADRALN): Likewise.
45995         (BUS_ADRERR): Likewise.
45996         (BUS_OBJERR): Likewise.
45997         (BUS_MCEERR_AR): Likewise.
45998         (BUS_MCEERR_AO): Likewise.
45999         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46000         (TRAP_TRACE): Likewise.
46001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46002         __USE_XOPEN2K8].
46003         (CLD_KILLED): Likewise.
46004         (CLD_DUMPED): Likewise.
46005         (CLD_TRAPPED): Likewise.
46006         (CLD_STOPPED): Likewise.
46007         (CLD_CONTINUED): Likewise.
46008         (POLL_IN): Likewise.
46009         (POLL_OUT): Likewise.
46010         (POLL_MSG): Likewise.
46011         (POLL_ERR): Likewise.
46012         (POLL_PRI): Likewise.
46013         (POLL_HUP): Likewise.
46014         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46015         Likewise.
46016         (ILL_ILLOPN): Likewise.
46017         (ILL_ILLADR): Likewise.
46018         (ILL_ILLTRP): Likewise.
46019         (ILL_PRVOPC): Likewise.
46020         (ILL_PRVREG): Likewise.
46021         (ILL_COPROC): Likewise.
46022         (ILL_BADSTK): Likewise.
46023         (ILL_BADIADDR): Likewise.
46024         (ILL_BREAK): Likewise.
46025         (FPE_INTDIV): Likewise.
46026         (FPE_INTOVF): Likewise.
46027         (FPE_FLTDIV): Likewise.
46028         (FPE_FLTOVF): Likewise.
46029         (FPE_FLTUND): Likewise.
46030         (FPE_FLTRES): Likewise.
46031         (FPE_FLTINV): Likewise.
46032         (FPE_FLTSUB): Likewise.
46033         (FPE_DECOVF): Likewise.
46034         (FPE_DECDIV): Likewise.
46035         (FPE_DECERR): Likewise.
46036         (FPE_INVASC): Likewise.
46037         (FPE_INVDEC): Likewise.
46038         (SEGV_MAPERR): Likewise.
46039         (SEGV_ACCERR): Likewise.
46040         (SEGV_PSTKOVF): Likewise.
46041         (BUS_ADRALN): Likewise.
46042         (BUS_ADRERR): Likewise.
46043         (BUS_OBJERR): Likewise.
46044         (BUS_MCEERR_AR): Likewise.
46045         (BUS_MCEERR_AO): Likewise.
46046         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46047         (TRAP_TRACE): Likewise.
46048         (TRAP_BRANCH): Likewise.
46049         (TRAP_HWBKPT): Likewise.
46050         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46051         __USE_XOPEN2K8].
46052         (CLD_KILLED): Likewise.
46053         (CLD_DUMPED): Likewise.
46054         (CLD_TRAPPED): Likewise.
46055         (CLD_STOPPED): Likewise.
46056         (CLD_CONTINUED): Likewise.
46057         (POLL_IN): Likewise.
46058         (POLL_OUT): Likewise.
46059         (POLL_MSG): Likewise.
46060         (POLL_ERR): Likewise.
46061         (POLL_PRI): Likewise.
46062         (POLL_HUP): Likewise.
46063         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46064         (ILL_ILLOPN): Likewise.
46065         (ILL_ILLADR): Likewise.
46066         (ILL_ILLTRP): Likewise.
46067         (ILL_PRVOPC): Likewise.
46068         (ILL_PRVREG): Likewise.
46069         (ILL_COPROC): Likewise.
46070         (ILL_BADSTK): Likewise.
46071         (FPE_INTDIV): Likewise.
46072         (FPE_INTOVF): Likewise.
46073         (FPE_FLTDIV): Likewise.
46074         (FPE_FLTOVF): Likewise.
46075         (FPE_FLTUND): Likewise.
46076         (FPE_FLTRES): Likewise.
46077         (FPE_FLTINV): Likewise.
46078         (FPE_FLTSUB): Likewise.
46079         (SEGV_MAPERR): Likewise.
46080         (SEGV_ACCERR): Likewise.
46081         (BUS_ADRALN): Likewise.
46082         (BUS_ADRERR): Likewise.
46083         (BUS_OBJERR): Likewise.
46084         (BUS_MCEERR_AR): Likewise.
46085         (BUS_MCEERR_AO): Likewise.
46086         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46087         (TRAP_TRACE): Likewise.
46088         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46089         __USE_XOPEN2K8].
46090         (CLD_KILLED): Likewise.
46091         (CLD_DUMPED): Likewise.
46092         (CLD_TRAPPED): Likewise.
46093         (CLD_STOPPED): Likewise.
46094         (CLD_CONTINUED): Likewise.
46095         (POLL_IN): Likewise.
46096         (POLL_OUT): Likewise.
46097         (POLL_MSG): Likewise.
46098         (POLL_ERR): Likewise.
46099         (POLL_PRI): Likewise.
46100         (POLL_HUP): Likewise.
46101         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46102         (ILL_ILLOPN): Likewise.
46103         (ILL_ILLADR): Likewise.
46104         (ILL_ILLTRP): Likewise.
46105         (ILL_PRVOPC): Likewise.
46106         (ILL_PRVREG): Likewise.
46107         (ILL_COPROC): Likewise.
46108         (ILL_BADSTK): Likewise.
46109         (FPE_INTDIV): Likewise.
46110         (FPE_INTOVF): Likewise.
46111         (FPE_FLTDIV): Likewise.
46112         (FPE_FLTOVF): Likewise.
46113         (FPE_FLTUND): Likewise.
46114         (FPE_FLTRES): Likewise.
46115         (FPE_FLTINV): Likewise.
46116         (FPE_FLTSUB): Likewise.
46117         (SEGV_MAPERR): Likewise.
46118         (SEGV_ACCERR): Likewise.
46119         (BUS_ADRALN): Likewise.
46120         (BUS_ADRERR): Likewise.
46121         (BUS_OBJERR): Likewise.
46122         (BUS_MCEERR_AR): Likewise.
46123         (BUS_MCEERR_AO): Likewise.
46124         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46125         (TRAP_TRACE): Likewise.
46126         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46127         __USE_XOPEN2K8].
46128         (CLD_KILLED): Likewise.
46129         (CLD_DUMPED): Likewise.
46130         (CLD_TRAPPED): Likewise.
46131         (CLD_STOPPED): Likewise.
46132         (CLD_CONTINUED): Likewise.
46133         (POLL_IN): Likewise.
46134         (POLL_OUT): Likewise.
46135         (POLL_MSG): Likewise.
46136         (POLL_ERR): Likewise.
46137         (POLL_PRI): Likewise.
46138         (POLL_HUP): Likewise.
46139         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46140         (ILL_ILLOPN): Likewise.
46141         (ILL_ILLADR): Likewise.
46142         (ILL_ILLTRP): Likewise.
46143         (ILL_PRVOPC): Likewise.
46144         (ILL_PRVREG): Likewise.
46145         (ILL_COPROC): Likewise.
46146         (ILL_BADSTK): Likewise.
46147         (FPE_INTDIV): Likewise.
46148         (FPE_INTOVF): Likewise.
46149         (FPE_FLTDIV): Likewise.
46150         (FPE_FLTOVF): Likewise.
46151         (FPE_FLTUND): Likewise.
46152         (FPE_FLTRES): Likewise.
46153         (FPE_FLTINV): Likewise.
46154         (FPE_FLTSUB): Likewise.
46155         (SEGV_MAPERR): Likewise.
46156         (SEGV_ACCERR): Likewise.
46157         (BUS_ADRALN): Likewise.
46158         (BUS_ADRERR): Likewise.
46159         (BUS_OBJERR): Likewise.
46160         (BUS_MCEERR_AR): Likewise.
46161         (BUS_MCEERR_AO): Likewise.
46162         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46163         (TRAP_TRACE): Likewise.
46164         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46165         __USE_XOPEN2K8].
46166         (CLD_KILLED): Likewise.
46167         (CLD_DUMPED): Likewise.
46168         (CLD_TRAPPED): Likewise.
46169         (CLD_STOPPED): Likewise.
46170         (CLD_CONTINUED): Likewise.
46171         (POLL_IN): Likewise.
46172         (POLL_OUT): Likewise.
46173         (POLL_MSG): Likewise.
46174         (POLL_ERR): Likewise.
46175         (POLL_PRI): Likewise.
46176         (POLL_HUP): Likewise.
46177         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46178         (ILL_ILLOPN): Likewise.
46179         (ILL_ILLADR): Likewise.
46180         (ILL_ILLTRP): Likewise.
46181         (ILL_PRVOPC): Likewise.
46182         (ILL_PRVREG): Likewise.
46183         (ILL_COPROC): Likewise.
46184         (ILL_BADSTK): Likewise.
46185         (ILL_DBLFLT): Likewise.
46186         (ILL_HARDWALL): Likewise.
46187         (FPE_INTDIV): Likewise.
46188         (FPE_INTOVF): Likewise.
46189         (FPE_FLTDIV): Likewise.
46190         (FPE_FLTOVF): Likewise.
46191         (FPE_FLTUND): Likewise.
46192         (FPE_FLTRES): Likewise.
46193         (FPE_FLTINV): Likewise.
46194         (FPE_FLTSUB): Likewise.
46195         (SEGV_MAPERR): Likewise.
46196         (SEGV_ACCERR): Likewise.
46197         (BUS_ADRALN): Likewise.
46198         (BUS_ADRERR): Likewise.
46199         (BUS_OBJERR): Likewise.
46200         (BUS_MCEERR_AR): Likewise.
46201         (BUS_MCEERR_AO): Likewise.
46202         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46203         (TRAP_TRACE): Likewise.
46204         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46205         __USE_XOPEN2K8].
46206         (CLD_KILLED): Likewise.
46207         (CLD_DUMPED): Likewise.
46208         (CLD_TRAPPED): Likewise.
46209         (CLD_STOPPED): Likewise.
46210         (CLD_CONTINUED): Likewise.
46211         (POLL_IN): Likewise.
46212         (POLL_OUT): Likewise.
46213         (POLL_MSG): Likewise.
46214         (POLL_ERR): Likewise.
46215         (POLL_PRI): Likewise.
46216         (POLL_HUP): Likewise.
46217         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46218         (ILL_ILLOPN): Likewise.
46219         (ILL_ILLADR): Likewise.
46220         (ILL_ILLTRP): Likewise.
46221         (ILL_PRVOPC): Likewise.
46222         (ILL_PRVREG): Likewise.
46223         (ILL_COPROC): Likewise.
46224         (ILL_BADSTK): Likewise.
46225         (FPE_INTDIV): Likewise.
46226         (FPE_INTOVF): Likewise.
46227         (FPE_FLTDIV): Likewise.
46228         (FPE_FLTOVF): Likewise.
46229         (FPE_FLTUND): Likewise.
46230         (FPE_FLTRES): Likewise.
46231         (FPE_FLTINV): Likewise.
46232         (FPE_FLTSUB): Likewise.
46233         (SEGV_MAPERR): Likewise.
46234         (SEGV_ACCERR): Likewise.
46235         (BUS_ADRALN): Likewise.
46236         (BUS_ADRERR): Likewise.
46237         (BUS_OBJERR): Likewise.
46238         (BUS_MCEERR_AR): Likewise.
46239         (BUS_MCEERR_AO): Likewise.
46240         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46241         (TRAP_TRACE): Likewise.
46242         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46243         __USE_XOPEN2K8].
46244         (CLD_KILLED): Likewise.
46245         (CLD_DUMPED): Likewise.
46246         (CLD_TRAPPED): Likewise.
46247         (CLD_STOPPED): Likewise.
46248         (CLD_CONTINUED): Likewise.
46249         (POLL_IN): Likewise.
46250         (POLL_OUT): Likewise.
46251         (POLL_MSG): Likewise.
46252         (POLL_ERR): Likewise.
46253         (POLL_PRI): Likewise.
46254         (POLL_HUP): Likewise.
46255         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46256         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46258         [BZ #16670]
46259         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46260         before #include of <time.h>.
46261         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46262         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46263         (test-xfail-UNIX98/sched.h/conform): Likewise.
46265 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46267         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46268         error absence of trapping exception support.
46269         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46271 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46273         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46274         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46275         * timezone/Makefile (testdata): Move definition above include of
46276         Rules.
46277         (test-zones): New variable.
46278         (tests-special): Add zone files.
46279         (build-testdata): Use $(evaluate-test).
46281         * elf/Makefile (tests-special): Rename tests to end with .out.
46282         ($(objpfx)noload-mem): Likewise.
46283         ($(objpfx)tst-leaks1-mem): Likewise.
46284         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46285         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46286         $(objpfx)test-iconvconfig.out.
46287         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46288         set -e inside subshell and redirect output to file.
46289         * iconvdata/Makefile (generated): Rename tests to end with .out.
46290         Correct type.
46291         (tests-special): Rename tests to end with .out.
46292         ($(objpfx)mtrace-tst-loading): Likewise.
46293         * intl/Makefile (generated): Likewise.
46294         (tests-special): Likewise.
46295         ($(objpfx)mtrace-tst-gettext): Likewise.
46296         * misc/Makefile (generated): Likewise.
46297         (tests-special): Likewise.
46298         ($(objpfx)tst-error1-mem): Likewise.
46299         * nptl/Makefile (tests-special): Likewise.
46300         ($(objpfx)tst-stack3-mem): Likewise.
46301         (generated): Likewise.
46302         * posix/Makefile (generated): Likewise.
46303         (tests-special): Likewise.
46304         (xtests-special): Likewise.
46305         ($(objpfx)tst-fnmatch-mem): Likewise.
46306         ($(objpfx)bug-regex2-mem): Likewise.
46307         ($(objpfx)bug-regex14-mem): Likewise.
46308         ($(objpfx)bug-regex21-mem): Likewise.
46309         ($(objpfx)bug-regex31-mem): Likewise.
46310         ($(objpfx)tst-vfork3-mem): Likewise.
46311         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46312         ($(objpfx)tst-pcre-mem): Likewise.
46313         ($(objpfx)tst-boost-mem): Likewise.
46314         ($(objpfx)bug-ga2-mem): Likewise.
46315         ($(objpfx)bug-glob2-mem): Likewise.
46316         * resolv/Makefile (generate): Likewise.
46317         (tests-special): Likewise.
46318         (xtests-special): Likewise.
46319         (generated): Likewise.
46320         ($(objpfx)mtrace-tst-leaks): Likewise.
46321         ($(objpfx)mtrace-tst-leaks2): Likewise.
46323         * scripts/merge-test-results.sh: New file.
46324         * Makefile (tests-special-notdir): New variable.
46325         (tests): Run merge-test-results.sh.
46326         (xtests): Likewise.
46327         * Rules (tests-special-notdir): New variable.
46328         (xtests-special-notdir): Likewise.
46329         (tests): Run merge-test-results.sh
46330         (xtests): Likewise.
46332         * Makeconfig (test-xfail-name): New variable.
46333         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46334         compute variable name for expected failures.
46335         * conform/Makefile (conformtest-headers-data): New variable.
46336         (conformtest-standards): Likewise.
46337         (conformtest-headers-ISO): Likewise.
46338         (conformtest-headers-ISO99): Likewise.
46339         (conformtest-headers-ISO11): Likewise.
46340         (conformtest-headers-POSIX): Likewise.
46341         (conformtest-headers-XPG3): Likewise.
46342         (conformtest-headers-XPG4): Likewise.
46343         (conformtest-headers-UNIX98): Likewise.
46344         (conformtest-headers-XOPEN2K): Likewise.
46345         (conformtest-headers-POSIX2008): Likewise.
46346         (conformtest-headers-XOPEN2K8): Likewise.
46347         (conformtest-header-list-base): Likewise.
46348         (conformtest-header-list-tests): Likewise.
46349         (conformtest-header-base): Likewise.
46350         (conformtest-header-tests): Likewise.
46351         (tests-special): Add $(conformtest-header-list-tests).  If
46352         [$(fast-check) && !$(cross-compiling)], add
46353         $(conformtest-header-tests) instead of
46354         $(objpfx)run-conformtest.out.
46355         (generated): Add $(conformtest-header-list-base).  If
46356         [$(fast-check) && !$(cross-compiling)], add
46357         $(conformtest-header-base).  Remove previous setting.
46358         ($(conformtest-header-list-tests)): New target.
46359         (test-xfail-run-conformtest): Remove variable.
46360         ($(objpfx)run-conformtest.out): Remove target.
46361         (test-xfail-ISO11/complex.h/conform): New variable.
46362         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46363         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46364         (test-xfail-XPG3/varargs.h/conform): Likewise.
46365         (test-xfail-XPG4/varargs.h/conform): Likewise.
46366         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46367         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46368         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46369         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46370         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46371         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46372         (test-xfail-XPG3/ftw.h/conform): Likewise.
46373         (test-xfail-XPG3/grp.h/conform): Likewise.
46374         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46375         (test-xfail-XPG3/limits.h/conform): Likewise.
46376         (test-xfail-XPG3/pwd.h/conform): Likewise.
46377         (test-xfail-XPG3/search.h/conform): Likewise.
46378         (test-xfail-XPG3/signal.h/conform): Likewise.
46379         (test-xfail-XPG3/stdio.h/conform): Likewise.
46380         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46381         (test-xfail-XPG3/string.h/conform): Likewise.
46382         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46383         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46384         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46385         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46386         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46387         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46388         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46389         (test-xfail-XPG3/termios.h/conform): Likewise.
46390         (test-xfail-XPG3/time.h/conform): Likewise.
46391         (test-xfail-XPG3/unistd.h/conform): Likewise.
46392         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46393         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46394         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46395         (test-xfail-XPG4/netdb.h/conform): Likewise.
46396         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46397         (test-xfail-XPG4/signal.h/conform): Likewise.
46398         (test-xfail-XPG4/stdio.h/conform): Likewise.
46399         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46400         (test-xfail-XPG4/stropts.h/conform): Likewise.
46401         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46402         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46403         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46404         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46405         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46406         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46407         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46408         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46409         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46410         (test-xfail-XPG4/termios.h/conform): Likewise.
46411         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46412         (test-xfail-XPG4/unistd.h/conform): Likewise.
46413         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46414         (test-xfail-POSIX/sched.h/conform): Likewise.
46415         (test-xfail-POSIX/signal.h/conform): Likewise.
46416         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46417         (test-xfail-POSIX/tar.h/conform): Likewise.
46418         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46419         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46420         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46421         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46422         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46423         (test-xfail-UNIX98/sched.h/conform): Likewise.
46424         (test-xfail-UNIX98/signal.h/conform): Likewise.
46425         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46426         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46427         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46428         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46429         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46430         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46431         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46432         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46433         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46434         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46435         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46436         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46437         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46438         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46439         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46440         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46441         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46442         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46443         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46444         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46445         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46446         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46447         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46448         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46449         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46450         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46451         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46452         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46453         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46454         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46455         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46456         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46457         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46458         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46459         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46460         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46461         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46462         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46463         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46464         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46465         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46466         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46467         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46468         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46469         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46470         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46471         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46472         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46473         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46474         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46475         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46476         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46477         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46478         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46479         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46480         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46481         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46482         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46483         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46484         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46485         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46486         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46487         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46488         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46489         (conformtest-cc-flags): Likewise.
46490         ($(conformtest-header-tests): New target.
46491         * conform/check-header-lists.sh: New file.
46492         * conform/run-conformtest.sh: Remove.
46494         * conform/conformtest.pl: Allow ' and \ in values given for
46495         constants.
46496         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46497         inclusion.
46498         [POSIX] (sys/types.h): Likewise.
46499         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46500         inclusion.
46501         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46502         inclusion.
46503         * conform/data/signal.h-data (SIGIO): Remove expectation.
46504         [XPG3] (SIGBUS): Do not expect.
46505         [POSIX || XPG3] (SIGPOLL): Likewise.
46506         [POSIX || XPG3] (SIGPROF): Likewise.
46507         [POSIX || XPG3] (SIGSYS): Likewise.
46508         [XPG3] (SIGTRAP): Likewise.
46509         [POSIX || XPG3] (SIGURG): Likewise.
46510         [POSIX || XPG3] (SIGVTALRM): Likewise.
46511         [POSIX || XPG3] (SIGXCPU): Likewise.
46512         [POSIX || XPG3] (SIGXFSZ): Likewise.
46513         [POSIX] (SA_SIGINFO): Expect.
46514         [XPG3] (siginfo_t): Do not expect type or contents.
46515         [POSIX] (si_pid): Do not expect element.
46516         [POSIX] (si_uid): Likewise.
46517         [POSIX] (si_addr): Likewise.
46518         [POSIX] (si_status): Likewise.
46519         [POSIX] (si_band): Likewise.
46520         [XPG4] (si_value): Likewise.
46521         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46522         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46523         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46524         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46525         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46526         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46527         [POSIX || XPG3] (ILL_COPROC): Likewise.
46528         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46529         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46530         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46531         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46532         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46533         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46534         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46535         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46536         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46537         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46538         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46539         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46540         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46541         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46542         [POSIX || XPG3] (CLD_EXITED): Likewise.
46543         [POSIX || XPG3] (CLD_KILLED): Likewise.
46544         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46545         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46546         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46547         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46548         [POSIX || XPG3] (POLL_IN): Likewise.
46549         [POSIX || XPG3] (POLL_OUT): Likewise.
46550         [POSIX || XPG3] (POLL_MSG): Likewise.
46551         [POSIX || XPG3] (POLL_ERR): Likewise.
46552         [POSIX || XPG3] (POLL_PRI): Likewise.
46553         [POSIX || XPG3] (POLL_HUP): Likewise.
46554         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46555         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46556         (SIG*): Do not allow.
46557         [XPG3] (si_*): Likewise.
46558         [XPG3] (SI_*): Likewise.
46559         [XPG3 || XPG4] (sigev_*): Likewise.
46560         [XPG3 || XPG4] (SIGEV_*): Likewise.
46561         [XPG3 || XPG4] (sival_*): Likewise.
46562         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46563         [POSIX || XPG3] (BUS_*): Likewise.
46564         [POSIX || XPG3] (CLD_*): Likewise.
46565         [POSIX || XPG3] (FPE_*): Likewise.
46566         [POSIX || XPG3] (ILL_*): Likewise.
46567         [POSIX || XPG3] (POLL_*): Likewise.
46568         [POSIX || XPG3] (SEGV_*): Likewise.
46569         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46570         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46571         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46572         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46573         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46574         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46575         Specify type and value.
46576         (TVERSLEN): Likewise.
46577         (REGTYPE): Likewise.
46578         (AREGTYPE): Likewise.
46579         (LNKTYPE): Likewise.
46580         (SYMTYPE): Likewise.
46581         (CHRTYPE): Likewise.
46582         (BLKTYPE): Likewise.
46583         (DIRTYPE): Likewise.
46584         (FIFOTYPE): Likewise.
46585         (CONTTYPE): Likewise.
46586         (TSUID): Likewise.
46587         (TSGID): Likewise.
46588         (TSVTX): Likewise.
46589         (TUREAD): Likewise.
46590         (TUWRITE): Likewise.
46591         (TUEXEC): Likewise.
46592         (TGREAD): Likewise.
46593         (TGWRITE): Likewise.
46594         (TGEXEC): Likewise.
46595         (TOREAD): Likewise.
46596         (TOWRITE): Likewise.
46597         (TOEXEC): Likewise.
46598         [POSIX] (TSVTX): Expect constant.
46600 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46602         * Makefile (tests): Change dependencies to ....
46603         (tests-special): ... additions to this variable.
46604         (tests): Depend on $(tests-special).
46605         * Makerules (check-abi-list): New variable.
46606         (check-abi): Depend on $(check-abi-list).
46607         [$(subdir) = elf] (tests-special): Add
46608         $(objpfx)check-abi-libc.out.
46609         [$(build-shared) = yes && subdir] (tests-special): Add
46610         $(check-abi-list).
46611         [$(build-shared) = yes && subdir] (tests): Do not depend on
46612         check-abi.
46613         * Rules (tests): Depend on $(tests-special).
46614         (xtests): Depend on $(xtests-special).
46615         * catgets/Makefile (tests): Change dependencies to ....
46616         (tests-special): ... additions to this variable.
46617         * conform/Makefile (tests): Change dependencies to ....
46618         (tests-special): ... additions to this variable.
46619         * elf/Makefile (tests): Change dependencies to ....
46620         (tests-special): ... additions to this variable.
46621         * grp/Makefile (tests): Change dependencies to ....
46622         (tests-special): ... additions to this variable.
46623         * iconv/Makefile (xtests): Change dependencies to ....
46624         (xtests-special): ... additions to this variable.
46625         * iconvdata/Makefile (tests): Change dependencies to ....
46626         (tests-special): ... additions to this variable.
46627         * intl/Makefile (tests): Change dependencies to ....
46628         (tests-special): ... additions to this variable.  Also add
46629         $(objpfx)tst-gettext.out.
46630         * io/Makefile (tests): Change dependencies to ....
46631         (tests-special): ... additions to this variable.
46632         * libio/Makefile (tests): Change dependencies to ....
46633         (tests-special): ... additions to this variable.
46634         * malloc/Makefile (tests): Change dependencies to ....
46635         (tests-special): ... additions to this variable.
46636         * misc/Makefile (tests): Change dependencies to ....
46637         (tests-special): ... additions to this variable.
46638         * nptl/Makefile (tests): Change dependencies to ....
46639         (tests-special): ... additions to this variable.
46640         * nptl_db/Makefile (tests): Change dependencies to ....
46641         (tests-special): ... additions to this variable.
46642         * posix/Makefile (tests): Change dependencies to ....
46643         (tests-special): ... additions to this variable.
46644         (xtests): Change dependencies to ....
46645         (xtests-special): ... additions to this variable.
46646         * resolv/Makefile (tests): Change dependencies to ....
46647         (tests-special): ... additions to this variable.
46648         (xtests): Change dependencies to ....
46649         (xtests-special): ... additions to this variable.
46650         * stdio-common/Makefile (tests): Change dependencies to ....
46651         (tests-special): ... additions to this variable.
46652         (do-tst-unbputc): Remove target.
46653         (do-tst-printf): Likewise.
46654         * stdlib/Makefile (tests): Change dependencies to ....
46655         (tests-special): ... additions to this variable.
46656         * string/Makefile (tests): Change dependencies to ....
46657         (tests-special): ... additions to this variable.
46658         * sysdeps/x86/Makefile (tests): Change dependencies to ....
46659         (tests-special): ... additions to this variable.
46661         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
46662         whole file.
46663         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
46664         whole file.
46665         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
46666         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
46668         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
46669         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
46670         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
46671         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
46672         * conform/data/libgen.h-data [XPG3]: Likewise.
46673         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
46674         * conform/data/ndbm.h-data [XPG3]: Likewise.
46675         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46676         * conform/data/netdb.h-data [XPG3]: Likewise.
46677         * conform/data/netinet/in.h-data [XPG3]: Likewise.
46678         * conform/data/poll.h-data [XPG3]: Likewise.
46679         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46680         * conform/data/strings.h-data [XPG3]: Likewise.
46681         * conform/data/stropts.h-data [XPG3]: Likewise.
46682         * conform/data/sys/mman.h-data [XPG3]: Likewise.
46683         * conform/data/sys/resource.h-data [XPG3]: Likewise.
46684         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
46685         Likewise.
46686         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
46687         * conform/data/sys/time.h-data [XPG3]: Likewise.
46688         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
46689         * conform/data/sys/uio.h-data [XPG3]: Likewise.
46690         * conform/data/sys/un.h-data [XPG3]: Likewise.
46691         * conform/data/syslog.h-data [XPG3]: Likewise.
46692         * conform/data/ucontext.h-data [XPG3]: Likewise.
46693         * conform/data/utmpx.h-data [XPG3]: Likewise.
46694         * conform/data/varargs.h-data [UNIX98]: Enable file.
46696         * manual/Makefile (INSTALL_INFO): Remove variable setting.
46698         * math/libm-test.inc (struct test_f_f_data): Move expected results
46699         into structure for each rounding mode.
46700         (struct test_ff_f_data): Likewise.
46701         (struct test_ff_f_data_nexttoward): Likewise.
46702         (struct test_fi_f_data): Likewise.
46703         (struct test_fl_f_data): Likewise.
46704         (struct test_if_f_data): Likewise.
46705         (struct test_fff_f_data): Likewise.
46706         (struct test_c_f_data): Likewise.
46707         (struct test_f_f1_data): Likewise.
46708         (struct test_fF_f1_data): Likewise.
46709         (struct test_ffI_f1_data): Likewise.
46710         (struct test_c_c_data): Likewise.
46711         (struct test_cc_c_data): Likewise.
46712         (struct test_f_i_data): Likewise.
46713         (struct test_ff_i_data): Likewise.
46714         (struct test_f_l_data): Likewise.
46715         (struct test_f_L_data): Likewise.
46716         (struct test_fFF_11_data): Likewise.
46717         (RM_): New macro.
46718         (RM_FE_DOWNWARD): Likewise.
46719         (RM_FE_TONEAREST): Likewise.
46720         (RM_FE_TOWARDZERO): Likewise.
46721         (RM_FE_UPWARD): Likewise.
46722         (RUN_TEST_LOOP_f_f): Update references to expected results.
46723         (RUN_TEST_LOOP_2_f): Likewise.
46724         (RUN_TEST_LOOP_fff_f): Likewise.
46725         (RUN_TEST_LOOP_c_f): Likewise.
46726         (RUN_TEST_LOOP_f_f1): Likewise.
46727         (RUN_TEST_LOOP_fF_f1): Likewise.
46728         (RUN_TEST_LOOP_fI_f1): Likewise.
46729         (RUN_TEST_LOOP_ffI_f1): Likewise.
46730         (RUN_TEST_LOOP_c_c): Likewise.
46731         (RUN_TEST_LOOP_cc_c): Likewise.
46732         (RUN_TEST_LOOP_f_i): Likewise.
46733         (RUN_TEST_LOOP_f_i_tg): Likewise.
46734         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46735         (RUN_TEST_LOOP_f_b): Likewise.
46736         (RUN_TEST_LOOP_f_b_tg): Likewise.
46737         (RUN_TEST_LOOP_f_l): Likewise.
46738         (RUN_TEST_LOOP_f_L): Likewise.
46739         (RUN_TEST_LOOP_fFF_11): Likewise.
46740         * math/gen-libm-test.pl (parse_args): Output four copies of
46741         expected results for each test.
46743         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46744         (__ASSUME_UTIMES): Remove.
46745         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46746         (__ASSUME_UTIMES): Likewise.
46748         * math/gen-auto-libm-tests.c: Update comment on output format.
46749         (output_for_one_input_case): Generate before-rounding and
46750         after-rounding information as conditions on output flags not
46751         floating-point format.
46752         * math/auto-libm-test-out: Regenerated.
46753         * math/gen-libm-test.pl (cond_value): New function.
46754         (or_cond_value): Use cond_value.
46755         (generate_testfile): Handle conditional exceptions.
46757 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
46759         * math/libm-test.inc (max_valid_error): New variable.
46760         (init_max_error): Take new argument specifying whether function
46761         results are exactly determined.  Set max_valid_error and bound
46762         other variables for errors based on this argument.
46763         (set_max_error): Do not record results above max_valid_error.
46764         (check_float_internal): Only accept errors of up to 0.5ulps if
46765         also at most max_valid_error.
46766         (START): Take new argument EXACT and pass it to init_max_error.
46767         (acos_test): Update call to START.
46768         (acos_test_tonearest): Likewise.
46769         (acos_test_towardzero): Likewise.
46770         (acos_test_downward): Likewise.
46771         (acos_test_upward): Likewise.
46772         (acosh_test): Likewise.
46773         (asin_test): Likewise.
46774         (asin_test_tonearest): Likewise.
46775         (asin_test_towardzero): Likewise.
46776         (asin_test_downward): Likewise.
46777         (asin_test_upward): Likewise.
46778         (asinh_test): Likewise.
46779         (atan_test): Likewise.
46780         (atanh_test): Likewise.
46781         (atan2_test): Likewise.
46782         (cabs_test): Likewise.
46783         (cacos_test): Likewise.
46784         (cacosh_test): Likewise.
46785         (carg_test): Likewise.
46786         (casin_test): Likewise.
46787         (casinh_test): Likewise.
46788         (catan_test): Likewise.
46789         (catanh_test): Likewise.
46790         (cbrt_test): Likewise.
46791         (ccos_test): Likewise.
46792         (ccosh_test): Likewise.
46793         (ceil_test): Likewise.
46794         (cexp_test): Likewise.
46795         (cimag_test): Likewise.
46796         (clog_test): Likewise.
46797         (clog10_test): Likewise.
46798         (conj_test): Likewise.
46799         (copysign_test): Likewise.
46800         (cos_test): Likewise.
46801         (cos_test_tonearest): Likewise.
46802         (cos_test_towardzero): Likewise.
46803         (cos_test_downward): Likewise.
46804         (cos_test_upward): Likewise.
46805         (cosh_test): Likewise.
46806         (cosh_test_tonearest): Likewise.
46807         (cosh_test_towardzero): Likewise.
46808         (cosh_test_downward): Likewise.
46809         (cosh_test_upward): Likewise.
46810         (cpow_test): Likewise.
46811         (cproj_test): Likewise.
46812         (creal_test): Likewise.
46813         (csin_test): Likewise.
46814         (csinh_test): Likewise.
46815         (csqrt_test): Likewise.
46816         (ctan_test): Likewise.
46817         (ctan_test_tonearest): Likewise.
46818         (ctan_test_towardzero): Likewise.
46819         (ctan_test_downward): Likewise.
46820         (ctan_test_upward): Likewise.
46821         (ctanh_test): Likewise.
46822         (ctanh_test_tonearest): Likewise.
46823         (ctanh_test_towardzero): Likewise.
46824         (ctanh_test_downward): Likewise.
46825         (ctanh_test_upward): Likewise.
46826         (erf_test): Likewise.
46827         (erfc_test): Likewise.
46828         (exp_test): Likewise.
46829         (exp_test_tonearest): Likewise.
46830         (exp_test_towardzero): Likewise.
46831         (exp_test_downward): Likewise.
46832         (exp_test_upward): Likewise.
46833         (exp10_test): Likewise.
46834         (exp10_test_tonearest): Likewise.
46835         (exp10_test_towardzero): Likewise.
46836         (exp10_test_downward): Likewise.
46837         (exp10_test_upward): Likewise.
46838         (pow10_test): Likewise.
46839         (exp2_test): Likewise.
46840         (expm1_test): Likewise.
46841         (expm1_test_tonearest): Likewise.
46842         (expm1_test_towardzero): Likewise.
46843         (expm1_test_downward): Likewise.
46844         (expm1_test_upward): Likewise.
46845         (fabs_test): Likewise.
46846         (fdim_test): Likewise.
46847         (floor_test): Likewise.
46848         (fma_test): Likewise.
46849         (fma_test_towardzero): Likewise.
46850         (fma_test_downward): Likewise.
46851         (fma_test_upward): Likewise.
46852         (fmax_test): Likewise.
46853         (fmin_test): Likewise.
46854         (fmod_test): Likewise.
46855         (fpclassify_test): Likewise.
46856         (frexp_test): Likewise.
46857         (hypot_test): Likewise.
46858         (ilogb_test): Likewise.
46859         (isfinite_test): Likewise.
46860         (finite_test): Likewise.
46861         (isgreater_test): Likewise.
46862         (isgreaterequal_test): Likewise.
46863         (isinf_test): Likewise.
46864         (isless_test): Likewise.
46865         (islessequal_test): Likewise.
46866         (islessgreater_test): Likewise.
46867         (isnan_test): Likewise.
46868         (isnormal_test): Likewise.
46869         (issignaling_test): Likewise.
46870         (isunordered_test): Likewise.
46871         (j0_test): Likewise.
46872         (j1_test): Likewise.
46873         (jn_test): Likewise.
46874         (ldexp_test): Likewise.
46875         (lgamma_test): Likewise.
46876         (gamma_test): Likewise.
46877         (lrint_test): Likewise.
46878         (lrint_test_tonearest): Likewise.
46879         (lrint_test_towardzero): Likewise.
46880         (lrint_test_downward): Likewise.
46881         (lrint_test_upward): Likewise.
46882         (llrint_test): Likewise.
46883         (llrint_test_tonearest): Likewise.
46884         (llrint_test_towardzero): Likewise.
46885         (llrint_test_downward): Likewise.
46886         (llrint_test_upward): Likewise.
46887         (log_test): Likewise.
46888         (log10_test): Likewise.
46889         (log1p_test): Likewise.
46890         (log2_test): Likewise.
46891         (logb_test): Likewise.
46892         (logb_test_downward): Likewise.
46893         (lround_test): Likewise.
46894         (llround_test): Likewise.
46895         (modf_test): Likewise.
46896         (nearbyint_test): Likewise.
46897         (nextafter_test): Likewise.
46898         (nexttoward_test): Likewise.
46899         (pow_test): Likewise.
46900         (pow_test_tonearest): Likewise.
46901         (pow_test_towardzero): Likewise.
46902         (pow_test_downward): Likewise.
46903         (pow_test_upward): Likewise.
46904         (remainder_test): Likewise.
46905         (drem_test): Likewise.
46906         (remainder_test_tonearest): Likewise.
46907         (drem_test_tonearest): Likewise.
46908         (remainder_test_towardzero): Likewise.
46909         (drem_test_towardzero): Likewise.
46910         (remainder_test_downward): Likewise.
46911         (drem_test_downward): Likewise.
46912         (remainder_test_upward): Likewise.
46913         (drem_test_upward): Likewise.
46914         (remquo_test): Likewise.
46915         (rint_test): Likewise.
46916         (rint_test_tonearest): Likewise.
46917         (rint_test_towardzero): Likewise.
46918         (rint_test_downward): Likewise.
46919         (rint_test_upward): Likewise.
46920         (round_test): Likewise.
46921         (scalb_test): Likewise.
46922         (scalbn_test): Likewise.
46923         (scalbln_test): Likewise.
46924         (signbit_test): Likewise.
46925         (sin_test): Likewise.
46926         (sin_test_tonearest): Likewise.
46927         (sin_test_towardzero): Likewise.
46928         (sin_test_downward): Likewise.
46929         (sin_test_upward): Likewise.
46930         (sincos_test): Likewise.
46931         (sinh_test): Likewise.
46932         (sinh_test_tonearest): Likewise.
46933         (sinh_test_towardzero): Likewise.
46934         (sinh_test_downward): Likewise.
46935         (sinh_test_upward): Likewise.
46936         (sqrt_test): Likewise.
46937         (sqrt_test_tonearest): Likewise.
46938         (sqrt_test_towardzero): Likewise.
46939         (sqrt_test_downward): Likewise.
46940         (sqrt_test_upward): Likewise.
46941         (tan_test): Likewise.
46942         (tan_test_tonearest): Likewise.
46943         (tan_test_towardzero): Likewise.
46944         (tan_test_downward): Likewise.
46945         (tan_test_upward): Likewise.
46946         (tanh_test): Likewise.
46947         (tgamma_test): Likewise.
46948         (trunc_test): Likewise.
46949         (y0_test): Likewise.
46950         (y1_test): Likewise.
46951         (yn_test): Likewise.
46952         (significand_test): Likewise.
46954         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
46955         individual tests in comment.
46956         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
46957         (prev_max_error): New variable.
46958         (prev_real_max_error): Likewise.
46959         (prev_imag_max_error): Likewise.
46960         (compare_ulp_data): Don't refer to test names in comment.
46961         (find_test_ulps): Remove function.
46962         (find_function_ulps): Likewise.
46963         (find_complex_function_ulps): Likewise.
46964         (init_max_error): Take function name as argument.  Look up ulps
46965         for that function.
46966         (print_ulps): Remove function.
46967         (print_max_error): Use prev_max_error instead of calling
46968         find_function_ulps.
46969         (print_complex_max_error): Use prev_real_max_error and
46970         prev_imag_max_error instead of calling find_complex_function_ulps.
46971         (check_float_internal): Take max_ulp parameter instead of calling
46972         find_test_ulps.  Don't call print_ulps.
46973         (check_float): Update call to check_float_internal.
46974         (check_complex): Update calls to check_float_internal.
46975         (START): Pass argument to init_max_error.
46976         * math/gen-libm-test.pl (%results): Don't include "kind"
46977         information.
46978         (parse_ulps): Don't handle ulps of individual tests.
46979         (print_ulps_file): Likewise.
46980         (output_ulps): Likewise.
46981         * math/README.libm-test: Update.
46982         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
46983         individual tests.
46984         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
46985         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
46986         * sysdeps/arm/libm-test-ulps: Likewise.
46987         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
46988         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
46989         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
46990         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
46991         * sysdeps/microblaze/libm-test-ulps: Likewise.
46992         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
46993         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46994         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46995         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
46996         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46997         * sysdeps/sh/libm-test-ulps: Likewise.
46998         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46999         * sysdeps/tile/libm-test-ulps: Likewise.
47000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47002 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47004         * math/libm-test.inc (print_complex_max_error): Check separately
47005         whether real and imaginary errors are within allowed range and
47006         pass 0 to print_complex_function_ulps instead of value within
47007         allowed range.
47009 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47011         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47012         formatting.
47013         (get_handles_fopen): Likewise.
47014         (do_write_test): Likewise.
47016         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47018         * libio/fileops.c (do_ftell): Use cached offset when
47019         available.
47020         * libio/iofwide.c (do_ftell_wide): Likewise.
47021         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47022         _IO_file_attach.
47023         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47025         [BZ #16532]
47026         * libio/libioP.h (get_file_offset): New function.
47027         * libio/fileops.c (get_file_offset): Likewise.
47028         (do_ftell): Likewise.
47029         (_IO_new_file_seekoff): Split out ftell logic.
47030         * libio/wfileops.c (do_ftell_wide): Likewise.
47031         (_IO_wfile_seekoff): Split out ftell logic.
47032         * libio/tst-ftell-active-handler.c: New test case.
47033         * libio/Makefile (tests): Add it.
47035 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47037         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47038         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47040 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47042         [BZ #16639]
47043         * nscd/connections.c (nscd_init): Call do_exit.
47044         (start_threads): Call do_exit and notify_parent.
47045         (begin_drop_privileges): Call do_exit.
47046         (finish_drop_privileges): Likewise.
47047         * nscd/selinux.c (preserve_capabilities): Likewise.
47048         (install_real_capabilities): Likewise.
47049         (nscd_selinux_enabled): Likewise.
47050         (avc_create_thread): Likewise.
47051         (avc_alloc_lock): Likewise.
47052         (nscd_avc_init): Likewise.
47053         * nscd/nscd.c (parent_fd): New static variable.
47054         (main): Create a pipe between parent and child processes.
47055         Skip closing parent_fd.
47056         (monitor_child): New function.
47057         (do_exit): Likewise.
47058         (notify_parent): Likewise.
47059         * nscd/nscd.h (notify_parent): Likewise.
47060         (do_exit): Likewise.
47062 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47064         * malloc/malloc.c (__libc_calloc): Revert last change.
47066 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47070 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47072         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47074         implementation.
47075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47076         (__libc_ifunc_impl_list): Likewise.
47077         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47078         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47079         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47080         * string/strrchr.c: Define STRRCHR.
47082 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47084         * benchtest/bench-strtok.c (simple_strtok): Delete.
47085         (strtok_string): Use as benchmark.
47086         * string/strtok (STRTOK): New macro.
47088 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47090         * manual/threads.texi: Add header and standard comments to all
47091         functions.
47093         * elf/dl-lookup.c (check_match): New function.
47094         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47095         (do_lookup_x): Remove nested function check_match. Use non-nested
47096         function check_match.
47098 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47100         * csu/Makefile (generated, before-compile): Use += rather than =.
47101         * catgets/Makefile (generated, generated-dirs): Likewise.
47102         * debug/Makefile (generated): Likewise.
47103         * dlfcn/Makefile (generated): Likewise.
47104         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47105         * iconvdata/Makefile (before-compile, generated): Likewise.
47106         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47107         * libio/Makefile (generated): Likewise.
47108         * malloc/Makefile (generated): Likewise.
47109         * manual/Makefile (generated, generated-dirs): Likewise.
47110         * misc/Makefile (generated): Likewise.
47111         * posix/Makefile (generated): Likewise.
47112         * resolv/Makefile (generated): Likewise.
47113         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47114         * timezone/Makefile (generated, generated-dirs): Likewise.
47116         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47118 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47121         power8 implementation.
47122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47123         file: POWER8 llround ifunc implementation.
47124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47125         (__lllround): Add POWER8 implementation.
47126         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47127         POWER8 llround implementation.
47129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47130         power8 implementation.
47131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47132         file: POWER8 llrint ifunc implementation.
47133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47134         Add POWER8 implementation.
47135         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47136         POWER8 llrint implementation.
47138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47139         power8 implementation.
47140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47141         file: POWER8 finite ifunc implementation.
47142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47143         Add POWER8 implementation.
47144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47145         Likewise.
47146         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47147         POWER8 finite implementation.
47148         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47151         power8 implementation.
47152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47153         file: POWER8 isinf ifunc implementation.
47154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47155         POWER8 implementation.
47156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47157         Likewise.
47158         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47159         isinf implementation.
47160         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47162         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47163         (INIT_ARCH): Add hwcap2 initialization.
47164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47165         power8 implementation.
47166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47167         file: POWER8 isnan ifunc implementation.
47168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47169         POWER8 implementation.
47170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47171         Likewise.
47172         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47173         isnan implementation.
47174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47176 2014-02-27  Joey Ye  <joey.ye@arm.com>
47178         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47179         (_FP_NANFRAC_Q): Set to zero.
47181 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47183         [BZ #16623]
47184         * math/auto-libm-test-in: New test inputs.
47185         * math/auto-libm-test-out: Regenerate.
47186         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47187         and DA.
47188         (__cos): Likewise.
47189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47191 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47193         * scripts/evaluate-test.sh: Take new argument indicating whether
47194         failure is expected.
47195         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47196         indicating whether failure is expected.
47197         * conform/Makefile (test-xfail-run-conformtest): New variable.
47198         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47199         level.
47200         * posix/Makefile (test-xfail-annexc): New variable.
47201         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47203 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47205         * argp/Makefile: Include Makeconfig immediately after defining
47206         subdir.
47207         * assert/Makefile: Likewise.
47208         * benchtests/Makefile: Likewise.
47209         * catgets/Makefile: Likewise.
47210         * conform/Makefile: Likewise.
47211         * crypt/Makefile: Likewise.
47212         * csu/Makefile: Likewise.
47213         (all): Remove target.
47214         * ctype/Makefile: Include Makeconfig immediately after defining
47215         subdir.
47216         * debug/Makefile: Likewise.
47217         * dirent/Makefile: Likewise.
47218         * dlfcn/Makefile: Likewise.
47219         * gmon/Makefile: Likewise.
47220         * gnulib/Makefile: Likewise.
47221         * grp/Makefile: Likewise.
47222         * gshadow/Makefile: Likewise.
47223         * hesiod/Makefile: Likewise.
47224         * hurd/Makefile: Likewise.
47225         (all): Remove target.
47226         * iconvdata/Makefile: Include Makeconfig immediately after
47227         defining subdir.
47228         * inet/Makefile: Likewise.
47229         * intl/Makefile: Likewise.
47230         * io/Makefile: Likewise.
47231         * libio/Makefile: Likewise.
47232         (all): Remove target.
47233         * locale/Makefile: Include Makeconfig immediately after defining
47234         subdir.
47235         * login/Makefile: Likewise.
47236         * mach/Makefile: Likewise.
47237         (all): Remove target.
47238         * malloc/Makefile: Include Makeconfig immediately after defining
47239         subdir.
47240         (all): Remove target.
47241         * manual/Makefile: Include Makeconfig immediately after defining
47242         subdir.
47243         * math/Makefile: Likewise.
47244         * misc/Makefile: Likewise.
47245         * nis/Makefile: Likewise.
47246         * nss/Makefile: Likewise.
47247         * po/Makefile: Likewise.
47248         (all): Remove target.
47249         * posix/Makefile: Include Makeconfig immediately after defining
47250         subdir.
47251         * pwd/Makefile: Likewise.
47252         * resolv/Makefile: Likewise.
47253         * resource/Makefile: Likewise.
47254         * rt/Makefile: Likewise.
47255         * setjmp/Makefile: Likewise.
47256         * shadow/Makefile: Likewise.
47257         * signal/Makefile: Likewise.
47258         * socket/Makefile: Likewise.
47259         * soft-fp/Makefile: Likewise.
47260         * stdio-common/Makefile: Likewise.
47261         * stdlib/Makefile: Likewise.
47262         * streams/Makefile: Likewise.
47263         * string/Makefile: Likewise.
47264         * sunrpc/Makefile: Likewise.
47265         (all): Remove target.
47266         * sysvipc/Makefile: Include Makeconfig immediately after defining
47267         subdir.
47268         * termios/Makefile: Likewise.
47269         * time/Makefile: Likewise.
47270         * timezone/Makefile: Likewise.
47271         (all): Remove target.
47272         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47273         subdir.
47274         * wctype/Makefile: Likewise.
47276 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47278         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47279         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47280         (libc_feholdexcept_setround_mips): Ditto.
47281         (libc_feholdsetround): New.
47282         (libc_feholdsetroundf): New.
47283         (libc_feholdsetroundl): New.
47284         (libc_feupdateenv_test_mips): New.
47285         (libc_feupdateenv_test): New.
47286         (libc_feupdateenv_testf): New.
47287         (libc_feupdateenv_testl): New.
47288         (libc_feresetround): New.
47289         (libc_feresetroundf): New.
47290         (libc_feresetroundl): New.
47291         (libc_fetestexcept_mips): New.
47292         (libc_fetestexcept): New.
47293         (libc_fetestexceptf): New.
47294         (libc_fetestexceptl): New.
47295         (HAVE_RM_CTX): New.
47296         (libc_feholdexcept_setround_mips_ctx): New.
47297         (libc_feholdexcept_setround_ctx): New.
47298         (libc_feholdexcept_setroundf_ctx): New.
47299         (libc_feholdexcept_setroundl_ctx): New.
47300         (libc_fesetenv_mips_ctx): New.
47301         (libc_fesetenv_ctx): New.
47302         (libc_fesetenv_ctxf): New.
47303         (libc_fesetenv_ctxl): New.
47304         (libc_feupdateenv_mips_ctx): New.
47305         (libc_feupdateenv_ctx): New.
47306         (libc_feupdateenvf_ctx): New.
47307         (libc_feupdateenvl_ctx): New.
47308         (libc_feholdsetround_mips_ctx): New.
47309         (libc_feholdsetround_ctx): New.
47310         (libc_feholdsetroundf_ctx): New.
47311         (libc_feholdsetroundl_ctx): New.
47312         (libc_feresetround_mips_ctx): New.
47313         (libc_feresetround_ctx): New.
47314         (libc_feresetroundf_ctx): New.
47315         (libc_feresetroundl_ctx): New.
47317 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47319         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47321         * manual/ipc.texi: New file.
47322         * manual/Makefile (chapters): Add ipc.
47323         * manual/job.texi: Add "Inter-Process Communication" to next.
47324         * manual/process.texi: Add "Inter-Process Communication" to prev.
47326 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47330 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47332         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47334         * manual/arith.texi: Fix spaces after sentences.
47335         * manual/charset.texi: Likewise.
47336         * manual/errno.texi: Likewise.
47337         * manual/install.texi: Likewise.
47338         * manual/llio.texi: Likewise.
47339         * manual/locale.texi: Likewise.
47340         * manual/maint.texi: Likewise.
47341         * manual/math.texi: Likewise.
47342         * manual/memory.texi: Likewise.
47343         * manual/message.texi: Likewise.
47344         * manual/probes.texi: Likewise.
47345         * manual/resource.texi: Likewise.
47346         * manual/signal.texi: Likewise.
47347         * manual/socket.texi: Likewise.
47348         * manual/stdio.texi: Likewise.
47349         * manual/string.texi: Likewise.
47350         * manual/time.texi: Likewise.
47351         * manual/users.texi: Likewise.
47353 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47355         [BZ #16632]
47356         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47357         _DEFAULT_SOURCE is defined.
47359 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47360             Carlos O'Donell  <carlos@redhat.com>
47362         [BZ #16613]
47363         * elf/dl-tls.c (_dl_count_modids): New function.
47364         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47365         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47366         audit library and increment generation counter.
47367         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47368         * elf/tst-audit9.c: New file.
47369         * elf/tst-auditmod9a.c: New file.
47370         * elf/tst-auditmod9b.c: New file.
47371         * elf/Makefile: Add rules to build and run tst-audit9.
47373 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47375         [BZ #15347]
47376         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47378 2014-02-25  Will Newton  <will.newton@linaro.org>
47380         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47381         (__longjmp): Restore sp and lr before restoring callee
47382         saved registers.  Add longjmp and longjmp_target
47383         SystemTap probe point.
47384         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47385         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47386         Define to zero to match jmpbuf layout.
47387         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47388         (__sigsetjmp): Save sp and lr before saving callee
47389         saved registers.  Add setjmp SystemTap probe point.
47391 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47393         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47395 2014-02-24  Andreas Schwab  <schwab@suse.de>
47397         [BZ #15804]
47398         * elf/pldd.c (wait_for_ptrace_stop): New function.
47399         (main): Call it after attaching.
47401 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47403         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47404         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47405         Versions files is now verboten.
47406         * hurd/Versions (libc: GLIBC_2.0):
47407         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47408         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47409         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47410         * mach/Versions: Likewise.
47412         * csu/Versions: Remove unused %include.
47413         * resolv/Versions: Likewise.
47415 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47417         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47418         ($(objpfx)check-local-headers.out): Likewise.
47419         ($(objpfx)begin-end-check.out): Likewise.
47420         * Makerules (check-abi-%.out): Likewise.
47421         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47422         ($(objpfx)test2.cat): Likewise.
47423         ($(objpfx)de/libc.cat): Likewise.
47424         ($(objpfx)test-gencat.out): Likewise.
47425         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47426         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47427         ($(objpfx)noload-mem): Likewise.
47428         ($(objpfx)tst-pathopt.out): Likewise.
47429         ($(objpfx)tst-rtld-load-self.out): Likewise.
47430         ($(objpfx)tst-array1-cmp.out): Likewise.
47431         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47432         ($(objpfx)tst-array2-cmp.out): Likewise.
47433         ($(objpfx)tst-array3-cmp.out): Likewise.
47434         ($(objpfx)tst-array4-cmp.out): Likewise.
47435         ($(objpfx)tst-array5-cmp.out): Likewise.
47436         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47437         ($(objpfx)check-textrel.out): Likewise.
47438         ($(objpfx)check-execstack.out): Likewise.
47439         ($(objpfx)check-localplt.out): Likewise.
47440         ($(objpfx)order2-cmp.out): Likewise.
47441         ($(objpfx)tst-leaks1-mem): Likewise.
47442         ($(objpfx)tst-leaks1-static-mem): Likewise.
47443         ($(objpfx)tst-initorder-cmp.out): Likewise.
47444         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47445         ($(objpfx)tst-unused-dep.out): Likewise.
47446         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47447         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47448         * iconv/Makefile (test-iconvconfig): Likewise.
47449         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47450         ($(objpfx)iconv-test.out): Likewise.
47451         ($(objpfx)tst-tables.out): Likewise.
47452         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47453         ($(objpfx)tst-gettext.out): Likewise.
47454         ($(objpfx)tst-translit.out): Likewise.
47455         ($(objpfx)tst-gettext2.out): Likewise.
47456         ($(objpfx)tst-gettext4.out): Likewise.
47457         ($(objpfx)tst-gettext6.out): Likewise.
47458         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47459         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47460         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47461         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47462         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47463         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47464         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47465         ($(objpfx)wordexp-tst.out): Likewise.
47466         ($(objpfx)annexc.out): Likewise.
47467         ($(objpfx)tst-fnmatch-mem): Likewise.
47468         ($(objpfx)bug-regex2-mem): Likewise.
47469         ($(objpfx)bug-regex14-mem): Likewise.
47470         ($(objpfx)bug-regex21-mem): Likewise.
47471         ($(objpfx)bug-regex31-mem): Likewise.
47472         ($(objpfx)tst-vfork3-mem): Likewise.
47473         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47474         ($(objpfx)tst-pcre-mem): Likewise.
47475         ($(objpfx)tst-boost-mem): Likewise.
47476         ($(objpfx)tst-getconf.out): Likewise.
47477         ($(objpfx)bug-ga2-mem): Likewise.
47478         ($(objpfx)bug-glob2-mem): Likewise.
47479         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47480         ($(objpfx)mtrace-tst-leaks2): Likewise.
47481         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47482         ($(objpfx)tst-printf.out): Likewise.
47483         ($(objpfx)tst-setvbuf1.out): Likewise.
47484         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47485         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47486         ($(objpfx)tst-fmtmsg.out): Likewise.
47487         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47488         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47490         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47491         * bits/sigaction.h [__USE_MISC]: Likewise.
47492         * bits/waitstatus.h: Update #endif comments.
47493         * ctype/ctype.h: Likewise.
47494         * dirent/dirent.h: Likewise.
47495         [__USE_MISC]: Remove redundant conditionals.
47496         * grp/grp.h: Update #endif comments.
47497         [__USE_GNU]: Remove redundant conditionals.
47498         [__USE_MISC]: Likewise.
47499         * inet/netinet/in.h [__USE_GNU]: Likewise.
47500         * io/sys/stat.h [__USE_MISC]: Likewise.
47501         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47502         * libio/bits/stdio.h: Update #endif comments.
47503         [__USE_MISC]: Remove redundant conditionals.
47504         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47505         * libio/stdio.h: Update #endif comments.
47506         [__USE_MISC]: Remove redundant conditionals.
47507         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47508         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47509         * math/math.h: Update #else and #endif comments.
47510         [__USE_MISC]: Remove redundant conditionals.
47511         * misc/sys/uio.h: Update #endif comments.
47512         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47513         * posix/glob.h [__USE_MISC]: Likewise.
47514         * posix/sys/types.h: Update #endif comments.
47515         [__USE_MISC]: Remove redundant conditionals.
47516         * posix/sys/wait.h: Update #endif comments.
47517         [__USE_MISC]: Remove redundant conditionals.
47518         * posix/unistd.h: Update #endif comments.
47519         [__USE_MISC]: Remove redundant conditionals.
47520         * pwd/pwd.h [__USE_GNU]: Likewise.
47521         [__USE_MISC]: Likewise.
47522         * resolv/netdb.h [__USE_GNU]: Likewise.
47523         * signal/signal.h: Update #endif comments.
47524         [__USE_MISC]: Remove redundant conditionals.
47525         * stdlib/stdlib.h: Update #else and #endif comments.
47526         [__USE_MISC]: Remove redundant conditionals.
47527         [__USE_GNU]: Likewise.
47528         * string/bits/string2.h [__USE_MISC]: Likewise.
47529         * string/string.h: Update #endif comments.
47530         [__USE_MISC]: Remove redundant conditionals.
47531         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47532         Likewise.
47533         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47534         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47535         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47536         Likewise.
47537         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47538         Likewise.
47539         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47540         comments.
47541         [__USE_MISC]: Remove redundant conditionals.
47542         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47543         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47544         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47545         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47546         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47547         Likewise.
47548         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47549         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47550         Likewise.
47551         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47552         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47553         Likewise.
47554         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47555         Likewise.
47556         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47557         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47558         Likewise.
47559         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47560         Likewise.
47561         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47562         * sysdeps/x86/bits/string.h: Update #endif comments.
47563         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47564         conditionals.
47565         * time/sys/time.h: Update #endif comments.
47566         * time/time.h: Likewise.
47567         [__USE_MISC]: Remove redundant conditionals.
47569 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47571         [BZ #16600]
47572         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47574 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47576         * Versions.def (librt): Add GLIBC_2.17.
47578 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47580         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47581         synonym for _SYS_AUXV_H to allow direct inclusion.
47582         * sysdeps/sparc/bits/hwcap.h: Likewise.
47583         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47584         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47585         * sysdeps/sparc/sysdep.h: Likewise.
47587 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47589         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47591 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47593         * benchtests/bench-strrchr.c: Print length instead of position.
47595 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47597         [BZ #16611]
47598         * sysdeps/unix/sysv/linux/kernel-features.h
47599         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47600         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47601         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47602         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47603         Likewise.
47604         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47605         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47606         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47607         (__ASSUME_SENDMMSG): Define instead of using previous
47608         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47609         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47610         (__ASSUME_SENDMMSG_SYSCALL): Define.
47611         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47612         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47613         Likewise.
47614         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47615         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47616         Likewise.
47617         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47618         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47619         Likewise.
47620         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47621         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47622         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47623         [__ASSUME_SENDMMSG]: Change conditionals to
47624         [__ASSUME_SENDMMSG_SOCKETCALL].
47625         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47626         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47627         Define.
47628         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47629         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47630         Likewise.
47631         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47632         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47633         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47634         [!__ASSUME_SENDMMSG]: Change conditional to
47635         [!__ASSUME_SENDMMSG_SOCKETCALL].
47636         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47637         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47638         Define.
47640         [BZ #16610]
47641         * sysdeps/unix/sysv/linux/kernel-features.h
47642         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
47643         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
47644         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
47645         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
47646         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47647         [__i386__ || __sparc__]
47648         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47649         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
47650         (__ASSUME_RECVMMSG): Define instead of using previous
47651         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
47652         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47653         (__ASSUME_RECVMMSG_SYSCALL): Define.
47654         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47655         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47656         Likewise.
47657         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47658         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47659         Likewise.
47660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47661         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47662         Likewise.
47663         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
47664         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47665         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47666         [__ASSUME_RECVMMSG]: Change condition to
47667         [__ASSUME_RECVMMSG_SOCKETCALL].
47668         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47670         Define.
47671         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47672         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47673         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47674         Likewise.
47675         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
47676         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47677         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47678         [!__ASSUME_RECVMMSG]: Change condition to
47679         [!__ASSUME_RECVMMSG_SOCKETCALL].
47680         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47681         (__ASSUME_RECVMMSG_SYSCALL): Define.
47683         [BZ #16609]
47684         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
47685         __powerpc__ || __s390__ || __sh__ || __sparc__]
47686         (__ASSUME_SOCKETCALL): Define.
47687         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
47688         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
47689         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
47690         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
47691         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47692         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47693         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
47694         (__ASSUME_ACCEPT4): Define instead of using previous
47695         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
47696         __powerpc__ || __sparc__ || __s390__)] condition.
47697         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47698         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47699         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
47700         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47701         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47702         [!__ASSUME_ACCEPT4]: Change condition to
47703         [!__ASSUME_ACCEPT4_SOCKETCALL].
47704         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47705         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
47706         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
47707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47708         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
47709         __ASSUME_ACCEPT4_SYSCALL.
47710         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
47711         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
47712         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47713         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
47714         __ASSUME_ACCEPT4_SYSCALL.
47715         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
47716         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47717         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47718         [__ASSUME_ACCEPT4]: Change condition to
47719         [__ASSUME_ACCEPT4_SOCKETCALL].
47720         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47721         (__ASSUME_SOCKETCALL): Define.
47722         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
47723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47724         (__ASSUME_SOCKETCALL): Define.
47725         (__ASSUME_ACCEPT4): Remove.
47726         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
47727         Define.
47728         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47729         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
47730         Likewise.
47731         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47732         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47734         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
47735         macro.
47736         (HWCAP_ARM_LPAE): Likewise.
47737         (HWCAP_ARM_EVTSTRM): Likewise.
47738         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
47739         Add vpfd32, lpae and evtstrm.
47740         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
47741         Increase to 22.
47743 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
47745         * math/auto-libm-test-in: Add tests of clog10.
47746         * math/auto-libm-test-out: Regenerated.
47747         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
47748         * sysdeps/i386/fpu/libm-test-ulps: Update.
47749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751 2014-02-18  Andreas Schwab  <schwab@suse.de>
47753         [BZ #16574]
47754         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
47755         Store non-zero if the second buffer was newly allocated.
47756         (send_dg): Likewise.
47757         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
47758         to send_vc and send_dg.
47759         (res_nsend): Pass NULL for ansp2_malloced.
47760         * resolv/res_query.c (__libc_res_nquery): Add parameter
47761         answerp2_malloced and pass it down to __libc_res_nsend.
47762         (res_nquery): Pass additional NULL to __libc_res_nquery.
47763         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
47764         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
47765         second answer buffer if answerp2_malloced was set.
47766         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
47767         (__libc_res_nquerydomain): Add parameter
47768         answerp2_malloced and pass it down to __libc_res_nquery.
47769         (res_nquerydomain): Pass additional NULL to
47770         __libc_res_nquerydomain.
47771         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
47772         additional NULL to __libc_res_nsend and __libc_res_nquery.
47773         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
47774         additional NULL to __libc_res_nsearch.
47775         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
47776         parameter of __libc_res_nsearch to check for separately allocated
47777         second buffer.
47778         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
47779         __libc_res_nquery.
47780         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
47781         additional NULL to __libc_res_nquery.
47782         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
47783         __libc_res_nsearch.
47784         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
47785         * include/resolv.h: Update prototypes of __libc_res_nquery,
47786         __libc_res_nsearch, __libc_res_nsend.
47788 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
47790         * math/auto-libm-test-in: Add tests of fma.
47791         * math/auto-libm-test-out: Regenerated.
47792         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
47793         (fma_towardzero_test_data): Likewise.
47794         (fma_downward_test_data): Likewise.
47795         (fma_upward_test_data): Likewise.
47796         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
47797         mpc_mode.
47798         (rounding_modes): Add values for new field.
47799         (func_calc_method): Add value mpfr_fff_f.
47800         (func_calc_desc): Add mpfr_fff_f union field.
47801         (test_function): Add field exact_args.
47802         (FUNC): Add macro argument EXACT_ARGS.
47803         (FUNC_mpfr_f_f): Update call to FUNC.
47804         (FUNC_mpfr_f_f): Likewise.
47805         (FUNC_mpfr_ff_f): Likewise.
47806         (FUNC_mpfr_if_f): Likewise.
47807         (FUNC_mpc_c_f): Likewise.
47808         (FUNC_mpc_c_c): Likewise.
47809         (test_functions): Add fma.  Update calls to FUNC.
47810         (handle_input_arg): Add argument exact_args.
47811         (add_test): Update call to handle_input_arg.
47812         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
47813         (output_for_one_input_case): Update call to calc_generic_results.
47814         Recalculate exact zero results in each rounding mode.
47816         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
47817         non-negative before setting low bit.
47818         * math/auto-libm-test-in: Mark one asin test possibly having
47819         spurious underflow.
47820         * math/auto-libm-test-out: Regenerated.
47821         * sysdeps/i386/fpu/libm-test-ulps: Update.
47822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47824 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
47826         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
47827         * sysdeps/unix/sysv/linux/microblaze: Move directory from
47828         ports/sysdeps/unix/sysv/linux/microblaze.
47829         * README: Add missing listing for microblaze*-*-linux-gnu.
47831 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
47833         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
47834         duplicate code
47836 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
47838         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
47839         * sysdeps/unix/sysv/linux/ia64: Move directory from
47840         ports/sysdeps/unix/sysv/linux/ia64.
47841         * README: Update listing for ia64-*-linux-gnu.
47843 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
47844             Joseph Myers  <joseph@codesourcery.com>
47846         * Makeconfig (test-name): New variable.
47847         (evaluate-test): Likewise.
47848         * Makerules (do-test-clean): Remove .test-result files.
47849         (common-mostlyclean): Likewise.
47850         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
47851         * scripts/evaluate-test.sh: New file.
47853 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
47855         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
47856         separate $(objpfx)tst-fopenloc-cmp.out and
47857         $(objpfx)tst-fopenloc-mem.out targets.
47858         (tests): Update dependencies.
47859         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
47860         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
47861         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
47862         (tst-rxspencer-no-utf8-ARGS): New variable.
47863         (tst-rxspencer-no-utf8-ENV): Likewise.
47864         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
47865         instead of $(objpfx)tst-rxspencer-mem.
47866         ($(objpfx)tst-rxspencer-mem): Change target to
47867         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
47868         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
47869         * posix/tst-rxspencer-no-utf8.c: New file.
47871         * elf/Makefile ($(objpfx)order.out): Remove rule.
47872         [$(run-built-tests) = yes] (tests): Depend on
47873         $(objpfx)order-cmp.out.
47874         ($(objpfx)order-cmp.out): New rule.
47875         [$(run-built-tests) = yes] (tests): Depend on
47876         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
47877         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
47878         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
47879         $(objpfx)tst-array5-static-cmp.out.
47880         ($(objpfx)tst-array1.out): Remove rule.
47881         ($(objpfx)tst-array1-cmp.out): New rule.
47882         ($(objpfx)tst-array1-static.out): Remove rule.
47883         ($(objpfx)tst-array1-static-cmp.out): New rule.
47884         ($(objpfx)tst-array2.out): Remove rule.
47885         ($(objpfx)tst-array2-cmp.out): New rule.
47886         ($(objpfx)tst-array3.out): Remove rule.
47887         ($(objpfx)tst-array3-cmp.out): New rule.
47888         ($(objpfx)tst-array4.out): Remove rule.
47889         ($(objpfx)tst-array4-cmp.out): New rule.
47890         ($(objpfx)tst-array5.out): Remove rule.
47891         ($(objpfx)tst-array5-cmp.out): New rule.
47892         ($(objpfx)tst-array5-static.out): Remove rule.
47893         ($(objpfx)tst-array5-static-cmp.out): New rule.
47894         [$(run-built-tests) = yes] (tests): Depend on
47895         $(objpfx)order2-cmp.out.
47896         ($(objpfx)order2.out): Remove rule.
47897         ($(objpfx)order2-cmp.out): New rule.
47898         ($(objpfx)tst-initorder.out): Remove rule.
47899         [$(run-built-tests) = yes] (tests): Depend on
47900         $(objpfx)tst-initorder-cmp.out.
47901         ($(objpfx)tst-initorder-cmp.out): New rule.
47902         ($(objpfx)tst-initorder2.out): Remove rule.
47903         [$(run-built-tests) = yes] (tests): Depend on
47904         $(objpfx)tst-initorder2-cmp.out.
47905         ($(objpfx)tst-initorder2-cmp.out): New rule.
47906         [$(run-built-tests) = yes] (tests): Depend on
47907         $(objpfx)tst-unused-dep-cmp.out.
47908         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
47909         ($(objpfx)tst-unused-dep-cmp.out): New rule.
47910         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
47911         on $(objpfx)tst-setvbuf1-cmp.out.
47912         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
47913         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
47914         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
47915         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
47916         ($(objpfx)tst-svc.out): Remove rule.
47917         ($(objpfx)tst-svc-cmp.out): New rule.
47919 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
47921         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
47922         * ctype/ctype.h [__USE_MISC]: Likewise.
47923         * dirent/dirent.h [__USE_MISC]: Likewise.
47924         * grp/grp.h [__USE_MISC]: Likewise.
47925         * io/fcntl.h [__USE_MISC]: Likewise.
47926         * io/sys/stat.h [__USE_MISC]: Likewise.
47927         * libio/stdio.h [__USE_MISC]: Likewise.
47928         * posix/unistd.h [__USE_MISC]: Likewise.
47929         * pwd/pwd.h [__USE_MISC]: Likewise.
47930         * stdlib.h [__USE_MISC]: Likewise.
47931         * string/bits/string2.h [__USE_MISC]: Likewise.
47932         * string/string.h [__USE_MISC]: Likewise.
47933         * time/time.h [__USE_MISC]: Likewise.
47935 2014-02-13  Andreas Schwab  <schwab@suse.de>
47937         [BZ #16574]
47938         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
47939         second answer buffer if it was separately allocated.
47941 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
47943         * sysdeps/mips/math-tests.h: Include <features.h>.
47944         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47945         (ROUNDING_TESTS_long_double): Do not define.
47946         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
47947         (EXCEPTION_TESTS_long_double): Likewise.
47948         * sysdeps/mips/mips64/libm-test-ulps: Update.
47950         * include/features.h (__USE_BSD): Remove macro definitions.
47951         (__USE_SVID): Likewise.
47952         (_BSD_SOURCE): Likewise.
47953         (_SVID_SOURCE): Likewise.
47954         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
47955         from definition of _DEFAULT_SOURCE.
47956         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
47957         [_DEFAULT_SOURCE].
47958         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
47959         * bits/mman.h [__USE_BSD]: Likewise.
47960         * bits/termios.h [__USE_BSD]: Likewise.
47961         * bits/waitstatus.h [__USE_BSD]: Likewise.
47962         * ctype/ctype.h [__USE_SVID]: Likewise.
47963         * dirent/dirent.h [__USE_BSD]: Likewise.
47964         * grp/grp.h [__USE_SVID]: Likewise.
47965         [__USE_BSD]: Likewise.
47966         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
47967         * io/fcntl.h [__USE_BSD]: Likewise.
47968         * io/ftw.h [__USE_BSD]: Likewise.
47969         * io/sys/stat.h [__USE_BSD]: Likewise.
47970         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
47971         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
47972         * libio/stdio.h [__USE_SVID]: Likewise.
47973         [__USE_BSD]: Likewise.
47974         * math/math.h [__USE_SVID]: Likewise.
47975         [__USE_BSD]: Likewise.
47976         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
47977         * misc/bits/syslog.h [__USE_BSD]: Likewise.
47978         * misc/search.h [__USE_SVID]: Likewise.
47979         * misc/sys/mman.h [__USE_BSD]: Likewise.
47980         * misc/sys/syslog.h [__USE_BSD]: Likewise.
47981         * misc/sys/uio.h [__USE_BSD]: Likewise.
47982         * posix/bits/unistd.h [__USE_BSD]: Likewise.
47983         * posix/glob.h [__USE_BSD]: Likewise.
47984         * posix/regex.h [__USE_BSD]: Likewise.
47985         * posix/sys/types.h [__USE_BSD]: Likewise.
47986         [__USE_SVID]: Likewise.
47987         * posix/sys/utsname.h [__USE_SVID]: Likewise.
47988         * posix/sys/wait.h [__USE_BSD]: Likewise.
47989         [__USE_SVID]: Likewise.
47990         * posix/unistd.h [__USE_BSD]: Likewise.
47991         [__USE_SVID]: Likewise.
47992         * pwd/pwd.h [__USE_SVID]: Likewise.
47993         * resolv/netdb.h [__USE_BSD]: Likewise.
47994         * setjmp/setjmp.h [__USE_BSD]: Likewise.
47995         * signal/signal.h [__USE_BSD]: Likewise.
47996         [__USE_SVID]: Likewise.
47997         * socket/sys/socket.h [__USE_BSD]: Likewise.
47998         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
47999         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48000         [__USE_SVID]: Likewise.
48001         * string/bits/string2.h [__USE_BSD]: Likewise.
48002         [__USE_SVID]: Likewise.
48003         * string/bits/string3.h [__USE_BSD]: Likewise.
48004         * string/endian.h [__USE_BSD]: Likewise.
48005         * string/string.h [__USE_SVID]: Likewise.
48006         [__USE_BSD]: Likewise.
48007         * string/strings.h [__USE_BSD]: Likewise.
48008         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48009         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48010         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48011         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48012         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48013         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48014         Likewise.
48015         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48016         Likewise.
48017         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48018         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48019         Likewise.
48020         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48021         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48022         Likewise.
48023         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48024         Likewise.
48025         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48026         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48027         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48028         Likewise.
48029         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48030         Likewise.
48031         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48032         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48033         * termios/termios.h [__USE_BSD]: Likewise.
48034         * time/sys/time.h [__USE_BSD]: Likewise.
48035         * time/time.h [__USE_BSD]: Likewise.
48036         [__USE_SVID]: Likewise.
48038         * Makefile (subdir_targets): Remove subdir_lint.out.
48040         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48041         (do-tst-printf): Likewise.
48042         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48043         $(objpfx)tst-printf.out.
48045         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48047         * Makerules (check-abi-%): Change target to
48048         $(objpfx)check-abi-%.out.
48049         (check-abi target): Update dependencies.
48050         (check-abi-pattern variable): Redirect output of diff to $@.
48051         (check-abi variable): Likewise.
48052         * elf/Makefile (check-abi): Update dependencies.
48054         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48055         unused.
48056         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48057         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48058         subnormal range.
48059         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48060         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48061         value has largest subnormal exponent.
48062         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48063         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48064         * sysdeps/aarch64/soft-fp/sfp-machine.h
48065         (_FP_TININESS_AFTER_ROUNDING): New macro.
48066         * sysdeps/alpha/soft-fp/sfp-machine.h
48067         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48068         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48069         Likewise.
48070         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48071         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48072         * sysdeps/mips/soft-fp/sfp-machine.h
48073         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48074         * sysdeps/powerpc/soft-fp/sfp-machine.h
48075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48076         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48077         Likewise.
48078         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48079         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48080         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48081         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48082         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48083         Likewise.
48085 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48087         [BZ #16545]
48088         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48089         model 1.
48091 2014-02-12  Richard Henderson  <rth@redhat.com>
48093         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48094         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48095         * sysdeps/unix/sysv/linux/alpha: Move directory from
48096         ports/sysdeps/unix/sysv/linux/alpha.
48097         * README: Update listing for alpha-*-linux-gnu.
48099 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48101         * include/features.h: Update comment documenting feature test
48102         macros.
48103         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48104         _DEFAULT_SOURCE.
48105         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48106         (_SVID_SOURCE): Likewise.
48107         (_DEFAULT_SOURCE): Update description of default features.
48108         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48109         with _GNU_SOURCE.
48110         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48111         (S_ISVTX): Likewise.
48112         * manual/math.texi (Mathematical Constants): Likewise.
48113         * manual/signal.texi (Interrupted Primitives): Likewise.
48114         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48115         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48116         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48117         Don't refer to _SVID_SOURCE in warning text.
48119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48121         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48122         already defined.
48123         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48124         * sysdeps/mips/dl-lookup.c: Remove.
48125         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48127 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48129         [BZ #16447]
48130         * math/auto-libm-test-in: Add testcase for expl.
48131         * math/auto-libm-test-out: Regenerate.
48132         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48133         calculation of unsafe.
48134         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48136 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48138         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48139         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48140         ports/sysdeps/unix/sysv/linux/aarch64.
48141         * README: Update listing for aarch64*-*-linux-gnu.
48143 2014-02-11  Will Newton  <will.newton@linaro.org>
48145         * manual/probes.texi (Mathematical Function Probes): Use
48146         "triggered" instead of "hit".
48148         * manual/probes.texi (Internal Probes): Add documentation
48149         of setjmp, longjmp and longjmp_target probes.
48151         * include/stap-probe.h: Add comment about probe argument
48152         format.
48154         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48155         definition.  (tr_where, tr_freehook, tr_mallochook,
48156         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48158 2014-02-11  David S. Miller  <davem@davemloft.net>
48160         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48161         processing int_tests.
48163 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48165         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48166         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48167         * sysdeps/unix/sysv/linux/mips: Move directory from
48168         ports/sysdeps/unix/sysv/linux/mips.
48169         * README: Update listing for mips-*-linux-gnu and
48170         mips64-*-linux-gnu.
48172 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48174         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48175         * sysdeps/unix/sysv/linux/m68k: Move directory from
48176         ports/sysdeps/unix/sysv/linux/m68k.
48177         * README: Update listing for m68k-*-linux-gnu.
48179 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48181         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48182         * sysdeps/unix/sysv/linux/generic: Move directory from
48183         ports/sysdeps/unix/sysv/linux/generic.
48184         * sysdeps/unix/sysv/linux/tile: Move directory from
48185         ports/sysdeps/unix/sysv/linux/tile.
48186         * README: Update listing for tile*-*-linux-gnu.
48188 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48190         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48191         __builtin_expect.
48192         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48193         * catgets/open_catalog.c (__open_catalog): Likewise.
48194         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48195         * debug/confstr_chk.c: Likewise.
48196         * debug/fread_chk.c (__fread_chk): Likewise.
48197         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48198         * debug/getgroups_chk.c: Likewise.
48199         * debug/mbsnrtowcs_chk.c: Likewise.
48200         * debug/mbsrtowcs_chk.c: Likewise.
48201         * debug/mbstowcs_chk.c: Likewise.
48202         * debug/memcpy_chk.c: Likewise.
48203         * debug/memmove_chk.c: Likewise.
48204         * debug/mempcpy_chk.c: Likewise.
48205         * debug/memset_chk.c: Likewise.
48206         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48207         * debug/strcat_chk.c (__strcat_chk): Likewise.
48208         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48209         * debug/strncat_chk.c (__strncat_chk): Likewise.
48210         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48211         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48212         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48213         * debug/wcpncpy_chk.c: Likewise.
48214         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48215         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48216         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48217         * debug/wcsncpy_chk.c: Likewise.
48218         * debug/wcsnrtombs_chk.c: Likewise.
48219         * debug/wcsrtombs_chk.c: Likewise.
48220         * debug/wcstombs_chk.c: Likewise.
48221         * debug/wmemcpy_chk.c: Likewise.
48222         * debug/wmemmove_chk.c: Likewise.
48223         * debug/wmempcpy_chk.c: Likewise.
48224         * debug/wmemset_chk.c: Likewise.
48225         * dirent/scandirat.c (SCANDIRAT): Likewise.
48226         * dlfcn/dladdr1.c (dladdr1): Likewise.
48227         * dlfcn/dladdr.c (dladdr): Likewise.
48228         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48229         * dlfcn/dlerror.c (__dlerror): Likewise.
48230         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48231         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48232         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48233         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48234         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48235         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48236         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48237         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48238         Likewise.
48239         * elf/dl-conflict.c: Likewise.
48240         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48241         * elf/dl-dst.h: Likewise.
48242         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48243         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48244         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48245         * elf/dl-init.c (call_init, _dl_init): Likewise.
48246         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48247         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48248         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48249         Likewise.
48250         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48251         Likewise.
48252         * elf/dl-minimal.c (__libc_memalign): Likewise.
48253         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48254         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48255         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48256         * elf/dl-sym.c (do_sym): Likewise.
48257         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48258         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48259         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48260         * elf/dl-writev.h (_dl_writev): Likewise.
48261         * elf/ldconfig.c (search_dir): Likewise.
48262         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48263         (dl_main): Likewise.
48264         * elf/setup-vdso.h (setup_vdso): Likewise.
48265         * grp/compat-initgroups.c (compat_call): Likewise.
48266         * grp/fgetgrent.c (fgetgrent): Likewise.
48267         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48268         * grp/putgrent.c (putgrent): Likewise.
48269         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48270         Likewise.
48271         * hurd/hurdinit.c: Likewise.
48272         * iconvdata/8bit-gap.c (struct): Likewise.
48273         * iconvdata/ansi_x3.110.c : Likewise.
48274         * iconvdata/big5.c : Likewise.
48275         * iconvdata/big5hkscs.c : Likewise.
48276         * iconvdata/cp1255.c: Likewise.
48277         * iconvdata/cp1258.c : Likewise.
48278         * iconvdata/cp932.c : Likewise.
48279         * iconvdata/euc-cn.c: Likewise.
48280         * iconvdata/euc-jisx0213.c : Likewise.
48281         * iconvdata/euc-jp.c: Likewise.
48282         * iconvdata/euc-jp-ms.c : Likewise.
48283         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48284         * iconvdata/gb18030.c : Likewise.
48285         * iconvdata/gbbig5.c (const): Likewise.
48286         * iconvdata/gbgbk.c: Likewise.
48287         * iconvdata/gbk.c : Likewise.
48288         * iconvdata/ibm1364.c : Likewise.
48289         * iconvdata/ibm930.c : Likewise.
48290         * iconvdata/ibm932.c: Likewise.
48291         * iconvdata/ibm933.c : Likewise.
48292         * iconvdata/ibm935.c : Likewise.
48293         * iconvdata/ibm937.c : Likewise.
48294         * iconvdata/ibm939.c : Likewise.
48295         * iconvdata/ibm943.c: Likewise.
48296         * iconvdata/iso_11548-1.c: Likewise.
48297         * iconvdata/iso-2022-cn.c : Likewise.
48298         * iconvdata/iso-2022-cn-ext.c : Likewise.
48299         * iconvdata/iso-2022-jp-3.c: Likewise.
48300         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48301         * iconvdata/iso-2022-kr.c : Likewise.
48302         * iconvdata/iso646.c (gconv_end): Likewise.
48303         * iconvdata/iso_6937-2.c : Likewise.
48304         * iconvdata/iso_6937.c : Likewise.
48305         * iconvdata/iso8859-1.c: Likewise.
48306         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48307         * iconvdata/shift_jisx0213.c : Likewise.
48308         * iconvdata/sjis.c : Likewise.
48309         * iconvdata/t.61.c : Likewise.
48310         * iconvdata/tcvn5712-1.c : Likewise.
48311         * iconvdata/tscii.c: Likewise.
48312         * iconvdata/uhc.c : Likewise.
48313         * iconvdata/unicode.c (gconv_end): Likewise.
48314         * iconvdata/utf-16.c (gconv_end): Likewise.
48315         * iconvdata/utf-32.c (gconv_end): Likewise.
48316         * iconvdata/utf-7.c (base64): Likewise.
48317         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48318         * iconv/gconv_close.c (__gconv_close): Likewise.
48319         * iconv/gconv_open.c (__gconv_open): Likewise.
48320         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48321         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48322         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48323         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48324         (ucs4le_internal_loop_single): Likewise.
48325         * iconv/iconv.c (iconv): Likewise.
48326         * iconv/iconv_close.c: Likewise.
48327         * iconv/loop.c (SINGLE): Likewise.
48328         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48329         * include/atomic.h: Likewise.
48330         * inet/inet6_option.c (option_alloc): Likewise.
48331         * intl/bindtextdom.c (set_binding_values): Likewise.
48332         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48333         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48334         * intl/localealias.c (read_alias_file): Likewise.
48335         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48336         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48337         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48338         * libio/fmemopen.c (fmemopen): Likewise.
48339         * libio/iofgets.c (_IO_fgets): Likewise.
48340         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48341         * libio/iofgetws.c (fgetws): Likewise.
48342         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48343         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48344         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48345         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48346         * locale/findlocale.c (_nl_find_locale): Likewise.
48347         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48348         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48349         Likewise.
48350         * locale/setlocale.c (setlocale): Likewise.
48351         * login/programs/pt_chown.c (main): Likewise.
48352         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48353         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48354         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48355         (mmap, mmap64, mremap, munmap): Likewise.
48356         * math/e_exp2l.c: Likewise.
48357         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48358         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48359         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48360         * math/s_catan.c (__catan): Likewise.
48361         * math/s_catanf.c (__catanf): Likewise.
48362         * math/s_catanh.c (__catanh): Likewise.
48363         * math/s_catanhf.c (__catanhf): Likewise.
48364         * math/s_catanhl.c (__catanhl): Likewise.
48365         * math/s_catanl.c (__catanl): Likewise.
48366         * math/s_ccosh.c (__ccosh): Likewise.
48367         * math/s_ccoshf.c (__ccoshf): Likewise.
48368         * math/s_ccoshl.c (__ccoshl): Likewise.
48369         * math/s_cexp.c (__cexp): Likewise.
48370         * math/s_cexpf.c (__cexpf): Likewise.
48371         * math/s_cexpl.c (__cexpl): Likewise.
48372         * math/s_clog10.c (__clog10): Likewise.
48373         * math/s_clog10f.c (__clog10f): Likewise.
48374         * math/s_clog10l.c (__clog10l): Likewise.
48375         * math/s_clog.c (__clog): Likewise.
48376         * math/s_clogf.c (__clogf): Likewise.
48377         * math/s_clogl.c (__clogl): Likewise.
48378         * math/s_csin.c (__csin): Likewise.
48379         * math/s_csinf.c (__csinf): Likewise.
48380         * math/s_csinh.c (__csinh): Likewise.
48381         * math/s_csinhf.c (__csinhf): Likewise.
48382         * math/s_csinhl.c (__csinhl): Likewise.
48383         * math/s_csinl.c (__csinl): Likewise.
48384         * math/s_csqrt.c (__csqrt): Likewise.
48385         * math/s_csqrtf.c (__csqrtf): Likewise.
48386         * math/s_csqrtl.c (__csqrtl): Likewise.
48387         * math/s_ctan.c (__ctan): Likewise.
48388         * math/s_ctanf.c (__ctanf): Likewise.
48389         * math/s_ctanh.c (__ctanh): Likewise.
48390         * math/s_ctanhf.c (__ctanhf): Likewise.
48391         * math/s_ctanhl.c (__ctanhl): Likewise.
48392         * math/s_ctanl.c (__ctanl): Likewise.
48393         * math/w_pow.c: Likewise.
48394         * math/w_powf.c: Likewise.
48395         * math/w_powl.c: Likewise.
48396         * math/w_scalb.c (sysv_scalb): Likewise.
48397         * math/w_scalbf.c (sysv_scalbf): Likewise.
48398         * math/w_scalbl.c (sysv_scalbl): Likewise.
48399         * misc/error.c (error_tail): Likewise.
48400         * misc/pselect.c (__pselect): Likewise.
48401         * nis/nis_callback.c (__nis_create_callback): Likewise.
48402         * nis/nis_call.c (__nisfind_server): Likewise.
48403         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48404         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48405         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48406         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48407         * nis/nis_lookup.c (nis_lookup): Likewise.
48408         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48409         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48410         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48411         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48412         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48413         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48414         * nis/nss_compat/compat-initgroups.c (add_group)
48415         (internal_getgrent_r): Likewise.
48416         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48417         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48418         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48419         (internal_getspnam_r): Likewise.
48420         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48421         (_nss_nis_getaliasbyname_r): Likewise.
48422         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48423         (_nss_nis_getntohost_r): Likewise.
48424         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48425         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48426         (_nss_nis_getgrgid_r): Likewise.
48427         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48428         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48429         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48430         (_nss_nis_gethostbyname4_r): Likewise.
48431         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48432         (initgroups_netid): Likewise.
48433         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48434         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48435         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48436         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48437         (_nss_nis_getprotobynumber_r): Likewise.
48438         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48439         (_nss_nis_getsecretkey): Likewise.
48440         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48441         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48442         (_nss_nis_getpwuid_r): Likewise.
48443         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48444         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48445         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48446         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48447         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48448         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48449         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48450         Likewise.
48451         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48452         (_nss_nisplus_getntohost_r): Likewise.
48453         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48454         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48455         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48456         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48457         Likewise.
48458         * nis/nss_nisplus/nisplus-initgroups.c
48459         (_nss_nisplus_initgroups_dyn): Likewise.
48460         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48461         (_nss_nisplus_getnetbyaddr_r): Likewise.
48462         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48463         (_nss_nisplus_getprotobynumber_r): Likewise.
48464         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48465         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48466         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48467         Likewise.
48468         * nis/nss_nisplus/nisplus-service.c
48469         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48470         (_nss_nisplus_getservbyport_r): Likewise.
48471         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48472         (_nss_nisplus_getspnam_r): Likewise.
48473         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48474         Likewise.
48475         * nscd/aicache.c (addhstaiX): Likewise.
48476         * nscd/cache.c (cache_search, prune_cache): Likewise.
48477         * nscd/connections.c (register_traced_file, send_ro_fd)
48478         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48479         (main_loop_epoll): Likewise.
48480         * nscd/grpcache.c (addgrbyX): Likewise.
48481         * nscd/hstcache.c (addhstbyX): Likewise.
48482         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48483         * nscd/mem.c (gc, mempool_alloc): Likewise.
48484         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48485         (addinnetgrX): Likewise.
48486         * nscd/nscd-client.h (__nscd_acquire_maplock)
48487         (__nscd_drop_map_ref): Likewise.
48488         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48489         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48490         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48491         Likewise.
48492         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48493         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48494         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48495         (__nscd_get_map_ref): Likewise.
48496         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48497         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48498         Likewise.
48499         * nscd/pwdcache.c (addpwbyX): Likewise.
48500         * nscd/selinux.c (preserve_capabilities): Likewise.
48501         * nscd/servicescache.c (addservbyX): Likewise.
48502         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48503         * posix/fnmatch.c (fnmatch): Likewise.
48504         * posix/getopt.c (_getopt_internal_r): Likewise.
48505         * posix/glob.c (glob, glob_in_dir): Likewise.
48506         * posix/wordexp.c (exec_comm_child): Likewise.
48507         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48508         (getanswer_r, gaih_getanswer_slice): Likewise.
48509         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48510         * resolv/res_init.c: Likewise.
48511         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48512         * resolv/res_query.c (__libc_res_nquery): Likewise.
48513         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48514         Likewise.
48515         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48516         * stdio-common/perror.c (perror): Likewise.
48517         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48518         * stdio-common/tmpnam.c (tmpnam): Likewise.
48519         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48520         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48521         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48522         Likewise.
48523         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48524         * stdlib/putenv.c (putenv): Likewise.
48525         * stdlib/setenv.c (__add_to_environ): Likewise.
48526         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48527         * stdlib/strtol_l.c (INTERNAL): Likewise.
48528         * string/memmem.c (memmem): Likewise.
48529         * string/strerror.c (strerror): Likewise.
48530         * string/strnlen.c (__strnlen): Likewise.
48531         * string/test-memmem.c (simple_memmem): Likewise.
48532         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48533         * sunrpc/pm_getport.c (__get_socket): Likewise.
48534         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48535         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48536         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48537         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48538         Likewise.
48539         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48540         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48541         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48542         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48543         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48544         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48545         Likewise.
48546         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48547         Likewise.
48548         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48549         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48551         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48552         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48553         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48554         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48555         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48556         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48557         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48558         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48559         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48560         Likewise.
48561         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48562         Likewise.
48563         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48564         Likewise.
48565         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48566         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48567         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48568         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48569         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48570         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48571         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48572         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48573         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48574         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48575         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48577         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48578         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48580         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48581         Likewise.
48582         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48583         Likewise.
48584         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48585         Likewise.
48586         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48587         Likewise.
48588         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48590         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48591         Likewise.
48592         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48593         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48594         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48595         * sysdeps/posix/sleep.c: Likewise.
48596         * sysdeps/posix/tempname.c: Likewise.
48597         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48598         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48599         Likewise.
48600         * sysdeps/powerpc/powerpc32/dl-machine.h
48601         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48602         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48604         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48605         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48606         Likewise.
48607         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48608         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48609         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48610         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48611         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48612         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48613         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48614         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48615         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48616         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48618         (elf_machine_lazy_rel): Likewise.
48619         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48620         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48621         (elf_machine_lazy_rel): Likewise.
48622         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48623         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48624         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48625         * sysdeps/unix/grantpt.c (grantpt): Likewise.
48626         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48627         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48628         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48629         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48630         Likewise.
48631         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48632         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48633         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48634         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48635         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48636         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48637         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
48638         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
48639         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
48640         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48641         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48642         Likewise.
48643         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
48644         (__posix_fallocate64_l64): Likewise.
48645         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
48646         (posix_fallocate): Likewise.
48647         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
48648         Likewise.
48649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48650         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
48651         (getifaddrs_internal): Likewise.
48652         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
48653         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
48654         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
48655         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
48656         * sysdeps/unix/sysv/linux/posix_fallocate64.c
48657         (__posix_fallocate64_l64): Likewise.
48658         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
48659         Likewise.
48660         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
48661         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
48662         (__get_clockfreq): Likewise.
48663         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
48664         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
48665         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
48666         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48667         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48668         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
48669         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
48670         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
48671         Likewise.
48672         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
48673         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
48674         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
48675         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
48676         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48677         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
48678         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
48679         Likewise.
48680         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48681         (posix_fallocate): Likewise.
48682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48683         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
48684         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
48685         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
48686         (elf_machine_rela, elf_machine_rela_relative)
48687         (elf_machine_lazy_rel): Likewise.
48688         * time/asctime.c (asctime_internal): Likewise.
48689         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
48690         * time/tzset.c (__tzset_parse_tz): Likewise.
48691         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
48692         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
48693         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
48694         * wcsmbs/wcsmbsload.h: Likewise.
48696         [BZ #15894]
48697         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
48699         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
48700         (arena_get2): Remove THREAD_STATS conditionals.
48701         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
48702         (__malloc_stats, int): Likewise.
48704 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
48706         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
48707         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
48709         * manual/setjmp.texi: Fix typos/grammar errors.
48711         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
48712         Only return early when n is <= 0.  Delete unused return statement.
48714         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
48715         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
48716         * debug/tst-longjmp_chk3.c: New file.
48718         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
48719         (test_main): Replace code with set_fortify_handler call.
48720         * debug/test-strcpy_chk.c: Likewise.
48721         * debug/tst-chk1.c: Likewise.
48722         * debug/tst-longjmp_chk.c: Likewise.
48723         * test-skeleton.c: Include fcntl.h & paths.h
48724         (set_fortify_handler): Define.
48726         * debug/tst-longjmp_chk.c: Add header comment and include
48727         ../test-skeleton.c.
48728         (do_test): Mark static.
48729         (TEST_FUNCTION): Define.
48731         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
48732         (IP_PMTUDISC_INTERFACE): Likewise.
48733         (IP_MULTICAST_IF): Likewise.
48734         (IP_MULTICAST_TTL): Likewise.
48735         (IP_MULTICAST_LOOP): Likewise.
48736         (IP_ADD_MEMBERSHIP): Likewise.
48737         (IP_DROP_MEMBERSHIP): Likewise.
48738         (IP_UNBLOCK_SOURCE): Likewise.
48739         (IP_BLOCK_SOURCE): Likewise.
48740         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
48741         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
48742         (IP_MSFILTER): Likewise.
48743         (MCAST_JOIN_GROUP): Likewise.
48744         (MCAST_BLOCK_SOURCE): Likewise.
48745         (MCAST_UNBLOCK_SOURCE): Likewise.
48746         (MCAST_LEAVE_GROUP): Likewise.
48747         (MCAST_JOIN_SOURCE_GROUP): Likewise.
48748         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
48749         (MCAST_MSFILTER): Likewise.
48750         (IP_MULTICAST_ALL): Likewise.
48751         (IP_UNICAST_IF): Likewise.
48753         * timezone/Makefile: Delete $(have-ksh) check.
48754         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
48755         * timezone/tzselect.ksh: Add +x mode bits.
48757         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
48758         (ANON_INODE_FS_MAGIC): Likewise.
48759         (BDEVFS_MAGIC): Likewise.
48760         (BINFMTFS_MAGIC): Likewise.
48761         (BTRFS_TEST_MAGIC): Likewise.
48762         (CRAMFS_MAGIC_WEND): Likewise.
48763         (DEBUGFS_MAGIC): Likewise.
48764         (ECRYPTFS_SUPER_MAGIC): Likewise.
48765         (EXT3_SUPER_MAGIC): Likewise.
48766         (EXT4_SUPER_MAGIC): Likewise.
48767         (FUTEXFS_SUPER_MAGIC): Likewise.
48768         (HOSTFS_SUPER_MAGIC): Likewise.
48769         (HUGETLBFS_MAGIC): Likewise.
48770         (MINIX3_SUPER_MAGIC): Likewise.
48771         (MTD_INODE_FS_MAGIC): Likewise.
48772         (NILFS_SUPER_MAGIC): Likewise.
48773         (OPENPROM_SUPER_MAGIC): Likewise.
48774         (PIPEFS_MAGIC): Likewise.
48775         (PSTOREFS_MAGIC): Likewise.
48776         (QNX6_SUPER_MAGIC): Likewise.
48777         (RAMFS_MAGIC): Likewise.
48778         (REISERFS_SUPER_MAGIC_STRING): Likewise.
48779         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
48780         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
48781         (SECURITYFS_MAGIC): Likewise.
48782         (SELINUX_MAGIC): Likewise.
48783         (SMACK_MAGIC): Likewise.
48784         (SOCKFS_MAGIC): Likewise.
48785         (SQUASHFS_MAGIC): Likewise.
48786         (STACK_END_MAGIC): Likewise.
48787         (TMPFS_MAGIC): Likewise.
48788         (USBDEVICE_SUPER_MAGIC): Likewise.
48789         (V9FS_MAGIC): Likewise.
48790         (XENFS_SUPER_MAGIC): Likewise.
48791         (CRAMFS_MAGIC): Fix typo in comment.
48792         (EXT2_SUPER_MAGIC): Update comment.
48793         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
48795 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
48797         * sysdeps/arm: Move directory from ports/sysdeps/arm.
48798         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
48799         * sysdeps/unix/sysv/linux/arm: Move directory from
48800         ports/sysdeps/unix/sysv/linux/arm.
48801         * README: Update listing for arm-*-linux-gnueabi.
48803         * README: Remove mention of am33.
48805 2014-02-07  Roland McGrath  <roland@hack.frob.com>
48807         * bits/sigset.h (__sigemptyset): Use a statement expression rather
48808         than the comma operator, to avoid "rhs of comma has no effect"
48809         compiler warnings.
48810         (__sigfillset, __sigandset, __sigorset): Likewise.
48811         * include/signal.h (__sigemptyset): Likewise.
48812         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
48814 2014-02-07  Allan McRae  <allan@archlinux.org>
48816         * version.h (RELEASE): Set to "development".
48817         (VERSION): Set to "2.19.90"
48818         * NEWS: Add 2.20 section.
48820 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
48822         [BZ #16529]
48823         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
48825 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48827         * manual/contrib.texi: Update entry for Carlos O'Donell,
48828         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
48830 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
48832         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
48834         * sysdeps/unix/sysv/linux/kernel-features.h
48835         [__LINUX_KERNEL_VERSION >= 0x020621]
48836         (__ASSUME_PROC_PID_TASK_COMM): Define.
48838 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48840         [BZ #16398]
48841         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
48842         conversion when destination buffer does not have enough space.
48843         * libio/tst-ftell-partial-wide.c: New test case.
48844         * libio/Makefile (tests): Add tst-ftell-partial-wide.
48846         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
48847         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
48848         Leonard and Allan McRae.
48850 2014-02-04  David S. Miller  <davem@davemloft.net>
48852         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
48853         32-bit.
48855 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48858         New file
48859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48860         New file
48861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48862         New file.
48863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48864         New file.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48866         New file.
48867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48868         New file.
48869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48870         New file.
48871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48872         New file.
48873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48874         New file.
48875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48876         New file.
48877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48878         New file.
48879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48880         New file.
48881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48882         New file.
48884 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48886         * nptl/shlib-versions: Change powerpc*le start to 2.17.
48887         * shlib-versions: Likewise.
48889 2014-02-04  Roland McGrath  <roland@hack.frob.com>
48890             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48892         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
48893         (abilist-pattern): New variable, set to %-le.abilist.
48895         * Makerules (abilist-pattern): New variable.
48896         (vpath): Use $(abilist-pattern) in place of %.abilist.
48897         (check-abi-% pattern rule): Likewise.
48898         (check-abi, update-abi): Likewise.
48900 2014-02-04  Eric Wong  <normalperson@yhbt.net>
48902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48904 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
48906         * manual/startup.texi: Add next, previous, and top entries for
48907         the `Program Arguments' and `Environment Variables' nodes.
48909 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
48911         * manual/macros.texi: Add comments before MTASC-safety macros.
48913         * manual/users.texi: Document MTASC-safety properties.
48915         * manual/threads.texi (pthread_key_create, pthread_key_delete)
48916         (pthread_getspecific, pthread_setspecific): Format with
48917         @deftypefun, and add @safety note.
48918         * manual/signal.texi: Move comments that analyze the above
48919         functions to their home place.
48921 2014-02-03  Allan McRae  <allan@archlinux.org>
48923         * po/sl.po: Update Slovenian translation from translation project.
48925 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
48927         * manual/time.texi (timegm): Add missing blank after @c.
48928         Reported by Joseph Myers <joseph@codesourcery.com>.
48930 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
48932         * manual/check-safety.sh: New.
48933         * manual/Makefile ($(objpfx)stamp-summary): Run it.
48935         * manual/terminal.texi: Document MTASC-safety properties.
48937         * manual/filesys.texi: Document MTASC-safety properties.
48939         * manual/errno.texi: Document MTASC-safety properties.
48941         * manual/intro.texi: Document safety identifiers and
48942         conditionals.
48944         * manual/string.texi (wcstok): Fix prototype.
48945         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
48947         * manual/time.texi: Document MTASC-safety properties.
48949         * manual/string.texi: Document MTASC-safety properties.
48951         * manual/threads.texi: Document MTASC-safety properties.
48953         * manual/stdio.texi: Document MTASC-safety properties.
48955         * manual/syslog.texi: Document MTASC-safety properties.
48957         * manual/sysinfo.texi: Document MTASC-safety properties.
48959         * manual/startup.texi: Document MTASC-safety properties.
48961         * manual/socket.texi: Document MTASC-safety properties.
48963         * manual/signal.texi: Document MTASC-safety properties.
48965 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
48967         * manual/setjmp.texi: Document MTASC-safety properties.
48969         * manual/search.texi: Document MTASC-safety properties.
48971         * manual/resource.texi: Document MTASC-safety properties.
48973         * manual/process.texi: Document MTASC-safety properties.
48975         * manual/platform.texi: Document MTASC-safety properties.
48977         * manual/pipe.texi: Document MTASC-safety properties.
48979         * manual/pattern.texi: Document MTASC-safety properties.
48981         * manual/message.texi: Document MTASC-safety properties.
48983         [BZ #12751]
48984         * manual/memory.texi: Document MTASC-safety properties.
48986         * manual/math.texi: Document MTASC-safety properties.
48988         * manual/locale.texi: Document MTASC-safety properties.
48990         * manual/llio.texi: Document MTASC-safety properties.
48992         * manual/libdl.texi: New.
48994         * manual/lang.texi: Document MTASC-safety properties.
48996         * manual/job.texi: Document MTASC-safety properties.
48998         * manual/getopt.texi: Document MTASC-safety properties.
49000         * manual/ctype.texi: Document MTASC-safety properties.
49002 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49004         [BZ #16046]
49005         * csu/libc-tls.c (static_map): Remove variable.
49006         (__libc_setup_tls): Use main executable's link map for TLS data.
49007         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49008         casing for LM_ID_BASE and GL(dl_nns).
49009         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49010         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49011         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49012         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49013         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49014         member.
49015         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49016         l_phnum members.
49018 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49020         * manual/debug.texi: Document MTASC-safety properties.
49022 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49024         [BZ #16510]
49025         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49026         of __x86_64__ when disabling x87 inline functions.
49028 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49030         * manual/charset.texi: Document MTASC-safety properties.
49032         * manual/crypt.texi: Document MTASC-safety properties.
49034         * manual/conf.texi: Document MTASC-safety properties.
49036         * manual/arith.texi: Document MTASC-safety properties.
49038         * manual/argp.texi: Document MTASC-safety properties.
49040         * manual/macros.texi: Introduce macros to document multi
49041         thread, asynchronous signal and asynchronous cancellation
49042         safety properties.
49043         * manual/intro.texi: Introduce the properties themselves.
49045 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49047         * sysdeps/sh/sh4/Makefile: New file.
49049 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49051         * math/gen-libm-test.pl ($srcdir): New variable.
49052         ($auto_input): Use it.
49054 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49056         [BZ #16506]
49057         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49058         access beyond array bounds when parsing netgroups file.
49060         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49061         the old buffer before realloc.
49063 2014-01-27  Allan McRae  <allan@archlinux.org>
49065         * po/fr.po: Update French translation from translation project.
49067 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49069         * sysdeps/sh/libm-test-ulps: Regenerate.
49071 2014-01-24  David S. Miller  <davem@davemloft.net>
49073         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49075 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49077         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49078         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49080 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49082         [BZ #16474]
49083         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49084         string pointers after reallocation.
49086 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49088         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49089         __SH4A__ instead of __SH_FPU_ANY__.
49091 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49093         * sysdeps/sh/fpu_control.h: New file.
49094         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49095         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49096         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49097         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49098         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49099         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49100         * sysdeps/sh/sys/ucontext.h: Remove.
49101         * sysdeps/sh/sys: Remove directory.
49103 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49105         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49106         s390/sys/ucontext.h.
49107         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49108         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49110 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49112         [BZ #15605]
49113         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49115 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49117         [BZ#16431]
49118         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49119         Adjust the vDSO correctly for internal calls.
49120         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49122 2014-01-20  Allan McRae  <allan@archlinux.org>
49124         * po/ca.po: Update Catalan translation from translation project.
49126 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49128         * sysdeps/s390/sotruss-lib.c: New file.
49130 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49132         [BZ#16430]
49133         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49134         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49135         local calls issues by not having a PLT stub required for IFUNC calls.
49136         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49138 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49140         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49141         * math/test-fpucw-static.c: Likewise.
49143 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49145         [BZ #16453]
49146         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49148 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49150         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49151         implementation for powerpc.
49153 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49155         [BZ #14782]
49156         * sysdeps/posix/system.c (__libc_system): Do not enable
49157         asynchronous cancellation.
49159 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49161         [BZ #16427]
49162         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49163         handling only for numbers special also in the IEEE case.
49165 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49167         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49169 2014-01-11  Allan McRae  <allan@archlinux.org>
49171         * po/bg.po: Update Bulgarian translation from translation project.
49173         * po/de.po: Update German translation from translation project.
49175 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49177         * sysdeps/generic/gcc-compat.h: New file.
49179 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49181         * benchtests/asin-inputs: Correct slow inputs.
49182         * benchtests/acos-inputs: Likewise.
49184 2014-01-10  Allan McRae  <allan@archlinux.org>
49186         * po:sv.po: Update Swedish translation from translation project.
49188         * po/vi.po: Update Vietnamese translation from translation project.
49190         * po/eo.po: Update Esperanto translation from translation project.
49192         * po/cs.po: Update Czech translation from translation project.
49194         * po/nl.po: Update Dutch translation from translation project.
49196         * po/pl.po: Update Polish translation from translation project.
49198         * po/ru.po: Update Russian translation from translation project.
49200         * po/uk.po: Update Ukrainian translation from translation project.
49202 2014-01-08  Brooks Moses  <bmoses@google.com>
49204         * elf/dl-load.c: Fix comment typo.
49206 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49208         * po/header.pot: Rename to...
49209         * po/pot.header: ... this.
49210         * po/Makefile: Use pot.header.
49212 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49213             Maxim Kuvyrkov  <maxim@kugelworks.com>
49215         [BZ #16394]
49216         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49217         SRC and DEST against LEN.
49219 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49221         [BZ #16414]
49222         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49223         implementation.
49224         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49226 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49230 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49232         [BZ #16408]
49233         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49234         for large positive arguments.
49236 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49238         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49240         * math/auto-libm-test-in: Mark various tests with
49241         xfail-rounding:ldbl-128ibm.
49242         * math/auto-libm-test-out: Regenerated.
49244         [BZ #16407]
49245         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49246         Increase overflow threshold.
49248 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49250         [BZ #14286]
49251         * stdio-common/vfprintf.c: Check for integer overflow.
49253 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49255         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49256         the first argument and return value of __tls_get_addr_internal.
49258 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49260         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49261         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49263 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49265         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49266         * sysdeps/s390/rtld-global-offsets.sym: New file.
49267         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49268         GLIBC_2.19 symbol.
49269         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49270         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49271         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49272         ... this.
49273         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49274         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49275         ... this.
49276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49277         Regenerate.
49278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49279         Regenerate.
49280         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49281         halfs of GPRs for high_gprs contexts.
49282         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49283         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49284         field.
49285         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49286         uc_flags field.
49287         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49288         64 bit versions:
49289         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49290         for high GPRs (uc_high_gprs) and for future extensions
49291         (__reserved).
49292         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49293         for future extensions (__reserved).
49294         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49295         64 bit versions:
49296         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49297         SC_HIGHGPRS offset definition.
49298         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49299         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49301         * Versions.def: Add GLIBC_2.19 for libpthread.
49302         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49303         siglongjmp for libpthread with GLIBC_2.19 symver.
49304         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49305         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49306         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49307         * sysdeps/s390/__longjmp.c: New file.
49308         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49309         * sysdeps/s390/longjmp.c: New file.
49310         * sysdeps/s390/setjmp.S: New file.
49311         * sysdeps/s390/sigjmp.S: New file.
49312         * sysdeps/s390/v1-longjmp.c: New file.
49313         * sysdeps/s390/v1-setjmp.h: New file.
49314         * sysdeps/s390/v1-sigjmp.c: New file.
49315         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49316         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49317         GLIBC_2.19 version.
49318         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49319         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49320         versioned symbols for ____longjmp_chk.
49321         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49322         Likewise.
49323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49324         Regenerate.
49325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49326         Regenerate.
49327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49328         Regenerate.
49329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49330         Regenerate.
49331         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49332         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49333         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49334         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49335         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49336         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49337         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49338         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49339         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49340         * sysdeps/s390/rtld-__longjmp.c: New file.
49341         * sysdeps/s390/rtld-setjmp.S: New file.
49343 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49345         [BZ #16400]
49346         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49347         Return -__logl (x) for small positive arguments without evaluating
49348         a polynomial.
49350 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49352         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49353         Rename to ...
49354         (__ptrace_peeksiginfo_args): ... this.
49355         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49356         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49357         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49359 2014-01-06  Allan McRae  <allan@archlinux.org>
49361         * inet/netinet/in.h: Fix typo in comment.
49363 2014-01-05  Andreas Jaeger  <aj@suse.de>
49365         * sysdeps/i386/fpu/libm-test-ulps: Update.
49367 2014-01-05  Allan McRae  <allan@archlinux.org>
49369         * po/libc.pot: Regenerated.
49371         * malloc/memusagestat.c: Fix gettext call formatting.
49373 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49375         * nscd/nscd.c: Improve usage() output.
49377 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49379         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49380         * sysdeps/unix/sysv/linux/configure: Regenerated.
49381         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49382         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49384 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49386         [BZ #16390]
49387         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49388         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49390 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49392         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49393         extra tokens at end of #undef directive.
49394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49395         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49396         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49398 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49400         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49402         * math/auto-libm-test-in: Mark various tests with
49403         xfail-rounding:ldbl-128ibm.
49404         * math/auto-libm-test-out: Regenerated.
49406 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49408         [BZ #16386]
49409         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49410         numbers with subnormal high part when calculating exponent.
49412         [BZ #16385]
49413         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49414         fabs.
49416         [BZ #16384]
49417         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49418         M_LN2l.
49419         (__ieee754_acoshl): Use __log1pl not __log1p.
49421 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49423         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49424         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49425         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49426         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49427         (reused_arena, arena_get2): Convert to GNU style.
49428         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49429         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49430         (memalign_check, __malloc_set_state): Likewise.
49431         * malloc/mallocbug.c (main): Likewise.
49432         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49433         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49434         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49435         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49436         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49437         (__posix_memalign, malloc_info): Likewise.
49438         * malloc/malloc.h: Likewise.
49439         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49440         (mallochook, memalignhook, reallochook, mabort): Likewise.
49441         * malloc/mcheck.h: Likewise.
49442         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49443         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49444         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49445         * malloc/morecore.c (__default_morecore): Likewise.
49446         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49447         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49448         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49449         (print_and_abort): Likewise.
49450         * malloc/obstack.h: Likewise.
49451         * malloc/set-freeres.c (__libc_freeres): Likewise.
49452         * malloc/tst-mallocstate.c (main): Likewise.
49453         * malloc/tst-mtrace.c (main): Likewise.
49454         * malloc/tst-realloc.c (do_test): Likewise.
49456 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49458         [BZ #16366]
49459         * nscd/netgroupcache.c (do_notfound): New function.
49460         (addgetnetgrentX): Use it.
49462         [BZ # 16365]
49463         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49464         NSS_STATUS_NOTFOUND.
49466 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49468         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49471 2014-01-01  Allan McRae  <allan@archlinux.org>
49473         * scripts/update-copyrights: Update configure input file suffix.
49475         * NEWS: Update copyright year.
49476         * catgets/gencat.c: Likewise.
49477         * csu/version.c: Likewise.
49478         * debug/catchsegv.sh: Likewise.
49479         * debug/pcprofiledump.c: Likewise.
49480         * debug/xtrace.sh: Likewise.
49481         * elf/ldconfig.c: Likewise.
49482         * elf/ldd.bash.in: Likewise.
49483         * elf/pldd.c: Likewise.
49484         * elf/sotruss.ksh: Likewise.
49485         * elf/sprof.c: Likewise.
49486         * iconv/iconv_prog.c: Likewise.
49487         * iconv/iconvconfig.c: Likewise.
49488         * locale/programs/locale.c: Likewise.
49489         * locale/programs/localedef.c: Likewise.
49490         * login/programs/pt_chown.c: Likewise.
49491         * malloc/memusage.sh: Likewise.
49492         * malloc/memusagestat.c: Likewise.
49493         * malloc/mtrace.pl: Likewise.
49494         * manual/libc.texinfo: Likewise.
49495         * nscd/nscd.c: Likewise.
49496         * nss/getent.c: Likewise.
49497         * nss/makedb.c: Likewise.
49498         * posix/getconf.c: Likewise.
49499         * scripts/test-installation.pl: Likewise.
49501         * All files with FSF copyright notices: Update copyright dates
49502         using scripts/update-copyrights.
49503         * intl/plural.c: Regenerated.
49504         * locale/programs/charmap-kw.h: Likewise.
49505         * locale/programs/locfile-kw.h: Likewise.
49507 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49509         * sysdeps/unix/sysv/linux/configure: Regenerated.
49510         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49511         the linux/fanotify.h header.
49512         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49513         HAVE_LINUX_FANOTIFY_H is defined.
49515 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49517         * benchtests/cos-inputs: New inputs.
49518         * benchtests/sin-inputs: Likewise.
49520         * benchtests/atan-inputs: New inputs. Fix name of multiple
49521         precision fallback inputs.
49523         * benchtests/atanh-inputs: New inputs.
49524         * benchtests/tanh-inputs: Likewise.
49526         * benchtests/acosh-inputs: New inputs.
49527         * benchtests/asinh-inputs: Likewise.
49529         * benchtests/cosh-inputs: New inputs.
49530         * benchtests/sinh-inputs: Likewise.
49532         * benchtests/acos-inputs: Add more inputs.
49533         * benchtests/asin-inputs: Likewise.
49535 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49537         [BZ #16375]
49538         * manual/arith.texi: Fix spelling.
49539         * manual/charset.texi: Likewise.
49540         * manual/errno.texi: Likewise.
49541         * manual/filesys.texi: Likewise.
49542         * manual/lang.texi: Likewise.
49543         * manual/llio.texi: Likewise.
49544         * manual/locale.texi: Likewise.
49545         * manual/message.texi: Likewise.
49546         * manual/resource.texi: Likewise.
49547         * manual/search.texi: Likewise.
49548         * manual/setjmp.texi: Likewise.
49549         * manual/stdio.texi: Likewise.
49550         * manual/string.texi: Likewise.
49551         * manual/sysinfo.texi: Likewise.
49552         * manual/time.texi: Likewise.
49554 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49556         * po/sl.po: New file.
49558 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49560         * .gitignore: Add core/.gdbinit/.gdb_history.
49562 2013-12-27  Allan McRae  <allan@archlinux.org>
49564         [BZ #16369]
49565         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49566         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49568 2013-12-24  Brooks Moses  <bmoses@google.com>
49570         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49571         all compilers that claim C++98 compliance, not just GCC.
49572         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49573         Likewise.
49575 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49577         * NEWS: Restore accidentally deleted bug-fix entries.
49579 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49580             Ondřej Bílka  <neleai@seznam.cz>
49582         [BZ #15073]
49583         * malloc/malloc.c (_int_free): Perform sanity check only if we
49584         have_lock.
49586 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49588         [BZ #12986]
49589         * manual/stdio.texi (String Input Conversions): Clarify that character
49590         classes are not supported.
49592 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49596 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49598         [BZ #16337]
49599         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49600         Calculate results for small negative arguments directly rather
49601         than using reflection formula with special underflow handling.
49603         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49604         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49605         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49606         (fchflags): Likewise.
49607         (revoke): Likewise.
49608         (setlogin): Likewise.
49609         (sigaltstack): Likewise.
49610         (wait4): Likewise.
49611         (sigblock): Remove.
49612         (sigsetmask): Likewise.
49613         (wait3): Likewise.
49614         (waitpid): Likewise.
49615         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49616         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49617         file.
49618         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49619         * sysdeps/unix/bsd/Makefile: ... here.
49620         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49621         * sysdeps/unix/bsd/Versions: ... here.
49622         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49623         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49624         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49625         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49626         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49627         * sysdeps/unix/bsd/sigblock.c: ... here.
49628         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49629         * sysdeps/unix/bsd/sigsetmask.c: ... here.
49630         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49631         * sysdeps/unix/bsd/sigvec.c: ... here.
49632         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49633         * sysdeps/unix/bsd/tcdrain.c: ... here.
49634         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49635         * sysdeps/unix/bsd/tcgetattr.c: ... here.
49636         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49637         * sysdeps/unix/bsd/tcsetattr.c: ... here.
49638         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
49639         * sysdeps/unix/bsd/wait.c: ... here.
49640         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
49641         * sysdeps/unix/bsd/wait3.c: ... here.
49642         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
49643         * sysdeps/unix/bsd/waitpid.c: ... here.
49645 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
49647         [BZ #16356]
49648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
49649         round-to-nearest for [!USE_AS_EXPM1L].
49650         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
49651         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
49652         more tests of exp and exp10.  Expect some exp10 tests to miss
49653         exceptions or fail in directed rounding modes.
49654         * math/auto-libm-test-out: Regenerated.
49655         * math/libm-test.inc (exp10_tonearest_test_data): New array.
49656         (exp10_test_tonearest): New function.
49657         (exp10_towardzero_test_data): New array.
49658         (exp10_test_towardzero): New function.
49659         (exp10_downward_test_data): New array.
49660         (exp10_test_downward): New function.
49661         (exp10_upward_test_data): New array.
49662         (exp10_test_upward): New function.
49663         (main): Call the new functions.
49664         * sysdeps/i386/fpu/libm-test-ulps: Update.
49665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49667 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
49669         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
49670         asinh, atan, atan2, atanh, cbrt, cos and cosh.
49671         * math/auto-libm-test-out: Regenerated.
49672         * math/libm-test.inc (acosh_test_data): Add more tests.
49673         (atanh_test_data): Likewise.
49674         (ceil_test_data): Likewise.
49675         (copysign_test_data): Likewise.
49676         * sysdeps/i386/fpu/libm-test-ulps: Update.
49677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49679         * timezone/checktab.awk: Update from tzcode 2013i.
49680         * timezone/private.h: Likewise.
49681         * timezone/scheck.c: Likewise.
49682         * timezone/tzfile.h: Likewise.
49683         * timezone/tzselect.ksh: Likewise.
49684         * timezone/zdump.c: Likewise.
49685         * timezone/zic.c: Likewise.
49687         * math/auto-libm-test-in: Add tests of cpow.
49688         * math/auto-libm-test-out: Regenerated.
49689         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
49690         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49691         mpc_cc_c.
49692         (func_calc_desc): Add mpc_cc_c union field.
49693         (test_functions): Add cpow.
49694         (special_fill_2pi): New function.
49695         (special_real_inputs): Add 2pi.
49696         (calc_generic_results): Handle mpc_cc_c.
49697         * sysdeps/i386/fpu/libm-test-ulps: Update.
49698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49700         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
49701         csqrt, ctan and ctanh.
49702         * math/auto-libm-test-out: Regenerated.
49703         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49704         (TEST_COND_x86): Likewise.
49705         (ccos_test_data): Use AUTO_TESTS_c_c.
49706         (ccosh_test_data): Likewise.
49707         (cexp_test_data): Likewise.
49708         (clog_test_data): Likewise.
49709         (csqrt_test_data): Likewise.
49710         (ctan_test_data): Likewise.
49711         (ctan_tonearest_test_data): Likewise.
49712         (ctan_towardzero_test_data): Likewise.
49713         (ctan_downward_test_data): Likewise.
49714         (ctan_upward_test_data): Likewise.
49715         (ctanh_test_data): Likewise.
49716         (ctanh_tonearest_test_data): Likewise.
49717         (ctanh_towardzero_test_data): Likewise.
49718         (ctanh_downward_test_data): Likewise.
49719         (ctanh_upward_test_data): Likewise.
49720         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49721         mpc_c_c.
49722         (func_calc_desc): Add mpc_c_c union field.
49723         (FUNC_mpc_c_c): New macro.
49724         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49725         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
49726         ctanh.
49727         (special_fill_min_subnorm_p120): New function.
49728         (special_real_inputs): Add min_subnorm_p120.
49729         (calc_generic_results): Handle mpc_c_c.
49730         * sysdeps/i386/fpu/libm-test-ulps: Update.
49731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49733 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49735         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
49736         (do_sin_slow): New functions.
49737         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
49738         (cslow2, csloww1, csloww2): Use the new functions.
49740         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
49741         Use M to change sign of result instead of X.  Assume X is
49742         positive.
49743         (csloww1): Likewise.
49744         (__sin): Adjust.
49745         (__cos): Adjust.
49747         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
49748         arguments A and DA.
49749         (__sin): Adjust.
49750         (__cos): Likewise.
49752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
49753         (__cos): Likewise.
49754         (sloww1): Don't adjust sign of DX.
49755         (csloww1): Likewise.
49756         (sloww2): Use X directly and don't adjust sign of DX.
49757         (csloww2): Likewise.
49759 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49761         * math/auto-libm-test-in: Add tests of cabs and carg.
49762         * math/auto-libm-test-out: Regenerated.
49763         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
49764         (carg_test_data): Likewise.
49765         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49766         mpc_c_f.
49767         (func_calc_desc): Add mpc_c_f union field.
49768         (test_functions): Add cabs and carg.
49769         (calc_generic_results): Handle mpc_c_f.
49771         * sysdeps/powerpc/powerpc32/libgcc-compat.S
49772         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
49773         as a macro and a compat symbol.
49774         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
49775         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
49776         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
49777         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
49778         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
49779         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
49780         not use .hidden.
49781         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
49782         Likewise.
49783         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
49784         Likewise.
49785         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
49786         Likewise.
49787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
49788         Likewise.
49789         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
49790         Likewise.
49791         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
49792         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
49793         from GLIBC_2.3.2.
49795 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49799 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49801         * manual/texinfo.tex: Update to version 2013-11-26.10 with
49802         trailing whitespace removed.
49803         * scripts/config.guess: Update to version 2013-11-29.
49804         * scripts/config.sub: Update to version 2013-10-01.
49806         * math/auto-libm-test-in: Add tests of sincos.
49807         * math/auto-libm-test-out: Regenerated.
49808         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
49809         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49810         mpfr_f_11.
49811         (func_calc_desc): Add mpfr_f_11 union field.
49812         (test_functions): Add sincos.
49813         (calc_generic_results): Handle mpfr_f_11.
49814         * sysdeps/i386/fpu/libm-test-ulps: Update.
49815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49817 2013-12-19  Andreas Schwab  <schwab@suse.de>
49819         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
49820         CALL_MCOUNT.
49821         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49822         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
49823         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
49825 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49827         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
49828         * sysdeps/i386/fpu/libm-test-ulps: Update.
49829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49831         [BZ #16293]
49832         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
49833         round-to-nearest mode when using frndint.
49834         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
49835         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49836         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49837         Likewise.
49838         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
49839         sinh test to fail.
49840         * math/auto-libm-test-out: Regenerated.
49841         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
49842         (TEST_COND_x86): Likewise.
49843         (expm1_tonearest_test_data): New array.
49844         (expm1_test_tonearest): New function.
49845         (expm1_towardzero_test_data): New array.
49846         (expm1_test_towardzero): New function.
49847         (expm1_downward_test_data): New array.
49848         (expm1_test_downward): New function.
49849         (expm1_upward_test_data): New array.
49850         (expm1_test_upward): New function.
49851         (main): Run the new test functions.
49852         * sysdeps/i386/fpu/libm-test-ulps: Update.
49853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49855         * include/features.h: Update comment documenting feature test
49856         macros.  Mention _DEFAULT_SOURCE in comment.
49857         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
49858         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
49859         _BSD_SOURCE and _SVID_SOURCE.
49860         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
49861         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
49862         !_SVID_SOURCE]: Likewise.
49863         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49864         (__USE_POSIX_IMPLICITLY): Define.
49865         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49866         (_POSIX_SOURCE): Undefine and redefine.
49867         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49868         (_POSIX_C_SOURCE): Likewise.
49869         * manual/creature.texi (_DEFAULT_SOURCE): Document.
49870         (Feature Test Macros): Update documentation of default features.
49872 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49874         * benchtests/Makefile: Add bench-strtok.
49875         * benchtests/bench-strtok.c: New file: strtok benchtest.
49877 2013-12-19  Allan McRae  <allan@archlinux.org>
49879         * manual/install.texi: Suppress menu for plain text output.
49880         * INSTALL: Regenerated.
49882 2013-12-18  Brooks Moses  <bmoses@google.com>
49884         [BZ #15846]
49885         * misc/getauxval.c: Include errno.h.
49886         (__getauxval): Set errno to ENOENT if the requested type is not
49887         found.
49888         * misc/sys/auxv.h (getauxval): Document that it may set errno;
49889         don't declare with __attribute_const__.
49890         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
49891         * manual/startup.texi: Document that getauxval sets errno.
49893 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
49895         * math/auto-libm-test-in: Add tests of jn and yn.
49896         * math/auto-libm-test-out: Regenerated.
49897         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
49898         (yn_test_data): Likewise.
49899         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49900         mpfr_if_f.
49901         (func_calc_desc): Add mpfr_if_f union field.
49902         (FUNC_mpfr_if_f): New macro.
49903         (test_functions): Add jn and yn.
49904         (calc_generic_results): Assert type of second input for
49905         mpfr_ff_f.  Handle mpfr_if_f.
49906         (output_for_one_input_case): Disable all checking for arguments
49907         fitting floating-point types in case of an integer argument.
49908         * sysdeps/i386/fpu/libm-test-ulps: Update.
49909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49912         Don't expect fegetround reference in libm.so.
49914 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49916         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
49917         $(config-cflags-nofma).
49919 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
49921         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
49922         * math/auto-libm-test-out: Regenerated.
49924         [BZ #16338]
49925         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
49926         to determine exponent and adjust argument to have exponent of -1.
49927         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
49928         log2.
49929         * math/auto-libm-test-out: Regenerated.
49930         * sysdeps/i386/fpu/libm-test-ulps: Update.
49931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49933 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
49935         * manual/probes.texi: Remove cases when per-thread arenas are
49936         disabled.
49938 2013-12-18  Andreas Schwab  <schwab@suse.de>
49940         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
49941         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
49942         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
49943         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
49944         * sysdeps/i386/i686/multiarch/Makefile: Update.
49945         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
49947 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49949         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
49950         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
49952 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
49954         [BZ #15968]
49955         Support TZ transition times < 00:00:00.
49956         This is needed for version-3 tz-format files; it supports time
49957         stamps past 2037 for America/Godthab (the only entry in the tz
49958         database for which this change is relevant).
49959         * manual/time.texi (TZ Variable): Document transition times
49960         from -167:59:59 through -00:00:01.
49961         * time/tzset.c (tz_rule): Time of day is now signed.
49962         (__tzset_parse_tz): Parse negative time of day.
49964         Document TZ transition times >= 25:00:00.
49965         * manual/time.texi (TZ Variable): Document transition times from
49966         25:00:00 through 167:59:59.  These are already supported, and this
49967         support will help with version-3 tz-format files.
49969         * manual/time.texi (TZ Variable): Modernize North America example
49970         to reflect current (i.e., 2007-and-later) daylight saving rules.
49972         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
49974 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
49976         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
49977         * sysdeps/unix/bsd/bits/stat.h: Likewise.
49978         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
49979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49980         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
49981         * sysdeps/unix/bsd/bsdstat.h: Likewise.
49982         * sysdeps/unix/bsd/clock.c: Likewise.
49983         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
49984         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
49985         * sysdeps/unix/bsd/init-posix.c: Likewise.
49986         * sysdeps/unix/bsd/poll.c: Likewise.
49987         * sysdeps/unix/bsd/ptsname.c: Likewise.
49988         * sysdeps/unix/bsd/seekdir.c: Likewise.
49989         * sysdeps/unix/bsd/setegid.c: Likewise.
49990         * sysdeps/unix/bsd/seteuid.c: Likewise.
49991         * sysdeps/unix/bsd/setgid.c: Likewise.
49992         * sysdeps/unix/bsd/setrgid.c: Likewise.
49993         * sysdeps/unix/bsd/setruid.c: Likewise.
49994         * sysdeps/unix/bsd/setsid.c: Likewise.
49995         * sysdeps/unix/bsd/setuid.c: Likewise.
49996         * sysdeps/unix/bsd/sigaction.c: Likewise.
49997         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
49998         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
49999         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50000         * sysdeps/unix/bsd/telldir.c: Likewise.
50001         * sysdeps/unix/bsd/times.c: Likewise.
50002         * sysdeps/unix/bsd/usleep.c: Likewise.
50004         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50005         ($(objpfx)libbsd-compat.a): Remove rule.
50007         * include/features.h (__FAVOR_BSD): Do not define.
50008         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50009         features conflicting with POSIX.
50010         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50011         (_BSD_SOURCE): Remove description of not being a subset of other
50012         feature test macros.
50013         * manual/job.texi (getpgrp): Do not document BSD version.
50014         (getpgid): Do not document by reference to BSD getpgrp.
50015         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50016         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50017         * signal/signal.h [__FAVOR_BSD]: Likewise.
50018         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50019         instead of making contents conditional on [__FAVOR_BSD].
50020         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50022 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50026 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50028         [BZ #16314]
50029         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50030         values below 2**-450, not 2**-500.
50031         * math/auto-libm-test-in: Don't allow spurious underflow from
50032         hypot.
50033         * math/auto-libm-test-out: Regenerated.
50035         [BZ #16316]
50036         [BZ #16330]
50037         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50038         values of ha and hb and sort them after adjusting subnormal
50039         arguments.
50040         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50041         Likewise.
50042         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50043         values of ea and eb and sort them after adjusting subnormal
50044         arguments.
50045         * math/auto-libm-test-in: Do not expect some hypot tests of
50046         subnormals to fail.  Add more hypot tests.
50047         * math/auto-libm-test-out: Regenerated.
50049 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50051         [BZ #13304]
50052         * sysdeps/sh/s_fma.c: New file.
50053         * sysdeps/sh/s_fmaf.c: New file.
50054         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50055         version.
50056         * sysdeps/sh/Implies: Add sh/soft-fp.
50058 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50060         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50061         level of indirection to members `objname', `errstring', `malloced'.
50062         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50063         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50064         it as the __longjmp argument (just pass 1 instead).
50065         (_dl_catch_error): Initialize C with argument pointers and address of
50066         volatile local ERRCODE rather than copying values out of C at return.
50068 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50070         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50071         * math/auto-libm-test-out: Regenerated.
50072         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50073         (hypot_test_data): Likewise.
50074         (pow_test_data): Likewise.
50075         (pow_tonearest_test_data): Likewise.
50076         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50077         mpfr_ff_f.
50078         (func_calc_desc): Add mpfr_ff_f union field.
50079         (FUNC_mpfr_ff_f): New macro.
50080         (test_functions): Add atan2, hypot and pow.
50081         (special_fill_min): New function.
50082         (special_fill_minus_min): Likewise.
50083         (special_fill_min_subnorm): Likewise.
50084         (special_fill_minus_min_subnorm): Likewise.
50085         (special_real_inputs): Add min, -min, min_subnorm and
50086         -min_subnorm.
50087         (calc_generic_results): Handle mpfr_ff_f.
50088         * sysdeps/i386/fpu/libm-test-ulps: Update.
50089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50091 2013-12-16  Will Newton  <will.newton@linaro.org>
50093         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50094         (Aligned Memory Blocks): Add documentation for aligned_alloc
50095         and suggest it as an alternative to posix_memalign.
50096         (Hooks for Malloc): Document __memalign_hook is also called
50097         for aligned_alloc.  (Summary of Malloc): Add summary for
50098         aligned alloc.  Document __memalign_hook is also called
50099         for aligned_alloc.
50101 2013-12-16  Will Newton  <will.newton@linaro.org>
50103         * manual/memory.texi (Malloc Examples): Clarify default
50104         alignment documentation.  Suggest posix_memalign rather
50105         than memalign or valloc.
50106         (Aligned Memory Blocks): Remove suggestion to use memalign
50107         or valloc.  Remove obsolete comment about BSD.
50108         Document memalign errno values and mark the function obsolete.
50109         Document posix_memalign returned error codes.  Mark valloc
50110         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50111         called for posix_memalign and valloc.
50112         (Summary of Malloc): Add posix_memalign to function summary.
50113         __memalign_hook is also called for posix_memalign and valloc.
50115 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50117         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50118         TAYLOR_SIN.
50119         (__sin): Adjust.
50120         (__cos): Likewise.
50121         (sloww): Use mynumber union.  Expand ternary operator into
50122         if-else statements.
50123         (cslow): use mynumber union.
50125 2013-12-16  Allan McRae  <allan@archlinux.org>
50127         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50128         * configure: Regenerated.
50130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50132         [BZ #14120]
50133         * configure.ac: Added --enable-maintainer-mode. Check for
50134         autoconf when enabled.
50135         * configure: Regenerated.
50137         * nscd/nscd.service: New file.
50138         * nscd/nscd.tmpfiles: New file.
50140 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50142         [BZ #12100]
50143         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50144         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50145         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50146         (strstr): Add __strstr_sse2_unaligned ifunc.
50147         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50148         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50149         (strcasestr): Remove __strcasestr_sse42 ifunc.
50150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50154 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50156         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50157         * sysdeps/sh/bits/fenv.h: ... here.
50158         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50160 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50162         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50165         hypotf multiarch implementations.
50166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50167         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50168         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50169         multiarch hypot for PPC64.
50170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50171         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50172         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50173         multiarch hypotf for PPC64.
50175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50176         modff multiarch implementations.
50177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50180         multiarch modf for PPC64.
50181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50184         multiarch modff for PPC64.
50186         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50187         and logl multiarch implementations.
50188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50191         multiarch logb for PPC64.
50192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50195         multiarch logb for PPC64.
50196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50199         multiarch logb for PPC64.
50201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50202         isinff multiarch implementation.
50203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50204         file.
50205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50207         multiarch isinf for PPC64.
50208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50209         file.
50210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50211         multiarch isinff for PPC64.
50213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50214         finitef multiarch implementation.
50215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50216         file.
50217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50219         multiarch finite for PPC64.
50220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50221         file.
50222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50223         multiarch finitef for PPC64.
50225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50226         lrint multiarch implementation.
50227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50228         file.
50229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50231         multiarch llrint for PPC64.
50232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50233         multiarch lrint for PPC64.
50235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50236         copysignf multiarch implementation.
50237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50238         file.
50239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50240         file.
50241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50242         multiarch copysign for PPC64.
50243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50244         multiarch copysignf for PPC64.
50246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50247         multiarch implementation.
50248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50249         file.
50250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50251         file.
50252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50253         file.
50254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50255         file.
50256         multiarch llround for PPC64.
50257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50258         multiarch trunc for PPC64.
50259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50260         multiarch truncf for PPC64.
50262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50263         multiarch implementation.
50264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50265         file.
50266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50267         file.
50268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50269         file.
50270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50271         file.
50272         multiarch llround for PPC64.
50273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50274         multiarch round for PPC64.
50275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50276         multiarch roundf for PPC64.
50278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50279         multiarch implementation.
50280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50281         file.
50282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50283         file.
50284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50285         file.
50286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50287         file.
50288         multiarch llround for PPC64.
50289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50290         multiarch floor for PPC64.
50291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50292         multiarch floorf for PPC64.
50294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50295         multiarch implementation.
50296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50297         file.
50298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50299         file.
50300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50301         file.
50302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50303         file.
50304         multiarch llround for PPC64.
50305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50306         multiarch ceil for PPC64.
50307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50308         multiarch ceilf for PPC64.
50310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50311         multiarch implementation.
50312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50313         file.
50314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50315         file.
50316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50317         file.
50318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50319         multiarch llround for PPC64.
50320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50321         multiarch lround for PPC64.
50323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50324         multiarch implementation.
50325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50328         file.
50329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50332         multiarch isnan for PPC64.
50333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50334         multiarch isnanf for PPC64.
50336         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50337         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50338         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50339         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50340         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50343         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50344         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50345         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50346         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50349         multiarch implementations.
50350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50351         (__libc_ifunc_impl_list): Likewise.
50352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50355         multiarch stpcpy for PPC64.
50357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50358         multiarch implementations.
50359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50360         (__libc_ifunc_impl_list): Likewise.
50361         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50362         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50363         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50364         multiarch strcpy for PPC64.
50366         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50367         redefine function name.
50368         (_wordcopy_fwd_dest_aligned): Likewise.
50369         (_wordcopy_bwd_aligned): Likewise.
50370         (_wordcopy_bwd_dest_aligned): Likewise.
50371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50372         multiarch implementations.
50373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50374         (__libc_ifunc_impl_list): Likewise.
50375         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50377         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50379         multiarch wcscpy for PPC64.
50381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50382         multiarch implementations.
50383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50384         (__libc_ifunc_impl_list): Likewise.
50385         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50386         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50387         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50388         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50389         multiarch wcscpy for PPC64.
50391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50392         multiarch implementations.
50393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50394         (__libc_ifunc_impl_list): Likewise.
50395         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50396         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50397         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50398         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50399         multiarch wcsrchr for PPC64.
50401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50402         multiarch implementations.
50403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50404         (__libc_ifunc_impl_list): Likewise.
50405         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50406         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50407         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50408         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50409         multiarch wcschr for PPC64.
50411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50412         multiarch implementations.
50413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50414         (__libc_ifunc_impl_list): Likewise.
50415         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50416         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50417         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50418         multiarch strchrnul for PPC64.
50420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50421         implementations.
50422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50423         (__libc_ifunc_impl_list): Likewise.
50424         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50425         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50426         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50427         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50428         strchr for PPC64.
50430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50431         implementations.
50432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50433         (__libc_ifunc_impl_list): Likewise.
50434         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50435         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50436         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50437         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50438         strncmp for PPC64.
50440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50441         multiarch implementations.
50442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50443         (__libc_ifunc_impl_list): Likewise.
50444         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50445         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50446         strncasecmp for PPC64.
50447         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50448         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50449         multiarch strncasecmp_l for PPC64.
50451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50452         multiarch implementations.
50453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50454         (__libc_ifunc_impl_list): Likewise.
50455         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50456         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50457         multiarch strcasecmp for PPC64.
50458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50459         file.
50460         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50461         multiarch strcasecmp_l for PPC64.
50463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50464         implementations.
50465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50466         (__libc_ifunc_impl_list): Likewise.
50467         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50468         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50469         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50470         strnlen for PPC64.
50472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50473         implementations.
50474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50475         (__libc_ifunc_impl_list): Likewise.
50476         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50477         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50478         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50479         strlen for PPC64.
50481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50482         implementations.
50483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50484         (__libc_ifunc_impl_list): Likewise.
50485         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50486         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50487         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50488         rawmemrchr for PPC64.
50490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50491         implementation.
50492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50493         (__libc_ifunc_impl_list): Likewise.
50494         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50495         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50496         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50497         memrchr for PPC64.
50499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50500         implementation.
50501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50502         (__libc_ifunc_impl_list): Likewise.
50503         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50504         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50505         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50506         memchr for PPC64.
50508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50509         implementation.
50510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50511         (__libc_ifunc_impl_list): Likewise.
50512         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50513         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50514         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50515         mempcpy for PPC64.
50517         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50518         avoid cretion of __bzero symbol.
50519         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50520         Likewise.
50521         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50522         Likewise.
50523         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50524         Likewise.
50525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50526         multiarch implementations.
50527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50528         (__libc_ifunc_impl_list): Likewise.
50529         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50530         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50531         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50532         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50533         bzero for PPC32.
50534         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50535         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50536         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50537         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50538         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50539         memset for PPC64.
50540         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50542         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50544         implementations.
50545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50546         (__libc_ifunc_impl_list): Likewise.
50547         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50548         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50549         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50550         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50551         memcmp for PPC64.
50553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50554         multiarch for POWER/PPC64.
50555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50556         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50563         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50564         memcpy for PPC64.
50566         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50567         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50568         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50569         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50570         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50571         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50572         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50573         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50574         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50575         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50576         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50577         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50578         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50579         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50580         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50589 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50591         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50593 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50595         * benchtests/Makefile (bench): Add exp2 and log2.
50596         (LDLIBS-bench-exp2): Add -lm.
50597         (LDLIBS-bench-log2): Likewise.
50598         * benchtests/exp2-inputs: New inputs file.
50599         * benchtests/log2-inputs: New inputs file.
50600         * benchtests/log-inputs: Add new inputs.
50601         * benchtests/tan-inputs: Likewise.
50603 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50605         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50606         definition...
50607         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50608         (csloww2): ... from here.
50610         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50611         instead of structures.
50612         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50613         (POLYNOMIAL): Likewise.
50614         (TAYLOR_SLOW): Likewise.
50615         (__sin): Likewise.
50616         (__cos): Likewise.
50617         (slow1): Likewise.
50618         (slow2): Likewise.
50619         (sloww): Likewise.
50620         (sloww1); Likewise.
50621         (sloww2): Likewise.
50622         (bsloww1): Likewise.
50623         (bsloww2): Likewise.
50624         (cslow2): Likewise.
50625         (csloww): Likewise.
50626         (csloww1): Likewise.
50627         (csloww2): Likewise.
50629 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
50631         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50632         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50633         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50634         * malloc/hooks.c (realloc_check): Likewise.
50636         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50637         * malloc/arena.c: Remove PER_THREAD conditional.
50638         [!PER_THREAD]: Remove code.
50639         (ptmalloc_unlock_all2): Likewise.
50640         (ptmalloc_init): Likewise.
50641         (_int_new_arena): Likewise.
50642         (arena_get2): Likewise.
50643         * malloc/hooks.c (__malloc_get_state): Likewise.
50644         (__malloc_set_state): Likewise.
50645         * malloc/malloc.c: Likewise.
50646         (struct malloc_state): Likewise.
50647         (struct malloc_par): Likewise.
50648         (__libc_realloc): Likewise.
50649         (__libc_mallopt): Likewise.
50651 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50653         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50655 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
50657         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
50658         macro to a function.  Check for zero perturb_byte.
50659         (_int_malloc, _int_free): Remove zero perturb_byte checks.
50661         * malloc/malloc.c: (force_reg): Remove.
50662         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
50663         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
50664         force_reg by atomic_forced_read.
50665         * malloc/arena.c (ptmalloc_init): Likewise.
50666         * malloc/hooks.c (top_check): Likewise.
50668 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50672 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
50674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50676 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
50678         * math/auto-libm-test-in: Add tests of lgamma.
50679         * math/auto-libm-test-out: Regenerated.
50680         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
50681         (M_LOG_2_SQRT_PIl): Likewise.
50682         (lgamma_test_data): Use AUTO_TESTS_f_f1.
50683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50684         mpfr_f_f1.
50685         (func_calc_desc): Add mpfr_f_f1 union field.
50686         (ARGS1): New macro.
50687         (ARGS2): Likewise.
50688         (ARGS3): Likewise.
50689         (ARGS4): Likewise.
50690         (RET1): Likewise.
50691         (RET2): Likewise.
50692         (CALC): Likewise.
50693         (FUNC): Likewise.
50694         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
50695         (test_functions): Add lgamma.
50696         (calc_generic_results): Handle mpfr_f_f1.
50697         * sysdeps/i386/fpu/libm-test-ulps: Update.
50698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50700 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50702         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
50703         __mpn_add_n for PowerPC64/POWER7.
50704         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
50705         __mpn_sub_n for PowerPC64/POWER7.
50707         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
50708         __mpn_addmul_1 for PowerPC64.
50709         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
50710         __mpn_submul_1 for PowerPC64.
50711         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
50712         for PowerPC64.
50713         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
50714         for PowerPC64.
50716 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
50718         [BZ #15089]
50719         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
50721 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50723         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
50725         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
50726         add multiarch folders.
50727         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
50728         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
50729         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
50730         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
50731         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
50732         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
50733         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
50734         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
50735         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
50736         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
50737         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
50738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
50739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
50740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
50741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
50742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
50743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
50745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50746         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
50747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
50748         New file.
50749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
50750         New file.
50751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
50752         multiarch __ieee754_hypot for PowerPC32.
50753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
50754         New file.
50755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
50756         New file.
50757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
50758         multiarch __ieee754_hypotf for PowerPC32.
50760         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
50761         long_double_symbol only if __logbl is defined.
50762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
50763         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
50764         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
50765         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
50766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
50767         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
50768         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
50769         path for implementation.
50770         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
50771         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
50772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
50773         logb, and logbl multiarch implementations for PowerPC32.
50774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
50775         file.
50776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
50777         file.
50778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
50779         multiarch logb for PowerPC32.
50780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
50781         file.
50782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
50783         file.
50784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
50785         multiarch logbf for PowerPC32.
50786         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
50787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
50788         file.
50789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
50790         multiarch logbl implementation for PowerPC32.
50792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
50793         and modff multiarch implementations.
50794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
50795         New file.
50796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
50797         New file.
50798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
50799         multiarch modf for PowerPC32.
50800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
50801         New file.
50802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
50803         New file.
50804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
50805         multiarch modff for PowerPC32.
50807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
50808         and lrintf multiarch implementations.
50809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
50810         New file.
50811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
50812         New file.
50813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
50814         multiarch lrint for PowerPC32.
50815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
50816         file: multiarch lrintf for PowerPC32.
50818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
50819         and lroundf multiarch implementations.
50820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
50821         New file.
50822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
50823         New file.
50824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
50825         New file.
50826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
50827         multiarch lround for PowerPC32.
50828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
50829         file: multiarch lroundf for PowerPC32.
50831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50832         copysign and copysignf multiarch implementations.
50833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
50834         New file.
50835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
50836         New file.
50837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
50838         file: multiarch copysign for PowerPC32.
50839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
50840         file: multiarch copysignf for PowerPC32.
50842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
50843         and truncf multiarch implementations.
50844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
50845         New file.
50846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
50847         file.
50848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
50849         multiarch trunc for PowerPC32.
50850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
50851         New file.
50852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
50853         New file.
50854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
50855         multiarch truncf for PowerPC32.
50857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
50858         and roundf multiarch implementations.
50859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
50860         New file.
50861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
50862         file.
50863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
50864         multiarch round for PowerPC32.
50865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
50866         New file.
50867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
50868         New file.
50869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
50870         multiarch roundf for PowerPC32.
50872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
50873         and floorf multiarch implementations.
50874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
50875         New file.
50876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
50877         file.
50878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
50879         multiarch floor for PowerPC32.
50880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
50881         New file.
50882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
50883         New file.
50884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
50885         multiarch floorf for PowerPC32.
50887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
50888         and ceilf multiarch implementations.
50889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
50890         New file.
50891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
50892         file.
50893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
50894         multiarch ceil for PowerPC32.
50895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
50896         New file.
50897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
50898         file.
50899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
50900         multiarch ceilf for PowerPC32.
50902         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
50903         is defined.
50904         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
50905         FINITEF is defined.
50906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
50907         and finitef multiarch implementations.
50908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
50909         New file.
50910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
50911         file.
50912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
50913         multiarch finite for PowerPC32.
50914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
50915         New file.
50916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
50917         file: multiarch finitef for PowerPC32.
50919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
50920         and isinff multiarch implementations.
50921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
50922         file.
50923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
50924         file.
50925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
50926         multiarch isinf for PowerPC32.
50927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
50928         New file.
50929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
50930         multiarch isinff for PowerPC32.
50932         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
50933         alias when __isnan is defined.
50934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
50935         and isnanf multiarch implementations.
50936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
50937         file.
50938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
50939         file.
50940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
50941         file.
50942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
50943         file.
50944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
50945         multiarch isnan for PowerPC32.
50946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
50947         New file.
50948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
50949         New file.
50950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
50951         multiarch isnanf for PowerPC32.
50953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
50954         and sqrtf multiarch implementations.
50955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
50956         file.
50957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
50958         file.
50959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
50960         multiarch sqrt for PowerPC32.
50961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
50962         file.
50963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
50964         file.
50965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
50966         multiarch sqrtf for PowerPC32.
50968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
50969         and llroundf multiarch implementations.
50970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
50971         New file.
50972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
50973         New file.
50974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
50975         New file.
50976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
50977         file: multiarch llround for PowerPC32.
50978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
50979         file: multiarch llroundf for PowerPC32.
50981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
50982         multiarch PowerPC32 fpu implementations.
50983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
50984         New file.
50985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
50986         New file.
50987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
50988         multiarch llrint for PowerPC32.
50989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
50990         New file.
50991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
50992         New file.
50993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
50994         file.
50996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
50998         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
50999         file.
51000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51001         file.
51002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51003         file.
51004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51005         multiarch wordcopy for PPC32.
51006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51007         wordcopy objects.
51008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51009         (__libc_ifunc_impl_list): Likewise.
51010         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51011         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51012         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51013         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51014         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51015         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51017         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51019         file.
51020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51021         file.
51022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51023         file.
51024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51025         multiarch wcscpy for PPC32.
51026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51027         multiarch objects.
51028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51029         (__libc_ifunc_impl_list): Likewise.
51030         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51031         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51032         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51033         sysdeps/powerpc/power6/wcscpy.c.
51035         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51037         file.
51038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51039         file.
51040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51041         file.
51042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51043         multiarch wcsrchr for PPC32.
51044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51045         multiarch objects.
51046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51047         (__libc_ifunc_impl_list): Likewise.
51048         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51049         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51050         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51051         sysdeps/powerpc/power6/wcsrchr.c.
51053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51054         file.
51055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51056         file.
51057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51059         multiarch wcschr for PPc32.
51060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51061         multiarch objects.
51062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51063         (__libc_ifunc_impl_list): Likewise.
51064         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51065         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51066         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51067         sysdeps/powerpc/power6/wcschr.c.
51069         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51071         file.
51072         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51073         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51074         file: multiarch strchr for PPC32.
51075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51076         multiarch objects.
51077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51078         (__libc_ifunc_impl_list): Likewise.
51080         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51081         name.
51082         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51083         file.
51084         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51085         file.
51086         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51087         multiarch strchrnul for PPC32.
51088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51089         multiarch objects.
51090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51091         (__libc_ifunc_impl_list): Likewise.
51093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51094         file.
51095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51096         multiarch strncasecmp for PPC32.
51097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51098         file.
51099         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51100         multiarch strncasecmp_l for PPC32.
51101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51102         strncasecmp multiarch objects.
51103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51104         (__libc_ifunc_impl_list): Likewise.
51106         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51107         file.
51108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51109         multiarch strncasecmp for PPC32.
51110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51111         New file.
51112         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51113         multiarch strcasecmp_l for PPC32.
51114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51115         multiarch objects.
51116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51117         (__libc_ifunc_impl_list): Likewise.
51119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51120         file.
51121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51122         file.
51123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51124         multiarch strncmp for PPC32.
51125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51126         multiarch objects.
51127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51128         (__libc_ifunc_impl_list): Likewise.
51130         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51131         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51132         file.
51133         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51134         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51136         multiarch objects.
51137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51138         (__libc_ifunc_impl_list): Likewise.
51140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51141         file.
51142         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51143         file.
51144         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51146         multiarch objects.
51147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51148         (__libc_ifunc_impl_list): Likewise.
51150         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51151         file.
51152         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51153         file.
51154         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51155         multiarch rawmemchr for PPC32.
51156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51157         multiarch objects.
51158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51159         (__libc_ifunc_impl_list): Likewise.
51161         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51162         file.
51163         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51164         file.
51165         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51166         file: memrchr multiarch for PPC32.
51167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51168         multiarch objects.
51169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51170         (__libc_ifunc_impl_list): Likewise.
51172         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51173         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51174         file.
51175         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51176         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51177         multiarch memchr for PPC32.
51178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51179         multiarch objects.
51180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51181         (__libc_ifunc_impl_list): Likewise.
51183         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51184         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51185         file.
51186         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51187         file.
51188         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51189         file: multiarch mempcpy for PPC32.
51190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51191         multiarch objects.
51192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51193         (__libc_ifunc_impl_list): Likewise.
51195         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51196         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51197         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51198         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51199         multiarch bzero for PPC32.
51200         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51201         file.
51202         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51203         file.
51204         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51205         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51206         file: multiarch memset for PPC32.
51207         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51209         memset multiarch objects.
51210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51211         (__libc_ifunc_impl_list): Likewise.
51213         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51214         file.
51215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51217         memcmp for PPC32.
51218         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51220         multiarch objects.
51221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51222         (__libc_ifunc_impl_list): Likewise.
51224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51225         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51227         file.
51228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51229         file.
51230         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51231         file.
51232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51233         multiarch memcpy for PPC32.
51234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51235         multiarch objects.
51236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51237         (__libc_ifunc_impl_list): Likewise.
51239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51240         support multiarch for POWER/PPC32.
51241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51242         Likewise.
51243         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51245         Implies file to make multiarch folder appers before the fpu and
51246         default folder for power4 configuration.
51248 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51250         * scripts/bench.pl: Append volatile keyword to type.
51252 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51254         * sysdeps/sh/sotruss-lib.c: New file.
51255         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51257 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51261 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51263         [BZ #6810]
51264         * math/w_tgamma.c: Include <errno.h>.
51265         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51266         * math/w_tgammaf.c: Include <errno.h>.
51267         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51268         * math/w_tgammal.c: Include <errno.h>.
51269         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51270         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51271         underflow.  Add more tgamma tests.
51272         * math/auto-libm-test-out: Regenerated.
51273         * sysdeps/i386/fpu/libm-test-ulps: Update.
51274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51276         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51277         sin, sinh, tan, tanh, tgamma, y0 and y1.
51278         * math/auto-libm-test-out: Regenerated.
51279         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51280         (TEST_COND_x86): Likewise.
51281         (M_E2l): Remove macro.
51282         (M_E3l): Likewise.
51283         (M_2_SQRT_PIl): Likewise.
51284         (M_SQRT_PIl): Likewise.
51285         (M_1_DIV_El): Likewise.
51286         (log_test_data): Use AUTO_TESTS_f_f.
51287         (log10_test_data): Likewise.
51288         (log1p_test_data): Likewise.
51289         (log2_test_data): Likewise.
51290         (sin_test_data): Likewise.
51291         (sin_tonearest_test_data): Likewise.
51292         (sin_towardzero_test_data): Likewise.
51293         (sin_downward_test_data): Likewise.
51294         (sin_upward_test_data): Likewise.
51295         (sinh_test_data): Likewise.
51296         (sinh_tonearest_test_data): Likewise.
51297         (sinh_towardzero_test_data): Likewise.
51298         (sinh_downward_test_data): Likewise.
51299         (sinh_upward_test_data): Likewise.
51300         (tan_test_data): Likewise.
51301         (tan_tonearest_test_data): Likewise.
51302         (tan_towardzero_test_data): Likewise.
51303         (tan_downward_test_data): Likewise.
51304         (tan_upward_test_data): Likewise.
51305         (tanh_test_data): Likewise.
51306         (tgamma_test_data): Likewise.
51307         (y0_test_data): Likewise.
51308         (y1_test_data): Likewise.
51309         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51310         (special_real_inputs): Add pi/4.
51311         * sysdeps/i386/fpu/libm-test-ulps: Update.
51312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51314 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51316         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51317         "longjmp_target" static probes.
51318         (__longjmp): Rename to __longjmp_symbol.
51319         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51320         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51321         on which longjmp to generate.
51322         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51323         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51324         probe.
51325         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51326         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51327         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51328         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51329         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51330         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51332         __longjmp_symbol based on which __longjmp to generate.
51333         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51334         probe.
51335         (setjmp): Rename to setjmp_symbol.
51336         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51337         (_setjmp): Rename to _setjmp_symbol.
51338         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51339         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51340         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51341         which setjmp to generate.
51342         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51343         "longjmp_target" static probes.
51345 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51347         * benchtests/README: Add note about output arguments.
51348         * benchtests/bench-sincos.c: Remove file.
51349         * benchtests/sincos-inputs: New file.
51350         * scripts/bench.pl: Identify output arguments and define
51351         static variables for them.
51353         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51355         [BZ #15941]
51356         * Makefile (INSTALL): Add install-plain.texi as the primary
51357         dependency.
51358         * manual/install-plain.texi: New file.
51359         * manual/install.texi: Include node directive only for
51360         non-plaintext output.
51362 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51364         * stdlib/longlong.h: Update from GCC.
51366         [BZ #6807]
51367         [BZ #15901]
51368         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51369         * math/w_j0f.c (y0f): Likewise.
51370         * math/w_j0l.c (__y0l): Likewise.
51371         * math/w_j1.c (y1): Likewise.
51372         * math/w_j1f.c (y1f): Likewise.
51373         * math/w_j1l.c (__y1l): Likewise.
51374         * math/w_jn.c (yn): Likewise.
51375         * math/w_jnf.c (ynf): Likewise.
51376         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51377         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51378         value for Bessel function domain errors outside _SVID_ mode.
51379         Adjust sign of return value for yn (negative integer, 0).
51380         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51381         by zero in return for negative x and set sign appropriately for
51382         negative n.
51383         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51385         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51386         expectations in error cases.
51387         (y1_test_data): Likewise.
51388         (yn_test_data): Likewise.
51389         * sysdeps/i386/fpu/libm-test-ulps: Update.
51390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51392 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51394         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51395         "64" to "64-v1".  Add "64-v2".
51396         (abi-64-options): Rename to ...
51397         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51398         (abi-64-condition): Rename to ...
51399         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51400         (abi-64-ld-soname): Rename to ...
51401         (abi-64-v1-ld-soname): ... this.
51402         (abi-64-v2-options): Define.
51403         (abi-64-v2-condition): Likewise.
51404         (abi-64-v2-ld-soname): Likewise.
51405         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51406         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51411 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51412             Alan Modra  <amodra@gmail.com>
51414         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51415         New versions for use with the ELFv2 ABI.
51416         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51417         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51418         declaration.
51419         (struct La_ppc64v2_retval): Likewise.
51420         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51421         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51422         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51423         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51424         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51425         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51426         Do not save or restore CR.
51427         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51428         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51429         return values for ELFv2 ABI.  Fix location of FPR return registers.
51430         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51431         updated values for _CALL_ELF == 2.
51432         (La_regs, La_retval, int_retval): Likewise.
51434 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51436         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51437         (FRAME_MIN_SIZE_PARM): Likewise.
51438         (FRAME_BACKCHAIN): Likewise.
51439         (FRAME_CR_SAVE): Likewise.
51440         (FRAME_LR_SAVE): Likewise.
51441         (FRAME_TOC_SAVE): Likewise.
51442         (FRAME_PARM_SAVE): Likewise.
51443         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51444         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51445         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51446         (call_mcount_parm_offset): New macro.
51447         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51448         (PROF): Use symbolic stack frame offsets.
51449         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51450         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51451         Redefine in terms of FRAME_MIN_SIZE.
51452         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51453         (_dl_profile_resolve): Likewise.  Update comment.
51454         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51455         symbols stack frame offsets.
51456         (__sigsetjmp): Likewise.
51457         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51458         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51459         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51460         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51463         (FRAME_BACKCHAIN): Remove.
51464         (FRAME_CR_SAVE): Likewise.
51465         (FRAME_LR_SAVE): Likewise.
51466         (FRAME_COMPILER_DW): Likewise.
51467         (FRAME_LINKER_DW): Likewise.
51468         (FRAME_TOC_SAVE): Likewise.
51469         (FRAME_PARM_SAVE): Likewise.
51470         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51471         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51472         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51474         (CHECK_SP): Use symbolic stack frame offsets.
51475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51476         zone" instead of caller's parameter save area for temp storage.
51477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51478         Likewise.  Also, use symbolic stack frame offsets.
51479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51480         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51481         our own stack frame instead of the caller's.
51482         (__socket): Use symbolic stack frame offsets.
51484 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51485             Alan Modra  <amodra@gmail.com>
51487         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51488         Define.
51489         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51490         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51491         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51492         New function.
51493         (elf_machine_fixup_plt): Call it.
51494         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51495         reloc arguments.
51496         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51498         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51499         r2 before calling target.
51501 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51502             Alan Modra  <amodra@gmail.com>
51504         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51505         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51506         versions of macros to support ELFv2 ABI.
51507         (LOCALENTRY): New macro.
51508         (ENTRY, EALIGN): Use it.
51509         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51510         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51511         fall through into ENTRY entry point.
51512         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51513         Only define if _CALL_ELF != 2.
51515         (elf_machine_matches_host): Verify ABI version matches.
51516         (RTLD_START): Use LOCALENTRY.
51517         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51518         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51519         (PLT_ENTRY_WORDS): New macro.
51520         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51521         (elf_machine_runtime_setup): Support ELFv2 ABI.
51522         (elf_machine_fixup_plt): Likewise.
51523         (elf_machine_plt_conflict): Likewise.
51524         (resolve_ifunc): Likewise.
51525         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51526         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51527         Likewise.
51528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51529         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51531         (makecontext): Support ELFv2 ABI.
51532         * elf/elf.h (EF_PPC64_ABI): Define.
51534 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51536         * sysdeps/powerpc/powerpc64/sysdep.h
51537         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51538         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51539         (ENTRY) [ASSEMBLER]: ... but instead here ...
51540         (EALIGN) [ASSEMBLER]: ... and here.
51541         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51542         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51543         (ENTRY_2) [!ASSEMBLER]: Use it.
51544         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51545         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51546         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51547         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51548         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51550         Use PPC64_LOAD_FUNCPTR.
51552         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51554 2013-12-04  Alan Modra  <amodra@gmail.com>
51556         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51557         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51558         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51559         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51561         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51562         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51563         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51564         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51565         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51566         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51568 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51571         (__makecontext): Fix incorrect CFI when backtracing out of
51572         context created via makecontext.
51573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51574         (__setcontext): Fix incorrect CFI during switch to new context.
51575         (__novec_setcontext): Likewise.
51577 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51579         [BZ #4772]
51580         * time/strptime_l.c (__strptime_internal): Allow modifiers
51581         in strptime.
51582         * time/tst-strptime.c (day_tests): Add testcase.
51584 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51586         * scripts/bench.pl: Skip over blank lines.
51588 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51590         [BZ #926]
51591         * manual/time.texi (Calendar Time): Clarify what timezone functions
51592         use.
51594 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51598 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51600         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51601         implementation.
51602         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51603         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51604         * debug/memset_chk.c (__memset_chk): Likewise.
51605         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51606         * debug/strncpy_chk.c: Likewise.
51608 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51610         [BZ #15268]
51611         [BZ #15425]
51612         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51613         (__ieee754_exp): For possibly underflowing results, check size of
51614         result and force underflow exception if required.
51615         * math/auto-libm-test-in: Add more tests of exp.
51616         * math/auto-libm-test-out: Regenerated.
51617         * sysdeps/i386/fpu/libm-test-ulps: Update.
51618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51620         [BZ #16283]
51621         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51622         * math/w_exp2f.c (__exp2f): Likewise.
51623         * math/w_exp2l.c (__exp2l): Likewise.
51624         * math/auto-libm-test-in: Do not allow missing errno on exp2
51625         underflow.
51626         * math/auto-libm-test-out: Regenerated.
51628 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
51630         [BZ #16274]
51631         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51632         handle filename validation.
51633         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51634         (do_open): Delete.
51636 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51638         [BZ #6786]
51639         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
51640         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
51641         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
51642         <float.h>.
51643         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
51644         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
51645         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51646         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
51647         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51648         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
51649         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51650         * math/auto-libm-test-in: Don't allow missing errno from erfc.
51651         Add more erfc tests.
51652         * math/auto-libm-test-out: Regenerated.
51653         * sysdeps/i386/fpu/libm-test-ulps: Update.
51654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51656         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
51657         exp2, expm1, j0 and j1.
51658         * math/auto-libm-test-out: Regenerated.
51659         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
51660         (erfc_test_data): Likewise.
51661         (exp_test_data): Likewise.
51662         (exp_tonearest_test_data): Likewise.
51663         (exp_towardzero_test_data): Likewise.
51664         (exp_downward_test_data): Likewise.
51665         (exp_upward_test_data): Likewise.
51666         (exp10_test_data): Likewise.
51667         (exp2_test_data): Likewise.
51668         (expm1_test_data): Likewise.
51669         (j0_test_data): Likewise.
51670         (j1_test_data): Likewise.
51671         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
51672         (input_flag_type): Add flag_xfail_rounding.
51673         (input_flags): Add xfail-rounding.
51674         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
51675         (output_for_one_input_case): Handle flag_xfail_rounding.
51676         * sysdeps/i386/fpu/libm-test-ulps: Update.
51677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51679 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
51681         [BZ #16289]
51682         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
51683         division by 0.
51685 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51687         [BZ #16195]
51688         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
51689         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
51690         (STAP_PROBE0): New macro.
51691         (STAP_PROBE1): Likewise.
51692         (STAP_PROBE2): Likewise.
51693         (STAP_PROBE3): Likewise.
51694         (STAP_PROBE4): Likewise.
51696 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
51698         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
51700 2013-12-02  Steve Ellcey  <sellcey@mips.com>
51702         * benchtests/Makefile (bench): Add sqrt.
51703         (LDLIBS-bench-sqrt): New.
51704         * benchtests/sqrt-input: New.
51706 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
51708         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
51709         (GAIH_EAI): Likewise.
51710         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
51711         (gaih_inet): Likewise.
51712         (getaddrinfo): Don't use GAIH_EAI.
51714         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
51715         (struct gaih): Remove definition.
51717 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51719         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
51720         Use HERRNOP directly.
51722 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51726 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
51728         * math/gen-auto-libm-tests.c (test_functions): Add more
51729         single-argument functions.
51730         (special_fill_pi_2): New function.
51731         (special_fill_minus_pi_2): Likewise.
51732         (special_fill_pi_6): Likewise.
51733         (special_fill_minus_pi_6): Likewise.
51734         (special_fill_pi_3): Likewise.
51735         (special_fill_2pi_3): Likewise.
51736         (special_fill_e): Likewise.
51737         (special_fill_1_e): Likewise.
51738         (special_fill_e_minus_1): Likewise.
51739         (special_real_inputs): Add more special inputs.
51740         (output_for_one_input_case): Do not require ERANGE on underflow to
51741         zero if round-to-nearest result does not underflow to zero, unless
51742         exact results required.
51743         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
51744         atan, atanh, cbrt, cos and cosh.
51745         * math/auto-libm-test-out: Regenerated.
51746         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
51747         (acos_tonearest_test_data): Likewise.
51748         (acos_towardzero_test_data): Likewise.
51749         (acos_downward_test_data): Likewise.
51750         (acos_upward_test_data): Likewise.
51751         (acosh_test_data): Likewise.
51752         (asin_test_data): Likewise.
51753         (asin_tonearest_test_data): Likewise.
51754         (asin_towardzero_test_data): Likewise.
51755         (asin_upward_test_data): Likewise.
51756         (asinh_test_data): Likewise.
51757         (atan_test_data): Likewise.
51758         (atanh_test_data): Likewise.
51759         (cbrt_test_data): Likewise.
51760         (cos_test_data): Likewise.
51761         (cos_tonearest_test_data): Likewise.
51762         (cos_towardzero_test_data): Likewise.
51763         (cos_downward_test_data): Likewise.
51764         (cos_upward_test_data): Likewise.
51765         (cosh_test_data): Likewise.
51766         (cosh_tonearest_test_data): Likewise.
51767         (cosh_towardzero_test_data): Likewise.
51768         (cosh_downward_test_data): Likewise.
51769         (cosh_upward_test_data): Likewise.
51770         * sysdeps/i386/fpu/libm-test-ulps: Update.
51771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51773 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
51775         [BZ #6787]
51776         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
51777         * math/w_exp10f.c (__exp10f): Likewise.
51778         * math/w_exp10l.c (__exp10l): Likewise.
51779         * math/libm-test.inc (exp10_test_data): Add more tests and expect
51780         errno settings in existing tests.
51782         [BZ #14032]
51783         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
51784         precision control set to double precision.
51785         * sysdeps/i386/fpu/w_sqrt.c: New file.
51786         * math/auto-libm-test-in: Add more tests.
51787         * math/auto-libm-test-out: Update.
51789         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
51790         (sqrt_test_tonearest): New function.
51791         (sqrt_towardzero_test_data): New variable.
51792         (sqrt_test_towardzero): New function.
51793         (sqrt_downward_test_data): New variable.
51794         (sqrt_test_downward): New function.
51795         (sqrt_upward_test_data): New variable.
51796         (sqrt_test_upward): New function.
51797         (main): Call the new functions.
51799         * math/gen-auto-libm-tests.c: New file.
51800         * math/auto-libm-test-in: Likewise.
51801         * math/auto-libm-test-out: New generated file.
51802         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
51803         variables.
51804         (%beautify): Add generated representations of zero.
51805         (top level): Set $auto_input and call parse_auto_input.
51806         (beautify): Remove trailing "f" from hex float constants.
51807         (parse_args): Handle XFAIL_TEST.
51808         (convert_condition): New function.
51809         (or_value): Likewise.
51810         (or_cond_value): Likewise.
51811         (generate_testfile): Handle AUTO_TESTS_* lines.
51812         (parse_auto_input): New function.
51813         * math/libm-test.inc (XFAIL_TEST): New macro.
51814         (ERRNO_UNCHANGED): Update value.
51815         (ERRNO_EDOM): Likewise.
51816         (ERRNO_ERANGE): Likewise.
51817         (IGNORE_RESULT): Likewise.
51818         (TEST_COND_flt_32): New macro.
51819         (TEST_COND_dbl_64): Likewise.
51820         (TEST_COND_ldbl_96_intel): Likewise.
51821         (TEST_COND_ldbl_96_m68k): Likewise.
51822         (TEST_COND_ldbl_128): Likewise.
51823         (TEST_COND_ldbl_128ibm): Likewise.
51824         (TEST_COND_long32): Likewise.
51825         (TEST_COND_long64): Likewise.
51826         (TEST_COND_before_rounding): Likewise.
51827         (TEST_COND_after_rounding): Likewise.
51828         (enable_test): Handle XFAIL_TEST flag.
51829         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
51830         with finite results.
51831         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
51832         auto-libm-test-out.
51834 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51835             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51837         [BZ #16214]
51838         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
51839         __tls_get_addr_internal instead of __tls_get_offset in order to
51840         avoid GOT pointer dependency.  Make rtld export
51841         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
51842         __tls_get_addr since we are a __tls_get_offset platform.
51843         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
51844         GOT pointer being set up before.
51845         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
51847 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
51849         * manual/math.texi (Errors in Math Functions): Document accuracy
51850         goals.
51852         [BZ #15004]
51853         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
51854         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
51855         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51856         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51857         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51858         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51859         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51860         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51861         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51862         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51863         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51864         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51865         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51866         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51867         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51868         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51870         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
51871         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
51872         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
51873         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
51874         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
51875         Likewise.
51876         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
51877         Likewise.
51878         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
51879         Likewise.
51880         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
51881         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
51882         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
51883         atomic-feupdateenv and flt-rounds.
51884         * sysdeps/powerpc/nofpu/Versions (libc): Add
51885         __atomic_feholdexcept, __atomic_feclearexcept,
51886         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
51887         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
51888         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
51889         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
51890         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
51891         here.
51892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
51893         Update.
51895         * manual/arith.texi (FP Exceptions): Document that exceptions may
51896         not be raised when matherr is used.
51897         (Math Error Reporting): Document overflow in directed rounding
51898         modes.  Document that errno may not be set when finite values are
51899         returned on overflow.  Document intent to set errno on underflow
51900         only for underflow to zero.
51902         [BZ #16271]
51903         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
51904         round-to-nearest then adjust result for other rounding modes.
51905         * include/fenv.h (fegetround): Use libm_hidden_proto.
51906         * math/fegetround.c (fegetround): Use libm_hidden_def.
51907         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
51908         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
51909         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51910         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
51911         Likewise.
51912         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
51913         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51914         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
51915         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
51917 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51919         [BZ #16077]
51920         * nss/Versions (libnss_files): Add
51921         _nss_files_gethostbyname3_r.
51922         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
51923         New function.
51924         (HOST_DB_LOOKUP): Remove macro.
51925         (_nss_files_gethostbyname_r): Implement function without the
51926         HOST_DB_LOOKUP macro.
51927         (_nss_files_gethostbyname2_r): Likewise.
51929 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
51931         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
51933 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
51935         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
51936         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
51937         warning.
51939 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51941         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
51942         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
51943         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51944         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
51945         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
51946         __fe_nomask_env_priv and attribute_hidden.
51947         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
51948         (libc_feupdateenv_test_ppc): Likewise.
51949         (libc_feresetround_ppc): Likewise.
51950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51951         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
51952         compat_symbol macro.
51953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51954         (__fe_nomask_env): Likewise.
51955         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
51957 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51959         * string/Makefile: Remove ifunc tests.
51960         * string/test-string.h: Define TEST_IFUNC.
51961         * string/test-bcopy-ifunc.c: Remove.
51962         * string/test-bzero-ifunc.c: Likewise.
51963         * string/test-memccpy-ifunc.c: Likewise.
51964         * string/test-memchr-ifunc.c: Likewise.
51965         * string/test-memcmp-ifunc.c: Likewise.
51966         * string/test-memcpy-ifunc.c: Likewise.
51967         * string/test-memmem-ifunc.c: Likewise.
51968         * string/test-memmove-ifunc.c: Likewise.
51969         * string/test-mempcpy-ifunc.c: Likewise.
51970         * string/test-memrchr-ifunc.c: Likewise.
51971         * string/test-memset-ifunc.c: Likewise.
51972         * string/test-rawmemchr-ifunc.c: Likewise.
51973         * string/test-stpcpy-ifunc.c: Likewise.
51974         * string/test-stpncpy-ifunc.c: Likewise.
51975         * string/test-strcasecmp-ifunc.c: Likewise.
51976         * string/test-strcasestr-ifunc.c: Likewise.
51977         * string/test-strcat-ifunc.c: Likewise.
51978         * string/test-strchr-ifunc.c: Likewise.
51979         * string/test-strchrnul-ifunc.c: Likewise.
51980         * string/test-strcmp-ifunc.c: Likewise.
51981         * string/test-strcpy-ifunc.c: Likewise.
51982         * string/test-strcspn-ifunc.c: Likewise.
51983         * string/test-strlen-ifunc.c: Likewise.
51984         * string/test-strncasecmp-ifunc.c: Likewise.
51985         * string/test-strncat-ifunc.c: Likewise.
51986         * string/test-strncmp-ifunc.c: Likewise.
51987         * string/test-strncpy-ifunc.c: Likewise.
51988         * string/test-strnlen-ifunc.c: Likewise.
51989         * string/test-strpbrk-ifunc.c: Likewise.
51990         * string/test-strrchr-ifunc.c: Likewise.
51991         * string/test-strspn-ifunc.c: Likewise.
51992         * string/test-strstr-ifunc.c: Likewise.
51994 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
51996         * benchtests/Makefile: Remove ifunc tests.
51997         * benchtests/bench-string.h: Define TEST_IFUNC.
51998         * benchtests/bench-bcopy-ifunc.c: Remove.
51999         * benchtests/bench-bzero-ifunc.c: Likewise.
52000         * benchtests/bench-memccpy-ifunc.c: Likewise.
52001         * benchtests/bench-memchr-ifunc.c: Likewise.
52002         * benchtests/bench-memcmp-ifunc.c: Likewise.
52003         * benchtests/bench-memcpy-ifunc.c: Likewise.
52004         * benchtests/bench-memmem-ifunc.c: Likewise.
52005         * benchtests/bench-memmove-ifunc.c: Likewise.
52006         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52007         * benchtests/bench-memrchr-ifunc.c: Likewise.
52008         * benchtests/bench-memset-ifunc.c: Likewise.
52009         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52010         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52011         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52012         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52013         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52014         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52015         * benchtests/bench-strcat-ifunc.c: Likewise.
52016         * benchtests/bench-strchr-ifunc.c: Likewise.
52017         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52018         * benchtests/bench-strcmp-ifunc.c: Likewise.
52019         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52020         * benchtests/bench-strcpy-ifunc.c: Likewise.
52021         * benchtests/bench-strcspn-ifunc.c: Likewise.
52022         * benchtests/bench-strlen-ifunc.c: Likewise.
52023         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52024         * benchtests/bench-strncat-ifunc.c: Likewise.
52025         * benchtests/bench-strncmp-ifunc.c: Likewise.
52026         * benchtests/bench-strncpy-ifunc.c: Likewise.
52027         * benchtests/bench-strnlen-ifunc.c: Likewise.
52028         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52029         * benchtests/bench-strrchr-ifunc.c: Likewise.
52030         * benchtests/bench-strsep-ifunc.c: Likewise.
52031         * benchtests/bench-strspn-ifunc.c: Likewise.
52032         * benchtests/bench-strstr-ifunc.c: Likewise.
52034 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52036         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52038 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52040         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52041         * rt/aio.h: Likewise.
52042         * sysdeps/gnu/bits/utmp.h: Likewise.
52043         * sysdeps/gnu/bits/utmpx.h: Likewise.
52044         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52045         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52046         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52047         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52048         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52049         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52050         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52051         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52052         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52053         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52054         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52055         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52056         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52058         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52059         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52060         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52061         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52062         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52063         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52064         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52065         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52066         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52067         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52068         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52070         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52071         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52072         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52073         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52074         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52075         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52076         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52077         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52078         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52079         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52080         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52081         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52082         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52083         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52084         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52085         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52087 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52089         [BZ #16245]
52090         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52091         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52093 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52095         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52096         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52097         Likewise.
52099 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52101         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52102         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52103         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52104         (__fesetround): Remove define.
52105         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52106         rounding and exceptions handling.
52107         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52108         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52109         (__fe_nomask_env): Likewise.
52110         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52111         __fegetround instead of fegetround.
52112         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52113         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52115 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52117         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52118         it's there.
52120         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52122 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52124         [BZ #11157]
52125         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52126         (encrypt_r): Likewise.
52127         * malloc/obstack.h (obstack_free): Likewise.
52128         * posix/unistd.h (encrypt): Likewise.
52130 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52132         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52133         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52134         DL_CALL_DT_FINI() that call the functions directly.
52135         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52136         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52137         * elf/dl-fini.c: Likewise.
52139 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52141         * malloc/hooks.c (memalign_check): Add alignment rounding.
52142         * malloc/malloc.c (_mid_memalign): New function.
52143         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52144         Implement by calling _mid_memalign.
52145         * manual/probes.texi (Memory Allocation Probes): Remove
52146         memory_valloc_retry and memory_pvalloc_retry.
52148 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52150         * locale/programs/locarchive.c (open_archive): Add const
52151         qualifier to ARCHIVEFNAME and copy default fname to
52152         DEFAULT_FNAME.
52154         [BZ #15601]
52155         * libio/tst-widetext.input: Rename Oriya to Odia.
52156         * locale/iso-639.def: Likewise.
52158         * manual/probes.texi (Mathematical Function Probes): Add
52159         documentation for sin, cos, asin and acos probes.
52160         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52161         (__sin32): Add slowasin probe.
52162         (__cos32): Add slowacos probe.
52163         (__mpsin): Add slowsin probe.
52164         (__mpcos): Add slowcos probe.
52166 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52168         [BZ #15483]
52169         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52170         thread-local __sim_exceptions_thread and global
52171         __sim_exceptions_global.
52172         (__sim_disabled_exceptions): Change to thread-local
52173         __sim_disabled_exceptions_thread and global
52174         __sim_disabled_exceptions_global.
52175         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52176         and global __sim_round_mode_global.
52177         (__simulate_exceptions): Use thread-local floating-point state and
52178         set global state from it as needed.
52179         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52180         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52181         __sim_round_mode_thread.
52182         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52183         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52184         and global __sim_exceptions_global.
52185         (__sim_disabled_exceptions): Change to thread-local
52186         __sim_disabled_exceptions_thread and global
52187         __sim_disabled_exceptions_global.
52188         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52189         and global __sim_round_mode_global.
52190         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52191         (SIM_SET_GLOBAL): Likewise.
52192         * sysdeps/powerpc/soft-fp/sfp-machine.h
52193         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52194         __sim_round_mode_thread.
52195         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52196         __sim_disabled_exceptions_thread.
52197         (__sim_exceptions): Change to __sim_exceptions_thread.
52198         (__sim_disabled_exceptions): Change to
52199         __sim_disabled_exceptions_thread.
52200         (__sim_round_mode): Change to __sim_round_mode_thread.
52201         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52202         thread-local floating-point state and set global state from it as
52203         needed.
52204         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52205         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52206         (__sim_disabled_exceptions): Remove extern declaration.
52207         (feenableexcept): Use thread-local floating-point state and set
52208         global state from it as needed.
52209         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52210         extern declaration.
52211         (__sim_disabled_exceptions): Likewise.
52212         (__sim_round_mode): Likewise.
52213         (__fegetenv): Use thread-local floating-point state.
52214         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52215         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52216         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52217         floating-point state and set global state from it as needed.
52218         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52219         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52220         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52221         Likewise.
52222         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52223         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52224         Likewise.
52225         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52226         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52227         Use __sim_round_mode_thread.
52228         * math/test-fenv-tls.c: New file.
52229         * math/Makefile (tests): Add test-fenv-tls.
52230         ($(objpfx)test-fenv-tls): Depend on
52231         $(common-objpfx)nptl/libpthread.so.
52233 2013-11-19  Andreas Schwab  <schwab@suse.de>
52235         * locale/programs/locale.c (show_info): Decode wordarray elements.
52236         * locale/categories.def (LC_MONETARY): Add element for
52237         _NL_MONETARY_CRNCYSTR.
52238         * locale/C-monetary.c (conversion_rate): New variable.
52239         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52240         element.
52242 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52244         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52245         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52247 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52249         * elf/Makefile (tst-auxv): New test.
52250         * elf/tst-auxv.c: New
52251         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52253 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52255         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52256         (hidden_proto): Caller changed.
52257         (hidden_tls_proto): New macro.
52258         (libc_hidden_tls_proto): Likewise.
52259         (rtld_hidden_tls_proto): Likewise.
52260         (libm_hidden_tls_proto): Likewise.
52261         (libresolv_hidden_tls_proto): Likewise.
52262         (librt_hidden_tls_proto): Likewise.
52263         (libdl_hidden_tls_proto): Likewise.
52264         (libnss_files_hidden_tls_proto): Likewise.
52265         (libnsl_hidden_tls_proto): Likewise.
52266         (libnss_nisplus_hidden_tls_proto): Likewise.
52267         (libutil_hidden_tls_proto): Likewise.
52269 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52271         [BZ #10253]
52272         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52273         (decompose_rpath): Defer expansion to fillin_rpath.
52274         (_dl_init_paths): Pass linkmap to fillin_rpath.
52276 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52278         * benchtests/Makefile: Add strsep.
52279         * benchtests/bench-strsep.c: New file: strsep benchtest.
52280         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52282 2013-11-18  Andreas Schwab  <schwab@suse.de>
52284         * locale/programs/locale.c (show_info) [case byte]: Check for
52285         '\377' instead of '\177'.
52286         * locale/C-monetary.c (not_available): Always use "\377".
52287         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52288         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52289         detect unavailable sign_posn locale elements.
52290         * locale/localeconv.c (__localeconv): For grouping and
52291         mon_grouping handle "\177" and "\377" like no grouping.
52292         (INT_ELEM): New macro.  Use it to set all numeric members.
52293         * locale/programs/ld-monetary.c (monetary_read)
52294         <tok_mon_grouping>: Normalize single -1 to the empty string.
52295         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52296         Likewise.
52298 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52300         [BZ #16055]
52301         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52302         when we match (nil).
52303         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52305 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52307         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52308         (NO_TEST_INLINE): Update value.
52309         (ERRNO_UNCHANGED): Likewise.
52310         (ERRNO_EDOM): Likewise.
52311         (ERRNO_ERANGE): Likewise.
52312         (IGNORE_RESULT): Likewise.
52313         (check_float_internal): Check signs of NaN results if
52314         TEST_NAN_SIGN used.
52315         (check_complex): Pass TEST_NAN_SIGN flag through to second
52316         check_float_internal call.
52317         (copysign_test_data): Add tests with quiet NaNs as second
52318         argument.  Use TEST_NAN_SIGN.
52319         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52320         TEST_NAN_SIGN.
52321         (signbit_test_data): Add tests of quiet NaN argument.
52322         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52324         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52325         $ignore_result.
52326         (parse_args): Handle function results specified as IGNORE.
52327         * math/libm-test.inc (IGNORE_RESULT): New macro.
52328         (check_float_internal): Do not check numerical result if flag
52329         IGNORE_RESULT set.
52330         (check_complex): Pass through IGNORE_RESULT to second
52331         check_float_internal call.
52332         (check_int): Do not check numerical result if flag IGNORE_RESULT
52333         set.
52334         (check_long): Likewise.
52335         (check_bool): Likewise.
52336         (check_longlong): Likewise.
52337         (lrint_test_data): Add tests of infinite and NaN arguments.
52338         (lrint_tonearest_test_data): Likewise.
52339         (lrint_towardzero_test_data): Likewise.
52340         (lrint_downward_test_data): Likewise.
52341         (lrint_upward_test_data): Likewise.
52342         (llrint_test_data): Likewise.
52343         (llrint_tonearest_test_data): Likewise.
52344         (llrint_towardzero_test_data): Likewise.
52345         (llrint_downward_test_data): Likewise.
52346         (llrint_upward_test_data): Likewise.
52347         (lround_test_data): Likewise.
52348         (llround_test_data): Likewise.
52350         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52351         (ERRNO_UNCHANGED): Update value.
52352         (ERRNO_EDOM): Likewise.
52353         (ERRNO_ERANGE): Likewise.
52354         (NO_TEST_INLINE_FLOAT): New macro.
52355         (NO_TEST_INLINE_DOUBLE): Likewise.
52356         (enable_test): New function.
52357         (RUN_TEST_f_f): Check enable_test before running test.
52358         (RUN_TEST_2_f): Likewise.
52359         (RUN_TEST_fff_f): Likewise.
52360         (RUN_TEST_c_f): Likewise.
52361         (RUN_TEST_f_f1): Likewise.
52362         (RUN_TEST_fF_f1): Likewise.
52363         (RUN_TEST_fI_f1): Likewise.
52364         (RUN_TEST_ffI_f1): Likewise.
52365         (RUN_TEST_c_c): Likewise.
52366         (RUN_TEST_cc_c): Likewise.
52367         (RUN_TEST_f_i): Likewise.
52368         (RUN_TEST_f_i_tg): Likewise.
52369         (RUN_TEST_ff_i_tg): Likewise.
52370         (RUN_TEST_f_b): Likewise.
52371         (RUN_TEST_f_b_tg): Likewise.
52372         (RUN_TEST_f_l): Likewise.
52373         (RUN_TEST_f_L): Likewise.
52374         (RUN_TEST_fFF_11): Likewise.
52375         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52376         conditionals.
52377         (cosh_test_data): Likewise.
52378         (exp_test_data): Likewise.
52379         (expm1_test_data): Likewise.
52380         (hypot_test_data): Likewise.
52381         (pow_test_data): Likewise.
52382         (sinh_test_data): Likewise.
52383         (tanh_test_data): Likewise.
52384         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52385         flags argument.
52387         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52388         tests with quiet NaN input and output.
52389         (acosh_test_data): Likewise.
52390         (asin_test_data): Likewise.
52391         (asinh_test_data): Likewise.
52392         (atan_test_data): Likewise.
52393         (atanh_test_data): Likewise.
52394         (atan2_test_data): Likewise.
52395         (cbrt_test_data): Likewise.
52396         (cos_test_data): Likewise.
52397         (cosh_test_data): Likewise.
52398         (erf_test_data): Likewise.
52399         (erfc_test_data): Likewise.
52400         (exp_test_data): Likewise.
52401         (exp10_test_data): Likewise.
52402         (exp2_test_data): Likewise.
52403         (expm1_test_data): Likewise.
52404         (hypot_test_data): Likewise.
52405         (j0_test_data): Likewise.
52406         (j1_test_data): Likewise.
52407         (jn_test_data): Likewise.
52408         (lgamma_test_data): Likewise.
52409         (log_test_data): Likewise.
52410         (log10_test_data): Likewise.
52411         (log1p_test_data): Likewise.
52412         (log2_test_data): Likewise.
52413         (pow_test_data): Likewise.
52414         (scalb_test_data): Likewise.
52415         (sin_test_data): Likewise.
52416         (sincos_test_data): Likewise.
52417         (sinh_test_data): Likewise.
52418         (tan_test_data): Likewise.
52419         (tanh_test_data): Likewise.
52420         (tgamma_test_data): Likewise.
52421         (y0_test_data): Likewise.
52422         (y1_test_data): Likewise.
52423         (yn_test_data): Likewise.
52425         [BZ #16167]
52426         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52427         argument being NaN and avoid computations with second argument in
52428         that case.
52429         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52430         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52431         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52433 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52435         * locale/iso-639.def: Add Chitwani Tharu (the).
52437 2013-11-14  Andreas Schwab  <schwab@suse.de>
52439         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52440         word instead of empty string.
52442 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52445         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52447         (__fe_nomask_env): Likewise.
52449 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52451         * benchtests/bench-timing.h: Include time.h.
52453 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52455         [BZ #15997]
52456         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52457         to 3.4.0 for x32.
52458         * sysdeps/unix/sysv/linux/configure: Regenerated.
52460 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52462         [BZ #16151]
52463         * stdlib/strtod_l.c (round_and_return): Do not consider
52464         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52465         exponent one less than half the least subnormal exponent.
52466         * stdlib/test-strtod-round-data: Add more tests.
52467         * stdlib/tst-strtod-round.c (tests): Regenerated.
52469 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52471         [BZ #14143]
52472         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52473         (__fe_mask_env): Likewise.
52474         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52475         libm_hidden_proto and add function prototype.
52476         (__fe_mask_env): Add function prototype.
52477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52478         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52480         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52482         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52484 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52486         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52487         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52489 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52491         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52492         of htab_find_slot().
52494 2013-11-11  David S. Miller  <davem@davemloft.net>
52496         [BZ #16150]
52497         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52498         symbol in the non-vis3 case in static builds.
52499         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52500         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52501         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52502         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52504 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52506         [BZ #387]
52507         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52508         it is empty.
52510 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52512         * benchtests/Makefile: Add bench-strtod.
52513         * benchtests/bench-strtod.c: New file: strtod benchtest
52515 2013-11-11  Andreas Schwab  <schwab@suse.de>
52517         [BZ #16153]
52518         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52519         terminating NUL in key length.
52521 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52523         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52524         Add artificial ODP entry for vDSO symbol for PPC64.
52525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52526         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52528 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52530         [BZ #15374]
52531         * nss/getent.c (services_keys): Recognize services starting with digit.
52533 2013-11-06  David S. Miller  <davem@davemloft.net>
52535         [BZ #15985]
52536         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52537         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52539 2013-11-06  Will Newton  <will.newton@linaro.org>
52541         * manual/memory.texi (Malloc Examples): Remove register
52542         keyword from examples.
52544 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52546         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52548 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52550         [BZ #6981]
52551         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52552         depending on [__GCC_IEC_559 > 0].
52553         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52554         depending on [__GCC_IEC_559_COMPLEX > 0].
52556 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52558         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52559         to iso-639.def.
52561 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52563         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52565 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52567         [BZ #16112]
52568         * malloc/malloc (malloc_info): Do not handle first bin as
52569         special case.
52571 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52573         * locale/iso-639.def: Add Central Nahuatl (nhn).
52575 2013-11-01  Bruno Haible  <bruno@clisp.org>
52577         [BZ #7003]
52578         * manual/math.texi (BSD Random): Specify range upper bound as
52579         in POSIX.
52581 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52583         * locale/iso-639.def: Add Meadow Mari (mhr).
52585 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52587         [BZ #14752], [BZ #15763]
52588         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52589         Validate name.
52590         * rt/tst_shm.c: Add test for escaping directory.
52592 2013-10-31  Andreas Schwab  <schwab@suse.de>
52594         [BZ #15917]
52595         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52596         followed by 'x' as part of digit sequence.
52597         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52599 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52601         [BZ #16037]
52602         * configure.ac: allow GNU Make 4.0 and greater.
52603         * configure: Regenerated.
52605 2013-10-30  Will Newton  <will.newton@linaro.org>
52607         [BZ #16038]
52608         * malloc/hooks.c (memalign_check): Limit alignment to the
52609         maximum representable power of two.
52610         * malloc/malloc.c (__libc_memalign): Likewise.
52611         * malloc/tst-memalign.c (do_test): Add test for very
52612         large alignment values.
52613         * malloc/tst-posix_memalign.c (do_test): Likewise.
52615 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52617         [BZ #11087]
52618         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52619         (munmap_chunk): Likewise.
52620         (mremap_chunk): Likewise.
52622 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52624         [BZ #15799]
52625         * stdlib/div.c (div): Remove obsolete code.
52626         * stdlib/ldiv.c (ldiv): Likewise.
52627         * stdlib/lldiv.c (lldiv): Likewise.
52629 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52631         [BZ #16071]
52632         * nss/nss_files/files-XXX.c (get_contents_ret): New
52633         enumerator.
52634         (get_contents): New function.
52635         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52637 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
52639         * configure.in: Moved to ...
52640         * configure.ac: ... here. Change reference to configure.in
52641         to configure.ac.
52642         * sysdeps/arm/preconfigure.ac: ... here.
52643         configure.in to configure.ac.
52644         * sysdeps/gnu/configure.in: Moved to ...
52645         * sysdeps/gnu/configure.ac: ... here.
52646         * sysdeps/i386/configure.in: Moved to ...
52647         * sysdeps/i386/configure.ac: ... here.
52648         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
52649         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
52650         * sysdeps/mach/configure.in: Moved to ...
52651         * sysdeps/mach/configure.ac: ... here.
52652         * sysdeps/mach/hurd/configure.in: Moved to ...
52653         * sysdeps/mach/hurd/configure.ac: ... here.
52654         * sysdeps/powerpc/configure.in: Moved to ...
52655         * sysdeps/powerpc/configure.ac: ... here.
52656         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
52657         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
52658         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
52659         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
52660         * sysdeps/s390/s390-32/configure.in: Moved to ...
52661         * sysdeps/s390/s390-32/configure.ac: ... here.
52662         * sysdeps/s390/s390-64/configure.in: Moved to ...
52663         * sysdeps/s390/s390-64/configure.ac: ... here.
52664         * sysdeps/sh/configure.in: Moved to ...
52665         * sysdeps/sh/configure.ac: ... here.
52666         * sysdeps/sparc/configure.in: Moved to ...
52667         * sysdeps/sparc/configure.ac: ... here.
52668         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
52669         * sysdeps/unix/sysv/linux/configure.ac: ... here.
52670         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
52671         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
52672         * sysdeps/x86_64/configure.in: Moved to ...
52673         * sysdeps/x86_64/configure.ac: ... here.
52674         * sysdeps/x86_64/preconfigure.in: Moved to ...
52675         * sysdeps/x86_64/preconfigure.ac: ... here.
52676         * aclocal.m4: Change reference to configure.in to configure.ac.
52677         * config.h.in: Likewise.
52678         * manual/install.texi: Likewise.
52679         * manual/maint.texi: Likewise.
52680         * Makefile: Likewise.
52681         * malloc/Makefile: Likewise.
52682         * nscd/Makefile: Likewise.
52683         * Makeconfig: Change reference to configure.in and
52684         preconfigure.in to configure.ac and preconfigure.ac
52685         respectively.
52686         * INSTALL: Regenerated.
52687         * configure: Likewise.
52688         * sysdeps/gnu/configure: Likewise.
52689         * sysdeps/i386/configure: Likewise.
52690         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
52691         * sysdeps/mach/configure: Likewise.
52692         * sysdeps/mach/hurd/configure: Likewise.
52693         * sysdeps/powerpc/configure: Likewise.
52694         * sysdeps/powerpc/powerpc32/configure: Likewise.
52695         * sysdeps/powerpc/powerpc64/configure: Likewise.
52696         * sysdeps/s390/s390-32/configure: Likewise.
52697         * sysdeps/s390/s390-64/configure: Likewise.
52698         * sysdeps/sh/configure: Likewise.
52699         * sysdeps/sparc/configure: Likewise.
52700         * sysdeps/unix/sysv/linux/configure: Likewise.
52701         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
52702         * sysdeps/x86_64/configure: Likewise.
52703         * sysdeps/x86_64/preconfigure: Likewise.
52705 2013-10-29  Andreas Schwab  <schwab@suse.de>
52707         * stdio-common/Makefile (tst-swscanf-ENV): Define.
52709 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52711         * benchtests/pow-inputs: Add new inputs.
52713         * benchtests/exp-inputs: Add new inputs.
52715         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
52716         conditional check for return value.
52717         (__cos32): Likewise.
52719 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52721         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
52722         to provide a boost for large inputs with word alignment.
52723         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
52724         implementation based on optimized PPC64 strcpy.
52725         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
52726         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
52727         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
52728         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
52730 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52732         [BZ #2801]
52733         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
52735 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52737         [BZ #14876]
52738         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
52739         * time/tst-strptime.c (day_tests): Add testcase.
52741 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52743         [BZ #14029]
52744         * manual/pattern.texi: Acknowledge that fnmatch can fail.
52746 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
52748         [BZ #16074]
52749         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
52750         MAP_FAILED on error.
52752 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52754         [BZ #16072]
52755         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
52756         heap for large requests.
52758 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
52760         [BZ #9954]
52761         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
52762         result if the result has no associated interface.
52763         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
52764         interface for all 127.X.Y.Z addresses.
52766 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
52768         * locale/iso-639.def: Add Ligurian (lij)
52770 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
52772         [BZ #15825]
52773         * sunrpc/rpc_main.c: Document rpcgen -5.
52775 2013-10-19  Michael Stahl  <mstahl@redhat.com>
52777         * elf/rtld.c (do_preload): Print the reason why preloading failed.
52779 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52781         [BZ #10278]
52782         * posix/glob.c: Match only directories when trailing slash is present.
52783         * posix/tst-gnuglob.c (my_opendir): Do not open files.
52784         (main): Add testcase.
52786 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52788         [BZ #15670]
52789         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
52791 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
52793         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
52794         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
52795         AUTH_DES and cindex for FIPS 140-2.
52796         (DES Encryption): Add cindex FIPS 46-3.
52798         * locale/locarchive.h (struct locarhandle): Add fname.
52799         * locale/programs/localedef.c (main): Pass ARGV[remaining]
52800         if an optional argument was specified to --list-archive,
52801         otherwise NULL.
52802         * locale/programs/locarchive.c (show_archive_content): Take new
52803         argument fname and pass it via ah.fname to open_archive.
52804         * locale/programs/localedef.h: Update decl.
52805         (open_archive): If AH->fname is non-null, open that file
52806         rather than the default file name, and don't ignore ENOENT.
52807         (create_archive): Set AH.fname to NULL.
52808         (delete_locales_from_archive): Likewise.
52809         (add_locales_to_archive): Likewise.
52810         * locale/programs/locfile.c (write_all_categories): Likewise.
52812 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
52813             Aldy Hernandez  <aldyh@redhat.com>
52815         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
52816         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
52817         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
52818         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
52819         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
52820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
52821         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
52822         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
52823         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
52824         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
52825         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
52826         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
52827         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
52828         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
52829         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
52830         Likewise.
52831         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
52832         Likewise.
52833         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
52834         Likewise.
52835         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
52836         Likewise.
52837         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
52838         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
52839         Likewise.
52840         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
52841         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
52842         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
52843         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
52844         Likewise.
52845         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
52846         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
52847         * sysdeps/powerpc/preconfigure: Likewise.
52848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
52849         Likewise.
52850         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
52851         Replace contents of file by #include of <fenv_libc.h>.
52852         * sysdeps/powerpc/soft-fp/sfp-machine.h
52853         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
52854         and <sys/prctl.h>.
52855         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
52856         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
52857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
52858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
52859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
52860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
52861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
52862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
52863         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
52864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
52865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
52866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
52867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52868         Allow copysignl PLT reference to be missing.
52870 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
52871             Joseph Myers  <joseph@codesourcery.com
52873         [BZ #15948]
52874         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
52875         single character.
52876         (add_to_tablewc): Assert sequence of wide characters is nonempty.
52878 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52880         * elf/tst-tls-dlinfo.c: Don't include tls.h.
52881         * elf/tst-tls1.c: Likewise.
52882         * elf/tst-tls10.h: Likewise.
52883         * elf/tst-tls14.c: Likewise.
52884         * elf/tst-tls2.c: Likewise.
52885         * elf/tst-tls3.c: Likewise.
52886         * elf/tst-tls4.c: Likewise.
52887         * elf/tst-tls5.c: Likewise.
52888         * elf/tst-tls6.c: Likewise.
52889         * elf/tst-tls7.c: Likewise.
52890         * elf/tst-tls8.c: Likewise.
52891         * elf/tst-tls9.c: Likewise.
52892         * elf/tst-tlsmod1.c: Likewise.
52893         * elf/tst-tlsmod13.c: Likewise.
52894         * elf/tst-tlsmod13a.c: Likewise.
52895         * elf/tst-tlsmod14a.c: Likewise.
52896         * elf/tst-tlsmod16a.c: Likewise.
52897         * elf/tst-tlsmod16b.c: Likewise.
52898         * elf/tst-tlsmod2.c: Likewise.
52899         * elf/tst-tlsmod3.c: Likewise.
52900         * elf/tst-tlsmod4.c: Likewise.
52901         * elf/tst-tlsmod5.c: Likewise.
52902         * elf/tst-tlsmod6.c: Likewise.
52904 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
52906         [BZ #12486]
52907         * malloc/malloc.c: remove checks for statistics.
52909 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
52911         [BZ #15277]
52912         * inet/inet_net.c (inet_network): Detect additional invalid strings.
52913         * inet/tst-network.c: Add testcase.
52915 2013-10-17  Andreas Schwab  <schwab@suse.de>
52917         [BZ #15218]
52918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
52919         to determine canonical name.
52921 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
52923         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
52924         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
52925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52926         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52928         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52929         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52930         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52931         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52932         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52933         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52934         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52935         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52936         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52937         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52938         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52940         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52941         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52942         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52943         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52945         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52946         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
52947         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
52948         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52949         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52950         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
52951         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52952         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
52953         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52955         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52956         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52957         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52958         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52959         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52960         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52961         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52962         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52963         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52964         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52965         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52966         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52967         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52968         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52969         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52970         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52971         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52972         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52973         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52974         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52975         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52976         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52977         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52978         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52980         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52982 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
52984         [BZ #16041]
52985         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
52986         make result into a quiet NaN.
52988 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
52990         * soft-fp/adddf3.c: Fix horizontal whitespace.
52991         * soft-fp/addsf3.c: Likewise.
52992         * soft-fp/addtf3.c: Likewise.
52993         * soft-fp/divdf3.c: Likewise.
52994         * soft-fp/divsf3.c: Likewise.
52995         * soft-fp/divtf3.c: Likewise.
52996         * soft-fp/double.h: Likewise.
52997         * soft-fp/eqdf2.c: Likewise.
52998         * soft-fp/eqsf2.c: Likewise.
52999         * soft-fp/eqtf2.c: Likewise.
53000         * soft-fp/extenddftf2.c: Likewise.
53001         * soft-fp/extended.h: Likewise.
53002         * soft-fp/extendsfdf2.c: Likewise.
53003         * soft-fp/extendsftf2.c: Likewise.
53004         * soft-fp/extendxftf2.c: Likewise.
53005         * soft-fp/fixdfdi.c: Likewise.
53006         * soft-fp/fixdfsi.c: Likewise.
53007         * soft-fp/fixdfti.c: Likewise.
53008         * soft-fp/fixsfdi.c: Likewise.
53009         * soft-fp/fixsfsi.c: Likewise.
53010         * soft-fp/fixsfti.c: Likewise.
53011         * soft-fp/fixtfdi.c: Likewise.
53012         * soft-fp/fixtfsi.c: Likewise.
53013         * soft-fp/fixtfti.c: Likewise.
53014         * soft-fp/fixunsdfdi.c: Likewise.
53015         * soft-fp/fixunsdfsi.c: Likewise.
53016         * soft-fp/fixunsdfti.c: Likewise.
53017         * soft-fp/fixunssfdi.c: Likewise.
53018         * soft-fp/fixunssfsi.c: Likewise.
53019         * soft-fp/fixunssfti.c: Likewise.
53020         * soft-fp/fixunstfdi.c: Likewise.
53021         * soft-fp/fixunstfsi.c: Likewise.
53022         * soft-fp/fixunstfti.c: Likewise.
53023         * soft-fp/floatdidf.c: Likewise.
53024         * soft-fp/floatdisf.c: Likewise.
53025         * soft-fp/floatditf.c: Likewise.
53026         * soft-fp/floatsidf.c: Likewise.
53027         * soft-fp/floatsisf.c: Likewise.
53028         * soft-fp/floatsitf.c: Likewise.
53029         * soft-fp/floattidf.c: Likewise.
53030         * soft-fp/floattisf.c: Likewise.
53031         * soft-fp/floattitf.c: Likewise.
53032         * soft-fp/floatundidf.c: Likewise.
53033         * soft-fp/floatundisf.c: Likewise.
53034         * soft-fp/floatunditf.c: Likewise.
53035         * soft-fp/floatunsidf.c: Likewise.
53036         * soft-fp/floatunsisf.c: Likewise.
53037         * soft-fp/floatunsitf.c: Likewise.
53038         * soft-fp/floatuntidf.c: Likewise.
53039         * soft-fp/floatuntisf.c: Likewise.
53040         * soft-fp/floatuntitf.c: Likewise.
53041         * soft-fp/fmadf4.c: Likewise.
53042         * soft-fp/fmasf4.c: Likewise.
53043         * soft-fp/fmatf4.c: Likewise.
53044         * soft-fp/gedf2.c: Likewise.
53045         * soft-fp/gesf2.c: Likewise.
53046         * soft-fp/getf2.c: Likewise.
53047         * soft-fp/ledf2.c: Likewise.
53048         * soft-fp/lesf2.c: Likewise.
53049         * soft-fp/letf2.c: Likewise.
53050         * soft-fp/muldf3.c: Likewise.
53051         * soft-fp/mulsf3.c: Likewise.
53052         * soft-fp/multf3.c: Likewise.
53053         * soft-fp/negdf2.c: Likewise.
53054         * soft-fp/negsf2.c: Likewise.
53055         * soft-fp/negtf2.c: Likewise.
53056         * soft-fp/op-1.h: Likewise.
53057         * soft-fp/op-2.h: Likewise.
53058         * soft-fp/op-4.h: Likewise.
53059         * soft-fp/op-8.h: Likewise.
53060         * soft-fp/op-common.h: Likewise.
53061         * soft-fp/quad.h: Likewise.
53062         * soft-fp/single.h: Likewise.
53063         * soft-fp/soft-fp.h: Likewise.
53064         * soft-fp/sqrtdf2.c: Likewise.
53065         * soft-fp/sqrtsf2.c: Likewise.
53066         * soft-fp/sqrttf2.c: Likewise.
53067         * soft-fp/subdf3.c: Likewise.
53068         * soft-fp/subsf3.c: Likewise.
53069         * soft-fp/subtf3.c: Likewise.
53070         * soft-fp/truncdfsf2.c: Likewise.
53071         * soft-fp/trunctfdf2.c: Likewise.
53072         * soft-fp/trunctfsf2.c: Likewise.
53073         * soft-fp/trunctfxf2.c: Likewise.
53074         * soft-fp/unorddf2.c: Likewise.
53075         * soft-fp/unordsf2.c: Likewise.
53076         * soft-fp/unordtf2.c: Likewise.
53078 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53080         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53081         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53083 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53085         * elf/dl-libc.c: Clear initfini list after freeing.
53087 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53089         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53090         * soft-fp/addsf3.c: Likewise.
53091         * soft-fp/addtf3.c: Likewise.
53092         * soft-fp/divdf3.c: Likewise.
53093         * soft-fp/divsf3.c: Likewise.
53094         * soft-fp/divtf3.c: Likewise.
53095         * soft-fp/double.h: Likewise.
53096         * soft-fp/eqdf2.c: Likewise.
53097         * soft-fp/eqsf2.c: Likewise.
53098         * soft-fp/eqtf2.c: Likewise.
53099         * soft-fp/extenddftf2.c: Likewise.
53100         * soft-fp/extended.h: Likewise.
53101         * soft-fp/extendsfdf2.c: Likewise.
53102         * soft-fp/extendsftf2.c: Likewise.
53103         * soft-fp/extendxftf2.c: Likewise.
53104         * soft-fp/fixdfdi.c: Likewise.
53105         * soft-fp/fixdfsi.c: Likewise.
53106         * soft-fp/fixdfti.c: Likewise.
53107         * soft-fp/fixsfdi.c: Likewise.
53108         * soft-fp/fixsfsi.c: Likewise.
53109         * soft-fp/fixsfti.c: Likewise.
53110         * soft-fp/fixtfdi.c: Likewise.
53111         * soft-fp/fixtfsi.c: Likewise.
53112         * soft-fp/fixtfti.c: Likewise.
53113         * soft-fp/fixunsdfdi.c: Likewise.
53114         * soft-fp/fixunsdfsi.c: Likewise.
53115         * soft-fp/fixunsdfti.c: Likewise.
53116         * soft-fp/fixunssfdi.c: Likewise.
53117         * soft-fp/fixunssfsi.c: Likewise.
53118         * soft-fp/fixunssfti.c: Likewise.
53119         * soft-fp/fixunstfdi.c: Likewise.
53120         * soft-fp/fixunstfsi.c: Likewise.
53121         * soft-fp/fixunstfti.c: Likewise.
53122         * soft-fp/floatdidf.c: Likewise.
53123         * soft-fp/floatdisf.c: Likewise.
53124         * soft-fp/floatditf.c: Likewise.
53125         * soft-fp/floatsidf.c: Likewise.
53126         * soft-fp/floatsisf.c: Likewise.
53127         * soft-fp/floatsitf.c: Likewise.
53128         * soft-fp/floattidf.c: Likewise.
53129         * soft-fp/floattisf.c: Likewise.
53130         * soft-fp/floattitf.c: Likewise.
53131         * soft-fp/floatundidf.c: Likewise.
53132         * soft-fp/floatundisf.c: Likewise.
53133         * soft-fp/floatunsidf.c: Likewise.
53134         * soft-fp/floatunsisf.c: Likewise.
53135         * soft-fp/floatuntidf.c: Likewise.
53136         * soft-fp/floatuntisf.c: Likewise.
53137         * soft-fp/floatuntitf.c: Likewise.
53138         * soft-fp/fmadf4.c: Likewise.
53139         * soft-fp/fmasf4.c: Likewise.
53140         * soft-fp/fmatf4.c: Likewise.
53141         * soft-fp/gedf2.c: Likewise.
53142         * soft-fp/gesf2.c: Likewise.
53143         * soft-fp/getf2.c: Likewise.
53144         * soft-fp/ledf2.c: Likewise.
53145         * soft-fp/lesf2.c: Likewise.
53146         * soft-fp/letf2.c: Likewise.
53147         * soft-fp/muldf3.c: Likewise.
53148         * soft-fp/mulsf3.c: Likewise.
53149         * soft-fp/multf3.c: Likewise.
53150         * soft-fp/negdf2.c: Likewise.
53151         * soft-fp/negsf2.c: Likewise.
53152         * soft-fp/negtf2.c: Likewise.
53153         * soft-fp/op-1.h: Likewise.
53154         * soft-fp/op-2.h: Likewise.
53155         * soft-fp/op-4.h: Likewise.
53156         * soft-fp/op-8.h: Likewise.
53157         * soft-fp/op-common.h: Likewise.
53158         * soft-fp/quad.h: Likewise.
53159         * soft-fp/single.h: Likewise.
53160         * soft-fp/soft-fp.h: Likewise.
53161         * soft-fp/sqrtdf2.c: Likewise.
53162         * soft-fp/sqrtsf2.c: Likewise.
53163         * soft-fp/sqrttf2.c: Likewise.
53164         * soft-fp/subdf3.c: Likewise.
53165         * soft-fp/subsf3.c: Likewise.
53166         * soft-fp/subtf3.c: Likewise.
53167         * soft-fp/truncdfsf2.c: Likewise.
53168         * soft-fp/trunctfdf2.c: Likewise.
53169         * soft-fp/trunctfsf2.c: Likewise.
53170         * soft-fp/trunctfxf2.c: Likewise.
53171         * soft-fp/unorddf2.c: Likewise.
53172         * soft-fp/unordsf2.c: Likewise.
53173         * soft-fp/unordtf2.c: Likewise.
53175 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53177         [BZ #15672]
53178         * misc/error.c (error_tail): Fix possible buffer overflow.
53180 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53182         [BZ #13028]
53183         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53184         address.
53186 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53188         [BZ #832]
53189         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53190         testing pipefail option.
53192 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53194         * soft-fp/double.h: Indent preprocessor directives inside #if.
53195         * soft-fp/extended.h: Likewise.
53196         * soft-fp/op-2.h: Likewise.
53197         * soft-fp/op-4.h: Likewise.
53198         * soft-fp/op-common.h: Likewise.
53199         * soft-fp/quad.h: Likewise.
53200         * soft-fp/single.h: Likewise.
53201         * soft-fp/soft-fp.h: Likewise.
53203 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53205         * iconv/iconv_prog.c: Fix typos.
53206         * stdio-common/psiginfo-data.h: Likewise.
53208 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53210         [BZ #15764]
53211         * locale/setlocale.c: Fix typo.
53213 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53215         [BZ #16036]
53216         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53217         signaling NaN arguments.
53218         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53219         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53221         [BZ #14910]
53222         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53223         unordered operands.
53224         * soft-fp/gesf2.c (__gesf2): Likewise.
53225         * soft-fp/getf2.c (__getf2): Likewise.
53226         * soft-fp/ledf2.c (__ledf2): Likewise.
53227         * soft-fp/lesf2.c (__lesf2): Likewise.
53228         * soft-fp/letf2.c (__letf2): Likewise.
53230         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53231         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53232         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53233         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53234         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53235         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53236         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53237         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53238         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53239         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53240         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53241         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53242         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53243         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53244         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53245         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53246         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53247         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53248         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53249         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53250         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53251         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53252         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53253         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53254         * soft-fp/floattidf.c (__floattidf): Likewise.
53255         * soft-fp/floattisf.c (__floattisf): Likewise.
53256         * soft-fp/floattitf.c (__floattitf): Likewise.
53257         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53258         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53259         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53260         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53261         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53262         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53263         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53264         * soft-fp/gesf2.c (__gesf2): Likewise.
53265         * soft-fp/getf2.c (__getf2): Likewise.
53266         * soft-fp/ledf2.c (__ledf2): Likewise.
53267         * soft-fp/lesf2.c (__lesf2): Likewise.
53268         * soft-fp/letf2.c (__letf2): Likewise.
53270         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53271         Undefine and redefine.
53272         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53273         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53274         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53275         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53276         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53277         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53278         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53279         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53280         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53281         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53282         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53283         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53284         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53285         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53286         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53288         [BZ #16032]
53289         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53290         without decrementing exponent if mantissa >= that for the
53291         denominator, not >.
53292         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53293         denominator, not >.  Decrement exponent in < case instead of
53294         incrementing in >= case.
53295         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53296         without decrementing exponent if mantissa >= that for the
53297         denominator, not >.
53299         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53300         computing saturated result for unsigned overflow.
53302 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53303             Jeff Law  <law@redhat.com>
53305         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53306         (atan2Mp): Add systemtap probe marker.
53307         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53308         (__ieee754_log): Add systemtap probe marker.
53309         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53310         (atanMp): Add systemtap probe marker.
53311         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53312         (tanMp): Add systemtap probe marker.
53313         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53314         (__slowexp): Add systemtap probe marker.
53315         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53316         (__slowpow): Add systemtap probe marker.
53317         * manual/probes.texi: Document probes.
53319 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53321         [BZ #15362]
53322         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53323         written.
53324         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53325         written.
53326         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53327         written to buffer but not flushed.
53328         * libio/iofwrite_u.c:  Likewise.
53329         * libio/iopadn.c:  Return bytes returned even if EOF was
53330         encountered.
53331         * libio/iowpadn.c:  Likewise.
53332         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53333         if _IO_padn does not write the whole buffer.
53334         [!COMPILE_WPRINTF] (PAD): Likewise.
53336 2013-10-10  David S. Miller  <davem@davemloft.net>
53338         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53339         directory block.
53341 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53343         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53344         instead of FSF address.
53345         * soft-fp/fixdfti.c: Likewise.
53346         * soft-fp/fixsfti.c: Likewise.
53347         * soft-fp/fixtfti.c: Likewise.
53348         * soft-fp/fixunsdfti.c: Likewise.
53349         * soft-fp/fixunssfti.c: Likewise.
53350         * soft-fp/fixunstfti.c: Likewise.
53351         * soft-fp/floattidf.c: Likewise.
53352         * soft-fp/floattisf.c: Likewise.
53353         * soft-fp/floattitf.c: Likewise.
53354         * soft-fp/floatuntidf.c: Likewise.
53355         * soft-fp/floatuntisf.c: Likewise.
53356         * soft-fp/floatuntitf.c: Likewise.
53357         * soft-fp/trunctfxf2.c: Likewise.
53359         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53360         * soft-fp/fixdfti.c: Likewise.
53361         * soft-fp/fixsfti.c: Likewise.
53362         * soft-fp/fixtfti.c: Likewise.
53363         * soft-fp/fixunsdfti.c: Likewise.
53364         * soft-fp/fixunssfti.c: Likewise.
53365         * soft-fp/fixunstfti.c: Likewise.
53366         * soft-fp/floattidf.c: Likewise.
53367         * soft-fp/floattisf.c: Likewise.
53368         * soft-fp/floattitf.c: Likewise.
53369         * soft-fp/floatuntidf.c: Likewise.
53370         * soft-fp/floatuntisf.c: Likewise.
53371         * soft-fp/floatuntitf.c: Likewise.
53372         * soft-fp/trunctfxf2.c: Likewise.
53374 2013-10-10  David S. Miller  <davem@davemloft.net>
53376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53378 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53380         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53381         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53382         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53383         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53384         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53385         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53386         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53389         for NaNs before doing comparisons on argument.
53390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53391         Likewise.
53393 2013-10-10  Will Newton  <will.newton@linaro.org>
53395         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53396         passed to _int_memalign does not overflow.
53398 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53400         * scripts/bench.pl: Add include-sources directive.
53401         * benchtests/README: Update documentation.
53403 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53405         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53406         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53407         instead of FP_INIT_ROUNDMODE.
53408         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53409         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53411         [BZ #16034]
53412         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53413         copy class of input value.
53414         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53415         not handle exceptions.
53416         * soft-fp/negsf2.c (__negsf2): Likewise.
53417         * soft-fp/negtf2.c (__negtf2): Likewise.
53418         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53420 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53422         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53423         semicolon.  From Linux kernel.
53425 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53427         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53429 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53431         [BZ #156]
53432         * manual/socket.texi: Added statement about buffer
53433         for gethostbyname2_r.
53435 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53437         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53438         Use .p2align directive instead, throughout.
53439         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53440         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53441         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53442         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53443         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53444         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53445         * sysdeps/x86_64/strchr.S: Likewise.
53446         * sysdeps/x86_64/strrchr.S: Likewise.
53448 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53450         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53452         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53454         * sysdeps/generic/math_private.h (__mpsin1): Remove
53455         declaration.
53456         (__mpcos1): Likewise.
53457         (__mpsin): New argument __range_reduce.
53458         (__mpcos): Likewise.
53459         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53460         (slow): Use __mpsin and __mpcos.
53461         (slow1): Likewise.
53462         (slow2): Likewise.
53463         (sloww): Likewise.
53464         (sloww1): Likewise.
53465         (sloww2): Likewise.
53466         (bsloww): Likewise.
53467         (bsloww1): Likewise.
53468         (bsloww2): Likewise.
53469         (cslow2): Likewise.
53470         (csloww): Likewise.
53471         (csloww1): Likewise.
53472         (csloww2): Likewise.
53473         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53474         range_reduce.  Merge in __mpsin1.
53475         (__mpcos): Likewise.
53476         (__mpsin1): Remove.
53477         (__mpcos1): Likewise.
53479 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53481         * locale/loadlocale.c (_nl_intern_locale_data): Use
53482         LOCFILE_ALIGNED_P.
53483         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53484         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53485         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53486         obstack data is appropriately aligned.
53487         (obstack_int32_grow_fast): Likewise.
53488         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53489         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53490         (add_locale_uint32_array): Likewise.
53492 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53494         * benchtests/Makefile: Remove ARGLIST and RET variables.
53495         ($(objpfx)bench-%.c): Pass only function name to the script.
53496         * benchtests/README: Update documentation.
53497         * benchtests/acos-inputs: Add new directives.
53498         * benchtests/acosh-inputs: Likewise.
53499         * benchtests/asin-inputs: Likewise.
53500         * benchtests/asinh-inputs: Likewise.
53501         * benchtests/atan-inputs: Likewise.
53502         * benchtests/atanh-inputs: Likewise.
53503         * benchtests/cos-inputs: Likewise.
53504         * benchtests/cosh-inputs: Likewise.
53505         * benchtests/exp-inputs: Likewise.
53506         * benchtests/log-inputs: Likewise.
53507         * benchtests/pow-inputs: Likewise.
53508         * benchtests/rint-inputs: Likewise.
53509         * benchtests/sin-inputs: Likewise.
53510         * benchtests/sinh-inputs: Likewise.
53511         * benchtests/tan-inputs: Likewise.
53512         * benchtests/tanh-inputs: Likewise.
53513         * scripts/bench.pl: Add support for new directives.
53515 2013-10-07  Alan Modra  <amodra@gmail.com>
53517         * README: Fix careless merge.
53519 2013-10-05  Alan Modra  <amodra@gmail.com>
53521         * NEWS: Mention powerpc64le support and bugs fixed.
53522         * README: Both big-endian and little-endian powerpc64 supported.
53524 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53526         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53527         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53528         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53529         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53531 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53533         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53534         match prototype.
53536 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53538         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53539         Move -mhard-float appending from
53540         ports/sysdeps/powerpc/powerpc32/Makefile.
53541         [$(with-fp) = yes] (ASFLAGS): Likewise.
53542         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53543         * sysdeps/powerpc/nofpu: Move directory from
53544         ports/sysdeps/powerpc/nofpu.
53545         * sysdeps/powerpc/soft-fp: Move directory from
53546         ports/sysdeps/powerpc/soft-fp.
53547         * sysdeps/powerpc/powerpc32/405: Move directory from
53548         ports/sysdeps/powerpc/powerpc32/405.
53549         * sysdeps/powerpc/powerpc32/440: Move directory from
53550         ports/sysdeps/powerpc/powerpc32/440.
53551         * sysdeps/powerpc/powerpc32/464: Move directory from
53552         ports/sysdeps/powerpc/powerpc32/464.
53553         * sysdeps/powerpc/powerpc32/476: Move directory from
53554         ports/sysdeps/powerpc/powerpc32/476.
53555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53556         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53558         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53560         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53562         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53564         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53565         * README: Update for powerpc-*-linux-gnu software floating point
53566         support in libc.
53568         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53569         case to powerpc/powerpc32*.
53570         * sysdeps/unix/sysv/linux/configure: Regenerated.
53572         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53573         (_FPU_MASK_OM): Define as 0x04.
53574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53576         0x00c10080.
53577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53578         0x0000003c.
53579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53582         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53583         getcontext_e500.
53584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53585         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53586         setcontext_e500.
53587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53588         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53589         and setcontext_e500.
53591 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53593         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53595 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53597         * manual/threads.texi (Default Thread Attributes): Fix typo.
53599 2013-10-04  Will Newton  <will.newton@linaro.org>
53601         * malloc/Makefile: Add tst-memalign.
53602         * malloc/tst-memalign.c: New file.
53604         * malloc/tst-posix_memalign.c: Add comments.
53605         (do_test): Add comments and call free on all potentially
53606         allocated pointers. Add space after cast.
53608         * malloc/tst-pvalloc.c: Add comments.
53609         (do_test): Add comments and call free on all potentially
53610         allocated pointers. Remove duplicate check for NULL pointer.
53611         Add space after cast.
53613         * malloc/tst-valloc.c: Add comments.
53614         (do_test): Add comments and call free on all potentially
53615         allocated pointers. Remove duplicate check for NULL pointer.
53616         Add space after cast.
53618 2013-10-04  Alan Modra  <amodra@gmail.com>
53620         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53621         Use stdint types in rather than __attribute__((mode())).
53622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53624 2013-10-04  Alan Modra  <amodra@gmail.com>
53626         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53627         Correct handling of unaligned relocs for little-endian.
53628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53630 2013-10-04  Alan Modra  <amodra@gmail.com>
53632         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53633         * configure: Regenerate.
53634         * nptl/shlib-versions: Powerpc*le starts at 2.18.
53635         * shlib-versions: Likewise.
53637 2013-10-04  Alan Modra  <amodra@gmail.com>
53639         * string/tester.c (test_memrchr): Increment reported test cycle.
53641 2013-10-04  Alan Modra  <amodra@gmail.com>
53643         * string/test-memcpy.c (do_one_test): When reporting errors, print
53644         string address and don't overrun end of string.
53646 2013-10-04  Alan Modra  <amodra@gmail.com>
53648         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
53649         insrdi.  Make better use of reg selection to speed exit slightly.
53650         Schedule entry path a little better.  Remove useless "are we done"
53651         checks on entry to main loop.  Handle wrapping around zero address.
53652         Correct main loop count.  Handle single left-over word from main
53653         loop inline rather than by using loop_small.  Remove extra word
53654         case in loop_small caused by wrong loop count.  Add little-endian
53655         support.
53656         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53657         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
53658         cache hint.
53659         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53660         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
53661         support.  Avoid rlwimi.
53662         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
53664 2013-10-04  Alan Modra  <amodra@gmail.com>
53666         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
53667         insrdi.  Formatting.
53668         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
53669         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53670         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
53671         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53672         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53673         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
53675 2013-10-04  Alan Modra  <amodra@gmail.com>
53677         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
53678         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53679         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
53680         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
53681         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53682         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53683         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53684         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53685         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
53686         use of regs.  Use power7 mtocrf.  Tidy function tails.
53688 2013-10-04  Alan Modra  <amodra@gmail.com>
53690         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
53691         Formatting.  Consistently use rXXX register defines or rN defines.
53692         Use early exit labels that avoid restoring unused non-volatile regs.
53693         Make cr field use more consistent with rWORDn compares.  Rename
53694         regs used as shift registers for unaligned loop, using rN defines
53695         for short lifetime/multiple use regs.
53696         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53697         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
53698         addi 1,1,64 to pop stack frame.  Simplify return value code.
53699         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53701 2013-10-04  Alan Modra  <amodra@gmail.com>
53703         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
53704         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
53705         rather than rlwimi.
53706         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
53707         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
53708         little-endian support.  Correct typos.
53709         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
53710         rather than rlwimi.
53711         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
53712         in loop and entry code to keep "and." results.
53713         (strchr): Add little-endian support.  Comment.  Move cntlzd
53714         earlier in tail.
53715         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
53717 2013-10-04  Alan Modra  <amodra@gmail.com>
53719         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
53720         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
53721         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
53722         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
53724 2013-10-04  Alan Modra  <amodra@gmail.com>
53726         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53727         (rTMP): Define as r11.
53728         (strcmp): Add little-endian support.  Optimise tail.
53729         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
53730         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53731         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53732         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53733         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53734         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53735         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53737 2013-10-04  Alan Modra  <amodra@gmail.com>
53739         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
53740         little-endian support.  Remove unnecessary "are we done" tests.
53741         Handle "s" wrapping around zero and extremely large "size".
53742         Correct main loop count.  Handle single left-over word from main
53743         loop inline rather than by using small_loop.  Correct comments.
53744         Delete "zero" tail, use "end_max" instead.
53745         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
53747 2013-10-04  Alan Modra  <amodra@gmail.com>
53749         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
53750         support.  Don't branch over align.
53751         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
53752         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
53753         support.  Rearrange tmp reg use to suit.  Comment.
53754         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
53756 2013-10-04  Alan Modra  <amodra@gmail.com>
53758         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
53760 2013-10-04  Alan Modra  <amodra@gmail.com>
53762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
53763         conditional form of branch and link when obtaining pc.
53764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
53766 2013-10-04  Alan Modra  <amodra@gmail.com>
53768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
53769         HIWORD/LOWORD.
53770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
53771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
53773 2013-10-04  Alan Modra  <amodra@gmail.com>
53775         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
53776         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
53777         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
53778         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
53779         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53780         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53781         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
53782         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53783         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
53784         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
53786 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53787             Alistair Popple <alistair@ozlabs.au.ibm.com>
53788             Alan Modra <amodra@gmail.com>
53790         [BZ #15723]
53791         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
53792         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
53793         _dl_hwcap access for little-endian.
53794         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
53795         destroy vmx regs when saving unaligned.
53796         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
53797         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
53798         destroy vmx regs when saving unaligned.
53800 2013-10-04  Alan Modra  <amodra@gmail.com>
53802         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
53803         Don't use a union to pack hi/low value.
53805 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53807         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
53808         for little-endian.
53809         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
53811         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53812         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53813         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53815 2013-10-04  Alan Modra  <amodra@gmail.com>
53817         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
53818         constants to usual value for .cst8 section, and remove redundant
53819         high address load.
53820         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
53821         constant for 0x1p52.  Load little-endian words of double from
53822         correct stack offsets.
53824 2013-10-04  Alan Modra  <amodra@gmail.com>
53826         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
53827         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
53828         words of double from correct stack offsets.
53829         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
53830         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
53831         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53832         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53833         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53834         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53835         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53836         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
53837         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
53838         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53839         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53840         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53841         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53842         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53843         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53844         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
53845         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
53847 2013-10-04  Alan Modra  <amodra@gmail.com>
53849         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
53850         64-bit int/double union.
53851         (_FPU_SETCW): Likewise.
53852         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
53853         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
53855 2013-10-04  Alan Modra  <amodra@gmail.com>
53857         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
53858         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
53860 2013-10-04  Alan Modra  <amodra@gmail.com>
53862         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
53863         use vector int constants.
53864         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
53866 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53868         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
53869         array with long long.
53870         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
53871         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
53872         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
53873         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
53874         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
53875         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
53876         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
53877         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
53878         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
53879         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
53880         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
53881         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
53882         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
53884 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53886         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
53887         (__signbit): Likewise.  Correct for little-endian.
53888         (__signbitl): Call __signbit.
53889         (lrint): Correct for little-endian.
53890         (lrintf): Call lrint.
53892 2013-10-04  Alan Modra  <amodra@gmail.com>
53894         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
53895         union 32-bit int array member with 64-bit int array.
53896         (t515, tm256): Double rather than long double.
53897         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
53899 2013-10-04  Alan Modra  <amodra@gmail.com>
53901         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
53902         Delete.
53903         (IEEE854_LONG_DOUBLE_BIAS): Delete.
53904         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
53905         version of math_ldbl.h.
53907 2013-10-04  Alan Modra  <amodra@gmail.com>
53909         [BZ #15734], [BZ #15735]
53910         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
53911         all uses of ieee875 long double macros and unions.  Simplify test
53912         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
53913         ldbl_extract_mantissa value for ix,iy exponents.  Properly
53914         normalize after ldbl_extract_mantissa, and don't add hidden bit
53915         already handled.  Don't treat low word of ieee854 mantissa like
53916         low word of IBM long double and mask off bit when testing for
53917         zero.
53918         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
53919         all uses of ieee875 long double macros and unions.  Simplify tests
53920         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
53921         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
53922         two1022, instead use their values.  Recognise that tests for large
53923         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
53924         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
53925         Rewrite all uses of ieee875 long double macros and unions.  Simplify
53926         test for 0.0L and nan.  Correct negation.
53927         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
53928         ieee875 long double macros and unions.  Correct output for large
53929         magnitude x.  Correct absolute value calculation.
53930         (__erfcl): Likewise.
53931         * math/libm-test.inc: Add tests for errors discovered in IBM long
53932         double versions of fmodl, remainderl, erfl and erfcl.
53934 2013-10-04  Alan Modra  <amodra@gmail.com>
53936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
53937         all uses of ieee854 long double macros and unions.  Simplify tests
53938         for long doubles that are fully specified by the high double.
53939         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
53940         Likewise.
53941         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
53942         Remove dead code too.
53943         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
53944         (__ieee754_ynl): Likewise.
53945         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
53946         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
53947         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
53948         Remove dead code too.
53949         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
53950         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
53951         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
53952         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
53953         Simplify.
53954         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
53955         Simplify.
53956         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
53957         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
53958         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
53959         Comment on variable precision.
53960         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
53961         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53962         Likewise.
53963         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
53964         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53965         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53966         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
53967         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
53969 2013-10-04  Alan Modra  <amodra@gmail.com>
53971         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
53972         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
53973         all uses of ieee854 long double macros and unions.
53974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
53975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53976         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
53977         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
53978         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
53979         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53980         Likewise.
53981         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
53982         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53983         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
53984         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53985         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
53986         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
53987         Simplify sign and nan test too.
53988         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
53989         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
53990         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
53991         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
53992         Likewise.
53993         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53994         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
53995         Likewise.
53996         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53997         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
53998         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
53999         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54000         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54003 2013-10-04  Alan Modra  <amodra@gmail.com>
54005         * stdio-common/printf_size.c (__printf_size): Don't use
54006         union ieee854_long_double in fpnum union.
54007         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54008         signbit macro to retrieve sign from long double.
54009         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54010         retrieve sign from long double.
54011         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54012         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54013         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54014         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54015         * math/test-misc.c (main): Don't use union ieee854_long_double.
54017 2013-10-04  Alan Modra  <amodra@gmail.com>
54019         [BZ #15680]
54020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54021         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54022         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54023         calculation.  Remove unnecessary test for denormal exponent.
54024         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54025         Correct handling of denormals.  Avoid undefined shift behaviour.
54026         Correct normalisation of low mantissa when low double is denormal.
54027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54028         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54029         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54030         Correct normalisation of low mantissa.  Test for overflow of high
54031         mantissa and normalise.
54032         (ldbl_nearbyint): Use more readable constant for two52.
54033         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54034         (__mpn_construct_long_double): Fix test for overflow of high
54035         mantissa and correct normalisation.  Avoid undefined shift.
54037 2013-10-04  Alan Modra  <amodra@gmail.com>
54039         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54040         (union ibm_extended_long_double): Define as an array of ieee754_double.
54041         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54042         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54043         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54044         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54046         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54047         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54048         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54049         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54050         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54051         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54053 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54055         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54056         page size instead of calling getpagesize.
54058         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54059         (LOCFILE_ALIGN_MASK): Likewise.
54060         (LOCFILE_ALIGN_UP): Likewise.
54061         (LOCFILE_ALIGNED_P): Likewise.
54062         * locale/programs/ld-collate.c (collate_output): Use the new
54063         macros instead of __alignof__ (int32_t).
54064         * locale/weight.h (findidx): Likewise.
54066 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54068         [BZ #431]
54069         * manual/string.texi: Fix strncat and wcsncat.
54071 2013-10-03  Brooks Moses  <bmoses@google.com>
54073         [BZ #15915]
54074         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54075         * Makerules: ...here, and adjust associated comments.
54077 2013-10-02  Will Newton  <will.newton@linaro.org>
54079         * malloc/Makefile: Add tst-pvalloc.
54080         * malloc/tst-pvalloc.c: New file.
54082 2013-10-02  Will Newton  <will.newton@linaro.org>
54084         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54085         improve test coverage.
54087 2013-10-02  Will Newton  <will.newton@linaro.org>
54089         * malloc/Makefile: Add tst-posix_memalign.
54090         * malloc/tst-posix_memalign.c: New file.
54092 2013-10-01  Eric Blake  <eblake@redhat.com>
54094         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54095         Use __THROWNL rather than __THROW on static functions.
54097 2013-09-30  Petr Machata  <pmachata@redhat.com>
54099         * elf/elf.h (R_AARCH64_ABS16): New macro.
54100         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54101         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54102         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54103         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54104         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54105         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54106         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54107         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54108         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54109         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54110         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54111         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54112         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54113         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54114         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54115         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54116         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54117         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54118         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54119         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54120         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54121         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54122         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54123         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54124         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54125         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54126         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54127         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54128         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54129         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54130         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54131         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54132         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54133         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54134         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54135         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54136         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54137         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54138         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54139         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54140         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54141         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54142         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54143         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54144         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54145         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54146         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54147         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54148         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54149         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54150         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54151         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54152         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54153         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54154         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54155         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54156         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54157         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54158         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54159         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54160         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54161         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54162         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54163         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54164         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54165         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54166         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54167         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54168         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54169         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54170         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54171         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54172         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54173         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54174         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54175         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54176         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54177         (R_AARCH64_TLSDESC_LDR): Likewise.
54178         (R_AARCH64_TLSDESC_ADD): Likewise.
54179         (R_AARCH64_TLSDESC_CALL): Likewise.
54181 2013-09-30  Andreas Schwab  <schwab@suse.de>
54183         [BZ #15048]
54184         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54185         the nss database lookup.
54186         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54189 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54191         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54193 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54195         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54196         ${Bash-specific parameter/pattern/string} parameter expansion.
54197         * sysdeps/unix/make-syscalls.sh: Likewise.
54199 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54201         * sysdeps/sh/stackguard-macros.h: New file.
54203 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54207         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54208         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54209         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54210         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54212 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54214         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54215         Fix thread ID register.
54217 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54219         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54220         [POSIX || UNIX98]: Require rather than permitting all symbols from
54221         <time.h>.
54222         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54223         element of struct sched_param.
54224         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54225         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54226         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54227         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54228         constant.
54230 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54232         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54233         argument calculation.
54235 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54237         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54238         Expect macro.
54239         [POSIX] (pthread_attr_t): Do not require type.
54240         [POSIX] (pthread_cond_t): Likewise.
54241         [POSIX] (pthread_condattr_t): Likewise.
54242         [POSIX] (pthread_key_t): Likewise.
54243         [POSIX] (pthread_mutex_t): Likewise.
54244         [POSIX] (pthread_mutexattr_t): Likewise.
54245         [POSIX] (pthread_once_t): Likewise.
54246         [POSIX] (pthread_t): Likewise.
54247         [POSIX-based standards] (pthread_atfork): Expect function.
54249 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54250             Richard Sandiford  <richard@codesourcery.com>
54252         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54253         (swap_endianness_p): New extern variable.
54254         (set_big_endian): New inline function.
54255         (maybe_swap_uint32): Likewise.
54256         (maybe_swap_uint32_array): Likewise.
54257         (maybe_swap_uint32_obstack): Likewise.
54258         * locale/programs/locfile.c: Include <stdbool.h>.
54259         (swap_endianness_p): New variable.
54260         (add_locale_uint32): Call maybe_swap_uint32.
54261         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54262         (write_locale_data): Call maybe_swap_uint32_array.
54263         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54264         maybe_swap_uint32.
54265         (obstack_int32_grow_fast): Likewise.
54266         (output_weightwc): Call maybe_swap_uint32_obstack.
54267         (collate_output): Likewise.
54268         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54269         (OPT_LITTLE_ENDIAN): Likewise.
54270         (options): Add --little-endian and --big-endian options.
54271         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54272         * locale/programs/locarchive.c: Include "locfile.h".
54273         (GET): New macro.
54274         (SET): Likewise.
54275         (INC): Likewise.
54276         (create_archive): Use the new macros to access fields of
54277         structures directly mapped from or written to locale archives.
54278         (oldlocrecentcmp): Likewise.
54279         (enlarge_archive): Likewise.
54280         (insert_name): Likewise.
54281         (add_alias): Likewise.
54282         (add_locale): Likewise.
54283         (delete_locales_from_archive): Likewise.
54284         (show_archive_content): Likewise.
54285         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54286         locale data.
54288 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54290         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54291         http://www.gnu.org/doc/freemanuals.texi.
54292         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54294 2013-09-24  Will Newton  <will.newton@linaro.org>
54296         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54297         macro.
54299 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54301         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54302         unsigned char.
54304 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54306         * manual/threads.texi (POSIX Threads): Fix a typo.
54308 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54310         [BZ #14547]
54311         * string/tst-strcoll-overflow.c: New test case.
54312         * string/Makefile (xtests): Add tst-strcoll-overflow.
54313         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54314         cache if string sizes may cause integer overflow.
54316         [BZ #14547]
54317         * string/strcoll_l.c (coll_seq): New members rule, idx,
54318         save_idx and back_us.
54319         (get_next_seq_nocache): New function.
54320         (do_compare_nocache): New function.
54321         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54322         when malloc fails.
54324 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54326         [BZ #15754]
54327         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54328         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54329         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54331         [BZ #15754]
54332         * elf/Makefile (tests): Add tst-ptrguard1.
54333         (tests-static): Add tst-ptrguard1-static.
54334         (tst-ptrguard1-ARGS): Define.
54335         (tst-ptrguard1-static-ARGS): Define.
54336         * elf/tst-ptrguard1.c: New file.
54337         * elf/tst-ptrguard1-static.c: New file.
54338         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54339         * sysdeps/i386/stackguard-macros.h: Likewise.
54340         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54341         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54342         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54343         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54344         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54345         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54347 2013-09-23  Hector Marco  <hecmargi@upv.es>
54348             Ismael Ripoll  <iripoll@disca.upv.es>
54349             Carlos O'Donell  <carlos@redhat.com>
54351         [BZ #15754]
54352         * sysdeps/generic/stackguard-macros.h: Define
54353         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54354         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54355         Define __pointer_chk_guard_local.
54356         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54357         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54359 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54361         [BZ #15859]
54362         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54364 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54366         * include/string.h (__ffs): Declare as hidden.
54367         * string/ffs.c (__ffs): Define as hidden.
54368         * sysdeps/i386/ffs.c (__ffs): Likewise.
54369         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54370         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54371         * sysdeps/s390/ffs.c (__ffs): Likewise.
54372         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54374 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54376         * NEWS: Mention malloc probes.
54378         * malloc/arena.c (new_heap): New memory_heap_new probe.
54379         (grow_heap): New memory_heap_more probe.
54380         (shrink_heap): New memory_heap_less probe.
54381         (heap_trim): New memory_heap_free probe.
54382         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54383         (systrim): New memory_sbrk_less probe.
54384         * manual/probes.texi: Document them.
54386         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54387         * manual/probes.texi: Document it.
54389         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54390         (__libc_realloc): Add memory_realloc_retry probe.
54391         (__libc_memalign): Add memory_memalign_retry probe.
54392         (__libc_valloc): Add memory_valloc_retry probe.
54393         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54394         (__libc_calloc): Add memory_calloc_retry probe.
54395         * manual/probes.texi: Document them.
54397         * malloc/arena.c (get_free_list): Add probe
54398         memory_arena_reuse_free_list.
54399         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54400         and memory_arena_reuse.
54401         (arena_get2) [!PER_THREAD]: Likewise.
54402         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54403         memory_arena_reuse_realloc.
54404         * manual/probes.texi: Document them.
54406         * malloc/malloc.c (__libc_free): Add
54407         memory_mallopt_free_dyn_thresholds probe.
54408         (__libc_mallopt): Add multiple memory_mallopt probes.
54409         * manual/probes.texi: Document them.
54411         * malloc/malloc.c: Include stap-probe.h.
54412         (__libc_mallopt): Add memory_mallopt probe.
54413         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54414         * manual/probes.texi: New.
54415         * manual/Makefile (chapters): Add probes.
54416         * manual/threads.texi: Set next node.
54418 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54420         [BZ #15963, #13985]
54421         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54422         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54423         Add `Chinese' to `nan' entry name.
54425 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54427         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54428         (POLYNOMIAL): Likewise.
54429         (TAYLOR_SINCOS): Likewise.
54430         (TAYLOR_SLOW): Likewise.
54431         (__sin): Use TAYLOR_SINCOS.
54432         (__cos): Likewise.
54433         (slow): Use TAYLOR_SLOW.
54434         (sloww): Likewise.
54435         (bsloww): Likewise.
54436         (csloww): Likewise.
54438 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54440         * stdlib/strtod_l.c: Fix buffer overrun.
54442 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54444         * benchtests/Makefile (bench): Add sincos.
54445         * benchtests/bench-sincos.c: New file.
54447         * math/libm-test.inc (cos_test_data): New test inputs.
54448         (sin_test_data): Likewise.
54450         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54451         macro.
54452         (__sin): Use it.
54453         (__cos): Likewise.
54454         (slow1): Likewise.
54455         (slow2): Likewise.
54456         (sloww1): Likewise.
54457         (sloww2): Likewise.
54458         (bsloww1): Likewise.
54459         (bsloww2): Likewise.
54460         (cslow2): Likewise.
54461         (csloww1): Likewise.
54462         (csloww2): Likewise.
54464         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54465         function.
54466         (__sin): Use it.
54467         (__cos): Likewise.
54469         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54470         gotos.
54471         (__cos): Likewise.
54473 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54475         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54476         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54477         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54478         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54479         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54480         * elf/cache.c (print_entry): Handle the new cache flags.
54482 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54483             Aldy Hernandez  <aldyh@redhat.com>
54485         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54486         Change condition to [_SOFT_FLOAT].
54487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54499         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54502         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54503         declaration.
54505 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54507         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54508         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54509         (__longjmp): Use LOAD_GP to load saved GPRs.
54510         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54511         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54512         (__sigsetjmp): Use SAVE_GP to save GPRs.
54514         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54515         Do not append -msoft-float.
54516         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54518 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54520         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54522 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54524         [BZ #15966]
54525         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54526         (_FPU_GETCW): Use initial "__" on variable and field names but not
54527         on macro parameter name.
54528         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54529         parentheses around reference to macro parameter.
54531 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54533         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54534         prototype.
54535         (ctype_startup): Use uint32_t in cast and sizeof for
54536         ctype->charnames.
54538 2013-09-11  Jia Liu  <proljc@gmail.com>
54540         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54541         __daddr_t_defined.
54542         [__FreeBSD__]: Likewise.
54544 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54547         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54548         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54549         (strchr): Remove __strchr_sse42 ifunc selection.
54550         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54551         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54553 2013-09-11  Will Newton  <will.newton@linaro.org>
54555         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54556         parameter to RES. Remove hardcoded 1000 value.
54557         * benchtests/bench-skeleton.c (main): Pass RES parameter
54558         to TIMING_INIT and multiply result by 1000.
54560 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54564 2013-09-11  Andreas Schwab  <schwab@suse.de>
54566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54567         if not defined.
54568         (O_TMPFILE) [__USE_GNU]: Define.
54569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54570         Define.
54572 2013-09-11  Will Newton  <will.newton@linaro.org>
54574         [BZ #15857]
54575         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54576         does not overflow.
54578 2013-09-11  Will Newton  <will.newton@linaro.org>
54580         [BZ #15856]
54581         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54582         does not overflow.
54584 2013-09-11  Will Newton  <will.newton@linaro.org>
54586         [BZ #15855]
54587         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54588         does not overflow.
54590 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54592         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54593         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54598 2013-09-10  Allan McRae  <allan@archlinux.org>
54600         [BZ #15748]
54601         * manual/arith.texi (Parsing of Floats): Clarify
54602         cross-reference.
54604         [BZ #15849]
54605         * manual/install.texi (Running make install): Mention
54606         --enable-pt-chown.
54607         * INSTALL: Regenerated.
54609 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54611         * csu/init-first.c (_init): Remove the !SHARED condition around
54612         FPU control word initialization.
54613         * elf/dl-support.c (_dl_fpu_control): New variable.
54614         (_dl_aux_init) <AT_FPUCW>: Initialize it.
54615         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54616         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54617         * math/test-fpucw-static.c: New file.
54618         * math/test-fpucw-ieee.c: New file.
54619         * math/test-fpucw-ieee-static.c: New file.
54620         * math/Makefile (tests): Add `test-fpucw-ieee' and
54621         `$(tests-static)'.
54622         (tests-static): New variable.
54623         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54624         dependency to...
54625         [($(build-shared),yes)]
54626         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54627         ... this.
54628         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54629         New dependency.
54631 2013-09-09  Allan McRae  <allan@archlinux.org>
54633         [BZ #15939]
54634         * manual/string.texi (Collation Functions): Fix typo in
54635         strcoll example.
54636         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54638         [BZ #15893]
54639         * stdlib/isomac.c (get_null_defines): Fix memory leak.
54641         [BZ #15892]
54642         * libio/memstream.c (open_memstream): Fix memory leak.
54643         * libio/wmemstream.c (open_wmemstream): Likewise.
54645         [BZ #15895]
54646         * nscd/netgroupcache.c: Fix nesting of ifdefs.
54648 2013-09-09  Will Newton  <will.newton@linaro.org>
54650         * malloc/Makefile: Add tst-realloc to tests.
54651         * malloc/tst-realloc.c: New file.
54653 2013-09-09  Allan McRae  <allan@archlinux.org>
54655         [BZ #15844]
54656         * COPYING: Update from GNU website to fix FSF address.
54657         * COPYING.LIB: Likewise.
54659 2013-09-06  David S. Miller  <davem@davemloft.net>
54661         * po/zh_TW.po: Update Chinese (traditional) translation from
54662         translation project.
54664 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
54665             Joseph Myers  <joseph@codesourcery.com>
54667         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
54668         "localeinfo.h".
54669         (obstack_chunk_alloc): New macro.
54670         (obstack_chunk_free): Likewise.
54671         (record_offset): New function.
54672         (init_locale_data): Likewise.
54673         (align_locale_data): Likewise.
54674         (add_locale_empty): Likewise.
54675         (add_locale_raw_data): Likewise.
54676         (add_locale_raw_obstack): Likewise.
54677         (add_locale_string): Likewise.
54678         (add_locale_wstring): Likewise.
54679         (add_locale_uint32): Likewise.
54680         (add_locale_uint32_array): Likewise.
54681         (add_locale_char): Likewise.
54682         (start_locale_structure): Likewise.
54683         (end_locale_structure): Likewise.
54684         (start_locale_prelude): Likewise.
54685         (end_locale_prelude): Likewise.
54686         (write_locale_data): Take locale_file structure rather than an
54687         iovec.
54688         * locale/programs/locfile.h: Include "obstack.h".
54689         (struct locale_file): Change to store locale file contents instead
54690         of header.
54691         (init_locale_data): New prototype.
54692         (align_locale_data): Likewise.
54693         (add_locale_empty): Likewise.
54694         (add_locale_raw_data): Likewise.
54695         (add_locale_raw_obstack): Likewise.
54696         (add_locale_string): Likewise.
54697         (add_locale_wstring): Likewise.
54698         (add_locale_uint32): Likewise.
54699         (add_locale_uint32_array): Likewise.
54700         (add_locale_char): Likewise.
54701         (start_locale_structure): Likewise.
54702         (end_locale_structure): Likewise.
54703         (start_locale_prelude): Likewise.
54704         (end_locale_prelude): Likewise.
54705         (write_locale_data): Update prototype.
54706         * locale/programs/3level.h (struct TABLE): Remove result field.
54707         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
54708         Use new locale_file interface.
54709         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
54710         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
54711         * locale/programs/ld-address.c (address_output): Use new
54712         locale_file interface.
54713         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
54714         NO_ADD_LOCALE.
54715         (collate_finish): Don't call collseq_table_finalize.
54716         (collate_output): Use new locale_file interface.
54717         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
54718         in file.
54719         (NO_FINALIZE): Change to NO_ADD_LOCALE.
54720         (TABLE): Move defines earlier in file.
54721         (ELEMENT): Likewise.
54722         (DEFAULT): Likewise.
54723         (wctrans_table_add): Move macro and inline function earlier in
54724         file.
54725         (struct wctype_table): Move type earlier in file.
54726         (add_locale_wctype_table): New static prototype.
54727         (struct locale_ctype_t): Use logical types instead of struct iovec
54728         pointers for members.
54729         (ctype_output): Use new locale_file interface.
54730         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
54731         new locale_file interface.
54732         (allocate_arrays): Update for use of new locale_file interface.
54733         * locale/programs/ld-identification.c (identification_output): Use
54734         new locale_file interface.
54735         * locale/programs/ld-measurement.c (measurement_output): Likewise.
54736         * locale/programs/ld-messages.c (messages_output): Likewise.
54737         * locale/programs/ld-monetary.c (monetary_output): Likewise.
54738         * locale/programs/ld-name.c (name_output): Likewise.
54739         * locale/programs/ld-numeric.c (numeric_output): Likewise.
54740         * locale/programs/ld-paper.c (paper_output): Likewise.
54741         * locale/programs/ld-telephone.c (telephone_output): Likewise.
54742         * locale/programs/ld-time.c (time_output): Likewise.
54744 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54746         * benchtests/Makefile: Add memrchr benchmark.
54747         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
54748         benchmark as memrchr.
54749         * benchtests/bench-memrchr-ifunc.c: New file.
54750         * benchtests/bench-memrchr.c: New file.
54752 2013-09-06   Will Newton  <will.newton@linaro.org>
54754         * benchtests/Makefile (string-bench): Add memcpy.
54756 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
54757             Cong Wang  <amwang@redhat.com>
54759         [BZ #15850]
54760         * sysdeps/unix/sysv/linux/bits/in.h
54761         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
54762         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
54763         before __USE_KERNEL_IPV6_DEFS uses.
54764         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
54765         IPPROTO_BEETPH.
54766         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
54767         sockaddr_in6, or ipv6_mreq.
54769 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54771         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
54772         memory access for final bytes in some large inputs.
54773         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
54775 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54777         * string/test-memrchr.c: New file.
54778         * string/test-memrchr-ifunc.c: New file.
54779         * string/Makefile: Add new memrchr testcase.
54781 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
54783         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
54784         fanotify_init returns EPERM.
54786 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54788         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
54789         errors.
54790         (top level): Treat second token from macro or constant entries for
54791         allowed headers as allowed.
54792         * include/complex.h: Condition internal declarations on
54793         [!_ISOMAC].
54794         * include/fenv.h: Condition include of <stdbool.h> and internal
54795         declarations on [!_ISOMAC].
54797 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
54799         [BZ #15923]
54800         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
54802 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54804         * configure.in (--enable-versioning): Remove configure option.
54805         (libc_cv_asm_symver_directive): Remove configure test.
54806         (libc_cv_ld_version_script_option): Likewise.
54807         (VERSIONING): Remove variable and AC_SUBST.
54808         (DO_VERSIONING): Remove AC_DEFINE.
54809         * configure: Regenerated.
54810         * config.h.in (DO_VERSIONING): Remove macro.
54811         * Makerules [$(versioning) = yes]: Change conditionals to
54812         [$(build-shared) = yes].
54813         * config.make.in (versioning): Remove variable.
54814         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
54815         [$(build-shared) = yes].
54816         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
54817         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
54818         * elf/Makefile [$(versioning) = yes]: Change conditionals to
54819         [$(build-shared) = yes].
54820         * extra-lib.mk [$(versioning) = yes]: Likewise.
54821         * hurd/Makefile [$(versioning) = yes]: Likewise.
54822         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
54823         [SHARED].
54824         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
54825         [SHARED].
54826         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54827         [SHARED && !NO_HIDDEN].
54828         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
54829         [SHARED].
54830         [SHARED && DO_VERSIONING]: Likewise..
54831         * libio/Makefile [$(versioning) = yes]: Change conditionals to
54832         [$(build-shared) = yes].
54833         * manual/install.texi (--disable-versioning): Remove
54834         documentation.
54835         * INSTALL: Regenerated.
54836         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
54837         to [SHARED].
54838         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
54839         [$(build-shared) = yes].
54840         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
54841         * sysdeps/i386/i686/multiarch/strstr-c.c
54842         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54843         [SHARED && !NO_HIDDEN].
54844         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
54845         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
54846         * sysdeps/powerpc/powerpc32/dl-machine.c
54847         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
54848         * sysdeps/powerpc/powerpc32/sysdep.h
54849         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
54850         to [SHARED && PIC && !NO_HIDDEN].
54851         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
54852         conditional to [SHARED].
54854 2013-09-04   Will Newton  <will.newton@linaro.org>
54856         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
54857         * benchtests/bench-string.h: Include bench-timing.h instead
54858         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
54859         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
54860         call to HP_TIMING_DIFF_INIT.
54861         * benchtests/bench-memccpy.c: Use bench-timing.h macros
54862         instead of hp-timing.h macros.
54863         * benchtests/bench-memchr.c: Likewise.
54864         * benchtests/bench-memcmp.c: Likewise.
54865         * benchtests/bench-memcpy.c: Likewise.
54866         * benchtests/bench-memmem.c: Likewise.
54867         * benchtests/bench-memmove.c: Likewise.
54868         * benchtests/bench-memset.c: Likewise.
54869         * benchtests/bench-rawmemchr.c: Likewise.
54870         * benchtests/bench-strcasecmp.c: Likewise.
54871         * benchtests/bench-strcasestr.c: Likewise.
54872         * benchtests/bench-strcat.c: Likewise.
54873         * benchtests/bench-strchr.c: Likewise.
54874         * benchtests/bench-strcmp.c: Likewise.
54875         * benchtests/bench-strcpy.c: Likewise.
54876         * benchtests/bench-strcpy_chk.c: Likewise.
54877         * benchtests/bench-strlen.c: Likewise.
54878         * benchtests/bench-strncasecmp.c: Likewise.
54879         * benchtests/bench-strncat.c: Likewise.
54880         * benchtests/bench-strncmp.c: Likewise.
54881         * benchtests/bench-strncpy.c: Likewise.
54882         * benchtests/bench-strnlen.c: Likewise.
54883         * benchtests/bench-strpbrk.c: Likewise.
54884         * benchtests/bench-strrchr.c: Likewise.
54885         * benchtests/bench-strspn.c: Likewise.
54886         * benchtests/bench-strstr.c: Likewise.
54888 2013-09-04  Will Newton  <will.newton@linaro.org>
54890         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
54892 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
54894         [BZ #15427]
54895         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
54896         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
54897         * math/libm-test.inc (lgamma_test_data): Add more tests.
54898         * sysdeps/i386/fpu/libm-test-ulps: Update.
54899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54901 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
54903         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
54904         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54905         Add ifunc.
54906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54907         Add strcmp-sse2-unaligned
54908         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
54910 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
54912         * Versions.def (libc): Add GLIBC_2.19.
54914 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
54916         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
54917         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
54919 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
54921         [BZ #14155]
54922         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
54923         intermediate calculations in recurrence.
54924         (__ieee754_ynf): Likewise.
54925         * math/libm-test.inc (jn_test_data): Do not allow spurious
54926         underflow exception.  Add more tests.
54927         (yn_test_data): Add more tests.
54928         * sysdeps/i386/fpu/libm-test-ulps: Update.
54929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54931 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
54933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
54935 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
54937         * csu/init-first.c: Fix then/than typos.
54938         * locale/programs/ld-collate.c: Likewise.
54939         * locale/programs/linereader.h: Likewise.
54940         * manual/charset.texi: Likewise.
54941         * manual/filesys.texi: Likewise.
54942         * manual/stdio.texi: Likewise.
54943         * manual/string.texi: Likewise.
54944         * stdlib/fmtmsg.c: Likewise.
54945         * sysdeps/i386/stpncpy.S: Likewise.
54946         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54947         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54948         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54949         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54951 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
54953         * elf/dl-open.c: Fix typos.
54954         * iconvdata/gbbig5.c: Likewise.
54955         * iconvdata/iso-2022-jp.c: Likewise.
54956         * iconv/gconv_int.h: Likewise.
54957         * iconv/loop.c: Likewise.
54958         * nis/rpcsvc/nis.h: Likewise.
54959         * resolv/ns_name.c: Likewise.
54960         * stdio-common/vfscanf.c: Likewise.
54961         * streams/stropts.h: Likewise.
54962         * sunrpc/rpc_thread.c: Likewise.
54963         * sysdeps/i386/strpbrk.S: Likewise.
54964         * sysdeps/ieee754/k_standard.c: Likewise.
54965         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54967         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
54968         * sysdeps/mach/hurd/profil.c: Likewise.
54969         * sysdeps/s390/dl-procinfo.h: Likewise.
54970         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
54971         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
54972         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
54973         * sysdeps/x86_64/dl-trampoline.S: Likewise.
54974         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54976 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
54978         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
54979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
54981 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
54983         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
54984         aix specific files.
54985         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
54986         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
54987         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
54988         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
54989         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
54990         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
54991         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
54992         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
54994 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
54995             Roland McGrath  <roland@hack.frob.com>
54997         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
54998         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55000 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55002         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55003         __executable_start symbol instead of _start.
55005 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55007         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55008         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55009         Move macros to...
55010         * sysdeps/gnu/ldsodefs.h: ... this new file.
55012         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55013         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55014         instead of ELFOSABI_LINUX.
55016         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55017         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55018         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55019         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55020         Likewise.
55021         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55022         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55023         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55024         Likewise.
55025         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55026         (ibm_extended_long_double): Add ieee_nan member.
55027         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55028         (do_test): New function.
55030         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55031         TEST_TRUNC.
55032         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55033         functions, renamed from truncdfsf_test, trunctfsf_test,
55034         trunctfdf_test.
55035         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55036         functions.
55037         (do_test): Run all these.
55039 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55041         * argp/argp-help.c: Fix typos.
55042         * argp/argp-parse.c: Likewise.
55043         * debug/backtracesyms.c: Likewise.
55044         * elf/elf.h: Likewise.
55045         * malloc/malloc.c: Likewise.
55046         * nis/nis_print.c: Likewise.
55047         * resolv/res_comp.c: Likewise.
55048         * stdlib/stdlib.h: Likewise.
55049         * sunrpc/clnt_tcp.c: Likewise.
55050         * sunrpc/clnt_udp.c: Likewise.
55051         * sunrpc/clnt_unix.c: Likewise.
55052         * sysdeps/unix/bsd/ptsname.c: Likewise.
55053         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55054         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55056         Likewise.
55057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55058         Likewise.
55059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55060         Likewise.
55061         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55063 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55065         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55068 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55070         [BZ #15897]
55071         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55072         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55073         ($(objpfx)bug-dl-leaf): New rule.
55074         ($(objpfx)bug-dl-leaf.so): Likewise.
55075         ($(objpfx)bug-dl-leaf.out): Likewise.
55076         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55077         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55078         * dlfcn/bug-dl-leaf.c: New test.
55079         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55080         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55081         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55082         (dlclose): Likewise.
55083         (dlmopen): Likewise.
55085 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55087         * include/netdb.h [!_ISOMAC]:
55088         Don't include <tls.h>.
55089         (h_errno, __libc_h_errno): Move declaration and macros out of
55090         [_LIBC_REENTRANT].
55092         * include/resolv.h [_RESOLV_H_]:
55093         Don't include <tls.h>.
55094         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55095         * resolv/res_libc.c: Don't include <tls.h>.
55096         (_res): Use __attribute__ ((nocommon)) in place of
55097         __attribute__ ((section (".bss"))).
55099         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55100         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55102         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55104         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55105         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55107         * resolv/res_mkquery.c: Include <sys/time.h>.
55109         * inet/ifreq.c: Moved to ...
55110         * sysdeps/unix/ifreq.c: ... here.
55111         * inet/ifreq.c: New file, true stub version.
55113         * socket/sa_len.c: New file.
55114         * socket/Makefile (aux): Add it.
55115         * sysdeps/unix/sysv/linux/Makefile
55116         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55117         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55118         and #include <socket/sa_len.c>.
55119         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55120         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55122         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55123         * bits/socket.h: ... here.
55125         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55126         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55127         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55129 2013-08-27  Andreas Schwab  <schwab@suse.de>
55131         [BZ #15736]
55132         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55133         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55134         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55135         * string/test-strcasecmp.c (test_main): Run tests in several
55136         locales.
55137         * string/test-strncasecmp.c (test_main): Likewise.
55139         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55140         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55141         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55142         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55143         (__strncasecmp_ssse3) [PIC]: Likewise.
55145 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55147         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55149         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55150         instead of explicitly declaring xdecrypt.
55151         * nis/nss_nis/nis-publickey.c: Likewise.
55153 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55155         [BZ #15890]
55156         * nscd/aicache.c: Include res_hconf.h.
55157         (addhstaiX): Initialize res_hconf.
55159 2013-08-26  Andreas Schwab  <schwab@suse.de>
55161         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55162         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55164 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55166         * nscd/aicache.c (addhstaiX): Fix indentation.
55168 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55170         * configure.ac: Quote $build_pt_chown test.
55171         * configure: Regenerated.
55173 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55175         [BZ #15532]
55176         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55177         * math/s_cexpf.c (__cexpf): Likewise.
55178         * math/s_cexpl.c (__cexpl): Likewise.
55179         * math/libm-test.inc (cexp_test_data): Correct expected return
55180         value for NaN + i0.  Add another test.
55182 2013-08-22  David S. Miller  <davem@davemloft.net>
55184         * po/ca.po: Update Catalan translation from translation project.
55185         * po/uk.po: Add Ukrainian translations from translation project.
55187 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55189         [BZ #15797]
55190         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55191         is infinite, not alongside NaN test.
55192         * math/s_fdimf.c (__fdimf): Likewise.
55193         * math/s_fdiml.c (__fdiml): Likewise.
55194         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55195         errno is unchanged.
55197 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55199         * argp/argp-help.c: Fix typos.
55200         * crypt/speeds.c: Likewise.
55201         * csu/check_fds.c: Likewise.
55202         * elf/dl-load.c: Likewise.
55203         * elf/dl-open.c: Likewise.
55204         * elf/reldep3.c: Likewise.
55205         * elf/reldep.c: Likewise.
55206         * elf/sprof.c: Likewise.
55207         * iconv/iconv_charmap.c: Likewise.
55208         * iconv/skeleton.c: Likewise.
55209         * iconv/strtab.c: Likewise.
55210         * io/lockf64.c: Likewise.
55211         * libio/libioP.h: Likewise.
55212         * resolv/gai_notify.c: Likewise.
55213         * resolv/ns_name.c: Likewise.
55214         * resolv/ns_samedomain.c: Likewise.
55215         * resolv/res_send.c: Likewise.
55216         * stdlib/random.c: Likewise.
55217         * sunrpc/rpc/xdr.h: Likewise.
55218         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55219         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55220         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55221         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55222         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55223         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55225         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55226         * sysdeps/mach/hurd/check_fds.c: Likewise.
55227         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55228         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55229         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55230         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55231         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55232         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55233         * sysdeps/pthread/aio_notify.c: Likewise.
55234         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55235         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55236         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55237         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55238         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55240 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55242         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55243         version if bit_Slow_SSE4_2 is set.
55244         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55245         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55247 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55249         [BZ #15867]
55250         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55251         trampoline stack frame information.
55252         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55253         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55254         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55255         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55256         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55257         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55258         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55259         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55260         sa_flags value.
55261         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55262         interrupting a syscall and set with option SA_SIGINFO.
55264 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55266         [BZ #15531]
55267         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55268         argument is infinite.
55269         * math/s_cprojf.c (__cprojf): Likewise.
55270         * math/s_cprojl.c (__cprojl): Likewise.
55271         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55272         * math/libm-test.inc (cproj_test_data): Add more tests.
55274         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55276         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55277         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55278         size.  Use __ffs to determine corresponding shift.
55280 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55281             Roland McGrath  <roland@hack.frob.com>
55283         * Makefile (INSTALL): Remove trailing blank lines from output of
55284         makeinfo.
55286 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55288         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55289         Align 32 bit compat elf_greg to 8 bytes.
55291 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55293         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55295 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55297         * string/strcoll_l.c (coll_seq): New structure.
55298         (get_next_seq_cached): New function.
55299         (get_next_seq): New function.
55300         (do_compare): New function.
55301         (STRCOLL): Use GNU style definition.  Simplify implementation
55302         by using get_next_seq, get_next_seq_cached and do_compare.
55304 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55306         [BZ #14699]
55307         CVE-2013-4237
55308         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55309         member.
55310         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55311         member.
55312         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55313         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55314         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55315         conditional.
55316         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55317         GETDENTS_64BIT_ALIGNED.
55318         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55319         * manual/filesys.texi (Reading/Closing Directory): Document
55320         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55321         strongly.
55322         * manual/conf.texi (Limits for Files): Add portability note to
55323         NAME_MAX, PATH_MAX.
55324         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55326 2013-08-13  Andreas Schwab  <schwab@suse.de>
55328         [BZ #15749]
55329         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55330         of fabs.
55331         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55332         LDBL_MAX_EXP >= 16384]: Add tests for it.
55334 2013-08-12  David S. Miller  <davem@davemloft.net>
55336         * version.h (RELEASE): Set to "development".
55337         (VERSION): Set to "2.18.90".
55338         * NEWS: Add 2.19 section.
55340 2013-08-03  David S. Miller  <davem@davemloft.net>
55342         * po/ko.po: Update Korean translation from translation project.
55344 2013-08-01  David S. Miller  <davem@davemloft.net>
55346         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55347         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55348         Bilka.
55350 2013-07-30  David S. Miller  <davem@davemloft.net>
55352         * po/fr.po: Update French translation from translation project.
55354 2013-07-28  David S. Miller  <davem@davemloft.net>
55356         * po/cs.po: Update Czech translation from translation project.
55358         * po/sv.po: Update Swedish translation from translation project.
55360 2013-07-27  David S. Miller  <davem@davemloft.net>
55362         * po/eo.po: Update Esperanto translation from translation project.
55364         * po/vi.po: Update Vietnamese translation from translation project.
55366         * po/de.po: Update German translation from translation project.
55368 2013-07-26  David S. Miller  <davem@davemloft.net>
55370         * po/bg.po: Update Bulgarian translation from translation project.
55372         * po/nl.po: Update Dutch translation from translation project.
55373         * po/pl.po: Update Polish translation from translation project.
55374         * po/ru.po: Update Russian translation from translation project.
55376 2013-07-24  David S. Miller  <davem@davemloft.net>
55378         * po/libc.pot: Update.
55380 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55382         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55383         variable page size.
55384         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55385         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55386         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55388 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55390         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55392 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55393             Andreas Schwab  <schwab@suse.de>
55394             Roland McGrath  <roland@hack.frob.com>
55395             Joseph Myers  <joseph@codesourcery.com>
55396             Carlos O'Donell  <carlos@redhat.com>
55398         [BZ #15755]
55399         * config.h.in: Define HAVE_PT_CHOWN.
55400         * config.make.in (build-pt-chown): New variable.
55401         * configure.in (--enable-pt_chown): New configure option.
55402         * configure: Regenerate.
55403         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55404         build-pt-chown is enabled.
55405         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55406         pt_chown to fix pty ownership.
55407         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55408         CLOSE_ALL_FDS.
55409         * manual/install.texi (Configuring and compiling): Mention
55410         --enable-pt_chown. Add @findex for grantpt.
55411         * INSTALL: Regenerate.
55413 2013-07-20  David S. Miller  <davem@davemloft.net>
55415         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55416         difference between 32-bit and 64-bit.
55418 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55420         [BZ #15711]
55421         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55422         Avoid system header dependency with -ffreestanding.
55423         ($(objpfx)bits/syscall%d): Likewise.
55425 2013-07-13  David S. Miller  <davem@davemloft.net>
55427         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55428         underflows from atanl/atan2l due to bug 15319.
55429         (casinh_test_data): Likewise.
55431 2013-07-07  David S. Miller  <davem@davemloft.net>
55433         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55435 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55437         * sysdeps/i386/fpu/libm-test-ulps: Update.
55438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55440 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55442         * configure.in (--enable-lock-elision): Fix message text.
55443         * INSTALL: Regenerate.
55444         * configure: Regenerate.
55446 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55450 2013-07-03  Andreas Jaeger  <aj@suse.de>
55452         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55453         define.
55454         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55455         (ptrace_peeksiginfo_args): Add.
55456         (__ptrace_peeksiginfo_flags): Add.
55457         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55458         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55459         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55461 2013-07-03  Allan McRae  <allan@archlinux.org>
55463         * sysdeps/i386/fpu/libm-test-ulps: Update.
55465 2013-07-02  David S. Miller  <davem@davemloft.net>
55467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55469 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55473 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55475         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55478 2013-07-02  Andi Kleen <ak@linux.intel.com>
55480         * config.h.in (ENABLE_LOCK_ELISION): Add.
55481         * configure.in (--enable-lock-elision): Add option.
55482         * manual/install.texi: Document --enable lock elision.
55483         * configure: Regenerate
55484         * INSTALL: Regenerate.
55486 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55488         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55489         SSE4.2 strcasecmp for libc.a.
55490         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55492 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55494         [BZ #13304]
55495         * soft-fp/op-common.h (_FP_FMA): New macro.
55496         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55497         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55498         (_FP_MUL_MEAT_1_imm): ... here.
55499         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55500         (_FP_MUL_MEAT_1_wide): ... here.
55501         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55502         (_FP_MUL_MEAT_1_hard): ... here.
55503         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55504         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55505         (_FP_MUL_MEAT_2_wide): ... here.
55506         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55507         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55508         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55509         (_FP_MUL_MEAT_2_gmp): ... here.
55510         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55511         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55512         (_FP_MUL_MEAT_4_wide): ... here.
55513         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55514         (_FP_MUL_MEAT_4_gmp): ... here.
55515         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55516         (_FP_WFRACBITS_DW_S): Likewise.
55517         (_FP_WFRACXBITS_DW_S): Likewise.
55518         (_FP_HIGHBIT_DW_S): Likewise.
55519         (FP_FMA_S): Likewise.
55520         (_FP_FRAC_HIGH_DW_S): Likewise.
55521         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55522         (_FP_WFRACBITS_DW_D): Likewise.
55523         (_FP_WFRACXBITS_DW_D): Likewise.
55524         (_FP_HIGHBIT_DW_D): Likewise.
55525         (FP_FMA_D): Likewise.
55526         (_FP_FRAC_HIGH_DW_D): Likewise.
55527         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55528         (_FP_WFRACBITS_DW_E): Likewise.
55529         (_FP_WFRACXBITS_DW_E): Likewise.
55530         (_FP_HIGHBIT_DW_E): Likewise.
55531         (FP_FMA_E): Likewise.
55532         (_FP_FRAC_HIGH_DW_E): Likewise.
55533         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55534         (_FP_WFRACBITS_DW_Q): Likewise.
55535         (_FP_WFRACXBITS_DW_Q): Likewise.
55536         (_FP_HIGHBIT_DW_Q): Likewise.
55537         (FP_FMA_Q): Likewise.
55538         (_FP_FRAC_HIGH_DW_Q): Likewise.
55539         * soft-fp/fmasf4.c: New file.
55540         * soft-fp/fmadf4.c: Likewise.
55541         * soft-fp/fmatf4.c: Likewise.
55543 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55546         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55547         Silvermont.
55548         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55549         macro.
55550         (index_Slow_SSE4_2): Likewise.
55551         (index_Prefer_PMINUB_for_stringop): Likewise.
55552         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55553         bit_Slow_SSE4_2 is set.
55554         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55555         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55557 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55559         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55560         rtld_global._dl_hwcap2.
55561         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55562         POWER8.
55563         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55564         POWER8 feature descriptions defined in _dl_hwcap2.
55565         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55566         string handling for POWER8 feature bits.
55567         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55568         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55569         _dl_powerpc_cap_flags.
55570         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55571         * sysdeps/powerpc/rtld-global-offsets.sym
55572         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55573         _dl_hwcap2 in the rtld_global_ro structure.
55575 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55577         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55578         hardware capabilities in support of AT_HWCAP2.
55579         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55580         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55581         GLRO(dl_hwcap2).
55582         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55583         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55584         explicitly the unknown a_type display mechanism is used.
55585         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55586         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55587         struct member.
55588         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55589         to macro prototype for AT_HWCAP2 support.
55590         * sysdeps/i386/dl-procinfo.h: Likewise.
55591         * sysdeps/s390/dl-procinfo.h: Likewise.
55592         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55593         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55594         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55595         return -1 for unknown a_type display fallback.
55596         * sysdeps/sparc/dl-procinfo.h: Likewise.
55597         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55598         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55600 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55602         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55603         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55605 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55607         [BZ #12492]
55608         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55609         mprotect making __stack_prot writable.
55611 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
55612             Joseph Myers  <joseph@codesourcery.com>
55614         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55615         as being properly aligned.
55617 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
55619         * dlfcn/modstatic5.c: New file.
55620         * dlfcn/tststatic5.c: New file.
55621         * dlfcn/Makefile (tests): Add tststatic5.
55622         (tests-static): Likewise.
55623         (modules-names): Add modstatic5.
55624         (tststatic5-ENV): New variable.
55625         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55627         [BZ #15022]
55628         * elf/dl-support.c (_dl_main_map): New variable.
55629         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55630         (_dl_nns, _dl_load_adds): Set to 1.
55631         (_dl_initial_searchlist): Refer to _dl_main_map.
55632         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55633         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55634         call to _dl_get_origin.
55635         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55636         around call_map.
55637         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
55638         * dlfcn/modstatic3.c: New file.
55639         * dlfcn/tststatic3.c: New file.
55640         * dlfcn/tststatic4.c: New file.
55641         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
55642         (tests-static): Likewise.
55643         (modules-names): Add modstatic3.
55644         (tststatic3-ENV, tststatic4-ENV): New variables.
55645         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
55646         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
55648 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
55650         * configure.in (CC): Require GCC version 4.4 or later.
55651         * configure: Regenerated.
55652         * manual/install.texi (Tools for Compilation): Update GCC version
55653         requirement.
55654         * INSTALL: Regenerated.
55656 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55658         [BZ #15674]
55659         * string/test-memcmp.c (check2): New.
55660         (main): Call check2.
55662         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
55664 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
55666         [BZ #15022]
55667         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
55668         over to...
55669         (dl_open_worker) [!SHARED]: ... here.
55671 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55673         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
55675 2013-06-25  Richard Henderson  <rth@redhat.com>
55677         * locale/programs/locarchive.c: Include <libc-internal.h>
55679 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
55681         * manual/texinfo.tex: Update to version 2013-06-21.17, with
55682         trailing whitespace removed.
55684 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55686         [BZ #10283]
55687         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
55688         * locale/programs/locarchive.c: Include libc-mmap.h.
55689         (prepare_address_space): Take two new outputs (the mmap base and len).
55690         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
55691         values.
55692         (create_archive): Declare new mmap base and len values for
55693         prepare_address_space, and store the result in ah.
55694         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
55695         (enlarge_archive): If ah->mmap_base is not NULL, use that and
55696         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55697         Declare new mmap base and len values for
55698         prepare_address_space, and store the result in new_ah.
55699         (open_archive): Declare new mmap base and len values for
55700         prepare_address_space, and store the result in ah.
55701         (close_archive): If ah->mmap_base is not NULL, use that and
55702         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55703         * sysdeps/generic/libc-mmap.h: New file.
55705 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55707         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
55708         (ALIGN_UP): Likewise.
55709         (PTR_ALIGN_DOWN): Likewise.
55710         (PTR_ALIGN_UP): Likewise.
55712 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55714         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
55715         entry mapped to PPC_PLATFORM_POWER8.
55716         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
55717         POWER8.
55718         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
55719         (_dl_string_platform): Add case for exporting platform position for
55720         POWER8.
55721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
55722         search path to sysdeps/powerpc/powerpc32/power8 directory.
55723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
55724         search path to sysdeps/powerpc/powerpc64/power8 directory.
55725         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
55726         power7 directories.
55727         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
55728         power7 directories.
55730 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55732         * INSTALL: Regenerate.
55734         * nscd/connections.c (nscd_init): Fix comment.
55736 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
55738         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
55740         [BZ #15667]
55741         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
55742         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
55744 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55746         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
55747         DL_DST_REQ_STATIC.
55748         (DL_DST_REQ_STATIC): Remove macro.
55750 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
55752         [BZ #7006]
55753         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
55754         with a shift of 0 bits.
55756 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55758         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
55759         $(tststatic-ENV).
55761 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55763         [BZ #15655]
55764         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
55766 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55768         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
55769         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
55770         accepts -fno-tree-loop-distribute-patterns.
55771         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
55772         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
55773         recursive call.
55774         * string/memset.c (memset): Likewise.
55775         * string/test-memmove.c (simple_memmove): Disable loop transformation
55776         to library calls.
55777         * string/test-memset.c (simple_memset): Likewise.
55778         * benchtests/bench-memmove.c (simple_memmove): Likewise.
55779         * benchtests/bench-memset.c (simple_memset): Likewise.
55780         * configure: Regenerated.
55782 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
55784         * math/test-misc.c (main): Ignore fesetround failure when failures
55785         of subsequent rounding tests would be ignored.
55787         [BZ #15654]
55788         * math/fedisblxcpt.c (fedisableexcept): Return 0.
55789         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
55790         * math/fegetenv.c (__fegetenv): Return 0.
55791         * math/fegetexcept.c (fegetexcept): Return 0.
55792         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
55793         FE_TONEAREST.
55794         * math/feholdexcpt.c (feholdexcept): Return 0.
55795         * math/fesetenv.c (__fesetenv): Return 0.
55796         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
55797         argument FE_TONEAREST.
55798         * math/feupdateenv.c (__feupdateenv): Return 0.
55799         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
55801 2013-06-18  Roland McGrath  <roland@hack.frob.com>
55803         * elf/rtld-Rules (rtld-compile-command.S): New variable.
55804         (rtld-compile-command.s, rtld-compile-command.c): New variables.
55805         ($(objpfx)rtld-%.os rules): Use them.
55807 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55809         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
55810         fields.
55812 2013-06-17  Roland McGrath  <roland@hack.frob.com>
55814         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
55815         length of target pattern, then descending length of dependency pattern.
55816         * configure.in (AWK): Require gawk 3.1.2 or newer.
55817         * manual/install.texi (Tools for Compilation): Say that we do.
55818         * configure: Regenerated.
55820         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
55821         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
55822         * scripts/sysd-rules.awk: ... this new script.
55823         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
55824         than a glob-style pattern.
55826 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
55828         * math/test-misc.c (main): Do not treat incorrectly rounded
55829         conversions as failure unless ROUNDING_TESTS passes.
55831 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
55833         [BZ #15631]
55834         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
55835         restore exception state around main square root computation, then
55836         check for inexactness explicitly.
55838         * math/libm-test.inc (fma_test_data): Add another test.
55840 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55842         * manual/threads.texi (Non-POSIX Extensions): New document
55843         node.  Document pthread_getattr_default_np and
55844         pthread_setattr_default_np.
55846         * Versions.def (libpthread): Add GLIBC_2.18.
55847         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
55848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55849         Likewise.
55850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55851         Likewise.
55852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55853         Likewise.
55854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55855         Likewise.
55856         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
55857         Likewise.
55858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55859         Likewise.
55860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55861         Likewise.
55862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55863         Likewise.
55864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55865         Likewise.
55867 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55870         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
55872 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55873             H.J. Lu  <hjl.tools@gmail.com>
55875         [BZ #15627]
55876         * sysdeps/x86_64/rtld-memset.c: Remove file.
55877         * sysdeps/x86_64/rtld-memset.S: New file.
55879 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
55881         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
55882         (test_in_one_mode): Take arguments for whether the rounding mode
55883         is supported for each floating-point type.
55884         (do_test): Pass new arguments to test_in_one_mode using
55885         ROUNDING_TESTS.
55887 2013-06-13  Roland McGrath  <roland@hack.frob.com>
55889         * posix/tst-waitid.c (do_test): Distinguish different instances of
55890         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
55891         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
55892         before entering the kernel for waitpid.
55894 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55896         * NEWS: Fix note on clock function precision.  Text by Roland
55897         McGrath.
55899 2013-06-13  Roland McGrath  <roland@hack.frob.com>
55901         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
55902         it into place only when and if the sanity check passes.
55904 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
55906         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
55907         output for whether conversion result is exact.  Take argument
55908         indicating whether type is IBM long double.
55909         (round_for_all): Change need_exact field to ibm_ld.
55910         * stdlib/tst-strtod-round.c (struct exactness): New type.
55911         (struct test): Change bool ld_ok field to struct exactness exact.
55912         (TEST): Update all definitions for change to field.
55913         (tests): Regenerate array contents.
55914         (test_in_one_mode): Take pointer to new field instead of old ld_ok
55915         field value.  Check for IBM long double here.
55916         (do_test): Update calls to test_in_one_mode.
55918 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55920         [BZ #12515]
55921         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
55922         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
55924 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55926         [BZ #15605]
55927         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
55928         generated by the compiler on loop optimizations.
55929         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
55930         general definitions.
55932 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
55934         * math/bug-nextafter.c: Include <math-tests.h>.
55935         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55936         the relevant type.
55937         * math/bug-nexttoward.c: Include <math-tests.h>.
55938         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55939         the relevant type.
55940         * math/test-misc.c: Include <math-tests.h>.
55941         (main): Only test for exceptions if EXCEPTION_TESTS is true for
55942         the relevant type.
55944 2013-06-12  Andreas Jaeger  <aj@suse.de>
55946         * po/ia.po: Update Interlingua translation from translation
55947         project.
55949 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55951         * include/fenv.h: Include stdbool.h.
55952         (struct rm_ctx): New structure.
55953         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
55954         Define macro.
55955         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
55956         (SET_RESTORE_ROUNDF): Likewise.
55957         (SET_RESTORE_ROUNDL): Likewise.
55958         (SET_RESTORE_ROUND_NOEX): Likewise.
55959         (SET_RESTORE_ROUND_NOEXF): Likewise.
55960         (SET_RESTORE_ROUND_NOEXL): Likewise.
55961         (SET_RESTORE_ROUND_53BIT): Likewise.
55962         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
55963         (libc_feresetround_noexf_ctx): Likewise.
55964         (libc_feresetround_noexl_ctx): Likewise.
55965         (libc_feholdsetround_53bit_ctx): Likewise.
55966         (libc_feresetround_53bit_ctx): Likewise.
55967         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
55968         (libc_feholdexcept_setround_sse_ctx): New function.
55969         (libc_fesetenv_sse_ctx): Likewise.
55970         (libc_feupdateenv_sse_ctx): Likewise.
55971         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
55972         (libc_feholdexcept_setround_387_ctx): Likewise.
55973         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
55974         (libc_feholdsetround_387_prec_ctx): Likewise.
55975         (libc_feholdsetround_387_ctx): Likewise.
55976         (libc_feholdsetround_387_53bit_ctx): Likewise.
55977         (libc_feholdsetround_sse_ctx): Likewise.
55978         (libc_feresetround_sse_ctx): Likewise.
55979         (libc_feresetround_387_ctx): Likewise.
55980         (libc_feupdateenv_387_ctx): Likewise.
55981         (libc_feholdexcept_setroundf_ctx): Define macro.
55982         (libc_fesetenvf_ctx): Likewise.
55983         (libc_feupdateenvf_ctx): Likewise.
55984         (libc_feholdsetroundf_ctx): Likewise.
55985         (libc_feresetroundf_ctx): Likewise.
55986         (libc_feholdexcept_setround_ctx): Likewise.
55987         (libc_fesetenv_ctx): Likewise.
55988         (libc_feupdateenv_ctx): Likewise.
55989         (libc_feholdsetround_ctx): Likewise.
55990         (libc_feresetround_ctx): Likewise.
55991         (libc_feholdexcept_setroundl_ctx): Likewise.
55992         (libc_feupdateenvl_ctx): Likewise.
55993         (libc_feholdsetroundl_ctx): Likewise.
55994         (libc_feresetroundl_ctx): Likewise.
55995         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
55996         (libc_feresetround_53bit_ctx): Likewise.
55998 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56000         * locale/iso-639.def: Convert to UTF-8.
56002 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56004         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56005         (EXCEPTION_TESTS_double): Likewise.
56006         (EXCEPTION_TESTS_long_double): Likewise.
56007         (EXCEPTION_TESTS): Likewise.
56008         * math/libm-test.inc (test_exceptions): Only test exceptions if
56009         EXCEPTION_TESTS (FLOAT).
56011 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56013         * benchtests/Makefile (string-bench): Add strcpy_chk and
56014         stpcpy_chk.
56015         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56016         * benchtests/bench-stpcpy_chk.c: New file.
56017         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56018         * benchtests/bench-strcpy_chk.c: New file.
56019         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56020         code.
56021         (do_test): Likewise.
56023 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56025         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56026         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56027         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56028         with tabs where appropriate.
56029         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56030         dl-procinfo.h.
56031         [PPC_PLATFORM_PPC440]: Likewise.
56032         [PPC_PLATFORM_PPC464]: Likewise.
56033         [PPC_PLATFORM_PPC476]: Likewise.
56034         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56035         ppc464, and ppc476 platform strings merging from ports/
56036         dl-procinfo.h.
56038 2013-06-11  Andreas Schwab  <schwab@suse.de>
56040         [BZ #14991]
56041         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56042         (from_ucs4_idx): Regenerate.
56043         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56044         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56045         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56046         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56047         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56048         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56049         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56050         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56051         from FROM_LOOP and TO_LOOP specific macros.
56052         (BODY): Handle combining characters.
56053         * iconvdata/BIG5HKSCS.irreversible: Update.
56054         * iconvdata/BIG5HKSCS.precomposed: New file.
56055         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56056         characters.
56057         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56059 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56061         * include/sys/time.h: Fix indentation and add copyright header.
56063         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56064         (do_test): Likewise.
56065         * string/test-memchr.c (do_one_test): Likewise.
56066         (do_test): Likewise.
56067         * string/test-memcmp.c (do_one_test): Likewise.
56068         (do_test): Likewise.
56069         * string/test-memcpy.c (do_one_test): Likewise.
56070         (do_test): Likewise.
56071         * string/test-memmem.c (do_one_test): Likewise.
56072         (do_test): Likewise.
56073         (do_random_tests): Likewise.
56074         * string/test-memmove.c (do_one_test): Likewise.
56075         (do_test): Likewise.
56076         * string/test-memset.c (do_one_test): Likewise.
56077         (do_test): Likewise.
56078         * string/test-rawmemchr.c (do_one_test): Likewise.
56079         (do_test): Likewise.
56080         * string/test-strcasecmp.c (do_one_test): Likewise.
56081         (do_test): Likewise.
56082         * string/test-strcasestr.c (do_one_test): Likewise.
56083         (do_test): Likewise.
56084         * string/test-strcat.c (do_one_test): Likewise.
56085         (do_test): Likewise.
56086         * string/test-strchr.c (do_one_test): Likewise.
56087         (do_test): Likewise.
56088         * string/test-strcmp.c (do_one_test): Likewise.
56089         (do_test): Likewise.
56090         * string/test-strcpy.c (do_one_test): Likewise.
56091         (do_test): Likewise.
56092         * string/test-string.h: Likewise.
56093         (test_init): Likewise.
56094         * string/test-strlen.c (do_one_test): Likewise.
56095         (do_test): Likewise.
56096         * string/test-strncasecmp.c (do_one_test): Likewise.
56097         (do_test): Likewise.
56098         * string/test-strncat.c (do_one_test): Likewise.
56099         (do_test): Likewise.
56100         * string/test-strncmp.c (do_one_test): Likewise.
56101         (do_test_limit): Likewise.
56102         (do_test): Likewise.
56103         * string/test-strncpy.c (do_one_test): Likewise.
56104         (do_test): Likewise.
56105         * string/test-strnlen.c (do_one_test): Likewise.
56106         (do_test): Likewise.
56107         * string/test-strpbrk.c (do_one_test): Likewise.
56108         (do_test): Likewise.
56109         * string/test-strrchr.c (do_one_test): Likewise.
56110         (do_test): Likewise.
56111         * string/test-strspn.c (do_one_test): Likewise.
56112         (do_test): Likewise.
56113         * string/test-strstr.c (do_one_test): Likewise.
56114         (do_test): Likewise.
56116         * benchtests/Makefile (string-bench): Add string benchmarks.
56117         * benchtests/bench-bcopy-ifunc.c: New file.
56118         * benchtests/bench-bcopy.c: New file.
56119         * benchtests/bench-bzero-ifunc.c: New file.
56120         * benchtests/bench-bzero.c: New file.
56121         * benchtests/bench-memccpy-ifunc.c: New file.
56122         * benchtests/bench-memccpy.c: New file.
56123         * benchtests/bench-memchr-ifunc.c: New file.
56124         * benchtests/bench-memchr.c: New file.
56125         * benchtests/bench-memcmp-ifunc.c: New file.
56126         * benchtests/bench-memcmp.c: New file.
56127         * benchtests/bench-memmem-ifunc.c: New file.
56128         * benchtests/bench-memmem.c: New file.
56129         * benchtests/bench-memmove-ifunc.c: New file.
56130         * benchtests/bench-memmove.c: New file.
56131         * benchtests/bench-mempcpy-ifunc.c: New file.
56132         * benchtests/bench-mempcpy.c: New file.
56133         * benchtests/bench-memset-ifunc.c: New file.
56134         * benchtests/bench-memset.c: New file.
56135         * benchtests/bench-rawmemchr-ifunc.c: New file.
56136         * benchtests/bench-rawmemchr.c: New file.
56137         * benchtests/bench-stpcpy-ifunc.c: New file.
56138         * benchtests/bench-stpcpy.c: New file.
56139         * benchtests/bench-stpncpy-ifunc.c: New file.
56140         * benchtests/bench-stpncpy.c: New file.
56141         * benchtests/bench-strcasecmp-ifunc.c: New file.
56142         * benchtests/bench-strcasecmp.c: New file.
56143         * benchtests/bench-strcasestr-ifunc.c: New file.
56144         * benchtests/bench-strcasestr.c: New file.
56145         * benchtests/bench-strcat-ifunc.c: New file.
56146         * benchtests/bench-strcat.c: New file.
56147         * benchtests/bench-strchr-ifunc.c: New file.
56148         * benchtests/bench-strchr.c: New file.
56149         * benchtests/bench-strchrnul-ifunc.c: New file.
56150         * benchtests/bench-strchrnul.c: New file.
56151         * benchtests/bench-strcmp-ifunc.c: New file.
56152         * benchtests/bench-strcmp.c: New file.
56153         * benchtests/bench-strcpy-ifunc.c: New file.
56154         * benchtests/bench-strcpy.c: New file.
56155         * benchtests/bench-strcspn-ifunc.c: New file.
56156         * benchtests/bench-strcspn.c: New file.
56157         * benchtests/bench-strlen-ifunc.c: New file.
56158         * benchtests/bench-strlen.c: New file.
56159         * benchtests/bench-strncasecmp-ifunc.c: New file.
56160         * benchtests/bench-strncasecmp.c: New file.
56161         * benchtests/bench-strncat-ifunc.c: New file.
56162         * benchtests/bench-strncat.c: New file.
56163         * benchtests/bench-strncmp-ifunc.c: New file.
56164         * benchtests/bench-strncmp.c: New file.
56165         * benchtests/bench-strncpy-ifunc.c: New file.
56166         * benchtests/bench-strncpy.c: New file.
56167         * benchtests/bench-strnlen-ifunc.c: New file.
56168         * benchtests/bench-strnlen.c: New file.
56169         * benchtests/bench-strpbrk-ifunc.c: New file.
56170         * benchtests/bench-strpbrk.c: New file.
56171         * benchtests/bench-strrchr-ifunc.c: New file.
56172         * benchtests/bench-strrchr.c: New file.
56173         * benchtests/bench-strspn-ifunc.c: New file.
56174         * benchtests/bench-strspn.c: New file.
56175         * benchtests/bench-strstr-ifunc.c: New file.
56176         * benchtests/bench-strstr.c: New file.
56178         * benchtests/Makefile: Disable parallel execution of targets.
56179         (string-bench): Add memcpy.
56180         (benchset): New variable to store a list of benchmark sets.
56181         (bench-func): Renamed from bench.
56182         (bench-set): New target.
56183         (bench): Depend on bench-func and bench-set.
56184         * benchtests/README: Add section on benchmark sets.
56185         * benchtests/bench-memcpy-ifunc.c: New file.
56186         * benchtests/bench-memcpy.c: New file.
56187         * benchtests/bench-string.h: New file.
56189 2013-06-11  Andreas Schwab  <schwab@suse.de>
56191         [BZ #15577]
56192         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56193         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56194         values in the triple.
56195         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56196         terminator in the group key.
56198 2013-06-11  Andreas Jaeger  <aj@suse.de>
56200         * po/zh_TW.po: Update Chinese (traditional) translation from
56201         translation project.
56203 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56205         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56206         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56207         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56208         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56209         (clock_getcpuclockid): Likewise.
56210         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56211         Add weak_alias and libc_hidden_def.
56212         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56213         * rt/clock_gettime.c (clock_gettime): Rename to
56214         __clock_gettime.  Add weak_alias and libc_hidden_def.
56215         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56216         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56217         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56218         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56219         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56220         Likewise.
56221         * rt/clock_settime.c (clock_settime): Rename to
56222         __clock_settime.  Add weak_alias and libc_hidden_def.
56223         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56225 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56227         * mach/err_boot.sub: Remove trailing whitespace.
56228         * mach/err_ipc.sub: Likewise.
56229         * mach/err_mach.sub: Likewise.
56231         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56232         (ROUNDING_TESTS_double): Likewise.
56233         (ROUNDING_TESTS_long_double): Likewise.
56234         (ROUNDING_TESTS): Likewise.
56235         * math/libm-test.inc: Include <math-tests.h>.
56236         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56237         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56238         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56239         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56241 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56243         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56244         of assigning.
56246 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56248         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56249         otherwise empty TRANS lines.
56250         * sysdeps/gnu/errlist.c: Regenerated.
56252         * catgets/gencat.c (error_print): Use (void) in function
56253         definition.
56254         * crypt/crypt_util.c (__init_des): Likewise.
56255         * crypt/speeds.c (Stop): Likewise.
56256         (main): Likewise.
56257         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56258         * inet/ruserpass.c (token): Likewise.
56259         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56260         * intl/localealias.c (extend_alias_table): Likewise.
56261         * intl/plural-exp.c (init_germanic_plural): Likewise.
56262         * libio/fcloseall.c (__fcloseall): Likewise.
56263         * libio/genops.c (_IO_flush_all): Likewise.
56264         (_IO_flush_all_linebuffered): Likewise.
56265         (_IO_cleanup): Likewise.
56266         (_IO_iter_begin): Likewise.
56267         (_IO_iter_end): Likewise.
56268         (_IO_list_lock): Likewise.
56269         (_IO_list_unlock): Likewise.
56270         (_IO_list_resetlock): Likewise.
56271         * libio/getchar.c (getchar): Likewise.
56272         * libio/getchar_u.c (getchar_unlocked): Likewise.
56273         * libio/getwchar.c (getwchar): Likewise.
56274         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56275         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56276         * login/getpt.c (__getpt): Likewise.
56277         * login/tst-utmp.c (main): Likewise.
56278         * malloc/hooks.c (__malloc_check_init): Likewise.
56279         * malloc/malloc.c (__malloc_stats): Likewise.
56280         * malloc/mtrace.c (tr_break): Likewise.
56281         (mtrace): Likewise.
56282         (muntrace): Likewise.
56283         * misc/fstab.c (endfsent): Likewise.
56284         * misc/getclktck.c (__getclktck): Likewise.
56285         * misc/getdtsz.c (__getdtablesize): Likewise.
56286         * misc/gethostid.c (gethostid): Likewise.
56287         * misc/getpagesize.c (__getpagesize): Likewise.
56288         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56289         (__get_nprocs): Likewise.
56290         (__get_phys_pages): Likewise.
56291         (__get_avphys_pages): Likewise.
56292         * misc/getttyent.c (getttyent): Likewise.
56293         (setttyent): Likewise.
56294         (endttyent): Likewise.
56295         * misc/getusershell.c (getusershell): Likewise.
56296         (endusershell): Likewise.
56297         (setusershell): Likewise.
56298         (initshells): Likewise.
56299         * misc/hsearch.c (__hdestroy): Likewise.
56300         * misc/sync.c (sync): Likewise.
56301         * misc/syslog.c (closelog_internal): Likewise.
56302         (closelog): Likewise.
56303         * misc/ttyslot.c (ttyslot): Likewise.
56304         * misc/vhangup.c (vhangup): Likewise.
56305         * posix/fork.c (__fork): Likewise.
56306         * posix/getegid.c (__getegid): Likewise.
56307         * posix/geteuid.c (__geteuid): Likewise.
56308         * posix/getgid.c (__getgid): Likewise.
56309         * posix/getpid.c (__getpid): Likewise.
56310         * posix/getppid.c (__getppid): Likewise.
56311         * posix/getuid.c (__getuid): Likewise.
56312         * posix/pause.c (pause): Likewise.
56313         * posix/setpgrp.c (setpgrp): Likewise.
56314         * posix/setsid.c (__setsid): Likewise.
56315         * posix/test-vfork.c (noop): Likewise.
56316         * resolv/gethnamaddr.c (_endhtent): Likewise.
56317         (_gethtent): Likewise.
56318         (ht_endhostent): Likewise.
56319         (gethostent): Likewise.
56320         (dns_service): Likewise.
56321         * stdlib/drand48.c (drand48): Likewise.
56322         * stdlib/lrand48.c (lrand48): Likewise.
56323         * stdlib/mrand48.c (mrand48): Likewise.
56324         * stdlib/rand.c (rand): Likewise.
56325         * stdlib/random.c (__random): Likewise.
56326         * stdlib/setenv.c (clearenv): Likewise.
56327         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56328         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56329         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56330         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56331         (__get_nprocs): Likewise.
56332         (__get_phys_pages): Likewise.
56333         (__get_avphys_pages): Likewise.
56334         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56335         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56336         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56337         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56338         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56339         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56340         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56341         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56342         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56343         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56344         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56345         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56346         * sysdeps/posix/clock.c (clock): Likewise.
56347         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56348         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56349         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56350         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56351         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56353         (__get_nprocs_conf): Likewise.
56354         (__get_phys_pages): Likewise.
56355         (__get_avphys_pages): Likewise.
56356         * time/clock.c (clock): Likewise.
56357         * time/tzset.c (__tzname_max): Likewise.
56359 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56361         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56362         (__bswap_32): Do not use "register".
56363         * crypt/crypt.c (_ufc_doit_r): Likewise.
56364         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56365         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56366         * gmon/gmon.c (__monstartup): Likewise.
56367         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56368         * hurd/hurdmalloc.c (more_memory): Likewise.
56369         (malloc): Likewise.
56370         (free): Likewise.
56371         (realloc): Likewise.
56372         (malloc_fork_prepare): Likewise.
56373         (malloc_fork_parent): Likewise.
56374         (malloc_fork_child): Likewise.
56375         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56376         (_svcauth_des): Likewise.
56377         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56378         * inet/inet_net.c (inet_network): Likewise.
56379         * inet/inet_netof.c (inet_netof): Likewise.
56380         * inet/rcmd.c (__validuser2_sa): Likewise.
56381         * io/fts.c (fts_open): Likewise.
56382         (fts_load): Likewise.
56383         (fts_close): Likewise.
56384         (fts_read): Likewise.
56385         (fts_children): Likewise.
56386         (fts_build): Likewise.
56387         (fts_stat): Likewise.
56388         (fts_sort): Likewise.
56389         (fts_alloc): Likewise.
56390         (fts_lfree): Likewise.
56391         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56392         (_IO_file_xsgetn): Likewise.
56393         (_IO_file_xsgetn_mmap): Likewise.
56394         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56395         (_IO_cookie_write): Likewise.
56396         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56397         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56398         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56399         * malloc/obstack.c (_obstack_begin): Likewise.
56400         (_obstack_begin_1): Likewise.
56401         (_obstack_newchunk): Likewise.
56402         (_obstack_allocated_p): Likewise.
56403         (obstack_free): Likewise.
56404         (_obstack_memory_used): Likewise.
56405         * misc/getttyent.c (getttynam): Likewise.
56406         (getttyent): Likewise.
56407         (skip): Likewise.
56408         (value): Likewise.
56409         * misc/getusershell.c (initshells): Likewise.
56410         * misc/syslog.c (__vsyslog_chk): Likewise.
56411         * misc/ttyslot.c (ttyslot): Likewise.
56412         * nis/nis_hash.c (__nis_hash): Likewise.
56413         * posix/fnmatch_loop.c (FCT): Likewise.
56414         * posix/getconf.c (print_all): Likewise.
56415         (main): Likewise.
56416         * posix/getopt.c (exchange): Likewise.
56417         * posix/glob.c (globfree): Likewise.
56418         (prefix_array): Likewise.
56419         (__glob_pattern_type): Likewise.
56420         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56421         (NS_GET32): Likewise.
56422         (NS_PUT16): Likewise.
56423         (NS_PUT32): Likewise.
56424         * resolv/gethnamaddr.c (getanswer): Likewise.
56425         (gethostbyname2): Likewise.
56426         (gethostbyaddr): Likewise.
56427         (_gethtent): Likewise.
56428         (_gethtbyname2): Likewise.
56429         (_gethtbyaddr): Likewise.
56430         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56431         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56432         * resolv/res_init.c (__res_vinit): Likewise.
56433         (net_mask): Likewise.
56434         * resolv/res_mkquery.c (outchar): Likewise.
56435         (PRINT): Likewise.
56436         * stdio-common/printf_fp.c (outchar): Likewise.
56437         (PRINT): Likewise.
56438         * stdio-common/printf_fphex.c (outchar): Likewise.
56439         (PRINT): Likewise.
56440         * stdio-common/printf_size.c (outchar): Likewise.
56441         (PRINT): Likewise.
56442         * stdio-common/test_rdwr.c (main): Likewise.
56443         * stdio-common/tfformat.c (matches): Likewise.
56444         * stdio-common/vfprintf.c (outchar): Likewise.
56445         (printf_unknown): Likewise.
56446         (buffered_vfprintf): Likewise.
56447         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56448         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56449         (ReadFile): Likewise.
56450         * stdlib/qsort.c (SWAP): Likewise.
56451         (_quicksort): Likewise.
56452         * stdlib/setenv.c (__add_to_environ): Likewise.
56453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56454         * stdlib/strtol_l.c (__strtol_l): Likewise.
56455         * stdlib/tst-strtod.c (main): Likewise.
56456         * stdlib/tst-strtol.c (main): Likewise.
56457         * stdlib/tst-strtoll.c (main): Likewise.
56458         * string/bits/string2.h (__strcmp_cc): Likewise.
56459         (__strcmp_cg): Likewise.
56460         (__strcspn_c1): Likewise.
56461         (__strcspn_c2): Likewise.
56462         (__strcspn_c3): Likewise.
56463         (__strspn_c1): Likewise.
56464         (__strspn_c2): Likewise.
56465         (__strspn_c3): Likewise.
56466         (__strsep_1c): Likewise.
56467         (__strsep_2c): Likewise.
56468         (__strsep_3c): Likewise.
56469         * string/memccpy.c (__memccpy): Likewise.
56470         * string/stpcpy.c (__stpcpy): Likewise.
56471         * string/strcmp.c (strcmp): Likewise.
56472         * string/strrchr.c (strrchr): Likewise.
56473         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56474         Likewise.
56475         * sysdeps/mach/hurd/getcwd.c
56476         (_hurd_canonicalize_directory_name_internal): Likewise.
56477         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56478         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56479         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56480         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56481         Likewise, in both definitions.
56482         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56483         definitions.
56484         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56485         64] (__bswap_64): Likewise.
56486         * time/test_time.c (main): Likewise.
56487         * time/tzfile.c (__tzfile_read): Likewise.
56488         (__tzfile_compute): Likewise.
56489         * time/tzset.c (__tzset_parse_tz): Likewise.
56490         (tzset_internal): Likewise.
56491         (compute_change): Likewise.
56492         * wcsmbs/wcscat.c (__wcscat): Likewise.
56493         * wcsmbs/wcschr.c (wcschr): Likewise.
56494         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56495         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56496         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56497         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56498         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56499         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56500         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56501         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56502         * wcsmbs/wmemset.c (wmemset): Likewise.
56504 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56506         * scripts/config.guess: Update to version 2013-05-16.
56507         * scripts/config.sub: Update to version 2013-04-24.
56508         * scripts/install-sh: Update to version 2011-11-20.07.
56509         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56510         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56512 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56514         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56515         * elf/sln.c: Likewise.
56516         * hurd/hurd/ioctl.h: Likewise.
56517         * hurd/hurdmalloc.c: Likewise.
56518         * hurd/xattr.c: Likewise.
56519         * include/shlib-compat.h: Likewise.
56520         * inet/ruserpass.c: Likewise.
56521         * libio/iofgets_u.c: Likewise.
56522         * libio/iofgetws_u.c: Likewise.
56523         * locale/programs/ld-identification.c: Likewise.
56524         * locale/programs/ld-time.c: Likewise.
56525         * mach/msg-destroy.c: Likewise.
56526         * nss/nss_files/files-netgrp.c: Likewise.
56527         * resolv/res_data.c: Likewise.
56528         * soft-fp/op-1.h: Likewise.
56529         * soft-fp/op-2.h: Likewise.
56530         * soft-fp/op-4.h: Likewise.
56531         * soft-fp/op-common.h: Likewise.
56532         * stdio-common/printf_fphex.c: Likewise.
56533         * stdlib/strtod_l.c: Likewise.
56534         * sunrpc/rpc/clnt.h: Likewise.
56535         * sysdeps/generic/framestate.c: Likewise.
56536         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56537         * sysdeps/i386/bsd-setjmp.S: Likewise.
56538         * sysdeps/i386/__longjmp.S: Likewise.
56539         * sysdeps/i386/setjmp.S: Likewise.
56540         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56541         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56542         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56543         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56544         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56545         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56546         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56547         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56548         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56549         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56550         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56551         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56552         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56553         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56554         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56555         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56556         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56557         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56558         * sysdeps/ieee754/support.c: Likewise.
56559         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56560         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56561         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56562         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56563         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56564         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56565         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56566         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56567         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56568         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56569         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56570         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56571         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56572         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56573         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56574         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56575         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56578 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56580         * posix/transbug.c: Remove executable mode.
56582 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56584         * crypt/speeds.c: Remove trailing whitespace.
56585         * dlfcn/default.c: Likewise.
56586         * elf/ifuncdep2.c: Likewise.
56587         * elf/ifuncmain1.c: Likewise.
56588         * elf/ifuncmain1vis.c: Likewise.
56589         * elf/testobj.h: Likewise.
56590         * elf/tst-stackguard1.c: Likewise.
56591         * gmon/sys/gmon.h: Likewise.
56592         * hurd/hurdmsg.c: Likewise.
56593         * hurd/new-fd.c: Likewise.
56594         * hurd/ports-get.c: Likewise.
56595         * iconvdata/ibm1008_420.c: Likewise.
56596         * inet/tst-getni1.c: Likewise.
56597         * inet/tst-getni2.c: Likewise.
56598         * libio/ioungetc.c: Likewise.
56599         * libio/wfiledoalloc.c: Likewise.
56600         * manual/libm-err-tab.pl: Likewise.
56601         * math/w_dremf.c: Likewise.
56602         * misc/ftruncate.c: Likewise.
56603         * posix/bug-glob2.c: Likewise.
56604         * posix/tst-pcre.c: Likewise.
56605         * posix/wait4.c: Likewise.
56606         * resolv/README: Likewise.
56607         * resolv/res_debug.h: Likewise.
56608         * resolv/tst-inet_ntop.c: Likewise.
56609         * setjmp/bug269-setjmp.c: Likewise.
56610         * soft-fp/extended.h: Likewise.
56611         * soft-fp/op-1.h: Likewise.
56612         * soft-fp/op-2.h: Likewise.
56613         * soft-fp/op-4.h: Likewise.
56614         * soft-fp/op-8.h: Likewise.
56615         * soft-fp/testit.c: Likewise.
56616         * stdio-common/bug16.c: Likewise.
56617         * stdlib/random.c: Likewise.
56618         * sunrpc/rpcsvc/rquota.x: Likewise.
56619         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56620         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56621         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56622         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56623         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56624         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56625         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56626         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56627         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56628         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56629         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56630         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56631         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56632         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56633         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56634         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56635         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56636         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56637         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56638         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56639         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56640         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56641         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
56642         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56643         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56644         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56646         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56647         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56648         * sysdeps/ieee754/s_lib_version.c: Likewise.
56649         * sysdeps/mach/hurd/check_fds.c: Likewise.
56650         * sysdeps/mach/hurd/getsockname.c: Likewise.
56651         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
56652         * sysdeps/mach/hurd/recvfrom.c: Likewise.
56653         * sysdeps/powerpc/bits/link.h: Likewise.
56654         * sysdeps/powerpc/dl-procinfo.c: Likewise.
56655         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
56656         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
56657         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
56658         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56659         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56660         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
56661         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56662         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
56663         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56664         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
56665         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56666         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
56667         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56668         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56669         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56670         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56671         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56672         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56673         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56674         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56675         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
56676         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56677         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56678         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
56679         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56680         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56681         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56682         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56683         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56684         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56685         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56686         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56687         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56688         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
56689         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56690         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
56691         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56692         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
56693         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
56694         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
56695         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
56696         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
56697         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
56698         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56699         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
56700         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
56701         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56702         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
56703         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
56704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56706         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56707         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56708         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
56709         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
56710         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
56711         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56712         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
56713         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
56714         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
56715         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
56716         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
56717         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56718         * sysdeps/powerpc/sysdep.h: Likewise.
56719         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56720         * sysdeps/s390/s390-64/sub_n.S: Likewise.
56721         * sysdeps/sh/dl-trampoline.S: Likewise.
56722         * sysdeps/sh/memset.S: Likewise.
56723         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
56724         * sysdeps/sh/strlen.S: Likewise.
56725         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
56726         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
56727         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
56728         * sysdeps/sparc/sparc32/rem.S: Likewise.
56729         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
56730         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
56731         * sysdeps/sparc/sparc32/strchr.S: Likewise.
56732         * sysdeps/sparc/sparc32/udiv.S: Likewise.
56733         * sysdeps/sparc/sparc32/urem.S: Likewise.
56734         * sysdeps/sparc/sparc64/add_n.S: Likewise.
56735         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56736         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
56737         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
56738         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
56739         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
56740         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
56741         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
56742         * sysdeps/unix/bsd/times.c: Likewise.
56743         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
56744         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
56745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
56746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
56747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
56748         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
56749         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56750         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
56751         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
56752         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
56753         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
56754         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56755         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
56756         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56757         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56758         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
56759         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56760         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
56761         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
56762         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
56763         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
56764         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
56765         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56766         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
56767         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
56768         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
56769         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
56770         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56771         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
56772         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
56773         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
56774         * sysdeps/x86_64/strcspn.S: Likewise.
56776 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56778         * locale/C-translit.h: Revert #include <stdint.h> because this is a
56779         generated file.  Regenerate properly from gen-translit.pl.
56780         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
56781         locale/C-translit.h.
56783 2013-06-05  Andreas Schwab  <schwab@suse.de>
56785         [BZ #15100]
56786         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
56787         week as 6 instead of -1.
56788         * time/tst-strptime.c (day_tests): Add test case.
56790 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56792         * sysdeps/generic/math_private.h
56793         (libc_feholdexcept_setround_53bit): Replace with
56794         libc_feholdsetround_53bit.
56795         (libc_feupdateenv_53bit): Replace with
56796         libc_feresetround_53bit.
56797         (SET_RESTORE_ROUND_53BIT): Adjust.
56799 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56801         * string/test-strchrnul.c: Add copyright header.
56803         * posix/tst-getaddrinfo4.c: Increase test timeout.
56805 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
56807         [BZ #15536]
56808         * math/libm-test.inc (MAX_EXP): Remove
56809         (MIN_EXP): Define.
56810         (ulp): Use MIN_EXP - MANT_DIG.
56811         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
56813 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
56815         * po/be.po: Revert last change.
56816         * po/zh_CN.po: Likewise.
56817         * po/header.pot: Likewise.
56819 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
56821         * Makefile ($(common-objpfx)linkobj/libc.so): Define
56822         link-libc-deps to empty as target-specific variable.
56823         * Makerules (link-libc-args): New variable.
56824         (libc-for-link): Likewise.
56825         (link-libc-deps): Likewise.
56826         (lib%.so): Depend on $(link-libc-deps).  Link with
56827         $(link-libc-args).
56828         (build-module): Link with $(link-libc-args).
56829         (build-module-asneeded): Likewise.
56830         (build-module-helper-objlist): Filter out $(link-libc-deps) from
56831         list of objects.
56832         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
56833         target-specific variable.
56834         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
56835         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
56836         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
56837         libc.
56838         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
56839         libc and ld.so.
56840         ($(objpfx)libpcprofile.so): Likewise.
56841         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
56842         libc_nonshared.a.
56843         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
56844         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
56845         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
56846         $(link-libc-deps).
56847         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
56848         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
56849         * login/Makefile ($(objpfx)libutil.so): Likewise.
56850         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
56851         * math/Makefile ($(objpfx)libm.so): Likewise.
56852         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
56853         $(objpfx)libnsl.so): Define libc-for-link as target-specific
56854         variable instead of depending directly on libc.
56855         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
56856         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
56857         $(link-libc-deps).
56858         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
56859         libc.
56860         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
56861         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
56862         ($(objpfx)libanl.so): Likewise.
56863         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
56864         ld.so.
56865         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
56866         $(link-libc-deps).
56867         * sysdeps/i386/fpu/Makefile: Remove file.
56868         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
56869         ($(objpfx)libm.so): Remove dependency on ld.so.
56871 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
56873         [BZ # 15553]
56874         * nis/yp_xdr.c (XDRMAXNAME): Define.
56875         (XDRMAXRECORD): Define.
56876         (xdr_domainname): Use XDRMAXNAME.
56877         (xdr_mapname): Likewise.
56878         (xdr_peername): Likewise.
56879         (xdr_keydat): Use XDRMAXRECORD.
56880         (xdr_valdat): Likewise.
56882 2013-05-30  Jeff Law  <law@redhat.com>
56884         [BZ #14256]
56885         * manual/errno.texi (ESTALE): Update to account for more than
56886         just NFS file systems.
56887         * sysdeps/gnu/errlist.c: Regenerated.
56889 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56891         [BZ #15465]
56892         * elf/Makefile (tests): Add tst-null-argv.
56893         (modules-names):  Add tst-null-argv-lib.
56894         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
56895         (tst-null-argv-ENV): Set environment for tst-null-argv.
56896         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
56897         (RTLD_PROGNAME): New macro.
56898         * elf/tst-null-argv.c: New test case.
56899         * elf/tst-null-argv-lib.c: Library for test case.
56900         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
56901         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
56902         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
56903         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
56904         * elf/dl-init.c (call_init): Likewise.
56905         (_dl_init): Likewise.
56906         * elf/dl-load.c (print_search_path): Likewise.
56907         (_dl_map_object): Likewise.
56908         * elf/dl-lookup.c (do_lookup_x): Likewise.
56909         (add_dependency): Likewise.
56910         (_dl_lookup_symbol_x): Likewise.
56911         (_dl_debug_bindings): Likewise.
56912         * elf/dl-open.c (_dl_show_scope): Likewise.
56913         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56914         * elf/dl-version.c (match_symbol): Likewise.
56915         (_dl_check_map_versions): Likewise.
56916         * elf/rtld.c (dl_main): Likewise.
56917         (print_unresolved): Use RTLD_PROGNAME.
56918         (print_missing_version): Likewise.
56919         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
56920         (elf_machine_rela): Likewise.
56921         * sysdeps/powerpc/powerpc32/dl-machine.c
56922         (__process_machine_rela): Likewise.
56923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56924         Likewise.
56925         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56926         Likewise.
56927         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
56928         Likewise.
56929         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56930         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
56931         Likewise.
56932         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
56933         Likewise.
56934         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56936 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
56938         * po/be.po: Add descriptive title.
56939         * po/zh_CN.po: Likewise.
56940         * po/header.pot: Likewise.
56942 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
56944         * locale/programs/locarchive.c (create_archive): Inlucde fname in
56945         error message.
56946         (enlarge_archive): Likewise.
56948 2013-05-28  Ben North  <ben@redfrontdoor.org>
56950         * manual/arith.texi (frexp): It is the magnitude of the return
56951         value which lies in [0.5, 1), not the return value itself.
56953 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56957 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
56959         * stdio-common/bug26.c (main): Correct fscanf template.
56961         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
56962         declare _dl_skip_args.
56964         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
56965         Don't declare.
56967         * manual/platform.texi: Add missing @end deftypefun.
56969 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
56971         [BZ #15529]
56972         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
56973         bit of mantissa of 2^16382.
56974         * math/libm-test.inc (hypot_test_data): Add more tests.
56976         * math/libm-test.inc: Add drem and pow10 to list of tested
56977         functions.
56978         (pow10_test): New function.
56979         (drem_test): Likewise.
56980         (drem_test_tonearest): Likewise.
56981         (drem_test_towardzero): Likewise.
56982         (drem_test_downward): Likewise.
56983         (drem_test_upward): Likewise.
56984         (main): Call the new functions.
56986         * math/libm-test.inc (finite_test_data): Remove.
56987         (finite_test): Run tests from isfinite_test_data.
56988         (gamma_test_data): Remove.
56989         (gamma_test): Run tests from lgamma_test_data.
56990         * sysdeps/i386/fpu/libm-test-ulps: Update.
56991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56993 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56995         * manual/platform.texi: Add PowerPC PPR function set documentation.
56996         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
56997         implementation.
56999 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57001         * math/libm-test.inc (MAX_EXP): Define.
57002         (ULPDIFF): Define.
57003         (ulp): New function.
57004         (check_float_internal): Use ULPDIFF.
57005         (cpow_test): Disable failing test.
57006         (check_ulp): Test ulp() implementation.
57007         (main): Call check_ulp before starting tests.
57009 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57011         * math/gen-libm-test.pl (generate_testfile): Do not handle
57012         START_DATA and END_DATA.
57013         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57014         END_DATA.
57015         (acos_tonearest_test_data): Likewise.
57016         (acos_towardzero_test_data): Likewise.
57017         (acos_downward_test_data): Likewise.
57018         (acos_upward_test_data): Likewise.
57019         (acosh_test_data): Likewise.
57020         (asin_test_data): Likewise.
57021         (asin_tonearest_test_data): Likewise.
57022         (asin_towardzero_test_data): Likewise.
57023         (asin_downward_test_data): Likewise.
57024         (asin_upward_test_data): Likewise.
57025         (asinh_test_data): Likewise.
57026         (atan_test_data): Likewise.
57027         (atanh_test_data): Likewise.
57028         (atan2_test_data): Likewise.
57029         (cabs_test_data): Likewise.
57030         (cacos_test_data): Likewise.
57031         (cacosh_test_data): Likewise.
57032         (carg_test_data): Likewise.
57033         (casin_test_data): Likewise.
57034         (casinh_test_data): Likewise.
57035         (catan_test_data): Likewise.
57036         (catanh_test_data): Likewise.
57037         (cbrt_test_data): Likewise.
57038         (ccos_test_data): Likewise.
57039         (ccosh_test_data): Likewise.
57040         (ceil_test_data): Likewise.
57041         (cexp_test_data): Likewise.
57042         (cimag_test_data): Likewise.
57043         (clog_test_data): Likewise.
57044         (clog10_test_data): Likewise.
57045         (conj_test_data): Likewise.
57046         (copysign_test_data): Likewise.
57047         (cos_test_data): Likewise.
57048         (cos_tonearest_test_data): Likewise.
57049         (cos_towardzero_test_data): Likewise.
57050         (cos_downward_test_data): Likewise.
57051         (cos_upward_test_data): Likewise.
57052         (cosh_test_data): Likewise.
57053         (cosh_tonearest_test_data): Likewise.
57054         (cosh_towardzero_test_data): Likewise.
57055         (cosh_downward_test_data): Likewise.
57056         (cosh_upward_test_data): Likewise.
57057         (cpow_test_data): Likewise.
57058         (cproj_test_data): Likewise.
57059         (creal_test_data): Likewise.
57060         (csin_test_data): Likewise.
57061         (csinh_test_data): Likewise.
57062         (csqrt_test_data): Likewise.
57063         (ctan_test_data): Likewise.
57064         (ctan_tonearest_test_data): Likewise.
57065         (ctan_towardzero_test_data): Likewise.
57066         (ctan_downward_test_data): Likewise.
57067         (ctan_upward_test_data): Likewise.
57068         (ctanh_test_data): Likewise.
57069         (ctanh_tonearest_test_data): Likewise.
57070         (ctanh_towardzero_test_data): Likewise.
57071         (ctanh_downward_test_data): Likewise.
57072         (ctanh_upward_test_data): Likewise.
57073         (erf_test_data): Likewise.
57074         (erfc_test_data): Likewise.
57075         (exp_test_data): Likewise.
57076         (exp_tonearest_test_data): Likewise.
57077         (exp_towardzero_test_data): Likewise.
57078         (exp_downward_test_data): Likewise.
57079         (exp_upward_test_data): Likewise.
57080         (exp10_test_data): Likewise.
57081         (exp2_test_data): Likewise.
57082         (expm1_test_data): Likewise.
57083         (fabs_test_data): Likewise.
57084         (fdim_test_data): Likewise.
57085         (finite_test_data): Likewise.
57086         (floor_test_data): Likewise.
57087         (fma_test_data): Likewise.
57088         (fma_towardzero_test_data): Likewise.
57089         (fma_downward_test_data): Likewise.
57090         (fma_upward_test_data): Likewise.
57091         (fmax_test_data): Likewise.
57092         (fmin_test_data): Likewise.
57093         (fmod_test_data): Likewise.
57094         (fpclassify_test_data): Likewise.
57095         (frexp_test_data): Likewise.
57096         (gamma_test_data): Likewise.
57097         (hypot_test_data): Likewise.
57098         (ilogb_test_data): Likewise.
57099         (isfinite_test_data): Likewise.
57100         (isgreater_test_data): Likewise.
57101         (isgreaterequal_test_data): Likewise.
57102         (isinf_test_data): Likewise.
57103         (isless_test_data): Likewise.
57104         (islessequal_test_data): Likewise.
57105         (islessgreater_test_data): Likewise.
57106         (isnan_test_data): Likewise.
57107         (isnormal_test_data): Likewise.
57108         (issignaling_test_data): Likewise.
57109         (isunordered_test_data): Likewise.
57110         (j0_test_data): Likewise.
57111         (j1_test_data): Likewise.
57112         (jn_test_data): Likewise.
57113         (ldexp_test_data): Likewise.
57114         (lgamma_test_data): Likewise.
57115         (lrint_test_data): Likewise.
57116         (lrint_tonearest_test_data): Likewise.
57117         (lrint_towardzero_test_data): Likewise.
57118         (lrint_downward_test_data): Likewise.
57119         (lrint_upward_test_data): Likewise.
57120         (llrint_test_data): Likewise.
57121         (llrint_tonearest_test_data): Likewise.
57122         (llrint_towardzero_test_data): Likewise.
57123         (llrint_downward_test_data): Likewise.
57124         (llrint_upward_test_data): Likewise.
57125         (log_test_data): Likewise.
57126         (log10_test_data): Likewise.
57127         (log1p_test_data): Likewise.
57128         (log2_test_data): Likewise.
57129         (logb_test_data): Likewise.
57130         (logb_downward_test_data): Likewise.
57131         (lround_test_data): Likewise.
57132         (llround_test_data): Likewise.
57133         (modf_test_data): Likewise.
57134         (nearbyint_test_data): Likewise.
57135         (nextafter_test_data): Likewise.
57136         (nexttoward_test_data): Likewise.
57137         (pow_test_data): Likewise.
57138         (pow_tonearest_test_data): Likewise.
57139         (pow_towardzero_test_data): Likewise.
57140         (pow_downward_test_data): Likewise.
57141         (pow_upward_test_data): Likewise.
57142         (remainder_test_data): Likewise.
57143         (remainder_tonearest_test_data): Likewise.
57144         (remainder_towardzero_test_data): Likewise.
57145         (remainder_downward_test_data): Likewise.
57146         (remainder_upward_test_data): Likewise.
57147         (remquo_test_data): Likewise.
57148         (rint_test_data): Likewise.
57149         (rint_tonearest_test_data): Likewise.
57150         (rint_towardzero_test_data): Likewise.
57151         (rint_downward_test_data): Likewise.
57152         (rint_upward_test_data): Likewise.
57153         (round_test_data): Likewise.
57154         (scalb_test_data): Likewise.
57155         (scalbn_test_data): Likewise.
57156         (scalbln_test_data): Likewise.
57157         (signbit_test_data): Likewise.
57158         (sin_test_data): Likewise.
57159         (sin_tonearest_test_data): Likewise.
57160         (sin_towardzero_test_data): Likewise.
57161         (sin_downward_test_data): Likewise.
57162         (sin_upward_test_data): Likewise.
57163         (sincos_test_data): Likewise.
57164         (sinh_test_data): Likewise.
57165         (sinh_tonearest_test_data): Likewise.
57166         (sinh_towardzero_test_data): Likewise.
57167         (sinh_downward_test_data): Likewise.
57168         (sinh_upward_test_data): Likewise.
57169         (sqrt_test_data): Likewise.
57170         (tan_test_data): Likewise.
57171         (tan_tonearest_test_data): Likewise.
57172         (tan_towardzero_test_data): Likewise.
57173         (tan_downward_test_data): Likewise.
57174         (tan_upward_test_data): Likewise.
57175         (tanh_test_data): Likewise.
57176         (tgamma_test_data): Likewise.
57177         (trunc_test_data): Likewise.
57178         (y0_test_data): Likewise.
57179         (y1_test_data): Likewise.
57180         (yn_test_data): Likewise.
57181         (significand_test_data): Likewise.
57183         * math/gen-libm-test.pl (@functions): Remove variable.
57184         (generate_testfile): Don't handle START and END lines.
57185         * math/libm-test.inc (START): New macro.
57186         (END): Likewise.
57187         (END_COMPLEX): Likewise.
57188         (acos_test): Use END macro without arguments.
57189         (acos_test_tonearest): Likewise.
57190         (acos_test_towardzero): Likewise.
57191         (acos_test_downward): Likewise.
57192         (acos_test_upward): Likewise.
57193         (acosh_test): Likewise.
57194         (asin_test): Likewise.
57195         (asin_test_tonearest): Likewise.
57196         (asin_test_towardzero): Likewise.
57197         (asin_test_downward): Likewise.
57198         (asin_test_upward): Likewise.
57199         (asinh_test): Likewise.
57200         (atan_test): Likewise.
57201         (atanh_test): Likewise.
57202         (atan2_test): Likewise.
57203         (cabs_test): Likewise.
57204         (cacos_test): Use END_COMPLEX macro without arguments.
57205         (cacosh_test): Likewise.
57206         (carg_test): Use END macro without arguments.
57207         (casin_test): Use END_COMPLEX macro without arguments.
57208         (casinh_test): Likewise.
57209         (catan_test): Likewise.
57210         (catanh_test): Likewise.
57211         (cbrt_test): Use END macro without arguments.
57212         (ccos_test): Use END_COMPLEX macro without arguments.
57213         (ccosh_test): Likewise.
57214         (ceil_test): Use END macro without arguments.
57215         (cexp_test): Use END_COMPLEX macro without arguments.
57216         (cimag_test): Use END macro without arguments.
57217         (clog_test): Use END_COMPLEX macro without arguments.
57218         (clog10_test): Likewise.
57219         (conj_test): Likewise.
57220         (copysign_test): Use END macro without arguments.
57221         (cos_test): Likewise.
57222         (cos_test_tonearest): Likewise.
57223         (cos_test_towardzero): Likewise.
57224         (cos_test_downward): Likewise.
57225         (cos_test_upward): Likewise.
57226         (cosh_test): Likewise.
57227         (cosh_test_tonearest): Likewise.
57228         (cosh_test_towardzero): Likewise.
57229         (cosh_test_downward): Likewise.
57230         (cosh_test_upward): Likewise.
57231         (cpow_test): Use END_COMPLEX macro without arguments.
57232         (cproj_test): Likewise.
57233         (creal_test): Use END macro without arguments.
57234         (csin_test): Use END_COMPLEX macro without arguments.
57235         (csinh_test): Likewise.
57236         (csqrt_test): Likewise.
57237         (ctan_test): Likewise.
57238         (ctan_test_tonearest): Likewise.
57239         (ctan_test_towardzero): Likewise.
57240         (ctan_test_downward): Likewise.
57241         (ctan_test_upward): Likewise.
57242         (ctanh_test): Likewise.
57243         (ctanh_test_tonearest): Likewise.
57244         (ctanh_test_towardzero): Likewise.
57245         (ctanh_test_downward): Likewise.
57246         (ctanh_test_upward): Likewise.
57247         (erf_test): Use END macro without arguments.
57248         (erfc_test): Likewise.
57249         (exp_test): Likewise.
57250         (exp_test_tonearest): Likewise.
57251         (exp_test_towardzero): Likewise.
57252         (exp_test_downward): Likewise.
57253         (exp_test_upward): Likewise.
57254         (exp10_test): Likewise.
57255         (exp2_test): Likewise.
57256         (expm1_test): Likewise.
57257         (fabs_test): Likewise.
57258         (fdim_test): Likewise.
57259         (finite_test): Likewise.
57260         (floor_test): Likewise.
57261         (fma_test): Likewise.
57262         (fma_test_towardzero): Likewise.
57263         (fma_test_downward): Likewise.
57264         (fma_test_upward): Likewise.
57265         (fmax_test): Likewise.
57266         (fmin_test): Likewise.
57267         (fmod_test): Likewise.
57268         (fpclassify_test): Likewise.
57269         (frexp_test): Likewise.
57270         (gamma_test): Likewise.
57271         (hypot_test): Likewise.
57272         (ilogb_test): Likewise.
57273         (isfinite_test): Likewise.
57274         (isgreater_test): Likewise.
57275         (isgreaterequal_test): Likewise.
57276         (isinf_test): Likewise.
57277         (isless_test): Likewise.
57278         (islessequal_test): Likewise.
57279         (islessgreater_test): Likewise.
57280         (isnan_test): Likewise.
57281         (isnormal_test): Likewise.
57282         (issignaling_test): Likewise.
57283         (isunordered_test): Likewise.
57284         (j0_test): Likewise.
57285         (j1_test): Likewise.
57286         (jn_test): Likewise.
57287         (ldexp_test): Likewise.
57288         (lgamma_test): Likewise.
57289         (lrint_test): Likewise.
57290         (lrint_test_tonearest): Likewise.
57291         (lrint_test_towardzero): Likewise.
57292         (lrint_test_downward): Likewise.
57293         (lrint_test_upward): Likewise.
57294         (llrint_test): Likewise.
57295         (llrint_test_tonearest): Likewise.
57296         (llrint_test_towardzero): Likewise.
57297         (llrint_test_downward): Likewise.
57298         (llrint_test_upward): Likewise.
57299         (log_test): Likewise.
57300         (log10_test): Likewise.
57301         (log1p_test): Likewise.
57302         (log2_test): Likewise.
57303         (logb_test): Likewise.
57304         (logb_test_downward): Likewise.
57305         (lround_test): Likewise.
57306         (llround_test): Likewise.
57307         (modf_test): Likewise.
57308         (nearbyint_test): Likewise.
57309         (nextafter_test): Likewise.
57310         (nexttoward_test): Likewise.
57311         (pow_test): Likewise.
57312         (pow_test_tonearest): Likewise.
57313         (pow_test_towardzero): Likewise.
57314         (pow_test_downward): Likewise.
57315         (pow_test_upward): Likewise.
57316         (remainder_test): Likewise.
57317         (remainder_test_tonearest): Likewise.
57318         (remainder_test_towardzero): Likewise.
57319         (remainder_test_downward): Likewise.
57320         (remainder_test_upward): Likewise.
57321         (remquo_test): Likewise.
57322         (rint_test): Likewise.
57323         (rint_test_tonearest): Likewise.
57324         (rint_test_towardzero): Likewise.
57325         (rint_test_downward): Likewise.
57326         (rint_test_upward): Likewise.
57327         (round_test): Likewise.
57328         (scalb_test): Likewise.
57329         (scalbn_test): Likewise.
57330         (scalbln_test): Likewise.
57331         (signbit_test): Likewise.
57332         (sin_test): Likewise.
57333         (sin_test_tonearest): Likewise.
57334         (sin_test_towardzero): Likewise.
57335         (sin_test_downward): Likewise.
57336         (sin_test_upward): Likewise.
57337         (sincos_test): Likewise.
57338         (sinh_test): Likewise.
57339         (sinh_test_tonearest): Likewise.
57340         (sinh_test_towardzero): Likewise.
57341         (sinh_test_downward): Likewise.
57342         (sinh_test_upward): Likewise.
57343         (sqrt_test): Likewise.
57344         (tan_test): Likewise.
57345         (tan_test_tonearest): Likewise.
57346         (tan_test_towardzero): Likewise.
57347         (tan_test_downward): Likewise.
57348         (tan_test_upward): Likewise.
57349         (tanh_test): Likewise.
57350         (tgamma_test): Likewise.
57351         (trunc_test): Likewise.
57352         (y0_test): Likewise.
57353         (y1_test): Likewise.
57354         (yn_test): Likewise.
57355         (significand_test): Likewise.
57357 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57359         [BZ #15381]
57360         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57362 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57364         [BZ #14894]
57365         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57366         __ppc_mdoio and __ppc_mdoom.
57367         * manual/platform.texi: Document new functions __ppc_yield,
57368         __ppc_mdoio and __ppc_mdoom.
57370 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57372         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57373         (main): Mention "tls" pseudo-hwcap is legacy.
57374         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57376 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57378         * math/gen-libm-test.pl (parse_args): Output only string of
57379         arguments as text for test name, not full call or descriptions of
57380         tests for extra outputs.
57381         (generate_testfile): Do not pass function name to parse_args.
57382         Generate this_func variable from START.
57383         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57384         field to arg_str.
57385         (struct test_ff_f_data): Likewise.
57386         (test_ff_f_data_nexttoward): Likewise.
57387         (struct test_fi_f_data): Likewise.
57388         (struct test_fl_f_data): Likewise.
57389         (struct test_if_f_data): Likewise.
57390         (struct test_fff_f_data): Likewise.
57391         (struct test_c_f_data): Likewise.
57392         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57393         (struct test_fF_f1_data): Likewise.
57394         (struct test_ffI_f1_data): Likewise.
57395         (struct test_c_c_data): Rename test_name field to arg_str.
57396         (struct test_cc_c_data): Likewise.
57397         (struct test_f_i_data): Likewise.
57398         (struct test_ff_i_data): Likewise.
57399         (struct test_f_l_data): Likewise.
57400         (struct test_f_L_data): Likewise.
57401         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57402         and extra2_name.
57403         (COMMON_TEST_SETUP): New macro.
57404         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57405         (COMMON_TEST_CLEANUP): Likewise.
57406         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57407         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57408         macros.
57409         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57410         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57411         macros.
57412         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57413         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57414         cleanup macros.
57415         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57416         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57417         macros.
57418         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57419         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57420         macros.
57421         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57422         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57423         cleanup macros.
57424         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57425         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57426         cleanup macros.
57427         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57428         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57429         cleanup macros.
57430         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57431         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57432         macros.
57433         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57434         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57435         macros.
57436         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57437         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57438         macros.
57439         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57440         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57441         cleanup macros.
57442         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57443         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57444         cleanup macros.
57445         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57446         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57447         macros.
57448         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57449         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57450         cleanup macros.
57451         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57452         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57453         macros.
57454         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57455         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57456         macros.
57457         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57458         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57459         cleanup macros.
57460         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57462 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57464         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57465         to _sifields.sigfault.
57466         (si_addr_lsb): Define new macro.
57467         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57468         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57469         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57471 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57473         [BZ #15441]
57474         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57475         returns -1.
57476         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57477         null return -1.
57478         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57479         loading the domain.
57481 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57483         * math/gen-libm-test.pl (parse_args): Do not include expected
57484         result in test name.
57485         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57486         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57487         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57488         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57489         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57492 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57494         * benchtests/Makefile: Sort function entries.
57496         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57497         tanh, asinh, acosh, atanh.
57498         * benchtests/acos-inputs: New file.
57499         * benchtests/acosh-inputs: New file.
57500         * benchtests/asin-inputs: New file.
57501         * benchtests/asinh-inputs: New file.
57502         * benchtests/atanh-inputs: New file.
57503         * benchtests/cosh-inputs: New file.
57504         * benchtests/log-inputs: New file.
57505         * benchtests/sinh-inputs: New file.
57506         * benchtests/tanh-inputs: New file.
57508 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57510         [BZ #15339]
57511         * posix/tst-getaddrinfo4.c: New test.
57512         * posix/Makefile (tests): Add it.
57514 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57516         [BZ #15339]
57517         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57518         when no services were used.
57519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57520         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57522 2013-05-21  Andreas Schwab  <schwab@suse.de>
57524         [BZ #15014]
57525         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57526         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57527         successful.
57528         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57529         redundant variable declarations and reallocation of buffer when
57530         parsing as IPv6 address.  Always set NSS status when called from
57531         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57532         buffer too small.  Correct computation of needed size.
57533         * nss/Makefile (tests): Add test-digits-dots.
57534         * nss/test-digits-dots.c: New test.
57536 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57538         * benchtests/Makefile: Remove instructions for adding
57539         benchmark tests.
57540         * benchtests/README: New file to explain how to execute and
57541         enhance the benchmark tests.
57543 2013-05-21  Andreas Schwab  <schwab@suse.de>
57545         [BZ #15493]
57546         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57547         * setjmp/tst-sigsetjmp.c: New test.
57549 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57551         * sysdeps/x86_64/memset.S (memset): New implementation.
57552         (__bzero): Likewise.
57553         (__memset_tail): New function.
57555 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57557         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57558         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57559         __memcpy_sse2_unaligned ifunc selection.
57560         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57561         Add memcpy-sse2-unaligned.S.
57562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57563         Add: __memcpy_sse2_unaligned.
57565 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57567         [BZ #15490]
57568         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57569         math_force_eval before restoring floating-point envrionment.
57570         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57571         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57572         Likewise.
57573         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57574         <math_private.h>.
57575         (__nearbyintl): Use math_force_eval before restoring
57576         floating-point environment.
57577         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57579         * math/gen-libm-test.pl (special_functions): Remove.
57580         (parse_args): Don't handle TEST_extra.  Handle functions with no
57581         return value.
57582         * math/libm-test.inc (struct test_sincos_data): Replace with
57583         struct test_fFF_11_data.
57584         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57585         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57586         (sincos_test_data): Change element type to struct
57587         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57588         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57589         RUN_TEST_LOOP_sincos.
57590         * math/README.libm-test: Don't mention special handling of
57591         individual functions.
57592         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57593         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57594         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57595         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57596         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57599         * math/gen-libm-test.pl (get_variable): Remove function.
57600         (parse_args): Don't show pointer parameters to call in test
57601         names.  Use "extra output N" in test names for extra outputs
57602         rather than naming variables.
57604 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57606         [BZ #15488]
57607         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57608         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57609         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57610         double tests.
57611         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57612         disable.
57613         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57614         check_long_double.
57616         * math/gen-libm-test.pl (@tests): Remove variable.
57617         ($count): Likewise.
57618         (new_test): Remove function.
57619         (show_exceptions): New function.
57620         (special_functions): Use show_exceptions instead of new_test.
57621         (parse_args): Likewise.
57622         (generate_testfile): Pass only function name in generated call to
57623         print_max_error or print_complex_max_error.
57624         (get_ulps): Do not handle complex tests specially.
57625         (output_test): Rename to ...
57626         (get_all_ulps_for_test): ... this.  Return a string rather than
57627         printing to a file.  Require ulps to be present.
57628         (output_ulps): Generate arrays rather than #defines.
57629         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57630         (struct ulp_data): New type.
57631         (BUILD_COMPLEX_ULP): Remove macro.
57632         (compare_ulp_data): New function.
57633         (find_ulps): Likewise.
57634         (find_test_ulps): Likewise.
57635         (find_function_ulps): Likewise.
57636         (find_complex_function_ulps): Likewise.
57637         (print_max_error): Determine allowed ulps using
57638         find_function_ulps.
57639         (print_complex_max_error): Determine allowed ulps using
57640         find_complex_function_ulps.
57641         (check_float_internal): Determine max ulps using find_test_ulps.
57642         (check_float): Do not take max_ulp parameter.  Update call to
57643         check_float_internal.
57644         (check_complex): Likewise.
57645         (check_int): Do not take max_ulp parameter.
57646         (check_long): Likewise.
57647         (check_bool): Likewise.
57648         (check_longlong): Likewise.
57649         (struct test_f_f_data): Remove max_ulp field.
57650         (struct test_ff_f_data): Likewise.
57651         (struct test_ff_f_data_nexttoward): Likewise.
57652         (struct test_fi_f_data): Likewise.
57653         (struct test_fl_f_data): Likewise.
57654         (struct test_if_f_data): Likewise.
57655         (struct test_fff_f_data): Likewise.
57656         (struct test_c_f_data): Likewise.
57657         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
57658         (struct test_fF_f1_data): Likewise.
57659         (struct test_ffI_f1_data): Likewise.
57660         (struct test_c_c_data): Remove max_ulp field.
57661         (struct test_cc_c_data): Likewise.
57662         (struct test_f_i_data): Likewise.
57663         (struct test_ff_i_data): Likewise.
57664         (struct test_f_l_data): Likewise.
57665         (struct test_f_L_data): Likewise.
57666         (struct test_sincos_data): Likewise.
57667         (RUN_TEST_f_f): Do not handle ulps.
57668         (RUN_TEST_LOOP_f_f): Likewise.
57669         (RUN_TEST_2_f): Likewise.
57670         (RUN_TEST_LOOP_2_f): Likewise.
57671         (RUN_TEST_fff_f): Likewise.
57672         (RUN_TEST_LOOP_fff_f): Likewise.
57673         (RUN_TEST_c_f): Likewise.
57674         (RUN_TEST_LOOP_c_f): Likewise.
57675         (RUN_TEST_f_f1): Likewise.
57676         (RUN_TEST_LOOP_f_f1): Likewise.
57677         (RUN_TEST_fF_f1): Likewise.
57678         (RUN_TEST_LOOP_fF_f1): Likewise.
57679         (RUN_TEST_fI_f1): Likewise.
57680         (RUN_TEST_LOOP_fI_f1): Likewise.
57681         (RUN_TEST_ffI_f1): Likewise.
57682         (RUN_TEST_LOOP_ffI_f1): Likewise.
57683         (RUN_TEST_c_c): Likewise.
57684         (RUN_TEST_LOOP_c_c): Likewise.
57685         (RUN_TEST_cc_c): Likewise.
57686         (RUN_TEST_LOOP_cc_c): Likewise.
57687         (RUN_TEST_f_i): Likewise.
57688         (RUN_TEST_LOOP_f_i): Likewise.
57689         (RUN_TEST_f_i_tg): Likewise.
57690         (RUN_TEST_LOOP_f_i_tg): Likewise.
57691         (RUN_TEST_ff_i_tg): Likewise.
57692         (RUN_TEST_LOOP_ff_i_tg): Likewise.
57693         (RUN_TEST_f_b): Likewise.
57694         (RUN_TEST_LOOP_f_b): Likewise.
57695         (RUN_TEST_f_b_tg): Likewise.
57696         (RUN_TEST_LOOP_f_b_tg): Likewise.
57697         (RUN_TEST_f_l): Likewise.
57698         (RUN_TEST_LOOP_f_l): Likewise.
57699         (RUN_TEST_f_L): Likewise.
57700         (RUN_TEST_LOOP_f_L): Likewise.
57701         (RUN_TEST_sincos): Likewise.
57702         (RUN_TEST_LOOP_sincos): Likewise.
57704 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
57706         [BZ #15480]
57707         [BZ #15485]
57708         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
57709         main case of finite arguments, set rounding mode to FE_TONEAREST
57710         and discard exceptions.
57711         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
57712         exceptions.
57713         (remainder_tonearest_test_data): New variable.
57714         (remainder_test_tonearest): New function.
57715         (remainder_towardzero_test_data): New variable.
57716         (remainder_test_towardzero): New function.
57717         (remainder_downward_test_data): New variable.
57718         (remainder_test_downward): New function.
57719         (remainder_upward_test_data): New variable.
57720         (remainder_test_upward): New function.
57721         (main): Call the new test functions.
57723         * math/libm-test.inc (struct test_f_f1_data): Remove field
57724         extra_init.
57725         (struct test_fF_f1_data): Likewise.
57726         (struct test_ffI_f1_data): Likewise.
57727         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
57728         based on value of EXTRA_EXPECTED.
57729         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57730         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
57731         EXTRA_VAR based on value of EXTRA_EXPECTED.
57732         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57733         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
57734         EXTRA_VAR based on value of EXTRA_EXPECTED.
57735         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57736         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
57737         EXTRA_VAR based on value of EXTRA_EXPECTED.
57738         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57739         * math/gen-libm-test.pl (parse_args): Don't output initializers
57740         for extra output values.
57742         * math/libm-test.inc (check_int): Expect result to be exactly
57743         equal to expected value and do not handle ulps.
57744         (check_long): Likewise.
57745         (check_longlong): Likewise.
57747         * math/libm-test.inc (ceil_test_data): Test for "inexact"
57748         exceptions.
57749         (cimag_test_data): Likewise.
57750         (conj_test_data): Likewise.
57751         (copysign_test_data): Likewise.
57752         (cproj_test_data): Likewise.
57753         (creal_test_data): Likewise.
57754         (fabs_test_data): Likewise.
57755         (fdim_test_data): Likewise.
57756         (finite_test_data): Likewise.
57757         (floor_test_data): Likewise.
57758         (fmax_test_data): Likewise.
57759         (fmin_test_data): Likewise.
57760         (fmod_test_data): Likewise.
57761         (fpclassify_test_data): Likewise.
57762         (frexp_test_data): Likewise.
57763         (ilogb_test_data): Likewise.
57764         (isfinite_test_data): Likewise.
57765         (isgreater_test_data): Likewise.
57766         (isgreaterequal_test_data): Likewise.
57767         (isinf_test_data): Likewise.
57768         (isless_test_data): Likewise.
57769         (islessequal_test_data): Likewise.
57770         (islessgreater_test_data): Likewise.
57771         (isnan_test_data): Likewise.
57772         (isnormal_test_data): Likewise.
57773         (issignaling_test_data): Likewise.
57774         (isunordered_test_data): Likewise.
57775         (ldexp_test_data): Likewise.
57776         (lrint_test_data): Likewise.
57777         (lrint_test_data) [TEST_FLOAT]: Disable one test.
57778         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
57779         (lrint_tonearest_test_data): Test for "inexact" exceptions.
57780         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57781         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
57782         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57783         test input.
57784         (lrint_towardzero_test_data): Test for "inexact" exceptions.
57785         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57786         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
57787         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
57788         that test input.
57789         (lrint_downward_test_data): Test for "inexact" exceptions.
57790         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57791         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
57792         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57793         test input.
57794         (lrint_upward_test_data): Test for "inexact" exceptions.
57795         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
57796         test input.
57797         (llrint_test_data): Test for "inexact" exceptions.
57798         (llrint_test_data) [TEST_FLOAT]: Disable one test.
57799         (llrint_tonearest_test_data): Test for "inexact" exceptions.
57800         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57801         (llrint_towardzero_test_data): Test for "inexact" exceptions.
57802         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57803         (llrint_downward_test_data): Test for "inexact" exceptions.
57804         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57805         (llrint_upward_test_data): Test for "inexact" exceptions.
57806         (logb_test_data): Likewise.
57807         (logb_downward_test_data): Likewise.
57808         (nextafter_test_data): Likewise.
57809         (nexttoward_test_data): Likewise.
57810         (remainder_test_data): Likewise.
57811         (remquo_test_data): Likewise.
57812         (scalbn_test_data): Likewise.
57813         (scalbln_test_data): Likewise.
57814         (signbit_test_data): Likewise.
57815         (sqrt_test_data): Likewise.
57816         (significand_test_data): Likewise.
57818 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57820         [BZ #15424]
57821         * benchtests/bench-modf.c (struct args): Mark arg0 as
57822         volatile.
57823         * scripts/bench.pl: Mark members of struct args as volatile.
57825 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57827         [BZ # 15497]
57828         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
57829         negative infinity on POWER6 or lower.
57830         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
57832 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
57834         [BZ #15442]
57835         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
57836         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
57837         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
57838         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
57839         (_FP_SETQNAN): New macro.
57840         (_FP_SETQNAN_SEMIRAW): Likewise.
57841         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
57842         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
57843         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
57844         (FP_EXTEND): Use _FP_FRAC_SNANP.
57845         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
57846         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
57847         into account.
57848         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57849         New macro.
57850         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57851         Likewise.
57853 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57855         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
57856         with DIVIDE_BY_ZERO_EXCEPTION.
57857         (gamma_test_data): Likewise.
57858         (lgamma_test_data): Likewise.
57859         (log_test_data): Likewise.
57860         (log10_test_data): Likewise.
57861         (log2_test_data): Likewise.
57862         (tgamma_test_data): Likewise.
57864         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
57865         (acos_test_tonearest): Likewise.
57866         (acos_test_towardzero): Likewise.
57867         (acos_test_downward): Likewise.
57868         (acos_test_upward): Likewise.
57869         (acosh_test): Likewise.
57870         (asin_test): Likewise.
57871         (asin_test_tonearest): Likewise.
57872         (asin_test_towardzero): Likewise.
57873         (asin_test_downward): Likewise.
57874         (asin_test_upward): Likewise.
57875         (asinh_test): Likewise.
57876         (atan_test): Likewise.
57877         (atanh_test): Likewise.
57878         (atan2_test): Likewise.
57879         (cabs_test): Likewise.
57880         (cacos_test): Likewise.
57881         (cacosh_test): Likewise.
57882         (casin_test): Likewise.
57883         (casinh_test): Likewise.
57884         (catan_test): Likewise.
57885         (catanh_test): Likewise.
57886         (cbrt_test): Likewise.
57887         (ccos_test): Likewise.
57888         (ccosh_test): Likewise.
57889         (cexp_test): Likewise.
57890         (clog_test): Likewise.
57891         (clog10_test): Likewise.
57892         (cos_test): Likewise.
57893         (cos_test_tonearest): Likewise.
57894         (cos_test_towardzero): Likewise.
57895         (cos_test_downward): Likewise.
57896         (cos_test_upward): Likewise.
57897         (cosh_test): Likewise.
57898         (cosh_test_tonearest): Likewise.
57899         (cosh_test_towardzero): Likewise.
57900         (cosh_test_downward): Likewise.
57901         (cosh_test_upward): Likewise.
57902         (cpow_test): Likewise.
57903         (csin_test): Likewise.
57904         (csinh_test): Likewise.
57905         (csqrt_test): Likewise.
57906         (ctan_test): Likewise.
57907         (ctan_test_tonearest): Likewise.
57908         (ctan_test_towardzero): Likewise.
57909         (ctan_test_downward): Likewise.
57910         (ctan_test_upward): Likewise.
57911         (ctanh_test): Likewise.
57912         (ctanh_test_tonearest): Likewise.
57913         (ctanh_test_towardzero): Likewise.
57914         (ctanh_test_downward): Likewise.
57915         (ctanh_test_upward): Likewise.
57916         (erf_test): Likewise.
57917         (erfc_test): Likewise.
57918         (exp_test): Likewise.
57919         (exp_test_tonearest): Likewise.
57920         (exp_test_towardzero): Likewise.
57921         (exp_test_downward): Likewise.
57922         (exp_test_upward): Likewise.
57923         (exp10_test): Likewise.
57924         (exp2_test): Likewise.
57925         (expm1_test): Likewise.
57926         (fmod_test): Likewise.
57927         (gamma_test): Likewise.
57928         (hypot_test): Likewise.
57929         (j0_test): Likewise.
57930         (j1_test): Likewise.
57931         (jn_test): Likewise.
57932         (lgamma_test): Likewise.
57933         (log_test): Likewise.
57934         (log10_test): Likewise.
57935         (log1p_test): Likewise.
57936         (log2_test): Likewise.
57937         (logb_test_downward): Likewise.
57938         (pow_test): Likewise.
57939         (pow_test_tonearest): Likewise.
57940         (pow_test_towardzero): Likewise.
57941         (pow_test_downward): Likewise.
57942         (pow_test_upward): Likewise.
57943         (remainder_test): Likewise.
57944         (remquo_test): Likewise.
57945         (sin_test): Likewise.
57946         (sin_test_tonearest): Likewise.
57947         (sin_test_towardzero): Likewise.
57948         (sin_test_downward): Likewise.
57949         (sin_test_upward): Likewise.
57950         (sincos_test): Likewise.
57951         (sinh_test): Likewise.
57952         (sinh_test_tonearest): Likewise.
57953         (sinh_test_towardzero): Likewise.
57954         (sinh_test_downward): Likewise.
57955         (sinh_test_upward): Likewise.
57956         (sqrt_test): Likewise.
57957         (tan_test): Likewise.
57958         (tan_test_tonearest): Likewise.
57959         (tan_test_towardzero): Likewise.
57960         (tan_test_downward): Likewise.
57961         (tan_test_upward): Likewise.
57962         (tanh_test): Likewise.
57963         (tgamma_test): Likewise.
57964         (y0_test): Likewise.
57965         (y1_test): Likewise.
57966         (yn_test): Likewise.
57968         * math/gen-libm-test.pl (adjust_arg): Remove function.
57969         (special_function): Remove argument $in_func.  Only handle
57970         generating output for tables of tests, not inside functions.
57971         (parse_args): Likewise.
57972         (generate_testfile): Remove variable $in_func.  Update call to
57973         parse_args.
57974         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
57975         (MINUS_ZERO_INIT): Rename macro to minus_zero.
57976         (PLUS_INFTY_INIT): Rename macro to plus_infty.
57977         (MINUS_INFTY_INIT): Rename macro to minus_infty.
57978         (QNAN_VALUE_INIT): Rename macro to qnan_value.
57979         (MAX_VALUE_INIT): Rename macro to max_value.
57980         (MIN_VALUE_INIT): Rename macro to min_value.
57981         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
57982         (plus_zero): Remove variable.
57983         (minus_zero): Likewise.
57984         (plus_infty): Likewise.
57985         (minus_infty): Likewise.
57986         (qnan_value): Likewise.
57987         (max_value): Likewise.
57988         (min_value): Likewise.
57989         (min_subnorm_value): Likewise.
57991 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57993         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
57994         uint64_t or uint32_t usage.
57995         * crypt/sha256-block.c: Likewise.
57996         * crypt/sha256-crypt.c: Likewise.
57997         * crypt/sha256.c: Likewise.
57998         * crypt/sha512-block.c: Likewise.
57999         * crypt/sha512-crypt.c: Likewise.
58000         * crypt/sha512.c: Likewise.
58001         * debug/backtrace-tst.c: Likewise.
58002         * debug/pcprofiledump.c: Likewise.
58003         * elf/cache.c: Likewise.
58004         * elf/dl-cache.c: Likewise.
58005         * elf/dl-misc.c: Likewise.
58006         * elf/dl-profile.c: Likewise.
58007         * elf/dl-support.c: Likewise.
58008         * elf/ldconfig.c: Likewise.
58009         * elf/sprof.c: Likewise.
58010         * iconv/dummy-repertoire.c: Likewise.
58011         * iconv/iconv_charmap.c: Likewise.
58012         * iconv/skeleton.c: Likewise.
58013         * iconvdata/8bit-generic.c: Likewise.
58014         * iconvdata/cp737.h: Likewise.
58015         * iconvdata/cp775.h: Likewise.
58016         * iconvdata/ibm1008.h: Likewise.
58017         * iconvdata/ibm1025.h: Likewise.
58018         * iconvdata/ibm1046.h: Likewise.
58019         * iconvdata/ibm1097.h: Likewise.
58020         * iconvdata/ibm1112.h: Likewise.
58021         * iconvdata/ibm1122.h: Likewise.
58022         * iconvdata/ibm1123.h: Likewise.
58023         * iconvdata/ibm1124.h: Likewise.
58024         * iconvdata/ibm1129.h: Likewise.
58025         * iconvdata/ibm1130.h: Likewise.
58026         * iconvdata/ibm1132.h: Likewise.
58027         * iconvdata/ibm1133.h: Likewise.
58028         * iconvdata/ibm1137.h: Likewise.
58029         * iconvdata/ibm1140.h: Likewise.
58030         * iconvdata/ibm1141.h: Likewise.
58031         * iconvdata/ibm1142.h: Likewise.
58032         * iconvdata/ibm1143.h: Likewise.
58033         * iconvdata/ibm1144.h: Likewise.
58034         * iconvdata/ibm1145.h: Likewise.
58035         * iconvdata/ibm1146.h: Likewise.
58036         * iconvdata/ibm1147.h: Likewise.
58037         * iconvdata/ibm1148.h: Likewise.
58038         * iconvdata/ibm1149.h: Likewise.
58039         * iconvdata/ibm1153.h: Likewise.
58040         * iconvdata/ibm1154.h: Likewise.
58041         * iconvdata/ibm1155.h: Likewise.
58042         * iconvdata/ibm1156.h: Likewise.
58043         * iconvdata/ibm1157.h: Likewise.
58044         * iconvdata/ibm1158.h: Likewise.
58045         * iconvdata/ibm1160.h: Likewise.
58046         * iconvdata/ibm1161.h: Likewise.
58047         * iconvdata/ibm1162.h: Likewise.
58048         * iconvdata/ibm1163.h: Likewise.
58049         * iconvdata/ibm1164.h: Likewise.
58050         * iconvdata/ibm1166.h: Likewise.
58051         * iconvdata/ibm1167.h: Likewise.
58052         * iconvdata/ibm12712.h: Likewise.
58053         * iconvdata/ibm1390.h: Likewise.
58054         * iconvdata/ibm1399.h: Likewise.
58055         * iconvdata/ibm16804.h: Likewise.
58056         * iconvdata/ibm4517.h: Likewise.
58057         * iconvdata/ibm4899.h: Likewise.
58058         * iconvdata/ibm4909.h: Likewise.
58059         * iconvdata/ibm4971.h: Likewise.
58060         * iconvdata/ibm5347.h: Likewise.
58061         * iconvdata/ibm803.h: Likewise.
58062         * iconvdata/ibm856.h: Likewise.
58063         * iconvdata/ibm901.h: Likewise.
58064         * iconvdata/ibm902.h: Likewise.
58065         * iconvdata/ibm9030.h: Likewise.
58066         * iconvdata/ibm9066.h: Likewise.
58067         * iconvdata/ibm921.h: Likewise.
58068         * iconvdata/ibm922.h: Likewise.
58069         * iconvdata/ibm9448.h: Likewise.
58070         * iconvdata/isiri-3342.h: Likewise.
58071         * iconvdata/jis0201.h: Likewise.
58072         * include/link.h: Likewise.
58073         * include/netdb.h: Likewise.
58074         * inet/check_native.c: Likewise.
58075         * inet/check_pf.c: Likewise.
58076         * inet/getipv4sourcefilter.c: Likewise.
58077         * inet/getnameinfo.c: Likewise.
58078         * inet/getsourcefilter.c: Likewise.
58079         * inet/htonl.c: Likewise.
58080         * inet/setipv4sourcefilter.c: Likewise.
58081         * inet/setsourcefilter.c: Likewise.
58082         * inet/test-inet6_opt.c: Likewise.
58083         * inet/tst-network.c: Likewise.
58084         * locale/C-collate.c: Likewise.
58085         * locale/C-ctype.c: Likewise.
58086         * locale/C-time.c: Likewise.
58087         * locale/C-translit.h: Likewise.
58088         * locale/loadarchive.c: Likewise.
58089         * locale/programs/3level.h: Likewise.
58090         * locale/programs/charmap.c: Likewise.
58091         * locale/programs/charmap.h: Likewise.
58092         * locale/programs/ld-address.c: Likewise.
58093         * locale/programs/ld-collate.c: Likewise.
58094         * locale/programs/ld-ctype.c: Likewise.
58095         * locale/programs/ld-identification.c: Likewise.
58096         * locale/programs/ld-measurement.c: Likewise.
58097         * locale/programs/ld-messages.c: Likewise.
58098         * locale/programs/ld-monetary.c: Likewise.
58099         * locale/programs/ld-name.c: Likewise.
58100         * locale/programs/ld-numeric.c: Likewise.
58101         * locale/programs/ld-paper.c: Likewise.
58102         * locale/programs/ld-telephone.c: Likewise.
58103         * locale/programs/ld-time.c: Likewise.
58104         * locale/programs/linereader.c: Likewise.
58105         * locale/programs/locale.c: Likewise.
58106         * locale/programs/locarchive.c: Likewise.
58107         * locale/programs/locfile.h: Likewise.
58108         * locale/programs/repertoire.c: Likewise.
58109         * locale/programs/simple-hash.c: Likewise.
58110         * locale/programs/simple-hash.h: Likewise.
58111         * malloc/memusage.c: Likewise.
58112         * malloc/memusagestat.c: Likewise.
58113         * nis/nis_defaults.c: Likewise.
58114         * nis/nis_hash.c: Likewise.
58115         * nis/nis_print.c: Likewise.
58116         * nis/nis_xdr.c: Likewise.
58117         * nscd/connections.c: Likewise.
58118         * nscd/hstcache.c: Likewise.
58119         * nscd/nscd_gethst_r.c: Likewise.
58120         * nscd/nscd_getserv_r.c: Likewise.
58121         * nscd/nscd_helper.c: Likewise.
58122         * nscd/servicescache.c: Likewise.
58123         * nss/makedb.c: Likewise.
58124         * nss/nss_db/db-XXX.c: Likewise.
58125         * nss/nss_db/db-initgroups.c: Likewise.
58126         * nss/nss_db/db-netgrp.c: Likewise.
58127         * nss/nss_files/files-network.c: Likewise.
58128         * nss/nss_files/files-parse.c: Likewise.
58129         * posix/bug-regex5.c: Likewise.
58130         * posix/fnmatch_loop.c: Likewise.
58131         * posix/regcomp.c: Likewise.
58132         * posix/regexec.c: Likewise.
58133         * posix/tst-rfc3484-2.c: Likewise.
58134         * posix/tst-rfc3484-3.c: Likewise.
58135         * posix/tst-rfc3484.c: Likewise.
58136         * resolv/nss_dns/dns-canon.c: Likewise.
58137         * resolv/nss_dns/dns-network.c: Likewise.
58138         * resolv/res_init.c: Likewise.
58139         * resolv/res_mkquery.c: Likewise.
58140         * resolv/tst-aton.c: Likewise.
58141         * stdlib/cxa_atexit.c: Likewise.
58142         * stdlib/cxa_finalize.c: Likewise.
58143         * stdlib/gen-fpioconst.c: Likewise.
58144         * stdlib/strtol_l.c: Likewise.
58145         * string/tst-endian.c: Likewise.
58146         * sunrpc/auth_des.c: Likewise.
58147         * sunrpc/clnt_udp.c: Likewise.
58148         * sunrpc/rtime.c: Likewise.
58149         * sunrpc/svcauth_des.c: Likewise.
58150         * sunrpc/xdr.c: Likewise.
58151         * sunrpc/xdr_intXX_t.c: Likewise.
58152         * sunrpc/xdr_rec.c: Likewise.
58153         * sysdeps/generic/ldconfig.h: Likewise.
58154         * sysdeps/generic/ldsodefs.h: Likewise.
58155         * sysdeps/generic/memusage.h: Likewise.
58156         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58157         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58158         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58159         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58160         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58161         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58162         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58163         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58164         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58165         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58166         * sysdeps/posix/getaddrinfo.c: Likewise.
58167         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58168         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58169         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58170         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58171         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58172         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58173         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58174         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58175         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58176         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58177         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58178         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58179         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58180         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58181         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58182         * sysdeps/x86_64/dl-tls.h: Likewise.
58183         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58184         * time/alt_digit.c: Likewise.
58185         * time/era.c: Likewise.
58186         * wcsmbs/tst-c16c32-1.c: Likewise.
58188 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58190         * math/libm-test.inc (struct test_sincos_data): New type.
58191         (RUN_TEST_LOOP_sincos): New macro.
58192         (sincos_test_data): New variable.
58193         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58195 2013-05-16  Richard Henderson  <rth@redhat.com>
58197         * math/atest-exp2.c (LIMB64): New macro.
58198         (CONSTSZ): New macro.
58199         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58200         (hexdig): Move ...
58201         (print_mpn_fp): ... to function scope.
58202         (read_mpn_hex): Remove.
58203         (get_log2): Remove.
58204         (exp2_mpn): Use mp_log2.
58205         (main): Use mp_exp1.
58207 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58209         * math/libm-test.inc: Remove comment about not testing "inexact"
58210         exceptions.
58211         (INEXACT_EXCEPTION): New macro.
58212         (NO_INEXACT_EXCEPTION): Likewise.
58213         (INVALID_EXCEPTION_OK): Update value.
58214         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58215         (OVERFLOW_EXCEPTION_OK): Likewise.
58216         (UNDERFLOW_EXCEPTION_OK): Likewise.
58217         (IGNORE_ZERO_INF_SIGN): Likewise.
58218         (ERRNO_UNCHANGED): Likewise.
58219         (ERRNO_EDOM): Likewise.
58220         (ERRNO_ERANGE): Likewise.
58221         (test_exceptions): Handle testing "inexact" exceptions.
58222         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58223         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58224         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58225         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58226         INEXACT_EXCEPTION.
58227         (rint_towardzero_test_data): Likewise.
58228         (rint_downward_test_data): Likewise.
58229         (rint_upward_test_data): Likewise.
58231         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58232         with OVERFLOW_EXCEPTION.
58233         (exp10_test_data): Likewise.
58234         (exp2_test_data): Likewise.
58235         (expm1_test_data): Likewise.
58236         (lgamma_test_data): Likewise.
58237         (pow_test_data): Likewise.
58238         (tgamma_test_data): Likewise.
58239         (yn_test_data): Remove duplicate test of overflow.
58241         * math/libm-test.inc (struct test_cc_c_data): New type.
58242         (RUN_TEST_LOOP_cc_c): New macro.
58243         (cpow_test_data): New variable.
58244         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58246         * math/libm-test.inc (struct test_f_L_data): New type.
58247         (RUN_TEST_LOOP_f_L): New macro.
58248         (llrint_test_data): New variable.
58249         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58250         (llrint_tonearest_test_data): New variable.
58251         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58252         (llrint_towardzero_test_data): New variable.
58253         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58254         (llrint_downward_test_data): New variable.
58255         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58256         (llrint_upward_test_data): New variable.
58257         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58258         (llround_test_data): New variable.
58259         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58261 2013-05-13  Peter Collingbourne  <pcc@google.com>
58263         * math/atest-exp2.c (get_log2): Remove const attribute.
58265 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58267         * math/libm-test.inc (struct test_f_l_data): New type.
58268         (RUN_TEST_LOOP_f_l): New macro.
58269         (lrint_test_data): New variable.
58270         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58271         (lrint_tonearest_test_data): New variable.
58272         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58273         (lrint_towardzero_test_data): New variable.
58274         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58275         (lrint_downward_test_data): New variable.
58276         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58277         (lrint_upward_test_data): New variable.
58278         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58279         (lround_test_data): New variable.
58280         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58282 2013-05-15  Peter Collingbourne  <pcc@google.com>
58284         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58285         (EXTRACT_WORDS64) Use where appropriate.
58286         (INSERT_WORDS64) Likewise.
58288         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58289         constraints with x constraints.
58290         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58292         * malloc/obstack.c (_obstack_compat): Add initializer.
58294 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58296         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58297         si_trapno and add si_addr_lsb to _sifields.sigfault.
58298         (si_trapno): Remove macro.
58299         (si_addr_lsb): Define new macro.
58300         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58302 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58304         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58305         instead of TEST_f_l.
58306         (llrint_test_tonearest): Likewise.
58307         (llrint_test_towardzero): Likewise.
58308         (llrint_test_downward): Likewise.
58309         (llrint_test_upward): Likewise.
58310         (llround_test): Likewise.
58312         * math/libm-test.inc (struct test_f_i_data): Add comment.
58313         (RUN_TEST_LOOP_f_b): New macro.
58314         (RUN_TEST_LOOP_f_b_tg): Likewise.
58315         (finite_test_data): New variable.
58316         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58317         (isfinite_test_data): New variable.
58318         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58319         (isinf_test_data): New variable.
58320         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58321         (isnan_test_data): New variable.
58322         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58323         (isnormal_test_data): New variable.
58324         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58325         (issignaling_test_data): New variable.
58326         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58327         (signbit_test_data): New variable.
58328         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58330         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58331         with INVALID_EXCEPTION.
58332         (acosh_test_data): Likewise.
58333         (asin_test_data): Likewise.
58334         (atanh_test_data): Likewise.
58335         (fmod_test_data): Likewise.
58336         (log_test_data): Likewise.
58337         (log10_test_data): Likewise.
58338         (log2_test_data): Likewise.
58339         (pow_test_data): Likewise.
58340         (sqrt_test_data): Likewise.
58341         (y0_test_data): Likewise.
58342         (y1_test_data): Likewise.
58343         (yn_test_data): Likewise.
58345         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58346         function contents.
58348         * math/libm-test.inc (struct test_ff_i_data): New type.
58349         (RUN_TEST_LOOP_ff_i_tg): New macro.
58350         (isgreater_test_data): New variable.
58351         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58352         (isgreaterequal_test_data): New variable.
58353         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58354         (isless_test_data): New variable.
58355         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58356         (islessequal_test_data): New variable.
58357         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58358         (islessgreater_test_data): New variable.
58359         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58360         (isunordered_test_data): New variable.
58361         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58363 2013-05-14  David S. Miller  <davem@davemloft.net>
58365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58367 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58369         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58371         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58372         extra_test to int.
58373         (struct test_f_i_data): Change type of max_ulp to int.
58375         * math/libm-test.inc (test_ffI_f1_data): New type.
58376         (RUN_TEST_LOOP_ffI_f1): New macro.
58377         (remquo_test_data): New variable.
58378         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58380         * setjmp/tst-setjmp-fp.c: New file.
58381         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58382         (link-libm): New variable.
58383         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58385         * math/libm-test.inc (struct test_f_i_data): New type.
58386         (RUN_TEST_LOOP_f_i): New macro.
58387         (RUN_TEST_LOOP_f_i_tg): Likewise.
58388         (fpclassify_test_data): New variable.
58389         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58390         (ilogb_test_data): New variable.
58391         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58393         * math/libm-test.inc (scalbln_test): Correct function name in END
58394         call.
58396         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58397         (RUN_TEST_LOOP_fI_f1): New macro.
58398         (frexp_test_data): New variable.
58399         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58401         * math/libm-test.inc (struct test_fF_f1_data): New type.
58402         (RUN_TEST_LOOP_fF_f1): New macro.
58403         (modf_test_data): New variable.
58404         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58406         * math/libm-test.inc (struct test_f_f1_data): New type.
58407         (RUN_TEST_LOOP_f_f1): New macro.
58408         (gamma_test_data): New variable.
58409         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58410         (lgamma_test_data): New variable.
58411         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58413 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58415         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58416         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58417         (main): Comment "tls" pseudo-hwcap.
58419 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58421         * math/libm-test.inc (struct test_fl_f_data): New type.
58422         (RUN_TEST_LOOP_fl_f): New variable.
58423         (scalbln_test_data): New variable.
58424         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58426         * math/libm-test.inc (struct test_fi_f_data): New type.
58427         (RUN_TEST_LOOP_fi_f): New macro.
58428         (ldexp_test_data): New variable.
58429         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58430         (scalbn_test_data): New variable.
58431         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58433         * math/libm-test.inc (struct test_c_f_data): New type.
58434         (RUN_TEST_LOOP_c_f): New macro.
58435         (cabs_test_data): New variable.
58436         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58437         (carg_test_data): New variable.
58438         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58439         (cimag_test_data): New variable.
58440         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58441         (creal_test_data): New variable.
58442         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58444         * math/libm-test.inc (struct test_if_f_data): New type.
58445         (RUN_TEST_LOOP_if_f): New macro.
58446         (jn_test_data): New variable.
58447         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58448         (yn_test_data): New variable.
58449         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58451         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58453 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58455         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58456         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58458 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58460         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58461         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58462         (bench-deps): Add bench-timing.h.
58463         * benchtests-bench-skeleton.c: Include bench-timing.h.
58464         (main): Use TIMING_* macros instead of clock_gettime.
58465         * benchtests/bench-timing.h: New file.
58467         [BZ #14582]
58468         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58469         Renamed from _LIB_VERSION.
58470         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58472 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58474         * math/libm-test.inc (struct test_fff_f_data): New type.
58475         (RUN_TEST_LOOP_fff_f): New macro.
58476         (fma_test_data): New variable.
58477         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58478         (fma_towardzero_test_data): New variable.
58479         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58480         (fma_downward_test_data): New variable.
58481         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58482         (fma_upward_test_data): New variable.
58483         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58485         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58486         (struct test_c_c_data): New type.
58487         (RUN_TEST_LOOP_c_c): New macro.
58488         (cacos_test_data): New variable.
58489         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58490         (cacosh_test_data): New variable.
58491         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58492         (casin_test_data): New variable.
58493         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58494         (casinh_test_data): New variable.
58495         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58496         (catan_test_data): New variable.
58497         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58498         (catanh_test_data): New variable.
58499         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58500         (ccos_test_data): New variable.
58501         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58502         (ccosh_test_data): New variable.
58503         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58504         (cexp_test_data): New variable.
58505         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58506         (clog_test_data): New variable.
58507         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58508         (clog10_test_data): New variable.
58509         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58510         (conj_test_data): New variable.
58511         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58512         (cproj_test_data): New variable.
58513         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58514         (csin_test_data): New variable.
58515         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58516         (csinh_test_data): New variable.
58517         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58518         (csqrt_test_data): New variable.
58519         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58520         (ctan_test_data): New variable.
58521         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58522         (ctan_tonearest_test_data): New variable.
58523         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58524         (ctan_towardzero_test_data): New variable.
58525         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58526         (ctan_downward_test_data): New variable.
58527         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58528         (ctan_upward_test_data): New variable.
58529         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58530         (ctanh_test_data): New variable.
58531         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58532         (ctanh_tonearest_test_data): New variable.
58533         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58534         (ctanh_towardzero_test_data): New variable.
58535         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58536         (ctanh_downward_test_data): New variable.
58537         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58538         (ctanh_upward_test_data): New variable.
58539         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58540         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58541         of BUILD_COMPLEX.
58543         * math/libm-test.inc (struct test_ff_f_data): New type.
58544         (struct test_ff_f_data_nexttoward): Likewise.
58545         (RUN_TEST_LOOP_2_f): New macro.
58546         (RUN_TEST_LOOP_ff_f): Likewise.
58547         (atan2_test_data): New variable.
58548         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58549         (copysign_test_data): New variable.
58550         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58551         (fdim_test_data): New variable.
58552         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58553         (fmax_test_data): New variable.
58554         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58555         (fmin_test_data): New variable.
58556         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58557         (fmod_test_data): New variable.
58558         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58559         (hypot_test_data): New variable.
58560         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58561         (nextafter_test_data): New variable.
58562         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58563         (nexttoward_test_data): New variable.
58564         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58565         (pow_test_data): New variable.
58566         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58567         (pow_tonearest_test_data): New variable.
58568         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58569         (pow_towardzero_test_data): New variable.
58570         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58571         (pow_downward_test_data): New variable.
58572         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58573         (pow_upward_test_data): New variable.
58574         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58575         (remainder_test_data): New variable.
58576         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58577         (scalb_test_data): New variable.
58578         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58579         * sysdeps/i386/fpu/libm-test-ulps: Update.
58581 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58583         * math/libm-test.inc (fma_test): Use max_value instead of local
58584         variable fltmax.
58585         (nextafter_test): Likewise.
58587         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58588         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58589         (acos_downward_test_data): New variable.
58590         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58591         (acos_upward_test_data): New variable.
58592         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58593         (acosh_test_data): New variable.
58594         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58595         (asin_test_data): New variable.
58596         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58597         (asin_tonearest_test_data): New variable.
58598         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58599         (asin_towardzero_test_data): New variable.
58600         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58601         (asin_downward_test_data): New variable.
58602         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58603         (asin_upward_test_data): New variable.
58604         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58605         (asinh_test_data): New variable.
58606         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58607         (atan_test_data): New variable.
58608         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58609         (atanh_test_data): New variable.
58610         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58611         (cbrt_test_data): New variable.
58612         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58613         (ceil_test_data): New variable.
58614         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58615         (cos_test_data): New variable.
58616         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58617         (cos_tonearest_test_data): New variable.
58618         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58619         (cos_towardzero_test_data): New variable.
58620         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58621         (cos_downward_test_data): New variable.
58622         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58623         (cos_upward_test_data): New variable.
58624         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58625         (cosh_test_data): New variable.
58626         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58627         (cosh_tonearest_test_data): New variable.
58628         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58629         (cosh_towardzero_test_data): New variable.
58630         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58631         (cosh_downward_test_data): New variable.
58632         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58633         (cosh_upward_test_data): New variable.
58634         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58635         (erf_test_data): New variable.
58636         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58637         (erfc_test_data): New variable.
58638         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
58639         (exp_test_data): New variable.
58640         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
58641         (exp_tonearest_test_data): New variable.
58642         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58643         (exp_towardzero_test_data): New variable.
58644         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58645         (exp_downward_test_data): New variable.
58646         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58647         (exp_upward_test_data): New variable.
58648         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58649         (exp10_test_data): New variable.
58650         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
58651         (exp2_test_data): New variable.
58652         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
58653         (expm1_test_data): New variable.
58654         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
58655         (fabs_test_data): New variable.
58656         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
58657         (floor_test_data): New variable.
58658         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
58659         (j0_test_data): New variable.
58660         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
58661         (j1_test_data): New variable.
58662         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
58663         (log_test_data): New variable.
58664         (log_test): Run tests with RUN_TEST_LOOP_f_f.
58665         (log10_test_data): New variable.
58666         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
58667         (log1p_test_data): New variable.
58668         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
58669         (log2_test_data): New variable.
58670         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
58671         (logb_test_data): New variable.
58672         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
58673         (logb_downward_test_data): New variable.
58674         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58675         (nearbyint_test_data): New variable.
58676         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
58677         (rint_test_data): New variable.
58678         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
58679         (rint_tonearest_test_data): New variable.
58680         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58681         (rint_towardzero_test_data): New variable.
58682         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58683         (rint_downward_test_data): New variable.
58684         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58685         (rint_upward_test_data): New variable.
58686         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58687         (round_test_data): New variable.
58688         (round_test): Run tests with RUN_TEST_LOOP_f_f.
58689         (sin_test_data): New variable.
58690         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
58691         (sin_tonearest_test_data): New variable.
58692         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58693         (sin_towardzero_test_data): New variable.
58694         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58695         (sin_downward_test_data): New variable.
58696         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58697         (sin_upward_test_data): New variable.
58698         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58699         (sinh_test_data): New variable.
58700         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
58701         (sinh_tonearest_test_data): New variable.
58702         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58703         (sinh_towardzero_test_data): New variable.
58704         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58705         (sinh_downward_test_data): New variable.
58706         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58707         (sinh_upward_test_data): New variable.
58708         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58709         (sqrt_test_data): New variable.
58710         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
58711         (tan_test_data): New variable.
58712         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
58713         (tan_tonearest_test_data): New variable.
58714         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58715         (tan_towardzero_test_data): New variable.
58716         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58717         (tan_downward_test_data): New variable.
58718         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58719         (tan_upward_test_data): New variable.
58720         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58721         (tanh_test_data): New variable.
58722         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
58723         (tgamma_test_data): New variable.
58724         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
58725         (trunc_test_data): New variable.
58726         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
58727         (y0_test_data): New variable.
58728         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
58729         (y1_test_data): New variable.
58730         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
58731         (significand_test_data): New variable.
58732         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
58734 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
58736         [BZ #12387]
58737         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
58739 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58741         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
58743 2013-05-10  Andreas Jaeger  <aj@suse.de>
58745         [BZ #15448]
58746         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
58747         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
58749 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58751         * math/gen-libm-test.pl (adjust_arg): New function.
58752         (special_functions): Handle generating output in both functions
58753         and arrays.
58754         (parse_args): Likewise.
58755         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
58756         $in_func argument to parse_args.
58757         * math/libm-test.inc (struct test_f_f_data): New type.
58758         (IF_ROUND_INIT_): New macro.
58759         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
58760         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58761         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58762         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58763         (ROUND_RESTORE_): Likewise.
58764         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
58765         (ROUND_RESTORE_FE_TONEAREST): Likewise.
58766         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
58767         (ROUND_RESTORE_FE_UPWARD): Likewise.
58768         (RUN_TEST_LOOP_f_f): New macro.
58769         (acos_test_data): New variable.
58770         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
58771         (acos_tonearest_test_data): New variable.
58772         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58774 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58776         * benchtests/bench-skeleton.c (startup): Fix coding style.
58778 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58780         [BZ #6809]
58781         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
58782         negative infinity argument.
58783         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
58784         negative infinity argument.
58785         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
58786         negative infinity argument.
58787         * math/libm-test.inc (tgamma_test): Expect errno to be set for
58788         domain errors.
58790 2013-05-10  Florian Weimer  <fweimer@redhat.com>
58792         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
58793         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
58794         * iconv/iconv_prog.c (main): Likewise.
58795         * locale/programs/charmap-dir.c (charmap_readdir)
58796         (fopen_uncompressed): Likewise.
58797         * locale/programs/locfile.c (siblings_uncached)
58798         (write_locale_data): Use lstat64 instead of lstat.
58799         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
58800         stat.
58802 2013-05-10  Andreas Jaeger  <aj@suse.de>
58804         [BZ #15395]
58805         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
58806         localization.
58807         Include <locale.h>.
58809 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
58811         * elf/dl-close.c (_dl_close_worker): Add comments.
58813 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
58815         [BZ #15359]
58816         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
58817         high part of pi/2.
58818         (__ieee754_rem_pio2l): Update comments.
58820         [BZ #15429]
58821         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
58822         high part of pi/2.
58823         (__ieee754_rem_pio2l): Update comments.
58825         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
58826         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
58828         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
58829         M_PI_4l.
58831         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
58832         (M_PI_34_LOG10El): Likewise.
58833         (M_PI2_LOG10El): Likewise.
58834         (M_PI4_LOG10El): Likewise.
58835         (M_PI_LOG10El): Likewise.
58837 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58841 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
58843         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
58844         (MINUS_ZERO_INIT): Likewise.
58845         (PLUS_INFTY_INIT): Likewise.
58846         (MINUS_INFTY_INIT): Likewise.
58847         (QNAN_VALUE_INIT): Likewise.
58848         (MAX_VALUE_INIT): Likewise.
58849         (MIN_VALUE_INIT): Likewise.
58850         (MIN_SUBNORM_VALUE_INIT): Likewise.
58851         (plus_zero): Initialize with PLUS_ZERO_INIT.
58852         (minus_zero): Initialize with MINUS_ZERO_INIT.
58853         (plus_infty): Initialize with PLUS_INFTY_INIT.
58854         (minus_infty): Initialize with MINUS_INFTY_INIT.
58855         (qnan_value): Initialize with QNAN_VALUE_INIT.
58856         (max_value): Initialize with MAX_VALUE_INIT.
58857         (min_value): Initialize with MIN_VALUE_INIT.
58858         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
58860         * math/libm-test.inc (RUN_TEST_if_f): New macro.
58861         (jn_test): Use TEST_if_f instead of TEST_ff_f.
58862         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
58863         (yn_test): Use TEST_if_f instead of TEST_ff_f.
58865         * math/libm-test.inc (RUN_TEST_f_f): New macro.
58866         (RUN_TEST_2_f): Likewise.
58867         (RUN_TEST_ff_f): Likewise.
58868         (RUN_TEST_fi_f): Likewise.
58869         (RUN_TEST_fl_f): Likewise.
58870         (RUN_TEST_fff_f): Likewise.
58871         (RUN_TEST_c_f): Likewise.
58872         (RUN_TEST_f_f1): Likewise.
58873         (RUN_TEST_fF_f1): Likewise.
58874         (RUN_TEST_fI_f1): Likewise.
58875         (RUN_TEST_ffI_f1): Likewise.
58876         (RUN_TEST_c_c): Likewise.
58877         (RUN_TEST_cc_c): Likewise.
58878         (RUN_TEST_f_i): Likewise.
58879         (RUN_TEST_f_i_tg): Likewise.
58880         (RUN_TEST_ff_i_tg): Likewise.
58881         (RUN_TEST_f_b): Likewise.
58882         (RUN_TEST_f_b_tg): Likewise.
58883         (RUN_TEST_f_l): Likewise.
58884         (RUN_TEST_f_L): Likewise.
58885         (RUN_TEST_sincos): Likewise.
58886         * math/gen-libm-test.pl (new_test): Take new argument to indicate
58887         whether to show exceptions.  Do not include ");\n" in return
58888         value.
58889         (special_functions): Output call to RUN_TEST_sincos instead of
58890         check_float calls.  Update calls to new_test.
58891         (parse_args): Output call to single RUN_TEST_* macro instead of
58892         check_* calls and other assignments.  Update calls to new_test.
58894         [BZ #2546]
58895         [BZ #2560]
58896         [BZ #5159]
58897         [BZ #15426]
58898         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
58899         input to result for tgamma overflow.
58900         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
58901         (gamma_coeff): New variable.
58902         (NCOEFF): New macro.
58903         (gamma_positive): New function.
58904         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
58905         underflow here.  Use gamma_positive instead of exp (lgamma) for
58906         other arguments.
58907         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
58908         (gamma_coeff): New variable.
58909         (NCOEFF): New macro.
58910         (gammaf_positive): New function.
58911         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
58912         underflow here.  Use gamma_positive instead of exp (lgamma) for
58913         other arguments.
58914         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
58915         (gamma_coeff): New variable.
58916         (NCOEFF): New macro.
58917         (gammal_positive): New function.
58918         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
58919         underflow here.  Use gamma_positive instead of exp (lgamma) for
58920         other arguments.
58921         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
58922         (gamma_coeff): New variable.
58923         (NCOEFF): New macro.
58924         (gammal_positive): New function.
58925         (__ieee754_gammal_r): Handle positive infinity, overflow and
58926         underflow here.  Handle NaN the same as positive infinity.  Remove
58927         check x < 0xffffffff for negative integers.  Use gamma_positive
58928         instead of exp (lgamma) for other arguments.
58929         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
58930         (gamma_coeff): New variable.
58931         (NCOEFF): New macro.
58932         (gammal_positive): New function.
58933         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
58934         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
58935         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
58936         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
58937         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
58938         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
58939         * sysdeps/generic/math_private.h (__gamma_productf): New
58940         prototype.
58941         (__gamma_product): Likewise.
58942         (__gamma_productl): Likewise.
58943         * math/Makefile (libm-calls): Add gamma_product.
58944         * math/libm-test.inc (tgamma_test): Add more tests.
58945         * sysdeps/i386/fpu/libm-test-ulps: Update.
58946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58948 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
58950         * benchtests/bench-skeleton.c (main): Preheat CPU.
58952 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
58954         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
58956 2013-05-07  Roland McGrath  <roland@hack.frob.com>
58958         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
58959         and _dl_skip_args_internal.
58961 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
58963         * manual/message.texi (Message Translation): Talk about users.
58964         Message to key mapping impacts design.
58966 2013-05-06  Roland McGrath  <roland@hack.frob.com>
58968         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
58970         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
58972         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
58973         * sysdeps/wordsize-64/glob64.c: ... here.
58975         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
58976         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
58977         New macros.
58979         * debug/getlogin_r_chk.c: Moved to ...
58980         * login/getlogin_r_chk.c: ... here.
58981         * debug/Makefile (routines): Move getlogin_r_chk to ...
58982         * login/Makefile (routines): ... here.
58983         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
58984         * login/Versions (libc: GLIBC_2.4): ... here.
58986         * io/poll.c (__poll): Renamed from poll.
58987         Add libc_hidden_def.
58988         (poll): Define as weak alias.
58990         * debug/ptsname_r_chk.c: Moved to ...
58991         * login/ptsname_r_chk.c: ... here.
58992         * debug/Makefile (routines): Move ptsname_r_chk to ...
58993         * login/Makefile (routines): ... here.
58994         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
58995         * login/Versions (libc: GLIBC_2.4): ... here.
58997         * posix/getlogin.c: Moved to ...
58998         * login/getlogin.c: ... here.
58999         * posix/getlogin_r.c: Moved to ...
59000         * login/getlogin_r.c: ... here.
59001         * posix/getlogin_r.c: Moved to ...
59002         * login/getlogin_r.c: ... here.
59003         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59004         * login/Makefile (routines): ... here.
59005         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59006         * login/Versions (libc: GLIBC_2.0): ... here.
59008         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59009         (setrlimit): Define as weak alias.
59011         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59012         Call __ names for open, ftruncate, and close.
59013         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59014         (truncate): Define as weak alias.
59016 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59018         * math/gen-libm-test.pl (parse_args): Initialize x before each
59019         test of frexp, modf and remquo.
59021         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59022         test signgam value.
59024 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59026         [BZ #15418]
59027         [BZ #15419]
59028         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59029         internal tests.
59030         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59032 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59034         * elf/dl-writev.h: New file.
59035         * elf/dl-misc.c: Include it.
59036         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59037         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59039 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59041         * math/libm-test.inc (noXFails): Remove variable.
59042         (noXPasses): Likewise.
59043         (BUILD_COMPLEX_INT): Remove macro.
59044         (print_screen): Remove xfail argument.
59045         (print_screen_max_error): Likewise.
59046         (update_stats): Likewise.
59047         (print_max_error): Likewise.  Update calls to other affected
59048         functions.
59049         (print_complex_max_error): Likewise.
59050         (test_single_exception): Update calls to print_screen.
59051         (test_single_errno): Likewise.
59052         (check_float_internal): Remove xfail argument.  Update calls to
59053         other affected functions.
59054         (check_float): Likewise.
59055         (check_complex): Likewise.
59056         (check_int): Likewise.
59057         (check_long): Likewise.
59058         (check_bool): Likewise.
59059         (check_longlong): Likewise.
59060         (main): Don't print noXFails and noXPasses.
59061         * math/gen-libm-test.pl (top level): Don't mention expected
59062         failure handling in comment.
59063         (new_test): Don't handle expected failures.
59064         (parse_args): Don't mention expected failure handling in comment.
59065         (generate_testfile): Don't handle expected failures.
59066         (parse_ulps): Likewise.
59067         (print_ulps_file): Likewise.
59068         (get_failure): Remove function.
59069         (output_test): Don't handle expected failures.
59070         * make/README.libm-test: Don't mention expected failure handling.
59072         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59073         (minus_zero): Likewise.
59074         (plus_infty): Likewise.
59075         (minus_infty): Likewise.
59076         (qnan_value): Likewise.
59077         (max_value): Likewise.
59078         (min_value): Likewise.
59079         (min_subnorm_value): Likewise.
59080         (initialize): Do not initialize those variables dynamically.
59082 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59084         * io/open.c (__open_2): Moved to ...
59085         * io/open_2.c: ... this new file.
59086         * io/open64.c (__open64_2): Moved to ...
59087         * io/open64_2.c: ... this new file.
59088         * io/openat.c (__openat_2): Moved to ...
59089         * io/openat_2.c: ... this new file.
59090         * io/openat64.c (__openat64_2): Moved to ...
59091         * io/openat64_2.c: ... this new file.
59092         * io/Makefile (routines): Add them.
59093         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59094         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59095         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59096         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59097         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59098         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59099         (__openat64): Add hidden_ver.
59100         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59101         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59103         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59104         Separately conditionalize setting of GLRO(dl_sysinfo) so
59105         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59106         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59108 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59110         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59111         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59112         definition.
59113         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59114         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59115         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59116         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59117         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59119 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59121         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59122         test signgam value.
59124         * math/libm-test.inc (hypot_test): Do not use
59125         IGNORE_ZERO_INF_SIGN.
59127 2013-05-03  Andreas Jaeger  <aj@suse.de>
59129         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59130         Linux 3.9.
59131         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59132         (PF_MAX): Adjust for VSOCK change.
59134 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59138 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59140         [BZ #15264]
59141         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59142         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59143         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59145 2013-05-02  David S. Miller  <davem@davemloft.net>
59147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59149 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59151         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59153 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59155         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59157 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59159         [BZ #14952]
59160         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59161         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59162         Use __attribute__ ((__gnu_inline__)).
59163         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59164         Don't use __attribute__ ((__gnu_inline__)).
59166 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59168         [BZ #15423]
59169         * math/s_catan.c (__catan): Handle small real or imaginary part of
59170         input specially to avoid spurious underflow.
59171         * math/s_catanf.c (__catanf): Likewise.
59172         * math/s_catanh.c (__catanh): Likewise.
59173         * math/s_catanhf.c (__catanhf): Likewise.
59174         * math/s_catanhl.c (__catanhl): Likewise.
59175         * math/s_catanl.c (__catanl): Likewise.
59176         * math/libm-test.inc (catan_test): Add more tests.
59177         (catanh_test): Likewise.
59178         * sysdeps/i386/fpu/libm-test-ulps: Update.
59179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59181 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59185 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59187         [BZ #15416]
59188         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59189         accurately for denominator in atan2.
59190         * math/s_catanf.c (__catanf): Likewise.
59191         * math/s_catanh.c (__catanh): Likewise.
59192         * math/s_catanhf.c (__catanhf): Likewise.
59193         * math/s_catanhl.c (__catanhl): Likewise.
59194         * math/s_catanl.c (__catanl): Likewise.
59195         * math/libm-test.inc (catan_test): Add more tests.
59196         (catanh_test): Likewise.
59197         * sysdeps/i386/fpu/libm-test-ulps: Update.
59198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59200 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59202         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59204         * benchtests/Makefile (bench): Remove slow benchmarks.
59205         * benchtests/atan-inputs: Add slow benchmark inputs.
59206         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59207         (BENCH_FUNC): Accept variant offset.
59208         (VARIANT): Define.
59209         * benchtests/bench-skeleton.c (main): Run benchmark for each
59210         variant.
59211         * benchtests/cos-inputs: Add slow benchmark inputs.
59212         * benchtests/exp-inputs: Likewise.
59213         * benchtests/pow-inputs: Likewise.
59214         * benchtests/sin-inputs: Likewise.
59215         * benchtests/slowatan-inputs: Remove.
59216         * benchtests/slowatan.c: Remove.
59217         * benchtests/slowcos-inputs: Remove.
59218         * benchtests/slowcos.c: Remove.
59219         * benchtests/slowexp-inputs: Remove.
59220         * benchtests/slowexp.c: Remove.
59221         * benchtests/slowpow-inputs: Remove.
59222         * benchtests/slowpow.c: Remove.
59223         * benchtests/slowsin-inputs: Remove.
59224         * benchtests/slowsin.c: Remove.
59225         * benchtests/slowtan-inputs: Remove.
59226         * benchtests/slowtan.c: Remove.
59227         * benchtests/tan-inputs: Add slow benchmark inputs.
59228         * scripts/bench.pl: Parse comments and directives.
59230         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59231         in CPPFLAGS.
59232         ($(objpfx)bench-%.c): Remove *-ITER.
59233         * benchtests/bench-modf.c: Remove definition of ITER.
59234         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59235         (main): Loop for DURATION seconds instead of fixed number of
59236         iterations.
59237         * scripts/bench.pl: Don't expect iterations in parameters.
59239 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59241         * io/fchdir.c (__fchdir): Renamed from fchdir.
59242         (fchdir): Define as weak alias.
59244 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59246         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59247         (ERRNO_EDOM): Likewise.
59248         (ERRNO_ERANGE): Likewise.
59249         (noErrnoTests): New variable.
59250         (init_max_error): Set errno to 0.
59251         (test_single_errno): New function.
59252         (test_errno): Likewise.
59253         (check_float_internal): Call test_errno.  Set errno to 0.
59254         (check_complex): Refer to errno tests in comment.
59255         (check_int): Call test_errno.  Set errno to 0.
59256         (check_long): Likewise.
59257         (check_bool): Likewise.
59258         (check_longlong): Likewise.
59259         (cos_test): Use ERRNO_* flags for errno tests instead of
59260         check_int.
59261         (expm1_test): Likewise.
59262         (fmod_test): Likewise.
59263         (ilogb_test): Likewise.
59264         (lgamma_test): Likewise.
59265         (pow_test): Likewise.
59266         (remainder_test): Likewise.
59267         (sin_test): Likewise.
59268         (tan_test): Likewise.
59269         (yn_test): Likewise.
59270         (initialize): Set errno to 0.
59271         (main): Print number of errno tests.
59272         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59274 2013-04-29  Andreas Jaeger  <aj@suse.de>
59276         [BZ #15084]
59277         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59278         and RES_USEVC.
59280         [BZ #15085]
59281         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59282         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59283         unimplemented.
59285         [BZ #15380]
59286         * stdlib/random.c (__initstate): Return NULL if
59287         __initstate fails.
59289         [BZ #15086]
59290         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59291         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59292         RES_SNGLKUPREOP.
59294 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59298 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59300         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59301         of individual tests.
59302         (casin_test): Likewise.
59303         (casinh_test): Likewise.
59305 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59307         [BZ #15409]
59308         * math/s_catan.c (__catan): Handle arguments with large real or
59309         imaginary part separately without squaring.
59310         * math/s_catanf.c (__catanf): Likewise.
59311         * math/s_catanh.c (__catanh): Likewise.
59312         * math/s_catanhf.c (__catanhf): Likewise.
59313         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59314         and redefine.
59315         (__catanhl): Handle arguments with large real or imaginary part
59316         separately without squaring.
59317         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59318         and redefine.
59319         (__catanl): Handle arguments with large real or imaginary part
59320         separately without squaring.
59321         * math/libm-test.inc (catan_test): Add more tests.
59322         (catanh_test): Likewise.
59323         * sysdeps/i386/fpu/libm-test-ulps: Update.
59324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59326 2013-04-27  Andreas Jaeger  <aj@suse.de>
59328         [BZ #15007]
59329         * stdlib/stdlib.h: Update guards for qecvt.
59330         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59331         <stdlib.h>.
59333 2013-04-27  Allan McRae  <allan@archlinux.org>
59335         * sysdeps/i386/fpu/libm-test-ulps: Update.
59337 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59339         [BZ #15406]
59340         * math/s_catan.c: Include <float.h>.
59341         (__catan): Ensure underflow exception occurs for underflowed
59342         result.
59343         * math/s_catanf.c: Include <float.h>.
59344         (__catanf): Ensure underflow exception occurs for underflowed
59345         result.
59346         * math/s_catanh.c: Include <float.h>.
59347         (__catanh): Ensure underflow exception occurs for underflowed
59348         result.
59349         * math/s_catanhf.c: Include <float.h>.
59350         (__catanhf): Ensure underflow exception occurs for underflowed
59351         result.
59352         * math/s_catanhl.c: Include <float.h>.
59353         (__catanhl): Ensure underflow exception occurs for underflowed
59354         result.
59355         * math/s_catanl.c: Include <float.h>.
59356         (__catanl): Ensure underflow exception occurs for underflowed
59357         result.
59358         * math/libm-test.inc (catan_test): Add more tests.
59359         (catanh_test): Likewise.
59361         [BZ #15405]
59362         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59363         underflowed result.
59364         * math/s_ccoshf.c (__ccoshf): Likewise.
59365         * math/s_ccoshl.c (__ccoshl): Likewise.
59366         * math/s_csin.c (__csin): Likewise.
59367         * math/s_csinf.c (__csinf): Likewise.
59368         * math/s_csinh.c (__csinh): Likewise.
59369         * math/s_csinhf.c (__csinhf): Likewise.
59370         * math/s_csinhl.c (__csinhl): Likewise.
59371         * math/s_csinl.c (__csinl): Likewise.
59372         * math/libm-test.inc (ccos_test): Add more tests.
59373         (ccosh_test): Likewise.
59374         (csin_test): Likewise.
59375         (csinh_test): Likewise.
59377 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59379         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59380         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59381         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59382         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59383         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59384         powerpc/power5+/fpu folders.
59385         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59388 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59392 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59394         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59395         additions to variable.
59396         [$(config-machine) = x86_64] (modules-names): Likewise.
59397         ($(objpfx)tst-audit3): Remove dependency.
59398         ($(objpfx)tst-audit3.out): Likewise.
59399         ($(objpfx)tst-audit4): Likewise.
59400         ($(objpfx)tst-audit4.out): Likewise.
59401         ($(objpfx)tst-audit5): Likewise.
59402         ($(objpfx)tst-audit5.out): Likewise.
59403         ($(objpfx)tst-audit6): Likewise.
59404         ($(objpfx)tst-audit6.out): Likewise.
59405         ($(objpfx)tst-audit7): Likewise.
59406         ($(objpfx)tst-audit7.out): Likewise.
59407         (tst-audit3-ENV): Remove variable.
59408         (tst-audit4-ENV): Likewise.
59409         (tst-audit5-ENV): Likewise.
59410         (tst-audit6-ENV): Likewise.
59411         (tst-audit7-ENV): Likewise.
59412         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59413         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59414         addition to variable.
59415         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59416         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59417         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59418         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59419         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59420         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59421         tst-audit3, tst-audit4 and tst-audit5.
59422         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59423         tst-audit6 and tst-audit7.
59424         [$(subdir) = elf] (modules-names): Add audit modules for those
59425         tests.
59426         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59427         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59428         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59429         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59430         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59431         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59432         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59433         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59434         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59435         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59436         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59437         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59438         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59439         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59440         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59441         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59442         Likewise.
59443         [$(subdir) = elf && $(config-cflags-avx) = yes]
59444         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59445         [$(subdir) = elf && $(config-cflags-avx) = yes]
59446         (CFLAGS-tst-auditmod4a.c): Likewise.
59447         [$(subdir) = elf && $(config-cflags-avx) = yes]
59448         (CFLAGS-tst-auditmod4b.c): Likewise.
59449         [$(subdir) = elf && $(config-cflags-avx) = yes]
59450         (CFLAGS-tst-auditmod6b.c): Likewise.
59451         [$(subdir) = elf && $(config-cflags-avx) = yes]
59452         (CFLAGS-tst-auditmod6c.c): Likewise.
59453         [$(subdir) = elf && $(config-cflags-avx) = yes]
59454         (CFLAGS-tst-auditmod7b.c): Likewise.
59455         * elf/tst-audit3.c: Move to ...
59456         * sysdeps/x86_64/tst-audit3.c: ... here.
59457         * elf/tst-audit4.c: Move to ...
59458         * sysdeps/x86_64/tst-audit4.c: ... here.
59459         * elf/tst-audit5.c: Move to ...
59460         * sysdeps/x86_64/tst-audit5.c: ... here.
59461         * elf/tst-audit6.c: Move to ...
59462         * sysdeps/x86_64/tst-audit6.c: ... here.
59463         * elf/tst-audit7.c: Move to ...
59464         * sysdeps/x86_64/tst-audit7.c: ... here.
59465         * elf/tst-auditmod3a.c: Move to ...
59466         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59467         * elf/tst-auditmod3b.c: Move to ...
59468         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59469         * elf/tst-auditmod4a.c: Move to ...
59470         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59471         * elf/tst-auditmod4b.c: Move to ...
59472         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59473         * elf/tst-auditmod5a.c: Move to ...
59474         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59475         * elf/tst-auditmod5b.c: Move to ...
59476         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59477         * elf/tst-auditmod6a.c: Move to ...
59478         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59479         * elf/tst-auditmod6b.c: Move to ...
59480         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59481         * elf/tst-auditmod6c.c: Move to ...
59482         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59483         * elf/tst-auditmod7a.c: Move to ...
59484         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59485         * elf/tst-auditmod7b.c: Move to ...
59486         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59488 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59490         [BZ #15366]
59491         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59492         define unconditionally.
59493         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59494         define unconditionally.
59495         (INT8_C, INT16_C, etc.): Likewise.
59497 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59499         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59500         __ehdr_start with hidden visibility.
59502         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59504 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59506         * math/libm-test.inc (cos_test): Use accurate hex constants.
59507         (sincost_test): Likewise.
59509 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59511         * math/libm-test.inc (catan_test): Add more tests.
59512         (catanh_test): Likewise.
59514         * math/s_catanf.c (__catanf): Use suffixed floating-point
59515         constants.
59516         * math/s_catanhf.c (__catanhf): Likewise.
59517         * math/s_catanhl.c (__catanhl): Likewise.
59518         * math/s_catanl.c (__catanl): Likewise.
59520         [BZ #15394]
59521         * math/s_catan.c (__catan): Calculate imaginary part of result
59522         with log1p not log unless computing log of number close to 0.
59523         * math/s_catanf.c (__catanf): Likewise.
59524         * math/s_catanl.c (__catanl): Likewise.
59525         * math/s_catanh.c (__catanh): Calculate real part of result with
59526         log1p not log unless computing log of number close to 0.
59527         * math/s_catanhf.c (__catanhf): Likewise.
59528         * math/s_catanhl.c (__catanhl): Likewise.
59529         * math/libm-test.inc (catan_test): Add more tests.
59530         (catanh_test): Likewise.
59531         * sysdeps/i386/fpu/libm-test-ulps: Update.
59532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59534 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59536         * benchtests/Makefile: Mention files in which fast and slow
59537         paths of math functions are implemented.
59539 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59541         * sysdeps/posix/timespec_get.c: New file.
59543 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59545         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59546         POWER.
59547         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59548         for POWER.
59549         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59550         powerpc/power5/fpu folders.
59551         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59552         * benchtests/Makefile: Add modf testcase.
59553         * benchtests/bench-modf.c: New file: Benchmark test for mo
59555 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59557         [BZ #14888]
59558         * time/Makefile (tests): Add tst-strptime-whitespace.
59559         * time/strptime_l.c (get_number): Use ISSPACE.
59560         (__strptime_internal): Likewise.
59561         * time/tst-strptime-whitespace.c: New test case.
59563 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59565         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59566         member.
59567         (_nss_files_init): Set it here.
59569 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59571         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59572         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59573         unsigned.
59575 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59577         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59579 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59582         size just once.
59584 2013-04-21  David S. Miller  <davem@davemloft.net>
59586         * po/ru.po: Update Russion translation from translation project.
59588 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59590         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59591         and setfsgid.
59593 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59595         * configure.in: Remove i386 configure warning. Remove i386 case.
59596         * configure: Regenerate.
59597         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59598         Add example to error message.
59599         * sysdeps/i386/configure: Regenerate.
59601 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59603         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59604         slowtan.
59605         * benchtests/cos-inputs: New file.
59606         * benchtests/slowcos-inputs: New file.
59607         * benchtests/slowcos.c: New file.
59608         * benchtests/slowtan-inputs: New file.
59609         * benchtests/slowtan.c: New file.
59610         * benchtests/tan-inputs: New file.
59612 2013-04-16  Roland McGrath  <roland@hack.frob.com>
59614         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59615         considered kosher.
59617 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59619         * benchtests/Makefile: Include cppflags-iterator.mk to add
59620         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59622         * Makefile.in (bench-clean): New target.
59623         * benchtests/Makefile (bench-clean): Likewise.
59625 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
59627         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59629 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
59631         * stdio-common/tstdiomisc.c: Fix coding-style violation.
59633 2013-04-15  Andreas Schwab  <schwab@suse.de>
59635         * nscd/grpcache.c (cache_addgr): Properly check for short write.
59636         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59637         * nscd/pwdcache.c (cache_addpw): Likewise.
59638         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
59639         more than recsize.
59641 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59643         * benchtests/Makefile (bench): Write all output to
59644         bench-out.tmp together.
59646 2013-04-15  Andreas Schwab  <schwab@suse.de>
59648         * nscd/nscd.c (main): Don't fork again after closing files.
59650 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59652         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
59654         * benchtests/Rules (bench-deps): Collect dependencies into a
59655         single variable.  Add Makefile to dependencies.
59656         ($(objpfx)bench-%.c): Depend on bench-deps.
59658 2013-04-12  Roland McGrath  <roland@hack.frob.com>
59659             Xavier Roche  <roche+kml2@exalead.com>
59661         [BZ #15361]
59662         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
59663         just that it's a file descriptor.
59664         * manual/llio.texi (Synchronizing AIO Operations): Update description
59665         for EBADF error from aio_fsync.
59667 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59669         * Rules (bench): Move target definition...
59670         * benchtests/Makefile: ... here.
59672 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
59674         * math/libm-test.inc (cos_test): Fix PI/2 test.
59675         (sincos_test): Likewise.
59676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
59677         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59679 2013-04-11  Andreas Schwab  <schwab@suse.de>
59681         [BZ #13988]
59682         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59683         accept exponent character only when digits were seen.
59684         * stdio-common/Makefile (tests): Add bug26.
59685         * stdio-common/bug26.c: New file.
59687         [BZ #14293]
59688         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
59689         non-freeable.
59691 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59693         * Makeconfig (rtld-prefix): Define built linker prefix.
59694         * Rules (run-bench): Use it.
59695         * math/Makefile (run-regen-ulps): Likewise.
59697         * Rules (bench): Remove eval.
59699 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59700             Roland McGrath  <roland@hack.frob.com>
59701             Ondrej Bilka  <neleai@seznam.cz>
59703         [BZ #15346]
59704         * time/getdate.c: Include ctype.h and alloca.h.
59705         (__getdate_r): Trim leading and trailing spaces of input.
59706         * time/tst-getdate.c (tests): Add tests with leading and
59707         trailing spaces.
59709 2013-04-08  Roland McGrath  <roland@hack.frob.com>
59711         [BZ #14280]
59712         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
59713         when computing value.
59715 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59717         * math/README.libm-test (How can I generate "libm-test-ulps"?):
59718         Use testrun.sh to run libm tests.
59720         [BZ #15309]
59721         * elf/dl-open.c (dl_open_worker): memset all of seen array.
59723 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
59725         [BZ #15264]
59726         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
59728 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59730         * Makefile.in (regen-ulps): New target.
59731         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
59732         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
59733         [ifneq (no,$(PERL)] (regen-ulps): New target.
59734         [ifeq (no,$(PERL)] (regen-ulps): New target.
59735         * math/libm-test.inc (ulps_file_name): Define.
59736         (output_dir): New variable.
59737         (options): Add "output-dir" option.
59738         (parse_opt): Handle 'o' case.
59739         (main): If output_dir is non-NULL use it as a prefix
59740         otherwise use "".
59741         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
59743 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59745         [BZ #10060, #10062]
59746         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
59747         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
59748         fail configure if __sync_val_compare_and_swap is not inlined.
59749         * sysdeps/i386/configure: Regenerate.
59750         * configure.in: Build for i686 when configured for i386.
59751         * configure: Regenerate.
59752         * README: Remove i386 reference.
59754 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59756         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
59757         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59759 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59761         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
59762         (lmsnanval): New variables.
59763         (F): Add conversion tests.
59764         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
59765         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
59767         * stdio-common/tstdiomisc.c (F): Properly collect individual
59768         tests' results.
59770         [BZ #14686, #15336]
59771         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
59772         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59773         Instead, use input NaN values or generate a qNaN by arithmetic
59774         operation.  Also fix bugs to comply with the standard.
59775         * math/libm-test.inc (remainder_test): Add more tests.
59777         [BZ #15335, #15342]
59778         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
59779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
59780         input NaN values or generate a qNaN by arithmetic operation.
59782         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
59783         unreachable code.
59785         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
59786         definitions.
59788 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
59790         [BZ #14478]
59791         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
59792         underflowed result.
59793         * math/s_cexpf.c (__cexpf): Likewise.
59794         * math/s_cexpl.c (__cexpl): Likewise.
59795         * math/libm-test.inc (cexp_test): Add more tests.
59797 2013-04-03  Andreas Schwab  <schwab@suse.de>
59799         [BZ #15330]
59800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
59801         order arrays from heap if bigger than alloca cutoff.
59803 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
59805         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
59806         (SNAN_TESTS_double): Refer to GCC PR56831.
59807         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
59808         GCC PR56828.
59810 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59812         * Rules (bench): Move bench.out after the run is complete.
59814         * Rules (bench): Echo currently running benchmark.
59816         * benchtests/Makefile (bench): Add atan and slowatan.
59817         * benchtests/atan-inputs: New file.
59818         * benchtests/slowatan-inputs: New file.
59819         * benchtests/slowatan.c: New file.
59821         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
59822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
59823         its value.
59825         [BZ #15305]
59826         * sysdeps/unix/sysv/linux/kernel-features.h
59827         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
59828         __ASSUME_XFS_RESTRICTED_CHOWN.
59829         * sysdeps/unix/sysv/linux/pathconf.c
59830         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
59831         Save and restore errno.
59833 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
59835         [BZ #15327]
59836         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
59837         arguments using __kernel_casinh.
59838         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
59839         arguments using __kernel_casinhf.
59840         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
59841         arguments using __kernel_casinhl.
59842         * math/libm-test.inc (cacosh_test): Add more tests.
59843         * sysdeps/i386/fpu/libm-test-ulps: Update.
59844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59846 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59848         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
59849         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
59851         * bench/Makefile (bench): Add sin and slowsin.
59852         * benchtests/sin-inputs: New file.
59853         * benchtests/slowsin-inputs: New file.
59854         * benchtests/slowsin.c: New file.
59856         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
59857         (bench): Add slowexp and slowpow.
59858         (exp-ITER): Increase iterations.
59859         (pow-ITER): Likewise.
59860         * benchtests/exp-inputs: Change input.
59861         * benchtests/pow-inputs: Likewise.
59862         * benchtests/slowexp-inputs: New file.
59863         * benchtests/slowexp.c: New file.
59864         * benchtests/slowpow-inputs: New file.
59865         * benchtests/slowpow.c: New file.
59867 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59869         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
59870         instructions.
59871         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59872         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
59873         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59874         * benchtests/Makefile: Add rint benchtest.
59875         * benchtests/rint-inputs: Input for rint benchtest.
59877 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59879         * Versions.def (libm): Add GLIBC_2.18.
59880         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
59881         hidden libm prototypes.
59882         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
59883         * math/Makefile (libm-calls): Add s_issignaling.
59884         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
59885         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
59886         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
59887         declaration.
59888         * math/math.h [__USE_GNU] (issignaling): New macro.
59889         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
59890         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
59891         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
59892         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
59893         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
59894         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
59895         * manual/arith.texi (issignaling): New section.
59896         * manual/libm-err-tab.pl (@all_functions): Update comment.
59897         * math/gen-libm-test.pl (parse_args): Apply special handling for
59898         issignaling.
59899         * math/libm-test.inc (print_float, issignaling_test): New
59900         functions.
59901         (check_float_internal): Add issignaling checks.
59902         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
59903         default definition.
59904         * sysdeps/powerpc/math-tests.h: New file.
59905         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
59906         tests.
59907         * math/test-snan.c (TEST_FUNC): Likewise.
59909 2013-03-30  David S. Miller  <davem@davemloft.net>
59911         * po/de.po: Update from translation team.
59913 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
59915         [BZ #10357]
59916         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59917         imaginary part less than 1.0 and real part less than 0.5
59918         specially.
59919         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59920         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59921         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
59922         (cacos_test): Add more tests.
59923         (casin_test): Likewise.
59924         (casinh_test): Likewise.
59925         * sysdeps/i386/fpu/libm-test-ulps: Update.
59926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59928 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59930         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
59931         ONE with its value.
59933         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
59934         (__pow_mp): Replace ONE and MONE with their values.
59935         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59936         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
59937         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59938         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
59939         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59940         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59942         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
59944         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
59945         (__pow_mp): Replace ZERO and MZERO with their values.
59946         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
59947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
59948         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59949         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59950         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
59951         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
59952         (__sqr): Likewise.
59954         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
59956         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
59958 2013-03-28  Roland McGrath  <roland@hack.frob.com>
59960         * include/stdlib.h [!SHARED] (__call_tls_dtors):
59961         Declare with __attribute__ ((weak)).
59962         * stdlib/exit.c (__libc_atexit) [!SHARED]:
59963         Call __call_tls_dtors only if it's not NULL.
59965 2013-03-28  Roland McGrath  <roland@hack.frob.com>
59967         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
59968         didn't do it already, then set _dl_phdr and _dl_phnum based on the
59969         magic __ehdr_start linker symbol if it's defined.
59970         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
59971         them up here if it was already done.
59973         * elf/dl-support.c (_dl_phdr): Make pointer to const.
59974         (_dl_aux_init): Use const in cast when setting it.
59975         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
59976         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
59977         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
59979         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
59980         Declare them here.
59981         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
59982         * csu/libc-tls.c: Nor here.
59983         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
59985         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
59986         (__libc_message): Never call vsyslog.
59988 2013-03-28  Alan Modra  <amodra@gmail.com>
59990         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
59991         Define as empty.
59992         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
59993         Likewise.
59995 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59997         [BZ #15214]
59998         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
59999         underflow.
60000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60002 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60004         [BZ #15304]
60005         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60006         Don't add gid passed as argument.
60008         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60010 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60012         [BZ #15307]
60013         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60014         imaginary part between 1.0 and 1.5 and real part less than 0.5
60015         specially.
60016         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60017         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60018         * math/libm-test.inc (cacos_test): Add more tests.
60019         (casin_test): Likewise.
60020         (casinh_test): Likewise.
60021         * sysdeps/i386/fpu/libm-test-ulps: Update.
60022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60024 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60026         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60027         constants.
60028         (norm): Likewise.
60029         (denorm): Likewise.
60030         (__dbl_mp): Likewise.
60031         (add_magnitudes): Likewise.
60032         (sub_magnitudes): Likewise.
60033         (__add): Likewise.
60034         (__sub): Likewise.
60035         (__mul): Likewise.
60036         (__sqr): Likewise.
60037         (__inv): Likewise.
60038         (__dvd): Likewise.
60040         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60041         commented code.
60042         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60043         (__dubcos): Likewise.
60044         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60045         (__ieee754_acos): Likewise.
60046         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60047         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60048         (__exp1): Likewise.
60049         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60050         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60051         (log1): Likewise.
60052         (my_log2): Likewise.
60053         (checkint): Likewise.
60054         * sysdeps/ieee754/dbl-64/e_remainder.c
60055         (__ieee754_remainder): Likewise.
60056         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60058         (bsloww): Likewise.
60059         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60061         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60062         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60063         MANTISSA_STORE_T to store computations on mantissa.  Use
60064         macros for rounding and division.
60065         (denorm): Likewise.
60066         (__dbl_mp): Likewise.
60067         (add_magnitudes): Likewise.
60068         (sub_magnitudes): Likewise.
60069         (__mul): Likewise.
60070         (__sqr): Likewise.
60071         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60072         powers of two in terms of TWOPOW macro.
60073         (mp_no): Make type of mantissa as MANTISSA_T.
60074         [!RADIXI]: Define RADIXI.
60075         [!TWO52]: Define TWO52.
60076         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60078 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60080         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60081         llroundl symbol when building for PPC32.
60083 2013-03-24  Mark H Weaver  <mhw@netris.org>
60085         * manual/arith.texi (Normalization Functions): Fix prototypes for
60086         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60088 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60090         [BZ #13889]
60091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60092         high value to check if expl overflow.
60093         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60094         to check for underflow and overflow.
60095         * math/libm-test.inc: Add exp test.
60097 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60099         [BZ #11120]
60100         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60101         with NOT_IN_libc.
60103 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60105         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60106         symbol.
60108 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60110         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60111         wrap blocks consisting of several statements.
60113         * sysdeps/generic/math-tests.h: New file.
60114         * sysdeps/i386/fpu/math-tests.h: Likewise.
60115         * math/test-snan.c: Include it.
60116         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60118 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60120         [BZ #15285]
60121         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60122         (__ieee754_j0l): Do not improve calculations using cos of twice
60123         input for inputs above LDBL_MAX / 2.0L.
60124         (__ieee754_y0l): Likewise.
60125         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60126         (__ieee754_j1l): Do not improve calculations using cos of twice
60127         input for inputs above LDBL_MAX / 2.0L.
60128         (__ieee754_y1l): Likewise.
60129         * math/libm-test.inc (j0_test): Add another test.
60130         (j1_test): Likewise.
60131         (y0_test): Likewise.
60132         (y1_test): Likewise.
60133         * sysdeps/i386/fpu/libm-test-ulps: Update.
60135 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60137         * Rules ($(objpfx)bench-%.c): Include code from a C source
60138         file.
60140 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60142         [BZ #15287]
60143         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60144         imaginary part 1.0 and real part less than 0.5 specially.
60145         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60146         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60147         * math/libm-test.inc (cacos_test): Add more tests.
60148         (casin_test): Likewise.
60149         (casinh_test): Likewise.
60150         * sysdeps/i386/fpu/libm-test-ulps: Update.
60151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60153 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60155         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60156         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60158 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60160         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60161         * config.make.in (config-cflags-sse4): Remove variable.
60162         (config-cflags-avx): Likewise.
60163         (config-cflags-sse2avx): Likewise.
60164         (config-cflags-novzeroupper): Likewise.
60165         (config-asflags-i686): Likewise.
60166         (have-mfma4): Likewise.
60167         (have-as-vis3): Likewise.
60168         (MIG): Likewise.
60169         * configure.in (MIG): Do not AC_SUBST.
60170         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60171         (libc_cv_cc_sse4): Do not AC_SUBST.
60172         (libc_cv_cc_avx): Likewise.
60173         (libc_cv_cc_sse2avx): Likewise.
60174         (libc_cv_cc_novzeroupper): Likewise.
60175         (libc_cv_cc_fma4): Likewise.
60176         (libc_cv_as_i686): Likewise.
60177         (libc_cv_sparc_as_vis3): Likewise.
60178         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60179         LIBC_CONFIG_VAR.
60180         (config-asflags-i686): Likewise.
60181         (config-cflags-avx): Likewise.
60182         (config-cflags-sse2avx): Likewise.
60183         (have-mfma4): Likewise.
60184         (config-cflags-novzeroupper): Likewise.
60185         * sysdeps/mach/configure.in (MIG): Likewise.
60186         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60187         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60188         LIBC_CONFIG_VAR.
60189         (config-cflags-avx): Likewise.
60190         (config-cflags-sse2avx): Likewise.
60191         (have-mfma4): Likewise.
60192         (config-cflags-novzeroupper): Likewise.
60193         * configure: Regenerated.
60194         * sysdeps/i386/configure: Likewise.
60195         * sysdeps/mach/configure: Likewise.
60196         * sysdeps/sparc/configure: Likewise.
60197         * sysdeps/x86_64/configure: Likewise.
60199 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60201         [BZ #14812]
60202         * locale/programs/localedef.c (options): Put N_ translation marker
60203         on argument names, not just descriptions.
60205 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60207         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60209 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60211         [BZ #14176]
60212         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60214 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60216         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60217         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60218         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60219         [!BEFORE_ABORT] (before_abort): New function.
60220         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60221         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60222         (writev_for_fatal): New function.
60223         (WRITEV_FOR_FATAL): New macro; call that.
60224         (backtrace_and_maps): New function.
60225         (BEFORE_ABORT): New macro; call that.
60226         (struct str_list): Type removed.
60227         (__libc_message, __libc_fatal): Functions removed.
60228         Include <sysdeps/posix/libc_fatal.c> instead.
60230 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60232         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60233         constants.
60234         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60235         double constants.
60237 2013-03-19  Andreas Schwab  <schwab@suse.de>
60239         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60240         * sysdeps/gnu/configure: Regenerate.
60242         * configure.in: Substitute libc_cv_rtlddir.
60243         * configure: Regenerate.
60244         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60245         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60246         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60247         * elf/Makefile (install-others, CFLAGS-interp.c)
60248         (ldso_install, common-ldd-rewrite): Likewise.
60249         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60250         $(inst_slibdir)/$(rtld-installed-name).
60251         * scripts/rellns-sh: Add -p option.
60252         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60253         for source.
60255 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60257         * manual/nptl.texi: Renamed to ...
60258         * manual/threads.texi: ... this.
60259         * manual/Makefile (chapters): Update.
60261 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60263         [BZ #14812]
60264         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60265         on argument names, not just descriptions.
60266         * malloc/memusagestat.c (options): Likewise.
60267         * nss/getent.c (options): Likewise.
60269 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60271         [BZ #14812]
60272         * iconv/iconv_prog.c (options): Put N_ translation marker
60273         on argument names, not just descriptions.
60274         * iconv/iconvconfig.c (options): Likewise.
60276 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60278         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60279         implementation which is faster on all x86_64 architectures.
60280         Tested on AMD, Intel Nehalem, SNB, IVB.
60281         * sysdeps/x86_64/strnlen.S: Likewise.
60283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60284         Remove all multiarch strlen and strnlen versions.
60285         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60286         Remove strlen and strnlen related parts.
60288         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60289         Inline strlen part.
60290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60292         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60293         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60294         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60295         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60296         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60297         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60299 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60301         * manual/memory.texi (Malloc Tunable Parameters):
60302         Sort parameters alphabetically. Add comments for missing entries.
60304 2013-03-17  David S. Miller  <davem@davemloft.net>
60306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60308 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60310         [BZ #15283]
60311         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60312         for arguments at most half maximum finite value.
60313         * math/libm-test.inc (j0_test): Add more tests.
60314         (j1_test): Likewise.
60315         (y0_test): Likewise.
60316         (y1_test): Likewise.
60317         * sysdeps/i386/fpu/libm-test-ulps: Update.
60318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60320         [BZ #14155]
60321         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60322         1 / x and functions P and Q for arguments above 0x1p256L.
60323         (__ieee754_y0l): Likewise.
60324         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60325         (__ieee754_y1l): Likewise.
60326         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60327         (j1_test): Likewise.
60328         (y0_test): Likewise.
60329         (y1_test): Likewise.
60331 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60333         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60334         variable.
60336 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60338         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60339         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60340         zero since it's initialized to EXEC_PAGESIZE.
60342         * sysdeps/unix/sysv/linux/ldsodefs.h
60343         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60344         * sysdeps/generic/ldsodefs.h: ... here.
60346 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60348         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60350         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60351         math/test-snan.c.
60352         * math/test-snan.c: Renamed from
60353         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60354         * math/Makefile (tests): Add test-snan.
60355         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60356         test-powerpc-snan.
60358         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60359         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60360         functions.
60361         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60362         __builtin_nan family of functions.
60363         * math/libm-test.inc (initialize): Initialize qnan_value with
60364         __builtin_nan family of functions.
60365         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60366         Remove variables.
60367         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60368         Remove functions.
60369         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60370         storage class.  Initialize qNaN_var and sNaN_var with
60371         __builtin_nan and __builtin_nans families of functions,
60372         respectively.
60374         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60375         (sqrt_test): Remove duplicate test with qNaN input.
60376         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60377         (round_test, signbit_test, significand_test): Note missing +/-Inf
60378         as well as qNaN tests.
60380         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60381         qNaN_var.  Fix a few strings, too.
60382         * math/libm-test.inc (nan_value): Rename to qnan_value.
60383         * math/gen-libm-test.pl (%beautify): Adjust to that.
60384         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60385         * math/test-misc.c (main): Likewise.
60386         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60387         to __qnan_bytes, and __qnan_union, respectively.
60388         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60389         Likewise.
60390         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60391         and lqnanval, respectively.
60392         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60393         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60394         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60395         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60397         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60398         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60399         doubles.
60401         * math/test-misc.c (main): Fix copy'n'pastos.
60402         * misc/tst-efgcvt.c (special): Likewise.
60404         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60405         Remove declarations.
60407 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60409         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60410         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60411         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60412         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60414 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60417         macro to return vdso values correctly in IFUNC implementations.
60418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60419         Optimization by using IFUNC.
60421 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60422             Richard Henderson  <rth@redhat.com>
60423             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60425         * Makefile.in (bench): New target.
60426         * NEWS: Mention the benchmark framework.
60427         * Rules (bench): Likewise.
60428         (binaries-bench): Generate binaries for functions to
60429         benchmark.
60430         * benchtests/Makefile: New makefile for benchmark tests.
60431         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60432         programs.
60433         * benchtests/exp-inputs: New input file for EXP function.
60434         * benchtests/pow-inputs: New input file for POW function.
60435         * scripts/bench.pl: New script to generate source files for
60436         benchmark programs.
60438 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60440         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60441         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60442         computations on mantissa.  Use macros for rounding and
60443         division.
60444         (denorm): Likewise.
60445         (__dbl_mp): Likewise.
60446         (add_magnitudes): Likewise.
60447         (sub_magnitudes): Likewise.
60448         (__mul): Likewise.
60449         (__sqr): Likewise.
60450         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60451         powers of two in terms of TWOPOW macro.
60452         (mp_no): Make type of mantissa as MANTISSA_T.
60453         [!RADIXI]: Define RADIXI.
60454         [!TWO52]: Define TWO52.
60455         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60457         * manual/nptl.texi (cindex): Modify threads to pthreads.
60459 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60461         * sysdeps/x86_64/preconfigure: Regenerated.
60463 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60465         [BZ #14155]
60466         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60467         0x1p28 and above.
60468         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60469         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60470         0x1p28 and above.
60471         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60472         * math/libm-test.inc (j0_test): Do not allow one spurious
60473         underflow exception.
60474         (y1_test): Likewise.
60476 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60478         * manual/Makefile (chapters): Add nptl.
60479         * manual/debug.texi (Debugging Support): Add link to Threads
60480         chapter.
60481         * manual/nptl.texi: New file.
60483         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60485 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60487         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60488         for non-NULL pointer before the memory validity test. Pointed
60489         out by Holger Brunck <holger.brunck@keymile.com>.
60491 2013-03-13  Andreas Schwab  <schwab@suse.de>
60493         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60494         instead of .os.
60496 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60498         * timezone/zic.c: Update from tzcode 2013b.
60500 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60502         * manual/install.texi (Configuring and compiling):
60503         Mention i686 and i586.
60504         * INSTALL: Regenerate.
60506 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60508         * sysdeps/init_array/elf-init.c: New file.
60509         * csu/elf-init.c
60510         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60511         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60513         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60514         __gmon_start__ as global, but as static with a .preinit_array pointer.
60515         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60516         * sysdeps/init_array/crti.S: New file, empty except for comments.
60517         * sysdeps/init_array/crtn.S: Likewise.
60519 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60521         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60522         definining bcopy.
60523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60524         Remove Prefer_SSE_for_memop.
60525         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60526         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60527         HAS_PREFER_SSE_FOR_MEMOP.
60528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60529         memset-x86-64.
60530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60531         Remove bzero, memset ifunc support.
60532         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60533         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60534         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60535         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60537 2013-03-11  Andreas Schwab  <schwab@suse.de>
60539         [BZ #15234]
60540         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60541         by SHLIB_COMPAT.
60542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60543         (GLIBC_2.16): Remove pthread_atfork.
60545 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60547         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60548         (ptestcases.h): Likewise.
60550 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60552         * Makeconfig ($(common-objpfx)config.status): Depend on
60553         sysdeps/*/preconfigure{,.in} too.
60555 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60557         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60558         (__free_hook): Use void * instead of __malloc_ptr_t.
60559         (__malloc_hook): Likewise.
60560         (__realloc_hook): Likewise.
60561         (__memalign_hook): Likewise.
60562         (__after_morecore_hook): Likewise.
60563         * malloc/arena.c (save_malloc_hook): Likewise.
60564         (save_free_hook): Likewise.
60565         * malloc/hooks.c (malloc_hook_ini): Likewise.
60566         (realloc_hook_ini): Likewise.
60567         (memalign_hook_ini): Likewise.
60568         * malloc/malloc.c (malloc_hook_ini): Likewise.
60569         (realloc_hook_ini): Likewise.
60570         (memalign_hook_ini): Likewise.
60571         (__free_hook): Likewise.
60572         (__malloc_hook): Likewise.
60573         (__realloc_hook): Likewise.
60574         (__memalign_hook): Likewise.
60575         (__libc_malloc): Likewise.
60576         (__libc_free): Likewise.
60577         (__libc_realloc): Likewise.
60578         (__libc_memalign): Likewise.
60579         (__libc_valloc): Likewise.
60580         (__libc_pvalloc): Likewise.
60581         (__libc_calloc): Likewise.
60582         (__posix_memalign): Likewise.
60583         * malloc/morecore.c (__sbrk): Likewise.
60584         (__default_morecore): Likewise.
60586         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60588         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60589         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60590         __malloc_ptrdiff_t.
60592         * malloc/malloc.h (__malloc_size_t): Remove macro.
60593         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60594         __malloc_size_t.
60595         (old_memalign_hook): Likewise.
60596         (old_realloc_hook): Likewise.
60597         (struct hdr): Likewise.
60598         (flood): Likewise.
60599         (mallochook): Likewise.
60600         (memalignhook): Likewise.
60601         (reallochook): Likewise.
60602         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60603         (tr_old_realloc_hook): Likewise.
60604         (tr_old_memalign_hook): Likewise.
60605         (tr_mallochook): Likewise.
60606         (tr_reallochook): Likewise.
60607         (tr_memalignhook): Likewise.
60609 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60611         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60612         default_ldbl_pack and using as default implementation.
60613         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60614         implementation.
60615         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60616         redundant definition.
60617         (ldbl_insert_mantissa): Likewise.
60618         (ldbl_canonicalize): Likewise.
60619         (ldbl_nearbyint): Likewise.
60620         (ldbl_pack): Rename to ldbl_pack_ppc.
60621         (ldbl_unpack): Rename to ldbl_unpack_ppc.
60622         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60623         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60625 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60627         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60628         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60629         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60630         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60632         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60633         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60634         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60636 2013-03-07  Andreas Jaeger  <aj@suse.de>
60638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60639         bits/mman-linux.h.
60641 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60643         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
60644         Include mpa.h and declare __MPEXP.
60645         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
60646         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60647         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60648         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
60649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60650         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60651         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
60653         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
60654         (__slowpow): Use long double EXPL and LOGL functions to
60655         compute POW.
60656         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60657         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60658         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
60659         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60660         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60661         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
60663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
60664         intermediate variable to calculate exponent.
60665         (__sqr): Likewise.
60666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60667         Likewise.
60668         (__sqr): Likewise.
60670         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
60671         [!NO__SQR]: Define __sqr.
60672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
60673         and NO__SQR.  Remove all code except __mul and __sqr.  Include
60674         sysdeps/ieee754/dbl-64/mpa.c.
60675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60677         [BZ #12723]
60678         * posix/Makefile (tests): Add tst-pathconf.
60679         * posix/tst-pathconf.c: New test case.
60680         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
60681         _PC_PIPE_BUF.
60682         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
60684 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
60686         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
60688 2013-03-06  Andreas Jaeger  <aj@suse.de>
60690         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
60691         definition via __MAP_ANONYMOUS.
60693         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
60694         it's not part of Linux headers.
60696         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
60697         (MAP_HUGE_MASK): Define.
60699         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60700         Define.
60701         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60702         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60703         Define.
60704         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60705         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60706         Define.
60707         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60708         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
60709         Define.
60710         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60712         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
60713         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
60714         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
60715         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
60716         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
60717         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
60719         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60720         Handle f2fs.
60722         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60723         Handle f2fs and efivarfs.
60725         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
60726         f2fs.
60728         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
60729         (EFIVARFS_MAGIC): Add.
60730         (F2FS_LINK_MAX): Add.
60732 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60734         * stdio-common/vfprintf.c: Replace __builtin_expect with
60735         __glibc_unlikely.
60737 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
60739         [BZ #13550]
60740         * sysdeps/generic/bp-sym.h: Remove file.
60741         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
60742         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
60743         <bp-sym.h> and <bp-asm.h>.
60744         (__longjmp): Don't use BP_SYM.
60745         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
60746         and <bp-asm.h>.
60747         (memcpy): Don't use BP_SYM.
60748         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
60749         <bp-sym.h> and <bp-asm.h>.
60750         (memcpy): Don't use BP_SYM.
60751         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
60752         <bp-asm.h>.
60753         (memcpy): Don't use BP_SYM.
60754         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
60755         <bp-asm.h>.
60756         (memset): Don't use BP_SYM.
60757         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60758         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60759         (__bzero): Don't use BP_SYM.
60760         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60761         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60762         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
60763         <bp-sym.h> and <bp-asm.h>.
60764         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60765         pointers.
60766         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
60767         <bp-sym.h> and <bp-asm.h>.
60768         (memcpy): Don't use BP_SYM.
60769         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
60770         <bp-sym.h> and <bp-asm.h>.
60771         (memset): Don't use BP_SYM.
60772         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60773         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60774         (__bzero): Don't use BP_SYM.
60775         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60776         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60777         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
60778         <bp-sym.h> and <bp-asm.h>.
60779         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60780         pointers.
60781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
60782         <bp-sym.h> and <bp-asm.h>.
60783         (memcpy): Don't use BP_SYM.
60784         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
60785         <bp-sym.h> and <bp-asm.h>.
60786         (memset): Don't use BP_SYM.
60787         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60788         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60789         (__bzero): Don't use BP_SYM.
60790         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60791         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60792         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
60793         <bp-sym.h> and <bp-asm.h>.
60794         (__memchr): Don't use BP_SYM.
60795         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
60796         <bp-sym.h> and <bp-asm.h>.
60797         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60798         pointers.
60799         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
60800         <bp-sym.h> and <bp-asm.h>.
60801         (memcpy): Don't use BP_SYM.
60802         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
60803         <bp-sym.h> and <bp-asm.h>.
60804         (__mempcpy): Don't use BP_SYM.
60805         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
60806         <bp-sym.h> and <bp-asm.h>.
60807         (__memrchr): Don't use BP_SYM.
60808         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
60809         <bp-sym.h> and <bp-asm.h>.
60810         (memset): Don't use BP_SYM.
60811         (__bzero): Likewise.
60812         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
60813         <bp-sym.h> and <bp-asm.h>.
60814         (__rawmemchr): Don't use BP_SYM.
60815         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
60816         <bp-sym.h> and <bp-asm.h>.
60817         (__STRCMP): Don't use BP_SYM.
60818         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
60819         <bp-sym.h> and <bp-asm.h>.
60820         (strchr): Don't use BP_SYM.
60821         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
60822         <bp-sym.h> and <bp-asm.h>.
60823         (__strchrnul): Don't use BP_SYM.
60824         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
60825         <bp-sym.h> and <bp-asm.h>.
60826         (strlen): Don't use BP_SYM.
60827         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
60828         <bp-sym.h> and <bp-asm.h>.
60829         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60830         pointers.
60831         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
60832         <bp-sym.h> and <bp-asm.h>.
60833         (__strnlen): Don't use BP_SYM.
60834         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
60835         <bp-sym.h> and <bp-asm.h>.
60836         (__GI__setjmp): Don't use BP_SYM.
60837         (_setjmp): Likewise.
60838         (__sigsetjmp): Likewise.
60839         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
60840         (L(start_addresses)): Don't use BP_SYM.
60841         (_start): Likewise.
60842         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
60843         <bp-asm.h>.
60844         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
60845         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
60846         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60847         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60848         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
60849         <bp-asm.h>.
60850         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
60851         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
60852         about bounded pointers.
60853         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60854         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60855         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
60856         <bp-asm.h>.
60857         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60858         about bounded pointers.  Remove GKM FIXME comments.
60859         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60860         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
60861         <bp-asm.h>.
60862         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
60863         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
60864         Remove GKM FIXME comments.
60865         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60866         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60867         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
60868         <bp-asm.h>.
60869         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60870         about bounded pointers.  Remove GKM FIXME comment.
60871         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
60872         and <bp-asm.h>.
60873         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60874         pointers.
60875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
60876         <bp-sym.h> and <bp-asm.h>.
60877         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
60879         <bp-sym.h> and <bp-asm.h>.
60880         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
60881         comment.
60883 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60885         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
60886         call free(NULL).
60888 2013-03-05  David S. Miller  <davem@davemloft.net>
60890         * po/es.po: Update from translation team.
60892 2013-03-05  Andreas Jaeger  <aj@suse.de>
60894         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
60895         <bits/mman-linux.h>.
60896         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60897         is fine.
60898         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
60899         <bits/mman-linux.h> to end of file.
60900         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60901         is fine.
60902         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
60903         <bits/mman-linux.h> to end of file.
60904         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
60905         is fine.
60906         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
60907         <bits/mman-linux.h> to end of file.
60909         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
60910         (MCL_CURRENT, MCL_FUTURE): Define here.
60912 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60914         [BZ #15232]
60915         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
60916         attribute_hidden.
60917         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60919 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60921         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
60922         fourth parameter needed for rt_sigprocmask syscall.
60923         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
60924         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60925         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
60926         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60927         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60928         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
60930 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
60932         [BZ #13550]
60933         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
60934         comment about bounded pointers.
60935         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
60936         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
60938 2013-03-04  Andreas Jaeger  <aj@suse.de>
60940         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
60941         common definitions.
60943         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
60944         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
60945         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
60946         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60947         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60948         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60950 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60952         [BZ #15055]
60953         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
60954         __ieee754_sqrl instead of __sqrl.
60956 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
60958         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
60959         * sysdeps/powerpc/fpu_control.h: ... here.
60960         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
60961         * sysdeps/powerpc/bits/fenvinline.h: ... here.
60962         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
60963         * sysdeps/powerpc/bits/mathinline.h: ... here.
60965 2013-03-01  Roland McGrath  <roland@hack.frob.com>
60967         * elf/dl-hwcaps.c (_dl_important_hwcaps):
60968         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
60969         to just [NEED_DL_SYSINFO_DSO].
60970         * elf/dl-support.c: Likewise.
60971         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
60972         * elf/rtld.c (dl_main): Likewise.
60973         * elf/setup-vdso.h (setup_vdso): Likewise.
60974         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
60975         * sysdeps/unix/sysv/linux/dl-sysdep.c
60976         (_dl_discover_osversion): Likewise.
60978 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
60980         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
60981         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60983 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
60985         * NEWS: Mention libm performance improvements and non-x86 PI
60986         futex support.
60988         * csu/libc-start.c (__pthread_initialize_minimal): Change
60989         function arguments.
60990         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
60992 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
60994         [BZ #13550]
60995         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
60996         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
60997         <bp-sym.h> and <bp-asm.h>.
60998         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
60999         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61000         and <bp-asm.h>.
61001         (memcpy): Don't use BP_SYM.
61002         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61003         <bp-asm.h>.
61004         (__mpn_add_n): Don't use BP_SYM.
61005         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61006         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61007         and <bp-asm.h>.
61008         (__mpn_addmul_1): Don't use BP_SYM.
61009         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61010         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61011         <bp-sym.h>.
61012         (_setjmp): Don't use BP_SYM.
61013         (__novmx_setjmp): Likewise.
61014         (__GI__setjmp): Likewise.
61015         (__vmx_setjmp): Likewise.
61016         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61017         <bp-sym.h>.
61018         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61019         (__bzero): Don't use BP_SYM.
61020         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61021         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61022         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61023         <bp-sym.h> and <bp-asm.h>.
61024         (memcpy): Don't use BP_SYM.
61025         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61026         <bp-sym.h> and <bp-asm.h>.
61027         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61028         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61029         <bp-sym.h> and <bp-asm.h>.
61030         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61031         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61032         <bp-asm.h>.
61033         (__mpn_lshift): Don't use BP_SYM.
61034         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61035         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61036         <bp-asm.h>.
61037         (memset): Don't use BP_SYM.
61038         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61039         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61040         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61041         <bp-asm.h>.
61042         (__mpn_mul_1): Don't use BP_SYM.
61043         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61044         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61045         <bp-sym.h> and <bp-asm.h>.
61046         (memcmp): Don't use BP_SYM.
61047         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61048         <bp-sym.h> and <bp-asm.h>.
61049         (memcpy): Don't use BP_SYM.
61050         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61051         <bp-sym.h> and <bp-asm.h>.
61052         (memset): Don't use BP_SYM.
61053         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61054         <bp-sym.h> and <bp-asm.h>.
61055         (strncmp): Don't use BP_SYM.
61056         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61057         <bp-sym.h> and <bp-asm.h>.
61058         (memcpy): Don't use BP_SYM.
61059         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61060         <bp-sym.h> and <bp-asm.h>.
61061         (memset): Don't use BP_SYM.
61062         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61063         <bp-sym.h> and <bp-asm.h>.
61064         (__memchr): Don't use BP_SYM.
61065         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61066         <bp-sym.h> and <bp-asm.h>.
61067         (memcmp): Don't use BP_SYM.
61068         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61069         <bp-sym.h> and <bp-asm.h>.
61070         (memcpy): Don't use BP_SYM.
61071         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61072         <bp-sym.h> and <bp-asm.h>.
61073         (__mempcpy): Don't use BP_SYM.
61074         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61075         <bp-sym.h> and <bp-asm.h>.
61076         (__memrchr): Don't use BP_SYM.
61077         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61078         <bp-sym.h> and <bp-asm.h>.
61079         (memset): Don't use BP_SYM.
61080         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61081         <bp-sym.h> and <bp-asm.h>.
61082         (__rawmemchr): Don't use BP_SYM.
61083         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61084         <bp-sym.h> and <bp-asm.h>.
61085         (__STRCMP): Don't use BP_SYM.
61086         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61087         <bp-sym.h> and <bp-asm.h>.
61088         (strchr): Don't use BP_SYM.
61089         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61090         <bp-sym.h> and <bp-asm.h>.
61091         (__strchrnul): Don't use BP_SYM.
61092         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61093         <bp-sym.h> and <bp-asm.h>.
61094         (strlen): Don't use BP_SYM.
61095         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61096         <bp-sym.h> and <bp-asm.h>.
61097         (strncmp): Don't use BP_SYM.
61098         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61099         <bp-sym.h> and <bp-asm.h>.
61100         (__strnlen): Don't use BP_SYM.
61101         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61102         <bp-asm.h>.
61103         (__mpn_rshift): Don't use BP_SYM.
61104         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61105         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61106         <bp-sym.h> and <bp-asm.h>.
61107         (__sigsetjmp): Don't use BP_SYM.
61108         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61109         (L(start_addresses)): Don't use BP_SYM.
61110         (_start): Likewise.
61111         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61112         <bp-asm.h>.
61113         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61114         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61115         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61116         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61117         <bp-asm.h>.
61118         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61119         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61120         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61121         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61122         <bp-asm.h>.
61123         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61124         comments.
61125         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61126         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61127         <bp-asm.h>.
61128         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61129         FIXME comments.
61130         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61131         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61132         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61133         <bp-asm.h>.
61134         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61135         comment.
61136         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61137         and <bp-asm.h>.
61138         (strncmp): Don't use BP_SYM,
61139         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61140         <bp-asm.h>.
61141         (__mpn_sub_n): Don't use BP_SYM.
61142         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61143         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61144         and <bp-asm.h>.
61145         (__mpn_submul_1): Don't use BP_SYM.
61146         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61148         <bp-sym.h> and <bp-asm.h>.
61149         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61151         <bp-sym.h> and <bp-asm.h>.
61152         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61153         comment.
61155 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61158         Use ZK to minimize writes to Z.
61159         (sub_magnitudes): Simplify code a bit.
61160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61161         Use ZK to minimize writes to Z.
61162         (sub_magnitudes): Simplify code a bit.
61164 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61166         * csu/gmon-start.c: Add special exception to license text.
61168 2013-02-27  Richard Henderson  <rth@redhat.com>
61170         * scripts/config.guess: Update from config.git.
61171         * scripts/config.sub: Likewise.
61173 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61175         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61177         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61179         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61181         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61183         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61185 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61187         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61188         [$(build-shared = yes].
61190 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61192         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61193         (__mul): Reduce iterations for calculating mantissa.
61195         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61196         MPTWO.
61197         (__mpranred): Likewise.
61199         [BZ #15160]
61200         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61201         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61203 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61205         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61206         Define __attribute__.
61208 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61210         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61211         unused.
61212         * posix/regex_internal.h (__attribute): Remove.
61213         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61214         (re_string_context_at): Likewise.
61215         (bitset_not): Use __attribute__ and mark function as possibly
61216         unused.
61217         (bitset_merge): Likewise.
61218         (bitset_mask): Likewise.
61219         (re_string_char_size_at): Likewise.
61220         (re_string_wchar_at): Likewise.
61221         (re_string_elem_size_at): Likewise.
61223 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61225         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61226         code.
61227         (cc32): Likewise.
61229         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61230         (__acr): Likewise.
61231         (__cpy): Likewise.
61232         (norm): Likewise.
61233         (denorm): Likewise.
61234         (__dbl_mp): Likewise.
61235         (add_magnitudes): Likewise.
61236         (sub_magnitudes): Likewise.
61237         (__mul): Likewise.
61238         (__inv): Likewise.
61240         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61241         style.
61243         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61244         style.
61246         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61247         code.
61249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61250         up changes with default code.
61251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61252         Likewise.
61254 2013-02-24  Allan McRae  <allan@archlinux.org>
61256         * manual/socket.texi (The Internet Namespace): Order menu items
61257         to match that in the file.
61259         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61260         node listing of the info page menu.
61262 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61264         [BZ #13550]
61265         * sysdeps/i386/bp-asm.h: Remove file.
61266         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61267         (PARMS): Do not use macros from bp-asm.h.
61268         (S1): Likewise.
61269         (S2): Likewise.
61270         (SIZE): Likewise.
61271         (__mpn_add_n): Do not use BP_SYM
61272         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61273         "bp-asm.h".
61274         (PARMS): Do not use macros from bp-asm.h.
61275         (S1): Likewise.
61276         (SIZE): Likewise.
61277         (__mpn_addmul_1): Do not use BP_SYM
61278         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61279         "bp-asm.h".
61280         (PARMS): Do not use macros from bp-asm.h.
61281         (SIGMSK): Likewise.
61282         (_setjmp): Likewise.  Do not use BP_SYM.
61283         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61284         "bp-asm.h".
61285         (PARMS): Do not use macros from bp-asm.h.
61286         (SIGMSK): Likewise.
61287         (setjmp): Likewise.  Do not use BP_SYM.
61288         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61289         "bp-asm.h".
61290         (PARMS): Do not use macros from bp-asm.h.
61291         (__frexp): Do not use BP_SYM.
61292         (frexp): Likewise.
61293         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61294         "bp-asm.h".
61295         (PARMS): Do not use macros from bp-asm.h.
61296         (__frexpf): Do not use BP_SYM.
61297         (frexpf): Likewise.
61298         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61299         "bp-asm.h".
61300         (PARMS): Do not use macros from bp-asm.h.
61301         (__frexpl): Do not use BP_SYM.
61302         (frexpl): Likewise.
61303         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61304         "bp-asm.h".
61305         (PARMS): Do not use macros from bp-asm.h.
61306         (__remquo): Do not use BP_SYM.
61307         (remquo): Likewise.
61308         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61309         "bp-asm.h".
61310         (PARMS): Do not use macros from bp-asm.h.
61311         (__remquof): Do not use BP_SYM.
61312         (remquof): Likewise.
61313         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61314         "bp-asm.h".
61315         (PARMS): Do not use macros from bp-asm.h.
61316         (__remquol): Do not use BP_SYM.
61317         (remquol): Likewise.
61318         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61319         "bp-asm.h".
61320         (PARMS): Do not use macros from bp-asm.h.
61321         (DEST): Likewise.
61322         (SRC): Likewise.
61323         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61324         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61325         "bp-asm.h".
61326         (PARMS): Do not use macros from bp-asm.h.
61327         (strlen): Do not use BP_SYM.
61328         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61329         "bp-asm.h".
61330         (PARMS): Do not use macros from bp-asm.h.
61331         (S1): Likewise.
61332         (S2): Likewise.
61333         (SIZE): Likewise.
61334         (__mpn_add_n): Do not use BP_SYM.
61335         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61336         "bp-asm.h".
61337         (PARMS): Do not use macros from bp-asm.h.
61338         (S1): Likewise.
61339         (SIZE): Likewise.
61340         (__mpn_addmul_1): Do not use BP_SYM.
61341         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61342         weak_alias.
61343         (bzero): Likewise.
61344         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61345         "bp-asm.h".
61346         (PARMS): Do not use macros from bp-asm.h.
61347         (S): Likewise.
61348         (SIZE): Likewise.
61349         (__mpn_lshift): Do not use BP_SYM.
61350         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61351         "bp-asm.h".
61352         (PARMS): Do not use macros from bp-asm.h.
61353         (DEST): Likewise.
61354         (SRC): Likewise.
61355         (LEN): Likewise.
61356         (memcpy): Likewise.  Do not use BP_SYM.
61357         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61358         libc_hidden_def and weak_alias.
61359         (mempcpy): Do not use BP_SYM in weak_alias.
61360         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61361         "bp-asm.h".
61362         (PARMS): Do not use macros from bp-asm.h.
61363         (DEST): Likewise.
61364         (LEN): Likewise.
61365         [!BZERO_P] (CHR): Likewise.
61366         (memset): Likewise.  Do not use BP_SYM.
61367         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61368         "bp-asm.h".
61369         (PARMS): Do not use macros from bp-asm.h.
61370         (S1): Likewise.
61371         (SIZE): Likewise.
61372         (__mpn_mul_1): Do not use BP_SYM.
61373         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61374         "bp-asm.h".
61375         (PARMS): Do not use macros from bp-asm.h.
61376         (S): Likewise.
61377         (SIZE): Likewise.
61378         (__mpn_rshift): Do not use BP_SYM.
61379         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61380         "bp-asm.h".
61381         (PARMS): Do not use macros from bp-asm.h.
61382         (STR): Likewise.
61383         (CHR): Likewise.
61384         (strchr): Likewise.  Do not use BP_SYM.
61385         (index): Do not use BP_SYM in weak_alias.
61386         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61387         "bp-asm.h".
61388         (PARMS): Do not use macros from bp-asm.h.
61389         (DEST): Likewise.
61390         (SRC): Likewise.
61391         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61392         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61393         "bp-asm.h".
61394         (PARMS): Do not use macros from bp-asm.h.
61395         (strlen): Do not use BP_SYM.
61396         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61397         "bp-asm.h".
61398         (PARMS): Do not use macros from bp-asm.h.
61399         (S1): Likewise.
61400         (S2): Likewise.
61401         (SIZE): Likewise.
61402         (__mpn_sub_n): Do not use BP_SYM.
61403         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61404         "bp-asm.h".
61405         (PARMS): Do not use macros from bp-asm.h.
61406         (S1): Likewise.
61407         (SIZE): Likewise.
61408         (__mpn_submul_1): Do not use BP_SYM.
61409         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61410         "bp-asm.h".
61411         (PARMS): Do not use macros from bp-asm.h.
61412         (S1): Likewise.
61413         (S2): Likewise.
61414         (SIZE): Likewise.
61415         (__mpn_add_n): Do not use BP_SYM.
61416         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61417         weak_alias.
61418         (bzero): Likewise.
61419         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61420         "bp-asm.h".
61421         (PARMS): Do not use macros from bp-asm.h.
61422         (BLK2): Likewise.
61423         (LEN): Likewise.
61424         (memcmp): Do not use BP_SYM.
61425         (bcmp): Do not use BP_SYM in weak_alias.
61426         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61427         "bp-asm.h".
61428         (PARMS): Do not use macros from bp-asm.h.
61429         (DEST): Likewise.
61430         (SRC): Likewise.
61431         (LEN): Likewise.
61432         (memcpy): Likewise.  Do not use BP_SYM.
61433         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61434         "bp-asm.h".
61435         (PARMS): Do not use macros from bp-asm.h.
61436         (DEST): Likewise.
61437         (SRC): Likewise.
61438         (LEN): Likewise.
61439         (memmove): Likewise.  Do not use BP_SYM.
61440         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61441         "bp-asm.h".
61442         (PARMS): Do not use macros from bp-asm.h.
61443         (DEST): Likewise.
61444         (SRC): Likewise.
61445         (LEN): Likewise.
61446         (__mempcpy): Likewise.  Do not use BP_SYM.
61447         (mempcpy): Do not use BP_SYM in weak_alias.
61448         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61449         "bp-asm.h".
61450         (PARMS): Do not use macros from bp-asm.h.
61451         (DEST): Likewise.
61452         (LEN): Likewise.
61453         [!BZERO_P] (CHR): Likewise.
61454         (memset): Likewise.  Do not use BP_SYM.
61455         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61456         "bp-asm.h".
61457         (PARMS): Do not use macros from bp-asm.h.
61458         (STR2): Likewise.
61459         (strcmp): Do not use BP_SYM.
61460         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61461         "bp-asm.h".
61462         (PARMS): Do not use macros from bp-asm.h.
61463         (STR): Likewise.
61464         (DELIM): Likewise.
61465         [USE_AS_STRTOK_R] (SAVE): Likewise.
61466         (FUNCTION): Likewise.  Do not use BP_SYM.
61467         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61468         aliases.
61469         (strtok_r): Likewise.
61470         (__GI___strtok_r): Likewise.
61471         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61472         (PARMS): Do not use macros from bp-asm.h.
61473         (S): Likewise.
61474         (SIZE): Likewise.
61475         (__mpn_lshift): Do not use BP_SYM.
61476         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61477         (PARMS): Do not use macros from bp-asm.h.
61478         (STR): Likewise.
61479         (CHR): Likewise.
61480         (__memchr): Do not use BP_SYM.
61481         (memchr): Do not use BP_SYM in weak_alias.
61482         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61483         (PARMS): Do not use macros from bp-asm.h.
61484         (BLK2): Likewise.
61485         (LEN): Likewise.
61486         (memcmp): Do not use BP_SYM.
61487         (bcmp): Do not use BP_SYM in weak_alias.
61488         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61489         (PARMS): Do not use macros from bp-asm.h.
61490         (S1): Likewise.
61491         (SIZE): Likewise.
61492         (__mpn_mul_1): Do not use BP_SYM.
61493         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61494         "bp-asm.h".
61495         (PARMS): Do not use macros from bp-asm.h.
61496         (STR): Likewise.
61497         (CHR): Likewise.
61498         (__rawmemchr): Do not use BP_SYM.
61499         (rawmemchr): Do not use BP_SYM in weak_alias.
61500         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61501         (PARMS): Do not use macros from bp-asm.h.
61502         (S): Likewise.
61503         (SIZE): Likewise.
61504         (__mpn_rshift): Do not use BP_SYM.
61505         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61506         (PARMS): Do not use macros from bp-asm.h.
61507         (SIGMSK): Likewise.
61508         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61509         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61510         (_start): Do not use BP_SYM.
61511         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61512         (PARMS): Do not use macros from bp-asm.h.
61513         (DEST): Likewise.
61514         (SRC): Likewise.
61515         (__stpcpy): Likewise.  Do not use BP_SYM.
61516         (stpcpy): Do not use BP_SYM in weak_alias.
61517         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61518         "bp-asm.h".
61519         (PARMS): Do not use macros from bp-asm.h.
61520         (DEST): Likewise.
61521         (SRC): Likewise.
61522         (LEN): Likewise.
61523         (__stpncpy): Likewise.  Do not use BP_SYM.
61524         (stpncpy): Do not use BP_SYM in weak_alias.
61525         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61526         (PARMS): Do not use macros from bp-asm.h.
61527         (STR): Likewise.
61528         (CHR): Likewise.
61529         (strchr): Likewise.  Do not use BP_SYM.
61530         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61531         "bp-asm.h".
61532         (PARMS): Do not use macros from bp-asm.h.
61533         (STR): Likewise.
61534         (CHR): Likewise.
61535         (__strchrnul): Likewise.  Do not use BP_SYM.
61536         (strchrnul): Do not use BP_SYM in weak_alias.
61537         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61538         "bp-asm.h".
61539         (PARMS): Do not use macros from bp-asm.h.
61540         (STOP): Likewise.
61541         (strcspn): Do not use BP_SYM.
61542         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61543         "bp-asm.h".
61544         (PARMS): Do not use macros from bp-asm.h.
61545         (STR): Likewise.
61546         (STOP): Likewise.
61547         (strpbrk): Likewise.  Do not use BP_SYM.
61548         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61549         "bp-asm.h".
61550         (PARMS): Do not use macros from bp-asm.h.
61551         (STR): Likewise.
61552         (CHR): Likewise.
61553         (strrchr): Likewise.  Do not use BP_SYM.
61554         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61555         (PARMS): Do not use macros from bp-asm.h.
61556         (SKIP): Likewise.
61557         (strspn): Do not use BP_SYM.
61558         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61559         (PARMS): Do not use macros from bp-asm.h.
61560         (STR): Likewise.
61561         (DELIM): Likewise.
61562         (SAVE): Likewise.
61563         (FUNCTION): Likewise.  Do not use BP_SYM.
61564         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61565         aliases.
61566         (strtok_r): Likewise.
61567         (__GI___strtok_r): Likewise.
61568         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61569         (PARMS): Do not use macros from bp-asm.h.
61570         (S1): Likewise.
61571         (S2): Likewise.
61572         (SIZE): Likewise.
61573         (__mpn_sub_n): Do not use BP_SYM.
61574         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61575         "bp-asm.h".
61576         (PARMS): Do not use macros from bp-asm.h.
61577         (S1): Likewise.
61578         (SIZE): Likewise.
61579         (__mpn_submul_1): Do not use BP_SYM.
61580         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61581         <bp-sym.h>.
61582         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61583         and <bp-asm.h>.
61584         (PARMS): Do not use macros from bp-asm.h.
61585         (FLAGS): Likewise.
61586         (PTID): Likewise.
61587         (TLS): Likewise.
61588         (CTID): Likewise.
61589         (__clone): Do not use BP_SYM.
61590         (clone): Do not use BP_SYM in weak_alias.
61591         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61592         and <bp-asm.h>.
61593         (PARMS): Do not use macros from bp-asm.h.
61594         (LEN): Likewise.
61595         (__mmap64): Do not use BP_SYM.
61596         (mmap64): Do not use BP_SYM in weak_alias.
61597         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61598         <bp-sym.h> and <bp-asm.h>.
61599         (PARMS): Do not use macros from bp-asm.h.
61600         (__posix_fadvise64_l64): Do not use BP_SYM.
61601         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61602         (PARMS): Do not use macros from bp-asm.h.
61603         (NSOPS): Likewise.
61604         (semtimedop): Do not use BP_SYM.
61605         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61606         and <bp-asm.h>.
61608 2013-02-21  Allan McRae  <allan@archlinux.org>
61610         * manual/message.texi (Charset conversion in gettext):
61611         Move @end statement to beginning of line.
61613 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61616         static.
61617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61618         Likewise.
61620         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61621         (denorm): Likewise.
61622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61625 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61627         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61628         tail-call to the resolved function if pltexit isn't needed.
61630 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61633         or Y being zero as being unlikely.
61634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61635         Likewise.
61637 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
61639         * manual/nss.texi (System Databases and Name Service Switch):
61640         Remove frobnicate @pxref.
61642 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61644         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61645         __attribute__ ((unused)) to __attribute__ ((__unused__)).
61647 2013-02-20  Petr Machata  <pmachata@redhat.com>
61649         * elf/elf.h (R_ARM_TARGET1): New macro.
61650         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
61651         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
61652         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
61653         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
61654         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
61655         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
61656         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
61657         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
61658         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
61659         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
61660         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
61661         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
61662         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
61663         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
61664         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
61665         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
61666         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
61667         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61668         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
61669         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
61670         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
61671         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
61672         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
61673         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
61674         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
61675         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
61676         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
61677         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61678         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
61679         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
61680         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
61681         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
61682         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
61683         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
61684         (R_ARM_THM_GOT_BREL12): Likewise.
61685         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
61686         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
61687         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
61688         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
61689         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
61690         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
61691         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
61692         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
61693         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
61695 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61697         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61698         __attribute_used__ to __attribute__ ((unused)).
61700 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61702         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
61703         powerpc mpa.c.
61704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
61705         comment formatting.
61706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61708 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
61710         [BZ #13550]
61711         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
61712         Remove macro.
61713         (ENTER): Remove both macro definitions.
61714         (LEAVE): Likewise.
61715         (CHECK_BOUNDS_LOW): Likewise.
61716         (CHECK_BOUNDS_HIGH): Likewise.
61717         (CHECK_BOUNDS_BOTH): Likewise.
61718         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
61719         (RETURN_BOUNDED_POINTER): Likewise.
61720         (RETURN_NULL_BOUNDED_POINTER): Likewise.
61721         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
61722         (POP_ERRNO_LOCATION_RETURN): Likewise.
61723         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
61724         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61725         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
61726         macros.
61727         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61728         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
61729         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
61730         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
61731         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
61732         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
61733         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
61734         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
61735         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
61736         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
61737         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
61738         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
61739         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61740         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
61741         removed macros.
61742         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61743         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
61744         macros.
61745         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61746         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
61747         * sysdeps/i386/i586/memset.S (memset): Likewise.
61748         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
61749         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61750         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
61751         macros.
61752         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61753         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
61754         Change uses of L(2) to L(out).
61755         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
61756         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
61757         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
61758         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61759         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
61760         removed macros.
61761         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61762         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
61763         macros.
61764         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61765         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
61766         (RETURN): Do not use macro LEAVE.
61767         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
61768         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
61769         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
61770         * sysdeps/i386/i686/memset.S (memset): Likewise.
61771         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
61772         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
61773         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61774         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
61775         Likewise.
61776         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61777         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
61778         L(1_2) and L(1_3) into L(1).
61779         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61780         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
61781         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61782         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
61783         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61784         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
61785         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
61786         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61787         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
61788         macros.
61789         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
61790         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61791         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
61792         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
61793         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
61794         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61795         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
61796         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
61797         * sysdeps/i386/strcspn.S (strcspn): Likewise.
61798         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
61799         * sysdeps/i386/strrchr.S (strrchr): Likewise.
61800         * sysdeps/i386/strspn.S (strspn): Likewise.
61801         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
61802         conditional code.
61803         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61804         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
61805         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61806         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
61807         L(1_3) into L(1_1).
61808         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
61809         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61810         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
61811         macros.
61812         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61814 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
61816         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
61817         macro.
61819 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61821         * math/atest-exp.c (exp_mpn): Remove ROUND.
61822         * math/atest-exp2.c (exp_mpn): Likewise.
61823         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
61825         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
61826         * stdlib/tst-tls-atexit-lib.c: Likewise.
61827         * stdlib/tst-tls-atexit.c: Likewise.
61829 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61831         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
61832         and __attribute_alloc_size__.
61834 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61836         * include/programs/xmalloc.h: Change __attribute_alloc_size to
61837         __attribute_alloc_size__.
61838         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
61839         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
61841 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61843         * include/programs/xmalloc.h: New file.
61844         * catgets/gencat.c: Include it.
61845         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
61846         * elf/pldd.c: Likewise.
61847         * iconv/iconv_charmap.c: Likewise.
61848         * iconv/iconvconfig.c: Likewise.
61849         * iconv/strtab.c: Likewise.
61850         * locale/programs/locale.c: Likewise.
61851         * locale/programs/localedef.h: Likewise.
61852         * locale/programs/simple-hash.c: Likewise.
61853         * nscd/nscd.h: Likewise.
61854         * nss/makedb.c: Likewise.
61855         * sysdeps/generic/ldconfig.h: Likewise.
61857 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61859         * Versions.def: Add GLIBC_2.18.
61860         * include/link.h (struct link_map): New member l_tls_dtor_count.
61861         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
61862         (__call_tls_dtors): Likewise.
61863         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
61864         __cxa_thread_atexit_impl.
61865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61866         Likewise.
61867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61868         Likewise.
61869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
61870         Likewise.
61871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
61872         Likewise.
61873         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
61875         Likewise.
61876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
61877         Likewise.
61878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61880         Likewise.
61881         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
61882         (tests): Add test case tst-tls-atexit.
61883         (modules-names): Add shared library for tst-tls-atexit.
61884         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
61885         (GLIBC_PRIVATE): Add __call_tls_dtors.
61886         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
61887         for libstdc++.
61888         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
61889         * stdlib/tst-tls-atexit.c: New test case.
61890         * stdlib/tst-tls-atexit-lib.c: New test case.
61892         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
61894         * elf/Versions (ld): Add _dl_find_dso_for_object.
61895         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
61896         * elf/dl-open.c (_dl_find_dso_for_object): New function.
61897         (dl_open_worker): Use _dl_find_dso_for_object.
61898         * elf/dl-sym.c (do_sym): Likewise.
61899         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
61901 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61903         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
61904         Syntactic changes only.
61905         (_dl_runtime_profile): Do a tail-call to the resolved function.
61907 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
61909         [BZ #13550]
61910         * sysdeps/x86_64/bp-asm.h: Remove file.
61911         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
61912         <bp-sym.h> and <bp-asm.h>.
61913         (__clone): Do not use BP_SYM.
61914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
61915         <bp-sym.h> and <bp-asm.h>.
61916         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61917         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
61918         "bp-asm.h".
61919         (_setjmp): Do not use BP_SYM.
61920         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
61921         "bp-asm.h".
61922         (setjmp): Do not use BP_SYM.
61923         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
61924         libc_hidden_def.
61925         (mempcpy): Do not use BP_SYM in weak_alias.
61926         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
61927         "bp-asm.h".
61928         (strchr): Do not use BP_SYM.
61929         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
61930         "bp-asm.h".
61931         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
61932         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
61933         (_start): Do not use BP_SYM.
61934         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
61935         "bp-asm.h".
61936         (strcat): Do not use BP_SYM.
61937         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
61938         "bp-asm.h".
61939         (STRCMP): Do not use BP_SYM.
61940         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
61941         "bp-asm.h".
61942         (STRCPY): Do not use BP_SYM.
61943         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
61944         "bp-asm.h".
61945         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
61946         "bp-asm.h".
61947         (FUNCTION): Do not use BP_SYM.
61948         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
61949         weak_alias.
61950         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
61952 2013-02-17  Andreas Jaeger  <aj@suse.de>
61954         * time/Versions: Sort entries.
61955         * string/Versions: Likewise.
61956         * resolv/Versions: Likewise.
61957         * posix/Versions: Likewise.
61958         * iconv/Versions: Likewise.
61959         * elf/Versions: Likewise.
61960         * wcsmbs/Versions: Likewise.
61962 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61964         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
61965         loop termination condition.
61967         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
61968         variable to calculate EZ.
61969         (__sqr): Likewise.
61971         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
61972         the lower precision input.
61974 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
61976         [BZ #13550]
61977         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
61978         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
61979         (run-via-rtld-prefix): Do not handle %-bp tests.
61980         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
61981         (all-object-suffixes): Remove .ob.
61982         (bppfx): Remove variable.
61983         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
61984         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
61985         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
61986         [$(build-bounded) = yes] (libtype.ob): Likewise.
61987         * Makerules (elide-routines.ob): Remove variable.
61988         (do-tests-clean): Do not handle *-bp.out.
61989         (common-mostlyclean): Do not handle *-bp and *-bp.out.
61990         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
61991         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
61992         (tests): Do not include $(tests-bp.out).
61993         (xtests): Do not include $(xtests-bp.out).
61994         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
61995         [$(build-bounded) = yes] ($(addprefix
61996         $(objpfx),$(binaries-bounded))): Remove rule.
61997         ($(objpfx)%-bp.out): Remove rule.
61998         * config.make.in (build-bounded): Remove variable.
61999         * crypt/Makefile [$(build-bounded) = yes]
62000         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62001         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62002         append to variable.
62003         [$(build-bounded) = yes] (install-lib): Likewise.
62004         [$(build-bounded) = yes] (generated): Likewise.
62005         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62006         Remove rule.
62007         * intl/Makefile [$(build-bounded) = yes]
62008         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62009         * math/Makefile [$(build-bounded) = yes]
62010         ($(tests:%=$(objpfx)%-bp): Likewise.
62011         * misc/Makefile [$(build-bounded) = yes]
62012         ($(objpfx)tst-tsearch-bp): Likewise.
62013         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62014         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62015         Remove dependency.
62016         * string/Makefile (o-objects.ob): Remove variable.
62017         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62018         (CFLAGS-.ob): Remove variable.
62019         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62020         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62021         both definitions of variable.
62022         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62023         (ASFLAGS-.ob): Remove variable.
62025 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62027         [BZ #13550]
62028         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62029         Remove __BOUNDED_POINTERS__ from condition.
62030         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62031         * string/bits/string2.h [!__NO_STRING_INLINES &&
62032         !__BOUNDED_POINTERS__]: Likewise.
62033         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62034         Likewise.
62035         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62036         Remove conditional code.
62037         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62038         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62039         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62040         condition.
62042         [BZ #13550]
62043         * csu/libc-start.c: Do not include <bp-sym.h>.
62044         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62045         * elf/dl-open.c: Do not include <bp-sym.h>.
62046         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62047         * math/fegetenv.c: Do not include <bp-sym.h>.
62048         (fegetenv): Do not use BP_SYM in versioned symbols.
62049         * nptl/sysdeps/pthread/bits/libc-lockP.h
62050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62051         <bp-sym.h>.
62052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62053         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62055         (__pthread_mutex_destroy): Likewise.
62056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62057         (__pthread_mutex_lock): Likewise.
62058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62059         (__pthread_mutex_trylock): Likewise.
62060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62061         (__pthread_mutex_unlock): Likewise.
62062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62063         (__pthread_mutexattr_init): Likewise.
62064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62065         (__pthread_mutexattr_destroy): Likewise.
62066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62067         (__pthread_mutexattr_settype): Likewise.
62068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62069         (__pthread_rwlock_init): Likewise.
62070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62071         (__pthread_rwlock_destroy): Likewise.
62072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62073         (__pthread_rwlock_rdlock): Likewise.
62074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62075         (__pthread_rwlock_tryrdlock): Likewise.
62076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62077         (__pthread_rwlock_wrlock): Likewise.
62078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62079         (__pthread_rwlock_trywrlock): Likewise.
62080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62081         (__pthread_rwlock_unlock): Likewise.
62082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62083         (__pthread_key_create): Likewise.
62084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62085         (__pthread_setspecific): Likewise.
62086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62087         (__pthread_getspecific): Likewise.
62088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62089         Likewise.
62090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62091         (_pthread_cleanup_push_defer): Likewise.
62092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62093         (_pthread_cleanup_pop_restore): Likewise.
62094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62095         (pthread_setcancelstate): Likewise.
62096         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62097         <bp-sym.h>.
62098         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62099         (memchr): Do not use BP_SYM in weak_alias.
62100         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62101         (fegetenv): Do not use BP_SYM in versioned symbols.
62102         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62103         (fesetenv): Do not use BP_SYM in versioned symbols.
62104         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62105         (feupdateenv): Do not use BP_SYM in versioned symbols.
62106         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62107         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62108         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62109         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62110         (open64): Do not use BP_SYM in weak_alias.
62111         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62112         (fegetenv): Do not use BP_SYM in versioned symbols.
62113         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62114         (fesetenv): Do not use BP_SYM in versioned symbols.
62115         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62116         (feupdateenv): Do not use BP_SYM in versioned symbols.
62117         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62118         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62119         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62120         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62121         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62122         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62123         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62124         <bp-sym.h>.
62125         (__libc_start_main): Do not use BP_SYM.
62127 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62130         redundant return line.
62131         (norm): Likewise.
62132         (denorm): Likewise.
62133         (dbl_mp): Likewise.
62134         (sub_magnitudes): Likewise.
62135         (__add): Likewise.
62136         (__sub): Likewise.
62137         (__mul): Likewise.
62138         (__inv): Likewise.
62139         (__dvd): Likewise.
62140         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62141         (norm): Likewise.
62142         (denorm): Likewise.
62143         (dbl_mp): Likewise.
62144         (sub_magnitudes): Likewise.
62145         (__add): Likewise.
62146         (__sub): Likewise.
62147         (__mul): Likewise.
62148         (__inv): Likewise.
62149         (__dvd): Likewise.
62151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62152         instead of __mul.
62153         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62154         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62155         (cc32): Likewise.
62157         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62158         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62160         of __mul for squares.
62161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62162         function
62163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62164         Likewise.
62165         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62166         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62168 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62170         [BZ #13550]
62171         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62172         code.
62173         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62174         prototype or function definition.  Rename ubp_* variables and
62175         parameters.  Remove argv definitions conditional on
62176         [__BOUNDED_POINTERS__].
62177         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62178         * elf/dl-runtime.c (_dl_fixup): Likewise.
62179         * include/set-hooks.h (RUN_HOOK): Likewise.
62180         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62181         definition.
62182         * string/strcpy.c (strcpy): Do not use __unbounded.
62183         * sysdeps/generic/frame.h (struct layout): Likewise.
62184         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62185         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62186         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62187         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62188         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62189         (__backtrace): Likewise.
62190         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62191         use __ptrvalue.
62192         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62193         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62194         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62195         Likewise.
62196         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62197         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62198         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62199         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62200         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62201         Do not use __unbounded.
62202         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62203         Rename __unboundedrlimits parameter to rlimits in prototype.
62204         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62205         Do not use __unbounded.
62206         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62207         not use __ptrvalue.
62208         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62209         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62210         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62211         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62212         __ptrvalue or __unbounded.
62213         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62214         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62215         use __unbounded.
62216         (__new_msgctl): Do not use __ptrvalue.
62217         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62218         __unbounded.
62219         (__libc_msgrcv): Do not use __ptrvalue.
62220         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62221         startup_info): Do not use __unbounded.
62222         (__libc_start_main): Likewise.  Rename ubp_* variables and
62223         parameters.  Remove argv definitions conditional on
62224         [__BOUNDED_POINTERS__].
62225         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62226         __ptrvalue.
62227         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62228         use __unbounded.
62229         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62230         or __ptrvalue.
62231         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62232         use __unbounded.
62233         (__new_shmctl): Do not use __ptrvalue.
62234         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62235         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62236         Likewise.
62237         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62238         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62239         (__libc_sigaction): Likewise.
62240         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62241         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62242         Likewise.
62243         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62245 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62247         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62249         * string/mempcpy.c: Implement by calling memcpy.
62251 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62255         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62256         evaluation.
62258         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62259         values in the mantissa.
62261         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62262         minimize writes to Z.
62263         (sub_magnitudes): Simplify code a bit.
62265 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62267         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62268         from the message.  The linker prefixes all warnings with that already.
62270 2013-02-12  Andreas Schwab  <schwab@suse.de>
62272         [BZ #15078]
62273         * posix/regexec.c (extend_buffers): Add parameter min_len.
62274         (check_matching): Pass minimum needed length.
62275         (clean_state_log_if_needed): Likewise.
62276         (get_subexp): Likewise.
62277         * posix/Makefile (tests): Add bug-regex34.
62278         (bug-regex34-ENV): Define.
62279         * posix/bug-regex34.c: New file.
62281         [BZ #11561]
62282         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62283         elements compare against the byte sequence of it, not its name.
62284         * posix/Makefile (tests): Add bug-regex35.
62285         (bug-regex35-ENV): Define.
62286         * posix/bug-regex35.c: New file.
62288 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62290         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62291         comment.
62292         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62293         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62294         (CHECK_EOL): Add undef.
62296 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62298         * bits/stdlib-bsearch.h: New file.
62299         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62300         * stdlib/stdlib.h: Likewise.
62302 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62304         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62305         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62306         declaration.
62307         * manual/search.texi (Array Search Function): Add missing const in
62308         lfind prototype.
62309         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62310         declaration to use rlim_t.
62311         (Basic Scheduling Functions): Remove erroneous const from
62312         sched_getparam prototype.  Remove erroneous * from
62313         sched_get_priority_max and sched_get_priority_min prototypes.
62314         (Resource Usage): Fix summary @comment on vtimes to refer to
62315         sys/vtimes.h rather than vtimes.h.
62316         Add missing *s in vtimes prototype.
62317         (Limits on Resources): Fix ulimit prototype to return long int.
62318         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62319         prototypes to use long int rather than double.
62320         (BSD Random): Fix initstate and setstate to use char *, not void *.
62321         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62322         prototype to make second argument 'struct aiocb64 *const[]'.
62323         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62324         (Status of AIO Operations): Remove erroneous const in aio_return and
62325         aio_return64 prototypes.
62326         (Synchronizing I/O): Fix sync prototype to return void.
62327         * manual/startup.texi (Suboptions): Remove an erroneous const in
62328         getsubopt prototype.
62329         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62330         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62331         use size_t rather than int.
62332         (Scanning All Users): Likewise for getpwent_r.
62333         (Setting Groups): Add missing const to setgroups prototype.
62334         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62335         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62336         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62337         'const void *' rather than 'const char *'.
62338         (Host Address Functions): Likewise for inet_ntop.
62339         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62340         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62341         ssize_t for return value.
62342         (Sending Data): Likewise for send, sendto, sendmsg.
62343         (Socket Option Functions): Add a missing const in setsockopt prototype.
62344         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62345         use wchar_t for the argument.
62346         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62347         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62348         take no arguments.
62349         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62350         double/float/long double for second argument.
62351         Fix return types of significand, significandf, significandl.
62352         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62353         argument in fchmod prototype.
62354         (File Owner): Use uid_t and gid_t in fchown prototype.
62355         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62356         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62357         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62358         use 'const struct dirent **' as argument types to CMP function pointer
62359         argument.
62360         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62361         (File Times): Fix summary magic @comment for struct utimbuf and utime
62362         to refer to utime.h, not time.h.
62363         * manual/string.texi (Argz Functions): Add missing const in
62364         argz_extract and argz_next prototypes.
62365         (Finding Tokens in a String): Likewise for basename.
62366         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62367         (Copying and Concatenation): Fix typo in wmemmove prototype.
62368         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62369         (Signal Stack): Remove erroneous const in sigstack prototype.
62370         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62371         prototype.
62372         (Simple Calendar Time): Likewise for stime.
62373         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62374         prototype.
62375         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62376         say sys/sysctl.h instead.
62377         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62378         and vsyslog prototypes.
62380 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62382         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62383         Remove.
62385 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62387         * misc/sys/mman.h: Fix typo in mremap comment.
62389 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62391         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62392         the '\0' terminator.
62394 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62396         [BZ #13550]
62397         * debug/segfault.c: Don't include <bp-checks.h>.
62398         * sysdeps/generic/bp-checks.h: Remove file.
62399         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62400         (__GETDENTS): Don't use CHECK_N.
62401         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62402         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62403         (__getgroups): Don't use CHECK_N.
62404         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62405         (setgroups): Don't use CHECK_N.
62406         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62407         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62408         (__libc_msgrcv): Don't use CHECK_N.
62409         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62410         (__libc_msgsnd): Don't use CHECK_N.
62411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62412         <bp-checks.h>.
62413         (__libc_pread): Don't use CHECK_N.
62414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62415         include <bp-checks.h>.
62416         (__libc_pread64): Don't use CHECK_N.
62417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62418         include <bp-checks.h>.
62419         (__libc_pwrite): Don't use CHECK_N.
62420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62421         include <bp-checks.h>.
62422         (__libc_pwrite64): Don't use CHECK_N.
62423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62424         <bp-checks.h>.
62425         (__libc_pread): Don't use CHECK_N.
62426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62427         include <bp-checks.h>.
62428         (__libc_pread64): Don't use CHECK_N.
62429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62430         include <bp-checks.h>.
62431         (__libc_pwrite): Don't use CHECK_N.
62432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62433         include <bp-checks.h>.
62434         (__libc_pwrite64): Don't use CHECK_N.
62435         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62436         (do_pread): Don't use CHECK_N.
62437         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62438         (do_pread64): Don't use CHECK_N.
62439         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62440         (do_pwrite): Don't use CHECK_N.
62441         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62442         (do_pwrite64): Don't use CHECK_N.
62443         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62444         (__libc_readv): Don't use CHECK_N.
62445         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62446         (semop): Don't use CHECK_N.
62447         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62448         <bp-checks.h>.
62449         (semtimedop): Don't use CHECK_N.
62450         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62451         (__libc_pread): Don't use CHECK_N.
62452         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62453         <bp-checks.h>.
62454         (__libc_pread64): Don't use CHECK_N.
62455         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62456         <bp-checks.h>.
62457         (__libc_pwrite): Don't use CHECK_N.
62458         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62459         <bp-checks.h>.
62460         (__libc_pwrite64): Don't use CHECK_N.
62461         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62462         <bp-checks.h>.
62463         (__libc_msgrcv): Don't use CHECK_N.
62464         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62465         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62466         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62467         (__libc_writev): Don't use CHECK_N.
62469 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62471         * string/strcpy.c: Removed unused variable.
62473         * Makeconfig (+sysdep-includes): Define with := rather than =.
62474         Use an existing include/ subdir of each sysdeps dir before it.
62476 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62478         * nscd/connection.c (register_traced_file): Comment function.
62479         [HAVE_INOTIFY] (union __inev): Define.
62480         [HAVE_INOTIFY] (inotify_check_files): New function.
62481         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62482         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62483         clear_db_cache.
62484         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62486 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62488         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62489         loaded if not already and that a failure is permanent.
62491 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62493         [BZ #15006]
62494         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62495         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62497 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62499         [BZ #13550]
62500         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62501         (CHECK_1_NULL_OK): Likewise.
62502         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62503         (__fxstat): Do not use CHECK_1.
62504         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62505         <bp-checks.h>.
62506         (___fxstat64): Do not use CHECK_1.
62507         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62508         <bp-checks.h>.
62509         (__fxstatat): Do not use CHECK_1.
62510         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62511         <bp-checks.h>.
62512         (__fxstatat64): Do not use CHECK_1.
62513         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62514         <bp-checks.h>.
62515         (__fxstat): Do not use CHECK_1.
62516         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62517         <bp-checks.h>.
62518         (__fxstatat): Do not use CHECK_1.
62519         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62520         <bp-checks.h>.
62521         (__getresgid): Do not use CHECK_1.
62522         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62523         <bp-checks.h>.
62524         (__getresuid): Do not use CHECK_1.
62525         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62526         <bp-checks.h>.
62527         (__lxstat): Do not use CHECK_1.
62528         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62529         <bp-checks.h>.
62530         (__old_msgctl): Do not use CHECK_1.
62531         (__new_msgctl): Likewise.
62532         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62533         <bp-checks.h>.
62534         (__new_setrlimit): Do not use CHECK_1.
62535         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62536         <bp-checks.h>.
62537         (__old_shmctl): Do not use CHECK_1.
62538         (__new_shmctl): Likewise.
62539         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62540         <bp-checks.h>.
62541         (__xstat): Do not use CHECK_1.
62542         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62543         (__lxstat): Do not use CHECK_1.
62544         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62545         <bp-checks.h>.
62546         (___lxstat64): Do not use CHECK_1.
62547         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62548         (__old_msgctl): Do not use CHECK_1.
62549         (__new_msgctl): Likewise.
62550         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62551         <bp-checks.h>.
62552         (__gettimeofday): Do not use CHECK_1.
62553         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62554         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62555         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62556         <bp-checks.h>.
62557         (__gettimeofday): Do not use CHECK_1.
62558         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62559         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62560         (__new_shmctl): Do not use CHECK_1.
62561         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62562         <bp-checks.h>.
62563         (do_sigtimedwait): Do not use CHECK_1.
62564         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62565         <bp-checks.h>.
62566         (do_sigwaitinfo): Do not use CHECK_1.
62567         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62568         <bp-checks.h>.
62569         (msgctl): Do not use CHECK_1.
62570         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62571         <bp-checks.h>.
62572         (shmctl): Do not use CHECK_1.
62573         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62574         (ustat): Do not use CHECK_1.
62575         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62576         <bp-checks.h>.
62577         (__fxstat): Do not use CHECK_1.
62578         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62579         <bp-checks.h>.
62580         (__fxstatat): Do not use CHECK_1.
62581         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62582         <bp-checks.h>.
62583         (__lxstat): Do not use CHECK_1.
62584         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62585         <bp-checks.h>.
62586         (__xstat): Do not use CHECK_1.
62587         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62588         (__xstat): Do not use CHECK_1.
62589         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62590         (___xstat64): Do not use CHECK_1.
62592         [BZ #13550]
62593         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62594         definitions.
62595         (CHECK_BOUNDS_HIGH): Likewise.
62596         * string/strcpy.c: Do not include <bp-checks.h>.
62597         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62599 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62601         * nscd/nscd-client.h (__nscd_drop_map_ref):
62602         Add __attribute__ ((unused)).
62603         * nis/nss-nisplus.h (niserr2nss): Likewise.
62605         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62606         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62608         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62609         Remove inline keyword.
62610         * include/rounding-mode.h (round_away): Likewise.
62611         * libio/wfileops.c (adjust_wide_data): Likewise.
62612         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62613         (__m128i_strloadu_tolower): Likewise.
62614         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62615         (__m128i_strloadu_tolower): Likewise.
62616         * time/mktime.c (ydhms_diff): Likewise.
62617         * locale/elem-hash.h (elem_hash): Likewise.
62618         * locale/setlocale.c (setdata): Likewise.
62619         * posix/regex_internal.h (re_string_char_size_at): Likewise.
62620         (re_string_wchar_at): Likewise.
62621         (bitset_not, bitset_merge, bitset_mask): Likewise.
62622         [!(__GNUC__ > 3)] (inline): Remove macro.
62623         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62624         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62625         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62626         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62627         * string/memcmp.c (memcmp_bytes): Likewise.
62628         * locale/programs/locarchive.c (compute_hashval): Likewise.
62629         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62630         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62631         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62632         * nss/getent.c (print_rpc, print_protocols): Likewise.
62633         (print_passwd, print_group, print_aliases): Likewise.
62634         * nis/nss-nisplus.h (niserr2nss): Likewise.
62635         * nscd/connections.c (restart_p): Likewise.
62636         Change return type to bool.
62638 2013-02-05  Roland McGrath  <roland@hack.frob.com>
62640         * Makeconfig (all-Depend-files): Add existing
62641         $(sorted-subdirs:=/Depend) files.
62642         (all-subdirs): Remove nss.
62643         * sysdeps/unix/inet/Subdirs: Add it here instead.
62644         * hesiod/Depend: New file.
62646         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
62647         instead of calling alloca.
62649         * io/lseek.c (__lseek): Rename to __libc_lseek.
62650         Define __lseek as an alias.
62652         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
62654 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
62656         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
62657         else clause and remove check for non-standard endianness.
62659 2013-02-04  David S. Miller  <davem@davemloft.net>
62661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62663 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
62665         [BZ #13550]
62666         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
62667         (__ubp_memchr): Remove prototype.
62668         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
62669         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62670         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
62671         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62672         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
62673         Remove alias.
62674         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
62675         (__ubp_memchr): Likewise.
62676         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
62677         (__ubp_memchr): Likewise.
62678         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
62679         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
62680         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
62681         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
62682         CHECK_STRING.
62683         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
62684         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
62685         (__getcwd): Do not use CHECK_STRING.
62686         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62687         <bp-checks.h>.
62688         (__real_chown): Do not use CHECK_STRING.
62689         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
62690         <bp-checks.h>.
62691         (fchownat): Do not use CHECK_STRING.
62692         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
62693         CHECK_STRING.
62694         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62695         <bp-checks.h>.
62696         (__lchown): Do not use CHECK_STRING.
62697         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62698         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62699         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62700         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
62701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62702         include <bp-checks.h>.
62703         (truncate64): Do not use CHECK_STRING.
62704         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62705         <bp-checks.h>.
62706         (__real_chown): Do not use CHECK_STRING.
62707         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62708         <bp-checks.h>.
62709         (__lchown): Do not use CHECK_STRING.
62710         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62711         <bp-checks.h>.
62712         (__chown): Do not use CHECK_STRING.
62713         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
62714         <bp-checks.h>.
62715         (truncate64): Do not use CHECK_STRING.
62716         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
62717         Likewise.
62718         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
62719         (__xmknod): Do not use CHECK_STRING.
62720         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
62721         <bp-checks.h>.
62722         (__xmknodat): Do not use CHECK_STRING.
62723         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62724         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
62726 2013-02-04  Andreas Schwab  <schwab@suse.de>
62728         [BZ #14142]
62729         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
62730         * include/netdb.h: Likewise for h_errno.
62731         * elf/tst-stackguard1.c: Include <tls.h>.
62733 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
62735         * elf/link.h (struct link_map): Extend the l_addr comment.
62736         * include/link.h (struct link_map): Likewise.
62738 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
62740         [BZ #13550]
62741         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
62742         (BOUNDED_1): Remove macro.
62743         * debug/backtrace.c: Don't include <bp-checks.h>.
62744         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
62745         (__backtrace): Likewise.
62746         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
62747         <bp-checks.h>.
62748         (__backtrace): Don't use BOUNDED_1.
62749         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
62750         <bp-checks.h>.
62751         (__backtrace): Don't use BOUNDED_1.
62752         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
62753         (__backtrace): Don't use BOUNDED_1.
62754         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
62755         (shmat): Don't use BOUNDED_N.
62757 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
62759         [BZ #13550]
62760         * sysdeps/generic/bp-start.h: Remove file.
62761         * csu/libc-start.c: Don't include <bp-start.h>.
62762         (LIBC_START_MAIN): Set up __environ directly instead of using
62763         INIT_ARGV_and_ENVIRON.
62764         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
62765         <bp-start.h>.
62767         [BZ #13550]
62768         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
62769         definitions.
62770         (CHECK_FCNTL): Likewise.
62771         (CHECK_N_PAGES): Likewise.
62773         [BZ #13550]
62774         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
62775         definitions.
62776         (CHECK_SIGSET_NULL_OK): Likewise.
62777         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
62778         <bp-checks.h>.
62779         (sigpending): Don't use CHECK_SIGSET.
62780         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
62781         <bp-checks.h>.
62782         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62783         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
62784         <bp-checks.h>.
62785         (do_sigsuspend): Don't use CHECK_SIGSET.
62786         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
62787         use CHECK_SIGSET.
62788         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
62789         (do_sigwait): Don't use CHECK_SIGSET.
62790         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
62791         use CHECK_SIGSET.
62792         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
62793         include <bp-checks.h>.
62794         (sigpending): Don't use CHECK_SIGSET.
62795         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
62796         include <bp-checks.h>.
62797         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62798         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
62799         <bp-checks.h>.
62800         (sigpending): Don't use CHECK_SIGSET.
62801         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
62802         <bp-checks.h>.
62803         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62805         [BZ #13550]
62806         * sysdeps/generic/bp-semctl.h: Remove file.
62807         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
62808         <bp-checks.h> and <bp-semctl.h>.
62809         (__old_semctl): Don't use CHECK_SEMCTL.
62810         (__new_semctl): Likewise.
62811         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
62812         and <bp-semctl.h>.
62813         (__old_semctl): Don't use CHECK_SEMCTL.
62814         (__new_semctl): Likewise.
62815         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
62816         <bp-checks.h> and <bp-semctl.h>.
62817         (__old_semctl): Don't use CHECK_SEMCTL.
62818         (__new_semctl): Likewise.
62819         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
62820         <bp-checks.h> and <bp-semctl.h>.
62821         (semctl): Don't use CHECK_SEMCTL.
62823         [BZ #13550]
62824         * Makerules (elide-bp-thunks): Remove variable.
62825         (elide-routines.oS): Don't use $(elide-bp-thunks).
62826         (elide-routines.os): Likewise.
62827         (elide-routines.o): Likewise.
62828         (elide-routines.op): Likewise.
62829         (elide-routines.og): Likewise.
62830         (objects): Don't use $(bp-thunks).
62831         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
62832         include.
62833         (common-generated): Do not add s-proto-bp.d.
62834         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
62835         (int): Likewise.
62836         (typ): Likewise.
62837         Do not generate makefile rules for bounded-pointer thunks.
62838         * sysdeps/generic/bp-thunks.h: Remove file.
62839         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
62840         * sysdeps/unix/s-proto-bp.S: Likewise.
62842         [BZ #15062]
62843         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
62844         parts of result separately when argument is not close to line from
62845         -i to i and one part of argument is small.
62846         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62847         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62848         * math/libm-test.inc (cacos_test): Add more tests.
62849         (casin_test): Likewise.
62850         (casinh_test): Likewise.
62851         * sysdeps/i386/fpu/libm-test-ulps: Update.
62852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62854 2013-01-31  David S. Miller  <davem@davemloft.net>
62856         * po/de.po: Update from translation team.
62858 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
62860         * time/tzfile.c: Include stdint.h for SIZE_MAX.
62862 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
62864         * configure.in (_AC_PROG_CC_C89): New definition.
62865         * configure: Regenerate.
62867         * configure.in (AC_PROG_CPP): New definition.
62868         * configure: Regenerate.
62870 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62872         * debug/tst-backtrace.h: New file.
62873         * debug/tst-backtrace2.c: Include tst-backtrace.h.
62874         (ret): Remove variable.
62875         (x): Likewise.
62876         (FAIL): Remove macro.
62877         (NO_INLINE): Likewise.
62878         (fn1): Use match function instead of strstr.
62879         * debug/tst-backtrace3.c: Include tst-backtrace.h.
62880         (ret): Remove variable.
62881         (x): Likewise.
62882         (FAIL): Remove macro.
62883         (NO_INLINE): Likewise.
62884         (fn): Use match function instead of strstr.
62885         * debug/tst-backtrace4.c: Include tst-backtrace.h.
62886         (ret): Remove variable.
62887         (x): Likewise.
62888         (FAIL): Remove macro.
62889         (NO_INLINE): Likewise.
62890         (handle_signal): Use match function instead of strstr.
62891         * debug/tst-backtrace5.c: Include tst-backtrace.h.
62892         (ret): Remove variable.
62893         (x): Likewise.
62894         (FAIL): Remove macro.
62895         (NO_INLINE): Likewise.
62896         (handle_signal): Use match function instead of strstr.
62898 2013-01-23  Roland McGrath  <roland@hack.frob.com>
62900         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
62902 2013-01-23  David S. Miller  <davem@davemloft.net>
62904         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
62905         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
62906         argument of CAS if possible.
62907         * sysdeps/sparc/sparc64/bits/atomic.h
62908         (__arch_compare_and_exchange_val_32_acq): Likewise.
62909         (__arch_compare_and_exchange_val_64_acq): Likewise.
62911 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
62913         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
62914         * sysdeps/posix/ulimit.c: ... this.
62915         Include <limits.h>.
62916         * sysdeps/unix/bsd/ulimit.c: Remove file.
62918 2013-01-23  Adam Conrad  <adconrad@0c3.net>
62920         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
62921         (LDFLAGS-tst-array5): Likewise.
62923 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62925         [BZ #15036]
62926         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
62927         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
62928         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
62929         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
62931 2013-01-21  David S. Miller  <davem@davemloft.net>
62933         * sysdeps/sparc/backtrace.c: New file.
62934         * sysdeps/sparc/sparc32/backtrace.h: New file.
62935         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
62936         * sysdeps/sparc/sparc64/backtrace.h: New file.
62937         * sysdeps/sparc/sparc64/backtrace.c: Delete.
62938         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
62939         -funwind-tables.
62941 2013-01-21  Andreas Schwab  <schwab@suse.de>
62943         [BZ #15020]
62944         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
62945         closed its stdout.
62947 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
62949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
62950         "mpa2.h".
62951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62953 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
62954             Mark Mitchell  <mark@codesourcery.com>
62955             Tom de Vries  <tom@codesourcery.com>
62956             Paul Pluzhnikov  <ppluzhnikov@google.com>
62958         * debug/tst-backtrace2.c: New file.
62959         * debug/tst-backtrace3.c: Likewise.
62960         * debug/tst-backtrace4.c: Likewise.
62961         * debug/tst-backtrace5.c: Likewise.
62962         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
62963         (CFLAGS-tst-backtrace3.c): Likewise.
62964         (CFLAGS-tst-backtrace4.c): Likewise.
62965         (CFLAGS-tst-backtrace5.c): Likewise.
62966         (LDFLAGS-tst-backtrace2): Likewise.
62967         (LDFLAGS-tst-backtrace3): Likewise.
62968         (LDFLAGS-tst-backtrace4): Likewise.
62969         (LDFLAGS-tst-backtrace5): Likewise.
62970         (tests): Add new tests tst-backtrace2, tst-backtrace3,
62971         tst-backtrace4 and tst-backtrace5.
62973 2013-01-18  Anton Blanchard  <anton@samba.org>
62974             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62976         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
62977         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
62978         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
62979         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
62980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62981         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
62982         "+r" and remove output regs list as redundant.  Add explicit inline
62983         asm to specify register of return val to work around compiler codegen
62984         bug.  Remove (int) cast on return value.  Add return type parameter to
62985         use in macro so that this macro does not truncate return value for
62986         64-bit values.
62987         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
62988         pass to INTERNAL_VSYSCALL_NCS.
62989         (INLINE_VSYSCALL): Add 'long int' as return type to
62990         INTERNAL_VSYSCALL_NCS macro invocation.
62991         (INTERNAL_VSYSCALL): Add 'long int' as return type to
62992         INTERNAL_VSYSCALL_NCS macro invocation.
62993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62995 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62997         [BZ #14496]
62998         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
62999         Fix application of SIMD FP exception mask.
63001         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63002         mp_no from a power of two.
63003         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63004         __mpexp_twomm1.  Use __pow_mp.
63006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63007         multiplication.
63009 2013-01-17  David S. Miller  <davem@davemloft.net>
63011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63013 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63015         [BZ #15023]
63016         * include/complex.h: Condition contents on [!_COMPLEX_H].
63017         (__kernel_casinhf): New prototype.
63018         (__kernel_casinh): Likewise.
63019         (__kernel_casinhl): Likewise.
63020         * math/Makefile (libm_calls): Add k_casinh.
63021         * math/k_casinh.c: New file.
63022         * math/k_casinhf.c: Likewise.
63023         * math/k_casinhl.c: Likewise.
63024         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63025         finite nonzero arguments.
63026         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63027         finite nonzero arguments.
63028         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63029         finite nonzero arguments.
63030         * math/s_casinh.c: Do not include <float.h>.
63031         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63032         * math/s_casinhf.c: Do not include <float.h>.
63033         (__casinhf): Move code for finite nonzero arguments to
63034         k_casinhf.c.
63035         * math/s_casinhl.c: Do not include <float.h>.
63036         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63037         redefine.
63038         (__casinhl): Move code for finite nonzero arguments to
63039         k_casinhl.c.
63040         * math/libm-test.inc (cacos_test): Add more tests.
63041         * sysdeps/i386/fpu/libm-test-ulps: Update.
63042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63044 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63046         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63047         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63048         [!HAVE_MREMAP]: Remove [defined linux] case.
63049         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63051 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63053         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63055 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63057         * elf/elf.h (R_386_SIZE32): New relocation.
63058         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63059         R_386_SIZE32.
63060         (elf_machine_rela): Likewise.
63061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63062         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63064 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63066         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63067         (FP_FAST_FMA): Do not define.
63068         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63069         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63070         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63071         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63072         !_SOFT_FLOAT]: Likewise.
63073         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63074         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63075         value.
63076         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63077         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63078         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63079         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63080         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63081         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63082         file.
63084 2013-01-16  Andreas Schwab  <schwab@suse.de>
63086         [BZ #14327]
63087         * include/stdlib.h (__mktemp): Add declaration.
63088         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63089         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63091 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63093         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63094         definitions.
63095         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63096         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63097         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63098         definitions here.
63099         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63100         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63101         definitions.
63102         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63103         and ONE.
63104         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63105         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63106         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63107         definitions.
63108         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63109         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63110         definitions.
63111         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63113         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63115 2013-01-15  David S. Miller  <davem@davemloft.net>
63117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63118         trunc{,f} to libm-sysdep_routes.
63119         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63121         file.
63122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63124         file.
63125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63126         file.
63127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63129         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63130         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63131         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63132         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63133         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63134         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63137         nearbyint{,f} to libm-sysdep_routes.
63138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63140         New file.
63141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63142         file.
63143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63144         New file.
63145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63146         file.
63147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63149         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63150         file.
63151         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63152         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63153         file.
63154         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63155         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63156         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63158         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63159         libc_feholdexcept and libc_fesetenv.
63161 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63163         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63165 2013-01-14  David S. Miller  <davem@davemloft.net>
63167         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63168         (SPARC_ASM_VIS2_IFUNC): Likewise.
63169         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63171         use of 'siam' instruction.
63172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63173         Likewise.
63174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63175         Likewise.
63176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63177         Likewise.
63178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63183         file.
63184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63185         file.
63186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63187         file.
63188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63189         file.
63190         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63195         new VIS2 routines.
63196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63199         Likewise.
63200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63201         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63203         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63205         routines to libm-sysdep_routines.
63206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63209         fdim/fdimf to libm-sysdep_routines.
63210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63211         file.
63212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63214         file.
63215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63218         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63219         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63220         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63221         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63223 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63225         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63226         to optimize copies.
63228         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63233         local variable MPTWO.
63234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63235         Likewise.
63237 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63239         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63240         GLOB_NOESCAPE.
63242 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63244         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63246 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63248         * manual/pattern.texi (glob_t): Document gl_flags.
63249         (glob64_t): Likewise.
63251 2013-01-11  David S. Miller  <davem@davemloft.net>
63253         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63254         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63255         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63256         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63257         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63258         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63259         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63260         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63261         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63262         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63263         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63264         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63265         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63267         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63268         sparc V9 rather than using V8 code.
63269         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63270         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63272         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63273         Move to...
63274         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63275         Here.
63277 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63279         [BZ #14941]
63280         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63281         not in the main loop.
63282         * configure: Regenerated.
63284 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63286         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63287         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63288         to just #else.
63289         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63290         [!__GLIBC_HAVE_LONG_LONG] case.
63291         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63292         condition to just #else.
63293         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63294         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63295         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63296         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63297         unconditional.
63298         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63299         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63300         #elif condition to just #else.
63301         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63302         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63303         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63304         #elif condition to just #else.
63306 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63308         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63309         (EF_MIPS_ARCH_64): Fix value.
63310         (EF_MIPS_ARCH_32R2): New.
63311         (EF_MIPS_ARCH_64R2): New.
63313 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63315         * Makeconfig (+link-pie-before-libc): New.
63316         (+link-pie-after-libc): Likewise.
63317         (+link-pie-tests): Likewise.
63318         (+link-pie): Rewritten.
63319         (link-before-libc): Remove $(config-LDFLAGS).
63320         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63321         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63322         (config-LDFLAGS): Renamed to ...
63323         (rtld-LDFLAGS): This.
63324         (rtld-tests-LDFLAGS): New macro.
63325         (link-libc-rpath-link): Likewise.
63326         (link-libc-tests-rpath-link): Likewise.
63327         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63328         (link-libc): Prepand $(link-libc-rpath-link).
63329         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63330         (test-program-prefix): New macro.
63331         (test-via-rtld-prefix): Likewise.
63332         (test-program-cmd): Likewise.
63333         (host-test-program-cmd): Likewise.
63334         * Makefile ($(common-objpfx)testrun.sh): Replace
63335         $(run-program-prefix) with $(test-program-prefix).
63336         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63337         $(rtld-LDFLAGS).
63338         ($(common-objpfx)shlib.lds): Likewise.
63339         (build-module-helper): Likewise.
63340         ($(common-objpfx)format.lds): Likewise.
63341         * Rules (binaries-pie-tests): New.
63342         (binaries-pie-notests): Likewise.
63343         (binaries-pie): Rewritten.
63344         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63345         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63346         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63347         (make-test-out): Replace $(host-built-program-cmd) with
63348         $(host-test-program-cmd).
63349         * config.make.in (build-hardcoded-path-in-tests): New variable.
63350         * configure.in (--enable-hardcoded-path-in-tests): New configure
63351         option.
63352         (hardcoded_path_in_tests): New AC_SUBST.
63353         * configure: Regenerated.
63354         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63355         $(built-program-cmd) with $(test-program-cmd).
63356         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63357         (test_program_cmd): This.
63358         * elf/Makefile ($(objpfx)order.out): Run test with
63359         $(test-program-prefix).
63360         ($(objpfx)order2.out): Likewise.
63361         ($(objpfx)tst-initorder.out): Likewise.
63362         ($(objpfx)tst-initorder2.out): Likewise.
63363         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63364         $(test-program-cmd).
63365         ($(objpfx)tst-array1-static.out): Likewise.
63366         ($(objpfx)tst-array2.out): Likewise.
63367         ($(objpfx)tst-array3.out): Likewise.
63368         ($(objpfx)tst-array4.out): Likewise.
63369         ($(objpfx)tst-array5.out): Likewise.
63370         ($(objpfx)tst-array5-static.out): Likewise.
63371         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63372         $(test-program-cmd).
63373         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63374         $(run-program-prefix) with $(test-program-prefix).
63375         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63376         (test_program_prefix): This.
63377         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63378         $(run-program-prefix) with $(test-program-prefix).
63379         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63380         (test_program_prefix): This.
63381         * iconvdata/tst-tables.sh: Likewise.
63382         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63383         $(run-program-prefix) with $(test-program-prefix).
63384         ($(objpfx)tst-translit.out): Likewise.
63385         ($(objpfx)tst-gettext2.out): Likewise.
63386         ($(objpfx)tst-gettext4.out): Likewise.
63387         ($(objpfx)tst-gettext6.out): Likewise.
63388         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63389         (test_program_prefix): This.
63390         * intl/tst-gettext2.sh: Likewise.
63391         * intl/tst-gettext4.sh  Likewise.
63392         * intl/tst-gettext6.sh: Likewise.
63393         * intl/tst-translit.sh: Likewise.
63394         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63395         with $(test-program-cmd).
63396         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63397         $(run-program-prefix) with $(test-program-prefix).
63398         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63399         (test_program_prefix): This.
63400         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63401         $(run-program-prefix) with $(test-program-prefix).
63402         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63403         (test_program_prefix): This.
63404         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63405         * posix/Makefile ($(objpfx)globtest.out): Replace
63406         $(run-via-rtld-prefix) and $(test-wrapper) with
63407         $(test-program-prefix) and $(test-via-rtld-prefix).
63408         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63409         $(test-program-prefix).
63410         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63411         $(host-test-program-cmd).
63412         (tst-spawn-ARGS): Likewise.
63413         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63414         $(test-program-prefix).
63415         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63416         (test_via_rtld_prefix): This.
63417         (test_wrapper): Renamed to ...
63418         (test_program_prefix): This.
63419         (run_program_prefix): Replaced by test_program_prefix.
63420         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63421         (test_program_prefix): This.
63422         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63423         with $(host-test-program-cmd).
63424         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63425         $(run-program-prefix) with $(test-program-prefix).
63426         ($(objpfx)tst-printf.out): Likewise.
63427         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63428         $(test-program-cmd).
63429         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63430         (test_program_prefix): This.
63431         * stdio-common/tst-unbputc.sh: Likewise.
63432         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63433         $(run-program-prefix) with $(test-program-prefix).
63434         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63435         (test_program_prefix): This.
63436         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63437         $(built-program-cmd) with $(test-program-cmd).
63439 2013-01-11  Andreas Jaeger  <aj@suse.de>
63441         [BZ #15003]
63442         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63443         value. Sync with Linux 3.7.
63445 2013-01-10  David S. Miller  <davem@davemloft.net>
63447         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63448         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63449         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63451 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63453         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63454         never set.
63455         * configure: Regenerated.
63457 2013-01-10  David S. Miller  <davem@davemloft.net>
63459         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63460         sparc V9 rather than using V8 code.
63461         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63462         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63464 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63466         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63467         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63468         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63469         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63470         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63471         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63472         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63473         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63474         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63475         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63476         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63477         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63478         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63479         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63480         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63481         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63482         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63483         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63484         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63485         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63486         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63487         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63488         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63489         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63490         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63491         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63492         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63494 2013-01-10  David S. Miller  <davem@davemloft.net>
63496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63498 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63500         * posix/Makefile (tests-static): New variable.
63501         (tests): Add $(tests-static).
63502         (tst-exec-static-ARGS): New variable.
63503         (tst-spawn-static-ARGS): Likewise.
63504         * posix/tst-exec-static.c: New file.
63505         * posix/tst-spawn-static.c: Likewise.
63506         * posix/tst-exec.c: Support run directly.
63507         * posix/tst-spawn.c: Likewise.
63509 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63511         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63512         long.
63513         * math/bits/mathcalls.h (llrint): Likewise.
63514         (llround): Likewise.
63515         * stdlib/stdlib.h (struct drand48_data): Likewise.
63516         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63517         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63518         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63519         Likewise.
63520         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63521         Likewise.
63522         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63523         (elf_greg_t): Likewise.
63524         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63525         (__jmp_buf): Likewise.
63526         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63527         definitions.
63528         (llrint): Likewise, for all definitions.
63529         (llrintl): Likewise.
63531         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63532         Remove [__GNUC__] condition.
63533         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63534         condition to just [__USE_ISOC99].
63535         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63537 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63539         [BZ #14200]
63540         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63541         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63542         defined.
63543         (_POSIX_V6_ILP32_OFF32): Likewise.
63544         (_XBS5_ILP32_OFF32): Likewise.
63545         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63546         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63548 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63550         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63553         doubles __mpexp_twomm1.  Adjust usage.
63554         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63555         Remove.
63557 2013-01-10  Andreas Schwab  <schwab@suse.de>
63559         [BZ #14964]
63560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63561         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63563 2013-01-09  David S. Miller  <davem@davemloft.net>
63565         [BZ #15003]
63566         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63567         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63568         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63569         (TCP_FASTOPEN): Define.
63570         (tcp_repair_opt): New structure.
63571         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63572         enum values.
63573         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63574         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63575         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63576         (tcp_cookie_transactions): New structure.
63578 2013-01-09  Anton Blanchard  <anton@samba.org>
63580         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63581         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63582         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63583         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63585 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63587         * include/features.h (__USE_ANSI): Remove.
63589 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63591         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63593         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63595 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63597         * sysdeps/s390/fpu/libm-test-ulps: Update.
63599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63601         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63602         (__acr): Likewise.
63603         (__cpy): Likewise.
63604         (norm): Likewise.
63605         (denorm): Likewise.
63606         (__mp_dbl): Likewise.
63607         (__dbl_mp): Likewise.
63608         (add_magnitudes): Likewise.
63609         (sub_magnitudes): Likewise.
63610         (__add): Likewise.
63611         (__sub): Likewise.
63612         (__mul): Likewise.
63613         (__inv): Likewise.
63614         (__dvd): Likewise.
63615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63616         (__acr): Likewise.
63617         (__cpy): Likewise.
63618         (norm): Likewise.
63619         (denorm): Likewise.
63620         (__mp_dbl): Likewise.
63621         (__dbl_mp): Likewise.
63622         (add_magnitudes): Likewise.
63623         (sub_magnitudes): Likewise.
63624         (__add): Likewise.
63625         (__sub): Likewise.
63626         (__mul): Likewise.
63627         (__inv): Likewise.
63628         (__dvd): Likewise.
63629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63630         (__acr): Likewise.
63631         (__cpy): Likewise.
63632         (norm): Likewise.
63633         (denorm): Likewise.
63634         (__mp_dbl): Likewise.
63635         (__dbl_mp): Likewise.
63636         (add_magnitudes): Likewise.
63637         (sub_magnitudes): Likewise.
63638         (__add): Likewise.
63639         (__sub): Likewise.
63640         (__mul): Likewise.
63641         (__inv): Likewise.
63642         (__dvd): Likewise.
63644 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
63646         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
63647         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
63648         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
63649         2 && __USE_EXTERN_INLINES]: Likewise.
63651 2013-01-08  Andreas Jaeger  <aj@suse.de>
63653         [BZ# 14985]
63654         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
63655         Remove.
63656         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63657         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63659 2013-01-07  Anton Blanchard  <anton@samba.org>
63661         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
63662         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63663         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
63664         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63665         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63666         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63667         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
63668         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63670         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63671         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63672         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63673         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63674         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63675         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63676         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63677         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63678         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63679         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
63680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63681         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
63682         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
63683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63684         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63685         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
63686         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63687         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63688         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63689         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
63690         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63691         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
63692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63693         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63694         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63695         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63696         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63697         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63698         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63699         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
63700         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
63701         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
63702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63703         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63705 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
63707         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
63708         (__MALLOC_PMT): Likewise.
63709         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
63710         [__GNUC__], only on [_LIBC].
63711         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63712         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63713         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63714         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
63715         forward declaration.
63716         (realloc_hook_ini): Likewise.
63717         (memalign_hook_ini): Likewise.
63718         (__libc_memalign): Do not use __MALLOC_PMT in variable
63719         declaration.
63720         (__libc_valloc): Likewise.
63721         (__libc_pvalloc): Likewise.
63722         (__libc_calloc): Likewise.
63723         (__posix_memalign): Likewise.
63725         [BZ #14996]
63726         * math/s_casinh.c: Include <float.h>.
63727         (__casinh): Do not do computation with squaring and square root
63728         for large arguments.
63729         * math/s_casinhf.c: Include <float.h>.
63730         (__casinhf): Do not do computation with squaring and square root
63731         for large arguments.
63732         * math/s_casinhl.c: Include <float.h>.
63733         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
63734         (__casinhl): Do not do computation with squaring and square root
63735         for large arguments.
63736         * math/libm-test.inc (casin_test): Add more tests.
63737         (casinh_test): Likewise.
63738         * sysdeps/i386/fpu/libm-test-ulps: Update.
63739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63741 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
63743         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
63744         (__x86_64_raw_data_cache_size): Likewise.
63745         (__x86_64_data_cache_size_half): Likewise.
63746         (__x86_64_raw_data_cache_size_half): Likewise.
63747         (__x86_64_shared_cache_size): Likewise.
63748         (__x86_64_raw_shared_cache_size): Likewise.
63749         (__x86_64_shared_cache_size_half): Likewise.
63750         (__x86_64_raw_shared_cache_size_half): Likewise.
63751         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
63752         to ...
63753         (__x86_data_cache_size): This.
63754         (__x86_64_raw_data_cache_size): Renamed to ...
63755         (__x86_raw_data_cache_size): This.
63756         (__x86_64_data_cache_size_half): Renamed to ...
63757         (__x86_data_cache_size_half): This.
63758         (__x86_64_raw_data_cache_size_half): Renamed to ...
63759         (__x86_raw_data_cache_size_half): This.
63760         (__x86_64_shared_cache_size): Renamed to ...
63761         (__x86_shared_cache_size): This.
63762         (__x86_64_raw_shared_cache_size): Renamed to ...
63763         (__x86_raw_shared_cache_size): This.
63764         (__x86_64_shared_cache_size_half): Renamed to ...
63765         (__x86_shared_cache_size_half): This.
63766         (__x86_64_raw_shared_cache_size_half): Renamed to ...
63767         (__x86_raw_shared_cache_size_half): This.
63768         * sysdeps/x86_64/memcpy.S: Updated.
63769         * sysdeps/x86_64/memset.S: Likewise.
63770         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63771         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63774 2013-01-04  David S. Miller  <davem@davemloft.net>
63776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63778 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
63780         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
63781         1 to avoid redefinition warning.
63782         (__USE_GNU): Don't define.
63783         (init_signaling_nan): Protoize.
63785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63787 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63789         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
63790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
63791         (__cpymn): Likewise.
63792         (norm): Remove commented code.
63793         (denorm): Likewise.
63794         (__mp_dbl): Likewise.
63795         (__inv): Likewise.
63796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
63797         (__cpymn): Likewise.
63798         (norm): Remove commented code.
63799         (denorm): Likewise.
63800         (__mp_dbl): Likewise.
63801         (__inv): Likewise.
63803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
63804         mp_no value for 1.0 and 2.0.
63805         (norm): Use RADIXI instead of radixi.d.
63806         (denorm): Likewise.
63807         (__mul): Use 0.0 instead of zero.d.
63808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
63809         mp_no value for 1.0 and 2.0.
63810         (norm): Use RADIXI instead of radixi.d.
63811         (denorm): Likewise.
63812         (__mul): Use 0.0 instead of zero.d.
63814 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
63816         [BZ #14994]
63817         * math/s_casinh.c (__casinh): Reduce finite argument to first
63818         quadrant then set signs of results at the end.
63819         * math/s_casinhf.c (__casinhf): Likewise.
63820         * math/s_casinhl.c (__casinhl): Likewise.
63821         * math/libm-test.inc (casin_test): Add more tests.
63822         (casinh_test): Likewise.
63823         * sysdeps/i386/fpu/libm-test-ulps: Update.
63824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63826 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63828         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
63830         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
63832         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
63833         declarations.
63834         (denorm): Likewise.
63835         (__mp_dbl): Likewise.
63836         (__inv): Likewise.
63838         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
63839         and adjust the header comment.
63841         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
63842         variable name from declaration.
63844 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
63846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63847         Initialize COMMON_CPUID_INDEX_7 element.
63848         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
63849         (CPUID_RTM): Likewise.
63850         (HAS_RTM): Likewise.
63851         (COMMON_CPUID_INDEX_7): New enum.
63853 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
63855         [BZ #14981]
63856         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
63857         size is zero, record memory as freed.
63859 2013-01-03  Andreas Jaeger  <aj@suse.de>
63861         * po/ia.po: Add new Interlingua translation.
63863 2012-01-03  Allan McRae  <allan@archlinux.org>
63865         * locale/programs/localedef.c: Fix description of '--posix' flag.
63867 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
63869         * NEWS: Update dates in second copyright notice.
63870         * README: Update copyright dates in example.
63871         * manual/libc.texinfo: Update copyright dates.
63872         * scripts/test-installation.pl: Update copyright date in --version
63873         output.
63875         * hurd/ctty-input.c: Fix copyright notice formatting.
63876         * hurd/ctty-output.c: Likewise.
63877         * hurd/dtable.c: Likewise.
63878         * hurd/hurd-raise.c: Likewise.
63879         * hurd/hurdprio.c: Likewise.
63880         * hurd/msgportdemux.c: Likewise.
63881         * misc/sys/file.h: Likewise.
63882         * misc/sys/ioctl.h: Likewise.
63883         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
63884         * sysdeps/mach/hurd/chdir.c: Likewise.
63885         * sysdeps/mach/hurd/fchdir.c: Likewise.
63886         * sysdeps/mach/hurd/rename.c: Likewise.
63887         * sysdeps/mach/hurd/rmdir.c: Likewise.
63888         * sysdeps/mach/hurd/seekdir.c: Likewise.
63889         * sysdeps/mach/hurd/setsid.c: Likewise.
63890         * sysdeps/posix/wait3.c: Likewise.
63892         * All files with FSF copyright notices: Update copyright dates
63893         using scripts/update-copyrights.
63894         * intl/plural.c: Regenerated.
63895         * locale/programs/charmap-kw.h: Likewise.
63896         * locale/programs/locfile-kw.h: Likewise.
63898 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63900         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
63901         four values.
63903         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
63904         calculation loop and add branch prediction.
63906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
63907         check access beyond bounds of m1np.
63909         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63910         MPTWO.
63911         (__inv): Remove local variable MPTWO to use the global
63912         constant.
63913         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
63914         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63915         variable MPTWO.
63916         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
63917         MP3HALFS static const.
63919 2013-01-01  David S. Miller  <davem@davemloft.net>
63921         * po/ca.po: Update from translation team.
63923 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
63925         * scripts/update-copyrights: New file.
63926         * Makeconfig: Reformat copyright notice.
63927         * ctype/ctype.h: Likewise.
63928         * debug/swprintf_chk.c: Likewise.
63929         * elf/dl-cache.c: Likewise.
63930         * elf/dl-debug.c: Likewise.
63931         * elf/dl-object.c: Likewise.
63932         * grp/initgroups.c: Likewise.
63933         * hurd/Makefile: Likewise.
63934         * hurd/hurd/signal.h: Likewise.
63935         * hurd/hurdfault.c: Likewise.
63936         * hurd/hurdioctl.c: Likewise.
63937         * hurd/hurdlookup.c: Likewise.
63938         * hurd/intr-msg.c: Likewise.
63939         * iconv/gconv_open.c: Likewise.
63940         * libio/swprintf.c: Likewise.
63941         * locale/lc-ctype.c: Likewise.
63942         * locale/nl_langinfo.c: Likewise.
63943         * mach/Machrules: Likewise.
63944         * mach/Makefile: Likewise.
63945         * malloc/obstack.h: Likewise.
63946         * manual/Makefile: Likewise.
63947         * manual/tsort.awk: Likewise.
63948         * misc/bits/stab.def: Likewise.
63949         * nis/nis_print_group_entry.c: Likewise.
63950         * nis/nis_table.c: Likewise.
63951         * nis/nss_compat/compat-pwd.c: Likewise.
63952         * nis/nss_compat/compat-spwd.c: Likewise.
63953         * po/Makefile: Likewise.
63954         * posix/fnmatch.c: Likewise.
63955         * posix/regex.h: Likewise.
63956         * resolv/Makefile: Likewise.
63957         * resolv/nss_dns/dns-network.c: Likewise.
63958         * resolv/res_hconf.c: Likewise.
63959         * scripts/gen-sorted.awk: Likewise.
63960         * soft-fp/soft-fp.h: Likewise.
63961         * stdio-common/printf.h: Likewise.
63962         * stdlib/monetary.h: Likewise.
63963         * stdlib/random.c: Likewise.
63964         * stdlib/random_r.c: Likewise.
63965         * sysdeps/generic/Makefile: Likewise.
63966         * sysdeps/gnu/Makefile: Likewise.
63967         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63969         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63970         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63971         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63972         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63974         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63975         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63977         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63978         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63979         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63980         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63981         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
63982         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63983         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63984         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63986         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63987         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63988         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63989         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63990         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63991         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
63992         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63993         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63994         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
63995         * sysdeps/mach/hurd/errnos.awk: Likewise.
63996         * sysdeps/mach/hurd/fork.c: Likewise.
63997         * sysdeps/mach/hurd/getcwd.c: Likewise.
63998         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
63999         * sysdeps/mach/hurd/mmap.c: Likewise.
64000         * sysdeps/mach/hurd/utimes.c: Likewise.
64001         * sysdeps/mach/hurd/xmknod.c: Likewise.
64002         * sysdeps/posix/profil.c: Likewise.
64003         * sysdeps/posix/readdir_r.c: Likewise.
64004         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64005         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64006         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64007         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64008         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64009         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64010         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64011         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64013         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64014         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64015         * sysdeps/pthread/lio_listio.c: Likewise.
64016         * sysdeps/sparc/dl-procinfo.h: Likewise.
64017         * sysdeps/unix/i386/sysdep.S: Likewise.
64018         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64019         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64020         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64021         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64023         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64024         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64025         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64026         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64027         * sysdeps/wordsize-32/divdi3.c: Likewise.
64028         * time/sys/time.h: Likewise.
64029         * wcsmbs/Makefile: Likewise.
64031 2013-01-01  David S. Miller  <davem@davemloft.net>
64033         * po/fr.po: Update from translation team.
64035         * catgets/gencat.c: Update copyright year.
64036         * csu/version.c: Likewise.
64037         * debug/catchsegv.sh: Likewise.
64038         * debug/pcprofiledump.c: Likewise.
64039         * debug/xtrace.sh: Likewise.
64040         * elf/ldconfig.c: Likewise.
64041         * elf/ldd.bash.in: Likewise.
64042         * elf/pldd.c: Likewise.
64043         * elf/sotruss.ksh: Likewise.
64044         * elf/sprof.c: Likewise.
64045         * iconv/iconv_prog.c: Likewise.
64046         * iconv/iconvconfig.c: Likewise.
64047         * locale/programs/locale.c: Likewise.
64048         * locale/programs/localedef.c: Likewise.
64049         * login/programs/pt_chown.c: Likewise.
64050         * malloc/memusage.sh: Likewise.
64051         * malloc/memusagestat.c: Likewise.
64052         * malloc/mtrace.pl: Likewise.
64053         * nscd/nscd.c: Likewise.
64054         * nss/getent.c: Likewise.
64055         * nss/makedb.c: Likewise.
64056         * posix/getconf.c: Likewise.
64058 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64060         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64061         numbers.
64063 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64065         * math/bits/mathcalls.h (modf): Use __nonnull.
64067 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64069         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64070         (split): Use macro CN instead of the bare value.
64071         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64072         could be used.
64073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64074         instead of the bare value.
64075         (power1): Likewise.
64077 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64079         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64080         __ATAN_TWOM.
64081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64083         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64084         their values.
64085         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64086         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64087         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64088         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64090 2012-12-28  Andreas Jaeger  <aj@suse.de>
64092         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64093         values are from Linux 3.7.
64095         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64096         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64098 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64100         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64101         TRUE case.
64103         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64104         (norm): Likewise.
64105         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64106         variables with preprocessor constants.
64107         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64108         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64109         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64111 2012-12-27  Bruno Haible  <bruno@clisp.org>
64113         [BZ #14317]
64114         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64115         only if needed.
64117 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64120         and use variable directly.
64121         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64123         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64124         MPONE.
64125         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64127         variable MPONE.
64128         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64130         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64131         include directive.  Remove local variable MPONE.
64132         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64133         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64134         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64136 2012-12-25  David S. Miller  <davem@davemloft.net>
64138         * version.h (RELEASE): Set to "development".
64139         (VERSION): Set to "2.17.90".
64140         * NEWS: Add 2.18 section.
64142 2012-12-21  David S. Miller  <davem@davemloft.net>
64144         * po/hr.po: Update from translation team.
64146 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64148         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64150 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64152         * NEWS:  Mention new memcpy for MIPS.
64154 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64156         * manual/contrib.texi (Contributors): Spelling correction.
64158 2012-12-15  David S. Miller  <davem@davemloft.net>
64160         * po/ru.po: Update from translation team.
64162 2012-12-13  David S. Miller  <davem@davemloft.net>
64164         * NEWS: Mention IFUNC testsuite enhancements.
64166         * po/pl.po: Update from translation team.
64167         * po/bg.po: Likewise.
64169         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64170         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64172 2012-12-11  David S. Miller  <davem@davemloft.net>
64174         * po/sv.po: Update from translation team.
64176         * po/vi.po: Update from translation team.
64178         * po/cs.po: Update from translation team.
64180         * po/de.po: Update from translation team.
64181         * po/eo.po: Likewise.
64182         * po/nl.po: Likewise.
64184 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64186         [BZ #14246]
64187         * manual/argp.texi (Argp Helper Functions): Move node to follow
64188         Argp Parsing State.
64190         [BZ #14872]
64191         * manual/conf.texi (Limits on File System Capacity): Mention if
64192         terminating null is included in the max size.
64194 2012-12-10  Andreas Jaeger  <aj@suse.de>
64196         * po/cs.po: Update from translation team.
64198 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64200         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64201         void pointer and cast to uintptr_t.
64202         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64203         path.
64204         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64205         * sysdeps/s390/s390-64/memset.S: Likewise.
64207 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64209         [BZ #14833]
64210         * menual/message.texi (Message Translation): Fix typos.
64211         (Helper programs for gettext): Likewise.
64213 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64215         [BZ #14898]
64216         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64217         Change to -1.
64219 2012-12-07  David S. Miller  <davem@davemloft.net>
64221         * po/libc.pot: Update.
64223 2012-12-07  Richard Henderson  <rth@redhat.com>
64225         [BZ #10114]
64226         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64227         normal/normal case to before the switch.
64228         (_FP_DIV): Likewise.
64230 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64231             Mike Frysinger  <vapier@gentoo.org>
64233         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64234         check for __NR_fadvise64_64.
64236 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64238         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64239         0, not just to plain "0" as a statement.
64240         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64241         with cw.
64243 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64245         * NEWS: Use sourceware.org in Bugzilla URL.
64247 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64250         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64252         * stdio-common/tst-put-error.c (do_test): Add newline to the
64253         padded test to ensure flush.
64255 2012-12-05  Jeff Law  <law@redhat.com>
64257         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64259 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64261         * README: Don't refer to ports add-on as distributed separately.
64262         Mention AArch64 in list of systems supported in the ports add-on.
64264         * LICENSES: Add more non-FSF copyright and license notices.
64266         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64267         ((unused)).
64269         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64271         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64272         10000 as width of padded output.
64274 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64276         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64279         variable LX with __attribute__ ((unused)).
64280         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64281         Likewise.
64282         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64283         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64285         with __attribute__ ((unused)).
64287 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64289         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64291 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64293         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64294         (CFLAGS-nldbl-acos.c): New variable.
64295         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64296         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64297         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64298         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64299         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64300         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64301         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64302         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64303         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64304         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64305         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64306         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64307         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64308         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64309         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64310         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64311         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64312         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64313         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64314         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64315         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64316         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64317         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64318         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64319         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64320         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64321         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64322         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64323         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64324         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64325         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64326         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64327         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64328         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64329         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64330         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64331         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64332         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64333         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64334         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64335         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64336         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64337         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64338         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64339         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64340         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64341         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64342         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64343         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64344         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64345         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64346         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64347         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64348         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64349         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64350         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64351         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64352         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64353         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64354         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64355         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64356         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64357         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64358         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64359         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64360         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64361         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64362         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64363         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64364         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64365         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64366         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64367         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64368         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64369         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64370         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64371         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64372         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64373         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64374         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64375         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64376         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64377         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64378         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64379         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64380         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64381         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64382         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64383         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64384         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64385         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64386         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64387         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64388         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64389         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64390         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64391         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64394         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64396         [BZ #14914]
64397         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64398         whole low double instead of just low 47 bits when splitting values
64399         into two parts.
64401 2012-12-03  Allan McRae  <allan@archlinux.org>
64403         * manual/stdio.texi (Predefined Printf Handlers): Remove
64404         @hsep and @vsep usage.
64406 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64408         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64409         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64411 2012-12-03  Jeff Law  <law@redhat.com>
64413         * time/sys/time.h (settimeofday): Do not mark TV argument
64414         as __nonnull.
64416 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64418         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64419         when currently writing and seek to current position when not.
64420         * libio/Makefile (tests): Remove bug-fclose1.
64421         * libio/bug-fclose1.c: Delete.
64423 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64425         * manual/arith.texi (feenableexcept): Fix typo.
64426         (fedisableexcept): Likewise.
64428 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64430         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64431         second, differently-typed declaration, rather than a cast.
64433 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64435         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64436         * include/rpc/svc.h: ... here.
64438 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64440         [BZ #13013]
64441         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64442         depending n and resplen2 to catch cases where answer
64443         equals answerp2.
64445 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64447         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64448         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64450 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64452         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64454 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64456         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64458 2012-11-28  Jeff Law  <law@redhat.com>
64460         [BZ #13761]
64461         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64462         dataset_temporary.  Track alloca usage into alloca_used.
64463         If dataset is large allocate and release it via malloc/free.
64465 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64467         [BZ #14197]
64468         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64470 2012-11-28  David S. Miller  <davem@davemloft.net>
64472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64474 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64476         [BZ #14803]
64477         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64478         of pi/2 rounded to nearest to 64 bits.
64479         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64480         nearest to 64 bits.
64481         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64482         bits.
64484 2012-11-28  Jeff Law <law@redhat.com>
64485             Martin Osvald <mosvald@redhat.com>
64487         [BZ #14889]
64488         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64489         * sunrpc/svc.c: Include time.h.
64490         (__svc_accept_failed): New function.
64491         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64492         any reason other than EINTR, call __svc_accept_failed.
64493         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64494         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64496 2012-11-28  Andreas Schwab  <schwab@suse.de>
64498         * scripts/abilist.awk: Also handle indirect functions in .opd
64499         section.
64501 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64503         [BZ #13881]
64504         * sysdeps/x86/fpu/powl_helper.c: New file.
64505         * sysdeps/x86/fpu/Makefile: Likewise.
64506         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64507         (p3): New object.
64508         (__ieee754_powl): Use __powl_helper for finite arguments except
64509         integer exponents below 8.
64510         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64511         (p3): New object.
64512         (__ieee754_powl): Use __powl_helper for finite arguments except
64513         integer exponents below 8.
64514         * math/libm-test.inc (pow_test): Add more tests and enable some
64515         previously disabled tests.
64516         * sysdeps/i386/fpu/libm-test-ulps: Update.
64517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64519 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64520             Carlos O'Donell  <carlos_odonell@mentor.com>
64522         * nss/makedb.c (is_prime): Assert that input is odd and greater
64523         than 4.  Note that fact in a comment too.
64524         (next_prime): Add 4 to input.
64526 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64528         [BZ #11741]
64529         * libio/Makefile (tests): Add test case tst-fwrite-error.
64530         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64531         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64532         * libio/tst-fwrite-error.c: New test case.
64534 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64536         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64537         before casting to void *.
64538         * include/libc-internal.h (__pointer_type): New macro.
64539         (__integer_if_pointer_type_sub): Likewise.
64540         (__integer_if_pointer_type): Likewise.
64541         (cast_to_integer): Likewise.
64542         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64543         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64544         before casting to atomic64_t.
64545         (atomic_exchange_acq): Likewise.
64546         (__arch_exchange_and_add_body): Likewise.
64547         (__arch_add_body): Likewise.
64548         (atomic_add_negative): Likewise.
64549         (atomic_add_zero): Likewise.
64551 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64553         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64554         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64555         (add_fdes): Likewise.
64556         (linear_search_fdes): Likewise.
64557         (binary_search_unencoded_fdes): Likewise.
64559 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64561         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64563 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64565         * configure.in: Autodetect C++ header directories.
64566         * configure: Regenerated.
64568 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64570         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64572 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64576 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64578         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64579         LDBL_MANT_DIG == 106]: Disable some tests.
64580         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64581         Likewise.
64582         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64583         Likewise.
64585         [BZ #14871]
64586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64587         input for small inputs.  Return +/- pi/2 for large inputs.
64588         * math/libm-test.inc (atan_test): Add more tests.
64590         * sysdeps/generic/unwind-dw2-fde-glibc.c
64591         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64592         __attribute__ ((unused)).
64594         [BZ #14645]
64595         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64596         x * y if x and y are nonzero and z is zero.
64598         [BZ #14811]
64599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64600         nonzero exponents with absolute value below 0x1p-117 to +/-
64601         0x1p-117.
64603         [BZ #14869]
64604         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64605         up arguments below 2**-450, not just those below 2**-500.
64606         * math/libm-test.inc (hypot_test): Add another test.
64608         [BZ #14868]
64609         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64610         Return a+b for ratio over 2**120, not 2**60.
64611         * math/libm-test.inc (hypot_test): Add another test.
64613         * math/libm-test.inc (clog_test): Use
64614         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64615         (clog10_test): Likewise.
64617         [BZ #6778]
64618         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64620 2012-11-22  Andreas Schwab  <schwab@suse.de>
64622         * sysdeps/i386/fpu/libm-test-ulps: Update.
64624 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
64626         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64627         printf output with newline.
64629 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
64631         [BZ #14865]
64632         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64633         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64634         -z nodlopen, -z initfirst and -z execstack support.
64635         * configure: Regenerated.
64637         * elf/elf.h (DF_1_NODIRECT): New macro.
64638         (DF_1_IGNMULDEF): Likewise.
64639         (DF_1_NOKSYMS): Likewise.
64640         (DF_1_NOHDR): Likewise.
64641         (DF_1_EDITED): Likewise.
64642         (DF_1_NORELOC): Likewise.
64643         (DF_1_SYMINTPOSE): Likewise.
64644         (DF_1_GLOBAUDIT): Likewise.
64645         (DF_1_SINGLETON): Likewise.
64646         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
64647         DT_1_SUPPORTED_MASK bits.
64648         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
64650 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
64652         * sysdeps/unix/make-syscalls.sh: Document prefixes.
64654 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
64656         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
64657         macro.
64659         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
64660         (sendmmsg): Move declarations...
64661         * socket/sys/socket.h: ... here.
64662         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
64663         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
64664         include it from...
64665         * socket/recvmmsg.c: ... this new file.
64666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
64667         (sendmmsg): Rename to __sendmmsg, create weak alias and make
64668         definition of __sendmmsg hidden.
64669         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
64670         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
64671         Move ENOSYS stub into and include it from...
64672         * socket/sendmmsg.c: ... this new file.
64673         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
64674         (sysdep_routines): Move recvmmsg and sendmmsg...
64675         * socket/Makefile (routines): ... here.
64676         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
64677         (GLIBC_PRIVATE): Add __sendmmsg.
64678         * include/sys/socket.h (__sendmmsg): Add declarations.
64679         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
64680         sendmmsg.
64682 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
64684         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
64685         variable I1 with __attribute__ ((unused)).
64686         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64688 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64690         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
64691         DUMMY variables with __attribute__ ((unused)).
64693         * bits/byteswap.h: Include <bits/types.h>.
64694         (__bswap_64): Use __uint64_t instead of unsigned long long int.
64696 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64698         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
64699         string_t.  Do not manually set errno.
64700         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
64701         length with __strnlen.  Make sure to both set errno and return it on
64702         failure.
64704 2012-11-19  David S. Miller  <davem@davemloft.net>
64706         With help from Joseph Myers.
64707         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
64708         very large arguments properly.
64709         * math/libm-test.inc (atan_test): New tests.
64710         (atan2_test): New tests.
64711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64714 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64716         [BZ #14856]
64717         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
64718         Define to 3.
64720         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
64721         [POSIX] (EADDRNOTAVAIL): Likewise.
64722         [POSIX] (EAFNOSUPPORT): Likewise.
64723         [POSIX] (EALREADY): Likewise.
64724         [POSIX] (ECONNABORTED): Likewise.
64725         [POSIX] (ECONNREFUSED): Likewise.
64726         [POSIX] (ECONNRESET): Likewise.
64727         [POSIX] (EDESTADDRREQ): Likewise.
64728         [POSIX] (EDQUOT): Likewise.
64729         [POSIX] (EHOSTUNREACH): Likewise.
64730         [POSIX] (EIDRM): Likewise.
64731         [POSIX] (EISCONN): Likewise.
64732         [POSIX] (ELOOP): Likewise.
64733         [POSIX] (EMULTIHOP): Likewise.
64734         [POSIX] (ENETDOWN): Likewise.
64735         [POSIX] (ENETUNREACH): Likewise.
64736         [POSIX] (ENOBUFS): Likewise.
64737         [POSIX] (ENODATA): Likewise.
64738         [POSIX] (ENOLINK): Likewise.
64739         [POSIX] (ENOMSG): Likewise.
64740         [POSIX] (ENOPROTOOPT): Likewise.
64741         [POSIX] (ENOSR): Likewise.
64742         [POSIX] (ENOSTR): Likewise.
64743         [POSIX] (ENOTCONN): Likewise.
64744         [POSIX] (ENOTSOCK): Likewise.
64745         [POSIX] (EOPNOTSUPP): Likewise.
64746         [POSIX] (EOVERFLOW): Likewise.
64747         [POSIX] (EPROTO): Likewise.
64748         [POSIX] (EPROTONOSUPPORT): Likewise.
64749         [POSIX] (EPROTOTYPE): Likewise.
64750         [POSIX] (ESTALE): Likewise.
64751         [POSIX] (ETIME): Likewise.
64752         [POSIX] (ETXTBSY): Likewise.
64753         [POSIX] (EWOULDBLOCK): Likewise.
64754         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
64755         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
64756         [POSIX] (SEEK_CUR): Likewise.
64757         [POSIX] (SEEK_END): Likewise.
64758         [POSIX || UNIX98] (mode_t): Do not require.
64759         [POSIX] (off_t): Likewise.
64760         [POSIX] (pid_t): Likewise.
64761         [POSIX] (sys/stat.h): Do not allow header.
64762         [POSIX] (unistd.h): Likewise.
64763         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
64764         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
64765         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
64766         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
64767         require.
64768         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
64769         sigevent): Specify elements.
64770         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
64771         entry.
64772         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
64773         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
64775         * conform/data/cpio.h-data [POSIX]: Disable whole file.
64776         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
64777         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
64778         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
64779         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
64780         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
64781         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
64782         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
64783         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
64784         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
64785         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
64786         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
64787         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
64788         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
64789         Likewise.
64790         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
64791         Likewise.
64792         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
64793         Likewise.
64794         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
64795         Likewise.
64796         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
64797         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
64798         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
64799         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
64800         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
64801         Specify lower bound on value.
64802         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
64803         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
64804         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
64805         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
64806         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
64807         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
64808         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
64809         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
64810         value.
64811         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
64812         as optional.
64813         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
64814         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
64815         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
64816         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
64817         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
64818         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
64819         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
64820         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
64821         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
64822         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
64823         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
64824         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
64825         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
64826         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
64827         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
64828         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
64829         entry.
64830         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
64831         optional.
64832         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
64833         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
64834         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
64835         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
64836         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
64837         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
64838         Likewise.
64839         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
64840         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
64841         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
64842         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
64843         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
64844         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
64845         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
64846         as optional.
64847         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
64848         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
64849         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
64850         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
64851         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
64852         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
64853         specify as optional.
64854         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
64855         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
64856         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
64857         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
64858         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
64859         [XPG3] (NL_LANGMAX): Likewise.
64860         [POSIX || XPG3] (NL_MSGMAX): Likewise.
64861         [POSIX || XPG3] (NL_NMAX): Likewise.
64862         [POSIX || XPG3] (NL_SETMAX): Likewise.
64863         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
64864         [XPG3] (NZERO): Likewise.
64865         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
64866         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
64867         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
64868         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
64869         (REG_ERANGE): Expect.
64870         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
64871         optional-constant.
64872         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
64873         Use (void) in prototype.
64874         [POSIX] (*_t): Allow.
64875         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
64876         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
64877         (WRDE_BADVAL): Expect.
64879         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
64880         expect.
64881         [XPG3 || XPG4] (O_RSYNC): Likewise.
64882         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
64883         Likewise.
64884         [XPG3 || XPG4] (pthread_sigmask): Likewise.
64885         [XPG3 || XPG4] (sigqueue): Likewise.
64886         [XPG3 || XPG4] (sigtimedwait): Likewise.
64887         [XPG3 || XPG4] (sigwaitinfo): Likewise.
64888         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
64889         [XPG3 || XPG4] (vsnprintf): Likewise.
64890         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
64891         Likewise.
64892         [XPG3 || XPG4] (blksize_t): Likewise.
64893         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
64894         Likewise.
64895         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
64896         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
64897         [XPG3 || XPG4] (struct itimerspec): Likewise.
64898         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
64899         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
64900         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
64901         [XPG3 || XPG4] (clockid_t): Likewise.
64902         [XPG3 || XPG4] (timer_t): Likewise.
64903         [XPG3 || XPG4] (clock_getres): Likewise.
64904         [XPG3 || XPG4] (clock_gettime): Likewise.
64905         [XPG3 || XPG4] (clock_settime): Likewise.
64906         [XPG3 || XPG4] (nanosleep): Likewise.
64907         [XPG3 || XPG4] (timer_create): Likewise.
64908         [XPG3 || XPG4] (timer_delete): Likewise.
64909         [XPG3 || XPG4] (timer_gettime): Likewise.
64910         [XPG3 || XPG4] (timer_getoverrun): Likewise.
64911         [XPG3 || XPG4] (timer_settime): Likewise.
64912         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
64913         [XPG3 || XPG4] (getlogin_r): Likewise.
64914         [XPG3 || XPG4] (pread): Likewise.
64915         [XPG3 || XPG4] (pthread_atfork): Likewise.
64916         [XPG3 || XPG4] (pwrite): Likewise.
64918         [BZ #14835]
64919         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
64920         <bits/siginfo.h>.
64922 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64924         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
64925         finalizing MALLSTREAM.
64927         * sysdeps/mach/hurd/syncfs.c: New file.
64929 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64931         [BZ #14719]
64932         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
64933         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
64934         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
64935         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
64936         (_nss_dns_gethostbyname4_r): Likewise.
64937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
64938         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
64940 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
64942         [BZ #13763]
64943         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
64945 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
64947         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
64948         * elf/cache.c (print_entry): Print ",AArch64" for
64949         FLAG_AARCH64_LIB64
64951         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
64952         * elf/cache.c (print_entry): Print ",hard-float" for
64953         FLAG_ARM_LIBHF.
64955 2012-11-18  David S. Miller  <davem@davemloft.net>
64957         With help from Joseph Myers.
64958         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
64959         cutoff to 2**-13.
64960         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
64961         cutoff to 2**-25.
64962         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
64963         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
64964         small.
64965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
64966         * math/libm-test.inc (y0_test): New tests.
64967         (y1_test): New tests.
64968         * sysdeps/i386/fpu/libm-test-ulps: Update.
64969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64972 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
64974         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
64975         64-bit targets.
64976         * configure: Regenerated.
64978 2012-11-17  David S. Miller  <davem@davemloft.net>
64980         [BZ #14811]
64981         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
64982         nonzero exponents with absolute value below 0x1p-128 to +/-
64983         0x1p-128.
64985 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
64987         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
64989         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
64991         * posix/getconf-speclist.c: New file.
64992         * posix/posix-envs.def: Likewise.
64993         * posix/confstr.c (START_ENV_GROUP): New macro.
64994         (END_ENV_GROUP): Likewise.
64995         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
64996         (KNOWN_PRESENT_ENV_STRING): Likewise.
64997         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
64998         (UNKNOWN_ENVIRONMENT): Likewise.
64999         (confstr): Include posix-envs.def instead of handling
65000         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65001         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65002         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65003         (END_ENV_GROUP): Likewise.
65004         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65005         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65006         (UNKNOWN_ENVIRONMENT): Likewise.
65007         (__sysconf): Include posix-envs.def instead of handling associated
65008         cases directly here.
65009         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65010         preprocessing getconf-speclist.c rather than running getconf or
65011         generating empty file.
65013 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65015         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65017 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65019         [BZ #14672]
65020         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65022 2012-11-16  David S. Miller  <davem@davemloft.net>
65024         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65025         smaller than LDBL_EPSILON/2.0L, just return xm1.
65027 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65029         * elf/tst-array1.c (init): Set constructor priority to 1000.
65030         (fini): Set destructor priority to 1000.
65031         * elf/tst-array2dep.c: Likewise.
65033 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65035         [BZ #11741]
65036         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65037         (_IO_new_file_xsputn): Also return EOF if none of the input
65038         data was written when overflow failed.
65039         * libio/iopadn.c (_IO_padn): Likewise.
65040         * libio/iowpadn.c (_IO_wpadn): Likewise.
65041         * stdio-common/tst-put-error.c: Add copyright notice.
65042         (do_test): Add case for printing padded string.
65043         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65044         _IO_padn returned error.
65045         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65046         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65047         return EOF.
65049 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65051         * libio/libioP.h: Add comment note that the references to C++
65052         bits are now obsolete.
65054 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65056         * math/libm-test.inc (check_complex): Use asprintf.
65058 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65060         * debug/pcprofiledump.c (print_version): Update copyright year.
65061         * malloc/memusagestat.c (print_version): Likewise.
65063 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65065         [BZ #14831]
65066         * elf/Makefile (tests): Add tst-audit8.
65067         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65068         ($(objpfx)tst-audit8.out): New target.
65069         (tst-audit8-ENV): New variable.
65070         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65071         audit if l_reloc_result is NULL.
65072         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65073         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65074         * elf/tst-audit8.c: New file.
65076 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65078         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65079         * misc/Makefile (CFLAGS-select.c): Define.
65080         * posix/Makefile (CFLAGS-pause.c): Define.
65082 2012-11-13  David S. Miller  <davem@davemloft.net>
65084         * crypt/Makefile: Move test targets after toplevel Rules
65085         inclusion.  Grab any necessary sysdep routines when linking.
65086         * crypt/md5.c (md5_process_block): Remove define, we will always
65087         name it __md5_process_block.
65088         (md5_finish_ctx): Update md5_process_block call.
65089         (md5_stream): Likewise.
65090         (md5_process_bytes): Likewise.
65091         (md5_process_block): Rename to __md5_process_block and move to ...
65092         * crypt/md5-block.c: ... here.
65093         * crypt/sha256.c (sha256_process_block): Move to ...
65094         * crypt/sha256-block.c: ... here.
65095         * crypt/sha512.c (sha512_process_block): Move to ...
65096         * crypt/sha512-block.c: ... here.
65097         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65098         path.
65099         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65100         * sysdeps/sparc/sparc64/multiarch/Makefile
65101         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65102         crypt subdir.
65103         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65104         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65105         multiarch changes.
65106         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65107         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65108         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65109         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65110         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65111         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65112         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65113         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65114         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65115         file.
65116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65117         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65118         file.
65119         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65121 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65123         * timezone/tzselect.ksh: Update from tzcode git revision
65124         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65125         * timezone/zdump.c: Likewise.
65126         * timezone/zic.c: Likewise.
65127         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65128         in TZVERSION setting, not $(PKGVERSION).
65129         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65130         REPORT_BUGS_TO settings.
65132         [BZ #14838]
65133         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65134         macro.
65136 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65138         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65139         detection to immediately after _FP_ROUND().
65140         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65141         bits are 0.
65143 2012-11-11  David S. Miller  <davem@davemloft.net>
65145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65146         inttypes.h
65147         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65148         __close rather than their public counterparts.
65150 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65152         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65153         file.
65154         [UNIX98] (sem_timedwait): Do not expect.
65155         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65156         [XPG4 || UNIX98] (sockatmark): Do not expect.
65157         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65158         (clock_getcpuclockid): Do not expect.
65159         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65160         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65161         Do not expect.
65162         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65163         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65164         [UNIX98] (vwscanf): Likewise.
65165         [UNIX98] (vswscanf): Likewise.
65167 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65169         * timezone/version.h: Remove file.
65170         * timezone/README: Do not refer to version.h.
65171         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65172         $(objpfx)version.h.
65173         ($(objpfx)zdump.o): Likewise.
65174         ($(objpfx)version.h): New target.
65176         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65177         2012i.
65178         * timezone/README: Don't mention modification to tzselect.ksh.
65179         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65180         work on unmodified tzselect.ksh.  Substitute version numbers in
65181         tzselect.ksh.
65183         * Makefile (format-me): Remove.
65184         (INSTALL): Adjust indentation.  Use commands directly instead of
65185         using $(format-me).
65187         * aclocal.m4 (ACX_PKGVERSION): New macro.
65188         (ACX_BUGURL): Likewise.
65189         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65190         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65191         (REPORT_BUGS_TO): Likewise.
65192         * configure: Regenerated.
65193         * config.h.in (PKGVERSION): New macro.
65194         (REPORT_BUGS_TO): Likewise.
65195         * config.make.in (PKGVERSION): New variable.
65196         (PKGVERSION_TEXI): Likewise.
65197         (REPORT_BUGS_TO): Likewise.
65198         (REPORT_BUGS_TEXI): Likewise.
65199         * Makefile (format-me): Use -I$(common-objpfx)manual.
65200         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65201         ($(common-objpfx)manual/%): New target.
65202         (manual/%): Remove target.
65203         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65204         (print_version): Use PKGVERSION.
65205         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65206         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65207         and REPORT_BUGS_TO.
65208         ($(objpfx)xtrace): Likewise.
65209         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65210         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65211         (print_version): Use PKGVERSION.
65212         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65213         (do_version): Use PKGVERSION.
65214         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65215         REPORT_BUGS_TO.
65216         (common-ldd-rewrite): Likewise.
65217         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65218         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65219         (print_version): Use PKGVERSION.
65220         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65221         * elf/pldd.c (argp_program_bug_address): Remove variable.
65222         (more_help): New function.
65223         (argp): Use more_help.
65224         (print_version): Use PKGVERSION.
65225         * elf/sln.c (main): Use PKGVERSION.
65226         (usage): Use REPORT_BUGS_TO.
65227         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65228         (top level): Use PKGVERSION.
65229         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65230         (print_version): Use PKGVERSION.
65231         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65232         (print_version): Use PKGVERSION.
65233         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65234         (print_version): Use PKGVERSION.
65235         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65236         (print_version): Use PKGVERSION.
65237         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65238         (print_version): Use PKGVERSION.
65239         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65240         (print_version): Use PKGVERSION.
65241         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65242         and BUGURL.
65243         ($(objpfx)memusage): Likewise.
65244         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65245         (do_version): Use PKGVERSION.
65246         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65247         (print_version): Use PKGVERSION.
65248         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65249         ($PKGVERSION): New variable.
65250         ($REPORT_BUGS_TO): Likewise.
65251         (usage): Use $REPORT_BUGS_TO.
65252         (top level): Use $PKGVERSION.
65253         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65254         ($(objpfx)pkgvers.texi): New rule.
65255         ($(objpfx)stamp-pkgvers): Likewise.
65256         * manual/install.texi: Include pkgvers.texi.
65257         (--with-pkgversion): Document new configure option.
65258         (--with-bugurl): Likewise.
65259         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65260         than necessarily for this particular distribution.  Use
65261         REPORT_BUGS_TO for where to report bugs.
65262         * INSTALL: Regenerated.
65263         * manual/libc.texinfo: Include pkgvers.texi.
65264         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65265         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65266         (print_version): Use PKGVERSION.
65267         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65268         (print_version): Use PKGVERSION.
65269         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65270         (print_version): Use PKGVERSION.
65271         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65272         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65273         macro.
65274         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65275         (print_version): Use PKGVERSION.
65276         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65277         (print_version): Use PKGVERSION.
65278         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65279         and PKGVERSION.
65281         * timezone/checktab.awk: Update from tzcode 2012i.
65282         * timezone/ialloc.c: Likewise.
65283         * timezone/private.h: Likewise.
65284         * timezone/scheck.c: Likewise.
65285         * timezone/tzfile.h: Likewise.
65286         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65287         (TZVERSION): Hardcode tzcode version number.
65288         * timezone/zdump.c: Update from tzcode 2012i.
65289         * timezone/zic.c: Likewise.
65290         * timezone/version.h: New file.
65291         * timezone/README: Describe version.h.  Update upstream location.
65293         [BZ #14824]
65294         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65295         (mktemp): Enable declaration.
65296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65297         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65300         Likewise.
65301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65302         Likewise.
65303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65304         Likewise.
65305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65306         Likewise.
65307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65308         Likewise.
65309         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65310         Likewise.
65312         [BZ #14821]
65313         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65314         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65315         for copies of such integer values.
65316         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65317         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65319 2012-11-09  Andreas Jaeger  <aj@suse.de>
65321         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65322         definitions and declarations that are provided by
65323         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65325 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65327         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65328         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65329         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65330         definition.
65332 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65334         * elf/elf.h: Update comment before AArch64 relocations.
65336 2012-11-07  David S. Miller  <davem@davemloft.net>
65338         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65339         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65340         (__start_context): Declare.
65341         (__makecontext_ret): Delete.
65342         (__makecontext): Hook up __start_context instead of
65343         __makecontext_ret.
65344         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65345         (sysdep_routines): Add __start_context when in stdlib.
65347 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65349         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65350         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65351         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65352         hardcoded "nm".
65353         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65354         (READELF): New variable.  Use it instead of hardcoded "readelf".
65356 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65358         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65359         * sysdeps/x86/Makefile: Here.
65360         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65361         * sysdeps/x86/tst-xmmymm.sh: This.
65363 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65365         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65366         expectations.
65367         [UNIX98] (pthread_barrier_t): Do not expect.
65368         [UNIX98] (pthread_barrierattr_t): Likewise.
65369         [UNIX98] (pthread_spinlock_t): Likewise.
65370         [UNIX98] (pthread_barrier_destroy): Likewise.
65371         [UNIX98] (pthread_barrier_init): Likewise.
65372         [UNIX98] (pthread_barrier_wait): Likewise.
65373         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65374         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65375         [UNIX98] (pthread_barrierattr_init): Likewise.
65376         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65377         [UNIX98] (pthread_getcpuclockid): Likewise.
65378         [UNIX98] (pthread_mutex_timedlock): Likewise.
65379         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65380         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65381         [UNIX98] (pthread_sigmask): Likewise.
65382         [UNIX98] (pthread_spin_destroy): Likewise.
65383         [UNIX98] (pthread_spin_init): Likewise.
65384         [UNIX98] (pthread_spin_lock): Likewise.
65385         [UNIX98] (pthread_spin_trylock): Likewise.
65386         [UNIX98] (pthread_spin_unlock): Likewise.
65387         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65388         Do not expect.
65389         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65390         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65391         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65392         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65393         [XPG3 || XPG4] (pthread_key_t): Likewise.
65394         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65395         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65396         [XPG3 || XPG4] (pthread_once_t): Likewise.
65397         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65398         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65399         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65400         [XPG3 || XPG4] (pthread_t): Likewise.
65402         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65403         not expect.
65404         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65406         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65407         Change function return type to int.
65409         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65410         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65411         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65412         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65413         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65414         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65415         [!POSIX] (posix_madvise): Likewise.
65416         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65417         && !UNIX98].
65418         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65419         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65420         (mode_t): Likewise.
65421         (posix_mem_offset): Likewise.
65422         (posix_typed_mem_get_info): Likewise.
65423         (posix_typed_mem_open): Likewise.
65425         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65426         Change condition to [XOPEN2K8].
65428         * conform/conformtest.pl: Preprocess allow-header data with -x c
65429         instead of from stdin.
65430         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65431         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65432         [C99-based standards] (cerfc): Likewise.
65433         [C99-based standards] (cexp2): Likewise.
65434         [C99-based standards] (cexpm1): Likewise.
65435         [C99-based standards] (clog10): Likewise.
65436         [C99-based standards] (clog1p): Likewise.
65437         [C99-based standards] (clog2): Likewise.
65438         [C99-based standards] (clgamma): Likewise.
65439         [C99-based standards] (ctgamma): Likewise.
65440         [C99-based standards] (cerff): Likewise.
65441         [C99-based standards] (cerfcf): Likewise.
65442         [C99-based standards] (cexp2f): Likewise.
65443         [C99-based standards] (cexpm1f): Likewise.
65444         [C99-based standards] (clog10f): Likewise.
65445         [C99-based standards] (clog1pf): Likewise.
65446         [C99-based standards] (clog2f): Likewise.
65447         [C99-based standards] (clgammaf): Likewise.
65448         [C99-based standards] (ctgammaf): Likewise.
65449         [C99-based standards] (cerfl): Likewise.
65450         [C99-based standards] (cerfcl): Likewise.
65451         [C99-based standards] (cexp2l): Likewise.
65452         [C99-based standards] (cexpm1l): Likewise.
65453         [C99-based standards] (clog10l): Likewise.
65454         [C99-based standards] (clog1pl): Likewise.
65455         [C99-based standards] (clog2l): Likewise.
65456         [C99-based standards] (clgammal): Likewise.
65457         [C99-based standards] (ctgammal): Likewise.
65458         * conform/data/inttypes.h-data [C99-based standards]: Include
65459         stdint.h-data.  Remove all expectations for stdint.h contents.
65460         [C99-based standards] (PRI*): Do not allow.
65461         [C99-based standards] (SCN*): Likewise.
65462         [C99-based standards] (*_t): Likewise.
65463         [C99-based-standards] (PRId8): Expect macro.
65464         [C99-based-standards] (PRIi8): Likewise.
65465         [C99-based-standards] (PRIo8): Likewise.
65466         [C99-based-standards] (PRIu8): Likewise.
65467         [C99-based-standards] (PRIx8): Likewise.
65468         [C99-based-standards] (PRIX8): Likewise.
65469         [C99-based-standards] (SCNd8): Likewise.
65470         [C99-based-standards] (SCNi8): Likewise.
65471         [C99-based-standards] (SCNo8): Likewise.
65472         [C99-based-standards] (SCNu8): Likewise.
65473         [C99-based-standards] (SCNx8): Likewise.
65474         [C99-based-standards] (PRIdLEAST8): Likewise.
65475         [C99-based-standards] (PRIiLEAST8): Likewise.
65476         [C99-based-standards] (PRIoLEAST8): Likewise.
65477         [C99-based-standards] (PRIuLEAST8): Likewise.
65478         [C99-based-standards] (PRIxLEAST8): Likewise.
65479         [C99-based-standards] (PRIXLEAST8): Likewise.
65480         [C99-based-standards] (SCNdLEAST8): Likewise.
65481         [C99-based-standards] (SCNiLEAST8): Likewise.
65482         [C99-based-standards] (SCNoLEAST8): Likewise.
65483         [C99-based-standards] (SCNuLEAST8): Likewise.
65484         [C99-based-standards] (SCNxLEAST8): Likewise.
65485         [C99-based-standards] (PRIdFAST8): Likewise.
65486         [C99-based-standards] (PRIiFAST8): Likewise.
65487         [C99-based-standards] (PRIoFAST8): Likewise.
65488         [C99-based-standards] (PRIuFAST8): Likewise.
65489         [C99-based-standards] (PRIxFAST8): Likewise.
65490         [C99-based-standards] (PRIXFAST8): Likewise.
65491         [C99-based-standards] (SCNdFAST8): Likewise.
65492         [C99-based-standards] (SCNiFAST8): Likewise.
65493         [C99-based-standards] (SCNoFAST8): Likewise.
65494         [C99-based-standards] (SCNuFAST8): Likewise.
65495         [C99-based-standards] (SCNxFAST8): Likewise.
65496         [C99-based-standards] (PRId16): Likewise.
65497         [C99-based-standards] (PRIi16): Likewise.
65498         [C99-based-standards] (PRIo16): Likewise.
65499         [C99-based-standards] (PRIu16): Likewise.
65500         [C99-based-standards] (PRIx16): Likewise.
65501         [C99-based-standards] (PRIX16): Likewise.
65502         [C99-based-standards] (SCNd16): Likewise.
65503         [C99-based-standards] (SCNi16): Likewise.
65504         [C99-based-standards] (SCNo16): Likewise.
65505         [C99-based-standards] (SCNu16): Likewise.
65506         [C99-based-standards] (SCNx16): Likewise.
65507         [C99-based-standards] (PRIdLEAST16): Likewise.
65508         [C99-based-standards] (PRIiLEAST16): Likewise.
65509         [C99-based-standards] (PRIoLEAST16): Likewise.
65510         [C99-based-standards] (PRIuLEAST16): Likewise.
65511         [C99-based-standards] (PRIxLEAST16): Likewise.
65512         [C99-based-standards] (PRIXLEAST16): Likewise.
65513         [C99-based-standards] (SCNdLEAST16): Likewise.
65514         [C99-based-standards] (SCNiLEAST16): Likewise.
65515         [C99-based-standards] (SCNoLEAST16): Likewise.
65516         [C99-based-standards] (SCNuLEAST16): Likewise.
65517         [C99-based-standards] (SCNxLEAST16): Likewise.
65518         [C99-based-standards] (PRIdFAST16): Likewise.
65519         [C99-based-standards] (PRIiFAST16): Likewise.
65520         [C99-based-standards] (PRIoFAST16): Likewise.
65521         [C99-based-standards] (PRIuFAST16): Likewise.
65522         [C99-based-standards] (PRIxFAST16): Likewise.
65523         [C99-based-standards] (PRIXFAST16): Likewise.
65524         [C99-based-standards] (SCNdFAST16): Likewise.
65525         [C99-based-standards] (SCNiFAST16): Likewise.
65526         [C99-based-standards] (SCNoFAST16): Likewise.
65527         [C99-based-standards] (SCNuFAST16): Likewise.
65528         [C99-based-standards] (SCNxFAST16): Likewise.
65529         [C99-based-standards] (PRId32): Likewise.
65530         [C99-based-standards] (PRIi32): Likewise.
65531         [C99-based-standards] (PRIo32): Likewise.
65532         [C99-based-standards] (PRIu32): Likewise.
65533         [C99-based-standards] (PRIx32): Likewise.
65534         [C99-based-standards] (PRIX32): Likewise.
65535         [C99-based-standards] (SCNd32): Likewise.
65536         [C99-based-standards] (SCNi32): Likewise.
65537         [C99-based-standards] (SCNo32): Likewise.
65538         [C99-based-standards] (SCNu32): Likewise.
65539         [C99-based-standards] (SCNx32): Likewise.
65540         [C99-based-standards] (PRIdLEAST32): Likewise.
65541         [C99-based-standards] (PRIiLEAST32): Likewise.
65542         [C99-based-standards] (PRIoLEAST32): Likewise.
65543         [C99-based-standards] (PRIuLEAST32): Likewise.
65544         [C99-based-standards] (PRIxLEAST32): Likewise.
65545         [C99-based-standards] (PRIXLEAST32): Likewise.
65546         [C99-based-standards] (SCNdLEAST32): Likewise.
65547         [C99-based-standards] (SCNiLEAST32): Likewise.
65548         [C99-based-standards] (SCNoLEAST32): Likewise.
65549         [C99-based-standards] (SCNuLEAST32): Likewise.
65550         [C99-based-standards] (SCNxLEAST32): Likewise.
65551         [C99-based-standards] (PRIdFAST32): Likewise.
65552         [C99-based-standards] (PRIiFAST32): Likewise.
65553         [C99-based-standards] (PRIoFAST32): Likewise.
65554         [C99-based-standards] (PRIuFAST32): Likewise.
65555         [C99-based-standards] (PRIxFAST32): Likewise.
65556         [C99-based-standards] (PRIXFAST32): Likewise.
65557         [C99-based-standards] (SCNdFAST32): Likewise.
65558         [C99-based-standards] (SCNiFAST32): Likewise.
65559         [C99-based-standards] (SCNoFAST32): Likewise.
65560         [C99-based-standards] (SCNuFAST32): Likewise.
65561         [C99-based-standards] (SCNxFAST32): Likewise.
65562         [C99-based-standards] (PRId64): Likewise.
65563         [C99-based-standards] (PRIi64): Likewise.
65564         [C99-based-standards] (PRIo64): Likewise.
65565         [C99-based-standards] (PRIu64): Likewise.
65566         [C99-based-standards] (PRIx64): Likewise.
65567         [C99-based-standards] (PRIX64): Likewise.
65568         [C99-based-standards] (SCNd64): Likewise.
65569         [C99-based-standards] (SCNi64): Likewise.
65570         [C99-based-standards] (SCNo64): Likewise.
65571         [C99-based-standards] (SCNu64): Likewise.
65572         [C99-based-standards] (SCNx64): Likewise.
65573         [C99-based-standards] (PRIdLEAST64): Likewise.
65574         [C99-based-standards] (PRIiLEAST64): Likewise.
65575         [C99-based-standards] (PRIoLEAST64): Likewise.
65576         [C99-based-standards] (PRIuLEAST64): Likewise.
65577         [C99-based-standards] (PRIxLEAST64): Likewise.
65578         [C99-based-standards] (PRIXLEAST64): Likewise.
65579         [C99-based-standards] (SCNdLEAST64): Likewise.
65580         [C99-based-standards] (SCNiLEAST64): Likewise.
65581         [C99-based-standards] (SCNoLEAST64): Likewise.
65582         [C99-based-standards] (SCNuLEAST64): Likewise.
65583         [C99-based-standards] (SCNxLEAST64): Likewise.
65584         [C99-based-standards] (PRIdFAST64): Likewise.
65585         [C99-based-standards] (PRIiFAST64): Likewise.
65586         [C99-based-standards] (PRIoFAST64): Likewise.
65587         [C99-based-standards] (PRIuFAST64): Likewise.
65588         [C99-based-standards] (PRIxFAST64): Likewise.
65589         [C99-based-standards] (PRIXFAST64): Likewise.
65590         [C99-based-standards] (SCNdFAST64): Likewise.
65591         [C99-based-standards] (SCNiFAST64): Likewise.
65592         [C99-based-standards] (SCNoFAST64): Likewise.
65593         [C99-based-standards] (SCNuFAST64): Likewise.
65594         [C99-based-standards] (SCNxFAST64): Likewise.
65595         [C99-based-standards] (PRIdMAX): Likewise.
65596         [C99-based-standards] (PRIiMAX): Likewise.
65597         [C99-based-standards] (PRIoMAX): Likewise.
65598         [C99-based-standards] (PRIuMAX): Likewise.
65599         [C99-based-standards] (PRIxMAX): Likewise.
65600         [C99-based-standards] (PRIXMAX): Likewise.
65601         [C99-based-standards] (SCNdMAX): Likewise.
65602         [C99-based-standards] (SCNiMAX): Likewise.
65603         [C99-based-standards] (SCNoMAX): Likewise.
65604         [C99-based-standards] (SCNuMAX): Likewise.
65605         [C99-based-standards] (SCNxMAX): Likewise.
65606         [C99-based-standards] (PRIdPTR): Likewise.
65607         [C99-based-standards] (PRIiPTR): Likewise.
65608         [C99-based-standards] (PRIoPTR): Likewise.
65609         [C99-based-standards] (PRIuPTR): Likewise.
65610         [C99-based-standards] (PRIxPTR): Likewise.
65611         [C99-based-standards] (PRIXPTR): Likewise.
65612         [C99-based-standards] (SCNdPTR): Likewise.
65613         [C99-based-standards] (SCNiPTR): Likewise.
65614         [C99-based-standards] (SCNoPTR): Likewise.
65615         [C99-based-standards] (SCNuPTR): Likewise.
65616         [C99-based-standards] (SCNxPTR): Likewise.
65617         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65618         allow.
65619         * conform/data/stdint.h-data: Update comments to clarify
65620         requirements.
65621         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
65622         type.
65623         [C99-based standards] (INT8_MAX): Likewise.
65624         [C99-based standards] (INT16_MIN): Likewise.
65625         [C99-based standards] (INT16_MAX): Likewise.
65626         [C99-based standards] (INT32_MIN): Likewise.
65627         [C99-based standards] (INT32_MAX): Likewise.
65628         [C99-based standards] (INT64_MIN): Likewise.
65629         [C99-based standards] (INT64_MAX): Likewise.
65630         [C99-based standards] (UINT8_MAX): Likewise.
65631         [C99-based standards] (UINT16_MAX): Likewise.
65632         [C99-based standards] (UINT32_MAX): Likewise.
65633         [C99-based standards] (UINT64_MAX): Likewise.
65634         [C99-based standards] (INT_LEAST8_MIN): Likewise.
65635         [C99-based standards] (INT_LEAST8_MAX): Likewise.
65636         [C99-based standards] (INT_LEAST16_MIN): Likewise.
65637         [C99-based standards] (INT_LEAST16_MAX): Likewise.
65638         [C99-based standards] (INT_LEAST32_MIN): Likewise.
65639         [C99-based standards] (INT_LEAST32_MAX): Likewise.
65640         [C99-based standards] (INT_LEAST64_MIN): Likewise.
65641         [C99-based standards] (INT_LEAST64_MAX): Likewise.
65642         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
65643         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
65644         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
65645         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
65646         [C99-based standards] (INT_FAST8_MIN): Likewise.
65647         [C99-based standards] (INT_FAST8_MAX): Likewise.
65648         [C99-based standards] (INT_FAST16_MIN): Likewise.
65649         [C99-based standards] (INT_FAST16_MAX): Likewise.
65650         [C99-based standards] (INT_FAST32_MIN): Likewise.
65651         [C99-based standards] (INT_FAST32_MAX): Likewise.
65652         [C99-based standards] (INT_FAST64_MIN): Likewise.
65653         [C99-based standards] (INT_FAST64_MAX): Likewise.
65654         [C99-based standards] (UINT_FAST8_MAX): Likewise.
65655         [C99-based standards] (UINT_FAST16_MAX): Likewise.
65656         [C99-based standards] (UINT_FAST32_MAX): Likewise.
65657         [C99-based standards] (UINT_FAST64_MAX): Likewise.
65658         [C99-based standards] (INTPTR_MIN): Likewise.
65659         [C99-based standards] (INTPTR_MAX): Likewise.
65660         [C99-based standards] (UINTPTR_MAX): Likewise.
65661         [C99-based standards] (INTMAX_MIN): Likewise.
65662         [C99-based standards] (INTMAX_MAX): Likewise.
65663         [C99-based standards] (UINTMAX_MAX): Likewise.
65664         [C99-based standards] (PTRDIFF_MIN): Likewise.
65665         [C99-based standards] (PTRDIFF_MAX): Likewise.
65666         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
65667         [C99-based standards] (SIZE_MAX): Likewise.
65668         [C99-based standards] (WCHAR_MAX): Likewise.
65669         [C99-based standards] (WINT_MAX): Likewise.
65670         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
65671         constraint on value.
65672         [C99-based standards] (WCHAR_MIN): Likewise.
65673         [C99-based standards] (WINT_MIN): Likewise.
65674         [C99-based standards] (*_t): Allow.
65675         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
65676         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
65677         Include math.h-data and complex.h-data.  Remove all expectations
65678         of math.h and complex.h contents.
65679         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
65680         at end of line.
65681         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
65682         (struct tm): Expect tag.
65683         [C99-based-standards] (wcstof): Expect function.
65684         [C99-based-standards] (wcstold): Likewise.
65685         [C99-based-standards] (wcstoll): Likewise.
65686         [C99-based-standards] (wcstoull): Likewise.
65687         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
65688         macro-int-constant.  Specify type.
65689         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
65690         constraint on value.
65691         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65692         Specify type.
65693         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
65694         Specify value.
65695         [ISO C standards]: Do not allow headers.
65696         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
65697         wcs[abcdefghijklmnopqrstuvwxyz]*.
65698         [ISO C standards] (*_t): Do not allow.
65699         * conform/data/wctype.h-data [C99-based standards] (iswblank):
65700         Expect function.
65701         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
65702         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65703         Specify type.
65704         [ISO C standards]: Do not allow headers.
65705         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
65706         is[abcdefghijklmnopqrstuvwxyz]*.
65707         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
65708         to[abcdefghijklmnopqrstuvwxyz]*.
65709         [ISO C standards] (*_t): Do not allow.
65710         * conform/data/stdalign.h-data: New file.
65711         * conform/data/stdbool.h-data: Likewise.
65712         * conform/data/stdnoreturn.h-data: Likewise.
65714 2012-11-07  Roland McGrath  <roland@hack.frob.com>
65716         [BZ #14815]
65717         * manual/filesys.texi (Directory Entries): Typo fix.
65718         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
65720 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65722         * elf/elf.h (EM_AARCH64): New macro.
65723         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
65724         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
65725         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
65726         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
65727         (R_AARCH64_TLSDESC): Likewise.
65728         (NT_ARM_TLS): Likewise.
65729         (NT_ARM_HW_BREAK): Likewise.
65730         (NT_ARM_HW_WATCH): Likewise.
65732 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65734         [BZ #14811]
65735         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
65736         (__ieee754_powl): Saturate nonzero exponents with absolute value
65737         below 0x1p-79 to +/- 0x1p-79.
65738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
65739         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
65740         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
65741         nonzero exponents with absolute value below 0x1p-32 to +/-
65742         0x1p-32.
65743         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
65744         (__ieee754_powl): Saturate nonzero exponents with absolute value
65745         below 0x1p-79 to +/- 0x1p-79.
65746         * math/libm-test.inc (pow_test): Add more tests.
65748 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65750         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
65751         _dl_s390_cap_flags with kernel. Increase string length.
65752         (_dl_s390_platforms): Add z196 and zEC12.
65754 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65756         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
65757         Change XOPEN21K to XOPEN2K.
65759 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
65761         * string/memmove.c: Use memcpy when possible.
65763 2012-11-06  Andreas Jaeger  <aj@suse.de>
65765         * po/eo.po: Update from translation team.
65767 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
65769         [BZ #14793]
65770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
65771         exponent and small x and y exponents, scale x or y up.  Increase
65772         by 2 the exponent used in scaling up.
65773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65775         * math/libm-test.inc (fma_test): Add more tests.
65776         (fma_test_towardzero): Likewise.
65777         (fma_test_downward): Likewise.
65778         (fma_test_upward): Likewise.
65780 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
65782         [BZ #14805]
65783         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
65784         fenv_t *.
65786         [BZ #14801]
65787         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
65788         namespace for names of struct fields.
65789         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
65790         fenv_t fields.
65791         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
65792         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
65794 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65796         [BZ #3665]
65797         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
65799 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65801         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
65802         PTR_DEMANGLE.
65804         [BZ #5246]
65805         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
65806         PTR_DEMANGLE.
65808 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
65810         [BZ #14797]
65811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
65812         definitely overflow as x * y not x * y + z.
65813         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65814         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65815         * math/libm-test.inc (fma_test): Add more tests.
65816         (fma_test_towardzero): Likewise.
65817         (fma_test_downward): Likewise.
65818         (fma_test_upward): Likewise.
65820 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65822         [BZ #157]
65824         * include/stub-tag.h: Remove file.
65825         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
65826         '#include' of it.
65827         * manual/maint.texi (Porting): Don't reference it.
65828         * Makerules ($(objpfx)stubs): Likewise.
65829         * dirent/closedir.c: Don't include <stub-tag.h>.
65830         * dirent/dirfd.c: Likewise.
65831         * dirent/fdopendir.c: Likewise.
65832         * dirent/getdents.c: Likewise.
65833         * dirent/getdents64.c: Likewise.
65834         * dirent/opendir.c: Likewise.
65835         * dirent/readdir.c: Likewise.
65836         * dirent/readdir64.c: Likewise.
65837         * dirent/readdir64_r.c: Likewise.
65838         * dirent/readdir_r.c: Likewise.
65839         * dirent/rewinddir.c: Likewise.
65840         * dirent/seekdir.c: Likewise.
65841         * dirent/telldir.c: Likewise.
65842         * gmon/profil.c: Likewise.
65843         * grp/setgroups.c: Likewise.
65844         * inet/if_index.c: Likewise.
65845         * io/access.c: Likewise.
65846         * io/chdir.c: Likewise.
65847         * io/chmod.c: Likewise.
65848         * io/chown.c: Likewise.
65849         * io/close.c: Likewise.
65850         * io/dup.c: Likewise.
65851         * io/dup2.c: Likewise.
65852         * io/dup3.c: Likewise.
65853         * io/euidaccess.c: Likewise.
65854         * io/faccessat.c: Likewise.
65855         * io/fchdir.c: Likewise.
65856         * io/fchmod.c: Likewise.
65857         * io/fchmodat.c: Likewise.
65858         * io/fchown.c: Likewise.
65859         * io/fchownat.c: Likewise.
65860         * io/fcntl.c: Likewise.
65861         * io/flock.c: Likewise.
65862         * io/fstatfs.c: Likewise.
65863         * io/fstatfs64.c: Likewise.
65864         * io/fstatvfs.c: Likewise.
65865         * io/fstatvfs64.c: Likewise.
65866         * io/futimens.c: Likewise.
65867         * io/fxstat.c: Likewise.
65868         * io/fxstat64.c: Likewise.
65869         * io/fxstatat.c: Likewise.
65870         * io/fxstatat64.c: Likewise.
65871         * io/getcwd.c: Likewise.
65872         * io/isatty.c: Likewise.
65873         * io/lchmod.c: Likewise.
65874         * io/lchown.c: Likewise.
65875         * io/link.c: Likewise.
65876         * io/linkat.c: Likewise.
65877         * io/lseek.c: Likewise.
65878         * io/lseek64.c: Likewise.
65879         * io/lxstat64.c: Likewise.
65880         * io/mkdir.c: Likewise.
65881         * io/mkdirat.c: Likewise.
65882         * io/mkfifo.c: Likewise.
65883         * io/mkfifoat.c: Likewise.
65884         * io/open.c: Likewise.
65885         * io/open64.c: Likewise.
65886         * io/openat.c: Likewise.
65887         * io/openat64.c: Likewise.
65888         * io/pipe.c: Likewise.
65889         * io/pipe2.c: Likewise.
65890         * io/poll.c: Likewise.
65891         * io/posix_fadvise.c: Likewise.
65892         * io/posix_fadvise64.c: Likewise.
65893         * io/posix_fallocate.c: Likewise.
65894         * io/posix_fallocate64.c: Likewise.
65895         * io/read.c: Likewise.
65896         * io/readlink.c: Likewise.
65897         * io/readlinkat.c: Likewise.
65898         * io/rmdir.c: Likewise.
65899         * io/sendfile.c: Likewise.
65900         * io/sendfile64.c: Likewise.
65901         * io/statfs.c: Likewise.
65902         * io/statfs64.c: Likewise.
65903         * io/statvfs.c: Likewise.
65904         * io/statvfs64.c: Likewise.
65905         * io/symlink.c: Likewise.
65906         * io/symlinkat.c: Likewise.
65907         * io/ttyname.c: Likewise.
65908         * io/ttyname_r.c: Likewise.
65909         * io/umask.c: Likewise.
65910         * io/unlink.c: Likewise.
65911         * io/unlinkat.c: Likewise.
65912         * io/utime.c: Likewise.
65913         * io/utimensat.c: Likewise.
65914         * io/write.c: Likewise.
65915         * io/xmknod.c: Likewise.
65916         * io/xmknodat.c: Likewise.
65917         * io/xstat.c: Likewise.
65918         * io/xstat64.c: Likewise.
65919         * login/getpt.c: Likewise.
65920         * login/grantpt.c: Likewise.
65921         * login/unlockpt.c: Likewise.
65922         * math/e_acoshl.c: Likewise.
65923         * math/e_acosl.c: Likewise.
65924         * math/e_asinl.c: Likewise.
65925         * math/e_atan2l.c: Likewise.
65926         * math/e_atanhl.c: Likewise.
65927         * math/e_coshl.c: Likewise.
65928         * math/e_expl.c: Likewise.
65929         * math/e_fmodl.c: Likewise.
65930         * math/e_gammal_r.c: Likewise.
65931         * math/e_hypotl.c: Likewise.
65932         * math/e_j0l.c: Likewise.
65933         * math/e_j1l.c: Likewise.
65934         * math/e_jnl.c: Likewise.
65935         * math/e_lgammal_r.c: Likewise.
65936         * math/e_log10l.c: Likewise.
65937         * math/e_log2l.c: Likewise.
65938         * math/e_logl.c: Likewise.
65939         * math/e_powl.c: Likewise.
65940         * math/e_rem_pio2l.c: Likewise.
65941         * math/e_sinhl.c: Likewise.
65942         * math/e_sqrtl.c: Likewise.
65943         * math/fclrexcpt.c: Likewise.
65944         * math/fedisblxcpt.c: Likewise.
65945         * math/feenablxcpt.c: Likewise.
65946         * math/fegetenv.c: Likewise.
65947         * math/fegetexcept.c: Likewise.
65948         * math/fegetround.c: Likewise.
65949         * math/feholdexcpt.c: Likewise.
65950         * math/fesetenv.c: Likewise.
65951         * math/fesetround.c: Likewise.
65952         * math/feupdateenv.c: Likewise.
65953         * math/fgetexcptflg.c: Likewise.
65954         * math/fraiseexcpt.c: Likewise.
65955         * math/fsetexcptflg.c: Likewise.
65956         * math/ftestexcept.c: Likewise.
65957         * math/k_cosl.c: Likewise.
65958         * math/k_rem_pio2l.c: Likewise.
65959         * math/k_sinl.c: Likewise.
65960         * math/k_tanl.c: Likewise.
65961         * math/s_asinhl.c: Likewise.
65962         * math/s_atanl.c: Likewise.
65963         * math/s_cbrtl.c: Likewise.
65964         * math/s_erfl.c: Likewise.
65965         * math/s_expm1l.c: Likewise.
65966         * math/s_log1pl.c: Likewise.
65967         * math/s_tanhl.c: Likewise.
65968         * misc/acct.c: Likewise.
65969         * misc/brk.c: Likewise.
65970         * misc/chflags.c: Likewise.
65971         * misc/chroot.c: Likewise.
65972         * misc/fchflags.c: Likewise.
65973         * misc/fgetxattr.c: Likewise.
65974         * misc/flistxattr.c: Likewise.
65975         * misc/fremovexattr.c: Likewise.
65976         * misc/fsetxattr.c: Likewise.
65977         * misc/fsync.c: Likewise.
65978         * misc/ftruncate.c: Likewise.
65979         * misc/futimes.c: Likewise.
65980         * misc/futimesat.c: Likewise.
65981         * misc/getdomain.c: Likewise.
65982         * misc/getdtsz.c: Likewise.
65983         * misc/gethostid.c: Likewise.
65984         * misc/gethostname.c: Likewise.
65985         * misc/getloadavg.c: Likewise.
65986         * misc/getpagesize.c: Likewise.
65987         * misc/getsysstats.c: Likewise.
65988         * misc/getxattr.c: Likewise.
65989         * misc/gtty.c: Likewise.
65990         * misc/ioctl.c: Likewise.
65991         * misc/lgetxattr.c: Likewise.
65992         * misc/listxattr.c: Likewise.
65993         * misc/llistxattr.c: Likewise.
65994         * misc/lremovexattr.c: Likewise.
65995         * misc/lsetxattr.c: Likewise.
65996         * misc/lutimes.c: Likewise.
65997         * misc/madvise.c: Likewise.
65998         * misc/mincore.c: Likewise.
65999         * misc/mlock.c: Likewise.
66000         * misc/mlockall.c: Likewise.
66001         * misc/mmap.c: Likewise.
66002         * misc/mprotect.c: Likewise.
66003         * misc/msync.c: Likewise.
66004         * misc/munlock.c: Likewise.
66005         * misc/munlockall.c: Likewise.
66006         * misc/munmap.c: Likewise.
66007         * misc/preadv.c: Likewise.
66008         * misc/preadv64.c: Likewise.
66009         * misc/ptrace.c: Likewise.
66010         * misc/pwritev.c: Likewise.
66011         * misc/pwritev64.c: Likewise.
66012         * misc/readv.c: Likewise.
66013         * misc/reboot.c: Likewise.
66014         * misc/remap_file_pages.c: Likewise.
66015         * misc/removexattr.c: Likewise.
66016         * misc/revoke.c: Likewise.
66017         * misc/select.c: Likewise.
66018         * misc/setdomain.c: Likewise.
66019         * misc/setegid.c: Likewise.
66020         * misc/seteuid.c: Likewise.
66021         * misc/sethostid.c: Likewise.
66022         * misc/sethostname.c: Likewise.
66023         * misc/setregid.c: Likewise.
66024         * misc/setreuid.c: Likewise.
66025         * misc/setxattr.c: Likewise.
66026         * misc/sstk.c: Likewise.
66027         * misc/stty.c: Likewise.
66028         * misc/swapoff.c: Likewise.
66029         * misc/swapon.c: Likewise.
66030         * misc/sync.c: Likewise.
66031         * misc/syncfs.c: Likewise.
66032         * misc/syscall.c: Likewise.
66033         * misc/truncate.c: Likewise.
66034         * misc/ualarm.c: Likewise.
66035         * misc/usleep.c: Likewise.
66036         * misc/ustat.c: Likewise.
66037         * misc/utimes.c: Likewise.
66038         * misc/vhangup.c: Likewise.
66039         * misc/writev.c: Likewise.
66040         * posix/_exit.c: Likewise.
66041         * posix/alarm.c: Likewise.
66042         * posix/execve.c: Likewise.
66043         * posix/fexecve.c: Likewise.
66044         * posix/fork.c: Likewise.
66045         * posix/fpathconf.c: Likewise.
66046         * posix/getaddrinfo.c: Likewise.
66047         * posix/getegid.c: Likewise.
66048         * posix/geteuid.c: Likewise.
66049         * posix/getgid.c: Likewise.
66050         * posix/getgroups.c: Likewise.
66051         * posix/getlogin.c: Likewise.
66052         * posix/getlogin_r.c: Likewise.
66053         * posix/getpgid.c: Likewise.
66054         * posix/getpid.c: Likewise.
66055         * posix/getppid.c: Likewise.
66056         * posix/getresgid.c: Likewise.
66057         * posix/getresuid.c: Likewise.
66058         * posix/getsid.c: Likewise.
66059         * posix/getuid.c: Likewise.
66060         * posix/glob64.c: Likewise.
66061         * posix/nanosleep.c: Likewise.
66062         * posix/pathconf.c: Likewise.
66063         * posix/pause.c: Likewise.
66064         * posix/posix_madvise.c: Likewise.
66065         * posix/pread.c: Likewise.
66066         * posix/pread64.c: Likewise.
66067         * posix/pwrite.c: Likewise.
66068         * posix/pwrite64.c: Likewise.
66069         * posix/sched_getaffinity.c: Likewise.
66070         * posix/sched_getp.c: Likewise.
66071         * posix/sched_gets.c: Likewise.
66072         * posix/sched_primax.c: Likewise.
66073         * posix/sched_primin.c: Likewise.
66074         * posix/sched_rr_gi.c: Likewise.
66075         * posix/sched_setaffinity.c: Likewise.
66076         * posix/sched_setp.c: Likewise.
66077         * posix/sched_sets.c: Likewise.
66078         * posix/sched_yield.c: Likewise.
66079         * posix/setgid.c: Likewise.
66080         * posix/setlogin.c: Likewise.
66081         * posix/setpgid.c: Likewise.
66082         * posix/setresgid.c: Likewise.
66083         * posix/setresuid.c: Likewise.
66084         * posix/setsid.c: Likewise.
66085         * posix/setuid.c: Likewise.
66086         * posix/sleep.c: Likewise.
66087         * posix/spawni.c: Likewise.
66088         * posix/sysconf.c: Likewise.
66089         * posix/times.c: Likewise.
66090         * posix/wait.c: Likewise.
66091         * posix/wait3.c: Likewise.
66092         * posix/wait4.c: Likewise.
66093         * posix/waitpid.c: Likewise.
66094         * resolv/gai_sigqueue.c: Likewise.
66095         * resource/getpriority.c: Likewise.
66096         * resource/getrlimit.c: Likewise.
66097         * resource/getrusage.c: Likewise.
66098         * resource/nice.c: Likewise.
66099         * resource/setpriority.c: Likewise.
66100         * resource/setrlimit.c: Likewise.
66101         * resource/ulimit.c: Likewise.
66102         * rt/aio_cancel.c: Likewise.
66103         * rt/aio_fsync.c: Likewise.
66104         * rt/aio_read.c: Likewise.
66105         * rt/aio_sigqueue.c: Likewise.
66106         * rt/aio_suspend.c: Likewise.
66107         * rt/aio_write.c: Likewise.
66108         * rt/clock_getres.c: Likewise.
66109         * rt/clock_gettime.c: Likewise.
66110         * rt/clock_nanosleep.c: Likewise.
66111         * rt/clock_settime.c: Likewise.
66112         * rt/lio_listio.c: Likewise.
66113         * rt/mq_close.c: Likewise.
66114         * rt/mq_getattr.c: Likewise.
66115         * rt/mq_notify.c: Likewise.
66116         * rt/mq_open.c: Likewise.
66117         * rt/mq_receive.c: Likewise.
66118         * rt/mq_send.c: Likewise.
66119         * rt/mq_setattr.c: Likewise.
66120         * rt/mq_timedreceive.c: Likewise.
66121         * rt/mq_timedsend.c: Likewise.
66122         * rt/mq_unlink.c: Likewise.
66123         * rt/shm_open.c: Likewise.
66124         * rt/shm_unlink.c: Likewise.
66125         * rt/timer_create.c: Likewise.
66126         * rt/timer_delete.c: Likewise.
66127         * rt/timer_getoverr.c: Likewise.
66128         * rt/timer_gettime.c: Likewise.
66129         * rt/timer_settime.c: Likewise.
66130         * setjmp/__longjmp.c: Likewise.
66131         * setjmp/setjmp.c: Likewise.
66132         * signal/kill.c: Likewise.
66133         * signal/killpg.c: Likewise.
66134         * signal/raise.c: Likewise.
66135         * signal/sigaction.c: Likewise.
66136         * signal/sigaltstack.c: Likewise.
66137         * signal/sigblock.c: Likewise.
66138         * signal/sigignore.c: Likewise.
66139         * signal/sigintr.c: Likewise.
66140         * signal/signal.c: Likewise.
66141         * signal/sigpause.c: Likewise.
66142         * signal/sigpending.c: Likewise.
66143         * signal/sigqueue.c: Likewise.
66144         * signal/sigreturn.c: Likewise.
66145         * signal/sigset.c: Likewise.
66146         * signal/sigsetmask.c: Likewise.
66147         * signal/sigstack.c: Likewise.
66148         * signal/sigsuspend.c: Likewise.
66149         * signal/sigtimedwait.c: Likewise.
66150         * signal/sigvec.c: Likewise.
66151         * signal/sigwait.c: Likewise.
66152         * signal/sigwaitinfo.c: Likewise.
66153         * signal/sysv_signal.c: Likewise.
66154         * socket/accept.c: Likewise.
66155         * socket/accept4.c: Likewise.
66156         * socket/bind.c: Likewise.
66157         * socket/connect.c: Likewise.
66158         * socket/getpeername.c: Likewise.
66159         * socket/getsockname.c: Likewise.
66160         * socket/getsockopt.c: Likewise.
66161         * socket/isfdtype.c: Likewise.
66162         * socket/listen.c: Likewise.
66163         * socket/recv.c: Likewise.
66164         * socket/recvfrom.c: Likewise.
66165         * socket/recvmsg.c: Likewise.
66166         * socket/send.c: Likewise.
66167         * socket/sendmsg.c: Likewise.
66168         * socket/sendto.c: Likewise.
66169         * socket/setsockopt.c: Likewise.
66170         * socket/shutdown.c: Likewise.
66171         * socket/sockatmark.c: Likewise.
66172         * socket/socket.c: Likewise.
66173         * socket/socketpair.c: Likewise.
66174         * stdio-common/ctermid.c: Likewise.
66175         * stdio-common/cuserid.c: Likewise.
66176         * stdio-common/remove.c: Likewise.
66177         * stdio-common/rename.c: Likewise.
66178         * stdio-common/renameat.c: Likewise.
66179         * stdio-common/tempname.c: Likewise.
66180         * stdlib/getcontext.c: Likewise.
66181         * stdlib/makecontext.c: Likewise.
66182         * stdlib/setcontext.c: Likewise.
66183         * stdlib/swapcontext.c: Likewise.
66184         * stdlib/system.c: Likewise.
66185         * streams/fattach.c: Likewise.
66186         * streams/fdetach.c: Likewise.
66187         * streams/getmsg.c: Likewise.
66188         * streams/getpmsg.c: Likewise.
66189         * streams/putmsg.c: Likewise.
66190         * streams/putpmsg.c: Likewise.
66191         * sysdeps/unix/bsd/getpt.c: Likewise.
66192         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66193         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66194         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66196         Likewise.
66197         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66198         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66199         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66200         * sysvipc/msgctl.c: Likewise.
66201         * sysvipc/msgget.c: Likewise.
66202         * sysvipc/msgrcv.c: Likewise.
66203         * sysvipc/msgsnd.c: Likewise.
66204         * sysvipc/semctl.c: Likewise.
66205         * sysvipc/semget.c: Likewise.
66206         * sysvipc/semop.c: Likewise.
66207         * sysvipc/semtimedop.c: Likewise.
66208         * sysvipc/shmat.c: Likewise.
66209         * sysvipc/shmctl.c: Likewise.
66210         * sysvipc/shmdt.c: Likewise.
66211         * sysvipc/shmget.c: Likewise.
66212         * termios/tcdrain.c: Likewise.
66213         * termios/tcflow.c: Likewise.
66214         * termios/tcflush.c: Likewise.
66215         * termios/tcgetattr.c: Likewise.
66216         * termios/tcgetpgrp.c: Likewise.
66217         * termios/tcsendbrk.c: Likewise.
66218         * termios/tcsetattr.c: Likewise.
66219         * termios/tcsetpgrp.c: Likewise.
66220         * time/adjtime.c: Likewise.
66221         * time/clock.c: Likewise.
66222         * time/getitimer.c: Likewise.
66223         * time/gettimeofday.c: Likewise.
66224         * time/setitimer.c: Likewise.
66225         * time/settimeofday.c: Likewise.
66226         * time/stime.c: Likewise.
66227         * time/time.c: Likewise.
66229 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66231         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66232         /usr/old/bin.
66234         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66235         instead of spaces.
66236         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66238 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66240         [BZ #14796]
66241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66242         FE_TONEAREST before applying Dekker multiplication and Knuth
66243         addition.  Clear inexact exceptions and check for exact zero
66244         results afterwards.
66245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66246         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66248         * math/libm-test.inc (fma_test): Add more tests.
66249         (fma_test_towardzero): Likewise.
66250         (fma_test_downward): Likewise.
66251         (fma_test_upward): Likewise.
66252         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66253         function.
66254         (libc_fesetround): New macro.
66255         (libc_fesetroundf): Likewise.
66256         (libc_fesetroundl): Likewise.
66257         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66258         function.
66259         (libc_fesetround_387): Likewise.
66260         (libc_fesetroundf): New macro.
66261         (libc_fesetround): Likewise.
66262         (libc_fesetroundl): Likewise.
66263         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66264         function.
66265         (libc_fesetroundf): New macro.
66266         (libc_fesetround): Likewise.
66267         (libc_fesetroundl): Likewise.
66268         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66269         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66270         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66271         libm_hidden_ver.
66272         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66273         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66274         libm_hidden_def.
66275         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66276         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66277         libm_hidden_ver.
66278         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66279         libm_hidden_def.
66281         [BZ #3439]
66282         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66283         integer constant usable in #if and use that to give value to enum
66284         constant.
66285         (FE_DIVBYZERO): Likewise.
66286         (FE_UNDERFLOW): Likewise.
66287         (FE_OVERFLOW): Likewise.
66288         (FE_INVALID): Likewise.
66289         (FE_INVALID_SNAN): Likewise.
66290         (FE_INVALID_ISI): Likewise.
66291         (FE_INVALID_IDI): Likewise.
66292         (FE_INVALID_ZDZ): Likewise.
66293         (FE_INVALID_IMZ): Likewise.
66294         (FE_INVALID_COMPARE): Likewise.
66295         (FE_INVALID_SOFTWARE): Likewise.
66296         (FE_INVALID_SQRT): Likewise.
66297         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66298         (FE_TONEAREST): Likewise.
66299         (FE_TOWARDZERO): Likewise.
66300         (FE_UPWARD): Likewise.
66301         (FE_DOWNWARD): Likewise.
66302         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66303         (FE_DIVBYZERO): Likewise.
66304         (FE_OVERFLOW): Likewise.
66305         (FE_UNDERFLOW): Likewise.
66306         (FE_INEXACT): Likewise.
66307         (FE_TONEAREST): Likewise.
66308         (FE_DOWNWARD): Likewise.
66309         (FE_UPWARD): Likewise.
66310         (FE_TOWARDZERO): Likewise.
66311         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66312         (FE_UNDERFLOW): Likewise.
66313         (FE_OVERFLOW): Likewise.
66314         (FE_DIVBYZERO): Likewise.
66315         (FE_INVALID): Likewise.
66316         (FE_TONEAREST): Likewise.
66317         (FE_TOWARDZERO): Likewise.
66318         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66319         (FE_OVERFLOW): Likewise.
66320         (FE_UNDERFLOW): Likewise.
66321         (FE_DIVBYZERO): Likewise.
66322         (FE_INEXACT): Likewise.
66323         (FE_TONEAREST): Likewise.
66324         (FE_TOWARDZERO): Likewise.
66325         (FE_UPWARD): Likewise.
66326         (FE_DOWNWARD): Likewise.
66327         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66328         (FE_DIVBYZERO): Likewise.
66329         (FE_OVERFLOW): Likewise.
66330         (FE_UNDERFLOW): Likewise.
66331         (FE_INEXACT): Likewise.
66332         (FE_TONEAREST): Likewise.
66333         (FE_DOWNWARD): Likewise.
66334         (FE_UPWARD): Likewise.
66335         (FE_TOWARDZERO): Likewise.
66337 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66339         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66341 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66343         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66344         commands.  Quote $PWD.
66345         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66346         -x" by "export".
66347         (remove_newlines): Remove.
66349 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66351         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66352         * stdlib/stdlib.h (atof): Moved to ...
66353         * include/bits/stdlib-float.h: Here.  New file.
66354         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66355         * stdlib/bits/stdlib-float.h: New file.
66356         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66357         -mno-sse -mno-mmx.
66358         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66359         <xmmintrin.h>.
66361 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66363         * conform/conformtest.pl (@headers): Add fenv.h.
66364         * conform/data/fenv.h-data: New file.
66365         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66366         include of <math/fenv.h>.
66368         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66369         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66370         && !UNIX98].  Enables tests for XOPEN2K8.
66371         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66372         POSIX2008]: Likewise.
66374         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66375         (struct rusage): Do not expect type or its members.
66377         [BZ #3439]
66378         * math/math.h (FP_NAN): Define macro to integer constant usable in
66379         #if and use that to give value to enum constant.
66380         (FP_INFINITE): Likewise.
66381         (FP_ZERO): Likewise.
66382         (FP_SUBNORMAL): Likewise.
66383         (FP_NORMAL): Likewise.
66385 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66387         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66388         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66389         arguments.
66391 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66393         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66394         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66395         autoconf-time if not.
66396         * configure.in: Remove AC_PREREQ.
66398 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66400         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66401         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66402         of the internal implementation.
66404 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66406         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66407         except include of <misc/sys/syslog.h>.
66409 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66412         function returns with a NULL context exit with zero.
66414 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66416         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66418 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66420         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66421         (run_program_cmd): This.
66422         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66423         (tst_langinfo): New variable.  Use it.
66425 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66427         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66428         floating point opcodes.
66430 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66432         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66433         variable.
66435         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66437         * sysdeps/mach/hurd/powerpc: Remove directory.
66438         * sysdeps/mach/powerpc: Likewise.
66440 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66442         * scripts/check-local-headers.sh: Ignore c++ headers.
66444 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66446         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66447         __libc_cleanup_region_start argument.
66449 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66451         [BZ #14784]
66452         [BZ #14785]
66453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66454         x * y using scaling, not as x * y + z.
66455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66457         * math/libm-test.inc (fma_test): Add more tests.
66458         (fma_test_towardzero): Likewise.
66459         (fma_test_downward): Likewise.
66460         (fma_test_upward): Likewise.
66462 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66464         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66466 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66468         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66469         New variable.
66471 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66473         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66475 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66478         Fix sort order.
66479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66480         Likewise.
66482 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66485         Fix the order of the list for glibc 2.17.
66486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66487         Likewise.
66489 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66493 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66495         [BZ #14610]
66496         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66497         for low part of x being zero before using __atanl (y).
66498         * math/libm-test.inc (atan2_test): Add another test.
66500         * manual/install.texi (Configuring and compiling): Document
66501         general use of test-wrapper and test-wrapper-env.
66502         * INSTALL: Regenerated.
66504         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66505         (__fma): Do not extract and scale down low bits on after-rounding
66506         systems when result rounded to normal precision would have normal
66507         exponent.
66508         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66509         (__fmal): Do not extract and scale down low bits on after-rounding
66510         systems when result rounded to normal precision would have normal
66511         exponent.
66512         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66513         (__fmal): Do not extract and scale down low bits on after-rounding
66514         systems when result rounded to normal precision would have normal
66515         exponent.
66516         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66517         macro.
66518         (fma_test): Add more tests.
66519         (fma_test_towardzero): Likewise.
66520         (fma_test_downward): Likewise.
66521         (fma_test_upward): Likewise.
66523 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66525         * sysdeps/i386/tininess.h: Renamed to ...
66526         * sysdeps/x86/tininess.h: This.
66527         * sysdeps/x86_64/tininess.h: Removed.
66529 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66531         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66532         input.  Use $(build-program-cmd).
66533         ($(objpfx)tst-array1-static.out): Likewise.
66534         ($(objpfx)tst-array2.out): Likewise.
66535         ($(objpfx)tst-array3.out): Likewise.
66536         ($(objpfx)tst-array4.out): Likewise.
66537         ($(objpfx)tst-array5.out): Likewise.
66538         ($(objpfx)tst-array5-static.out): Likewise.
66540 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66542         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66543         if defined.
66545         * nss/nsswitch.h (nss_interface_function): Provide new
66546         macro for use with NSS functions.
66547         * grp/initgroups.c: Use new macro.
66548         * nss/getXXbyYY.c: Likewise.
66549         * nss/getXXbyYY_r.c: Likewise.
66550         * nss/getXXent.c: Likewise.
66551         * nss/getXXent_r.c: Likewise.
66552         * sysdeps/posix/getaddrinfo.c: Likewise.
66554 2012-10-30  Andreas Jaeger  <aj@suse.de>
66556         * po/ru.po: Update Russion translation from translation project.
66558 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66560         [BZ #14152]
66561         [BZ #14783]
66562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66563         result and shift together with sticky bit instead of replicating
66564         round-to-nearest rounding.
66565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66567         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66568         missing underflow exceptions.
66569         (fma_test_towardzero): Add more tests.
66570         (fma_test_downward): Likewise.
66571         (fma_test_upward): Likewise.
66573         [BZ #14047]
66574         * sysdeps/generic/tininess.h: New file.
66575         * sysdeps/i386/tininess.h: Likewise.
66576         * sysdeps/sh/tininess.h: Likewise.
66577         * sysdeps/x86_64/tininess.h: Likewise.
66578         * stdlib/tst-strtod-underflow.c: Likewise.
66579         * stdlib/tst-tininess.c: Likewise.
66580         * stdlib/strtod_l.c: Include <tininess.h>.
66581         (round_and_return): Do not set errno for exact underflow cases.
66582         Force an underflow exception when setting errno for underflow.
66583         Determine underflow based on rounding to normal precision if
66584         TININESS_AFTER_ROUNDING.
66585         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66586         ERANGE for exact underflow cases.
66587         * stdlib/Makefile (tests): Add tst-tininess and
66588         tst-strtod-underflow.
66589         ($(objpfx)tst-tininess): Use $(link-libm).
66590         ($(objpfx)tst-strtod-underflow): Likewise.
66592 2012-10-30  Andreas Jaeger  <aj@suse.de>
66594         [BZ#14767]
66595         * elf/Makefile (tests): Remove conditional for have-initfini-array
66596         since this is now always required and the variable does not exist
66597         anymore.
66598         (tests-static): Likewise.
66599         (modules-names): Likewise.
66601         * po/eo.po: Add Esperanto translation from translation project.
66603         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66604         merged with constructor/destructor.
66605         (init_array): Likewise.
66606         * elf/tst-array2dep.c (fini_array): Likewise.
66607         (init_array): Likewise.
66609 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66611         * manual/message.texi: Delete @cartouche tags.
66613 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
66615         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66616         EOPNOTSUPP.
66617         * sysdeps/mach/hurd/fsync.c: Likewise.
66619         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66620         [_POSIX_REALTIME_SIGNALS]: Change condition to
66621         [_POSIX_REALTIME_SIGNALS > 0].
66623 2012-10-27  Andreas Jaeger  <aj@suse.de>
66625         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66626         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66628         [__WORDSIZE != 64]: Likewise.
66630 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
66632         *  iconvdata/tst-table.sh: Remove ${SHELL}.
66633         *  iconvdata/tst-tables.sh: Likewise.
66635 2012-10-25  David S. Miller  <davem@davemloft.net>
66637         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66638         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
66639         of strtoull.
66641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
66642         ifunc-impl-list.c
66643         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66644         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
66645         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
66646         file.
66648 2012-10-25  Roland McGrath  <roland@hack.frob.com>
66650         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66651         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
66652         __getdirentries.
66654 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66655             Jim Blandy  <jimb@codesourcery.com>
66657         * scripts/cross-test-ssh.sh: New file.
66658         * manual/install.texi (Configuring and compiling): Document use of
66659         cross-test-ssh.sh.
66660         * INSTALL: Regenerated.
66662 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
66664         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
66665         EOPNOTSUPP.
66667 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66669         * Makeconfig (run-program-prefix): Fix comment.
66671 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66672             Jim Blandy  <jimb@codesourcery.com>
66674         * Makeconfig (test-wrapper): New variable,
66675         (test-wrapper-env): Likewise.
66676         [$(cross-compiling) = yes && $(test-wrapper) != ""]
66677         (run-built-tests): Define to yes.
66678         (run-program-prefix): Use $(test-wrapper).
66679         (built-program-cmd): Likewise.
66680         * Rules (make-test-out): Use $(test-wrapper-env) and
66681         $(host-built-program-cmd).
66682         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
66683         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
66684         tst-pathopt.sh.
66685         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
66686         $(test-wrapper-env) to tst-rtld-load-self.sh.
66687         ($(objpfx)order2.out): Use $(test-wrapper).
66688         ($(objpfx)tst-initorder.out): Likewise.
66689         ($(objpfx)tst-initorder2.out): Likewise.
66690         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
66691         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
66692         (test_wrapper_env): New variable.  Use it to run ld.so.
66693         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
66694         Use it to run ld.so.
66695         (test_wrapper_env): Likewise.
66696         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
66697         $(test-wrapper) to run-iconv-test.sh.
66698         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
66699         (ICONV): Use $test_wrapper.
66700         * posix/Makefile ($(objpfx)globtest.out): Pass
66701         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
66702         globtest.sh, not $(run-program-prefix).
66703         * posix/globtest.sh (run_via_rtld_prefix): New variable.
66704         (test_wrapper): Likewise.
66705         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
66706         set together with run_via_rtld_prefix.
66707         (run_program_prefix): Define in terms of test_wrapper and
66708         run_via_rtld_prefix.
66710 2012-10-24  Roland McGrath  <roland@hack.frob.com>
66712         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
66713         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
66714         Targets removed.
66716         [BZ #14743]
66717         * include/time.h: Remove librt_hidden_proto (clock_gettime).
66718         Declare __clock_getres, __clock_gettime, __clock_settime,
66719         __clock_nanosleep, and __clock_getcpuclockid.
66720         * rt/clock_gettime.c: Define __clock_gettime as an alias.
66721         Remove librt_hidden_def (clock_gettime).
66722         * sysdeps/unix/clock_gettime.c: Likewise.
66723         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
66724         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
66725         * rt/clock_getres.c: Define __clock_getres as an alias.
66726         * sysdeps/posix/clock_getres.c: Likewise.
66727         * rt/clock_settime.c: Define __clock_settime as an alias.
66728         * sysdeps/unix/clock_settime.c: Likewise.
66729         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
66730         * sysdeps/unix/clock_nanosleep.c: Likewise.
66731         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66732         * rt/clock-compat.c: New file.
66733         * rt/Makefile (librt-routines): Add clock-compat and move
66734         $(clock-routines) to ...
66735         (routines): ... here, new variable.
66736         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
66737         Don't add get_clockfreq here.
66738         * rt/Versions (libc: GLIBC_2.17): New version set.
66739         Add clock_* symbols here.
66740         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
66741         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
66742         (GLIBC_2.17): Add clock_* symbols.
66743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66745         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66747         Likewise.
66748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66749         Likewise.
66750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66754         * NEWS: Mention the move.
66756         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
66757         Use __open, __read, __close rather than their public counterparts.
66758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66759         (__get_clockfreq_via_cpuinfo): Likewise.
66760         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
66761         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
66763         * config.h.in (HAVE_IFUNC): New #undef.
66764         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
66765         was successful.
66766         * configure: Regenerated.
66768 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66770         * configure.in: Move READELF check to start of file.
66771         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
66772         libc_cv_asm_gnu_indirect_function in the process.
66773         * configure: Regenerated.
66775 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66777         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
66778         send the output to /dev/null.
66779         (libc_cv_cc_with_libunwind): Likewise.
66780         (libc_cv_as_noexecstack): Likewise.
66781         * configure: Regenerate.
66783 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66785         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
66787         * posix/globtest.sh (TMPDIR): Do not set.
66788         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
66789         (testout): Likewise.
66791 2012-10-24  Andreas Jaeger  <aj@suse.de>
66793         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
66794         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
66795         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
66796         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
66797         posix_fadvise64, posix_fallocate64.
66799         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
66800         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
66801         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
66802         Likewise.
66803         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
66804         Likewise.
66805         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
66807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
66808         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
66809         <bits/fcntl-linux.h>.
66810         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
66812         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
66813         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
66814         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
66815         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
66816         [__WORDSIZE != 64]: Likewise.
66818 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66820         * Makeconfig (run-built-tests): New variable.
66821         * Rules [$(cross-compiling) = yes]: Change condition to
66822         [$(run-built-tests) = no].
66823         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
66824         to [$(run-built-tests) = yes].
66825         * elf/Makefile [$(cross-compiling) = no]: Likewise.
66826         * grp/Makefile [$(cross-compiling) = no]: Likewise.
66827         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
66828         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
66829         * intl/Makefile [$(cross-compiling) = no]: Likewise.
66830         * io/Makefile [$(cross-compiling) = no]: Likewise.
66831         * libio/Makefile [$(cross-compiling) = no]: Likewise.
66832         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
66833         * misc/Makefile [$(cross-compiling) = no]: Likewise.
66834         * posix/Makefile [$(cross-compiling) = no]: Likewise.
66835         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
66836         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
66837         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
66838         * string/Makefile [$(cross-compiling) = no]: Likewise.
66840         * posix/Makefile ($(objpfx)globtest.out): Pass
66841         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
66842         $(rtld-installed-name).
66843         * posix/globtest.sh (elf_objpfx): Remove variable.
66844         (rtld_installed_name): Likewise.
66845         (library_path): Likewise.
66846         (run_program_prefix): New variable.  Use for running globtest
66847         binary.
66849 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
66850             Joseph Myers  <joseph@codesourcery.com>
66852         * Makeconfig (host-built-program-cmd): New variable.
66853         * elf/Makefile (tst-stackguard1-ARGS): Use
66854         $(host-built-program-cmd).
66855         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
66856         (tst-spawn-ARGS): Likewise.
66857         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
66859 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66860             Jim Blandy  <jimb@codesourcery.com>
66862         * Makeconfig (run-via-rtld-prefix): New variable.
66863         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
66864         (built-program-cmd): Likewise.
66866 2012-10-22  Andreas Jaeger  <aj@suse.de>
66868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
66869         __O_RSYNC if it exists, otherwise to O_SYNC.
66871 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
66872             Joseph Myers  <joseph@codesourcery.com>
66874         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
66875         /dev/null.
66876         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
66877         from /dev/null
66878         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
66879         /dev/null.
66881 2012-10-22  Andreas Jaeger  <aj@suse.de>
66883         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
66884         Define always.
66885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
66887         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66888         bits/fcntl-linux.h.
66890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
66891         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
66893         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
66894         to __O_LARGEFILE.
66895         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
66896         to __O_LARGEFILE.
66898 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
66899             Joseph Myers  <joseph@codesourcery.com>
66901         * config.make.in (NM): New variable.
66903 2012-10-21  Andreas Jaeger  <aj@suse.de>
66905         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
66906         definitions and declarations that are provided by
66907         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66909 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
66911         [BZ #14683]
66912         * elf/Makefile (tests-static): Add tst-leaks1-static.
66913         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
66914         ($(objpfx)tst-leaks1-static): New rule.
66915         ($(objpfx)tst-leaks1-static-mem): Likewise.
66916         (tst-leaks1-static-ENV): New macro.
66917         * elf/dl-open.c (dl_open_worker): Check the main application
66918         only if SHARED is defined.
66919         * elf/tst-leaks1-static.c: New file.
66921 2012-10-20  Andreas Jaeger  <aj@suse.de>
66923         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
66924         generic values for Linux.
66925         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
66926         and declarations that are provided by <bits/fcntl-linux.h> and
66927         include <bits/fcntl-linux.h>.
66928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66931 2012-10-20  Roland McGrath  <roland@hack.frob.com>
66933         * io/fcntl.h: Move include of <bits/types.h> to the top and
66934         include it unconditionally.
66936 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
66938         * wcsmbs/Makefile (tests-ifunc): New variable.
66939         (tests): Add $(tests-ifunc).
66940         * wcsmbs/test-wcschr-ifunc.c: New file.
66941         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
66942         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
66943         * wcsmbs/test-wcslen-ifunc.c: Likewise.
66944         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
66945         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
66947         * string/Makefile (tests-ifunc): New variable.
66948         (tests): Add $(tests-ifunc).
66949         * string/test-memccpy.c (TEST_NAME): New macro.
66950         * string/test-memchr.c (TEST_NAME): Likewise.
66951         * string/test-memcmp.c (TEST_NAME): Likewise.
66952         * string/test-memcpy.c (TEST_NAME): Likewise.
66953         * string/test-memmem.c (TEST_NAME): Likewise.
66954         * string/test-memmove.c (TEST_NAME): Likewise.
66955         * string/test-memset.c (TEST_NAME): Likewise.
66956         * string/test-rawmemchr.c (TEST_NAME): Likewise.
66957         * string/test-stpcpy.c (TEST_NAME): Likewise.
66958         * string/test-stpncpy.c (TEST_NAME): Likewise.
66959         * string/test-strcasecmp.c (TEST_NAME): Likewise.
66960         * string/test-strcasestr.c (TEST_NAME): Likewise.
66961         * string/test-strcat.c (TEST_NAME): Likewise.
66962         * string/test-strchr.c (TEST_NAME): Likewise.
66963         * string/test-strcmp.c(TEST_NAME): Likewise.
66964         * string/test-strcpy.c (TEST_NAME): Likewise.
66965         * string/test-strcspn.c (TEST_NAME): Likewise.
66966         * string/test-strlen.c (TEST_NAME): Likewise.
66967         * string/test-strncasecmp.c (TEST_NAME): Likewise.
66968         * string/test-strncmp.c (TEST_NAME): Likewise.
66969         * string/test-strncpy.c (TEST_NAME): Likewise.
66970         * string/test-strnlen.c (TEST_NAME): Likewise.
66971         * string/test-strpbrk.c (TEST_NAME): Likewise.
66972         * string/test-strrchr.c (TEST_NAME): Likewise.
66973         * string/test-strspn.c (TEST_NAME): Likewise.
66974         * string/test-strstr.c (TEST_NAME): Likewise.
66975         * string/test-bcopy-ifunc.c: New file.
66976         * string/test-bzero-ifunc.c: Likewise.
66977         * string/test-memccpy-ifunc.c: Likewise.
66978         * string/test-memchr-ifunc.c: Likewise.
66979         * string/test-memcmp-ifunc.c: Likewise.
66980         * string/test-memcpy-ifunc.c: Likewise.
66981         * string/test-memmem-ifunc.c: Likewise.
66982         * string/test-memmove-ifunc.c: Likewise.
66983         * string/test-mempcpy-ifunc.c: Likewise.
66984         * string/test-memset-ifunc.c: Likewise.
66985         * string/test-rawmemchr-ifunc.c: Likewise.
66986         * string/test-stpcpy-ifunc.c: Likewise.
66987         * string/test-stpncpy-ifunc.c: Likewise.
66988         * string/test-strcasecmp-ifunc.c: Likewise.
66989         * string/test-strcasestr-ifunc.c: Likewise.
66990         * string/test-strcat-ifunc.c: Likewise.
66991         * string/test-strchr-ifunc.c: Likewise.
66992         * string/test-strchrnul-ifunc.c: Likewise.
66993         * string/test-strcmp-ifunc.c: Likewise.
66994         * string/test-strcpy-ifunc.c: Likewise.
66995         * string/test-strcspn-ifunc.c: Likewise.
66996         * string/test-strlen-ifunc.c: Likewise.
66997         * string/test-strncasecmp-ifunc.c: Likewise.
66998         * string/test-strncat-ifunc.c: Likewise.
66999         * string/test-strncmp-ifunc.c: Likewise.
67000         * string/test-strncpy-ifunc.c: Likewise.
67001         * string/test-strnlen-ifunc.c: Likewise.
67002         * string/test-strpbrk-ifunc.c: Likewise.
67003         * string/test-strrchr-ifunc.c: Likewise.
67004         * string/test-strspn-ifunc.c: Likewise.
67005         * string/test-strstr-ifunc.c: Likewise.
67007         * debug/Makefile (tests-ifunc): New variable.
67008         (tests): Add $(tests-ifunc).
67009         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67010         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67011         * debug/test-stpcpy_chk-ifunc.c: New file.
67012         * debug/test-strcpy_chk-ifunc.c: Likewise.
67014 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67016         [BZ #13601]
67017         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67018         header is not read in.
67020 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67022         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67023         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67024         directly.  Pass built executable to script as
67025         $(built-program-cmd).
67026         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67027         $testprogram without using LD_LIBRARY_PATH and $ldso.
67029         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67030         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67031         $(rtld-installed-name).
67032         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67033         (rtld_installed_name): Likewise.
67034         (library_path): Likewise.
67035         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67036         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67037         $(run-program-prefix) to tst-tables.sh.
67038         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67039         it to run tst-table-from and tst-table-to.
67040         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67041         Pass it to tst-table.sh.
67042         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67043         $(run-program-prefix) to tst-gettext.sh.
67044         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67045         tst-translit.sh.
67046         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67047         tst-gettext2.sh.
67048         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67049         to run tst-gettext.
67050         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67051         to run tst-gettext2.
67052         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67053         to run tst-translit.
67054         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67055         $(run-program-prefix) to tst-mtrace.sh.
67056         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67057         to run tst-mtrace.
67058         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67059         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67060         $(rtld-installed-name).
67061         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67062         (rtld_installed_name): Likewise.
67063         (run_program_prefix): New variable.  Use it to run wordexp-test.
67065         * Makeconfig (ARCH): Remove all definitions.
67066         (machine): Likewise.
67067         [ARCH]: Remove conditional code.
67068         [!objdir]: Give error.
67069         [!objdir] (objpfx): Remove.
67070         [!objdir] (common-objpfx): Likewise.
67071         [!objdir] (common-objdir): Likewise.
67072         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67073         AC_CONFIG_FILES call.
67074         * configure: Regenerated.
67076         [BZ #13888]
67077         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67078         or TMPDIR.
67079         (testout): Likewise.
67081         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67082         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67083         $(rtld-installed-name).
67084         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67085         (rtld_installed_name): Likewise.
67086         (runit): Remove function.
67087         (run_getconf): New variable,  Use it for running getconf binary.
67089 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67091         [BZ #14716]
67092         * string/test-memmem.c (check_result): New function.
67093         (do_one_test): Use it.
67094         (check1): New function.
67095         (test_main): Use it.
67097 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67099         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67101 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67103         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67104         (_G_LSEEK64): Likewise.
67105         (_G_MMAP64): Likewise.
67106         (_G_FSTAT64): Likewise.
67107         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67108         (_G_LSEEK64): Likewise.
67109         (_G_MMAP64): Likewise.
67110         (_G_FSTAT64): Likewise.
67111         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67112         unconditional.  Call __mmap64 directly.
67113         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67114         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67115         __lseek64 directly.
67116         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67117         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67118         __mmap64 directly.
67119         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67120         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67121         __lseek64 directly.
67122         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67123         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67124         __lseek64 directly.
67125         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67126         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67127         __lseek64 directly.
67128         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67129         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67130         __fxstat64 directly.
67131         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67132         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67133         unconditional.
67134         (freopen64) [!_G_OPEN64]: Remove conditional code.
67135         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67136         unconditional.
67137         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67138         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67139         unconditional.
67140         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67141         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67142         unconditional.
67143         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67144         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67145         unconditional.
67146         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67147         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67148         unconditional.
67149         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67150         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67151         unconditional.
67152         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67153         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67154         unconditional.
67155         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67157 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67159         [BZ #12140]
67160         * manual/memory.texi (Malloc Tunable Parameters): Add note
67161         about free list pointers overwriting some perturb bytes.
67162         Wording suggested by Roland McGrath.
67164 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67166         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67167         (lgamma_test): Likewise.
67168         (tgamma_test): Likewise.
67170 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67172         [BZ #14700]
67173         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67174         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67176 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67178         * NEWS: Mention BZ #14716.
67179         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67180         when removing AVAILABLE1_USES_J macro.
67182 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67184         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67185         (__bswap_64): __uint64_t for unsigned 64-bit int.
67187 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67189         * include/string.h (memmem): Declare libc hidden alias.
67190         * string/memmem.c (memmem): Define libc hidden alias.
67191         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67192         __read, __close instead of open, read, close.
67194 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67197         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67198         global and hidden.
67199         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67200         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67201         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67202         Likewise.
67203         (__rawmemchr_sse2): Likewise.
67204         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67205         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67206         (__strchr_sse2): Likewise.
67207         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67208         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67209         (__strcasecmp_sse2): Likewise.
67210         (__strncasecmp_sse2): Likewise.
67211         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67212         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67213         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67214         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67215         (__strrchr_sse2): Likewise.
67216         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67217         ifunc-impl-list.c.
67218         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67219         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67220         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67221         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67222         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67223         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67224         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67225         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67226         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67227         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67228         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67229         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67230         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67231         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67232         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67233         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67234         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67235         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67236         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67237         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67238         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67239         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67240         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67241         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67242         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67243         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67244         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67245         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67246         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67247         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67249         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67250         global and hidden.
67251         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67252         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67253         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67254         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67255         Likewise.
67256         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67257         Likewise.
67258         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67259         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67260         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67261         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67262         ifunc-impl-list.c.
67263         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67264         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67265         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67272         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67276         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67277         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67278         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67279         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67280         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67281         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67282         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67283         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67284         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67285         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67286         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67287         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67288         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67289         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67290         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67291         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67292         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67293         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67294         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67295         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67296         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67297         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67298         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67299         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67300         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67301         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67302         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67303         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67305         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67306         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67307         * include/ifunc-impl-list.h: New file.
67308         * misc/ifunc-impl-list.c: Likewise.
67309         * misc/Makefile (routines): Add ifunc-impl-list.
67310         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67311         * string/test-string.h: Include <ifunc-impl-list.h>.
67312         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67313         TEST_NAME]: New variables.
67314         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67315         are defined.
67316         (test_init): Call __libc_ifunc_impl_list to initialize
67317         func_list if TEST_IFUNC and TEST_NAME are defined.
67319         * string/Makefile (strop-tests): Add bcopy and bzero.
67320         * string/test-bcopy.c: New file.
67321         * string/test-bzero.c: Likewise.
67322         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67323         defined.
67324         * string/test-memset.c: Support bzero test if TEST_BZERO is
67325         defined.
67326         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67327         __libc_memmove.
67328         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67329         __libc_memset.
67330         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67331         of memset.
67333 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67335         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67336         * configure: Regenerated.
67338         * Makeconfig (+link-static-before-libc): Don't include
67339         $(link-static-libc).
67341         * libio/libio.h (_IO_pos_t): Remove.
67343 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67345         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67346         McGrath.
67348 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67350         * crypt/crypt-entry.c: Include fips-private.h.
67351         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67352         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67353         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67354         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67356 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67358         * crypt/crypt-private.h: Include stdbool.h.
67359         (_ufc_setup_salt_r): Return bool.
67360         * crypt/crypt-entry.c: Include errno.h.
67361         (__crypt_r): Return NULL with EINVAL for bad salt.
67362         * crypt/crypt_util.c (bad_for_salt): New.
67363         (_ufc_setup_salt_r): Check that salt is long enough and within
67364         the specified alphabet.
67365         * crypt/badsalttest.c: New file.
67366         * crypt/Makefile (tests): Add it.
67367         ($(objpfx)badsalttest): New.
67369 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67371         * NEWS: Add entry for BZ #14602.
67373 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67375         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67376         type-generic.
67377         * math/libm-test.inc: Update comment listing what functions and
67378         macros are tested.
67379         (isgreater_test): New function.
67380         (isgreaterequal_test): Likewise.
67381         (isless_test): Likewise.
67382         (islessequal_test): Likewise.
67383         (islessgreater_test): Likewise.
67384         (isunordered_test): Likewise.
67385         (main): Call the new functions.
67387 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67389         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67390         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67391         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67392         * sysdeps/i386/configure: Regenerated.
67393         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67394         * sysdeps/mach/configure: Regenerated.
67395         * sysdeps/mach/hurd/configure: Regenerated.
67396         * sysdeps/powerpc/configure: Regenerated.
67397         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67398         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67399         * sysdeps/s390/s390-32/configure: Regenerated.
67400         * sysdeps/s390/s390-64/configure: Regenerated.
67401         * sysdeps/sh/configure: Regenerated.
67402         * sysdeps/sparc/configure: Regenerated.
67403         * sysdeps/unix/sysv/linux/configure: Regenerated.
67404         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67405         * sysdeps/x86_64/configure: Regenerated.
67407         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67408         defined.  Don't check if MAP is NULL.
67410 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67412         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67413         (_G_stat64): Likewise.
67414         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67415         (_G_stat64): Likewise.
67416         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67417         instead of struct _G_stat64.
67418         * libio/fileops.c (mmap_remap_check): Likewise.
67419         (decide_maybe_mmap): Likewise.
67420         (_IO_new_file_seekoff): Likewise.
67421         (_IO_file_stat): Likewise.
67422         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67423         _G_off64_t.
67424         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67425         instead of struct _G_stat64.
67426         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67428 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67430         [BZ #14602]
67431         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67432         Replace with ...
67433         (CHECK_EOL): New macro.
67434         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67435         CHECK_EOL.
67436         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67437         Replace with CHECK_EOL.
67438         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67439         Replace with CHECK_EOL.
67441 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67443         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67444         type-generic.
67445         * math/libm-test.inc: Update comment listing what functions and
67446         macros are tested.
67447         (finite_test): New function.
67448         (isinf_test): Likewise.
67449         (isnan_test): Likewise.
67450         (fpclassify_test): Test subnormal input.
67451         (isfinite_test): Likewise.
67452         (isnormal_test): Likewise.
67453         (main): Call the new functions.
67455 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67457         [BZ #14660]
67458         * Makerules (%.dynsym): Force C locale when running
67459         $(OBJDUMP) --dynamic-syms.
67461 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67463         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67464         <stdint.h>.
67466 2012-10-06  David S. Miller  <davem@davemloft.net>
67468         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67469         upper 32-bits of the length value in %o2 since we use branch-on-register
67470         tests which consider the entire 64-bit register.
67472 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67474         * string/test-strstr.c (check2): Add a test for page boundary.
67476 2012-10-05  David S. Miller  <davem@davemloft.net>
67478         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67479         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67480         file.
67481         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67482         sysdep_routines.
67483         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67484         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67485         and bzero when HWCAP_SPARC_CRYPTO is present.
67487 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67489         [BZ #14602]
67490         * string/test-strstr.c (check2): New function.
67491         (test_main): Call check2.
67493         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67494         and bug-strchr1.
67495         * string/bug-strcasestr1.c (do_test): Moved to ...
67496         * string/test-strcasestr.c (check1): Here.  New function.
67497         (do_one_test): Break out result checking code into ...
67498         (check_result): This.  New function.
67499         (do_one_test): Call check_result.
67500         (test_main): Call check1.
67501         * string/bug-strchr1.c (do_test): Moved to ...
67502         * string/test-strchr.c (check1): Here.  New function.
67503         (do_one_test): Break out result checking code into ...
67504         (check_result): This.  New function.
67505         (do_one_test): Call check_result.
67506         (test_main): Call check1.
67507         * string/bug-strstr1.c (main): Moved to ...
67508         * string/test-strstr.c (check1): Here.  New function.
67509         (do_one_test): Break out result checking code into ...
67510         (check_result): This.  New function.
67511         (do_one_test): Call check_result.
67512         (test_main): Call check1.
67513         * string/bug-strcasestr1.c: Removed.
67514         * string/bug-strchr1.c: Likewise.
67515         * string/bug-strstr1.c: Likewise.
67517         * elf/Makefile (dl-routines): Add hwcaps.
67518         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67519         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67520         (_dl_important_hwcaps): Moved to ...
67521         * elf/dl-hwcaps.c: Here.  New file.
67522         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67524         [BZ #14557]
67525         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67526         if IS_IN_rtld isn't defined.
67528         * elf/dl-support.c (_dl_sysinfo_map): New.
67529         Include "get-dynamic-info.h" and "setup-vdso.h".
67530         (_dl_non_dynamic_init): Call setup_vdso.
67531         * elf/dynamic-link.h: Don't include <assert.h>.
67532         (elf_get_dynamic_info): Moved to ...
67533         * elf/get-dynamic-info.h: Here.  New file.
67534         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67535         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67536         * elf/setup-vdso.h: Here.  New file.
67537         * elf/rtld.c: Include "setup-vdso.h".
67538         (dl_main): Call setup_vdso.
67540 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67542         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67543         creal in comment listing functions tested.  List finite, isinf,
67544         isnan, isless, islessequal, isgreater, isgreaterequal,
67545         islessgreater, isunordered, lgamma_r and pow10 as functions and
67546         macros not tested.  Mention which functions not tested are aliases
67547         for other functions.  Fix typo.  Note that signs of NaNs are not
67548         tested.
67550         * scripts/config.guess: Update from config.git.
67551         * scripts/config.sub: Likewise.
67553 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67555         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67556         * misc/madvise.c (madvise): Renamed to __madvise.
67557         Make madvise a weak alias.
67558         * include/sys/mman.h: Declare __madvise.
67559         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67560         * sysdeps/unix/syscalls.list
67561         (madvise): Make __madvise the strong name, and madvise a weak alias.
67562         * sysdeps/unix/sysv/linux/syscalls.list
67563         (madvise, mmap): Remove redundant entries.
67564         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67565         * malloc/malloc.c (mtrim): Likewise.
67566         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67568 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67570         * sysdeps/mach/hurd/dl-cache.c: File removed.
67571         * config.h.in (USE_LDCONFIG): New #undef.
67572         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67573         * configure: Regenerated.
67574         * elf/Makefile (dl-routines): Add dl-cache only under
67575         [$(use-ldconfig) = yes].
67576         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67577         cache on [USE_LDCONFIG].
67578         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67579         [USE_LDCONFIG].
67580         * elf/rtld.c (dl_main): Likewise.
67582 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67584         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67585         _SC_LEVEL4_CACHE_LINESIZE.
67587 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67589         * sysdeps/unix/bsd/confstr.h: File removed.
67591 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67593         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67594         sys/sdt-config.h.
67596 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67598         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67599         Make 'mapoff' field ElfW(Off) rather than off_t.
67601 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67603         * nscd/Makefile: Remove nscd-cflags and all its users.
67604         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67605         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67607         [BZ #10631]
67608         * malloc.c (malloc_printerr): Clarify error message.
67610 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
67612         [BZ #14648]
67613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67614         Set bit_FMA_Usable if FMA is supported.
67615         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67616         macro.
67617         (bit_FMA4_Usable): Updated.
67618         (index_FMA_Usable): New macro.
67619         (CPUID_FMA): Likewise.
67620         (HAS_FMA): Defined with bit_FMA_Usable.
67622 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67624         * bits/types.h (__swblk_t): Type removed.
67625         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67626         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67628         (__SWBLK_T_TYPE): Likewise.
67629         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67630         (__SWBLK_T_TYPE): Likewise.
67631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67632         (__SWBLK_T_TYPE): Likewise.
67633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67634         (__SWBLK_T_TYPE): Likewise.
67636 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
67637             Honza Horak <hhorak@redhat.com>
67639         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
67640         (xdr_mapname): Use YPMAXMAP as maxsize.
67641         (xdr_peername): Use YPMAXPEER as maxsize.
67642         (xdr_keydat): Use YPAXRECORD as maxsize.
67643         (xdr_valdat): Use YPMAXRECORD as maxsize.
67645 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67647         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
67649         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
67650         * csu/init-first.c: ... here.
67651         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
67652         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67653         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
67654         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67655         * sysdeps/i386/init-first.c: File removed.
67656         * sysdeps/sh/init-first.c: File removed.
67658 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
67660         [BZ #14645]
67661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
67662         if x * y might underflow to zero and z is zero.
67663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67664         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67665         * math/libm-test.inc (min_subnorm_value): New variable.
67666         (fma_test): Add more tests.
67667         (fma_test_towardzero): Likewise.
67668         (fma_test_downward): Likewise.
67669         (fma_test_upward): Likewise.
67670         (initialize): Set min_subnorm_value.
67672 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
67674         [BZ #14638]
67675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
67676         0 + 0.
67677         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
67678         mode for addition resulting in exact zero.
67679         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
67680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
67681         exact 0 + 0.
67682         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67684         * math/libm-test.inc (fma_test): Add more tests.
67685         (fma_test_towardzero): New function.
67686         (fma_test_downward): Likewise.
67687         (fma_test_upward): Likewise.
67688         (main): Call the new functions.
67690 2012-09-28  David S. Miller  <davem@davemloft.net>
67692         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
67694 2012-09-28  Roland McGrath  <roland@hack.frob.com>
67696         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
67697         instead of SIGALRM.
67699         * sysdeps/gnu/_G_config.h: Moved to ...
67700         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
67701         * sysdeps/mach/hurd/_G_config.h: Moved to ...
67702         * sysdeps/generic/_G_config.h: ... here.
67704         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
67706         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
67708         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
67709         Conditionalize target on [libnss_test1.so-version].
67711         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67713         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
67714         (elfobjdir): Move out of conditionals.
67716         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
67717         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
67718         (__nss_lookup_function): Conditionalize label remove_from_tree on
67719         [!DO_STATIC_NSS || SHARED], matching its only use.
67721 2012-09-28  David S. Miller  <davem@davemloft.net>
67723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67724         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
67725         file.
67726         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67727         sysdep_routines.
67728         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67729         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
67730         when HWCAP_SPARC_CRYPTO is present.
67732 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67734         * io/tst-mknodat.c: Create a FIFO instead of a socket.
67736 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
67738         [BZ #6530]
67739         * stdio-common/vfprintf.c (process_string_arg): Revert
67740         2000-07-22 change.
67742 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
67744         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
67745         for testcase.
67746         * stdio-common/tst-sprintf.c: Include <locale.h>
67747         (main): Test sprintf's handling of incomplete multibyte
67748         characters.
67750 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
67752         * elf/dl-runtime.c (VERSYMIDX): Removed.
67753         * elf/dl-version.c (VERSYMIDX): Likewise.
67754         * elf/do-rel.h (VERSYMIDX): Likewise.
67755         (VALIDX): Likewise.
67756         * elf/dynamic-link.h (VERSYMIDX): Likewise.
67757         * elf/rtld.c (VALIDX): Likewise.
67758         (ADDRIDX): Likewise.
67759         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
67760         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
67761         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
67762         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
67763         (VALIDX): Likewise.
67764         (ADDRIDX): Likewise.
67766 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67768         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
67770 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
67772         [BZ #11438]
67773         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
67774         to global scope.
67775         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
67776         addresses are in the same scope as 192.0.2/24.
67777         * posix/gai.conf: Document new scope table defaults.
67779 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67781         [BZ #5298]
67782         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
67783         for ftell.  Compute offsets from write pointers instead.
67784         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67786 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67788         [BZ #14543]
67789         * libio/Makefile (tests): New test case tst-fseek.
67790         * libio/tst-fseek.c: New test case to verify that fseek/ftell
67791         combination works in wide mode.
67792         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
67793         state when the external buffer state changes.
67795 2012-09-27  David S. Miller  <davem@davemloft.net>
67797         [BZ #14376]
67798         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
67799         pass reloc->r_addend in as the 'high' argument to
67800         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
67802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67804 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67806         * rt/tst-aio2.c: Include <pthread.h>.
67807         * rt/tst-aio3.c: Likewise.
67809 2012-09-27  Steve Ellcey  <sellcey@mips.com>
67811         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
67813 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
67815         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
67816         contents on [SHARED].
67818 2012-09-26  Marek Polacek  <polacek@redhat.com>
67820         [BZ #14530]
67821         [BZ #13741]
67822         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
67823         for C++ and GCC <4.3 as well as for non GCC compilers.
67825 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67829 2012-09-25  Roland McGrath  <roland@hack.frob.com>
67831         * Makefile.in (all, install): Declare with .PHONY.
67832         Reported by Michael Hope <michael.hope@linaro.org>.
67834 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67836         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
67837         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
67838         system header.
67839         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
67840         Likewise.
67841         (sydep_routines): Add the new and the internal functions.
67842         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
67843         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
67844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
67845         (GLIBC_2.17): Add the new function.
67846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67847         (GLIBC_2.17): Likewise.
67848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
67849         (GLIBC_2.17): Likewise.
67850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
67851         (GLIBC_2.17): Likewise.
67852         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
67854 2012-09-25  Alan Modra  <amodra@gmail.com>
67856         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
67857         Add release barrier before setting once_control to say
67858         initialisation is done.  Add hints on lwarx.  Use macro in
67859         place of isync.
67860         (clear_once_control): Add release barrier.
67862 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67864         [BZ #13629]
67865         * math/s_clog.c (__clog): Handle more values close to |z| = 1
67866         specially.
67867         * math/s_clog10.c (__clog10): Likewise.
67868         * math/s_clog10f.c (__clog10f): Likewise.
67869         * math/s_clog10l.c (__clog10l): Likewise.
67870         * math/s_clogf.c (__clogf): Likewise.
67871         * math/s_clogl.c (__clogl): Likewise.
67872         * math/Makefile (libm-calls): Add x2y2m1.
67873         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
67874         (__x2y2m1): Likewise.
67875         (__x2y2m1l): Likewise.
67876         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
67877         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
67878         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
67879         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
67880         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
67881         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
67882         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
67883         * sysdeps/i386/fpu/libm-test-ulps: Update.
67884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67886         [BZ #14621]
67887         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
67888         int as type of variable DEPTH.
67889         (glob): Use size_t instead of int as type of variables NEWCOUNT
67890         and OLD_PATHC.
67892 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67894         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67895         Add s_sincosf-sse2.
67896         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
67897         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
67898         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
67899         macros for using routine as __sincosf_ia32.
67900         Use macro for function declaration and weak_alias.
67901         * sysdeps/i386/fpu/libm-test-ulps: Update.
67903         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
67904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67906         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
67907         subnormal argument.
67908         * math/s_cexpf.c (__cexpf): Likewise.
67909         * math/s_csinf.c (__csinf): Likewise.
67910         * math/s_csinhf.c (__csinhf): Likewise.
67911         * math/s_ctanf.c (__ctanf): Likewise.
67912         * math/s_ctanhf.c (__ctanhf): Likewise.
67913         * math/s_ccosh.c (__ccoshf): Likewise.
67914         * math/s_cexp.c (__cexpl): Likewise.
67915         * math/s_csin.c (__csin): Likewise.
67916         * math/s_csinh.c (__csinh): Likewise.
67917         * math/s_ctan.c (__ctan): Likewise.
67918         * math/s_ctanh.c (ctanh): Likewise.
67919         * math/s_ccoshl.c (__ccoshl): Likewise.
67920         * math/s_cexpl.c (__cexpl): Likewise.
67921         * math/s_csinl.c (__csinl): Likewise.
67922         * math/s_csinhl.c (__csinhl): Likewise.
67923         * math/s_ctanl.c (__ctanl): Likewise.
67924         * math/s_ctanhl.c (__ctanhl): Likewise.
67926 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67928         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
67929         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
67930         (_IO_off_t): Define to __off_t, not _G_off_t.
67931         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
67932         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
67933         (_IO_wint_t): Define to wint_t, not _G_wint_t.
67934         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
67935         type of __dummy and __dummy2 fields.
67936         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
67937         (_G_ssize_t): Likewise.
67938         (_G_off_t): Likewise.
67939         (_G_pid_t): Likewise.
67940         (_G_uid_t): Likewise.
67941         (_G_wchar_t): Likewise.
67942         (_G_wint_t): Likewise.
67943         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
67944         (_G_ssize_t): Likewise.
67945         (_G_off_t): Likewise.
67946         (_G_pid_t): Likewise.
67947         (_G_uid_t): Likewise.
67948         (_G_wchar_t): Likewise.
67949         (_G_wint_t): Likewise.
67950         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
67951         (_G_ssize_t): Likewise.
67952         (_G_off_t): Likewise.
67953         (_G_pid_t): Likewise.
67954         (_G_uid_t): Likewise.
67955         (_G_wchar_t): Likewise.
67956         (_G_wint_t): Likewise.
67958 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67960         * malloc/arena.c: Include malloc-sysdep.h.
67961         (shrink_heap): Use check_may_shrink_heap to decide if madvise
67962         is sufficient to shrink the heap or an unmap is needed.
67963         * sysdeps/generic/malloc-sysdep.h: New file.  Define
67964         new function check_may_shrink_heap.
67965         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
67966         new function check_may_shrink_heap.
67968 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67970         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
67971         comments.
67973 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
67975         * catgets/test-gencat.sh: Add "set -e".
67976         * elf/tst-pathopt.sh: Likewise.
67977         * grp/tst_fgetgrent.sh: Likewise.
67978         * iconvdata/run-iconv-test.sh: Likewise.
67979         * intl/tst-gettext.sh: Likewise.
67980         * intl/tst-gettext2.sh: Likewise.
67981         * intl/tst-gettext4.sh: Likewise.
67982         * intl/tst-gettext6.sh: Likewise.
67983         * intl/tst-translit.sh: Likewise.
67984         * io/ftwtest-sh: Likewise.
67985         * libio/test-freopen.sh: Likewise.
67986         * malloc/tst-mtrace.sh: Likewise.
67987         * posix/globtest.sh: Likewise.
67988         * posix/tst-getconf.sh: Likewise.
67989         * posix/wordexp-tst.sh: Likewise.
67990         * stdio-common/tst-printf.sh: Likewise.
67991         * stdio-common/tst-unbputc.sh: Likewise.
67992         * stdlib/tst-fmtmsg.sh: Likewise.
67993         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
67994         * catgets/Makefile: Do not specify -e option when running
67995         testsuite shell scripts.
67996         * elf/Makefile: Likewise.
67997         * grp/Makefile: Likewise.
67998         * iconvdata/Makefile: Likewise.
67999         * intl/Makefile: Likewise.
68000         * io/Makefile: Likewise.
68001         * libio/Makefile: Likewise.
68002         * malloc/Makefile: Likewise.
68003         * posix/Makefile: Likewise.
68004         * stdio-common/Makefile: Likewise.
68005         * stdlib/Makefile: Likewise.
68006         * sysdeps/x86_64/Makefile: Likewise.
68008         * io/ftwtest-sh: Add copyright header.
68009         * posix/globtest.sh: Likewise.
68010         * posix/tst-getconf.sh: Likewise.
68011         * posix/wordexp-tst.sh: Likewise.
68012         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68014 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68016         [BZ #13679]
68017         * Makeconfig (+link): Defined as $(+link-static) if
68018         $(build-shared) isn't yes.
68019         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68020         isn't yes.
68021         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68023         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68025         [BZ #14562]
68026         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68027         new chunk size with MALLOC_ALIGN_MASK.
68029 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68031         [BZ #5044]
68032         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68033         <rounding-mode.h>.
68034         (__printf_fphex): Determine rounding using get_rounding_mode and
68035         round_away.
68036         * stdio-common/tst-printf-round.c (struct hex_test): New
68037         structure.
68038         (hex_tests): New variable.
68039         (test_hex_in_one_mode): New function.
68040         (do_test): Also run tests for hex float output.
68042 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68044         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68045         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68046         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68047         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68048         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68049         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68050         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68051         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68053 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68055         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68056         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68057         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68058         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68060 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68062         [BZ #14579]
68063         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68064         mode only.
68065         * elf/tst-rtld-load-self.sh: New test.
68066         * elf/Makefile: Run it.
68068 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68070         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68071         (tst-writev-ENV): Remove.
68072         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68074 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68076         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68078 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68080         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68081         unconditional.
68082         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68083         Likewise.
68084         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68085         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68086         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68087         Likewise.
68089 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68091         [BZ #14587]
68092         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68093         * config.make.in (have-cpp-asm-debuginfo): Removed.
68094         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68095         * configure: Regenerated.
68097 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68099         [BZ #5044]
68100         * stdio-common/printf_fp.c: Include <stdbool.h> and
68101         <rounding-mode.h>.
68102         (___printf_fp): Determine rounding using get_rounding_mode and
68103         round_away.
68104         * stdio-common/tst-printf-round.c: New file.
68105         * stdio-common/Makefile (tests): Add tst-printf-round.
68106         (link-libm): New variable.
68107         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68109 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68111         [BZ #14576]
68112         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68113         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68114         Likewise.
68115         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68116         Likewise.
68118 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68120         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68121         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68122         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68123         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68125 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68127         [BZ #14518]
68128         * include/rounding-mode.h: New file.
68129         * sysdeps/generic/get-rounding-mode.h: Likewise.
68130         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68131         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68132         (MAX_VALUE): New macro.
68133         (MIN_VALUE): Likewise.
68134         (overflow_value): New function.
68135         (underflow_value): Likewise.
68136         (round_and_return): Use overflow_value and underflow_value to
68137         determine return values in overflow and underflow cases.  Use
68138         round_away to determine rounding depending on rounding mode.
68139         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68140         determine return values in overflow and underflow cases.
68141         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68142         (struct test_results): New structure.
68143         (struct test): Use struct test_results to store expected results
68144         for all rounding modes.
68145         (TEST): Include expected results for all rounding modes.
68146         (test_in_one_mode): New function.
68147         (do_test): Use test_in_one_mode to compute and check results.
68148         Check results for all rounding modes.
68149         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68150         $(link-libm).
68152 2012-12-09  Allan McRae  <allan@archlinux.org>
68154         * sysdeps/i386/fpu/libm-test-ulps: Update
68156 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68158         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68159         (_G_int32_t): Likewise.
68160         (_G_uint16_t): Likewise.
68161         (_G_uint32_t): Likewise.
68162         (_G_HAVE_BOOL): Likewise.
68163         (_G_HAVE_ATEXIT): Likewise.
68164         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68165         (_G_HAVE_IO_FILE_OPEN): Likewise.
68166         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68167         (_G_int32_t): Likewise.
68168         (_G_uint16_t): Likewise.
68169         (_G_uint32_t): Likewise.
68170         (_G_HAVE_BOOL): Likewise.
68171         (_G_HAVE_ATEXIT): Likewise.
68172         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68173         (_G_HAVE_IO_FILE_OPEN): Likewise.
68174         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68175         (_G_int32_t): Likewise.
68176         (_G_uint16_t): Likewise.
68177         (_G_uint32_t): Likewise.
68178         (_G_HAVE_BOOL): Likewise.
68179         (_G_HAVE_ATEXIT): Likewise.
68180         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68181         (_G_HAVE_IO_FILE_OPEN): Likewise.
68183 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68185         * csu/libc-tls.c: Update copyright years.
68187 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68189         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68190         [!_G_USING_THUNKS]: Remove conditional code.
68191         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68192         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68194         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68195         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68196         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68197         (_G_VTABLE_LABEL_PREFIX): Likewise.
68198         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68199         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68200         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68201         (_G_VTABLE_LABEL_PREFIX): Likewise.
68202         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68203         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68204         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68205         (_G_VTABLE_LABEL_PREFIX): Likewise.
68206         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68208 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68210         * libio/Makefile: Include ../Makeconfig before tests.
68211         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68212         only if $(build-shared) is yes.
68214         * iconv/gconv_db.c: Update copyright years.
68216 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68218         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68219         unwind info if defined PIC. Fix special cases description.
68220         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68222         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68223         DP_HI_MASK entry.
68224         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68226 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68228         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68230         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68231         is NULL.
68233         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68234         (LDLIBS-tst-chk4): This.
68235         (LDFLAGS-tst-chk5): Renamed to ...
68236         (LDLIBS-tst-chk5): This.
68237         (LDFLAGS-tst-chk6): Renamed to ...
68238         (LDLIBS-tst-chk6): This.
68239         (LDFLAGS-tst-lfschk4): Renamed to ...
68240         (LDLIBS-tst-lfschk4): This.
68241         (LDFLAGS-tst-lfschk5): Renamed to ...
68242         (LDLIBS-tst-lfschk5): This.
68243         (LDFLAGS-tst-lfschk6): Renamed to ...
68244         (LDLIBS-tst-lfschk6): This.
68246         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68247         on $(common-objpfx)soversions.mk.
68249 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68251         [BZ #10014]
68252         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68253         example host name.
68255 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68257         * malloc/arena.c (arena_get_retry): New function that gets
68258         another arena for the caller to try its request on.
68259         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68260         current arena cannot fulfill the request.
68261         (__libc_memalign): Likewise.
68262         (__libc_memalign): Likewise.
68263         (__libc_pvalloc): Likewise.
68264         (__libc_calloc): Likewise.
68266 2012-09-05  John Tobey  <john.tobey@gmail.com>
68268         [BZ #13542]
68269         * manual/arith.texi (Operations on Complex): Fix description
68270         of carg branch cut.
68272 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68274         [BZ #10014]
68275         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68276         host name.
68278         [BZ #10038]
68279         * manual/memory.texi (Memory): Make order of menu items match
68280         order of sections.
68282 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68284         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68285         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68286         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68288 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68290         * csu/libc-tls.c (static_dtv): Renamed to ...
68291         (_dl_static_dtv): This.  Make it global.
68292         (_dl_initial_dtv): Removed.
68293         (__libc_setup_tls): Updated.
68294         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68295         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68296         DL_INITIAL_DTV.
68298 2012-09-06  Petr Machata  <pmachata@redhat.com>
68300         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68301         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68302         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68303         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68305 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68307         [BZ #14545]
68308         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68309         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68310         freeing dtv[-1].
68312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68314         [BZ #14544]
68315         * Makeconfig (link-static-before-libc): Replace $(+prector)
68316         with $(+prectorT).
68317         (link-static-after-libc): Replace $(+postctor) with
68318         $(+postctorT).
68319         (link-bounded): Replace $(+prector)/$(+postctor) with
68320         $(+prectorT)/$(+postctorT).
68321         (+prectorT): New macro.
68322         (+postctorT): Likewise.
68324 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68326         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68327         (round_str): Handle values above the maximum for IBM long double
68328         as inexact.
68329         * stdlib/tst-strtod-round.c (tests): Regenerated.
68331 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68333         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68334         assembler flag.
68335         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68336         zarch_nohighgprs around the zarch optimized routines.
68337         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68338         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68339         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68340         for zarch.
68342 2012-09-05  David S. Miller  <davem@davemloft.net>
68344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68346         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68347         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68348         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68349         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68350         entries.
68352 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68354         * malloc/arena.c: Fold copyright years.
68355         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68357 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68359         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68361 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68363         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68365 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68367         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68368         change internal state upon failure.
68370 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68372         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68373         * malloc/memusage.c (mmap): Likewise.
68374         (mmap64, mremap): Likewise.  Adjust name in comment.
68376 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68378         * libio/fileops.c: Fix typos in comments.
68379         * libio/oldfileops.c: Likewise.
68380         * libio/wfileops.c: Likewise.
68382 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68384         [BZ #1349]
68385         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68386         (tst-malloc-usable-ENV): Set environment for test case.
68387         * malloc/hooks.c (malloc_check_get_size): New function to get
68388         requested size.
68389         * malloc/malloc.c (musable): Use malloc_check_get_size.
68390         * malloc/tst-malloc-usable.c: New test case.
68392 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68394         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68396 2012-09-05  Allan McRae  <allan@archlinux.org>
68398         [BZ #13966]
68399         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68400         determine header location.
68401         * configure: Regenerated.
68403 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68405         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68406         float format.
68407         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68408         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68409         format.
68410         (test): Regenerate.
68412 2012-09-04  David S. Miller  <davem@davemloft.net>
68414         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68415         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68416         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68418 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68420         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68421         failures.
68423         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68425 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68427         [BZ #9914]
68428         * libio/iogetdelim.c: Include <limits.h>.
68429         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68430         + len + 1 would overflow.
68432 2012-09-03  Andreas Jaeger  <aj@suse.de>
68434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68435         * sysdeps/i386/fpu/libm-test-ulps: Update.
68437 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68439         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68440         Add s_sinf-sse2, s_conf-sse2.
68442         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68443         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68444         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68445         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68447         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68448         for using routine as __sinf_ia32.
68449         Use macro for function declaration and weak_alias.
68450         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68451         for using routine as __cosf_ia32.
68452         Use macro for function declaration and weak_alias.
68454         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68455         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68457         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68458         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68461         * math/libm-test.inc (cos_test): Add more test cases.
68462         (sin_test): Likewise.
68463         (sincos_test): Likewise.
68465 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68467         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68468         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68469         hidden.
68470         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68472 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68474         [BZ #14538]
68475         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68476         first element of the GOT.
68477         (elf_machine_load_address): Return the difference between
68478         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68480 2012-09-01  Allan McRae  <allan@archlinux.org>
68482         [BZ #13412]
68483         * configure.in (AWK): Require gawk version 3.0 or later.
68484         * configure: Regenerated.
68486 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68488         * sysdeps/unix/sysv/linux/kernel-features.h
68489         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68490         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68491         [__NR_clock_getres]: Make code unconditional.
68492         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68493         (clock_getcpuclockid): Remove code left unreachable by removal of
68494         conditionals.
68495         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68496         code unconditional.
68497         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68498         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68499         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68500         Make code unconditional.
68501         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68502         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68503         * sysdeps/unix/sysv/linux/clock_settime.c
68504         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68505         conditional code.
68506         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68507         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68509 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68511         [BZ #14476]
68512         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68513         scripts/test-installation.pl.
68515         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68516         and $ld_so_version if it is set.
68518 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68520         [BZ #14516]
68521         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68522         failure if reading from procfs failed.
68523         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68525 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68527         * sysdeps/unix/sysv/linux/kernel-features.h
68528         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68529         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68530         Remove conditional code.
68531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68532         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68533         Remove conditional code.
68534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68535         * sysdeps/unix/sysv/linux/i386/fxstat.c
68536         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68538         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68539         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68541         * sysdeps/unix/sysv/linux/i386/lxstat.c
68542         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68543         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68544         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68545         Remove conditional code.
68546         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68547         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68548         Remove conditional code.
68549         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68550         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68551         <kernel-features.h>.
68552         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68553         Remove.
68554         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68555         Remove conditional code.
68556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68557         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68558         Remove conditional.
68560 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68562         [BZ #5400]
68563         * NEWS: Add fixed bug number.
68565 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68567         [BZ #14519]
68568         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68569         underflowing exponent in case of negative sign.
68570         * stdlib/tst-strtod-round-data: Add more tests.
68571         * stdlib/tst-strtod-round.c (tests): Regenerated.
68573         [BZ #3479]
68574         * stdlib/strtod_l.c (NDIG): Remove.
68575         (HEXNDIG): Likewise.
68576         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68577         smallest representable value.
68578         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68579         lie within an exact representation of 1/2 ulp of the result.
68580         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68581         unconditionally.
68582         (TENS_P9_IDX): Define unconditionally.
68583         (TENS_P9_SIZE): Likewise.
68584         (TENS_P10_IDX): Likewise.
68585         (TENS_P10_SIZE): Likewise.
68586         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68587         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68588         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68589         entries for 10^2^13 and 10^2^14.
68590         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68591         (TENS_P13_IDX): Define.
68592         (TENS_P13_SIZE): Likewise.
68593         (TENS_P14_IDX): Likewise.
68594         (TENS_P14_SIZE): Likewise.
68595         (_fpioconst_pow10): Change array size to
68596         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68597         unconditional.
68598         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68599         1024]: Add entries for 10^2^13 and 10^2^14.
68600         [LAST_POW10 > _LAST_POW10]: Remove #error.
68601         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68602         (_fpioconst_pow10): Change array size to
68603         FPIOCONST_POW10_ARRAY_SIZE.
68604         * stdlib/gen-fpioconst.c: New file.
68605         * stdlib/gen-tst-strtod-round.c: Likewise.
68606         * stdlib/tst-strtod-round-data: Likewise.
68607         * stdlib/tst-strtod-round.c: Likewise.
68608         * stdlib/Makefile (tests): Add tst-strtod-round.
68610         [BZ #14459]
68611         * stdlib/strtod_l.c: Include <stdint.h>.
68612         (NDEBUG): Do not define.
68613         (round_and_return): Change EXPONENT parameter to type intmax_t.
68614         Rearrange calculations to avoid internal overflow possibilities.
68615         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68616         Rearrange calculations to avoid internal overflow possibilities.
68617         Assert that number fits inside MPNSIZE limbs.
68618         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68619         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
68620         calculations and add assertions to avoid internal overflow
68621         possibilities.  Add casts to avoid signed/unsigned operations.
68622         * stdlib/tst-strtod-overflow.c: New file.
68623         * stdlib/Makefile (tests): Add tst-strtod-overflow.
68625 2012-08-25  Marek Polacek  <polacek@redhat.com>
68627         * time/time.h: Fix some typos in comments.
68629 2012-08-23  Roland McGrath  <roland@hack.frob.com>
68631         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68632         * posix/tst-rfc3484-2.c: Likewise.
68633         * posix/tst-rfc3484-3.c: Likewise.
68635 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
68637         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
68638         (EF_ARM_ABI_FLOAT_HARD): Likewise.
68640 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
68642         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
68643         #include of fxstatat64.c.
68645 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68647         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
68648         * shadow/getspent_r.c: Likewise.
68649         * shadow/getspnam.c: Likewise.
68650         * shadow/getspnam_r.c: Likewise.
68651         * gshadow/getsgent.c: Likewise.
68652         * gshadow/getsgent_r.c: Likewise.
68653         * gshadow/getsgnam.c: Likewise.
68654         * gshadow/getsgnam_r.c: Likewise.
68655         * inet/getnetbyad.c: Likewise.
68656         * inet/getnetbyad_r.c: Likewise.
68657         * inet/getnetbynm.c: Likewise.
68658         * inet/getnetbynm_r.c: Likewise.
68659         * inet/getnetent.c: Likewise.
68660         * inet/getnetent_r.c: Likewise.
68661         * inet/getproto.c: Likewise.
68662         * inet/getproto_r.c: Likewise.
68663         * inet/getprtent.c: Likewise.
68664         * inet/getprtent_r.c: Likewise.
68665         * inet/getprtname.c: Likewise.
68666         * inet/getprtname_r.c: Likewise.
68667         * inet/getrpcbyname.c: Likewise.
68668         * inet/getrpcbyname_r.c: Likewise.
68669         * inet/getrpcbynumber.c: Likewise.
68670         * inet/getrpcbynumber_r.c: Likewise.
68671         * inet/getrpcent.c: Likewise.
68672         * inet/getrpcent_r.c: Likewise.
68673         * inet/getaliasent.c: Likewise.
68674         * inet/getaliasent_r.c: Likewise.
68675         * inet/getaliasname.c: Likewise.
68676         * inet/getaliasname_r.c: Likewise.
68677         * nscd/getgrgid_r.c: Likewise.
68678         * nscd/getgrnam_r.c: Likewise.
68679         * nscd/gethstbyad_r.c: Likewise.
68680         * nscd/gethstbynm3_r.c: Likewise.
68681         * nscd/getpwnam_r.c: Likewise.
68682         * nscd/getpwuid_r.c: Likewise.
68683         * nscd/getsrvbynm_r.c: Likewise.
68684         * nscd/getsrvbypt_r.c: Likewise.
68685         * nscd/gai.c: Likewise.
68687         * configure.in (build_nscd): New substituted variable, set
68688         by --disable-build-nscd and defaults to $use_nscd.
68689         * configure: Regenerated.
68690         * config.make.in (build-nscd): New substituted variable.
68691         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68692         Change conditional to require [$(build-nscd) = yes] as well.
68693         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
68695         [BZ# 13696]
68696         * configure.in (use_nscd): New substituted variable, set by
68697         --disable-nscd.  If enabled, define USE_NSCD.
68698         * configure: Regenerated.
68699         * config.h.in: Add USE_NSCD.
68700         * config.make.in (use-nscd): New substituted variable.
68701         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68702         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
68703         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
68704         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
68705         (CFLAGS-getgrnam_r.c): Likewise.
68706         (CFLAGS-initgroups.c): Likewise.
68707         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
68708         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
68709         Variables removed.
68710         * inet/getnetgrent_r.c
68711         (nscd_setnetgrent): New function, broken out of ...
68712         (setnetgrent): ... here.  Call it.
68713         (innetgr): Conditionalize nscd bits on [USE_NSCD].
68714         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
68715         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
68716         * nscd/Makefile (routines, aux): Move definitions after include of
68717         Makeconfig.  Conditionalize on [$(use-nscd) != no].
68718         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
68719         Conditionalize on [USE_NSCD].
68720         (is_nscd, nscd_init_cb): Likewise.
68721         (nss_load_library): Conditionalize init callback on [USE_NSCD].
68722         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
68723         * nss/nss_db/db-init.c: Likewise.
68724         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
68725         [USE_NSCD].
68726         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
68727         (make_request): Use it.
68728         (cache_valid_p): New function.
68729         (__check_pf): Use it.
68730         * NEWS: Add item for --disable-nscd.
68732 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
68734         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
68735         to support sed >= 4.2.1-20-ga9bf076.
68736         * configure: Regenerated.
68738 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68740         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
68741         Conditionalize whole body on [IREL].
68743 2012-08-22  Jeff Law <law@redhat.com>
68745         [BZ #14505]
68746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
68747         if the family is PF_UNSPEC.
68749 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
68751         * Makerules (lib-version): Rename from V.
68752         (install-lib-nosubdir): Change V to lib-version.
68754 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
68756         [BZ #14252]
68757         * powerpc32/power6/wcschr.c: New file.
68758         * powerpc32/power6/wcscpy.c: New file.
68759         * powerpc32/power6/wcsrchr.c: New file.
68760         * powerpc64/power6/wcschr.c: New file.
68761         * powerpc64/power6/wcscpy.c: New file.
68762         * powerpc64/power6/wcsrchr.c: New file.
68764 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68766         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
68767         (two_way_short_needle): Use it.
68768         * string/strstr.c (AVAILABLE1_USES_J): Define.
68769         * string/strcasestr.c: Likewise.
68771         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
68772         array references.
68773         * string/strcasestr.c (TOLOWER): Make side-effect safe.
68775         [BZ #11607]
68776         * NEWS: Add an entry.
68777         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
68778         define their defaults.
68779         (two_way_short_needle): Detect end-of-string on-the-fly.
68780         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
68781         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
68782         * string/bug-strcasestr1.c: New test.
68783         * string/Makefile: Run it.
68785 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68787         [BZ #11607]
68788         * string/str-two-way.h (two_way_short_needle): Optimize matching of
68789         the first character.
68791 2012-08-21  Roland McGrath  <roland@hack.frob.com>
68793         * csu/elf-init.c (__libc_csu_irel): Function removed.
68794         * csu/libc-start.c (apply_irel): New function.
68795         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
68797 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
68799         * sysdeps/unix/sysv/linux/kernel-features.h
68800         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
68801         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68802         <kernel-features.h>.
68803         [__NR_fadvise64_64]: Make code unconditional.
68804         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
68805         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68806         !__NR_fadvise64_64)]: Likewise.
68807         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68808         !__NR_fadvise64_64))]: Likewise.
68809         [__NR_fadvise64]: Make code unconditional.
68810         [!__NR_fadvise64]: Remove conditional code.
68811         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
68812         <kernel-features.h>.
68813         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68814         unconditional.
68815         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68816         conditional code.
68817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
68818         not include <kernel-features.h>.
68819         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68820         unconditional.
68821         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68822         conditional code.
68823         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
68824         include <kernel-features.h>.
68825         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68826         unconditional.
68827         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68828         conditional code.
68830 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68832         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
68833         slight instruction rearrangements per scrollpipe analysis.
68834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68836 2012-08-20  Roland McGrath  <roland@hack.frob.com>
68838         * manual/syslog.texi (syslog; vsyslog, closelog):
68839         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
68840         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
68842         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
68843         DSOCAPS to match condition on defining it.
68845 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
68847         * sysdeps/unix/sysv/linux/kernel-features.h
68848         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
68849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
68850         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68851         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
68853         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68854         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
68856         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68857         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68859         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
68860         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
68862         * sysdeps/unix/sysv/linux/kernel-features.h
68863         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
68864         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
68865         unconditional.
68866         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68867         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
68868         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68869         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68870         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
68871         Make code unconditional.
68872         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68873         (__mmap64) [!__NR_mmap2]: Likewise.
68874         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
68875         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68876         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68877         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
68878         [__NR_mmap2]: Make code unconditional.
68879         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68880         (__mmap64) [!__NR_mmap2]: Likewise.
68882 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68884         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
68886 2012-08-18  Andreas Jaeger  <aj@suse.de>
68888         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
68890 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
68892         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
68893         * include/unistd.h (__have_sock_cloexec): Likewise.
68894         (__have_pipe2): Likewise.
68895         (__have_dup3): Likewise.
68897 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
68899         [BZ #9685]
68900         * include/unistd.h (__have_pipe2): Change define into an extern int.
68901         (__have_dup3): Likewise.
68902         * socket/have_sock_cloexec.c: Include fcntl.h.
68903         (__have_pipe2): New variable.
68904         (__have_dup3): Likewise.
68906 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
68908         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
68910 2012-08-17  Marek Polacek  <polacek@redhat.com>
68912         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
68913         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
68915 2012-08-17  Roland McGrath  <roland@hack.frob.com>
68917         * configure.in: Add AC_SUBST for sysheaders.
68918         * configure: Regenerated.
68919         * config.make.in (sysheaders): New substituted variable.
68921         * sysdeps/unix/mkfifo.c: Moved ...
68922         * sysdeps/posix/mkfifo.c: ... here.
68923         * sysdeps/unix/mkfifoat.c: Moved ...
68924         * sysdeps/posix/mkfifoat.c: ... here.
68926         * sysdeps/unix/utime.c: Moved ...
68927         * sysdeps/posix/utime.c: ... here.
68929         * sysdeps/unix/time.c: Moved ...
68930         * sysdeps/posix/time.c: ... here.
68931         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
68932         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
68934         * sysdeps/unix/nice.c: Moved ...
68935         * sysdeps/posix/nice.c: ... here.
68937         * sysdeps/unix/alarm.c: Moved ...
68938         * sysdeps/posix/alarm.c: ... here.
68940         * intl/Makefile ($(codeset_mo)): Depend on the input file.
68942 2012-08-17  Jeff Law <law@redhat.com>
68944         * intl/Makefile (codeset_mo): New variable.
68945         ($(codeset_mo)): New target.
68946         (tst-codeset.out): Depend on that.  Remove explicit rule.
68947         (tst-gettext3.out, tst-gettext5.out): Likewise.
68948         (LOCPATH-ENV, tst-codeset-ENV): New variables.
68949         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
68950         * intl/tst-codeset.sh: Remove.
68951         * intl/tst-gettext3.sh: Likewise.
68952         * intl/tst-gettext5.sh: Likewise.
68954 2012-08-17  Roland McGrath  <roland@hack.frob.com>
68956         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
68957         * sysdeps/unix/syscalls.list: ... here.
68959         * sysdeps/posix/getaddrinfo.c
68960         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
68961         (gaiconf_init, gaiconf_reload): Use them.
68962         [!_STATBUF_ST_NSEC]
68963         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
68964         Define using time_t rather than struct timespec.
68966         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
68967         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
68968         Macros removed.
68969         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
68970         [!NO_THREADS].
68971         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
68972         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
68973         Likewise.
68975         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
68976         __libc_cleanup_push argument.
68978         * bits/param.h: New file.
68979         * misc/sys/param.h: New file.
68980         * include/sys/param.h: New file.
68981         * misc/Makefile (headers): Add bits/param.h.
68982         * sysdeps/generic/sys/param.h: File removed.
68983         * sysdeps/unix/sysv/linux/bits/param.h: New file.
68984         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
68985         * sysdeps/mach/hurd/bits/param.h: New file.
68986         * sysdeps/mach/hurd/sys/param.h: File removed.
68988         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
68989         last change.
68991         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
68992         [_IO_MTSAFE_IO].
68993         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
68994         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
68995         New macros.
68997         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
68998         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
68999         rather than -D_IO_MTSAFE_IO conditionally.
69000         * stdio-common/Makefile (CPPFLAGS): Likewise.
69001         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69002         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69003         Use $(libio-mtsafe).
69004         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69005         of -D_IO_MTSAFE_IO.
69006         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69007         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69008         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69009         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69010         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69011         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69012         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69013         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69014         (CFLAGS-fread_u_chk.c): Likewise.
69015         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69016         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69017         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69018         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69019         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69020         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69021         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69022         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69023         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69025         * libio/Makefile: Test [$(libc-reentrant) = yes]
69026         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69028         * Makeconfig
69029         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69030         * sysdeps/pthread/configure: File removed.
69031         * sysdeps/pthread/Makeconfig: New file.
69032         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69033         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69035 2012-08-16  Gary Benson  <gbenson@redhat.com>
69037         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69038         unmapping the first object in a namespace.
69040 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69042         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69043         (__internal_setnetgrent): ... this.  Add internal_function to
69044         definition.  Add libc_hidden_def.
69045         (setnetgrent): Update caller.
69046         (internal_endnetgrent): Renamed to ...
69047         (__internal_endnetgrent): ... this.  Add internal_function to
69048         definition.  Add libc_hidden_def.
69049         (endnetgrent): Update caller.
69050         (internal_getnetgrent_r): Renamed to ...
69051         (__internal_getnetgrent_r): ... this.  Add internal_function to
69052         definition.  Add libc_hidden_def.
69053         (__getnetgrent_r): Update caller.
69054         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69056 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69058         * stdlib/longlong.h: Update from GCC.
69060 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69062         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69063         on _QL, which is set by umul_ppmm but never used.
69064         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69065         variables, which are set by GMP macros but never used.
69066         * stdio-common/_itowa.c (_itowa): Likewise.
69067         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69068         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69070 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69072         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69073         struct La_sh_regs is not constant.
69074         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69075         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69076         and struct La_sparc64_regs are not constant.
69078 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69080         * sysdeps/unix/sysv/linux/kernel-features.h
69081         (__ASSUME_POSIX_TIMERS): Remove.
69082         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69083         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69084         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69085         Make code unconditional.
69086         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69087         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69088         Make code unconditional.
69089         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69090         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69091         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69092         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69093         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69094         Make code unconditional.
69095         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69096         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69097         (__libc_missing_posix_timers): Remove.
69099 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69101         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69102         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69104         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69106         * elf/dl-sym.c: Include <stdlib.h>.
69108         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69109         constants, which avoids warnings in 32-bit builds.
69111         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69112         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69114         * misc/lseek.c: File moved to ...
69115         * io/lseek.c: ... here.
69117         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69119         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69120         shifting LEN more than 31 bits at once.
69122 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69124         [BZ #14195]
69125         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69126         segmentation fault for a case of two empty input strings.
69127         * string/test-strncasecmp.c (check1): Renamed to...
69128         (bz12205): ...this.
69129         (bz14195): Add new testcase for two empty input strings and N > 0.
69130         (test_main): Call new testcase, adapt for renamed function.
69132 2012-08-15  Andreas Jaeger  <aj@suse.de>
69134         [BZ #14090]
69135         * crypt/md5test2.c: New test, based on test supplied by Serge
69136         Belyshev <belyshev@depni.sinp.msu.ru>.
69137         * crypt/Makefile (xtests): Add md5test-giant..
69138         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69140 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69142         [BZ #14090]
69143         * crypt/md5.c (md5_process_block): Don't assume the buffer
69144         length is less than 2**32.
69145         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69146         length is less than 2**64.
69148 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69150         * string/str-two-way.h: Include <sys/param.h>.
69151         (MAX): Macro removed.
69153         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69154         Move #define and #undef of memmove to just before and after
69155         including <string.h>.
69157         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69158         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69159         and after including <string.h>.  Move declarations of
69160         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69161         to before #include "string/memmove.c".
69163         * include/dirent.h: Declare __getdirentries.
69165         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69166         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69168 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69170         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69171         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69172         * sysdeps/i386/configure: Regenerated.
69173         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69174         STABS_CURRENT_FILE, and STABS_FUN.
69175         (END): Remove call to STABS_FUN_END.
69176         (STABS_CURRENT_FILE1): Delete.
69177         (STABS_CURRENT_FILE): Likewise.
69178         (STABS_FUN): Likewise.
69179         (STABS_FUN_END): Likewise.
69180         (STABS_FUN2): Likewise.
69181         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69182         * sysdeps/x86_64/configure: Regenerated.
69184 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69186         * elf/dl-open.c: Include <atomic.h>.
69187         * elf/dl-lookup.c: Likewise.
69189 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69191         * sysdeps/unix/sysv/linux/kernel-features.h
69192         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69193         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69194         unconditionally.
69195         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69196         unconditionally.
69197         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69198         condition on __ASSUME_CLONE_THREAD_FLAGS.
69200 2012-08-14  Andreas Jaeger  <aj@suse.de>
69202         * sysdeps/i386/fpu/libm-test-ulps: Update.
69204 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69206         * include/atomic.h (atomic_exchange_and_add): Split into ...
69207         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69208         New atomic macros.
69210 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69214 2012-08-13  Jeff Law <law@redhat.com>
69216         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69217         null byte in the output string.
69219 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69221         * sysdeps/unix/sysv/linux/kernel-features.h
69222         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69223         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69224         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69225         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69226         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69227         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69228         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69230 2012-08-09  Jeff Law <law@redhat.com>
69232         [BZ #13939]
69233         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69234         When avoid_arena is set, don't retry in the that arena.  Pick the
69235         next one, whatever it might be.
69236         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69237         (arena_lock): Pass in new parameter to arena_get2.
69238         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69239         arena_get2.
69240         (__libc_malloc): Unify retrying after main arena failure with
69241         __libc_memalign version.
69242         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69244 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69246         [BZ #14166]
69247         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69248         to __redirect_strstr.
69249         (__strstr_sse42): Use typeof __redirect_strstr.
69250         (__strstr_ia32): Likewise.
69251         (__libc_strstr): New prototype.
69252         (strstr): Renamed to ...
69253         (__libc_strstr): This.
69254         (strstr): New strong alias of __libc_strstr.
69255         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69256         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69257         __redirect_time.
69258         Include <time.h>.
69259         (__libc_time): New prototype.
69260         (time_ifunc): Replace time with __libc_time.
69261         (time): New strong alias and hidden definition of __libc_time.
69262         (__GI_time): Remove strong alias.
69263         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69264         Include <stddef.h>.
69265         (memmove): Redefined to __redirect_memmove.
69266         (__memmove_sse2): Use typeof __redirect_memmove.
69267         (__memmove_ssse3): Likewise.
69268         (__memmove_ssse3_back): Likewise.
69269         (__libc_memmove): New prototype.
69270         (memmove): Renamed to ...
69271         (__libc_memmove): This.
69272         (memmove): New strong alias of __libc_memmove.
69274 2012-08-08  Mark Salter  <msalter@redhat.com>
69276         * elf/elf.h
69277         (R_MN10300_TLS_GD): Define.
69278         (R_MN10300_TLS_LD): Likewise.
69279         (R_MN10300_TLS_LDO): Likewise.
69280         (R_MN10300_TLS_GOTIE): Likewise.
69281         (R_MN10300_TLS_IE): Likewise.
69282         (R_MN10300_TLS_LE): Likewise.
69283         (R_MN10300_TLS_DTPMOD): Likewise.
69284         (R_MN10300_TLS_DTPOFF): Likewise.
69285         (R_MN10300_TLS_TPOFF): Likewise.
69286         (R_MN10300_SYM_DIFF): Likewise.
69287         (R_MN10300_ALIGN): Likewise.
69288         (R_MN10300_NUM): Update.
69290 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69293         Remove.
69295 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69297         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69299         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69300         sysdeps/unix -> sysdeps/posix move.
69301         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69303 2012-08-07      Allan McRae     <allan@archlinux.org>
69305         [BZ #14303]
69306         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69307         (SUNOS_CPP): Likewise.
69308         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69309         not found.
69310         (open_input): Call CPP using execvp.
69312 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69314         * sysdeps/unix/sysv/linux/kernel-features.h
69315         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69316         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69317         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69318         (__ASSUME_WAITID_SYSCALL): Likewise.
69319         * sysdeps/unix/sysv/linux/dl-execstack.c
69320         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69321         code unconditional.
69322         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69323         conditional code.
69324         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69325         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69326         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69327         code.
69328         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69329         unconditional.
69330         [__ASSUME_WAITID_SYSCALL]: Likewise.
69331         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69333 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69335         * sysdeps/unix/closedir.c: Renamed to ...
69336         * sysdeps/posix/closedir.c: ... here.
69337         * sysdeps/unix/dirfd.c: Renamed to ...
69338         * sysdeps/posix/dirfd.c: ... here.
69339         * sysdeps/unix/dirstream.h: Renamed to ...
69340         * sysdeps/posix/dirstream.h: ... here.
69341         * sysdeps/unix/fdopendir.c: Renamed to ...
69342         * sysdeps/posix/fdopendir.c: ... here.
69343         * sysdeps/unix/opendir.c: Renamed to ...
69344         * sysdeps/posix/opendir.c: ... here.
69345         * sysdeps/unix/readdir.c: Renamed to ...
69346         * sysdeps/posix/readdir.c: ... here.
69347         * sysdeps/unix/readdir_r.c: Renamed to ...
69348         * sysdeps/posix/readdir_r.c: ... here.
69349         * sysdeps/unix/rewinddir.c: Renamed to ...
69350         * sysdeps/posix/rewinddir.c: ... here.
69351         * sysdeps/unix/seekdir.c: Renamed to ...
69352         * sysdeps/posix/seekdir.c: ... here.
69353         * sysdeps/unix/telldir.c: Renamed to ...
69354         * sysdeps/posix/telldir.c: ... here.
69355         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69356         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69357         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69358         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69360         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69361         * bits/fcntl.h: ... here.
69363         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69364         not 0.
69365         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69366         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69367         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69368         (struct flock): Move l_start, l_len to the beginning.
69369         Use __pid_t for l_pid.
69370         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69371         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69372         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69373         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69374         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69375         [__USE_LARGEFILE64] (struct flock64): New type.
69376         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69378         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69379         * bits/dirent.h: ... here.
69381         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69382         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69384 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69387         Change from 2.6.0 to 2.6.16.
69388         * sysdeps/unix/sysv/linux/configure: Regenerated.
69389         * sysdeps/unix/sysv/linux/kernel-features.h
69390         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69391         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69392         version.
69393         (__ASSUME_UTIMES): Likewise.
69394         (__ASSUME_CLONE_STOPPED): Remove.
69395         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69396         architectures, not kernel version.
69397         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69398         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69399         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69400         (__ASSUME_WAITID_SYSCALL): Likewise.
69401         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69402         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69403         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69404         refer to older versions.
69406 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69408         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69409         Define alphasort64 as an alias.
69410         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69411         Define versionsort64 as an alias.
69412         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69413         Define scandir64 as an alias.
69414         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69415         Define scandirat64 as an alias.
69416         * dirent/alphasort64.c (alphasort64):
69417         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69418         * dirent/versionsort64.c: Likewise.
69419         * dirent/scandir64.c: Likewise.
69420         * dirent/scandirat64.c: Likewise.
69421         * sysdeps/wordsize-64/alphasort.c: File removed.
69422         * sysdeps/wordsize-64/alphasort64.c: File removed.
69423         * sysdeps/wordsize-64/scandir.c: File removed.
69424         * sysdeps/wordsize-64/scandir64.c: File removed.
69425         * sysdeps/wordsize-64/scandirat.c: File removed.
69426         * sysdeps/wordsize-64/scandirat64.c: File removed.
69427         * sysdeps/wordsize-64/versionsort.c: File removed.
69428         * sysdeps/wordsize-64/versionsort64.c: File removed.
69429         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69430         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69431         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69432         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69433         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69434         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69435         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69436         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69438         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69439         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69440         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69442         [defined __arch64__ || defined __sparcv9]
69443         (__INO_T_MATCHES_INO64_T): New macro.
69444         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69445         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69446         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69447         * sysdeps/unix/sysv/linux/bits/dirent.h
69448         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69449         (_DIRENT_MATCHES_DIRENT64): New macro.
69451         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69452         Define lockf64 as an alias.
69453         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69454         Define fseeko64 as an alias.
69455         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69456         Define ftello64 as an alias.
69457         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69458         Define _IO_fgetpos64 and fgetpos64 as aliases.
69459         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69460         Define _IO_fsetpos64 and fsetpos64 as aliases.
69461         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69462         Conditionalize body on this.
69463         * libio/fseeko64.c: Likewise.
69464         * libio/ftello64.c: Likewise.
69465         * libio/iofgetpos64.c: Likewise.
69466         * libio/iofsetpos64.c: Likewise.
69467         * sysdeps/wordsize-64/lockf.c: File removed.
69468         * sysdeps/wordsize-64/lockf64.c: File removed.
69469         * sysdeps/wordsize-64/fseeko.c: File removed.
69470         * sysdeps/wordsize-64/fseeko64.c: File removed.
69471         * sysdeps/wordsize-64/ftello.c: File removed.
69472         * sysdeps/wordsize-64/ftello64.c: File removed.
69473         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69474         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69475         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69476         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69477         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69478         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69479         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69480         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69481         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69482         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69483         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69484         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69485         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69486         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69488         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69489         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69490         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69492         [defined __arch64__ || defined __sparcv9]
69493         (__OFF_T_MATCHES_OFF64_T): New macro.
69494         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69495         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69497         (__OFF_T_MATCHES_OFF64_T): New macro.
69499 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69501         * stdlib/secure-getenv.c (__secure_getenv): Replace
69502         GLIBC_2_16 with GLIBC_2_17.
69504 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69506         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69507         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69509 2012-08-03  David S. Miller  <davem@davemloft.net>
69511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69513 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69515         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69516         Remove.
69517         (__ASSUME_CORRECT_SI_PID): Likewise.
69518         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69519         (__ASSUME_TMPFS_NAME): Likewise.
69520         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69521         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69522         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69523         (HAVE_AUX_SECURE): Make definition unconditional.
69524         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69525         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69527 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69529         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69530         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69531         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69532         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69533         __eloop_threshold instead of SYMLOOP_MAX.
69535         * sysdeps/generic/eloop-threshold.h: New file.
69536         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69537         of MAXSYMLINKS.
69538         * elf/chroot_canon.c (chroot_canon): Likewise.
69540 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69542         [BZ #13717]
69543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69544         Change to 2.6.0 everywhere.
69545         * sysdeps/unix/sysv/linux/configure: Regenerated.
69546         * sysdeps/unix/sysv/linux/kernel-features.h
69547         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69548         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69549         kernel versions.
69550         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69551         (__ASSUME_FUTEX_REQUEUE): Remove.
69552         (__ASSUME_STATFS64): Define unconditionally.
69553         (__ASSUME_AT_SECURE): Likewise.
69554         (__ASSUME_CORRECT_SI_PID): Likewise.
69555         (__ASSUME_TGKILL): Define without depending on kernel version for
69556         i386.
69557         (__ASSUME_UTIMES): Likewise.
69558         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69559         kernel version.
69560         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69561         (__ASSUME_TMPFS_NAME): Likewise.
69562         * README: Update reference to Linux kernel versions.
69564 2012-08-02  Marek Polacek  <polacek@redhat.com>
69566         [BZ# 14150]
69567         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69568         libc_cv_asm_type_prefix with %.
69569         * configure: Regenerated.
69570         * include/libc-symbols.h: Remove comment about
69571         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69572         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69573         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69574         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69575         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69576         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69577         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69578         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69579         * elf/tst-unique2mod1.c: Likewise.
69580         * elf/tst-unique1mod2.c: Likewise.
69581         * elf/tst-unique1mod1.c: Likewise.
69582         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69583         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69584         Replace ASM_TYPE_DIRECTIVE with .type.
69585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69586         * sysdeps/i386/sysdep.h: Likewise.
69587         * sysdeps/x86_64/sysdep.h: Likewise.
69588         * sysdeps/sh/sysdep.h: Likewise.
69589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69590         Do not define ASM_TYPE_DIRECTIVE.
69591         * sysdeps/powerpc/sysdep.h: Likewise.
69592         * sysdeps/powerpc/powerpc32/sysdep.h:
69593         Replace ASM_TYPE_DIRECTIVE with .type.
69594         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69595         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69596         * sysdeps/i386/fpu/e_powf.S: Likewise.
69597         * sysdeps/i386/fpu/e_expl.S: Likewise.
69598         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69599         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69600         * sysdeps/i386/fpu/e_pow.S: Likewise.
69601         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69602         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69603         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69604         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69605         * sysdeps/i386/fpu/e_log2.S: Likewise.
69606         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69607         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69608         * sysdeps/i386/fpu/e_powl.S: Likewise.
69609         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69610         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69611         * sysdeps/i386/fpu/e_logl.S: Likewise.
69612         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69613         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69614         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69615         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69616         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69617         * sysdeps/i386/fpu/e_log.S: Likewise.
69618         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69619         * sysdeps/i386/fpu/e_logf.S: Likewise.
69620         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69621         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69622         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69623         * sysdeps/i386/fpu/e_log10.S: Likewise.
69624         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69625         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69626         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69627         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69628         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69629         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69630         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69631         * sysdeps/i386/i686/strtok.S: Likewise.
69632         * sysdeps/i386/i386-mcount.S: Likewise.
69633         * sysdeps/i386/strtok.S: Likewise.
69634         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69635         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69636         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69637         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69638         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69639         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69640         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69641         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69642         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69643         * sysdeps/x86_64/_mcount.S: Likewise.
69644         * sysdeps/x86_64/strtok.S: Likewise.
69645         * sysdeps/sh/_mcount.S: Likewise.
69647 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69649         * libio/iofopen.c: Include <fcntl.h>.
69650         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
69651         (_IO_fopen64, fopen64): Define as aliases.
69652         * libio/iofopen64.c: Include <fcntl.h>.
69653         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
69654         Conditionalize body on this.
69655         * sysdeps/wordsize-64/iofopen.c: File removed.
69656         * sysdeps/wordsize-64/iofopen64.c: File removed.
69658 2012-08-01  Marek Polacek  <polacek@redhat.com>
69660         * libc/Makeconfig: Use elf in place of binfmt-subdir.
69661         Use dlfcn directly instead of a variable.
69662         (binfmt-subdir): Do not define.
69663         (dlfcn): Likewise.
69665 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
69667         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
69668         Remove all definitions.
69669         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
69670         <kernel-features.h>.
69671         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69672         (miss_F_GETOWN_EX): Remove all definitions.
69673         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
69674         macro definition.
69675         [!__ASSUME_FCNTL64]: Remove conditional code.
69676         [__ASSUME_FCNTL64]: Make code unconditional.
69677         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
69678         <kernel-features.h>.
69679         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69680         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
69681         (lockf64) [__NR_fcntl64]: Make code unconditional.
69682         (lockf64) [__ASSUME_FCNTL64]: Likewise.
69684         * sysdeps/unix/sysv/linux/kernel-features.h
69685         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
69686         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
69687         Make code unconditional.
69688         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69689         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
69691         [__NR_vfork]: Make code unconditional.
69692         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69693         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
69695         [__NR_vfork]: Make code unconditional.
69696         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69697         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69699 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69701         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
69702         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
69704         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69705         Define mkstemp64 as an alias.
69706         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69707         Define mkstemps64 as an alias.
69708         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69709         Define mkostemp64 as an alias.
69710         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69711         Define mkostemps64 as an alias.
69712         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
69713         Conditionalize body on this.
69714         * misc/mkostemp64.c: Likewise.
69715         * misc/mkostemps64.c: Likewise.
69716         * misc/mkstemps64.c: Likewise.
69717         * sysdeps/wordsize-64/mkstemp64.c: File removed.
69718         * sysdeps/wordsize-64/mkostemp64.c: File removed.
69719         * sysdeps/wordsize-64/mkostemp.c: File removed.
69720         * sysdeps/wordsize-64/mkstemp.c: File removed.
69721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
69722         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
69723         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
69724         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
69726         [BZ #14138]
69727         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
69728         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
69729         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
69730         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
69732         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69733         compat_symbol macros from <shlib-compat.h> rather than the underlying
69734         default_symbol_version and symbol_version macros, so that DEFAULT
69735         lines in shlib-versions are respected.
69736         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
69738 2012-08-01  Florian Weimer  <fweimer@redhat.com>
69740         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
69741         Declare with warn_unused_result.
69742         (setgid, setregid, setegid, setresgid): Likewise.
69743         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
69744         Likewise.
69745         * WUR-REPORT: Remove set*id functions.
69747 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
69749         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
69751 2012-07-31  Roland McGrath  <roland@hack.frob.com>
69753         [BZ #10191]
69754         * include/sys/socket.h (__libc_accept, __libc_accept4):
69755         Add attribute_hidden.
69756         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
69758         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
69759         use of PTR_MANGLE.
69760         * inet/getnetgrent_r.c (setup): Likewise.
69762         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
69764 2012-07-31  David S. Miller  <davem@davemloft.net>
69766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69768 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
69770         [BZ #13629]
69771         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
69772         value between 1.0 and 2.0 and smaller part has absolute value less
69773         than 1.0.
69774         * math/s_clog10.c (__clog10): Likewise.
69775         * math/s_clog10f.c (__clog10f): Likewise.
69776         * math/s_clog10l.c (__clog10l): Likewise.
69777         * math/s_clogf.c (__clogf): Likewise.
69778         * math/s_clogl.c (__clogl): Likewise.
69779         * math/libm-test.inc (clog_test): Add more tests.
69780         (clog10_test): Likewise.
69781         * sysdeps/i386/fpu/libm-test-ulps: Update.
69782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69784 2012-07-31  Florian Weimer  <fweimer@redhat.com>
69786         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
69787         Exit with zero in case no suitable GID is found, and write a
69788         message to standard error.
69790 2012-07-30  Roland McGrath  <roland@hack.frob.com>
69792         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
69793         rather than to 1.
69794         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
69795         (MAXPATHLEN): Removed.
69796         (NOGROUP, NODEV): New macros.
69797         (setbit, clrbit, isset, isclr): New macros.
69798         (howmany, roundup, powerof2): New macros.
69799         (DEV_BSIZE): New macro.
69801         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
69802         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
69804         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
69805         definition on [!__NO_LONG_DOUBLE_MATH].
69807         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
69808         PTR_MANGLE and PTR_DEMANGLE.
69810         * socket/accept4.c (accept4): Rename to __libc_accept4.
69811         Define accept4 as a weak alias.
69813         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
69814         on [_DIRENT_HAVE_D_TYPE].
69815         * io/ftw.c (ftw_dir): Likewise.
69817         * io/xmknod.c (__xmknod): Don't check PATH for being null.
69819         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
69821         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
69822         Use the BSD numbers rather than the arbitrary ones we had.
69823         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
69824         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
69825         (SIGXCPU, SIGXFSZ): New macros.
69826         (_NSIG): Now 32.
69828         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
69829         initializer on [_LIBC_REENTRANT].
69831         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
69832         definitions inside [_POSIX_MAPPED_FILES].
69834         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
69836         * dirent/opendir.c: Include <fcntl.h>.
69838         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
69839         (__libc_getspecific): Likewise.
69840         (__libc_key_create): Likewise.
69842         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
69843         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
69844         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
69845         (tmpfile64): Define as alias.
69846         * sysdeps/wordsize-64/tmpfile.c: File removed.
69847         * sysdeps/wordsize-64/tmpfile64.c: File removed.
69848         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
69849         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
69851         * stdio-common/vfscanf.c: Include <stdbool.h>.
69852         * nss/makedb.c: Likewise.
69853         * stdio-common/_i18n_number.h: Likewise.
69854         * argp/argp-help.c: Likewise.
69855         * posix/wordexp.c: Likewise.
69856         * sysdeps/posix/spawni.c: Likewise.
69857         * nss/nss_files/files-initgroups.c: Likewise.
69858         * stdio-common/reg-modifier.c: Include <stdlib.h>.
69859         * nss/nss_files/files-initgroups.c: Likewise.
69860         * nss/nss_db/db-netgrp.c: Likewise.
69861         * nss/nss_db/db-initgroups.c: Likewise.
69862         * io/fchmodat.c: Include <sys/stat.h>.
69864         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
69865         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
69867         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
69868         [HAVE_MMAP].
69870         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
69871         Add multiple inclusion protection.
69873 2012-07-27  David S. Miller  <davem@davemloft.net>
69875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69877 2012-07-27  Gary Benson  <gbenson@redhat.com>
69879         [BZ #14298]
69880         * elf/rtld.c: Include <stap-probe.h>.
69881         (dl_main): Added static probes "init_start" and "init_complete".
69882         * elf/dl-load.c: Include <stap-probe.h>.
69883         (lose): Take new parameter "nsid".
69884         Added static probe "map_failed".
69885         (_dl_map_object_from_fd): Pass namespace id to lose.
69886         Added static probe "map_start".
69887         (open_verify): Pass namespace id to lose.
69888         * elf/dl-open.c: Include <stap-probe.h>.
69889         (dl_open_worker) Added static probes "map_complete", "reloc_start"
69890         and "reloc_complete".
69891         * elf/dl-close.c: Include <stap-probe.h>.
69892         (_dl_close_worker): Added static probes "unmap_start" and
69893         "unmap_complete".
69894         * elf/rtld-debugger-interface.txt: New file documenting the above.
69896 2012-07-26  Roland McGrath  <roland@hack.frob.com>
69898         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
69899         rather than a string variable.
69900         * sunrpc/rpc_main.c (h_output): Likewise.
69901         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
69903 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
69905         * inet/check_native.c: New file.
69907 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
69909         [BZ #13629]
69910         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
69911         if larger part has absolute value 1.0.
69912         * math/s_clog10.c (__clog10): Likewise.
69913         * math/s_clog10f.c (__clog10f): Likewise.
69914         * math/s_clog10l.c (__clog10l): Likewise.
69915         * math/s_clogf.c (__clogf): Likewise.
69916         * math/s_clogl.c (__clogl): Likewise.
69917         * math/libm-test.inc (clog_test): Add more tests.
69918         (clog10_test): Likewise.
69919         * sysdeps/i386/fpu/libm-test-ulps: Update.
69920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69922         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
69923         (pltexit): Likewise.
69924         (La_regs): Likewise.
69925         (La_retval): Likewise.
69926         (int_retval): Likewise.
69927         Update #error for removed macros to refer only to definitions in
69928         tst-audit.h.
69929         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
69930         macro.
69931         (pltexit): Likewise.
69932         (La_regs): Likewise.
69933         (La_retval): Likewise.
69934         (int_retval): Likewise.
69935         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
69936         macro.
69937         (pltexit): Likewise.
69938         (La_regs): Likewise.
69939         (La_retval): Likewise.
69940         (int_retval): Likewise.
69941         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
69942         macro.
69943         (pltexit): Likewise.
69944         (La_regs): Likewise.
69945         (La_retval): Likewise.
69946         (int_retval): Likewise.
69947         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
69948         macro.
69949         (pltexit): Likewise.
69950         (La_regs): Likewise.
69951         (La_retval): Likewise.
69952         (int_retval): Likewise.
69953         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
69954         macro.
69955         (pltexit): Likewise.
69956         (La_regs): Likewise.
69957         (La_retval): Likewise.
69958         (int_retval): Likewise.
69959         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
69960         macro.
69961         (pltexit): Likewise.
69962         (La_regs): Likewise.
69963         (La_retval): Likewise.
69964         (int_retval): Likewise.
69965         * sysdeps/generic/tst-audit.h: Update comment to refer only to
69966         macro definitions in tst-audit.h.
69967         * sysdeps/i386/tst-audit.h: New file.
69968         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
69969         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
69970         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
69971         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
69972         * sysdeps/sh/tst-audit.h: Likewise.
69973         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
69974         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
69975         * sysdeps/x86_64/tst-audit.h: Likewise.
69977 2012-07-26  Andreas Jaeger  <aj@suse.de>
69979         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
69980         ptrace.
69982         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
69983         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
69984         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
69985         PTRACE_O_MASK.
69986         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
69987         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
69988         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
69990         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
69991         value.
69993         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
69994         _sigsys.
69995         (si_call_addr, si_syscall, si_arch): Define new macro.
69996         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
69997         _sigsys.
69998         (si_call_addr, si_syscall, si_arch): Define new marcro.
69999         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70000         _sigsys.
70001         (si_call_addr, si_syscall, si_arch): Define new macro.
70002         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70003         _sigsys.
70004         (si_call_addr, si_syscall, si_arch): Define new macro.
70006 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70008         [BZ #13717]
70009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70010         Change to 2.4.21 where previously 2.4.1.
70011         * sysdeps/unix/sysv/linux/configure: Regenerated.
70012         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70013         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70014         Linux kernel version.
70015         (__ASSUME_STD_AUXV): Remove.
70016         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70017         kernel version.
70018         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70019         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70020         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70021         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70022         (__ASSUME_NETLINK_SUPPORT): Likewise.
70023         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70024         (__no_netlink_support): Remove conditional definition.
70025         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70026         Remove.
70027         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70028         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70029         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70030         (if_nameindex_ioctl): Remove.
70031         (if_nameindex_netlink): Do not handle __no_netlink_support.
70032         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70033         code.
70034         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70035         Remove conditional code.
70036         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70037         code.
70038         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70039         unconditional.
70040         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70041         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70042         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70043         Remove.
70044         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70045         [!__ASSUME_STD_AUXV]: Remove conditional code.
70046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70047         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70048         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70050         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70051         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70052         code.
70053         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70055         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70056         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70057         conditional code.
70058         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70060         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70061         code.
70062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70063         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70064         conditional code.
70065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70066         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70067         code unconditional.
70068         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70069         conditional code.
70070         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70071         unconditional.
70072         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70073         conditional code.
70074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70075         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70076         unconditional.
70077         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70078         conditional code.
70079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70080         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70081         code unconditional.
70082         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70083         conditional code.
70084         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70085         unconditional.
70086         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70087         conditional code.
70088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70089         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70090         code unconditional.
70091         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70092         conditional code.
70093         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70094         unconditional.
70095         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70096         conditional code.
70098 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70100         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70101         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70102         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70103         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70104         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70105         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70106         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70107         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70108         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70109         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70110         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70111         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70112         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70113         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70114         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70115         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70116         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70117         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70118         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70120         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70121         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70122         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70124 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70126         * Versions.def: Add GLIBC_2.17.
70127         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70128         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70129         Introduce __libc_secure_getenv.
70130         * stdlib/Versions (2.17): Add secure_getenv
70131         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70132         * stdlib/secure-getenv.c: Rename __secure_getenv to
70133         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70134         symbol __secure_getenv for GLIBC_2.0.
70135         * stdlib/tst-secure-getenv.c: New.
70136         * stdlib/Makefile (tests): Add testcase.
70137         * manual/startup.texi (Environment Access): Document
70138         secure_getenv.
70139         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70140         __libc_secure_getenv.
70141         * inet/ruserpass.c (ruserpass): Likewise.
70142         * malloc/mtrace.c (mtrace): Likewise.
70143         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70144         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70145         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70146         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70147         HAVE_SECURE_GETENV.
70148         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70149         __secure_getenv to __libc_secure_getenv.
70150         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70152         Likewise.
70153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70154         Likewise.
70155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70157         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70163 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70165         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70166         (struct La_i86_retval): Likewise.
70167         (struct La_x86_64_regs): Likewise.
70168         (struct La_x86_64_retval): Likewise.
70169         (struct La_x32_regs): Likewise.
70170         (struct La_x32_retval): Likewise.
70171         (struct La_ppc32_regs): Likewise.
70172         (struct La_ppc32_retval): Likewise.
70173         (struct La_ppc64_regs): Likewise.
70174         (struct La_ppc64_retval): Likewise.
70175         (struct La_sh_regs): Likewise.
70176         (struct La_sh_retval): Likewise.
70177         (struct La_s390_32_regs): Likewise.
70178         (struct La_s390_32_retval): Likewise.
70179         (struct La_s390_64_regs): Likewise.
70180         (struct La_s390_64_retval): Likewise.
70181         (struct La_sparc32_regs): Likewise.
70182         (struct La_sparc32_retval): Likewise.
70183         (struct La_sparc64_regs): Likewise.
70184         (struct La_sparc64_retval): Likewise.
70185         (struct audit_ifaces): Remove architecture-specific pltenter and
70186         pltexit members.
70187         * sysdeps/i386/ldsodefs.h: New file.
70188         * sysdeps/powerpc/ldsodefs.h: Likewise.
70189         * sysdeps/s390/ldsodefs.h: Likewise.
70190         * sysdeps/sh/ldsodefs.h: Likewise.
70191         * sysdeps/sparc/ldsodefs.h: Likewise.
70192         * sysdeps/x86_64/ldsodefs.h: Likewise.
70194 2012-07-25  Marek Polacek  <polacek@redhat.com>
70196         [BZ #6808]
70197         * math/libm-test.inc (yn_test): Add another test.
70198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70199         to ERANGE when the result is +-Inf.
70200         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70201         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70202         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70203         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70205 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70207         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70208         equal to 0.
70209         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70210         clock_t.
70211         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70213 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70215         * configure.in <sysdeps resolving>: Correct printing
70216         Implies_before.
70217         * configure: Regenerate.
70219 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70221         * math/w_ilogb.c: Include <limits.h>.
70222         * math/w_ilogbl.c: Likewise.
70224 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70226         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70227         va_copy.  Document allowing for unavailable va_copy only as
70228         pre-C99 compatibility.
70229         * manual/string.texi (Copying and Concatenation): Use va_copy
70230         instead of __va_copy in concat example.
70232 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70234         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70235         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70236         it if not null.
70238         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70239         with O_NOLINK passed to __file_name_lookup.
70241         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70242         with O_NOLINK passed to __file_name_lookup.
70244         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70245         negative N or less than NGIDS.
70247         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70248         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70249         enough.  Use memcpy instead of strncpy.
70251 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70253         * elf/Makefile (check-data): Remove.
70254         (localplt.data): New vpath directive.
70255         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70256         instead of $(check-data).
70257         * scripts/data/localplt-generic.data: Move to ...
70258         * sysdeps/generic/localplt.data: ... here.
70259         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70260         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70261         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70263         ... here.
70264         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70266         ... here.
70267         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70269         ... here.
70270         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70272         ... here.
70273         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70275         ... here.
70276         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70278         ... here.
70280 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70282         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70283         PPC32 and PPC64 files.
70284         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70285         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70287 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70289         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70290         __makecontext_ret to ...
70291         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70292         ... here and call exit if uc_link is NULL.  New file.
70293         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70294         __makecontext_ret.S.
70295         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70296         __makecontext_ret to ...
70297         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70298         ... here and call exit if uc_link is NULL.  New file.
70299         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70300         __makecontext_ret.S.
70302 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70304         * elf/elf.h (R_390_IRELATIVE): New definition.
70305         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70306         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70307         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70308         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70309         (elf_machine_lazy_rel): Likewise.
70310         * sysdeps/s390/dl-irel.h: New file.
70311         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70312         * sysdeps/s390/s390-64/memset.S: New asm code.
70313         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70314         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70315         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70316         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70317         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70318         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70319         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70320         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70321         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70322         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70323         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70324         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70325         * sysdeps/s390/s390-32/memset.S: New asm code.
70326         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70328 2012-07-17  Marek Polacek  <polacek@redhat.com>
70330         [BZ #14349]
70331         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70332         * sysdeps/s390/s390-64/configure.in: Likewise.
70333         * sysdeps/sparc/configure.in: Likewise.
70334         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70335         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70336         * sysdeps/i386/configure.in: Likewise.
70337         * sysdeps/x86_64/configure.in: Likewise.
70338         * sysdeps/sh/configure.in: Likewise.
70339         * sysdeps/s390/s390-32/configure: Regenerated.
70340         * sysdeps/s390/s390-64/configure: Likewise.
70341         * sysdeps/x86_64/configure: Likewise.
70342         * sysdeps/sh/configure: Likewise.
70343         * sysdeps/powerpc/powerpc64/configure: Likewise.
70344         * sysdeps/powerpc/powerpc32/configure: Likewise.
70345         * sysdeps/sparc/configure: Likewise.
70346         * sysdeps/i386/configure: Likewise.
70348         * elf/dl-open.c: Comment fixes.
70350 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70352         * Makefile [CXX] (check-data): Remove.
70353         [CXX] (c++-types.data): New vpath directive.
70354         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70355         vpath.  Do not allow for C++ type data being missing.
70356         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70357         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70358         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70359         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70360         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70361         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70362         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70364         ... here.
70365         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70367         ... here.
70368         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70370         ... here.
70371         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70373         ... here.
70374         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70376         ... here.
70377         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70379         ... here.
70380         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70382         ... here.
70383         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70386         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70387         definitions to architecture-specific files.
70388         (TLS_IE): Likewise.
70389         (TLS_LD): Likewise.
70390         (TLS_GD): Likewise.
70391         * sysdeps/i386/tls-macros.h: New file.
70392         * sysdeps/powerpc/tls-macros.h: Likewise.
70393         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70394         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70395         * sysdeps/sh/tls-macros.h: Likewise.
70396         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70397         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70398         * sysdeps/x86_64/tls-macros.h: Likewise.
70400 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70402         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70403         zero value for regular exit case.
70405         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70406         (__start_context): Preserve zero value for regular exit case.
70408 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70409             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70411         * manual/setjmp.texi (setcontext): Clarify normal process
70412         termination when uc_link is the null pointer.
70413         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70414         exit call.
70416 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70418         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70419         preprocessor.  Test for each exception mask separately.
70421 2012-07-16  Andreas Jaeger  <aj@suse.de>
70423         * po/ru.po: Update from translation team.
70425 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70427         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70428         equal to 0.
70429         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70430         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70431         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70432         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70435 2012-07-13  Andreas Jaeger  <aj@suse.de>
70437         * po/fr.po: Update from translation team.
70439 2012-07-12  Marek Polacek  <polacek@redhat.com>
70441         [BZ #14173]
70442         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70443         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70444         loop condition.
70446 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70448         [BZ #13717]
70449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70450         Change to 2.4.1 where previously 2.4.0.
70451         * sysdeps/unix/sysv/linux/configure: Regenerated.
70452         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70453         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70454         version.
70455         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70456         (__ASSUME_AT_CLKTCK): Remove.
70457         (__ASSUME_AT_PAGESIZE): Likewise.
70458         (__ASSUME_AT_XID): Likewise.
70459         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70460         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70461         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70462         unconditionally.
70463         (HAVE_AUX_PAGESIZE): Likewise.
70464         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70465         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70466         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70468 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70470         [BZ #14307]
70471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70472         the temporary buffer used to invoke __gethostbyname2_r,
70473         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70474         host_data / struct gaih_addrtuple.
70475         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70476         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70477         header file nss/nsswitch.h.
70478         * nss/nsswitch.h (global scope): Add definition of implementation
70479         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70480         resolv/nss_dns/dns-host.c).
70482 2012-07-11  Andreas Jaeger  <aj@suse.de>
70484         * po/fr.po: Update from translation team.
70486         * po/sv.po: Update from translation team
70487         * po/fr.po: Another update from translation team.
70489 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70491         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70492         for subnormals or multiply small sinh result by itself.
70493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70496 2012-07-11  David S. Miller  <davem@davemloft.net>
70498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70500 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70502         [BZ #14347]
70503         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70504         (INTERNAL_MARK): Shift it here.
70506 2012-07-10  Marek Polacek  <polacek@redhat.com>
70508         [BZ #14151]
70509         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70510         libc_cv_asm_global_directive with .globl.
70511         * configure: Regenerated.
70512         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70513         with .globl.
70514         * sysdeps/i386/configure: Regenerated.
70515         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70516         with .globl.
70517         * sysdeps/x86_64/configure: Regenerated.
70518         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70519         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70520         * elf/tst-unique2mod2.c: Likewise.
70521         * elf/tst-unique2mod1.c: Likewise.
70522         * elf/tst-unique1mod2.c: Likewise.
70523         * elf/tst-unique1mod1.c: Likewise.
70524         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70525         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70526         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70527         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70528         * sysdeps/mach/sysdep.h: Likewise.
70529         * sysdeps/i386/sysdep.h: Likewise.
70530         * sysdeps/i386/i386-mcount.S: Likewise.
70531         * sysdeps/x86_64/_mcount.S: Likewise.
70532         * sysdeps/x86_64/sysdep.h: Likewise.
70533         * sysdeps/sh/_mcount.S: Likewise.
70534         * sysdeps/sh/sysdep.h: Likewise.
70535         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70536         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70537         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70538         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70539         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70540         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70541         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70542         * locale/localeinfo.h: Likewise.
70543         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70544         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70546 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70548         [BZ #14336]
70549         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70550         system".
70551         * manual/message.texi (The Uniforum approach): Likewise.
70552         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70553         (glibc iconv Implementation): Likewise.
70555 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70557         [BZ #14337]
70558         * math/s_clog.c (__clog): Avoid scaling a value down where that
70559         could result in underflow.
70560         * math/s_clog10.c (__clog10): Likewise.
70561         * math/s_clog10f.c (__clog10f): Likewise.
70562         * math/s_clog10l.c (__clog10l): Likewise.
70563         * math/s_clogf.c (__clogf): Likewise.
70564         * math/s_clogl.c (__clogl): Likewise.
70565         * math/libm-test.inc (clog_test): Add more tests.
70566         (clog10_test): Likewise.
70567         * sysdeps/i386/fpu/libm-test-ulps: Update.
70568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70570 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70572         [BZ #14283]
70573         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70574         by 7 not 8 to examine high bit of fractional part.
70576         [BZ #14042]
70577         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70578         for call to __mcount_internal.
70579         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70580         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70581         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70583 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70585         [BZ #14154]
70586         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70587         approximation for values within 0x1p-13f of an odd multiple of
70588         pi/4.
70589         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70590         exception.  Add more tests.
70591         * sysdeps/i386/fpu/libm-test-ulps: Update.
70593         [BZ #6778]
70594         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70595         inputs and return -1 for them.  Do not check for +Inf in case not
70596         reachable for +Inf.
70597         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70598         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70599         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70600         and return -1 for them.  Do not check for +Inf in case not
70601         reachable for +Inf.
70602         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70603         define.
70604         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70605         and return -1 for them.  Do not check for +Inf in case not
70606         reachable for +Inf.
70607         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70608         spurious underflow.
70609         * sysdeps/i386/fpu/libm-test-ulps: Update.
70610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70612 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
70614         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70616 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
70618         [BZ #14157]
70619         [BZ #14331]
70620         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70621         could result in spurious underflow.  Scale down values above
70622         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70623         * math/s_csqrtf.c (__csqrtf): Likewise.
70624         * math/s_csqrtl.c (__csqrtl): Likewise.
70625         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
70626         spurious underflow.
70627         * sysdeps/i386/fpu/libm-test-ulps: Update.
70628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70630 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
70632         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70633         xopen-msg.sed.
70634         * catgets/xopen-msg.awk: New file.
70635         * catgets/xopen-msg.sed: Removed.
70637         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
70638         po2text.sed.
70639         * intl/po2test.awk: New file.
70640         * intl/po2test.sed: Removed.
70642 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
70644         [BZ #14328]
70645         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
70646         or multiply small sinh result by itself.
70647         * math/s_ctanf.c (__ctanf): Likewise.
70648         * math/s_ctanh.c (__ctanh): Likewise.
70649         * math/s_ctanhf.c (__ctanhf): Likewise.
70650         * math/s_ctanhl.c (__ctanhl): Likewise.
70651         * math/s_ctanl.c (__ctanl): Likewise.
70652         * math/libm-test.inc (ctan_test_tonearest): New function.
70653         (ctan_test_towardzero): Likewise.
70654         (ctan_test_downward): Likewise.
70655         (ctan_test_upward): Likewise.
70656         (ctanh_test_tonearest): Likewise.
70657         (ctanh_test_towardzero): Likewise.
70658         (ctanh_test_downward): Likewise.
70659         (ctanh_test_upward): Likewise.
70660         (main): Call these new functions.
70661         * sysdeps/i386/fpu/libm-test-ulps: Update.
70662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70664 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
70666         * .gitignore: Delete /ports entry.
70668 2012-07-03  Andreas Jaeger  <aj@suse.de>
70670         * po/bg.po: Update from translation team.
70671         * po/cs.po: Likewise.
70672         * po/de.po: Likewise.
70673         * po/hr.po: Likewise.
70674         * po/nl.pl: Likewise.
70675         * po/pl.po: Likewise.
70676         * po/vi.po: Likewise.
70678 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
70680         * Makeconfig [!+link] (+link-before-libc): New variable.
70681         [!+link] (+link-after-libc): Likewise.
70682         [!+link] (+link-tests): Likewise.
70683         [!+link] (+link): Define in terms of $(+link-before-libc) and
70684         $(+link-after-libc).
70685         [!+link-static] (+link-static-before-libc): New variable.
70686         [!+link-static] (+link-static-after-libc): Likewise.
70687         [!+link-static] (+link-static-tests): Likewise.
70688         [!+link-static] (+link-static): Define in terms of
70689         $(+link-static-before-libc) and $(+link-static-after-libc).
70690         [build-shared] (link-libc-before-gnulib): New variable.
70691         [build-shared] (link-libc-tests): Likewise.
70692         [build-shared] (link-libc): Define in terms of
70693         $(link-libc-before-gnulib).
70694         [!build-shared] (link-libc-tests): New variable.
70695         (link-libc-static-tests): New variable.
70696         [!gnulib] (gnulib-arch): New variable.
70697         [!gnulib] (gnulib-tests): Likewise.
70698         [!gnulib] (static-gnulib-arch): Likewise.
70699         [!gnulib] (static-gnulib-tests): Likewise.
70700         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
70701         Define with "=" instead of ":=".
70702         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
70703         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
70704         * Rules (binaries-all-notests): New variable.
70705         (binaries-all-tests): Likewise.
70706         (binaries-static-notests): Likewise.
70707         (binaries-static-tests): Likewise.
70708         (binaries-all): Define using $(binaries-all-notests) and
70709         $(binaries-all-tests).
70710         (binaries-static): Define using $(binaries-static-notests) and
70711         $(binaries-static-tests).
70712         (binaries-shared-tests): New variable.
70713         (binaries-shared-notests): Likewise.
70714         (binaries-shared): Remove variable.
70715         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
70716         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
70717         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
70718         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
70719         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
70720         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
70721         * elf/Makefile (sln-modules): New variable.
70722         (extra-objs): Add $(sln-modules:=.o).
70723         (ldconfig-modules): Add static-stubs.
70724         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
70725         * elf/static-stubs.c: New file.
70727         [BZ #14283]
70728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
70729         by 7 not 8 to examine high bit of fractional part.  Use volatile
70730         variables when splitting into final array of floats if
70731         __FLT_EVAL_METHOD__ != 0.
70732         * math/libm-test.inc (cos_test): Add another test.
70733         (sin_test): Likewise.
70734         * sysdeps/i386/fpu/libm-test-ulps: Update.
70736         [BZ #14273]
70737         * math/libm-test.inc (cosh_test): Add more tests.
70739         * version.h (RELEASE): Set to "development".
70740         (VERSION): Set to "2.16.90".
70742 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
70744         * NEWS: Update copyright. Remove last-updated date.
70745         Mention math library bug fixes and timezone data changes.
70746         * README: Mention GNU/Hurd, x32, and HPPA support status.
70748 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
70750         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
70752 2012-06-27  Andreas Jaeger  <aj@suse.de>
70754         * manual/contrib.texi (Contributors): Add Samuel Thibault.
70756 2012-06-25  Andreas Jaeger  <aj@suse.de>
70758         * sysdeps/s390/fpu/libm-test-ulps: Update.
70760 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
70761             Thomas Schwinge  <thomas@codesourcery.com>
70763         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
70764         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
70765         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
70766         fanotify_mark.
70768 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
70770         * sysdeps/mach/start.c: Remove file.
70771         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
70772         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
70773         * sysdeps/sh/init-first.c: Likewise.
70775         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
70776         registers for frame unwinding purposes, add CFI directives.
70777         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70778         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
70779         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
70780         Likewise.
70782         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
70783         __fortify_fail returning.
70784         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
70787         sysdeps/sh/____longjmp_chk.S.
70788         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
70789         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
70790         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
70791         (gen-as-const-headers): Append sigaltstack-offsets.sym.
70793         * sysdeps/sh/abort-instr.h: New file.
70794         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
70795         process in case exit returns.
70797         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
70798         initialize the GOT register before use.
70800         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
70801         calculation of ARGC > 4.
70803         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
70804         meaningful names to some local labels.
70806 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70807             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70809         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
70810         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
70811         (__arch_compare_and_exchange_val_16_acq): Likewise.
70812         (__arch_compare_and_exchange_val_32_acq): Likewise.
70813         (atomic_exchange_and_add): Fix gUSA sequence.
70814         (atomic_add): Likewise.
70815         (atomic_add_negative): Likewise.
70816         (atomic_add_zero): Likewise.
70817         (atomic_bit_test_set): Likewise.
70819 2012-06-22  Andreas Schwab  <schwab@redhat.com>
70821         [BZ #13579]
70822         * include/link.h (struct link_map): Add l_free_initfini.
70823         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
70824         l_initfini.
70825         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
70826         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
70827         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
70828         set.
70830 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
70832         * configure.in: Use AC_LANG_SOURCE.
70833         * configure: Regenerate.
70835 2012-06-22  Roland McGrath  <roland@hack.frob.com>
70837         * configure.in (libc_cv_localstatedir): New substituted variable.
70838         * configure: Regenerated.
70839         * config.make.in (localstatedir): New variable, substituted from
70840         libc_cv_localstatedir.
70841         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
70842         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
70843         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
70844         * sysdeps/gnu/configure: Regenerated.
70846 2012-06-21  Jeff Law  <law@redhat.com>
70848         [BZ #14277]
70849         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
70850         free.  Simplify list management for _LIBC case.
70852 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
70854         [BZ #14273]
70855         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
70856         Clear sign bit of 64-bit integer value before comparing against
70857         overflow value.
70859         * sysdeps/mach/configure: Regenerated.
70861 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
70863         [BZ #14278]
70864         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
70866 2012-06-21  Jeff Law  <law@redhat.com>
70868         [BZ #13882]
70869         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
70870         uint16_t for elements in the "seen" array to avoid char overflows.
70871         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70872         * elf/dl-open.c (dl_open_worker): Likewise.
70874 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
70876         * scripts/list-sources.sh: Scan PORTS for translations.
70877         * po/libc.pot: Regenerated.
70879 2012-06-21  Andreas Jaeger  <aj@suse.de>
70881         [BZ #12194]
70882         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
70883         warning.
70884         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
70885         * bits/byteswap-16.h (__bswap_16): Likewise.
70886         * bits/byteswap.h (__bswap_constant_16): Likewise.
70888 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
70890         [BZ #14117]
70891         * sysdeps/i386/fpu_control.h: Removed.
70892         * sysdeps/x86_64/fpu_control.h: Moved to ...
70893         * sysdeps/x86/fpu_control.h: Here.
70895         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
70896         (_FPU_SETCW): Likewise.
70898 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
70900         [BZ #14117]
70901         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
70902         * sysdeps/x86/fpu/bits/mathinline.h: This.
70903         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
70905         [BZ #14050]
70906         [BZ #14117]
70907         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
70908         functions if __x86_64__ is defined.
70910 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
70912         * string/endian.h: Add !__ASSEMBLER__ condition for including
70913         conversion interfaces.
70915 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
70917         [BZ #14241]
70918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
70919         of ABS(x) in calculating zero to negative powers other than odd
70920         integers.
70921         * math/libm-test.inc (pow_test): Add more tests.
70923 2012-06-15  Andreas Jaeger  <aj@suse.de>
70925         * manual/contrib.texi (Contributors): Update entry of Liubov
70926         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
70927         Machado Filho.
70929 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
70931         * string/string.h: Add __wur to GNU version of strerror_r.
70933 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
70935         [BZ #14229]
70936         * string/Makefile (tests): Add tst-strtok_r.
70937         * string/tst-strtok_r.c: New file.
70938         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
70939         RAX_LP/RDX_LP on SAVE_PTR.
70941 2012-06-14  Roland McGrath  <roland@hack.frob.com>
70943         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
70945 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
70947         * libm_test.inc (csqrt_test): Allow more spurious underflow
70948         exceptions.
70949         (j0_test): Likewise.
70950         (j1_test): Likewise.
70951         (y0_test): Likewise.
70952         (y1_test): Likewise.
70954 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
70956         * po/Makefile (libc.pot): Use UTF-8 charset.
70958 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
70960         [BZ #14210]
70961         Suppress sign-conversion warning from FD_SET.
70962         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
70963         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
70964         not unsigned long int.
70965         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
70967 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
70969         [BZ #14050]
70970         [BZ #14117]
70971         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
70972         __extern_always_inline instead of __extern_inline.
70973         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
70974         (__signbit): Likewise.
70975         (__signbitl): Support C++ namespace.
70976         (lrintf): New inline function.
70977         (lrint): Likewise.
70978         (llrintf): Likewise.
70979         (llrint): Likewise.
70980         (fmaxf): Likewise.
70981         (fmax): Likewise.
70982         (fminf): Likewise.
70983         (fmin): Likewise.
70984         (rint): Likewise.
70985         (rintf): Likewise.
70986         (ceil): Likewise.
70987         (ceilf): Likewise.
70988         (floor): Likewise.
70989         (floorf): Likewise.
70990         (nearbyint): Likewise.
70991         (nearbyintf): Likewise.
70993 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
70995         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
70996         non-default versions.
70998 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71000         [BZ #14218]
71001         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71003 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71005         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71006         (FE_UPWARD, FE_DOWNWARD): Don't define.
71007         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71008         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71010         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71011         reading it.
71012         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71013         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71015 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71017         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71018         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71019         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71020         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71022 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71024         [BZ #14117]
71025         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71026         * sysdeps/i386/fpu/Implies: New file.
71027         * sysdeps/x86_64/fpu/Implies: Likewise.
71028         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71029         * sysdeps/x86/fpu/bits/fenv.h: This.
71031         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71032         __SSE_MATH__.
71034 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71036         [BZ #14134]
71037         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71038         character 0xffff that matches the last element of the
71039         conversion table.
71041 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71043         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71044         fmodl commit.
71046 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71049         values higher than 25.6283.
71051 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71053         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71054         subnormal exponent extraction and add some __builtin_expect.
71055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71056         Fix for subnormal mantissa calculation.
71058 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71060         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71061         cpu2 is -1 and errno is not ENOSYS.
71063 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71065         [BZ #14117]
71066         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71067         * sysdeps/x86/bits/string.h: This.
71068         * sysdeps/x86_64/bits/string.h: Removed.
71070         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71071         if not compiling for x86-64, but compiling for >= i486.
71073         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71074         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71076         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71077         New macro from Linux kernel 3.4.0.
71078         (FP_XSTATE_MAGIC2): Likewise.
71079         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71080         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71081         (struct _fpx_sw_bytes): New struct.
71082         (struct _xsave_hdr): Likewise.
71083         (struct _ymmh_state): Likewise.
71084         (struct _xstate): Likewise.
71086         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71087         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71088         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71089         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71090         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71091         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71093         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71094         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71095         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71096         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71097         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71098         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71100 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71102         [BZ #13743]
71103         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71104         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71105         (sysdep_headers): Include sys/platform/ppc.h.
71106         * sysdeps/powerpc/test-gettimebase.c: Test for
71107         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71108         * manual/Makefile (appendices): Include platform.texi.
71109         * manual/contrib.texi (Contributors): Update @node pointers.
71110         * manual/maint.texi (Maintenance): Likewise.
71111         (Platform): New node.
71112         * manual/platform.texi: New file.  Document the new features.
71114 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71115             Jakub Jelinek  <jakub@redhat.com>
71117         [BZ #14188]
71118         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71119         where __builtin_expect is unavailable.
71121 2012-06-03  David S. Miller  <davem@davemloft.net>
71123         * stdlib/longlong.h: Updated from GCC.
71125 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71127         [BZ #14042]
71128         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71129         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71130         __mcount_internal.
71131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71132         (GLIBC_2.16): Likewise.
71134 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71136         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71138 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71141         (default-abi): New variable.
71142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71143         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71144         variable.
71145         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71146         Likewise.
71147         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71148         Likewise.
71149         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71150         Likewise.
71152         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71153         definition.  Document in comment.
71155 2012-06-01  David S. Miller  <davem@davemloft.net>
71157         * stdlib/longlong.h: Updated from GCC.
71159 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71161         [BZ #14117]
71162         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71163         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71164         sys/debugreg.h sys/io.h here.
71165         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71166         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71167         sys/io.h.
71168         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71169         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71170         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71171         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71172         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71173         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71175         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71176         Define only if __x86_64__ is defined.
71178 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71180         [BZ #14048]
71181         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71182         Use int64_t for variable i.
71183         * math/libm-test.inc (fmod_test): Add more tests.
71185         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71186         z computation is not scheduled after fetestexcept.
71187         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71188         Use math_force_eval instead of asm to ensure calculation scheduled
71189         before exception test.
71190         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71191         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71193 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71196         computation is not scheduled after fetestexcept.
71198 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71200         [BZ #14117]
71201         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71202         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71204 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71206         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71207         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71209 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71211         [BZ #14117]
71212         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71213         <bits/wordsize.h>.
71214         (__WCHAR_MIN): Support __WORDSIZE == 64.
71215         (__WCHAR_MAX): Likewise.
71217         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71218         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71220         [BZ #14183]
71221         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71222         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71224         [BZ #14117]
71225         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71226         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71228         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71229         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71231         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71232         Defined to 1 if __x86_64__ isn't defined.
71233         (_STAT_VER_LINUX_OLD): New.
71234         (st_atime): Remove duplicate.
71235         (st_mtime): Likewise.
71236         (st_ctime): Likewise.
71238 2012-05-31  David S. Miller  <davem@davemloft.net>
71240         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71241         entries.
71243 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71245         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71246         gen-libm-test.pl.
71248         [BZ #14132]
71249         * elf/dl-reloc.c: Include <_itoa.h>.
71250         (_dl_reloc_bad_type): Remove use of INTUSE.
71251         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71252         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71253         * stdio-common/psiginfo.c (psiginfo): Likewise.
71254         * stdio-common/psignal.c (psignal): Likewise.
71255         * string/strsignal.c (strsignal): Likewise.
71256         * include/signal.h (_sys_siglist): Declare hidden proto.
71257         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71258         INTVARDEF with libc_hidden_data_def.
71259         * stdio-common/itoa-udigits.c: Likewise.
71260         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71261         (_itoa_lower_digits_internal): Remove declaration.
71262         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71263         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71264         (_sys_sigabbrev_internal): Remove aliases.
71265         (_sys_siglist): Define hidden alias.
71267 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71270         bits/sysctl.h.
71272 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71274         [BZ #14117]
71275         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71276         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71278         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71279         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71280         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71281         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71282         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71283         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71285         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71286         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71287         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71289         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71290         with __addr.
71291         (insw): Likewise.
71292         (insl): Likewise.
71293         (outsb): Likewise.
71294         (outsw): Likewise.
71295         (outsl): Likewise.
71297         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71299         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71301         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71302         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71303         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71304         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71305         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71306         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71308         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71309         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71311         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71312         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71315         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71318         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71319         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71320         to ...
71321         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71323         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71324         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71325         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71327         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71328         for x86-64.
71329         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71331 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71333         * math/math.h (M_El): Use two more decimal places.
71334         (M_LOG2El): Likewise.
71335         (M_LOG10El): Likewise.
71336         (M_LN2l): Likewise.
71337         (M_LN10l): Likewise.
71338         (M_PIl): Likewise.
71339         (M_PI_2l): Likewise.
71340         (M_PI_4l): Likewise.
71341         (M_1_PIl): Likewise.
71342         (M_2_PIl): Likewise.
71343         (M_2_SQRTPIl): Likewise.
71344         (M_SQRT2l): Likewise.
71345         (M_SQRT1_2l): Likewise.
71347 2012-05-31  David S. Miller  <davem@davemloft.net>
71349         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71350         values between float registers.
71351         * sysdeps/sparc/sparc64/memset.S: Likewise.
71352         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71354 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71356         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71357         -D_FORTIFY_SOURCE=1.
71358         (CPPFLAGS-tst-longjmp_chk.c): Define.
71359         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71360         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71361         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71362         CFLAGS-tst-wchar-h.c.
71364 2012-05-31  Marek Polacek  <polacek@redhat.com>
71366         [BZ #14132]
71367         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71368         __endmntent_internal): Remove declaration.
71369         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71370         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71371         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71373 2012-05-30  David S. Miller  <davem@davemloft.net>
71375         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71376         (___Q_simulate_exceptions): Use real FP ops rather than writing
71377         into the %fsr.
71378         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71379         Likewise.
71381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71383         [BZ #14117]
71384         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71385         * sysdeps/x86/bits/xtitypes.h: This.
71387         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71388         * sysdeps/x86/bits/wordsize.h: This.
71390         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71391         * sysdeps/x86/bits/huge_vall.h: This.
71393         * sysdeps/i386/bits/select.h: Removed.
71394         * sysdeps/x86_64/bits/select.h: Renamed to ...
71395         * sysdeps/x86/bits/select.h: This.
71397         * sysdeps/i386/bits/setjmp.h: Removed.
71398         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71399         * sysdeps/x86/bits/setjmp.h: This.
71401         * sysdeps/i386/bits/mathdef.h: Removed.
71402         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71403         * sysdeps/x86/bits/mathdef.h: This.
71405 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71407         [BZ #14132]
71408         * include/sys/socket.h (__connect_internal)
71409         (__libc_sa_len_internal): Remove declaration.
71410         (__connect, __libc_sa_len): Declare hidden_proto.
71411         (SA_LEN): Remove use of INTUSE.
71412         * socket/connect.c: Add libc_hidden_def.
71413         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71414         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71415         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71416         alias.
71417         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71418         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71419         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71420         of adding _internal alias.
71422 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71424         [BZ #14117]
71425         * sysdeps/i386/bits/link.h: Removed.
71426         * sysdeps/i386/bits/linkmap.h: Likewise.
71427         * sysdeps/x86_64/bits/link.h: Renamed to ...
71428         * sysdeps/x86/bits/link.h: This.
71429         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71430         * sysdeps/x86/bits/linkmap.h: This.
71432         * sysdeps/i386/bits/endian.h: Removed.
71433         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71434         * sysdeps/x86/bits/endian.h: This.
71436         * sysdeps/i386/bits/byteswap.h: Removed.
71437         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71438         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71439         * sysdeps/x86/bits/byteswap.h: This.
71440         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71441         * sysdeps/x86/bits/byteswap-16.h: This.
71442         * sysdeps/i386/Implies: Add x86.
71443         * sysdeps/x86_64/Implies: Likewise.
71445 2012-05-30  David S. Miller  <davem@davemloft.net>
71447         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71448         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71449         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71450         (FP_TRAPPING_EXCEPTIONS): Define.
71451         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71452         (FP_TRAPPING_EXCEPTIONS): Define.
71453         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71454         subnormals only when inexact has been signalled or underflow
71455         exceptions are enabled.
71456         (_FP_PACK_CANONICAL): Likewise.
71458 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71460         [BZ #14183]
71461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71462         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71464 2012-05-30  Richard Henderson  <rth@twiddle.net>
71466         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71467         with #ifndef NOT_IN_libc.
71469         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71470         marked to avoid plt entry.
71472 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71474         [BZ #14112]
71475         * Makeconfig (default-abi): New macro.
71476         (abi-includes): Likewise.
71477         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71478         $(abi-$(default-abi)-lib-soname) for soname if defined.
71479         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71480         abi-variants.
71481         * Makefile (installed-stubs): Likewise.
71482         * include/stubs-biarch.h: Removed.
71483         * scripts/lib-names.awk: Only handle one library at a time.
71484         * scripts/soversions.awk: Remove WORDSIZE support.
71485         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71486         entries.
71487         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71488         Removed.
71489         (syscall-list-default-condition): Likewise.
71490         (syscall-list-default-condition): Likewise.
71491         (syscall-list-includes): Likewise.
71492         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71493         syscall-list-* with abi-*.  Handle undefined abi-variants.
71494         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71495         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71496         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71497         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71498         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71499         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71500         Removed.
71501         (syscall-list-32-options): Likewise.
71502         (syscall-list-32-condition): Likewise.
71503         (syscall-list-64-options): Likewise.
71504         (syscall-list-64-condition): Likewise.
71505         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71506         macro.
71507         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71508         Renamed to ...
71509         (abi-*): This.
71510         (abi-64-ld-soname): New macro.
71511         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71512         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71513         Renamed to ...
71514         (abi-*): This.
71515         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71516         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71518 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71520         * sysdeps/unix/sysv/linux/kernel-features.h
71521         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71522         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71523         include <kernel-features.h>.
71524         [!__NR_ftruncate64]: Remove conditional code.
71525         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71526         [__NR_ftruncate64]: Make code unconditional.
71527         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71528         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71529         include <kernel-features.h>.
71530         [!__NR_ftruncate64]: Remove conditional code.
71531         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71532         [__NR_ftruncate64]: Make code unconditional.
71533         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71535         include <kernel-features.h>.
71536         [!__NR_ftruncate64]: Remove conditional code.
71537         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71538         [__NR_ftruncate64]: Make code unconditional.
71539         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71541         include <kernel-features.h>.
71542         [!__NR_ftruncate64]: Remove conditional code.
71543         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71544         [__NR_ftruncate64]: Make code unconditional.
71545         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71547         * configure.in (libc_cv_fpie): Weaken to a compile test using
71548         LIBC_TRY_CC_OPTION.
71549         * configure: Regenerated.
71551 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71557         Refreshed.
71558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71564         Refreshed.
71566 2012-05-27  David S. Miller  <davem@davemloft.net>
71568         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71569         (___Q_zero): New.
71570         (__Q_simulate_exceptions): Return void.  Change to simulate
71571         exceptions by writing into the %fsr.
71572         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71573         (__Qp_handle_exceptions): Likewise.
71574         (numbers): Delete.
71575         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71576         __Qp_handle_exceptions.
71577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71578         __Qp_handle_exceptions.
71579         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71580         as unused and give dummy FP_RND_NEAREST initializer.
71581         (FP_INHIBIT_RESULTS): Define.
71582         (___Q_simulate_exceptions): Update declaration.
71583         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71584         formatting.
71585         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71586         as unused and give dummy FP_RND_NEAREST initializer.
71587         (__Qp_handle_exceptions): Update declaration.
71588         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71589         formatting.
71591 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71593         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71594         the temporary FPU control word.
71595         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71596         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71597         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71598         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71599         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71600         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71601         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71602         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71603         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71604         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71605         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71607 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71609         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71610         fields.
71612 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
71614         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71615         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71616         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71617         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71618         Likewise.
71619         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71620         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71621         Likewise.
71623 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
71625         * po/h.po: Update from translation team.
71627 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
71629         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71631         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71632         handling of denormals.
71633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71634         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71635         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71636         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
71639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
71640         Likewise.
71642 2012-05-26  Marek Polacek  <polacek@redhat.com>
71644         [BZ #14152]
71645         * math/libm-test.inc (fma_test): Don't always expect underflow
71646         exception.
71648 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71650         [BZ #12416]
71651         * elf/tst-execstack.c: Include stackinfo.h.
71652         (do_test): Adjust test case to ensure that pthread_getattr_np
71653         behaviour remains the same after marking stack executable.
71655 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71657         * sysdeps/unix/sysv/linux/kernel-features.h
71658         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
71659         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71660         kernel-features.h.
71661         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71662         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71663         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
71664         kernel-features.h.
71665         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71666         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71668 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
71670         * configure.in: Define the default includes to being none.
71671         * configure: Regenerated.
71673 2012-05-25  Roland McGrath  <roland@hack.frob.com>
71675         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
71676         * sysdeps/x86_64/setjmp.S: Likewise.
71677         * sysdeps/i386/bsd-setjmp.S: Likewise.
71678         * sysdeps/i386/bsd-_setjmp.S: Likewise.
71679         * sysdeps/i386/setjmp.S: Likewise.
71680         * sysdeps/i386/__longjmp.S: Likewise.
71681         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71682         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
71684         * include/stap-probe.h: New file.
71685         * configure.in: Handle --enable-systemtap.
71686         * configure: Regenerated.
71687         * config.h.in (USE_STAP_PROBE): New #undef.
71688         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
71689         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
71690         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
71692 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71694         [BZ #13717]
71695         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71696         to 2.4.0 where earlier.
71697         * sysdeps/unix/sysv/linux/configure: Regenerated.
71698         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71699         <kernel-features.h>.
71700         [__ASSUME_32BITUIDS]: Make code unconditional.
71701         [!__ASSUME_32BITUIDS]: Remove conditional code.
71702         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
71703         <kernel-features.h>.
71704         [__ASSUME_32BITUIDS]: Make code unconditional.
71705         [!__ASSUME_32BITUIDS]: Remove conditional code.
71706         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
71707         [__ASSUME_32BITUIDS]: Make code unconditional.
71708         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
71709         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
71710         <kernel-features.h>.
71711         [__ASSUME_32BITUIDS]: Make code unconditional.
71712         [!__ASSUME_32BITUIDS]: Remove conditional code.
71713         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
71714         <kernel-features.h>.
71715         [__ASSUME_32BITUIDS]: Make code unconditional.
71716         [!__ASSUME_32BITUIDS]: Remove conditional code.
71717         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
71718         <kernel-features.h>.
71719         [__ASSUME_32BITUIDS]: Make code unconditional.
71720         [!__ASSUME_32BITUIDS]: Remove conditional code.
71721         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
71722         <kernel-features.h>.
71723         [__ASSUME_32BITUIDS]: Make code unconditional.
71724         [!__ASSUME_32BITUIDS]: Remove conditional code.
71725         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71726         <kernel-features.h>.
71727         [__ASSUME_32BITUIDS]: Make code unconditional.
71728         [!__ASSUME_32BITUIDS]: Remove conditional code.
71729         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71730         <kernel-features.h>.
71731         [__ASSUME_32BITUIDS]: Make code unconditional.
71732         [!__ASSUME_32BITUIDS]: Remove conditional code.
71733         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
71734         <kernel-features.h>.
71735         [__ASSUME_32BITUIDS]: Make code unconditional.
71736         [!__ASSUME_32BITUIDS]: Remove conditional code.
71737         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71738         <kernel-features.h>.
71739         [__ASSUME_32BITUIDS]: Make code unconditional.
71740         [!__ASSUME_32BITUIDS]: Remove conditional code.
71741         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71742         <kernel-features.h>.
71743         [__ASSUME_32BITUIDS]: Make code unconditional.
71744         [!__ASSUME_32BITUIDS]: Remove conditional code.
71745         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
71746         <kernel-features.h>.
71747         [__ASSUME_32BITUIDS]: Make code unconditional.
71748         [!__ASSUME_32BITUIDS]: Remove conditional code.
71749         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
71750         <kernel-features.h>.
71751         [__NR_setresgid] (__setresgid): Do not declare.
71752         [__ASSUME_32BITUIDS]: Make code unconditional.
71753         [!__ASSUME_32BITUIDS]: Remove conditional code.
71754         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
71755         <kernel-features.h>.
71756         [__NR_setresuid] (__setresuid): Do not declare.
71757         [__ASSUME_32BITUIDS]: Make code unconditional.
71758         [!__ASSUME_32BITUIDS]: Remove conditional code.
71759         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
71760         <kernel-features.h>.
71761         [__ASSUME_32BITUIDS]: Make code unconditional.
71762         [!__ASSUME_32BITUIDS]: Remove conditional code.
71763         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
71764         <kernel-features.h>.
71765         [__ASSUME_32BITUIDS]: Make code unconditional.
71766         [!__ASSUME_32BITUIDS]: Remove conditional code.
71767         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
71768         <kernel-features.h>.
71769         [__ASSUME_32BITUIDS]: Make code unconditional.
71770         [!__ASSUME_32BITUIDS]: Remove conditional code.
71771         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
71772         <kernel-features.h>.
71773         [__ASSUME_32BITUIDS]: Make code unconditional.
71774         [!__ASSUME_32BITUIDS]: Remove conditional code.
71775         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
71776         <kernel-features.h>.
71777         [__ASSUME_32BITUIDS]: Make code unconditional.
71778         [!__ASSUME_32BITUIDS]: Remove conditional code.
71779         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
71780         <kernel-features.h>.
71781         [__ASSUME_32BITUIDS]: Make code unconditional.
71782         [!__ASSUME_32BITUIDS]: Remove conditional code.
71783         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
71784         <kernel-features.h>.
71785         [__ASSUME_32BITUIDS]: Make code unconditional.
71786         [!__ASSUME_32BITUIDS]: Remove conditional code.
71787         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
71788         <kernel-features.h>.
71789         [__ASSUME_32BITUIDS]: Make code unconditional.
71790         [!__ASSUME_32BITUIDS]: Remove conditional code.
71791         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
71792         <kernel-features.h>.
71793         [__ASSUME_32BITUIDS]: Make code unconditional.
71794         [!__ASSUME_32BITUIDS]: Remove conditional code.
71795         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71796         <kernel-features.h>.
71797         [__ASSUME_32BITUIDS]: Make code unconditional.
71798         [!__ASSUME_32BITUIDS]: Remove conditional code.
71799         * sysdeps/unix/sysv/linux/kernel-features.h
71800         (__ASSUME_SETRESUID_SYSCALL): Remove.
71801         (__ASSUME_SETRESGID_SYSCALL): Likewise.
71802         (__ASSUME_32BITUIDS): Likewise.
71803         (__ASSUME_LDT_WORKS): Likewise.
71804         (__ASSUME_O_DIRECTORY): Likewise.
71805         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
71806         architecture but not kernel version.
71807         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
71808         (__ASSUME_MMAP2_SYSCALL): Likewise.
71809         (__ASSUME_STAT64_SYSCALL): Likewise.
71810         (__ASSUME_IPC64): Likewise.
71811         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
71812         <kernel-features.h>.
71813         [__ASSUME_32BITUIDS]: Make code unconditional.
71814         [!__ASSUME_32BITUIDS]: Remove conditional code.
71815         * sysdeps/unix/sysv/linux/opendir.c: Do not include
71816         <kernel-features.h>.
71817         [__ASSUME_O_DIRECTORY]: Make code unconditional.
71818         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
71819         132096]: Remove conditional code.
71820         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
71821         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71822         <kernel-features.h>.
71823         [__ASSUME_32BITUIDS]: Make code unconditional.
71824         [!__ASSUME_32BITUIDS]: Remove conditional code.
71825         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71826         <kernel-features.h>.
71827         [__ASSUME_32BITUIDS]: Make code unconditional.
71828         [!__ASSUME_32BITUIDS]: Remove conditional code.
71829         * sysdeps/unix/sysv/linux/setegid.c: Do not include
71830         <kernel-features.h>.
71831         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
71832         unconditional.
71833         (__setresgid): Do not declare.
71834         [__ASSUME_32BITUIDS]: Make code unconditional.
71835         [!__ASSUME_32BITUIDS]: Remove conditional code.
71836         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
71837         <kernel-features.h>.
71838         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
71839         unconditional.
71840         (__setresuid): Do not declare.
71841         [__ASSUME_32BITUIDS]: Make code unconditional.
71842         [!__ASSUME_32BITUIDS]: Remove conditional code.
71843         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71844         <kernel-features.h>.
71845         [__ASSUME_32BITUIDS]: Make code unconditional.
71846         [!__ASSUME_32BITUIDS]: Remove conditional code.
71847         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
71848         <kernel-features.h>.
71849         [__ASSUME_32BITUIDS]: Make code unconditional.
71850         [!__ASSUME_32BITUIDS]: Remove conditional code.
71852 2012-05-25  Richard Henderson  <rth@twiddle.net>
71854         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
71855         dl_hwcap to ifunc resolver.
71856         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
71857         elf_ifunc_invoke.
71858         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
71859         dl_hwcap to ifunc resolver.
71860         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
71862 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71864         [BZ #14153]
71865         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
71866         for |x| <= 2**-26, not 2**-57.
71867         * math/libm-test.inc (acos_test): Do not allow spurious underflow
71868         exception.
71870 2012-05-24  Jeff Law  <law@redhat.com>
71872         * stdio-common/Makefile (tests): Add bug25.
71873         * stdio-common/bug25.c: New test.
71875 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71877         [BZ #13576]
71878         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
71879         multiple of MALLOC_ALIGNMENT in size.
71880         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
71882 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71884         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
71885         Require >= 256.
71886         (FILENAME_MAX): Use macro-int-constant.
71887         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
71888         (_IOFBF): Use macro-int-constant.
71889         (_IOLBF): Likewise.
71890         (_IONBF): Likewise.
71891         (SEEK_CUR): Likewise.
71892         (SEEK_END): Likewise.
71893         (SEEK_SET): Likewise.
71894         (TMP_MAX): Likewise.
71895         (EOF): Use macro-int-constant.  Require < 0.
71896         (NULL): Use macro-constant.  Require == 0.
71897         (stdin): Require type to be FILE *.
71898         (stdout): Likewise.
71899         (stderr): Likewise.
71900         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
71901         macro-int-constant.
71902         (EXIT_SUCCESS): Likewise.
71903         (NULL): Use macro-constant.  Require == 0.
71904         (RAND_MAX): Use macro-int-constant.
71905         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
71906         [C99-based standards] (strtof): Require function.
71907         [C99-based standards] (strtold): Likewise.
71908         [C99-based standards] (strtoll): Likewise.
71909         [C99-based standards] (strtoull): Likewise.
71910         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71911         [ISO || ISO99 || ISO11] (limits.h): Likewise.
71912         [ISO || ISO99 || ISO11] (math.h): Likewise.
71913         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
71914         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71915         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71917 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
71919         [BZ #14132]
71920         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
71921         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
71922         * intl/dgettext.c (DCGETTEXT): Likewise.
71923         * intl/gettext.c (DCGETTEXT): Likewise.
71924         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
71925         * posix/regex_internal.h (gettext): Likewise.
71926         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
71927         Remove declaration.
71928         * include/argz.h (__argz_count_internal)
71929         (__argz_stringify_internal): Remove declaration.
71930         (__argz_count, __argz_stringify): Declare hidden proto.
71931         * intl/dcgettext.c: Remove use of INTDEF.
71932         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
71933         * string/argz-stringify.c: Likewise.
71934         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71935         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71936         Declare hidden proto.
71937         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
71938         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
71939         Declare hidden proto.
71940         * include/stdio.h (__asprintf_internal): Don't declare.
71941         (__asprintf): Don't define as macro.  Declare hidden proto.
71942         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
71943         (__fsetlocking): Declare hidden proto.
71944         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
71945         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
71946         hidden proto.
71947         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
71948         (_IO_setlinebuf): Remove use of INTUSE.
71949         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
71950         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
71951         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
71952         Remove declaration.
71953         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
71954         (_IO_do_flush): Remove use of INTUSE.
71955         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
71956         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
71957         (_IO_adjust_column, _IO_least_wmarker)
71958         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
71959         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
71960         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
71961         (_IO_default_doallocate, _IO_wdefault_doallocate)
71962         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
71963         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
71964         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
71965         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
71966         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
71967         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
71968         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
71969         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
71970         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
71971         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
71972         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
71973         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
71974         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
71975         proto.
71976         (_IO_flush_all_internal, _IO_adjust_column_internal)
71977         (_IO_default_uflow_internal, _IO_default_finish_internal)
71978         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
71979         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
71980         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
71981         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
71982         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
71983         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
71984         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
71985         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
71986         (_IO_file_close_internal, _IO_file_close_it_internal)
71987         (_IO_file_underflow_internal, _IO_file_overflow_internal)
71988         (_IO_file_init_internal, _IO_file_attach_internal)
71989         (_IO_file_fopen_internal, _IO_file_read_internal)
71990         (_IO_file_sync_internal, _IO_file_seek_internal)
71991         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
71992         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
71993         (_IO_str_underflow_internal, _IO_str_overflow_internal)
71994         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
71995         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
71996         (_IO_list_all_internal, _IO_link_in_internal)
71997         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
71998         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
71999         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72000         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72001         (_IO_do_write_internal, _IO_padn_internal)
72002         (_IO_getline_info_internal, _IO_getline_internal)
72003         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72004         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72005         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72006         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72007         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72008         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72009         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72010         with libc_hidden_ver, remove use of INTUSE.
72011         * libio/genops.c: Likewise.
72012         * libio/freopen.c: Likewise.
72013         * libio/freopen64.c: Likewise.
72014         * libio/iofclose.c: Likewise.
72015         * libio/iofdopen.c: Likewise.
72016         * libio/iofflush.c: Likewise.
72017         * libio/iofflush_u.c: Likewise.
72018         * libio/iofgets.c: Likewise.
72019         * libio/iofgets_u.c: Likewise.
72020         * libio/iofopen.c: Likewise.
72021         * libio/iofopncook.c: Likewise.
72022         * libio/iofread.c: Likewise.
72023         * libio/iofread_u.c: Likewise.
72024         * libio/ioftell.c: Likewise.
72025         * libio/iofwrite.c: Likewise.
72026         * libio/iogetline.c: Likewise.
72027         * libio/iogets.c: Likewise.
72028         * libio/iogetwline.c: Likewise.
72029         * libio/iopadn.c: Likewise.
72030         * libio/iopopen.c: Likewise.
72031         * libio/ioseekoff.c: Likewise.
72032         * libio/ioseekpos.c: Likewise.
72033         * libio/iosetbuffer.c: Likewise.
72034         * libio/iosetvbuf.c: Likewise.
72035         * libio/ioungetc.c: Likewise.
72036         * libio/ioungetwc.c: Likewise.
72037         * libio/iovdprintf.c: Likewise.
72038         * libio/iovsprintf.c: Likewise.
72039         * libio/iovsscanf.c: Likewise.
72040         * libio/memstream.c: Likewise.
72041         * libio/obprintf.c: Likewise.
72042         * libio/oldfileops.c: Likewise.
72043         * libio/oldiofclose.c: Likewise.
72044         * libio/oldiofdopen.c: Likewise.
72045         * libio/oldiofopen.c: Likewise.
72046         * libio/oldiopopen.c: Likewise.
72047         * libio/oldstdfiles.c: Likewise.
72048         * libio/putc.c: Likewise.
72049         * libio/setbuf.c: Likewise.
72050         * libio/setlinebuf.c: Likewise.
72051         * libio/stdfiles.c: Likewise.
72052         * libio/strops.c: Likewise.
72053         * libio/vasprintf.c: Likewise.
72054         * libio/vscanf.c: Likewise.
72055         * libio/vsnprintf.c: Likewise.
72056         * libio/vswprintf.c: Likewise.
72057         * libio/wfiledoalloc.c: Likewise.
72058         * libio/wfileops.c: Likewise.
72059         * libio/wgenops.c: Likewise.
72060         * libio/wmemstream.c: Likewise.
72061         * libio/wstrops.c: Likewise.
72062         * libio/__fpurge.c: Likewise.
72063         * libio/__fsetlocking.c: Likewise.
72064         * assert/assert.c: Likewise.
72065         * debug/fgets_chk.c: Likewise.
72066         * debug/fgets_u_chk.c: Likewise.
72067         * debug/fread_chk.c: Likewise.
72068         * debug/fread_u_chk.c: Likewise.
72069         * debug/gets_chk.c: Likewise.
72070         * debug/obprintf_chk.c: Likewise.
72071         * debug/vasprintf_chk.c: Likewise.
72072         * debug/vdprintf_chk.c: Likewise.
72073         * debug/vsnprintf_chk.c: Likewise.
72074         * debug/vsprintf_chk.c: Likewise.
72075         * malloc/mtrace.c: Likewise.
72076         * misc/error.c: Likewise.
72077         * misc/syslog.c: Likewise.
72078         * stdio-common/asprintf.c: Likewise.
72079         * stdio-common/fxprintf.c: Likewise.
72080         * stdio-common/getw.c: Likewise.
72081         * stdio-common/isoc99_fscanf.c: Likewise.
72082         * stdio-common/isoc99_scanf.c: Likewise.
72083         * stdio-common/isoc99_vfscanf.c: Likewise.
72084         * stdio-common/isoc99_vscanf.c: Likewise.
72085         * stdio-common/isoc99_vsscanf.c: Likewise.
72086         * stdio-common/printf-prs.c: Likewise.
72087         * stdio-common/printf_fp.c: Likewise.
72088         * stdio-common/printf_fphex.c: Likewise.
72089         * stdio-common/printf_size.c: Likewise.
72090         * stdio-common/putw.c: Likewise.
72091         * stdio-common/scanf.c: Likewise.
72092         * stdio-common/sprintf.c: Likewise.
72093         * stdio-common/tmpfile.c: Likewise.
72094         * stdio-common/vfprintf.c: Likewise.
72095         * stdio-common/vfscanf.c: Likewise.
72096         * stdlib/strfmon_l.c: Likewise.
72097         * sunrpc/openchild.c: Likewise.
72098         * sunrpc/xdr_stdio.c: Likewise.
72099         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72100         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72102 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72104         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72106         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72107         in the third column, to generate for the shared library an IFUNC
72108         that uses _dl_vdso_vsym.
72109         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72110         * Makeconfig (object-suffixes-noshared): New variable.
72112         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72113         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72114         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72115         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72117         [BZ #14132]
72118         * include/sys/time.h (__gettimeofday): Remove macro.
72119         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72120         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72121         Remove INTDEF.
72122         (__gettimeofday): Add libc_hidden_def.
72123         (gettimeofday): Add libc_hidden_weak.
72124         * sysdeps/mach/gettimeofday.c: Likewise.
72125         * sysdeps/posix/gettimeofday.c: Likewise.
72126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72127         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72129         (__gettimeofday_internal): Remove strong_alias.
72130         (__gettimeofday): Add libc_hidden_def.
72131         (gettimeofday): Add libc_hidden_weak.
72132         * sysdeps/unix/syscalls.list (gettimeofday):
72133         Remove __gettimeofday_internal alias.
72135 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72136             H.J. Lu  <hongjiu.lu@intel.com>
72138         [BZ #12495]
72139         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72140         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72141         (largebin_index_32_big): New.
72142         (largebin_index): Use it for 16-byte alignment.
72143         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72144         correction with front_misalign.
72146 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72150         Likewise.
72151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72152         Likewise.
72153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72154         Likewise.
72155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72156         Likewise.
72157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72158         Likewise.
72159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72160         Likewise.
72161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72162         Likewise.
72163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72164         Likewise.
72165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72166         Likewise.
72167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72168         Likewise.
72169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72170         Likewise.
72171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72172         Likewise.
72174         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72175         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72177 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72179         [BZ #10846]
72180         [BZ #14036]
72181         * math/libm-test.inc (exp_test): Add test from bug 14036.
72182         (pow_test): Add test from bug 10846.
72184         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72185         and other flags.
72186         (special_function): Do not include flags in test name.
72187         (parse_args): Likewise.
72188         * sysdeps/i386/fpu/libm-test-ulps: Update.
72189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72190         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72191         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72194         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72195         exceptions.
72196         * math/libm-test.inc ("Philosophy"): Update comment about
72197         exception testing.
72198         (UNDERFLOW_EXCEPTION): New macro.
72199         (UNDERFLOW_EXCEPTION_OK): Likewise.
72200         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72201         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72202         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72203         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72204         (INVALID_EXCEPTION_OK): Update value.
72205         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72206         (OVERFLOW_EXCEPTION_OK): Likewise.
72207         (IGNORE_ZERO_INF_SIGN): Likewise.
72208         (test_exceptions): Handle underflow exceptions.
72209         (acos_test): Update for underflow exception expectations.
72210         (cexp_test): Likewise.
72211         (clog_test): Likewise.
72212         (clog10_test): Likewise.
72213         (csqrt_test): Likewise.
72214         (ctan_test): Likewise.
72215         (ctanh_test): Likewise.
72216         (exp_test): Likewise.
72217         (exp10_test): Likewise.
72218         (exp2_test): Likewise.
72219         (expm1_test): Likewise.
72220         (fma_test): Likewise.
72221         (j0_test): Likewise.
72222         (jn_test): Likewise.
72223         (nexttoward_test): Likewise.
72224         (pow_test): Likewise.
72225         (scalbn_test): Likewise.
72226         (scalbln_test): Likewise.
72227         (tan_test): Likewise.
72228         (y1_test): Likewise.
72229         * sysdeps/i386/fpu/libm-test-ulps: Update.
72230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72232 2012-05-23  David S. Miller  <davem@davemloft.net>
72234         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72235         (__libc_sigaction): Remove unused local variables.
72237 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72239         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72241 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72243         mktime: avoid signed integer overflow
72244         * time/mktime.c (__mktime_internal): Do not mishandle the case
72245         where diff == INT_MIN.
72247         mktime: simplify computation of average
72248         * time/mktime.c (ranged_convert): Use new time_t_avg function
72249         instead of rolling our own (probably-slower) code.
72251         mktime: do not assume signed right shift propagates sign bit
72252         * time/mktime.c (isdst_differ): New static function.
72253         (__mktime_internal): No need to normalize tm_isdst now.
72254         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72255         tm_isdst values.
72257         mktime: merge another wrapv change from gnulib
72258         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72259         from some compilers.
72261         mktime: remove incorrect attempt at unusual arithmetics
72262         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72263         The code didn't really work on such machines anyway.
72264         (TYPE_MINIMUM): Assume two's complement.
72265         (twos_complement_arithmetic): Verify that long_int and time_t
72266         are two's complement (or unsigned, in the latter case).
72268         mktime: check signed shifts on long_int and time_t, too
72269         * time/mktime.c (SHR): Check that shifts work as desired
72270         on the types long_int and time_t too, as SHR is used on
72271         such types.
72273         mktime: do not assume 'long' is wide enough
72274         * time/mktime.c (verify): Move decl up.
72275         (long_int): New type.
72276         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72277         to remove assumption in the code that 'long' is wide enough to
72278         store year values.  This assumption is not true on x32 and on
72279         some non-glibc platforms.
72281         mktime: merge wrapv change from gnulib
72282         * time/mktime.c (WRAPV): New macro.
72283         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72284         (guess_time_tm, __mktime_internal): Do not assume that signed
72285         integer overflow wraps around; modern compilers generate code
72286         where this assumption is no longer valid.
72288 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72290         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72291         Replace "jmp L(pseudo_end)" with "ret".
72292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72293         Likewise.
72295 2012-05-23  Andreas Jaeger  <aj@suse.de>
72297         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72298         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72300 2012-05-23  Andreas Jaeger  <aj@suse.de>
72301             Maximilian Attems  <max@stro.at>
72303         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72304         New macros.
72306 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72308         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72309         code so that pseudo_end is just ret and the stack pointer is
72310         correct also for static library in error case.
72312 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72314         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72315         move to syscalls.list.
72316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72321         * manual/install.texi (Running make install): Do not mention Linux
72322         kernel version for which pt_chown is not needed.
72323         (Linux): Do not mention problems with nscd with 2.0 kernels.
72324         * INSTALL: Regenerated.
72326 2012-05-23  Andreas Jaeger  <aj@suse.de>
72328         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72329         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72330         macro.
72331         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72332         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72333         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72334         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72335         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72336         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72337         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72338         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72339         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72340         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72341         * sysdeps/unix/sysv/linux/bits/in.h
72342         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72344 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72346         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72347         (PREPARE_VERSION): Just use assert instead, it will be elided
72348         under [NDEBUG] anyway.
72350 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72352         * sysdeps/unix/sysv/linux/Makefile: Include
72353         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72354         (sysdep_routines): Remove sysctl.
72355         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72356         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72357         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72358         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72359         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72361 2012-05-22  Andreas Jaeger  <aj@suse.de>
72363         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72364         that pseudo_end is just ret and the stack pointer is correct also
72365         for static library in error case.
72367 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72369         [BZ #14122]
72370         * nss/nsswitch.c (defconfig_entries): New variable.
72371         (__nss_database_lookup): Don't leak defconfig entries.
72372         (nss_parse_service_list): Don't leak on error paths.
72373         (free_database_entries): New function.
72374         (free_defconfig): New function.
72375         (free_mem): Move common code to free_database_entries.
72377 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72380         Add arch_prctl.
72381         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72383         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72384         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72386         New macro.
72387         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72388         (INTERNAL_SYSCALL_TYPES): Likewise.
72389         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72390         (LOAD_REGS_TYPES_[1-6]): Likewise.
72391         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72392         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72394 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72396         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72397         copysignl for GLIBC_2_0.
72398         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72399         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72401         logbl for GLIBC_2_0.
72402         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72403         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72405 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72408         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72410         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72411         Use "neg %eax".
72413         * time/mktime.c: Update copyright years.
72415 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72417         mktime: merge comment-quoting-style change from gnulib
72418         * time/mktime.c: Quote 'like this' in comments.
72419         The GNU coding standards suggest that we no longer quote `like this',
72420         as "`" and "'" are typically rendered asymmetrically nowadays.
72421         The typical gnulib style is to quote 'like this' when quoting
72422         code, and "like this" when quoting English.
72424         * time/mktime.c (compile-command): Add "-I.".
72426         mktime: merge mktime-internal.h change from gnulib
72427         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72429         mktime: merge time_r change from gnulib
72430         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72432         mktime: merge DEBUG change from gnulib
72433         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72434         case system <time.h> has a #define.
72436         mktime: merge <sys/types.h> change from gnulib
72437         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72438         since <time.t> is now guaranteed to define time_t.
72440         mktime: merge HAVE_CONFIG_H change from gnulib
72441         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72443 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72445         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72446         Use "neg %eax".
72448         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72449         __rlim_t cast.
72450         (struct rusage): Use anonymous union to pad each field to
72451         __syscall_slong_t.
72453 2012-05-21  David S. Miller  <davem@davemloft.net>
72455         * Makefules (o-iterator): Remove .s cases.
72456         (compile-command.s): Delete.
72457         (COMPILE.s): Delete.
72458         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72460 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72462         * configure.in (libc_cv_predef_stack_protector): Only consider
72463         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72464         * configure: Regenerated.
72466 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72469         New macro.  Use R*LP on int and pointer.
72470         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72471         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72472         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72473         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72475         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72476         [__WORDSIZE_TIME64_COMPAT32] instead of
72477         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72478         (struct utmp): Likewise.
72479         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72480         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72481         Renamed to ...
72482         (__WORDSIZE_TIME64_COMPAT32): This.
72483         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72484         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72485         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72486         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72487         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72488         (__WORDSIZE_TIME64_COMPAT32): New macro.
72490 2012-05-21  Andreas Jaeger  <aj@suse.de>
72492         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72493         only if [SHARED]. Add prototype for __wcschr_ia32.
72495 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72497         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72498         of %rbp unmolested in the jmp_buf while mangling the low bits.
72499         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72500         unmolested high bits of %rbp while demangling the low bits.
72501         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72503 2012-05-21  Andreas Jaeger  <aj@suse.de>
72505         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72506         * sunrpc/svc_simple.c: Use it for registerrpc.
72507         * sunrpc/xcrypt.c: Use it for passwd2des.
72509         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72511 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72513         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72514         Don't define if [__SYSCALL_WORDSIZE != 32].
72515         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72516         New macro.
72518 2012-05-21  Bruno Haible  <bruno@clisp.org>
72519             Andreas Jaeger  <aj@suse.de>
72521         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72522         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72523         inptr and inend for must_buffer_ch.
72524         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72525         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72526         * stdio-common/Makefile (tests): Remove bug15.
72527         (bug15-ENV): Remove macro.
72528         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72529         anymore.
72531 2012-05-19  Andreas Jaeger  <aj@suse.de>
72532             Roland McGrath  <roland@hack.frob.com>
72534         * manual/contrib.texi: Completely rewritten. It contains now an
72535         alphabetical list of contributors and their contributions.
72537 2012-05-21  Richard Henderson  <rth@twiddle.net>
72539         * misc/getauxval.c (__getauxval): Use unsigned long int.
72540         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72541         (getauxval): Use unsigned long int.
72543 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72545         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72547 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72549         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72550         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72551         __alignof__ (long double).
72553 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72557 2012-05-20  Richard Henderson  <rth@twiddle.net>
72559         * misc/getauxval.c: New file.
72560         * misc/sys/auxv.h: New file.
72561         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72562         (routines): Add getauxval.
72563         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72564         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72565         * elf/dl-sysdep.c (_dl_auxv): Remove.
72566         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72567         * elf/dl-support.c (_dl_auxv): New variable.
72568         (_dl_aux_init): Initialize it.
72569         * manual/startup.texi (Auxiliary Vector): New node.
72570         * sysdeps/generic/bits/hwcap.h: New file.
72571         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72572         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72573         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72574         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72575         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72576         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72578         Update.
72579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72588 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72592 2012-05-19  David S. Miller  <davem@davemloft.net>
72594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72596 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72598         [BZ #14123]
72599         * math/s_ccosh.c: Include <float.h>
72600         (__ccosh): Avoid internal overflow calculating sinh and cosh
72601         values before multiplying by sin and cos values.
72602         * math/s_ccoshf.c: Likewise.
72603         * math/s_ccoshl.c: Likewise.
72604         * math/s_csin.c: Likewise.
72605         * math/s_csinf.c: Likewise.
72606         * math/s_csinl.c: Likewise.
72607         * math/s_csinh.c: Likewise.
72608         * math/s_csinhf.c: Likewise.
72609         * math/s_csinhl.c: Likewise.
72610         * math/libm-test.inc (ccos_test): Add more tests.
72611         (ccosh_test): Likewise.
72612         (csin_test): Likewise.
72613         (csinh_test): Likewise.
72614         * sysdeps/i386/fpu/libm-test-ulps: Update.
72615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72617 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
72619         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72620         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72622         * sysdeps/x86_64/x32/_itoa.h: Add comment.
72624 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72626         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72627         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72628         * sysdeps/powerpc/soft-fp/Versions: Likewise.
72629         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72630         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72631         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72632         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72633         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72634         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72635         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72636         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72637         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
72638         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
72639         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
72640         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
72641         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
72642         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
72643         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
72644         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
72645         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
72646         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
72647         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
72648         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
72649         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
72650         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
72651         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
72652         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
72653         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
72654         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
72655         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
72656         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
72658 2012-05-18  Andreas Jaeger  <aj@suse.de>
72660         * csu/.gitignore: Delete.
72662 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72664         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
72665         (timex): Use __syscall_slong_t.
72667 2012-05-18  Andreas Jaeger  <aj@suse.de>
72668             Carlos O'Donell  <carlos_odonell@mentor.com>
72670         * manual/install.texi (Configuring and compiling): Update
72671         description about files modified in the source directory.
72672         * INSTALL: Regenerated.
72674 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72676         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
72677         value.  Use "or" to set return value to -1.
72678         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
72679         negate return value.
72681 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72683         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
72684         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
72685         failure if the compiler has Graphite support disabled.
72686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
72687         Likewise.
72688         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
72689         (CFLAGS-memmove.c): Likewise.
72690         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
72691         Likewise.
72693 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72695         * sysdeps/x86_64/x32/_itoa.h: New file.
72697         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
72698         getdents system call only if kernel and user dirents have the
72699         same d_ino and d_off.
72701         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72702         LLONG_MAX != LONG_MAX.
72703         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72704         (_fitoa_word): Likewise.
72706         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
72707         years.
72708         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
72709         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
72710         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
72712         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
72713         include <bits/wordsize.h>.  Check __x86_64__ instead of
72714         __WORDSIZE.
72715         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
72716         if __x86_64__ is defined.  Use anonymous union on fpstate.
72718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
72719         anonymous union.
72721 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
72723         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
72724         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
72725         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
72726         Refer to _rtld_local_ro instead of _rtld_global_ro.
72727         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
72728         Likewise.
72729         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
72730         Likewise.
72731         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
72732         Likewise.
72733         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
72734         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
72735         of _rtld_global, and rtld_progname instead of _dl_argv[0].
72737         [BZ #10882]
72738         * sysdeps/powerpc/powerpc32/dl-machine.c
72739         (__elf_machine_runtime_setup) [PROF]: Don't reference
72740         _dl_prof_resolve.
72742 2012-05-18  Andreas Jaeger  <aj@suse.de>
72744         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
72745         function only available for GCCs before 3.4 since GCC 3.4
72746         introduced a builtin.
72747         (lrint): Likewise.
72748         (llrintf): Likewise.
72749         (llrint): Likewise.
72750         (fmaxf): Likewise.
72751         (fmax): Likewise.
72752         (fminf): Likewise.
72753         (fmin): Likewise.
72754         (rint): Likewise.
72755         (rintf): Likewise.
72756         (nearbyint): Likewise.
72757         (nearbyintf): Likewise.
72758         (ceil): Likewise.
72759         (ceilf): Likewise.
72760         (floor): Likewise.
72761         (floorf): Likewise.
72763 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72765         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
72766         on both fields and cast pointer to __syscall_ulong_t.
72768         * bits/types.h (__fsword_t): New type.
72769         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
72770         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
72771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72772         (__FSWORD_T_TYPE): Likewise.
72773         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72774         (__FSWORD_T_TYPE): Likewise.
72775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72776         (__FSWORD_T_TYPE): Likewise.
72777         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
72778         (__FSWORD_T_TYPE): Likewise.
72779         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
72780         __SWORD_TYPE with __fsword_t.
72781         (statfs64): Likewise.
72783 2012-05-17  David S. Miller  <davem@davemloft.net>
72785         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
72787 2012-05-17  Andreas Jaeger  <aj@suse.de>
72789         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
72790         warning.
72792 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72794         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
72796 2012-05-17  Andreas Jaeger  <aj@suse.de>
72798         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
72799         when it is used.
72801 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72803         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
72805 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72807         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
72808         * sysdeps/x86_64/tst-mallocalign1.c: New file.
72810 2012-05-17  Andreas Jaeger  <aj@suse.de>
72811             Carlos O'Donell  <carlos_odonell@mentor.com>
72813         [BZ #14059]
72814         * sysdeps/x86_64/multiarch/init-arch.h
72815         (bit_YMM_Usable): Rename to...
72816         (bit_AVX_Usable): ... this.
72817         (bit_FMA4_Usable): New macro.
72818         (bit_XMM_state): New macro.
72819         (bit_YMM_state): New macro.
72820         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
72821         [__ASSEMBLER__] (index_AVX_Usable): ... this.
72822         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
72823         (CPUID_OSXSAVE): New macro.
72824         (CPUID_AVX): New macro.
72825         (CPUID_FMA4): New macro.
72826         (index_YMM_Usable): Rename to...
72827         (index_AVX_Usable): ... this.
72828         (HAS_AVX): Use HAS_ARCH_FEATURE.
72829         (HAS_FMA4): Likewise.
72830         (HAS_YMM_USABLE): Remove.
72831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72832         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
72833         are present.
72834         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
72835         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
72836         * sysdeps/x86_64/multiarch/Makefile: Likewise.
72837         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
72838         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
72840 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72842         * math/libm-test.c: Support platforms without multiple rounding modes.
72843         * math/bug-nextafter.c: Support platforms without FP exceptions.
72844         * math/bug-nexttoward.c: Likewise.
72845         * math/test-fenv.c: Likewise.
72846         * math/test-misc.c: Likewise.
72847         * stdlib/bug-getcontext.c: Likewise.
72849 2012-05-17  Andreas Jaeger  <aj@suse.de>
72851         * manual/examples/search.c (critter_cmp): Change signature to
72852         avoid warnings.
72853         * manual/string.texi (Collation Functions): Likewise.
72855 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72857         * bits/types.h: Fold copyright years.
72858         * bits/typesizes.h: Likewise.
72859         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
72860         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
72861         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
72862         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
72863         * time/time.h: Likewise.
72865 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
72867         [BZ #208]
72868         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
72869         in instead of returning them.  Return void.
72870         (__libc_mallinfo): Accumulate over all arenas.
72871         (__malloc_stats): Adjust for change in int_mallinfo interface.
72873 2012-05-16  Roland McGrath  <roland@hack.frob.com>
72875         [BZ #10375]
72876         * configure.in (NM): Add AC_CHECK_TOOL for it.
72877         (libc_extra_cflags): New substituted variable.
72878         Check for -fstack-protector being used implicitly.
72879         * configure: Regenerated.
72880         * config.make.in (config-extra-cflags): New variable,
72881         gets @libc_extra_cflags@.
72882         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
72884         [BZ #10375]
72885         * configure.in: Check for _FORTIFY_SOURCE being predefined.
72886         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
72887         * configure: Regenerated.
72888         * config.make.in (CPPUNDEFS): New substituted variable.
72889         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
72890         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
72891         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
72893 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72895         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
72896         (mq_attr): Use __syscall_slong_t.
72898 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72900         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
72901         Check __x86_64__ instead of __WORDSIZE.
72902         (_STAT_VER_LINUX): Likewise.
72903         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
72904         __syscall_ulong_t and __syscall_slong_t.
72905         (stat64): Likewise.
72907 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72909         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
72911 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72913         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
72915 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72917         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
72918         __syscall_ulong_t.
72920         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
72921         include <bits/wordsize.h>.  Check __x86_64__ instead of
72922         __WORDSIZE.
72923         (greg_t): Use "__extension__ long long int" if __x86_64__ is
72924         defined.
72925         (mcontext_t): Replace "unsigned long" with "unsigned long long".
72927         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
72928         include <bits/wordsize.h>.  Check __x86_64__ instead of
72929         __WORDSIZE.
72930         (user_regs_struct): Use "__extension__ unsigned long long"
72931         instead of "unsigned long" if __x86_64__ is defined.
72932         (user): Likewise.  Pad after pointer field if __ILP32__ is
72933         defined.
72935 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
72937         * configure.in (makeinfo): Require version 4.5 or later.  Allow
72938         versions 5 to 9.
72939         * configure: Regenerated.
72940         * manual/install.texi (texinfo): Increase version requirement to
72941         4.5 or later.
72942         * INSTALL: Regenerated.
72944         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
72946 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72948         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
72950         * sysdeps/x86_64/x32/ffs.c: New file.
72952         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
72953         __syscall_ulong_t.
72954         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
72955         defined.  Use __syscall_ulong_t.
72956         (shminfo): Use __syscall_ulong_t.
72957         (shm_info): Likewise.
72959         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
72960         __syscall_ulong_t.
72962         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
72963         <bits/wordsize.h>.
72964         (msgqnum_t): Use __syscall_ulong_t.
72965         (msglen_t): Likewise.
72966         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
72967         __syscall_ulong_t.
72969         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
72970         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72972         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
72974         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
72975         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
72977         * sysvipc/sys/msg.h (msgbuf): Replace long int with
72978         __syscall_slong_t.
72980         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
72981         include <bits/wordsize.h>.  Check __x86_64__ instead of
72982         __WORDSIZE.
72984         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
72985         "unsigned long long int" if __x86_64__ is defined.
72986         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
72988         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
72989         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72990         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
72992         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
72993         <stdint.h>.
72994         (GET_PC): Cast to uintptr_t first.
72995         (GET_FRAME): Likewise.
72996         (GET_STACK): Likewise.
72998         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
72999         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73000         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73001         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73002         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73003         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73004         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73005         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73006         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73007         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73008         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73009         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73010         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73011         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73012         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73013         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73014         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73015         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73016         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73017         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73018         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73019         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73020         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73021         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73022         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73023         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73024         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73025         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73026         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73028 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73030         * Makerules (+depfiles): Also collect depfiles from .oS in
73031         $(extra-objs).
73032         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73033         .oS, $(libnldbl-routines)).
73035         * Makerules (native-compile-mkdep-flags): Define.
73036         * sunrpc/Makefile (extra-objs): Add $(addprefix
73037         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73038         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73039         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73040         calling $(make-target-directory).
73042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73044         * bits/types.h (__snseconds_t): Removed.
73045         * time/time.h (struct timespec): Replace __snseconds_t with
73046         __syscall_slong_t.
73047         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73048         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73049         Likewise.
73050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73051         (__SNSECONDS_T_TYPE): Likewise.
73052         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73053         (__SNSECONDS_T_TYPE): Likewise.
73054         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73055         (__SNSECONDS_T_TYPE): Likewise.
73057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73059         * sysdeps/mach/hurd/bits/typesizes.h
73060         (__SYSCALL_SLONG_TYPE): New macro.
73061         (__SYSCALL_ULONG_TYPE): Likewise.
73063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73065         * bits/types.h (__syscall_slong_t): New type.
73066         (__syscall_ulong_t): Likewise.
73068         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73069         (__SYSCALL_ULONG_TYPE): Likewise.
73070         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73071         (__SYSCALL_SLONG_TYPE): Likewise.
73072         (__SYSCALL_ULONG_TYPE): Likewise.
73073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73074         (__SYSCALL_SLONG_TYPE): Likewise.
73075         (__SYSCALL_ULONG_TYPE): Likewise.
73076         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73077         (__SYSCALL_SLONG_TYPE): Likewise.
73078         (__SYSCALL_ULONG_TYPE): Likewise.
73080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73082         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73083         Add sigaltstack-offsets.sym.
73084         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73085         <sigaltstack-offsets.h>.
73086         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73087         longjmp_msg pointer.
73088         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73089         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73090         signal stack.
73091         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73093 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73095         * elf/stackguard-macros.h: Remove file.
73096         * sysdeps/generic/stackguard-macros.h: New file.
73097         * sysdeps/i386/stackguard-macros.h: Likewise.
73098         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73099         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73100         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73101         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73102         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73103         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73104         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73105         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73106         <elf/stackguard-macros.h>.
73108         [BZ #14109]
73109         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73110         __aligned__ in attribute.
73111         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73112         (gregset_t): Likewise.
73114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73116         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73117         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73118         * sysdeps/x86_64/x32/Implies-after: New file.
73120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73122         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73123         and access return value for _dl_profile_fixup.  Use R10_LP to
73124         load frame size.
73126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73128         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73132         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73133         * sysdeps/x86_64/x32/sysdep.h: New file.
73135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73137         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73138         * sysdeps/x86_64/setjmp.S: Likewise.
73140 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73142         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73143         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73144         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73145         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73146         remove unused global constant.
73148 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73150         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73151         include of <not-cancel.h>.
73153 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73155         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73157 2012-05-15  Jeff Law  <law@redhat.com>
73158             Andreas Jaeger  <aj@suse.de>
73160         [BZ #13594]
73161         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73162         out from...
73163         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73164         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73165         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73166         code changing __hst_map_handle.map.
73168 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73170         * configure.in (sysnames): Look for Implies-before and Implies-after
73171         files.
73172         * configure: Regenerated.
73174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73176         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73177         8-byte data alignment with LP_SIZE alignment.
73179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73181         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73182         into R10_LP.
73184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73186         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73190         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73191         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73192         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73193         Likewise.
73194         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73198         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73199         (stackinfo_sub_sp): Likewise.
73201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73203         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73204         RAX_LP.
73206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73208         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73209         into R*_LP.
73211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73213         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73214         sizes into R*_LP.
73216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73218         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73222         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73223         into R11_LP and load __x86_64_shared_cache_size_half into
73224         R8_LP.
73226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73228         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73229         R8_LP.
73231 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73234         logb for POWER7.
73235         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73236         logbf for POWER7.
73237         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73238         logbl for POWER7.
73239         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73240         powerpc32/power7/fpu/s_logb.c via #include.
73241         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73242         powerpc32/power7/fpu/s_logbf.c via #include.
73243         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73244         powerpc32/power7/fpu/s_logbl.c via #include.
73246 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73248         * README.libm: Remove file.
73250 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73252         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73253         count for x32.  Use R*_LP and omit operand-size suffix.
73255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73257         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73258         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73259         * sysdeps/x86_64/x32/shlib-versions: New file.
73261 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73263         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73264         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73265         Use _dl_fatal_printf instead.
73267 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73269         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73270         set if not set by the user.  Do not allow for being unset.
73271         * sysdeps/unix/sysv/linux/configure: Regenerated.
73273 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73275         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73276         the `q' suffix from lea and replace .quad with ASM_ADDR.
73278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73281         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73282         instead of $17.
73283         (PTR_DEMANGLE): Likewise.
73285 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73287         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73288         (LP_OP): Likewise.
73289         (ASM_ADDR): Likewise.
73290         (RAX_LP): Likewise.
73291         (RBP_LP): Likewise.
73292         (RBX_LP): Likewise.
73293         (RCX_LP): Likewise.
73294         (RDI_LP): Likewise.
73295         (RSI_LP): Likewise.
73296         (RSP_LP): Likewise.
73297         (R8_LP): Likewise.
73298         (R9_LP): Likewise.
73299         (R10_LP): Likewise.
73300         (R10_LP): Likewise.
73301         (R11_LP): Likewise.
73302         (R12_LP): Likewise.
73303         (R13_LP): Likewise.
73304         (R14_LP): Likewise.
73305         (R15_LP): Likewise.
73307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73309         * sysdeps/x86_64/x32/dl-machine.h: New file.
73311 2012-05-14  Andreas Jaeger  <aj@suse.de>
73313         * manual/Makefile (subdir): Remove export of subdir.
73314         (all): Remove target.
73315         (.PHONY): Remove all from list.
73316         (mkinstalldirs): Remove.
73317         (.PHONY): Remove installdirs from list.
73318         ($(inst_infodir)/libc.info): Use make-target-directory.
73319         (installdirs): Remove.
73320         (subdir_%): Remove.
73321         (glibc-targets): Remove.
73322         (lib): Remove.
73323         (stubs): Remove.
73324         ($(objpfx)stubs ../po/manual.pot): Remove.
73325         ($(objpfx)stamp%): Remove.
73326         (make-target-directory): Remove.
73327         (subdir_install): Remove.
73328         (routines): Remove.
73329         (aux): Remove.
73330         (sources): Remove.
73331         (objects): Remove.
73332         (headers): Remove.
73334         [BZ #13750]
73335         * manual/.gitignore: Remove, it's not needed anymore.
73336         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73337         all files in it.
73338         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73339         directory.
73340         (texis): Renamed to $(objpfx)texis.
73341         (texis-path): New, contains path to generated files.
73342         (chapters.%): Use texis-path for complete path, add extra argument
73343         libc-texinfo.sh.
73344         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73345         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73346         (summary,texi, stamp-summary): Use complete path of
73347         files. Generate files in build dir.
73348         (dir-add.texi): Build in build dir.
73349         (libm-err.texi,stamp-libm-err): Likewise.
73350         (version.texi, stamp-version): Likewise.
73351         (.%c.texi): Likewise.
73352         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73353         (mostlyclean): Remove target.
73354         (realclean): Remove target.
73355         (generated): Add new variable with contents from mostlyclean and
73356         realclean, remove entries duplicated in common-mostlyclean, add
73357         stamp-libm-err and stamp-version.
73358         (generated-dirs): Add libc directory.
73359         ($(inst_infodir)/libc.info): Install files from build dir.
73361         * manual/install.texi (Configuring and compiling): Adjust since
73362         the info files are not part of the tar ball anymore.
73364 2012-05-14  Andreas Jaeger  <aj@suse.de>
73366         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73367         variable.
73369 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73371         [BZ #13717]
73372         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73373         to 2.2.0 where earlier.
73374         * sysdeps/unix/sysv/linux/configure: Regenerated.
73375         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73376         Remove conditional code.
73377         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73378         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73379         Remove conditional code.
73380         [!__NR_lchown]: Likewise.
73381         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73382         [__NR_lchown]: Likewise.
73383         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73384         comment referencing __ASSUME_LCHOWN_SYSCALL.
73385         * sysdeps/unix/sysv/linux/i386/sigaction.c
73386         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73387         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73388         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73389         Remove conditional code.
73390         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73391         (__protocol_available): Remove #if 0 code.
73392         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73393         conditional code.
73394         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73395         * sysdeps/unix/sysv/linux/kernel-features.h
73396         (__ASSUME_GETCWD_SYSCALL): Don't define.
73397         (__ASSUME_REALTIME_SIGNALS): Likewise.
73398         (__ASSUME_PREAD_SYSCALL): Likewise.
73399         (__ASSUME_PWRITE_SYSCALL): Likewise.
73400         (__ASSUME_POLL_SYSCALL): Likewise.
73401         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73402         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73403         non-SPARC.
73404         (__ASSUME_SIOCGIFNAME): Don't define.
73405         (__ASSUME_MSG_NOSIGNAL): Likewise.
73406         (__ASSUME_SENDFILE): Define unconditionally.
73407         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73408         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73409         conditional code.
73410         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73411         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73412         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73413         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73414         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73415         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73416         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73418         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73421         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73422         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73424         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73427         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73428         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73430         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73431         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73433         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73436         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73437         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73439         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73441         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73442         Remove conditional code.
73443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73444         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73445         Remove conditional code.
73446         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73447         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73448         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73449         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73450         Remove conditional code.
73451         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73452         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73453         Remove conditional code.
73454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73455         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73456         Remove conditional code.
73457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73458         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73459         Remove conditional code.
73460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73461         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73462         Remove conditional code.
73463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73464         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73467         * sysdeps/unix/sysv/linux/sigaction.c
73468         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73469         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73470         * sysdeps/unix/sysv/linux/sigpending.c
73471         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73472         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73473         * sysdeps/unix/sysv/linux/sigprocmask.c
73474         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73475         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73476         * sysdeps/unix/sysv/linux/sigsuspend.c
73477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73479         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73480         (__libc_missing_rt_sigs): Remove.
73481         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73482         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73483         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73484         Remove conditional code.
73485         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73486         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73487         return 1.
73488         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73489         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73490         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73491         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73493 2012-05-14  Andreas Jaeger  <aj@suse.de>
73495         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73496         it's not used in glibc.
73497         (__coshm1): Likewise.
73498         (__acosh1p): Likewise.
73499         (__sgn): Likewise.
73501         * manual/string.texi (Copying and Concatenation): Add missing
73502         variable in concat example.
73503         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73505 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73507         [BZ #14103]
73508         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73509         __builtin_clzl with __builtin_clzll.
73511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73513         [BZ #14104]
73514         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73515         libc_freeres_ptr.
73517 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73519         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73520         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73521         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73522         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73524 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73526         * NEWS: Update ia64 info.
73528 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73530         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73531         used as bcopy.
73533 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73535         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73536         * sysdeps/unix/syscalls.list (dup3): Likewise.
73537         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73538         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73540 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73542         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73543         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73545 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73547         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73548         thread pointer.
73549         (TLS_IE): Use mov/add instead of movq/addq to load thread
73550         pointer.
73551         (TLS_GD_PREFIX): New.
73552         (TLS_GD): Use it.
73554 2012-05-11  David S. Miller  <davem@davemloft.net>
73556         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73557         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73558         (_FPU_SETCW): Likewise.
73560 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73562         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73563         is 32-byte aligned.
73565 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73567         [BZ #11837]
73568         * iconvdata/gb18030.c: Update tables.
73569         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73570         characters specially.
73571         (BODY for TO_LOOP): Add encoding of missing ranges.
73573 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73575         [BZ #13673]
73576         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73577         * sysdeps/mach/hurd/dup3.c: Likewise.
73578         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73579         * sysdeps/powerpc/memmove.c:: Likewise.
73581 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73583         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73584         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73586 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73588         * elf/elf.h (R_X86_64_RELATIVE64): New.
73589         (R_X86_64_NUM): Updated.
73590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73591         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73592         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73593         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73594         tst-quad1pie tst-quad2pie
73595         (modules-names): Add tst-quadmod1 tst-quadmod2.
73596         ($(objpfx)tst-quad1): New dependency.
73597         ($(objpfx)tst-quad2): Likewise.
73598         ($(objpfx)tst-quad1pie): Likewise.
73599         ($(objpfx)tst-quad2pie): Likewise.
73600         * sysdeps/x86_64/tst-quad1.c: New file.
73601         * sysdeps/x86_64/tst-quad1pie.c: New file.
73602         * sysdeps/x86_64/tst-quad2.c: Likewise.
73603         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73604         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73605         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73606         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73607         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73611         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73612         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73613         * streams/stropts.h (t_scalar_t): Define type.
73615         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73616         (_PATH_PRESERVE): Set to "/var/lib".
73617         (_PATH_RWHODIR): Set to "/var/spool/rwho".
73619         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73620         instead of int.
73622         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73623         if __dir_mkfile succeeded.
73625         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73626         checking for _hurd_dtablesize.  Unlock it right after having
73627         finished _hurd_dtable allocation.
73629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73631         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73632         * sysdeps/mach/hurd/configure: Regenerated.
73633         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73634         special-casing to...
73635         * sysdeps/gnu/configure.in: ... this new file.
73636         * sysdeps/unix/sysv/linux/configure: Regenerated.
73637         * sysdeps/gnu/configure: New generated file.
73639         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
73640         for Linux: use nsec instead of usec, as well as:
73641         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
73642         members of type struct timespec.
73643         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
73644         New macros.
73645         (struct stat64): Likewise.
73646         (_STATBUF_ST_NSEC): New macro.
73647         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
73649         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73650         __strtoul_internal rather than strtoul.
73652 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73654         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
73655         and reject them.
73657 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73659         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
73660         which preserves existing values.
73661         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
73663 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73665         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
73666         TIMEOUT values.  Return EINVAL for NFDS values either negative or
73667         greater than FD_SETSIZE.
73669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73671         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
73672         allocated, call __vm_protect to finish enabling the existing space, and
73673         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
73674         allocate the remainder.
73676 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73678         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
73679         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
73681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73683         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
73684         sysdeps/mach/hurd/readlink.c.
73686         * posix/tst-sysconf.c (posix_options): Only use
73687         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
73688         _POSIX_SYNCHRONIZED_IO when they are defined
73689         * sysdeps/mach/hurd/bits/posix_opt.h:
73690         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
73691         (_XOPEN_REALTIME): Undefine macro.
73692         (_XOPEN_REALTIME_THREADS): Undefine macro.
73693         (_XOPEN_SHM): Undefine macro.
73694         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
73695         macro to -1.
73696         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
73697         macro to -1.
73698         (_POSIX_ASYNC_IO): Undefine macro.
73699         (_POSIX_PRIORITIZED_IO): Undefine macro.
73700         (_POSIX_SPIN_LOCKS): Define macro to -1.
73702         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
73703         SA_NODEFER, SA_RESETHAND.
73704         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
73705         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
73706         F_DUPFD_CLOEXEC.
73708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73710         * elf/Makefile (pldd-modules): Define unconditionally.
73712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73714         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
73716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73718         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73719         Return ENOENT when name is empty.
73720         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
73722 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73724         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
73726         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
73728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73730         Fix mlock in all cases except non-readable pages.
73731         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
73732         instead of VM_PROT_ALL as parameter to __vm_wire function.
73734         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73735         (__mkdir): When path is `/', just fail with EEXIST.
73736         * sysdeps/mach/hurd/mkdirat.c: Likewise.
73738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73740         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
73741         <sys/uio.h> (for writev).
73742         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
73743         and <sys/param.h> (for MIN).
73745 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73747         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
73748         REQUESTED_TIME.  Properly set the remaining time and return EINTR
73749         if interrupted.
73751 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73753         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
73754         Depend on against $(link-rpcuserlibs).
73756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73758         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
73759         (__libc_stack_end): Do not use attribute_relro.
73760         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
73761         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
73762         to libthread-provided value.
73763         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
73764         attribute_relro.
73766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73768         [BZ #3748]
73769         * bits/libc-lock.h (__libc_once_get): New macro.
73770         * sysdeps/mach/bits/libc-lock.h: Likewise.
73771         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
73772         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
73773         instead of using implementation details.
73775         * libio/fileops.c: Unconditionally include <kernel-features.h>.
73776         * libio/freopen.c: Likewise.
73777         * libio/freopen64.c: Likewise.
73778         * misc/syslog.c: Likewise.
73779         * nscd/connections.c: Likewise.
73780         * nscd/netgroupcache.c: Likewise.
73781         * sysdeps/posix/getcwd.c: Likewise.
73783 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73785         * math/w_ilogbf.c: Add #include <limits.h>.
73787 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73789         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
73790         path instead of returning without unlocking.
73792         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
73793         immediate-write ioctls.
73794         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
73796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73798         * sysdeps/mach/hurd/i386/init-first.c (init): Use
73799         __builtin_frame_address instead of making assumptions about the
73800         location of the return address relative to DATA.  Force early load of
73801         the return address.
73802         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
73803         __builtin_frame_address.
73805         dup3 for GNU Hurd.
73806         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
73807         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
73808         implement dup3 and do some further code clean-ups.
73809         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
73810         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
73812 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73814         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
73816         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
73817         HURD_CRITICAL_END around holding _hurd_dtable_lock.
73818         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
73819         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
73820         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
73821         d->port.lock.
73823         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
73824         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
73825         when handler == SIG_ERR, not when handler != SIG_ERR.
73827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73829         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
73830         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
73831         definitions.
73833         accept4 for GNU Hurd.
73834         * include/sys/socket.h (__libc_accept4): New prototype.
73835         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
73836         to implement __libc_accept4.
73837         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
73838         __libc_accept4.
73839         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
73841         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
73842         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
73843         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
73844         signal-defines.sym.
73846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73848         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
73850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73852         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
73853         assertion on O_CLOEXEC flag.
73854         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
73855         * hurd/intern-fd.c: Likewise.
73856         * hurd/port2fd.c: Likewise.
73858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73860         [BZ #3906]
73861         * bits/in.h (IPV6_PKTINFO): Define new macro.
73862         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
73864 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73866         [BZ #13954]
73867         [BZ #13955]
73868         [BZ #13956]
73869         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
73870         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73871         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
73872         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73874         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73875         * math/libm-test.inc (logb_test) : Additional logb tests.
73877 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
73878             Andreas Jaeger  <aj@suse.de>
73880         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
73881         * configure: Regenerated.
73882         * config.h.in (LINK_OBSOLETE_RPC): New macro.
73883         * config.make.in (link-obsolete-rpc): New substituted variable.
73884         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
73885         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
73886         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73887         (shared-only-routines): Don't set it under [link-obsolete-rpc],
73888         so that libc.a contains the symbols.
73889         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
73890         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
73891         * sunrpc/auth_none.c: Likewise.
73892         * sunrpc/auth_unix.c: Likewise.
73893         * sunrpc/authdes_prot.c: Likewise.
73894         * sunrpc/authuxprot.c: Likewise.
73895         * sunrpc/clnt_gen.c: Likewise.
73896         * sunrpc/clnt_perr.c: Likewise.
73897         * sunrpc/clnt_raw.c: Likewise.
73898         * sunrpc/clnt_simp.c: Likewise.
73899         * sunrpc/clnt_tcp.c: Likewise.
73900         * sunrpc/clnt_udp.c: Likewise.
73901         * sunrpc/clnt_unix.c: Likewise.
73902         * sunrpc/des_crypt.c: Likewise.
73903         * sunrpc/des_soft.c: Likewise.
73904         * sunrpc/get_myaddr.c: Likewise.
73905         * sunrpc/key_call.c: Likewise.
73906         * sunrpc/key_prot.c: Likewise.
73907         * sunrpc/netname.c: Likewise.
73908         * sunrpc/pm_getmaps.c: Likewise.
73909         * sunrpc/pm_getport.c: Likewise.
73910         * sunrpc/pmap_clnt.c: Likewise.
73911         * sunrpc/pmap_prot.c: Likewise.
73912         * sunrpc/pmap_prot2.c: Likewise.
73913         * sunrpc/pmap_rmt.c: Likewise.
73914         * sunrpc/publickey.c: Likewise.
73915         * sunrpc/rpc_cmsg.c: Likewise.
73916         * sunrpc/rpc_common.c: Likewise.
73917         * sunrpc/rpc_dtable.c: Likewise.
73918         * sunrpc/rpc_prot.c: Likewise.
73919         * sunrpc/rpc_thread.c: Likewise.
73920         * sunrpc/rtime.c: Likewise.
73921         * sunrpc/svc.c: Likewise.
73922         * sunrpc/svc_auth.c: Likewise.
73923         * sunrpc/svc_raw.c: Likewise.
73924         * sunrpc/svc_run.c: Likewise.
73925         * sunrpc/svc_tcp.c: Likewise.
73926         * sunrpc/svc_udp.c: Likewise.
73927         * sunrpc/svc_unix.c: Likewise.
73928         * sunrpc/svcauth_des.c: Likewise.
73929         * sunrpc/xcrypt.c: Likewise.
73930         * sunrpc/xdr.c: Likewise.
73931         * sunrpc/xdr_array.c: Likewise.
73932         * sunrpc/xdr_float.c: Likewise.
73933         * sunrpc/xdr_intXX_t.c: Likewise.
73934         * sunrpc/xdr_mem.c: Likewise.
73935         * sunrpc/xdr_rec.c: Likewise.
73936         * sunrpc/xdr_ref.c: Likewise.
73937         * sunrpc/xdr_sizeof.c: Likewise.
73938         * sunrpc/xdr_stdio.c: Likewise.
73940 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73942         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
73943         change.  Update copyright years.
73945 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
73947         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
73949 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
73950             Joseph Myers  <joseph@codesourcery.com>
73951             Paul Pluzhnikov  <ppluzhnikov@google.com>
73953         [BZ #14012]
73954         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
73955         requiring rpcgen.
73956         [cross-compiling] (extra-libs): Likewise.
73957         [cross-compiling] (extra-libs-others): Likewise.
73958         [cross-compiling] (librpcsvc-routines): Likewise.
73959         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
73960         [cross-compiling] (omit-deps): Likewise.
73961         (sunrpc-CPPFLAGS): New variable.
73962         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
73963         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
73964         (cross-rpcgen-objs): New variable.
73965         (extra-objs): Append $(cross-rpcgen-objs).
73966         ($(cross-rpcgen-objs)): New rule.
73967         ($(objpfx)cross-rpcgen): Likewise.
73968         (rpcgen-cmd): Define to use $(built-program-file).  Expand
73969         comment.
73970         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
73971         ($(objpfx)x%.stmp): Likewise.
73972         * sunrpc/proto.h [IS_IN_build] (_): Define.
73973         [IS_IN_build] (_libc_intl_domainname): Likewise.
73975 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
73978         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
73979         and R_X86_64_TPOFF64.
73981 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
73983         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
73984         sysdeps/unix/sysv/syscalls.list.
73985         (stime): Likewise.
73986         (utime): Likewise.
73987         * sysdeps/unix/sysv/syscalls.list: Remove file.
73989 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
73991         [BZ #3440]
73992         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
73993         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
73994         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
73995         (__LC_IDENTIFICATION): Make these macros useful in #if
73996         expressions, as required by C99.
73998 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74000         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74001         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74002         after this.
74004 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74006         * stdlib/longlong.h: Updated from GCC.
74008 2012-05-09  Andreas Jaeger  <aj@suse.de>
74010         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74011         default is first entry.
74012         (run_mode): Set type.
74013         (main): Remove informal message about syslog.
74014         (options): Fix typo.
74016         [BZ #14053]
74017         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74018         to asm.
74019         (lrint): Likewise.
74020         (llrintf): Likewise.
74021         (llrint): Likewise.
74022         (rint): Likewise.
74023         (rintf): Likewise.
74024         (nearbyint): Likewise.
74025         (nearbyintf): Likewise.
74027 2012-05-09  Andreas Jaeger  <aj@suse.de>
74028             Pedro Alves  <palves@redhat.com>
74030         * nscd/nscd.c (run_mode): Use enum.
74031         (main): Cleanup coding style issue.
74033 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74034             Andreas Jaeger  <aj@suse.de>
74036         * nscd/nscd.c (go_background): Replaced with...
74037         (run_mode): ... this.
74038         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74039         (options): Add -F --foreground.
74040         (main): Implement it.
74041         (parse_opt): Parse it.
74043 2012-05-09  Andreas Jaeger  <aj@suse.de>
74045         [BZ #14083]
74046         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74047         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74048         -Wconversion warning.
74049         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74050         Likewise.
74052 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74054         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74055         == 0.
74056         (LC_ALL): Use macro-int-constant.
74057         (LC_COLLATE): Likewise.
74058         (LC_CTYPE): Likewise.
74059         (LC_MESSAGES): Likewise.
74060         (LC_MONETARY): Likewise.
74061         (LC_NUMERIC): Likewise.
74062         (LC_TIME): Likewise.
74063         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74064         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74065         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74066         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74067         Specify type.
74068         [C99-based standards] (float_t): Expect type.
74069         [C99-based standards] (double_t): Expect type.
74070         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74071         type.
74072         [C99-based standards] (HUGE_VALL): Likewise.
74073         [C99-based standards] (INFINITY): Likewise.
74074         [C99-based standards] (NAN): Likewise.
74075         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74076         [C99-based standards] (FP_NAN): Likewise.
74077         [C99-based standards] (FP_NORMAL): Likewise.
74078         [C99-based standards] (FP_SUBNORMAL): Likewise.
74079         [C99-based standards] (FP_ZERO): Likewise.
74080         [C99-based standards] (FP_FAST_FMA): Use
74081         optional-macro-int-constant.  Specify type.  Require == 1.
74082         [C99-based standards] (FP_FAST_FMAF): Likewise.
74083         [C99-based standards] (FP_FAST_FMAL): Likewise.
74084         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74085         [C99-based standards] (FP_ILOGBNAN): Likewise.
74086         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74087         Specify type.
74088         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74089         [C99-based standards] (math_errhandling): Specify type.
74090         [ISO99 || ISO11] (signgam): Do not allow.
74091         [non-C99-based standards] (copysignf): Do not allow.
74092         [non-C99-based standards] (exp2f): Likewise.
74093         [non-C99-based standards] (log2f): Likewise.
74094         [non-C99-based standards] (modff): Allow.
74095         [non-C99-based standards] (erff): Do not allow.
74096         [non-C99-based standards] (erfcf): Likewise.
74097         [non-C99-based standards] (gammaf): Likewise.
74098         [non-C99-based standards] (hypotf): Likewise.
74099         [non-C99-based standards] (j0f): Likewise.
74100         [non-C99-based standards] (j1f): Likewise.
74101         [non-C99-based standards] (jnf): Likewise.
74102         [non-C99-based standards] (lgammaf): Likewise.
74103         [non-C99-based standards] (tgammaf): Likewise.
74104         [non-C99-based standards] (y0f): Likewise.
74105         [non-C99-based standards] (y1f): Likewise.
74106         [non-C99-based standards] (ynf): Likewise.
74107         [non-C99-based standards] (isnanf): Likewise.
74108         [non-C99-based standards] (acoshf): Likewise.
74109         [non-C99-based standards] (asinhf): Likewise.
74110         [non-C99-based standards] (atanhf): Likewise.
74111         [non-C99-based standards] (cbrtf): Likewise.
74112         [non-C99-based standards] (expm1f): Likewise.
74113         [non-C99-based standards] (ilogbf): Likewise.
74114         [non-C99-based standards] (log1pf): Likewise.
74115         [non-C99-based standards] (logbf): Likewise.
74116         [non-C99-based standards] (nextafterf): Likewise.
74117         [non-C99-based standards] (remainderf): Likewise.
74118         [non-C99-based standards] (rintf): Likewise.
74119         [non-C99-based standards] (scalbf): Likewise.
74120         [non-C99-based standards] (copysignl): Likewise.
74121         [non-C99-based standards] (exp2l): Likewise.
74122         [non-C99-based standards] (log2l): Likewise.
74123         [non-C99-based standards] (modfl): Allow.
74124         [non-C99-based standards] (erfl): Do not allow.
74125         [non-C99-based standards] (erfcl): Likewise.
74126         [non-C99-based standards] (gammal): Likewise.
74127         [non-C99-based standards] (hypotl): Likewise.
74128         [non-C99-based standards] (j0l): Likewise.
74129         [non-C99-based standards] (j1l): Likewise.
74130         [non-C99-based standards] (jnl): Likewise.
74131         [non-C99-based standards] (lgammal): Likewise.
74132         [non-C99-based standards] (tgammal): Likewise.
74133         [non-C99-based standards] (y0l): Likewise.
74134         [non-C99-based standards] (y1l): Likewise.
74135         [non-C99-based standards] (ynl): Likewise.
74136         [non-C99-based standards] (isnanl): Likewise.
74137         [non-C99-based standards] (acoshl): Likewise.
74138         [non-C99-based standards] (asinhl): Likewise.
74139         [non-C99-based standards] (atanhl): Likewise.
74140         [non-C99-based standards] (cbrtl): Likewise.
74141         [non-C99-based standards] (expm1l): Likewise.
74142         [non-C99-based standards] (ilogbl): Likewise.
74143         [non-C99-based standards] (log1pl): Likewise.
74144         [non-C99-based standards] (logbl): Likewise.
74145         [non-C99-based standards] (nextafterl): Likewise.
74146         [non-C99-based standards] (remainderl): Likewise.
74147         [non-C99-based standards] (rintl): Likewise.
74148         [non-C99-based standards] (scalbl): Likewise.
74149         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74150         [non-C99-based standards] (FP_*): Do not allow.
74151         [C99-based standards] (FP_*): Change to
74152         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74153         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74154         allow.
74155         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74156         (SIG_ERR): Likewise.
74157         [X/Open-based standards] (SIG_HOLD): Likewise.
74158         (SIG_IGN): Likewise.
74159         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74160         positive value.
74161         (SIGFPE): Likewise.
74162         (SIGILL): Likewise.
74163         (SIGINT): Likewise.
74164         (SIGSEGV): Likewise.
74165         (SIGTER): Likewise.
74166         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74167         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74168         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74169         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74170         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74171         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74172         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74173         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74174         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74175         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74176         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74177         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74178         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74179         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74180         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74181         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74182         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74183         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74184         [X/Open-based standards] (SIGTRAP): Likewise.
74185         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74186         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74187         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74188         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74189         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74190         allow.
74192 2012-05-08  Ian Wienand  <ianw@vmware.com>
74194         [BZ #14080]
74195         * time/tzset.c (__tzset_parse_tz): Update default rules for
74196         daylight time changes in the Energy Policy Act of 2005.
74198 2012-05-09  Andreas Jaeger  <aj@suse.de>
74200         [BZ #13983]
74201         * elf/ldconfig.c (parse_conf): Change string to make clear that
74202         ldconfig only issued a warning if ld.so.conf does not exist.
74204 2012-05-08  David S. Miller  <davem@davemloft.net>
74206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74207         movxtod instead of popping the value on the stack.
74209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74211 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74213         * config.h.in: Add HAVE_ARM_PCS_VFP.
74215 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74217         [BZ #13979]
74218         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74219         checking but the checks are disabled for any reason.
74221 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74223         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74224         and ELF64_R_TYPE with ELFW(R_TYPE).
74226 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74228         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74229         (ulimit): Likewise.
74231         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74232         (settimeofday): Likewise.
74234 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74236         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74237         a struct th_u2 inside the union, and move tu_block/tu_code into
74238         a new th_u3 union of tu_block/tu_code inside of that.  Move
74239         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74240         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74241         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74242         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74243         (th_stuff): Change to th_u1.tu_stuff.
74244         (th_data): Define.
74245         (th_msg): Change to th_u1.th_u2.tu_data.
74247 2012-05-07  David S. Miller  <davem@davemloft.net>
74249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74251         [BZ #14074]
74252         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74253         (SETUP_PIC_REG): Use it.
74254         (SETUP_PIC_REG_LEAF): Use it.
74256 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74258         [BZ #13885]
74259         [BZ #13923]
74260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74261         USE_AS_EXPM1L.
74262         (EXPL_FINITE): Likewise.
74263         (FLDLOG): Likewise.
74264         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74265         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74266         e_expl.S.
74267         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74268         USE_AS_EXPM1L.
74269         (EXPL_FINITE): Likewise.
74270         (FLDLOG): Likewise.
74271         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74272         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74273         e_expl.S.
74274         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74275         test of -max_value argument for long double.
74276         * sysdeps/i386/fpu/libm-test-ulps: Update.
74277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74279 2012-05-06  David S. Miller  <davem@davemloft.net>
74281         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74282         quad soft-float symbols whose references which are compiler
74283         generated.
74284         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74286 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74288         [BZ #13884]
74289         [BZ #13914]
74290         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74291         USE_AS_EXP10L.
74292         (EXPL_FINITE): Likewise.
74293         (FLDLOG): Likewise.
74294         (c0): Likewise.
74295         (c1): Likewise.
74296         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74297         Adjust comments for base varying.
74298         (__expl_finite): Change alias to EXPL_FINITE.
74299         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74300         e_expl.S.
74301         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74302         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74303         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74304         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74306         USE_AS_EXP10L.
74307         (EXPL_FINITE): Likewise.
74308         (FLDLOG): Likewise.
74309         (c0): Likewise.
74310         (c1): Likewise.
74311         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74312         Adjust comments for base varying.
74313         (__expl_finite): Change alias to EXPL_FINITE.
74314         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74315         tests for bugs.
74316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74318         [BZ #14064]
74319         * math/libm-test.inc (check_float_internal): Correct ulp
74320         calculation for subnormal expected results.
74322 2012-05-06  Andreas Jaeger  <aj@suse.de>
74324         * Makeconfig (+math-flags): New, set to -frounding-math.
74325         (+cflags): Add +math-flags so that all of glibc gets compiled with
74326         it.
74328         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74330 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74332         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74333         Disable one test.
74335         [BZ #13787]
74336         [BZ #13922]
74337         [BZ #14036]
74338         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74339         (__ieee754_expl): Allow for and saturate large arguments.
74340         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74341         (u_threshold): Likewise.
74342         (__exp): Call __ieee754_exp before checking for overflow and
74343         underflow.
74344         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74345         (u_threshold): Likewise.
74346         (__expf): Call __ieee754_expf before checking for overflow and
74347         underflow.
74348         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74349         (u_threshold): Likewise.
74350         (__expl): Call __ieee754_expl before checking for overflow and
74351         underflow.
74352         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74353         (__ieee754_expl): Allow for and saturate large arguments.
74354         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74355         missing overflow exception on overflow.
74356         (expm1_test): Do not allow missing overflow exception on overflow.
74358         * sysdeps/i386/fpu/e_expl.c: Move to ...
74359         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74360         rather than using inline asm.
74361         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74362         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74363         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74365         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74366         (nice): Likewise.
74367         (poll): Likewise.
74368         (signal): Likewise.
74369         (time): Likewise.
74370         (times): Likewise.
74372 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74374         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74375         sysdeps/unix/common/syscalls.list.
74376         (fchmod): Likewise.
74377         (fchown): Likewise.
74378         (ftruncate): Likewise.
74379         (getrusage): Likewise.
74380         (gettimeofday): Likewise.
74381         (setpgid): Likewise.
74382         (setregid): Likewise.
74383         (setreuid): Likewise.
74384         (sigaction): Likewise.
74385         (truncate): Likewise.
74386         (vhangup): Likewise.
74387         * sysdeps/unix/common/syscalls.list: Remove file.
74388         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74389         * sysdeps/unix/sysv/linux/Implies: Likewise.
74391 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74393         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74395         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74396         Moved to ...
74397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74398         Here.
74399         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74400         to ...
74401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74402         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74403         to ...
74404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74405         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74406         to ...
74407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74408         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74409         to ...
74410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74411         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74412         to ...
74413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74414         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74415         to ...
74416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74417         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74418         to ...
74419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74420         Here.
74421         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74422         to ...
74423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74424         Here.
74425         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74426         to ...
74427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74428         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74429         Moved to ...
74430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74431         Here.
74432         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74433         to ...
74434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74436 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74438         * sysdeps/unix/common/bits/dirent.h: Remove file.
74439         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74441         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74442         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74443         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74444         * sysdeps/unix/bsd/isatty.c: Likewise.
74445         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74446         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74447         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74449 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74451         [BZ #13563]
74452         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74453         long double comparison inaccuracies.
74454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74457 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74459         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74460         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74462 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74464         [BZ #14049]
74465         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74466         nonzero digits before rounding a hex value.
74467         * stdlib/tst-strtod.c (tests): Add another test.
74469 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74471         * sysdeps/s390/fpu/libm-test-ulps: Update.
74473 2012-05-03  Andreas Jaeger  <aj@suse.de>
74475         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74476         does not get optimized out.
74477         (malloc_opt_barrier): New.
74479 2012-05-03  Andreas Jaeger  <aj@suse.de>
74480             Roland McGrath  <roland@hack.frob.com>
74482         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74483         intermediate file deletion.
74484         (generated): Add .symlist files.
74486 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74488         [BZ #13775]
74489         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74490         Redirect under this condition.
74491         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74492         [__USE_GNU] (__dprintf_chk): Not under this condition.
74493         [__USE_GNU] (__vdprintf_chk): Likewise.
74494         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74495         under this condition.
74496         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74497         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74498         [__USE_XOPEN2K8] (vdprintf): Likewise.
74499         [__USE_GNU] (__dprintf_chk): Not under this condition.
74500         [__USE_GNU] (__vdprintf_chk): Likewise.
74501         [__USE_GNU] (dprintf): Likewise.
74502         [__USE_GNU] (vdprintf): Likewise.
74504 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74506         * elf/Makefile (common-generated): Set this instead of generated for
74507         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74508         $(all-built-dso)-derived lists.
74510 2012-05-03  Andreas Jaeger  <aj@suse.de>
74512         * sysdeps/i386/fpu/libm-test-ulps: Update.
74514         * FAQ: Removed.
74515         * FAQ.in: Likewise.
74516         * scripts/gen-FAQ.pl: Likewise.
74517         * manual/install.texi (Installation): Point to online location of
74518         FAQ.
74519         * Makefile (files-for-dist): Remove FAQ.
74520         (FAQ): Remove.
74522 2012-05-02  Allan McRae  <allan@archlinux.org>
74524         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74525         (LDFLAGS-reldepmod5.so): Likewise.
74526         (LDFLAGS-reldep6mod1.so): Likewise.
74527         (LDFLAGS-reldep6mod4.so): Likewise.
74528         (LDFLAGS-reldep8mod3.so): Likewise.
74529         (LDFLAGS-unload4mod1.so): Likewise.
74530         (LDFLAGS-unload4mod2.so): Likewise.
74531         (LDFLAGS-tst-initorder): Likewise.
74532         (LDFLAGS-tst-initordera2.so): Likewise.
74533         (LDFLAGS-tst-initordera3.so): Likewise.
74534         (LDFLAGS-tst-initordera4.so): Likewise.
74535         (LDFLAGS-tst-initorderb2.so): Likewise.
74536         (LDFLAGS-noload): Likewise.
74537         (LDFLAGS-next): Likewise.
74538         (LDFLAGS-order2mod1.so): Likewise.
74539         (LDFLAGS-order2mod2.so): Likewise.
74540         (LDFLAGS-tst-initorder2): Likewise.
74541         (LDFLAGS-tst-initorder2a.so): Likewise.
74542         (LDFLAGS-tst-initorder2b.so): Likewise.
74543         (LDFLAGS-tst-initorder2c.so): Likewise.
74544         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74546 2012-05-02  David S. Miller  <davem@davemloft.net>
74548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74550 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74552         [BZ #14055]
74553         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74555 2012-05-02  Andreas Jaeger  <aj@suse.de>
74557         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74558         since we manipulate rounding mode.
74559         (CPPFLAGS-test-idouble.c): Likewise.
74560         (CPPFLAGS-test-ifloat.c): Likewise.
74561         (CFLAGS-test-ldouble.c): Likewise.
74562         (CFLAGS-test-double.c): Likewise.
74563         (CFLAGS-test-float.c): Likewise.
74564         (CFLAGS-test-misc.c): Likewise.
74565         (CFLAGS-test-test-fenv.c): Likewise.
74567 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74569         [BZ #2550]
74570         [BZ #2570]
74571         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74572         comparisons to determine direction to adjust input.
74574 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74576         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74577         output to the target.
74579         * scripts/localplt.awk: New file.
74580         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74581         (check-localplt-CFLAGS): Variable removed.
74582         ($(all-built-dso:=.jmprel)): New static pattern rule.
74583         (generated): Add those targets.
74584         (localplt-built-dso): New variable.
74585         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74587         * elf/check-localplt.c: File removed.
74589         * scripts/check-execstack.awk: New file.
74590         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74591         (check-execstack-CFLAGS): Variable removed.
74592         ($(objpfx)check-execstack.h): Target removed.
74593         ($(objpfx)execstack-default): New target.
74594         (generated): Add that instead of check-execstack.h.
74595         ($(all-built-dso:=.phdr)): New static pattern rule.
74596         (generated): Add those targets.
74597         * elf/check-execstack.c: File removed.
74599         * scripts/check-textrel.awk: New file.
74600         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74601         (check-textrel-CFLAGS): Variable removed.
74602         (all-built-dso): Use := to define.o
74603         ($(all-built-dso:=.dyn)): New static pattern rule.
74604         (generated): Add those targets.
74605         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74606         * config.make.in (READELF): New substituted variable.
74607         * elf/check-textrel.c: File removed.
74609 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74611         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74612         allow.
74613         * conform/data/ctype.h-data [C99-based standards] (isblank):
74614         Expect function.
74615         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74616         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74618         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74619         Specify type.  Require positive value.
74620         (EILSEQ): Likewise.
74621         (ERANGE): Likewise.
74622         [ISO || POSIX] (EILSEQ): Do not expect.
74623         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74624         Specify type.  Require positive value.
74625         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74626         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74627         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74628         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74629         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74630         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74631         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74632         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74633         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74634         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74635         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74636         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74637         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
74638         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
74639         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74640         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
74641         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
74642         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
74643         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
74644         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
74645         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
74646         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
74647         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
74648         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
74649         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
74650         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
74651         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
74652         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
74653         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
74654         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
74655         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
74656         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
74657         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
74658         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
74659         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
74660         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
74661         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
74662         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
74663         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
74664         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
74665         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
74666         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
74667         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
74668         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
74669         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
74670         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
74671         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
74672         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
74673         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
74674         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
74675         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
74676         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
74677         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
74678         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
74679         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
74680         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
74681         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74682         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
74683         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
74684         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
74685         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
74686         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
74687         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
74688         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
74689         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
74690         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
74691         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
74692         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
74693         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
74694         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
74695         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
74696         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
74697         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
74698         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
74699         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
74700         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
74701         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
74702         Require >= 2.
74703         (FLT_ROUNDS): Expect as macro, not constant.
74704         (FLT_MANT_DIG): Use macro-int-constant.
74705         (DBL_MANT_DIG): Likewise.
74706         (LDBL_MANT_DIG): Likewise.
74707         (FLT_DIG): Likewise.
74708         (DBL_DIG): Likewise.
74709         (LDBL_DIG): Likewise.
74710         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
74711         (DBL_MIN_EXP): Likewise.
74712         (LDBL_MIN_EXP): Likewise.
74713         (FLT_MAX_EXP): Use macro-int-constant.
74714         (DBL_MAX_EXP): Likewise.
74715         (LDBL_MAX_EXP): Likewise.
74716         (FLT_MAX_10_EXP): Likewise.
74717         (DBL_MAX_10_EXP): Likewise.
74718         (LDBL_MAX_10_EXP): Likewise.
74719         (FLT_MAX): Use macro-constant.
74720         (DBL_MAX): Likewise.
74721         (LDBL_MAX): Likewise.
74722         (FLT_EPSILON): Use macro-constant.  Give upper bound.
74723         (DBL_EPSILON): Likewise.
74724         (LDBL_EPSILON): Likewise.
74725         (FLT_MIN): Likewise.
74726         (DBL_MIN): Likewise.
74727         (LDBL_MIN): Likewise.
74728         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
74729         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
74730         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
74731         [ISO11] (FLT_HAS_SUBNORM): Likewise.
74732         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
74733         [ISO11] (DBL_DECIMAL_DIG): Likewise.
74734         [ISO11] (FLT_DECIMAL_DIG): Likewise.
74735         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
74736         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
74737         [ISO11] (FLT_TRUE_MIN): Likewise.
74738         [ISO11] (LDBL_TRUE_MIN): Likewise.
74739         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74740         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
74741         (SCHAR_MIN): Use macro-int-constant.  Specify type.
74742         (SCHAR_MAX): Likewise.
74743         (UCHAR_MAX): Likewise.
74744         (CHAR_MIN): Likewise.
74745         (CHAR_MAX): Likewise.
74746         (MB_LEN_MAX): Use macro-int-constant.
74747         (SHRT_MIN): Use macro-int-constant.  Specify type.
74748         (SHRT_MAX): Likewise.
74749         (USHRT_MAX): Likewise.
74750         (INT_MAX): Likewise.
74751         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
74752         bound negative.
74753         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74754         bound with "U".
74755         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74756         bound with "L".
74757         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
74758         bound negative.  Suffix upper bound with "L".
74759         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74760         bound with "UL".
74761         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
74762         Specify type.
74763         [C99-based standards] (LLONG_MAX): Likewise.
74764         [C99-based standards] (ULLONG_MAX): Likewise.
74765         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
74766         == 0.
74767         [ISO11] (max_align_t): Require type.
74768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74770         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
74771         from $CFLAGS, without defining away __attribute__ calls.
74772         (checknamespace): Use $CFLAGS_namespace.
74774         * conform/conformtest.pl (@keywords): Only include C99 keywords
74775         for standards based on C99 or C11.
74777         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
74778         Disable tests.
74779         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
74780         UNIX98]: Likewise.
74782         * conform/conformtest.pl: Handle "macro-int-constant" and test for
74783         usability of symbols in #if.
74785         * conform/conformtest.pl: If macro or constant types start
74786         "promoted:", expect the symbol to be of the following type
74787         promoted by the integer promotions.
74789         * conform/conformtest.pl: Parse all "constant" and "macro" lines
74790         in one place.  Also handle "macro-constant".
74792         * conform/conformtest.pl: Only accept expected macro values with
74793         "==".  Parse all "macro" lines in one place.
74794         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
74796         * conform/conformtest.pl: Handle braced types on "constant" lines
74797         instead of handling "typed-constant".
74798         * conform/data/signal.h-data: Use "constant" instead of
74799         "typed-constant".
74801         * conform/conformtest.pl: Handle "optional-" at start of lines in
74802         one place rather than duplicating several cases.  Handle each
74803         format of "macro" line with initial "optional-".
74805         * conform/conformtest.pl: Only accept expected constant or
74806         optional-constant values with "==".  Parse all "constant" lines in
74807         one place.  Parse all "optional-constant" lines in one place.
74808         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
74809         * conform/data/fmtmsg.h-data: Likewise.
74810         * conform/data/netinet/in.h-data: Likewise.
74811         * conform/data/tar.h-data: Likewise.
74812         * conform/data/limits.h-data: Use "==" form on "constant" and
74813         "optional-constant" lines.
74815         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
74816         Use -std=c99 for XOPEN2K.
74817         (@knownproblems): Remove.
74818         (newtoken): Don't check %isknown.
74820         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
74821         Do not expect macro.
74822         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
74823         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
74824         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
74825         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
74826         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
74827         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
74828         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
74829         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
74830         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
74831         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
74832         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
74833         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
74834         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
74835         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
74836         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
74837         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
74838         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
74839         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
74840         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
74841         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
74842         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
74843         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
74844         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
74845         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
74846         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
74847         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
74848         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
74849         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
74850         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
74851         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
74852         [XPG3] (acosh): Likewise.
74853         [XPG3] (asinh): Likewise.
74854         [XPG3] (atanh): Likewise.
74855         [XPG3] (cbrt): Likewise.
74856         [XPG3] (expm1): Likewise.
74857         [XPG3] (ilogb): Likewise.
74858         [XPG3] (log1p): Likewise.
74859         [XPG3] (logb): Likewise.
74860         [XPG3] (nextafter): Likewise.
74861         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
74862         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
74863         [XPG3] (remainder): Likewise.
74864         [XPG3] (rint): Likewise.
74865         [XPG3 || XPG4 || UNIX98] (round): Likewise.
74866         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
74867         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
74868         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
74869         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
74870         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
74871         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
74872         [UNIX98 || XOPEN2K] (scalb): Expect.
74873         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
74874         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
74875         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74876         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
74877         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
74878         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
74879         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
74880         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
74881         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
74882         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
74883         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
74884         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
74885         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
74886         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
74887         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
74888         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
74889         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
74890         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
74891         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
74892         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
74893         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
74894         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
74895         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
74896         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
74897         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
74898         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
74899         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
74900         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
74901         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
74902         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
74903         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
74904         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
74905         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
74906         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
74907         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
74908         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
74909         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
74910         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
74911         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
74912         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
74913         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
74914         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
74915         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
74916         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
74917         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
74918         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
74919         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
74920         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
74921         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
74922         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
74923         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
74924         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
74925         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
74926         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
74927         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
74928         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
74929         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
74930         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
74931         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
74932         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
74933         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
74934         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
74935         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
74936         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
74937         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
74938         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
74939         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
74940         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
74941         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
74942         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
74943         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
74944         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
74945         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
74946         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
74947         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
74948         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
74949         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
74950         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
74951         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
74952         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
74953         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
74954         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
74955         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
74956         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
74957         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
74958         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
74959         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
74960         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
74961         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
74962         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
74963         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
74964         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
74965         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
74966         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
74967         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
74968         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
74969         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
74970         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
74971         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
74972         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
74973         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
74974         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
74975         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
74976         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
74977         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
74978         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
74979         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
74980         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
74981         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
74982         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
74983         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
74984         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
74985         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
74986         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
74987         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
74988         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
74989         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
74990         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
74991         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
74992         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
74993         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
74994         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
74995         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
74996         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
74997         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
74998         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
74999         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75000         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75001         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75002         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75003         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75004         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75005         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75006         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75007         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75008         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75009         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75011         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75012         _XOPEN_SOURCE_EXTENDED for XPG4.
75014         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75016         * Makeconfig (localtime): Remove variable.
75017         (inst_localtime-file): Likewise.
75019 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75022         Update.
75023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75024         Update.
75025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75026         Update.
75027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75028         Update.
75029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75030         Update.
75031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75032         Update.
75033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75034         Update.
75035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75036         Update.
75037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75038         Update.
75040 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75042         [BZ #2550]
75043         [BZ #2570]
75044         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75045         comparisons to determine direction to adjust input.
75046         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75047         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75048         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75049         Likewise.
75050         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75051         Likewise.
75052         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75053         Likewise.
75054         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75055         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75056         Likewise.
75057         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75058         Likewise.
75059         * math/libm-test.inc (nexttoward_test): Add more tests.
75061 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75063         [BZ #14040]
75064         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75065         in version GLIBC_2.1, not GLIBC_2.0.
75066         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75067         Likewise.
75069 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75071         [BZ #13942]
75072         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75073         (1 - x) * (1 + x).
75074         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75075         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75076         * math/libm-test.inc (acos_test): Add more tests.
75077         (asin_test): Likewise.
75078         * sysdeps/i386/fpu/libm-test-ulps: Update.
75079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75081         [BZ #14034]
75082         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75083         of square root.
75084         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75085         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75086         * math/libm-test.inc (acos_test_tonearest): New function.
75087         (acos_test_towardzero): Likewise.
75088         (acos_test_downward): Likewise.
75089         (acos_test_upward): Likewise.
75090         (asin_test_tonearest): Likewise.
75091         (asin_test_towardzero): Likewise.
75092         (asin_test_downward): Likewise.
75093         (asin_test_upward): Likewise.
75094         (main): Call the new functions.
75095         * sysdeps/i386/fpu/libm-test-ulps: Update.
75096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75098         [BZ #13884]
75099         [BZ #13924]
75100         * math/e_exp10.c: Include <float.h>.
75101         (__ieee754_exp10): Handle underflow here rather than multiplying
75102         large negative argument by M_LN10.
75103         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75104         of __ieee754_expf.
75105         * math/e_exp10l.c: Include <float.h>.
75106         (__ieee754_exp10l): Handle underflow here rather than multiplying
75107         large negative argument by M_LN10l.
75108         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75109         spurious overflow exception on underflow.
75111 2012-04-29  Marek Polacek  <polacek@redhat.com>
75113         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75114         (__fortify_function): New macro.
75115         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75116         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75117         __extern_always_inline.
75118         * libio/bits/stdio2.h: Likewise.
75119         * libio/bits/stdio.h: Likewise.
75120         * string/string.h: Likewise.
75121         * string/bits/string3.h: Likewise.
75122         * include/stdio.h: Likewise.
75123         * stdlib/bits/stdlib.h: Likewise.
75124         * stdlib/stdlib.h: Likewise.
75125         * rt/bits/mqueue2.h: Likewise.
75126         * rt/mqueue.h: Likewise.
75127         * posix/bits/unistd.h: Likewise.
75128         * posix/unistd.h: Likewise.
75129         * io/bits/poll2.h: Likewise.
75130         * io/bits/fcntl2.h: Likewise.
75131         * io/fcntl.h: Likewise.
75132         * io/sys/poll.h: Likewise.
75133         * misc/bits/syslog.h: Likewise.
75134         * misc/bits/syslog-ldbl.h: Likewise.
75135         * misc/sys/syslog.h: Likewise.
75136         * socket/bits/socket2.h: Likewise.
75137         * socket/sys/socket.h: Likewise.
75138         * debug/tst-chk1.c: Likewise.
75139         * wcsmbs/bits/wchar2.h: Likewise.
75140         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75141         * wcsmbs/wchar.h: Likewise.
75143 2012-04-29  Andreas Jaeger  <aj@suse.de>
75145         * Makerules (tests): Remove enable-check-abi protection.
75146         (check-abi-warn): Remove.
75147         (check-abi-%): Remove check-abi-warn usage.
75149         * configure.in: Remove check-abi configure option.
75150         * configure: Regenerated.
75151         * config.make.in (enable-check-abi): Remove.
75153 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75155         [BZ #14033]
75156         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75157         double functions to double *_finite functions.
75159         [BZ #13941]
75160         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75161         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75162         LDBL_MIN_EXP.
75163         * stdio-common/Makefile (tests): Add tst-sprintf3.
75164         * stdio-common/tst-sprintf3.c: New file.
75166         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75167         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75169 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75171         * conform/conformtest.pl: Remove duplicate typed-constant
75172         handling.
75174 2012-04-28  David S. Miller  <davem@davemloft.net>
75176         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75177         (check-abi-%): Remove AWK script prerequisite and explicit
75178         abilist directory.
75179         (check-abi): Rewrite to just diff the symlist with the abilist.
75180         (config-tls, config-abi-config): Delete, no longer used.
75181         (update-abi-%): Remove AWK script and explicit abilist directory.
75182         (update-abi): Rewrite to simply compare and conditionally copy the
75183         symlist and the sysdep abilist file.  Remove update-abi-config
75184         checks.
75185         * abilist/ld.abilist: Remove.
75186         * abilist/libBrokenLocale.abilist: Remove.
75187         * abilist/libanl.abilist: Remove.
75188         * abilist/libcrypt.abilist: Remove.
75189         * abilist/libdl.abilist: Remove.
75190         * abilist/librt.abilist: Remove.
75191         * abilist/libthread_db.abilist: Remove.
75192         * abilist/libutil.abilist: Remove.
75193         * scripts/extract-abilist.awk: Remove.
75194         * scripts/merge-abilist.awk: Remove.
75195         * sysdeps/generic/libcidn.abilist: New file.
75196         * sysdeps/generic/libnss_compat.abilist: New file.
75197         * sysdeps/generic/libnss_db.abilist: New file.
75198         * sysdeps/generic/libnss_dns.abilist: New file.
75199         * sysdeps/generic/libnss_files.abilist: New file.
75200         * sysdeps/generic/libnss_hesiod.abilist: New file.
75201         * sysdeps/generic/libnss_nis.abilist: New file.
75202         * sysdeps/generic/libnss_nisplus.abilist: New file.
75203         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75204         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75205         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75206         file.
75207         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75208         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75209         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75210         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75211         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75212         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75213         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75214         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75215         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75216         file.
75217         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75218         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75219         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75220         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75221         file.
75222         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75223         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75224         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75225         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75226         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75227         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75228         file.
75229         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75230         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75231         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75232         file.
75233         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75235         New file.
75236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75237         New file.
75238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75239         New file.
75240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75241         New file.
75242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75243         New file.
75244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75245         New file.
75246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75247         New file.
75248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75249         New file.
75250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75251         New file.
75252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75253         New file.
75254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75255         New file.
75256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75257         New file.
75258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75259         New file.
75260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75261         file.
75262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75263         New file.
75264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75265         New file.
75266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75267         file.
75268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75269         New file.
75270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75271         New file.
75272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75273         file.
75274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75275         New file.
75276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75277         New file.
75278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75279         New file.
75280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75281         New file.
75282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75283         New file.
75284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75285         New file.
75286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75288         file.
75289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75290         New file.
75291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75292         file.
75293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75294         file.
75295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75296         file.
75297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75298         file.
75299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75300         file.
75301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75302         New file.
75303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75304         file.
75305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75306         file.
75307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75308         New file.
75309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75310         file.
75311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75313         file.
75314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75315         New file.
75316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75317         file.
75318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75319         file.
75320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75321         file.
75322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75323         file.
75324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75325         file.
75326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75327         New file.
75328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75329         file.
75330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75331         file.
75332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75333         New file.
75334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75335         file.
75336         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75337         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75338         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75339         file.
75340         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75341         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75342         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75343         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75344         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75345         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75346         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75347         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75348         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75349         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75352         file.
75353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75354         New file.
75355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75356         file.
75357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75358         file.
75359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75360         file.
75361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75362         file.
75363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75364         file.
75365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75366         New file.
75367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75368         New file.
75369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75370         file.
75371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75372         New file.
75373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75374         file.
75375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75377         file.
75378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75379         New file.
75380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75381         file.
75382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75383         file.
75384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75385         file.
75386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75387         file.
75388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75389         file.
75390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75391         New file.
75392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75393         New file.
75394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75395         file.
75396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75397         New file.
75398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75399         file.
75401 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75403         * conform/conformtest.pl: Fix typo in handling typed-constant from
75404         allow-header.
75406 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75408         * README: Cut down references to pre-2.6 Linux kernels and
75409         Linuxthreads.  Update lists of configurations in libc and ports
75410         and sort alphabetically.  Say "or newer" with Linux kernel version
75411         requirements.
75413         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75415 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75417         [BZ #887]
75418         * math/libm-test.inc (logb_test_downward): New test to expose
75419         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75420         rounding mode.
75422 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75424         [BZ #14027]
75425         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75426         to be done.
75427         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75428         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75430 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75432         * sysdeps/unix/i386/brk.S: Remove file.
75433         * sysdeps/unix/i386/dl-brk.S: Likewise.
75434         * sysdeps/unix/i386/pipe.S: Likewise.
75435         * sysdeps/unix/i386/sigreturn.S: Likewise.
75436         * sysdeps/unix/i386/syscall.S: Likewise.
75437         * sysdeps/unix/i386/vfork.S: Likewise.
75438         * sysdeps/unix/i386/wait.S: Likewise.
75440         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75441         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75443         * configure.in (arm*-none*): Do not allow without
75444         --enable-hacker-mode.
75445         (netbsd*): Remove case setting base_os.
75446         (386bsd*): Likewise.
75447         (freebsd*): Likewise.
75448         (bsdi*): Likewise.
75449         (osf*): Likewise.
75450         (sunos*): Likewise.
75451         (ultrix*): Likewise.
75452         (newsos*): Likewise.
75453         (dynix*): Likewise.
75454         (*bsd*): Likewise.
75455         (sysv*): Likewise.
75456         (isc*): Likewise.
75457         (esix*): Likewise.
75458         (sco*): Likewise.
75459         (minix*): Likewise.
75460         (irix4*): Likewise.
75461         (irix6*): Likewise.
75462         (solaris[2-9]*): Likewise.
75463         (none): Likewise.
75464         * configure: Regenerated.
75466 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75468         [BZ #11521]
75469         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75470         overflow or cancellation in calculating denominator.
75471         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75472         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75473         down expression to avoid unexpected rounding in newer GCCs.
75474         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75476 2012-04-26  David S. Miller  <davem@davemloft.net>
75478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75479         long-double compat symbols.
75480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75494 2012-04-25  David S. Miller  <davem@davemloft.net>
75496         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75497         HWCAP_* values only after the memory barriers have been defined.
75498         (atomic_full_barrier): Define.
75499         (atomic_read_barrier): Define.
75500         (atomic_write_barrier): Define.
75502 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75504         * shlib-versions: Add libgcc_s version information.
75505         * sysdeps/generic/libgcc_s.h: Remove.
75506         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75507         libgcc_s.h.
75508         * sysdeps/gnu/unwind-resume.c: Likewise.
75509         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75511 2012-04-25  David S. Miller  <davem@davemloft.net>
75513         * sysdeps/unix/sparc/brk.S: Delete.
75514         * sysdeps/unix/sparc/dl-brk.S: Delete.
75515         * sysdeps/unix/sparc/pipe.S: Delete.
75516         * sysdeps/unix/sparc/sysdep.S: Delete.
75517         * sysdeps/unix/sparc/sysdep.h: Delete.
75518         * sysdeps/unix/sparc/vfork.S: Delete.
75519         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75520         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75521         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75522         (ret_ERRVAL, r0, r1, MOVE): Define.
75523         (JUMPTARGET): Remove.
75524         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75525         sysdeps/unix/sparc/sysdep.h
75526         (ENTRY, END): Remove.
75527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75529 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75531         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75532         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75533         -DIS_IN_build.
75535         * timezone/README: Update upstream location and email address for
75536         tzcode and tzdata.
75537         * timezone/zdump.c: Update from tzcode 2012b.
75538         * timezone/zic.c: Likewise.
75540         * configure.in (libc_cv_as_needed): Remove test.
75541         * configure: Regenerated.
75542         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75543         conditional definition.
75544         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75545         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75546         * config.make.in (have-as-needed): Remove variable.
75548 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75549             Paul Pluzhnikov  <ppluzhnikov@google.com>
75551         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75552         strings correctly.
75554 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75556         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75557         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75558         * sysdeps/sh/strlen.S: Likewise.
75560 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75562         * sysdeps/unix/fork.S: Remove file.
75563         * sysdeps/unix/i386/fork.S: Likewise.
75564         * sysdeps/unix/sparc/fork.S: Likewise.
75566         * sysdeps/unix/system.c: Remove file.
75567         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75569         * sysdeps/unix/getegid.S: Remove file.
75570         * sysdeps/unix/geteuid.S: Likewise.
75572 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75574         * scripts/check-localplt.awk: New file.
75575         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75576         of diff.
75577         * scripts/data/localplt-generic.data: Add a comment.
75579         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75580         NODE when __dir_mkfile failed.
75581         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75582         Reported by Ludovic Courtès <ludo@gnu.org>.
75584 2012-04-24  Andreas Jaeger  <aj@suse.de>
75586         * Makerules (common-clean): Also remove gen-as-const-headers
75587         files.
75589 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75591         * Makerules (native-compile): Do not change working directory for
75592         build.  Use $(OUTPUT_OPTION) in command.
75593         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75595 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75597         [BZ #13886]
75598         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75599         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75600         * math/libm-test.inc (floor_test): Add more tests.
75601         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75603 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75605         * sysdeps/unix/getdents.c: Remove file.
75606         * sysdeps/unix/sysv/getdents.c: Likewise.
75607         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75609         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75610         sysdeps/unix/mman/syscalls.list.
75611         (mmap): Likewise.
75612         (mprotect): Likewise.
75613         (msync): Likewise.
75614         (munmap): Likewise.
75615         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75616         * sysdeps/unix/mman/syscalls.list: Remove.
75617         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75619         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75620         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75621         * configure: Regenerated.
75622         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75623         $(libgcc_s_suffix).
75624         * config.make.in (libgcc_s_suffix): Remove variable.
75626 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
75628         * sysdeps/unix/sysv/gethostname.c: Move to ...
75629         * sysdeps/posix/gethostname.c: ... here.
75631         * sysdeps/unix/execve.S: Remove file.
75633         * sysdeps/unix/_exit.S: Remove file.
75635 2012-04-23  Andreas Jaeger  <aj@suse.de>
75637         [BZ #13739]
75638         * manual/Makefile: Remove make dist support, there's no
75639         need for a stand-alone documentation tar ball.
75640         (TEXI2DVI): Define always, it's not in Makeconfig.
75641         (dist): Removed.
75642         (tar-it): Removed.
75643         (edition): Removed.
75644         (glibc-doc-$(edition).tar): Removed
75645         (%.Z): Removed.
75646         (%.gz): Removed.
75647         (%.uu): Removed.
75648         (ETAGS): Remove, it's in Makeconfig.
75649         (move-if-change): Remove, it's in Makeconfig.
75651 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
75653         [BZ #13970]
75654         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
75655         (strtod, strtof, strtold, strtol, strtoul, strtoq)
75656         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
75657         (strtod_l, strtof_l, strtold_l): Remove __wur.
75658         It is not necessarily an error to ignore strtol's return value.
75659         One can reliably look at the stored endptr to decide whether
75660         the number had valid syntax.
75662 2012-04-21  Andreas Jaeger  <aj@suse.de>
75664         [BZ #13739]
75665         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
75667 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
75669         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
75670         * sysdeps/unix/sysv/Versions: Remove file.
75672 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
75674         [BZ #13927]
75675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75677 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
75679         [BZ #7064]
75680         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
75681         version from __vm86.
75683 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
75685         * sysdeps/unix/common/lxstat.c: Remove file.
75686         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
75688         * sysdeps/unix/sysv/Makefile: Remove file.
75690         * sysdeps/unix/sysv/direct.h: Remove file.
75692         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
75693         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
75694         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
75695         * sysdeps/unix/sysv/bits/signum.h: Likewise.
75696         * sysdeps/unix/sysv/bits/stat.h: Likewise.
75697         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
75698         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
75700         * sysdeps/unix/sysv/setrlimit.c: Remove file.
75702         * sysdeps/unix/xmknod.c: Remove file.
75703         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75705         * sysdeps/unix/sysv/settimeofday.c: Remove file.
75707         * sysdeps/unix/sysv/i386/time.S: Remove file.
75709         * sysdeps/unix/fxstat.c: Remove file.
75710         * sysdeps/unix/xstat.c: Likewise.
75711         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
75713         * sysdeps/unix/sysv/sigaction.c: Remove file.
75715         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
75716         (sysdep_headers): Remove variable.
75717         [termio.h not in sysdep_headers] (generated): Likewise.
75718         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
75719         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
75720         * sysdeps/unix/sysv/tcdrain.c: Likewise.
75721         * sysdeps/unix/sysv/tcflow.c: Likewise.
75722         * sysdeps/unix/sysv/tcflush.c: Likewise.
75723         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
75724         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75725         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
75726         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
75727         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
75729         * sysdeps/unix/siglist.c: Remove file.
75731         * sysdeps/unix/getppid.S: Remove file.
75733         * sysdeps/unix/mkdir.c: Remove file.
75734         * sysdeps/unix/rmdir.c: Likewise.
75736 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
75738         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
75739         ERR_MAX value.
75740         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
75741         errlist-compat value.
75743 2012-04-18  David S. Miller  <davem@davemloft.net>
75745         * sysdeps/generic/memcopy.h (reg_char): Delete.
75746         * debug/strcat_chk.c: Use char, not reg_char.
75747         * debug/strcpy_chk.c: Likewise.
75748         * debug/strncat_chk.c: Likewise.
75749         * debug/strncpy_chk.c: Likewise.
75750         * string/memchr.c: Likewise.
75751         * string/memrchr.c: Likewise.
75752         * string/rawmemchr.c: Likewise.
75753         * string/strcat.c: Likewise.
75754         * string/strchr.c: Likewise.
75755         * string/strchrnul.c: Likewise.
75756         * string/strcmp.c: Likewise.
75757         * string/strcpy.c: Likewise.
75758         * string/strncat.c: Likewise.
75759         * string/strncmp.c: Likewise.
75760         * string/strncpy.c: Likewise.
75762 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75764         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
75765         __builtin_memcopy is called when src and dest ranges are known to not
75766         overlap.
75768 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75770         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
75771         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
75772         fwd_align_merge macro call.
75773         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
75774         bwd_align_merge macro call.
75775         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75777 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75779         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
75780         bwd_align_merge macros.
75781         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
75782         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
75783         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75785 2012-04-18  David S. Miller  <davem@davemloft.net>
75787         * sysdeps/sparc/sparc64/memcopy.h: Delete.
75789 2012-04-18  Andreas Jaeger  <aj@suse.de>
75791         [BZ# 6794]
75792         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
75793         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
75794         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75796         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
75797         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
75798         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75800         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
75801         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
75802         Adjust for changed ldbl-128 files.
75804         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
75805         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
75806         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75808 2012-04-17  David S. Miller  <davem@davemloft.net>
75810         * sysdeps/sparc/sparc32/memcopy.h: Delete.
75812 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
75814         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
75815         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
75816         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
75817         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
75818         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
75819         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
75821 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75823         [BZ #6794]
75824         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
75825         * math/libm-test.inc: Add ilogb errno and exception tests.
75826         * math/w_ilogb.c: New file: ilogb wrapper.
75827         * math/w_ilogbf.c: New file: ilogbf wrapper.
75828         * math/w_ilogbl.c: New file: ilogbl wrapper.
75829         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
75830         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
75831         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
75832         exception being thrown with 0.0 as argument.
75833         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
75834         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
75835         exception being thrown with 0.0 as argument.
75836         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
75837         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75838         exception being thrown with 0.0 as argument.
75839         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
75840         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75841         exception being thrown with 0.0 as argument.
75842         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
75843         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
75844         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
75845         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
75846         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
75847         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
75848         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
75849         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
75850         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
75852 2012-04-17  Petr Baudis  <pasky@ucw.cz>
75854         * include/sys/uio.h: Change __vector to __iovec to avoid clash
75855         with altivec.
75857 2012-04-16  Marek Polacek  <polacek@redhat.com>
75859         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
75861 2012-04-16  Marek Polacek  <polacek@redhat.com>
75863         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
75864         operands of fdivp instruction.
75866 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75868         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
75869         * elf/tst-auditmod3b.c: Likewise.
75870         * elf/tst-auditmod4b.c: Likewise.
75871         * elf/tst-auditmod5b.c: Likewise.
75872         * elf/tst-auditmod6b.c: Likewise.
75873         * elf/tst-auditmod6c.c: Likewise.
75874         * elf/tst-auditmod7b.c: Likewise.
75875         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
75876         * sysdeps/x86_64/preconfigure.in: Likewise.
75877         * sysdeps/x86_64/preconfigure: Regenerated.
75879 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75881         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
75882         __ILP32__.
75884 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
75886         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75887         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
75889 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
75891         [BZ #13973]
75892         * locale/iso-639.def: Fix gl language name. Spotted by
75893         Yaron Shahrabani.
75895 2012-04-12  Roland McGrath  <roland@hack.frob.com>
75897         [BZ #2074]
75898         * libio/libio.h (__io_write_fn): Update comment.
75900 2012-04-12  Petr Baudis  <pasky@ucw.cz>
75902         [BZ #2074]
75903         * stdio.texi (Hook Functions): The user provided writer function
75904         is not allowed to return -1.
75906 2012-04-11  David S. Miller  <davem@davemloft.net>
75908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75910 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
75912         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
75913         Add a leading slash to rtkaio.
75915 2012-04-11  Jim Meyering  <meyering@redhat.com>
75917         [BZ #11959]
75918         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
75919         It is not necessarily an error to ignore fwrite's return
75920         value.  One can reliably use ferror to test for errors after
75921         the fact.
75923 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
75925         * bits/types.h (__snseconds_t): New type.
75926         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
75928         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
75929         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75930         (__SNSECONDS_T_TYPE): Likewise.
75931         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75932         (__SNSECONDS_T_TYPE): Likewise.
75933         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75934         (__SNSECONDS_T_TYPE): Likewise.
75936 2012-04-10  Andreas Jaeger  <aj@suse.de>
75938         [BZ #2636]
75939         * manual/time.texi (Processor Time): Return type of times is
75940         elapsed real time since an arbitrary point in the past.
75941         (CPU Time): Move CLK_TCK from here...
75942         (Processor Time): ...to here.  Correct description.
75943         * manual/conf.texi (Constants for Sysconf): Correct description of
75944         _SC_CLK_TCK.
75946 2012-04-10  David S. Miller  <davem@davemloft.net>
75948         [BZ #13967]
75949         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
75950         where the is a gap between DT_REL(A) and DT_JMPREL.
75952 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
75954         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
75955         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75956         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75958 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
75960         * elf/dl-support.c (_dl_inhibit_cache): New variable.
75961         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
75962         (dl_main): Handle --inhibit-cache.
75963         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
75964         _dl_inhibit_cache.
75965         * elf/dl-load.c (_dl_map_object): Use it.
75966         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
75968 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
75970         [BZ #13872]
75971         * sysdeps/i386/fpu/e_powl.S (p78): New object.
75972         (__ieee754_powl): Saturate large exponents rather than testing for
75973         overflow of y*log2(x).
75974         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75975         * math/libm-test.inc (pow_test): Do not permit spurious overflow
75976         exceptions.
75978         [BZ #11521]
75979         * math/s_ctan.c: Include <float.h>.
75980         (__ctan): Avoid internal overflow or cancellation in calculating
75981         denominator.
75982         * math/s_ctanf.c: Likewise.
75983         * math/s_ctanl.c: Likewise.
75984         * math/s_ctanh.c: Likewise.
75985         * math/s_ctanhf.c: Likewise.
75986         * math/s_ctanhl.c: Likewise.
75987         * math/libm-test.inc (ctan_test): Add more tests.
75988         (ctanh_test): Likewise.
75989         * sysdeps/i386/fpu/libm-test-ulps: Update.
75990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75992 2012-04-09  Andreas Jaeger  <aj@suse.de>
75994         [BZ #6894]
75995         * manual/filesys.texi (Directory Entries): Mention that d_namlen
75996         is an optional BSD extension.
75998         [BZ #10254]
75999         * manual/stdio.texi (Opening Streams): Document additional fopen
76000         parameters.
76002 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76004         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76005         %eax without telling the compiler.
76007 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76009         [BZ # 13963]
76010         * manual/install.texi: Use sourceware.org.
76012 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76014         [BZ #13873]
76015         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76016         (__ieee754_pow): Generate overflow and underflow using huge*huge
76017         and tiny*tiny rather than just returning constant infinity or zero
76018         for large exponents.
76019         * math/libm-test.inc (pow_test): Require overflow exceptions for
76020         applicable cases of large exponents.
76022         [BZ #706]
76023         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76024         (__ieee754_pow): Use iterative multiplication algorithm only for
76025         integer exponents with absolute value below 1024.  Check for odd
76026         integer exponents when using algorithm for real exponents.
76027         * math/libm-test.inc (pow_test): Add more tests.
76028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76030 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76032         [BZ #13705]
76033         * math/libm-test.inc (exp_test): Do not allow overflow exception
76034         on underflow test.
76036 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76038         [BZ #13705]
76039         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76040         instead of __kernel_standard_f.
76042 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76044         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76045         * sysdeps/x86_64/memset_chk.S: Likewise.
76047 2012-04-08  Andreas Jaeger  <aj@suse.de>
76049         [BZ #10153]
76050         * manual/startup.texi (Environment Access): Describe return value
76051         for putenv and setenv.
76053         [BZ #6895]
76054         * manual/filesys.texi (Directory Entries): Add description for
76055         DT_LNK.
76057         [BZ #6890]
76058         * manual/filesys.texi (Directory Entries): Clarify that it's file
76059         system not operating system in the description of DT_UNKNOWN.
76061         [BZ #6578]
76062         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76064 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76066         [BZ #6649]
76067         * manual/llio.texi (Opening and Closing Files): Add cross
76068         reference to explain mode argument.
76070 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76072         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76073         * sysdeps/x86_64/memset_chk.S: Likewise.
76075 2012-04-07  David S. Miller  <davem@davemloft.net>
76077         * elf/elf.h (R_SPARC_WDISP10): Define.
76078         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76079         R_SPARC_SIZE32.
76080         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76081         R_SPARC_SIZE64 and R_SPARC_H34.
76083 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76085         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76086         conditions and remove no longer applicable assertion.
76088 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76090         * bits/byteswap.h: Include <features.h>.
76091         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76092         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76094 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76096         * bits/byteswap.h (__bswap_16): Removed.
76097         Include <bits/byteswap-16.h> to get __bswap_16.
76098         * sysdeps/i386/bits/byteswap.h: Likewise.
76099         * sysdeps/s390/bits/byteswap.h: Likewise.
76100         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76101         * bits/byteswap-16.h: New file.
76102         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76103         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76104         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76105         * string/Makefile (headers): Add bits/byteswap-16.h.
76107 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76109         [BZ #13895]
76110         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76111         extra indirection.
76112         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76113         * nss/tst-nss-static.c: New.
76115 2012-04-06  Robert Millan  <rmh@gnu.org>
76117         [BZ #6486]
76118         * manual/llio.texi (File Position Primitive): lseek
76119         refers to WHENCE when it really means OFFSET.
76121 2012-04-06  Andreas Jaeger  <aj@suse.de>
76123         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76124         strncmp declarations.
76126         * abilist/libc.abilist: Add __poll and __ppoll.
76128 2012-04-05  David S. Miller  <davem@davemloft.net>
76130         * scripts/check-local-headers.sh: Accept a host triplet in the
76131         path matched by the exclude regexp.
76133         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76134         definition.
76135         * sysdeps/powerpc/powerpc32/dl-machine.h
76136         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76137         * sysdeps/s390/s390-32/dl-machine.h
76138         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76139         * sysdeps/sparc/sparc32/dl-machine.h
76140         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76141         * sysdeps/sparc/sparc64/dl-machine.h
76142         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76144         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76145         lazy binding.
76146         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76147         undefined symbol errors.
76149         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76150         DT_NEEDED entries.
76152 2012-04-05  Michael Matz  <matz@suse.de>
76154         [BZ #13592]
76155         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76157 2012-04-05  Andreas Jaeger  <aj@suse.de>
76159         [BZ #13908]
76160         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76161         comment.
76163 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76165         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76166         which ROUND is no valid rounding mode.
76168 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76170         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76171         read again.
76172         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76174 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76176         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76177         an exception using FPU order intentionally.
76179 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76181         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76182         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76183         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76184         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76186 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76188         [BZ #12340]
76189         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76190         EINVAL when BUFLEN is too smal.
76192 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76194         [BZ #13553]
76195         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76196         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76198 2012-04-03  Andreas Jaeger  <aj@suse.de>
76200         [BZ #13938]
76201         * manual/setjmp.texi (System V contexts): Fix sentence.
76203         [BZ #13926]
76204         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76205         New macro for this case.
76206         [!__GNUC__] (__bswap_64): New inline function for this case.
76207         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76208         * bits/byteswap.h: Likewise.
76209         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76210         ull, guard with __GLIBC_HAVE_LONG_LONG.
76212         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76213         __GLIBC_HAVE_LONG_LONG.
76215         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76216         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76218 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76220         [BZ #13691]
76221         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76222         inptr and inend, rather than using last_ch.
76224 2012-04-02  David S. Miller  <davem@davemloft.net>
76226         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76227         * stdio-common/printf-parse.h (read_int): Change return type to
76228         'int', return -1 on INT_MAX overflow.
76229         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76230         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76231         overflows INT_MAX.  Check for overflow of in-format-string precision
76232         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76233         SIZE_MAX not INT_MAX for integer overflow test.
76234         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76235         skip the construct in the format string but do not record anything.
76236         * stdio-common/bug22.c: Adjust to test both width/prevision
76237         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76238         explicitly for proper errno values.
76240 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76242         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76243         CHAR_MAX.
76244         * string/test-strcmp.c [! WIDE]: Likewise.
76245         * time/tst-mktime2.c: Likewise for INT_MAX.
76246         * string/test-string.h: #include <sys/param.h> for MIN.
76248         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76249         * sysdeps/i386/init-first.c (init): Likewise.
76250         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76251         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76252         * sysdeps/sh/init-first.c (init): Likewise.
76254 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76256         * po/ru.po: Update from translation team.
76257         * po/vi.po: Likewise.
76259 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76261         * resolv/nss_dns/dns-host.c: Merge copyright years.
76263 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76266         Optimize memcpy with prefetch if
76267         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76268         src, dst pointers have unequal 16 byte alignments.
76270 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76272         [BZ #13928]
76273         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76274         from a CNAME entry and return the minimum ttl for the query.
76275         (gaih_getanswer_slice): Likewise.
76277 2012-03-30  Jeff Law  <law@redhat.com>
76279         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76280         due to long keys.
76281         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76282         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76284         * resolv/nss_dns/dns-host.c: Update copyright year.
76286 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76288         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76289         requests to save a system call.  Fix check that all bytes are sent.
76291         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76292         comments for sendmmsg.
76294 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76296         [BZ #13691]
76297         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76298         with only 1 character between 0x0041 and 0x01b0.
76299         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76300         * wcsmbs/tst-mbsnrtowcs.c: New file.
76302 2012-03-29  David S. Miller  <davem@davemloft.net>
76304         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76305         small copies by hand.
76307 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76309         [BZ #13761]
76310         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76311         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76312         group memberships.
76314 2012-03-28  David S. Miller  <davem@davemloft.net>
76316         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76317         that branches into memcpy.
76318         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76319         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76320         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76321         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76322         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76323         bits.
76324         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76325         implementation too.
76326         * sysdeps/sparc/mempcpy.S: New file.
76328         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76329         the IFUNC routine in the libc case.
76330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76332         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76333         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76334         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76335         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76336         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76337         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76338         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76339         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76341         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76342         loop to 256 bytes instead of 64 bytes and fix test signedness.
76344         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76345         * sysdeps/sparc/sparc32/Makefile: rather than here...
76346         * sysdeps/sparc/sparc64/Makefile: and here.
76348 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76350         * malloc/mallocbug.c: Avoid warnings about unused variables.
76352 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76354         [BZ #13760]
76355         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76356         in the right place. Discard and retry query if response is
76357         larger than input buffer size.
76359 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76361         [BZ #369]
76362         [BZ #2678]
76363         [BZ #3866]
76364         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76365         x for large integer exponent.
76366         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76367         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76368         sign of result as needed afterwards.
76369         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76370         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76371         result for underflowing pow the same as for overflow.
76372         (__kernel_standard_l): Handle powl overflow and underflow here
76373         rather than calling __kernel_standard.
76374         * math/libm-test.inc (pow_test): Add more tests.
76376         [BZ #3868]
76377         [BZ #13879]
76378         [BZ #13910]
76379         [BZ #13911]
76380         [BZ #13912]
76381         [BZ #13913]
76382         [BZ #13915]
76383         [BZ #13916]
76384         [BZ #13917]
76385         [BZ #13918]
76386         [BZ #13919]
76387         [BZ #13920]
76388         [BZ #13921]
76389         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76390         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76391         (__kernel_standard_l): New function.
76392         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76393         __kernel_standard.
76394         * math/w_acosl.c (__acosl): Likewise.
76395         * math/w_asinl.c (__asinl): Likewise.
76396         * math/w_atan2l.c (__atan2l): Likewise.
76397         * math/w_atanhl.c (__atanhl): Likewise.
76398         * math/w_coshl.c (__coshl): Likewise.
76399         * math/w_exp10l.c (__exp10l): Likewise.
76400         * math/w_exp2l.c (__exp2l): Likewise.
76401         * math/w_fmodl.c (__fmodl): Likewise.
76402         * math/w_hypotl.c (__hypotl): Likewise.
76403         * math/w_j0l.c (__j0l, __y0l): Likewise.
76404         * math/w_j1l.c (__j1l, __y1l): Likewise.
76405         * math/w_jnl.c (__jnl, __ynl): Likewise.
76406         * math/w_lgammal.c (__lgammal): Likewise.
76407         * math/w_log10l.c (__log10l): Likewise.
76408         * math/w_log2l.c (__log2l): Likewise.
76409         * math/w_logl.c (__logl): Likewise.
76410         * math/w_powl.c (__powl): Likewise.
76411         * math/w_remainderl.c (__remainderl): Likewise.
76412         * math/w_scalbl.c (sysv_scalbl): Likewise.
76413         * math/w_sinhl.c (__sinhl): Likewise.
76414         * math/w_sqrtl.c (__sqrtl): Likewise.
76415         * math/w_tgammal.c (__tgammal): Likewise.
76416         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76417         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76418         * math/libm-test.inc (acos_test): Add more tests.
76419         (acosh_test): Likewise.
76420         (asin_test): Likewise.
76421         (atanh_test): Likewise.
76422         (exp_test): Likewise.
76423         (exp10_test): Likewise.
76424         (exp2_test): Likewise.
76425         (expm1_test): Likewise.
76426         (lgamma_test): Likewise.
76427         (log_test): Likewise.
76428         (log10_test): Likewise.
76429         (log1p_test): Likewise.
76430         (log2_test): Likewise.
76431         (pow_test): Do not allow some spurious overflow exceptions.
76432         (sqrt_test): Add more tests.
76433         (tgamma_test): Likewise.
76434         (y0_test): Likewise.
76435         (y1_test): Likewise.
76436         (yn_test): Likewise.
76438 2012-03-27  Anton Blanchard  <anton@samba.org>
76440         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76441         MAP_HUGETLB.
76442         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76443         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76444         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76446 2012-03-27  David S. Miller  <davem@davemloft.net>
76448         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76450         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76451         have-as-vis3 check.
76453 2012-03-27  Andreas Jaeger  <aj@suse.de>
76455         * sysdeps/x86_64/elf/configure.in: Moved to ...
76456         * sysdeps/x86_64/configure.in: ... here.
76457         * sysdeps/x86_64/elf/start.S: Moved to ...
76458         * sysdeps/x86_64/start.S: ... here.
76459         * sysdeps/x86_64/elf/configure: Delete.
76461         * sysdeps/x86_64/configure.in: Merge contents from
76462         sysdeps/i386/configure.in (without i686 check).
76464         * sysdeps/i386/elf/Versions: Merge into ...
76465         * sysdeps/i386/Versions: ... this.
76466         * sysdeps/i386/elf/Versions: Delete file.
76467         * sysdeps/i386/elf/start.S: Moved to ...
76468         * sysdeps/i386/start.S: ...here.
76469         * sysdeps/i386/elf/configure.in: Merge into...
76470         * sysdeps/i386/configure.in: ...here.
76471         * sysdeps/i386/elf/configure.in: Delete file.
76472         * sysdeps/i386/elf/configure: Delete file.
76474         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76475         * debug/backtracesyms.c: ... here.
76476         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76477         * debug/backtracesymsfd.c: ... here.
76478         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76479         * sysdeps/generic/ifunc-sel.h: ... here.
76481         * sysdeps/unix/i386/start.c: Delete file.
76482         * sysdeps/unix/sparc/start.c: Delete file.
76483         * sysdeps/unix/start.c: Delete file.
76485         * sysdeps/sh/elf/configure.in: Moved to ...
76486         * sysdeps/sh/configure.in: ... here.
76487         * sysdeps/sh/elf/start.S: Moved to ...
76488         * sysdeps/sh/start.S: ... here.
76489         * sysdeps/sh/elf/configure: Delete file.
76491         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76492         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76493         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76494         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76495         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76496         * sysdeps/powerpc/powerpc64/start.S: here.
76497         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76498         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76499         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76500         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76501         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76503         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76504         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76505         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76506         * sysdeps/powerpc/powerpc32/start.S: ... here.
76507         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76508         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76509         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76511         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76512         * sysdeps/powerpc/ifunc-sel.h: ... here.
76513         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76514         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76516         * sysdeps/sparc/elf/configure.in: Moved to ...
76517         * sysdeps/sparc/configure.in: ... here.
76518         * sysdeps/sparc/elf/configure: Delete file.
76519         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76520         * sysdeps/sparc/sparc32/start.S: ... here.
76521         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76522         * sysdeps/sparc/sparc64/start.S: ... here.
76523         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76524         * sysdeps/sparc/sparc32/Makefile: ... this.
76525         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76526         * sysdeps/sparc/sparc64/Makefile: ... this.
76528         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76529         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76530         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76531         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76532         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76533         * sysdeps/s390/s390-32/setjmp.S: ... here.
76534         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76535         * sysdeps/s390/s390-32/configure.in: ... here.
76536         * sysdeps/s390/s390-32/elf/configure: Delete file.
76537         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76538         * sysdeps/s390/s390-32/start.S: ... here.
76540         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76541         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76542         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76543         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76544         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76545         * sysdeps/s390/s390-64/setjmp.S: ... here.
76546         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76547         * sysdeps/s390/s390-64/configure.in: ... here
76548         * sysdeps/s390/s390-64/elf/configure: Delete file.
76549         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76550         * sysdeps/s390/s390-64/start.S: ... here.
76551         * sysdeps/s390/s390-64/elf/configure: Delete.
76553         * configure.in: Remove support for elf directories in sysdeps.
76555         * configure: Regenerated.
76556         * sysdeps/i386/configure: Regenerated.
76557         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76558         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76559         * sysdeps/s390/s390-32/configure: Regenerated.
76560         * sysdeps/s390/s390-64/configure: Regenerated.
76561         * sysdeps/sh/configure: Regenerated.
76562         * sysdeps/sparc/configure: Regenerated.
76563         * sysdeps/x86_64/configure: Regenerated.
76565 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76569         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76570         denormal result into account.
76572 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76574         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76575         Reported by Allan McRae <allan@archlinux.org>.
76577 2012-03-23  Jeff Law  <law@redhat.com>
76579         * nss/getnssent.c (__nss_getent): Fix typo.
76581 2012-03-23  David S. Miller  <davem@davemloft.net>
76583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76585 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76587         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76588         to pad to uint64_t for each field.
76589         (dl_tls_index): Replace unsigned long with uint64_t.
76591 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76592         Paul Pluzhnikov  <ppluzhnikov@google.com>
76594         [BZ #6528]
76595         * grp/Makefile (otherlibs): Don't set it.
76596         * inet/Makefile (otherlibs): Likewise.
76597         * login/Makefile (otherlibs): Likewise.
76598         * nscd/Makefile (otherlibs): Likewise.
76599         * posix/Makefile (otherlibs): Likewise.
76600         * pwd/Makefile (otherlibs): Likewise.
76601         * rt/Makefile (otherlibs): Likewise.
76602         * sunrpc/Makefile (otherlibs): Likewise.
76603         * nss/Makefile (otherlibs): Likewise.
76604         Add libnss_files to routines and static-only-routines.
76605         ($(objpfx)getent): Remove rule.
76606         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76607         static-only-routines.
76609 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76611         [BZ #13892]
76612         * math/s_cexp.c: Include <float.h>.
76613         (__cexp): Handle exp result overflowing not necessarily
76614         overflowing both real and imaginary parts of result.
76615         * math/s_cexpf.c: Likewise.
76616         * math/s_cexpl.c: Likewise.
76617         * math/libm-test.inc (cexp_test): Add more tests.
76618         * sysdeps/i386/fpu/libm-test-ulps: Update.
76619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76621 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76623         * include/link.h (ELFW): New macro.
76624         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76625         Replace ELF64_R_TYPE with ELFW(R_TYPE).
76627 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76629         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76630         with uint64_t.
76632 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76634         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76635         declaration.
76636         (struct La_x32_retval): Likewise.
76638 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76640         * sysdeps/x86_64/preconfigure.in: New file.
76641         * sysdeps/x86_64/preconfigure: New generated file.
76643 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76645         [BZ #13824]
76646         * math/e_exp2l.c: Include <float.h>.
76647         (__ieee754_exp2l): Handle overflow and underflow cases
76648         separately.  Only pass fractional part of argument to
76649         __ieee754_expl.
76650         * math/libm-test.inc (exp2_test): Add more tests.
76652         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
76653         negating x to take absolute value.
76654         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
76655         Likewise.
76656         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
76657         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
76658         Likewise.
76659         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
76660         computing low part if x was negated.
76661         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
76663 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76665         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76666         la_x32_gnu_pltexit.
76667         (pltexit): Cast int_retval to ptrdiff_t.
76668         * elf/tst-auditmod3b.c: Likewise.
76669         * elf/tst-auditmod4b.c: Likewise.
76670         * elf/tst-auditmod5b.c: Likewise.
76671         * elf/tst-auditmod6b.c: Likewise.
76672         * elf/tst-auditmod6c.c: Likewise.
76673         * elf/tst-auditmod7b.c: Likewise.
76675         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
76676         and x32_gnu_pltexit.
76678         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
76679         __ELF_NATIVE_CLASS.
76680         (La_x32_regs): New macro.
76681         (La_x32_retval): Likewise.
76682         (la_x32_gnu_pltenter): New function prototype.
76683         (la_x32_gnu_pltexit): Likewise.
76685 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
76687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
76688         exponent.
76690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76692         * configure.in (libc_cv_cc_nofma): Check for option to disable
76693         generation of FMA instructions.
76694         * configure: Regenerate.
76695         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76696         * sysdeps/ieee754/dbl-64/Makefile: New file.
76697         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
76698         Remove brandred-fma4.
76699         (CFLAGS-brandred-fma4.c): Remove.
76700         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
76701         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76702         define.
76703         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
76704         define.
76706 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76708         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76709         LLONG_MAX != LONG_MAX.
76710         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76711         (_fitoa_word): Likewise.
76712         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76713         LLONG_MAX != LONG_MAX.
76714         * stdio-common/_itowa.h: Include <_itoa.h>.
76715         (_itowa_word): Use _ITOA_WORD_TYPE on value.
76716         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
76717         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
76718         only if not defined.
76719         (_ITOA_WORD_TYPE): Likewise.
76720         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76721         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
76723 2012-03-21  David S. Miller  <davem@davemloft.net>
76725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76727 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76729         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
76730         of x86_64 when setting libc_cv_slibdir, libdir and
76731         libc_cv_localedir.
76732         * sysdeps/unix/sysv/linux/configure: Regenerated.
76734 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76736         * manual/lang.texi (Old Varargs): Remove section.
76737         (How Variadic): Update menu.
76738         (va_start): Do not mention varargs.h.
76740 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76741             Joseph Myers  <joseph@codesourcery.com>
76743         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
76744         link test.
76745         * configure: Regenerated.
76747 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76749         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
76750         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
76751         conformtest.pl
76753 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76755         * NOTES: Remove.
76756         * Makefile (files-for-dist): Remove NOTES.
76757         (NOTES): Remove rule.
76758         * README: Don't refer to NOTES.
76759         * manual/creature.texi: Don't include macros.texi.
76760         * manual/intro.texi (creature.texi): Remove comment referring to
76761         NOTES.
76763         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
76764         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
76765         * configure: Regenerated.
76766         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
76767         LIBC_TRY_CC_OPTION.
76768         (libc_cv_as_i686): Likewise.
76769         (libc_cv_cc_avx): Likewise.
76770         (libc_cv_cc_sse2avx): Likewise.
76771         (libc_cv_cc_fma4): Likewise.
76772         (libc_cv_cc_novzeroupper): Likewise.
76773         * sysdeps/i386/configure: Regenerated.
76775         [BZ #13883]
76776         * sysdeps/i386/fpu/s_cexp.S: Remove.
76777         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76778         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76779         * math/libm-test.inc (cexp_test): Add more tests.
76780         * sysdeps/i386/fpu/libm-test-ulps: Update.
76781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76783 2012-03-21  Allan McRae  <allan@archlinux.org>
76785         * timezone/Makefile: Do not install iso3166.tab and zone.tab
76787 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76789         [BZ #13871]
76790         * math/w_exp2.c: Do not include <float.h>.
76791         (o_threshold, u_threshold): Remove.
76792         (__exp2): Calculate result before checking finiteness and calling
76793         __kernel_standard.
76794         * math/w_exp2f.c: Likewise.
76795         * math/w_exp2l.c: Likewise.
76796         * math/libm-test.inc (exp2_test): Require overflow exception for
76797         1e6 input.
76799         [BZ #3866]
76800         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
76801         range of signed 64-bit integers before using fistpll.  Remove
76802         checks for whether integers fit in mantissa bits.
76803         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
76804         the range of signed 32-bit integers before using fistpl.  Remove
76805         checks for whether integers fit in mantissa bits.
76806         * sysdeps/i386/fpu/e_powl.S (p64): New object.
76807         (__ieee754_powl): Test for y outside the range of signed 64-bit
76808         integers before using fistpll.  Reduce 64-bit values to 63-bit
76809         ones as needed.
76810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
76811         divide-by-zero is raised for zero to large negative powers.
76812         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
76813         (__ieee754_powl): Test for y outside the range of signed 64-bit
76814         integers before using fistpll.  Reduce 64-bit values to 63-bit
76815         ones as needed.
76816         * math/libm-test.inc (pow_test): Add more tests.
76818 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76820         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
76821         <stdio-common/_itoa.h>.
76822         * debug/segfault.c: Likewise.
76823         * elf/dl-cache.c: Likewise.
76824         * elf/dl-minimal.c: Likewise.
76825         * elf/dl-misc.c: Likewise.
76826         * elf/dl-sysdep.c: Likewise.
76827         * elf/dl-version.c: Likewise.
76828         * elf/rtld.c: Likewise.
76829         * hurd/hurdsock.c: Likewise.
76830         * hurd/lookup-retry.c: Likewise.
76831         * malloc/malloc.c: Likewise.
76832         * malloc/mtrace.c: Likewise.
76833         * nscd/nscd_getgr_r.c: Likewise.
76834         * nscd/nscd_getpw_r.c: Likewise.
76835         * nscd/nscd_getserv_r.c: Likewise.
76836         * posix/getopt_init.c: Likewise.
76837         * posix/wordexp.c: Likewise.
76838         * stdio-common/_itoa.c: Likewise.
76839         * stdio-common/printf_fphex.c: Likewise.
76840         * stdio-common/vfprintf.c: Likewise.
76841         * string/_strerror.c: Likewise.
76842         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
76843         * sysdeps/i386/i686/hp-timing.h: Likewise.
76844         * sysdeps/mach/_strerror.c: Likewise.
76845         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
76846         * sysdeps/mach/hurd/sethostid.c: Likewise.
76847         * sysdeps/mach/hurd/xmknodat.c: Likewise.
76848         * sysdeps/mach/xpg-strerror.c: Likewise.
76849         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
76850         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
76851         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
76852         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
76853         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
76854         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
76855         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
76856         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
76857         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
76858         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
76859         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
76860         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
76861         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
76862         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
76863         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
76864         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
76865         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
76866         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
76867         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
76868         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
76869         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
76871         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
76873         * stdio-common/_itoa.h: Moved to ...
76874         * sysdeps/generic/_itoa.h: Here.
76876         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
76878         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
76879         instead of "_itoa.h" and "_itowa.h".
76880         * stdio-common/vfprintf.: Likewise.
76882 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76884         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
76885         <bits/wordsize.h>.
76886         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
76887         (__signbit): Likewise.
76888         (llrintf): Likewise.
76889         (llrint): Likewise.
76891 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76893         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
76894         __WORDSIZE != 64.
76896 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
76898         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
76899         OVERFLOW_EXCEPTION_OK.
76900         * math/libm-test.inc ("Philosophy"): Update comment about
76901         exception testing.
76902         (OVERFLOW_EXCEPTION): Define.
76903         (OVERFLOW_EXCEPTION_OK): Likewise.
76904         (INVALID_EXCEPTION_OK): Renumber.
76905         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
76906         (IGNORE_ZERO_INF_SIGN): Likewise.
76907         (test_exceptions): Handle FE_OVERFLOW.
76908         (exp10_test): Expect overflow exceptions.
76909         (exp2_test): Likewise.
76910         (expm1_test): Likewise.
76911         (nextafter_test): Likewise.
76912         (pow_test): Likewise.
76913         (scalbn_test): Likewise.
76914         (scalbln_test): Likewise.
76916 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76918         * sysdeps/x86_64/bits/atomic.h
76919         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
76920         64bit integer.
76921         (atomic_exchange_acq): Likewise.
76922         (__arch_exchange_and_add_body): Likewise.
76923         (__arch_add_body): Likewise.
76924         (atomic_add_negative): Likewise.
76925         (atomic_add_zero): Likewise.
76927 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76929         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
76930         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
76932 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76934         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
76935         Check __x86_64__ instead of __WORDSIZE.
76937 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76939         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
76941 2012-03-19  David S. Miller  <davem@davemloft.net>
76943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76945         * sysdeps/sparc/fpu/fenv_private.h: New file.
76946         * sysdeps/sparc/fpu/math_private.h: Use it.
76947         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
76948         Remove.
76949         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
76950         (libc_feholdexcept_setroundl): Remove.
76951         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
76952         Remove.
76953         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
76954         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
76956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76958         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
76959         int64_t instead of long int.
76960         (INSERT_WORDS64): Likewise.
76962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
76964         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
76965         _Unwind_GetCFA return to _Unwind_Ptr first.
76967 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
76969         [BZ #13629]
76970         * math/s_clog.c: Include <float.h>.
76971         (__clog): Scale large or subnormal inputs.
76972         * math/s_clogf.c: Likewise.
76973         * math/s_clogl.c: Likewise.
76974         * math/s_clog10.c: Include <float.h>.
76975         (M_LOG10_2): Define.
76976         (__clog10): Scale large or subnormal inputs.
76977         * math/s_clog10f.c: Likewise.
76978         * math/s_clog10l.c: Likewise.
76979         * math/libm-test.inc (clog_test): Add more tests.
76980         (clog10_test): Likewise.
76981         * sysdeps/i386/fpu/libm-test-ulps: Update.
76982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76984         [BZ #11451]
76985         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
76986         x and y.
76987         * math/libm-test.inc (atan2_test): Add another test.
76989         * Makerules (common-objdir-compile): Remove.
76990         * sysdeps/unix/Makefile (config-generated): Do not add
76991         $(unix-generated) to variable.
76992         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
76993         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
76994         Remove rule.
76995         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
76996         Likewise.
76997         [generic bits/local_lim.h] (before-compile): Do not append to
76998         variable.
76999         [generic bits/local_lim.h] (common-generated): Likewise.
77000         [generic sys/param.h] (before-compile): Do not append to variable.
77001         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77002         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77003         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77004         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77005         include.
77006         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77007         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77008         [generic sys/param.h] ($(addprefix
77009         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77010         [generic sys/param.h] (common-generated): Do not append to
77011         variable.
77012         [generic sys/param.h] (sysdep_headers): Likewise.
77013         [generic bits/errno.h] (before-compile): Do not append to
77014         variable.
77015         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77016         rule.
77017         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77018         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77019         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77020         [generic bits/errno.h] (common-generated): Do not append to
77021         variable.
77022         [generic bits/ioctls.h] (before-compile): Do not append to
77023         variable.
77024         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77025         rule.
77026         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77027         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77028         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77029         rule.
77030         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77031         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77032         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77033         [generic bits/ioctls.h] (common-generated): Do not append to
77034         variable.
77035         [generic sys/syscall.h] (syscall.h): Remove variable.
77036         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77037         rule.
77038         [generic sys/syscall.h] (before-compile): Do not append to
77039         variable.
77040         [generic sys/syscall.h] (common-generated): Likewise.
77041         * sysdeps/unix/errnos-tmpl.c: Remove file.
77042         * sysdeps/unix/errnos.awk: Likewise.
77043         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77044         * sysdeps/unix/ioctls.awk: Likewise.
77045         * sysdeps/unix/mk-local_lim.c: Likewise.
77046         * sysdeps/unix/snarf-ioctls: Likewise.
77048 2012-03-19  Richard Henderson  <rth@twiddle.net>
77050         * sysdeps/i386/fpu/fenv_private.h: New file.
77051         * sysdeps/i386/fpu/math_private.h: Use it.
77052         (math_opt_barrier, math_force_eval): Remove.
77053         (libc_feholdexcept_setround_53bit): Remove.
77054         (libc_feupdateenv_53bit): Remove.
77055         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77056         (math_opt_barrier, math_force_eval): Remove.
77057         (libc_feholdexcept): Remove.
77058         (libc_feholdexcept_setround): Remove.
77059         (libc_fetestexcept, libc_fesetenv): Remove.
77060         (libc_feupdateenv_test): Remove.
77061         (libc_feupdateenv, libc_feholdsetround): Remove.
77062         (libc_feresetround): Remove.
77064         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77065         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77067         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77068         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77069         (libc_feupdateenv_testl): New.
77070         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77071         (libc_feupdateenv_testf): New.
77072         (libc_feupdateenv): Use libc_feupdateenv_test.
77073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77074         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77076         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77077         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77078         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77079         (libc_feresetround_noex): New.
77080         (libc_feresetround_noexf): New.
77081         (libc_feresetround_noexl): New.
77082         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77083         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77084         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77085         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77086         SET_RESTORE_ROUND.
77087         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77088         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77089         (__cos): Likewise.
77090         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77092         SET_RESTORE_ROUND_NOEX.
77093         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77094         SET_RESTORE_ROUND_NOEXF.
77095         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77096         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77097         (libc_feholdsetroundf): New.
77098         (libc_feresetround, libc_feresetroundf): New.
77100         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77101         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77102         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77104         * sysdeps/generic/math_private.h: Include <fenv.h>.
77105         (default_libc_feholdexcept): New.
77106         (default_libc_feholdexcept_setround): New.
77107         (default_libc_fesetenv, default_libc_feupdateenv): New.
77108         (libc_feholdexcept): Only define if undefined.
77109         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77110         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77111         (libc_feholdexcept_setroundl): Likewise.
77112         (libc_feholdexcept_setround_53bit): Likewise.
77113         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77114         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77115         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77116         (libc_feupdateenv_53bit): Likewise.
77117         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77118         (libc_feholdexcept): Convert from macro to inline function.
77119         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77120         (libc_fesetenv, libc_feupdateenv): Likewise.
77122         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77123         not previously defined.
77124         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77125         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77126         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77127         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77128         * sysdeps/ieee754/flt-32/math_private.h: New file.
77129         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77130         math_private.h below SET_FLOAT_WORD.
77131         (__isnan, __isinf_ns, __finite): Remove.
77132         (__isnanf, __isinf_nsf, __finitef): Remove.
77134 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77138 2012-03-17  David S. Miller  <davem@davemloft.net>
77140         [BZ #6471]
77141         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77142         for 2.16.
77144 2012-03-16  David S. Miller  <davem@davemloft.net>
77146         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77147         warnings.
77149         [BZ #6471]
77150         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77151         properly.
77152         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77153         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77154         sysdep_routines when subdir is sysvipc.
77155         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77156         __getshmlba helper.
77158         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77160 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77162         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77163         [__LP64__].
77165 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77167         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77168         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77169         (__lround): Renamed to ...
77170         (__llround): This.  Replace long int with long long int.
77171         Define lround functions as aliases of llround functions.
77172         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77174 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77176         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77177         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77178         adresses to uintptr_t.  Replace "long int" and "unsigned long
77179         int" with "greg_t" on va_arg.
77181 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77183         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77184         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77186         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77187         Move e_machine check before EI_CLASS check.  Handle x32
77188         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77189         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77190         SKIP_EM_IA_64 and include
77191         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77193         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77194         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77195         (add_system_dir): New macro.
77197         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77198         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77200 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77202         [BZ #2551]
77203         [BZ #2552]
77204         [BZ #2553]
77205         [BZ #2554]
77206         [BZ #2562]
77207         [BZ #2563]
77208         [BZ #2565]
77209         [BZ #2566]
77210         [BZ #2576]
77211         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77212         (y0): Likewise.
77213         * math/w_j0f.c (j0f): Likewise.
77214         (y0f): Likewise.
77215         * math/w_j0l.c (__j0l): Likewise.
77216         (__y0l): Likewise.
77217         * math/w_j1.c (j1): Likewise.
77218         (y1): Likewise.
77219         * math/w_j1f.c (j1f): Likewise.
77220         (y1f): Likewise.
77221         * math/w_j1l.c (__j1l): Likewise.
77222         (__y1l): Likewise.
77223         * math/w_jn.c (jn): Likewise.
77224         (yn): Likewise.
77225         * math/w_jnf.c (jnf): Likewise.
77226         (ynf): Likewise.
77227         * math/w_jnl.c (__jnl): Likewise.
77228         (__ynl): Likewise.
77229         * math/libm-test.inc (j0_test): Add more tests.
77230         (j1_test): Likewise.
77231         (jn_test): Likewise.  Add trailing semicolon to existing test.
77232         (y0_test): Likewise.
77233         (y1_test): Likewise.
77234         * sysdeps/i386/fpu/libm-test-ulps: Update.
77235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77237         [BZ #13851]
77238         [BZ #13854]
77239         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77240         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77241         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77242         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77243         (__tanl): Set errno for infinite argument.
77244         * sysdeps/i386/fpu/mptan.c: Remove.
77245         * sysdeps/i386/fpu/s_tan.S: Likewise.
77246         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77247         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77248         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77249         * math/libm-test.inc (tan_test): Add more tests and enable more
77250         tests for double and long double.
77251         * sysdeps/i386/fpu/libm-test-ulps: Update.
77252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77254 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77256         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77257         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77259 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77261         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77262         * configure.in: Use it for both main tree and add-ons.
77263         * configure: Regenerated.
77265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77267         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77269 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77271         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77272         in comment.
77274         [BZ #13851]
77275         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77276         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77277         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77278         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77279         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77280         infinite argument.
77281         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77283         != 0 for prec == 2.
77284         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77285         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77286         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77287         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77288         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77289         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77290         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77291         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77292         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77293         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77294         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77295         * math/libm-test.inc (cos_test): Add more tests and enable more
77296         tests for long double.
77297         (sin_test): Likewise.
77298         (sincos_test): Likewise.
77299         * sysdeps/i386/fpu/libm-test-ulps: Update.
77300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77302 2012-03-16  David S. Miller  <davem@davemloft.net>
77304         * sysdeps/sparc/fpu/math_private.h: New file.
77306 2012-03-15  David S. Miller  <davem@davemloft.net>
77308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77309         file.
77310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77312         file.
77313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77314         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77318         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77319         sysdep routines.
77320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77322         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77323         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77325         * sysdeps/sparc/sparc-ifunc.h: New file.
77326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77327         sparc-ifunc.h
77328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77330         Likewise.
77331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77332         Likewise.
77333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77337         Likewise.
77338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77343         Likewise.
77344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77345         Likewise.
77346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77351         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77352         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77353         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77354         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77355         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77360         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77364         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77365         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77366         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77367         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77371 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77373         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77374         scaling.
77375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77377 2012-03-15  Andreas Jaeger  <aj@suse.de>
77379         [BZ #13852]
77380         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77381         ieee754/flt-32 implementation for sin, cos and sincos.
77382         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77383         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77384         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77385         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77386         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77387         ieee754/flt-32 implementation for tan.
77389         * math/libm-test.inc (cos_test): Enable some large input tests for
77390         float as well
77391         (sin_test): Likewise.
77392         (sincos_test): Likewise.
77393         (tan_test): Add tests for large input.
77395         * sysdeps/i386/fpu/libm-test-ulps: Update.
77397 2012-03-15  Andreas Jaeger  <aj@suse.de>
77399         [BZ #13658]
77400         * math/libm-test.inc (cos_test): Add more test cases.
77401         (sin_test): Likewise.
77402         (sincos_test): Likewise.
77404 2012-03-15  Andreas Jaeger  <aj@suse.de>
77406         [BZ #13837]
77407         * math/libm-test.inc (cos_test): Add a test case for large input
77408         value.
77409         (sin_test): Likewise.
77410         (sincos_test): Likewise.
77412 2012-03-15  Andreas Jaeger  <aj@suse.de>
77413             Joseph Myers  <joseph@codesourcery.com>
77415         [BZ #13658]
77416         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77417         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77418         * sysdeps/i386/fpu/branred.c: Likewise.
77419         * sysdeps/i386/fpu/dosincos.c: Likewise.
77420         * sysdeps/i386/fpu/mpa.c: Likewise.
77421         * sysdeps/i386/fpu/s_cos.S: Likewise.
77422         * sysdeps/i386/fpu/s_sin.S: Likewise.
77423         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77424         * sysdeps/i386/fpu/sincos32.c: Likewise.
77426         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77427         Define.
77428         (libc_feupdateenv_53bit): Define.
77429         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77430         Define.
77431         (libc_feupdateenv_53bit): Define.
77433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77434         53 bit (without extend i386 double precision).
77436         * math/libm-test.inc (sincos_test): Add tests for large input.
77437         (sin): Likewise.
77438         (cos): Likewise.
77440         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77442 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77446 2012-03-15  David S. Miller  <davem@davemloft.net>
77448         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77449         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77450         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77451         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77464         file.
77465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77467         file.
77468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77470         file.
77471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77473         file.
77474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77475         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77476         fmin/fmax sysdep routines.
77477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77479 2012-03-14  David S. Miller  <davem@davemloft.net>
77481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77485         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77486         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77501         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77502         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77503         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77504         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77505         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77506         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77507         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77508         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77510         routines.
77511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77512         file.
77513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77515         file.
77516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77518         file.
77519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77521         file.
77522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77524         file.
77525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77527         file.
77528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77529         file.
77530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77531         file.
77532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77533         file.
77534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77535         New file.
77536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77537         file.
77538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77539         file.
77540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77542         file.
77543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77545         file.
77546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77548         file.
77549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77551         VIS3 routines.
77553         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77554         New file.
77556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77558         * sysdeps/sparc/configure.in: New file.
77559         * sysdeps/sparc/configure: Generate.
77560         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77561         * configure: Regenerate.
77562         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77563         * config.make.in (have-as-vis3): New.
77564         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77565         available use -Av9d instead of -Av9a.
77566         * sysdeps/sparc/sparc64/Makefile: Likewise.
77567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77569         New file.
77570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77571         file.
77572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77573         New file.
77574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77575         file.
77576         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77577         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77578         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77582         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77583         fzeros/fnegs to load 0x80000000 into a float register instead of
77584         using the stack.
77585         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77587 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77590         bits/syscall.h.
77591         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77592         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77593         ($(inst_includedir)/bits/syscall.h): Remove rule.
77594         ($(objpfx)bits/syscall.d): Include instead of
77595         $(objpfx)syscall-list.d.
77596         (generated): Change syscall-list.h and syscall-list.d to
77597         bits/syscall.h and bits/syscall.d.
77599 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77601         [BZ #13846]
77602         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77604 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77606         [BZ #13841]
77607         * math/s_csqrt.c: Include <float.h>.
77608         (__csqrt): Scale large or subnormal inputs.
77609         * math/s_csqrtf.c: Likewise.
77610         * math/s_csqrtl.c: Likewise.
77611         * math/libm-test.inc (csqrt_test): Add more tests.
77612         * sysdeps/i386/fpu/libm-test-ulps: Update.
77613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77615         [BZ #13840]
77616         * math/libm-test.inc (hypot_test): Add more tests.
77618 2012-03-13  David S. Miller  <davem@davemloft.net>
77620         [BZ #13840]
77621         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77622         double-precision for the calculation instead of scaling.
77624 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
77626         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77627         manipulate bits before adding and subtracting TWO52[sx].
77628         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77629         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77630         Likewise.
77631         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77633 2012-03-13  David S. Miller  <davem@davemloft.net>
77635         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77636         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77637         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
77638         rtld-global-offsets.h
77639         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77641         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
77642         large parameters.
77644         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
77646         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
77647         'err' in the ifdef scope in which it is actually used.
77649         * nss/nss_db/db-init.c: Include string.h
77651 2012-03-12  David S. Miller  <davem@davemloft.net>
77653         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77654         masking out of the most significant byte of random value used.
77655         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77656         Fix coding style in previous change.
77658         * sysdeps/unix/sysv/linux/kernel-features.h
77659         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
77660         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
77661         expression.
77662         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
77663         later.
77665 2012-03-11  David S. Miller  <davem@davemloft.net>
77667         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
77668         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
77669         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
77670         for 'resultvar' otherwise things get truncated on 64-bit.
77672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77673         Fix masking out of the most significant byte of random value used.
77675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77677 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
77679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77681 2012-03-09  David S. Miller  <davem@davemloft.net>
77683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
77684         variables with appropriate CPP guards.
77685         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
77686         from the frame pointer, not the stack pointer.  Correct layout
77687         comments.  Fix test on resulting framesize and the management of
77688         the outregs buffer for pltexit.  Preserve floating point return
77689         values across _dl_call_pltexit call.
77690         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
77691         framesize and the management of the outregs buffer for pltexit.
77692         Preserve floating point return values across _dl_call_pltexit
77693         call.
77694         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
77695         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
77696         (la_sparc64_gnu_pltexit): New functions.
77697         (print_exit): Fix format string for return register value.
77699 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
77701         * sunrpc/Makefile (others): Add rpcgen.
77702         ($(objpfx)rpcgen): Remove special build rule and dependency on
77703         libc.
77704         * sunrpc/rpcgen.c: New file.
77706 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
77708         [BZ #13673]
77709         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
77710         * stdio-common/bug-vfprintf-nargs.c: Likewise.
77711         * sysdeps/i386/crti.S: Likewise.
77712         * sysdeps/i386/crtn.S: Likewise.
77713         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
77714         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
77715         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
77716         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
77717         * sysdeps/sh/crti.S: Likewise.
77718         * sysdeps/sh/crtn.S: Likewise.
77719         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77721         [BZ #13673]
77722         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
77723         with URL.
77724         * locale/programs/locfile-kw.gperf: Likewise.
77725         * locale/programs/charmap-kw.h: Regenerated.
77726         * locale/programs/locfile-kw.h: Likewise.
77728         [BZ #13673]
77729         * intl/plural.y: Replace FSF snail mail address with URL.
77730         * intl/plural.c: Regenerated.
77732 2012-03-09  Richard Henderson  <rth@twiddle.net>
77734         * include/math_private.h: Remove file.
77735         * math/math_private.h: Move file ...
77736         * sysdeps/generic/math_private.h: ... here.
77738         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
77739         * sysdeps/powerpc/fpu/math_private.h: Likewise.
77740         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77742         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
77743         and <math_private.h>.
77744         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77745         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77746         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77747         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77748         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77749         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
77750         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77752         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77753         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77755         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77756         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77757         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77758         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77759         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77760         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77761         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77762         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77763         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77765         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77766         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77767         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77768         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
77769         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77770         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77771         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77772         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77773         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77774         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77775         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77776         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
77777         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77778         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77779         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77780         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77781         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77782         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77783         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77784         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
77785         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77786         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77787         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
77788         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
77789         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77790         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
77791         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
77792         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77793         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77794         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
77795         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
77796         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
77797         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77798         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
77799         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77800         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77801         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
77802         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
77803         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
77804         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77805         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
77806         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77807         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77808         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
77809         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77810         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77811         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77812         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
77813         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
77814         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
77815         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77816         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
77817         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77818         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
77819         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
77820         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
77821         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77822         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
77823         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
77824         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
77825         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
77826         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
77827         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77828         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77829         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
77830         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
77831         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
77832         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77833         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77834         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77835         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77836         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77837         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77838         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77839         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77840         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77841         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77842         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77843         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77844         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77845         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77846         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77847         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77848         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77849         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77850         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77851         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77852         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77853         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77854         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77855         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77856         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77857         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77858         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
77859         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77860         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77861         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77862         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77863         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77864         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77865         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77866         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77867         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
77868         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77869         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77870         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77871         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
77872         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77873         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
77874         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
77875         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77876         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77877         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
77878         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
77879         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77880         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77881         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77882         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
77883         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77884         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77885         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77886         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77887         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
77888         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
77889         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77890         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77891         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77892         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
77893         * sysdeps/ieee754/k_standard.c: Likewise.
77894         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77895         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77896         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77897         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77898         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77899         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77900         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77901         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77902         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77903         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77904         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77905         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77906         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77907         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77908         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77909         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77910         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
77911         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77912         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77913         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
77914         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
77915         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
77916         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77917         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77918         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
77919         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
77920         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77921         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77922         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77923         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77924         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
77925         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77926         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77927         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77928         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
77929         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77930         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77931         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
77932         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
77933         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77934         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
77935         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
77936         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
77937         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77938         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
77939         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
77940         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77941         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77942         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77943         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77944         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77945         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
77946         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77947         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
77948         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77949         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77950         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
77951         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
77952         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77953         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77954         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77955         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
77956         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77957         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77958         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77960         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77961         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77962         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77963         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77964         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77966         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77967         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77968         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77969         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77970         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
77971         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77972         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77973         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
77974         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
77975         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
77976         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77977         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77978         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
77979         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77980         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77981         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
77982         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77983         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77984         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
77985         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77986         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
77987         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
77988         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77989         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77990         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
77991         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
77992         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
77993         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
77994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77995         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77996         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77997         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77998         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
77999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78001         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78002         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78003         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78004         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78005         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78006         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78007         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78008         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78009         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78010         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78011         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78012         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78013         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78014         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78015         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78016         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78017         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78018         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78019         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78020         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78021         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78022         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78023         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78024         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78025         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78026         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78027         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78028         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78029         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78030         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78031         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78032         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78033         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78034         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78035         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78036         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78037         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78038         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78039         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78040         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78041         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78042         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78043         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78044         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78045         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78046         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78047         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78048         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78049         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78050         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78051         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78052         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78053         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78054         * sysdeps/ieee754/s_lib_version.c: Likewise.
78055         * sysdeps/ieee754/s_matherr.c: Likewise.
78056         * sysdeps/ieee754/s_signgam.c: Likewise.
78057         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78058         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78059         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78060         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78061         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78062         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78063         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78064         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78065         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78066         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78067         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78068         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78069         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78070         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78071         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78072         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78073         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78074         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78075         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78076         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78077         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78079 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78081         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78082         * sunrpc/rpc_main.c: Likewise.
78083         * sunrpc/rpc_svcout.c: Likewise.
78085 2012-03-09  David S. Miller  <davem@davemloft.net>
78087         * include/math_private.h: New file.
78089 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78091         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78092         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78093         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78094         from <bits/socket_type.h>.
78095         (enum __socket_type): Don't define here.
78096         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78098         bits/socket_type.h.
78100         [BZ #13566]
78101         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78102         checking __USE_GNU.
78104         * Makerules ($(inst_includedir)/%.h): New rule.
78105         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78106         (install-others): Remove variable setting.
78107         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78109 2012-03-08  Richard Henderson  <rth@twiddle.net>
78111         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78112         from macro to inline function; merge with the
78113         !__LIBC_INTERNAL_MATH_INLINES version.
78114         (__ieee754_sqrtf): Likewise.
78116         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78117         to inline function.
78118         (__rintf, __floor, __floorf): Likewise.
78120         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78121         macro to inline function.
78122         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78124         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78125         not <math/math_private.h>.
78127 2012-03-08  David S. Miller  <davem@davemloft.net>
78129         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78130         copyright year.
78131         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78133 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78135         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78136         normalization.
78137         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78138         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78140 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78142         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78143         be defined individually, they must be defined as a block.  Define
78144         S for printing a string instead of hidint the different by using a
78145         macro for adding the 'l'.
78146         * stdio-common/tst-fphex-wide.c: Adjust.
78148 2012-03-07  Marek Polacek  <polacek@redhat.com>
78150         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78152 2012-03-08  Marek Polacek  <polacek@redhat.com>
78154         [BZ #13806]
78155         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78156         * stdio-common/tst-fphex.c: Define a few macros to make the
78157         test reusable.  Use them.
78158         * stdio-common/tst-fphex-wide.c: New file.
78160 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78162         [BZ #6911]
78163         * manual/macros.texi (gnusystems): New macro.
78164         (nongnusystems): Likewise.
78165         (gnulinuxhurdsystems): Likewise.
78166         (gnuhurdsystems): Likewise..
78167         (gnulinuxsystems): Likewise.
78168         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78169         variants of the GNU system, not "GNU system".
78170         * manual/conf.texi: Likewise.
78171         * manual/errno.texi: Likewise.  Update example of errno macro
78172         expansion.
78173         * manual/filesys.texi: Likewise.
78174         (getumask): Document as specific to GNU/Hurd.
78175         * manual/install.texi: Likewise.  Reword some references to
78176         GNU/Linux.
78177         * manual/intro.texi: Likewise.
78178         * manual/io.texi: Likewise.
78179         (File Name Portability): Detail which constraints are inapplicable
78180         to all GNU systems and which are only inapplicable to GNU/Hurd.
78181         * manual/job.texi: Likewise.
78182         * manual/llio.texi: Likewise.
78183         (O_NOCTTY): Document as present on GNU/Linux.
78184         * manual/maint.texi: Likewise.
78185         * manual/memory.texi: Likewise.
78186         * manual/pattern.texi: Likewise.
78187         * manual/pipe.texi: Likewise.
78188         * manual/process.texi: Likewise.
78189         * manual/resource.texi: Likewise.
78190         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78191         child on GNU/Hurd.
78192         * manual/setjmp.texi: Likewise.
78193         * manual/signal.texi: Likewise.
78194         * manual/startup.texi: Likewise.
78195         * manual/stdio.texi: Likewise.
78196         * manual/terminal.texi: Likewise.
78197         (ONLCR): Document as POSIX.
78198         (OXTABS): Document availability on GNU/Linux as XTABS.
78199         (ONOEOT): Document availability separately from other bits.
78200         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78201         * manual/time.texi: Likewise.
78202         * manual/users.texi: Likewise.
78203         * INSTALL: Regenerated.
78204         * sysdeps/gnu/errlist.c: Regenerated.
78206         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78207         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78208         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78209         puts.
78210         * configure: Regenerated.
78212 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78214         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78215         default includes instead of AC_HEADER_CHECK.
78216         * sysdeps/i386/configure: Regenerated.
78218         [BZ #10716]
78219         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78220         * math/s_cacoshf.c (__cacoshf): Likewise.
78221         * math/s_cacoshl.c (__cacoshl): Likewise.
78222         * math/s_casinh.c (__casinh): Set signs of result from argument.
78223         * math/s_casinhf.c (__casinhf): Likewise.
78224         * math/s_casinhl.c (__casinhl): Likewise.
78225         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78226         (casinh_test): Add more tests.
78227         * sysdeps/i386/fpu/libm-test-ulps: Update.
78228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78230 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78232         * po/zh_TW.po: Update from translation team.
78234         * login/Makefile (distribute): Remove variable.
78235         * catgets/Makefile: Likewise.
78236         * mach/Makefile: Likewise.
78237         * malloc/Makefile: Likewise.
78238         * misc/Makefile: Likewise.
78239         * iconv/Makefile: Likewise.
78240         * nscd/Makefile: Likewise.
78241         * hurd/Makefile: Likewise.
78242         * manual/Makefile: Likewise.
78243         * locale/Makefile: Likewise.
78244         * intl/Makefile: Likewise.
78245         * conform/Makefile: Likewise.
78246         * nss/Makefile: Likewise.
78247         * time/Makefile: Likewise.
78248         * soft-fp/Makefile: Likewise.
78249         * dirent/Makefile: Likewise.
78250         * gmon/Makefile: Likewise.
78251         * po/Makefile: Likewise.
78252         * rt/Makefile: Likewise.
78253         * socket/Makefile: Likewise.
78254         * math/Makefile: Likewise.
78255         * signal/Makefile: Likewise.
78256         * debug/Makefile: Likewise.
78257         * elf/Makefile: Likewise.
78258         * timezone/Makefile: Likewise.
78259         * stdlib/Makefile: Likewise.
78260         * iconvdata/Makefile: Likewise.
78261         * sunrpc/Makefile: Likewise.
78262         * io/Makefile: Likewise.
78263         * argp/Makefile: Likewise.
78264         * inet/Makefile: Likewise.
78265         * hesiod/Makefile: Likewise.
78266         * grp/Makefile: Likewise.
78267         * csu/Makefile: Likewise.
78268         * wctype/Makefile: Likewise.
78269         * crypt/Makefile: Likewise.
78270         * libio/Makefile: Likewise.
78271         * string/Makefile: Likewise.
78272         * nis/Makefile: Likewise.
78273         * resolv/Makefile: Likewise.
78274         * stdio-common/Makefile: Likewise.
78275         * wcsmbs/Makefile: Likewise.
78276         * dlfcn/Makefile: Likewise.
78277         * posix/Makefile: Likewise.
78279         [BZ #6959]
78280         * timezone/Makefile: Don't install timezone files, just the programs
78281         and scripts.
78283 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78285         * nss/databases.def: Add missing gshadow entry.
78287         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78289 2012-03-06  Marek Polacek  <polacek@redhat.com>
78291         [BZ #13726]
78292         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78293         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78294         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78295         * stdio-common/tst-long-dbl-fphex.c: New file.
78297 2012-03-06  David S. Miller  <davem@davemloft.net>
78299         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78300         (set_obp_int): New function.
78301         (get_obp_int): New function.
78302         (__get_clockfreq_via_dev_openprom): Likewise.
78303         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78304         Avoid unused variable warnings on 'val' and use builtin_expect.
78305         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78306         __builtin_expect.
78307         (INLINE_CLONE_SYSCALL): Likewise.
78309 2012-03-05  David S. Miller  <davem@davemloft.net>
78311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78313 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78317         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78318         only for |x| >= 40.
78319         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78321 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78323         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78324         Replace gettimeofday with __vdso_gettimeofday.
78326         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78327         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78328         __vdso_clock_gettime and __vdso_getcpu.
78330         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78331         time with __vdso_time.
78333 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78335         * manual/lang.texi (size_t): Note types to which size_t may be
78336         equivalent with the GNU C Library, but do not describe when
78337         differences between them are significant.
78339 2012-03-05  Andreas Jaeger  <aj@suse.de>
78341         * sysdeps/i386/fpu/libm-test-ulps: Update.
78343 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78345         [BZ #3976]
78346         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78347         (__ieee754_pow): Save and restore rounding mode and use
78348         round-to-nearest for main computations.
78349         * math/libm-test.inc (pow_test_tonearest): New function.
78350         (pow_test_towardzero): Likewise.
78351         (pow_test_downward): Likewise.
78352         (pow_test_upward): Likewise.
78353         (main): Call the new functions.
78354         * sysdeps/i386/fpu/libm-test-ulps: Update.
78355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78357         [BZ #3976]
78358         * math/libm-test.inc (cosh_test_tonearest): New function.
78359         (cosh_test_towardzero): Likewise.
78360         (cosh_test_downward): Likewise.
78361         (cosh_test_upward): Likewise.
78362         (sinh_test_tonearest): Likewise.
78363         (sinh_test_towardzero): Likewise.
78364         (sinh_test_downward): Likewise.
78365         (sinh_test_upward): Likewise.
78366         (main): Call the new functions.
78367         * sysdeps/i386/fpu/libm-test-ulps: Update.
78368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78370 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78372         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78373         default stack guard is set in last bytes.
78374         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78376 2012-03-05  Kees Cook  <keescook@chromium.org>
78378         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78380         [BZ #13656]
78381         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78382         possibly allocate from heap instead of stack.
78383         * stdio-common/bug-vfprintf-nargs.c: New file.
78384         * stdio-common/Makefile (tests): Add nargs overflow test.
78386 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78390 2012-03-03  Marek Polacek  <polacek@redhat.com>
78392         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78393         * math/math_private.h: Likewise.
78394         * stdlib/tst-strtod.c: Likewise.
78395         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78396         * sysdeps/x86_64/bits/atomic.h: Likewise.
78398 2012-03-02  David S. Miller  <davem@davemloft.net>
78400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78404         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78405         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78406         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78407         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78409 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78411         [BZ #13792]
78412         * manual/examples/README: New file, says the example source files
78413         can be used under GPL>=2.
78414         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78415         line containing just "*/".
78416         * manual/examples/add.c: Add copyright header (GPL>=2).
78417         * manual/examples/argp-ex1.c: Likewise.
78418         * manual/examples/argp-ex2.c: Likewise.
78419         * manual/examples/argp-ex3.c: Likewise.
78420         * manual/examples/argp-ex4.c: Likewise.
78421         * manual/examples/atexit.c: Likewise.
78422         * manual/examples/db.c: Likewise.
78423         * manual/examples/dir.c: Likewise.
78424         * manual/examples/dir2.c: Likewise.
78425         * manual/examples/execinfo.c: Likewise.
78426         * manual/examples/filecli.c: Likewise.
78427         * manual/examples/filesrv.c: Likewise.
78428         * manual/examples/fmtmsgexpl.c: Likewise.
78429         * manual/examples/genpass.c: Likewise.
78430         * manual/examples/inetcli.c: Likewise.
78431         * manual/examples/inetsrv.c: Likewise.
78432         * manual/examples/isockad.c: Likewise.
78433         * manual/examples/longopt.c: Likewise.
78434         * manual/examples/memopen.c: Likewise.
78435         * manual/examples/memstrm.c: Likewise.
78436         * manual/examples/mkfsock.c: Likewise.
78437         * manual/examples/mkisock.c: Likewise.
78438         * manual/examples/mygetpass.c: Likewise.
78439         * manual/examples/pipe.c: Likewise.
78440         * manual/examples/popen.c: Likewise.
78441         * manual/examples/rprintf.c: Likewise.
78442         * manual/examples/search.c: Likewise.
78443         * manual/examples/select.c: Likewise.
78444         * manual/examples/setjmp.c: Likewise.
78445         * manual/examples/sigh1.c: Likewise.
78446         * manual/examples/sigusr.c: Likewise.
78447         * manual/examples/stpcpy.c: Likewise.
78448         * manual/examples/strdupa.c: Likewise.
78449         * manual/examples/strftim.c: Likewise.
78450         * manual/examples/strncat.c: Likewise.
78451         * manual/examples/subopt.c: Likewise.
78452         * manual/examples/swapcontext.c: Likewise.
78453         * manual/examples/termios.c: Likewise.
78454         * manual/examples/testopt.c: Likewise.
78455         * manual/examples/testpass.c: Likewise.
78456         * manual/examples/timeval_subtract.c: Likewise.
78458         [BZ #13792]
78459         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78460         function to ...
78461         * manual/timeval_subtract.c.texi: ... here, new file.
78463 2012-03-02  David S. Miller  <davem@davemloft.net>
78465         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78467 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78469         [BZ #3976]
78470         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78471         (__sin): Save and restore rounding mode and use round-to-nearest
78472         for all computations.
78473         (__cos): Save and restore rounding mode and use round-to-nearest
78474         for all computations.
78475         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78476         <fenv.h>.
78477         (tan): Save and restore rounding mode and use round-to-nearest for
78478         all computations.
78479         * math/libm-test.inc (cos_test_tonearest): New function.
78480         (cos_test_towardzero): Likewise.
78481         (cos_test_downward): Likewise.
78482         (cos_test_upward): Likewise.
78483         (sin_test_tonearest): Likewise.
78484         (sin_test_towardzero): Likewise.
78485         (sin_test_downward): Likewise.
78486         (sin_test_upward): Likewise.
78487         (tan_test_tonearest): Likewise.
78488         (tan_test_towardzero): Likewise.
78489         (tan_test_downward): Likewise.
78490         (tan_test_upward): Likewise.
78491         (main): Call the new functions.
78492         * sysdeps/i386/fpu/libm-test-ulps: Update.
78493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78495         [BZ #10135]
78496         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78497         small n, then large n, before computing and testing k+n.
78498         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78500         Likewise.
78501         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78502         Likewise.
78503         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78504         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78505         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78506         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78507         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78508         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78509         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78510         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78511         * math/libm-test.inc (scalbn_test): Add more tests.
78512         (scalbln_test): Likewise.
78514         * manual/filesys.texi (mode_t): Describe constraints on size and
78515         signedness, not exact equivalence to a particular type.
78516         (ino_t): Likewise.
78517         (ino64_t): Likewise.
78518         (dev_t): Likewise.
78519         (nlink_t): Likewise.
78520         (blkcnt_t): Likewise.
78521         (blkcnt64_t): Likewise.
78522         * manual/llio.texi (off_t): Likewise.
78524         [BZ #3976]
78525         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78526         (__ieee754_exp): Save and restore rounding mode and use
78527         round-to-nearest for all computations.
78528         * math/libm-test.inc (exp_test_tonearest): New function.
78529         (exp_test_towardzero): Likewise.
78530         (exp_test_downward): Likewise.
78531         (exp_test_upward): Likewise.
78532         (main): Call the new functions.
78533         * sysdeps/i386/fpu/libm-test-ulps: Update.
78534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78536 2012-03-01  Chris Demetriou  <cgd@google.com>
78538         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78539         have predictable order.
78541 2012-03-01  David S. Miller  <davem@davemloft.net>
78543         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78545         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78546         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78547         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78548         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78550         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78551         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78552         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78554         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78555         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78556         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78557         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78558         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78562         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78563         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78564         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78566         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78567         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78568         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78569         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78570         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78571         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78572         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78573         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78574         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78575         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78576         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78577         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78578         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78579         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78580         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78582         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78583         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78584         * sysdeps/sparc/elf/configure: Regenerated.
78586 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78588         * configure.in (AS, LD): Require binutils 2.20 or later.
78589         * configure: Regenerated.
78590         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78591         as required minimum version.
78592         * INSTALL: Regenerated.
78594         [BZ #2541]
78595         [BZ #4108]
78596         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78597         before squaring exponent.
78598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78599         bottom long double and 27 bits of top long double before squaring
78600         exponent.
78601         * math/libm-test.inc (erfc_test): Add more tests.
78602         * sysdeps/i386/fpu/libm-test-ulps: Update.
78603         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78606 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78608         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78609         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78610         containing bit-fields.
78611         * soft-fp/extended.h (_FP_UNION_E): Likewise.
78612         * soft-fp/single.h (_FP_UNION_S): Likewise.
78613         * soft-fp/double.h (_FP_UNION_D): Likewise.
78615 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78617         [BZ #13786]
78618         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78619         not include ../strcmp.S.
78620         [USE_AS_STRNCASECMP_L]: Likewise.
78621         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78622         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78623         * sysdeps/i386/i686/multiarch/strncase_l-c.c
78624         (__strncasecmp_l_ia32): Define as alias to
78625         __strncasecmp_l_nonascii.
78627         [BZ #5794]
78628         * math/libm-test.inc (expm1_test): Add test for bug 5794.
78629         * sysdeps/i386/fpu/libm-test-ulps: Update.
78630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78632         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78635 2012-02-29  Jeff Law  <law@redhat.com>
78637         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
78638         out of bounds read.
78640 2012-02-29  Marek Polacek  <polacek@redhat.com>
78642         [BZ #13706]
78643         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
78644         * elf/Makefile: Add rules to run tst-unused-dep.out.
78646 2012-02-28  David S. Miller  <davem@davemloft.net>
78648         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
78649         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
78650         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
78651         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
78652         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
78653         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
78655 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78657         * math/libm-test.inc (llround_test): Move one test from
78658         lround_test.  Use TEST_f_L in moved test.
78659         (lround_test): Move misplaced test to llround_test.  Add testcase
78660         from bug 2561.
78662 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
78664         * sysdeps/x86_64/fpu/e_expf.S: New file.
78665         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
78667 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
78669         [BZ #13637]
78670         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
78671         of remain_len that may cause incomplete multi-byte character and
78672         false match.
78673         * posix/bug-regex33.c: New file.
78674         * posix/Makefile (tests): Add bug-regex33.
78676 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
78678         * manual/macros.texi: New file.
78679         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
78680         * manual/libc.texinfo: Include macros.texi.
78681         * manual/creatute.texi: Likewise.
78682         * manual/install.texi: Likewise.
78683         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
78684         @glibcadj{} in references to the GNU C Library.
78685         * manual/charset.texi: Likewise.
78686         * manual/conf.texi: Likewise.
78687         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
78688         when not using those macros.
78689         * manual/creature.texi: Likewise.
78690         * manual/crypt.texi: Likewise.
78691         * manual/errno.texi: Likewise.
78692         * manual/filesys.texi: Likewise.
78693         * manual/header.texi: Likewise.
78694         * manual/install.texi: Likewise.
78695         * manual/intro.texi: Likewise.
78696         * manual/io.texi: Likewise.
78697         * manual/job.texi: Likewise.
78698         * manual/lang.texi: Likewise.
78699         * manual/libc.texiinfo: Likewise.
78700         * manual/llio.texi: Likewise.
78701         * manual/locale.texi: Likewise.
78702         * manual/maint.texi: Likewise.
78703         * manual/math.texi: Likewise.
78704         * manual/memory.texi: Likewise.
78705         * manual/message.texi: Likewise.
78706         * manual/nss.texi: Likewise.
78707         * manual/pattern.texi: Likewise.
78708         * manual/process.texi: Likewise.
78709         * manual/resource.texi: Likewise.
78710         * manual/search.texi: Likewise.
78711         * manual/setjmp.texi: Likewise.
78712         * manual/signal.texi: Likewise.
78713         * manual/socket.texi: Likewise.
78714         * manual/startup.texi: Likewise.
78715         * manual/stdio.texi: Likewise.
78716         * manual/string.texi: Likewise.
78717         * manual/sysinfo.texi: Likewise.
78718         * manual/syslog.texi: Likewise.
78719         * manual/terminal.texi: Likewise.
78720         * manual/time.texi: Likewise.
78721         * manual/users.texi: Likewise.
78722         * INSTALL: Regenerated.
78723         * NOTES: Regenerated.
78724         * sysdeps/gnu/errlist.c: Regenerated.
78726 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
78728         * include/dirent.h: Include <dirstream.h> before
78729         <dirent/dirent.h>.
78731 2012-02-28  David S. Miller  <davem@davemloft.net>
78733         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
78734         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
78735         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
78736         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
78738 2012-02-27  David S. Miller  <davem@davemloft.net>
78740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
78741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
78742         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
78743         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
78745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
78746         frame pointer instead of stack pointer relative arg slot.
78747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78748         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78749         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78751 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
78753         [BZ #3992]
78754         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
78756 2012-02-27  David S. Miller  <davem@davemloft.net>
78758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
78759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
78762         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78763         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78764         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
78765         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
78767 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78769         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
78770         later.  Allow versions 5-9.
78771         * configure: Regenerated.
78772         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
78773         required minimum version and 4.6 as recommended version.  Do not
78774         mention bugs in GCC 2.7 and 2.8.
78775         * INSTALL: Regenerated.
78777 2012-02-27  David S. Miller  <davem@davemloft.net>
78779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
78780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
78781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
78782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
78783         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
78784         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
78785         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
78786         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
78788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
78789         manipulate bits before adding and subtracting TWO112[sx].
78790         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
78792 2012-02-27  Roland McGrath  <roland@hack.frob.com>
78794         [BZ #13775]
78795         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
78796         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
78797         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
78798         being in POSIX, because they are in 1003.1-2008.
78800         * rt/tst-aio.c: Include <fcntl.h>.
78801         * rt/tst-aio7.c: Likewise.
78802         * rt/tst-aio64.c: Likewise.
78804         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
78806 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78808         * manual/install.texi (--with-headers): Describe headers as
78809         interface headers, not private headers.
78810         (Specific advice for GNU/Linux systems): Describe use of headers
78811         from "make headers_install", not private headers from older
78812         kernels.
78813         * INSTALL: Regenerated.
78814         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
78815         Change to 2.6.19.
78816         * sysdeps/unix/sysv/linux/configure: Regenerated.
78818         * manual/llio.texi (fclean): Remove documentation.
78820         * manual/Makefile (libc-texi-generated): New variable.  Include
78821         version.texi.
78822         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
78823         $(libc-texi-generated), not duplicated list of files.
78824         (version.texi, stamp-version): New rules.
78825         (realclean): Remove $(libc-texi-generated), not individual files
78826         from that list.  Do not remove dir-add.texinfo.
78827         * manual/libc.texinfo: Comment out uses of edition numbers and
78828         references to printed manual.  Remove last-updated dates.
78829         (EDITION): Comment out.
78830         (ISBN): Likewise.
78831         (VERSION, UPDATED): Remove.
78832         (version.texi): Include.
78834 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
78836         * sysdeps/posix/spawni.c: Include <signal.h>.
78837         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
78838         * sysdeps/pthread/aio_fsync.c: Likewise.
78840 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
78842         * conform/Makefile (tests): Run only when not cross-compiling and
78843         when fast-check is not defined.
78845         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
78846         * conform/data/limits.h-data: Fixes for POSIX2008.
78847         * conform/run-conformtest.sh: Run all tests.
78848         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
78849         headers.
78850         * include/bits/dlfcn.h: Likewise.
78851         * include/langinfo.h: Likewise.
78852         * include/monetary.h: Likewise.
78853         * include/sys/poll.h: Likewise.
78855         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
78856         for __USE_GNU.
78857         * posix/spawn.h: Define __need_sigset_t.
78858         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
78859         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
78860         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
78861         to get sigevent_t only.
78862         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
78863         only for __USE_GNU.
78864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78865         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78866         process_vm_writev only for __USE_GNU.
78867         * termios/termios.h: Declare tcgetsid also for POSIX2008.
78869         * conform/Makefile: For now ignore errors from run-conformtest.
78870         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
78871         POSIX to avoid namespace pollution.  Don't prepend headers.
78872         * conform/data/aio.h-data: Fixes for POSIX testing.
78873         * conform/data/fcntl.h-data: Likewise.
78874         * conform/data/glob.h-data: Likewise.
78875         * conform/data/grp.h-data: Likewise.
78876         * conform/data/pthread.h-data: Likewise.
78877         * conform/data/pwd.h-data: Likewise.
78878         * conform/data/signal.h-data: Likewise.
78879         * conform/data/spawn.h-data: Likewise.
78880         * conform/data/stdio.h-data: Likewise.
78881         * conform/data/stdlib.h-data: Likewise.
78882         * conform/data/stropts.h-data: Likewise.
78883         * conform/data/sys/mman.h-data: Likewise.
78884         * conform/data/sys/stat.h-data: Likewise.
78885         * conform/data/sys/types.h-data: Likewise.
78886         * conform/data/sys/wait.h-data: Likewise.
78887         * conform/data/time.h-data: Likewise.
78888         * conform/data/unistd.h-data: Likewise.
78889         * conform/data/utime.h-data: Likewise.
78891         * io/sys/stat.h: fchmod was always in POSIX.
78892         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
78893         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
78894         * rt/aio.h: Define __need_timespec before including <time.h>.
78895         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
78896         struct.  Add forward declaration of pthread_attr_t and use it in
78897         sigevent.
78898         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78899         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78900         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
78901         always remove CLK_TCK definition.
78903 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
78905         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
78907 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
78909         * conform/run-conformtest.sh: New file.
78910         * conform/Makefile: Run run-conformtest for tests.
78911         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
78912         support.
78914         * conform/data/uchar.h-data: New file.
78915         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
78916         * conform/data/arpa/inet.h-data: Likewise.
78917         * conform/data/assert.h-data: Likewise.
78918         * conform/data/complex.h-data: Likewise.
78919         * conform/data/cpio.h-data: Likewise.
78920         * conform/data/ctype.h-data: Likewise.
78921         * conform/data/dirent.h-data: Likewise.
78922         * conform/data/dlfcn.h-data: Likewise.
78923         * conform/data/errno.h-data: Likewise.
78924         * conform/data/fcntl.h-data: Likewise.
78925         * conform/data/float.h-data: Likewise.
78926         * conform/data/fmtmsg.h-data: Likewise.
78927         * conform/data/fnmatch.h-data: Likewise.
78928         * conform/data/ftw.h-data: Likewise.
78929         * conform/data/glob.h-data: Likewise.
78930         * conform/data/grp.h-data: Likewise.
78931         * conform/data/iconv.h-data: Likewise.
78932         * conform/data/inttypes.h-data: Likewise.
78933         * conform/data/langinfo.h-data: Likewise.
78934         * conform/data/libgen.h-data: Likewise.
78935         * conform/data/limits.h-data: Likewise.
78936         * conform/data/locale.h-data: Likewise.
78937         * conform/data/math.h-data: Likewise.
78938         * conform/data/monetary.h-data: Likewise.
78939         * conform/data/mqueue.h-data: Likewise.
78940         * conform/data/ndbm.h-data: Likewise.
78941         * conform/data/net/if.h-data: Likewise.
78942         * conform/data/netdb.h-data: Likewise.
78943         * conform/data/netinet/in.h-data: Likewise.
78944         * conform/data/nl_types.h-data: Likewise.
78945         * conform/data/poll.h-data: Likewise.
78946         * conform/data/pthread.h-data: Likewise.
78947         * conform/data/pwd.h-data: Likewise.
78948         * conform/data/regex.h-data: Likewise.
78949         * conform/data/sched.h-data: Likewise.
78950         * conform/data/search.h-data: Likewise.
78951         * conform/data/semaphore.h-data: Likewise.
78952         * conform/data/setjmp.h-data: Likewise.
78953         * conform/data/signal.h-data: Likewise.
78954         * conform/data/spawn.h-data: Likewise.
78955         * conform/data/stdarg.h-data: Likewise.
78956         * conform/data/stdio.h-data: Likewise.
78957         * conform/data/stdlib.h-data: Likewise.
78958         * conform/data/string.h-data: Likewise.
78959         * conform/data/strings.h-data: Likewise.
78960         * conform/data/stropts.h-data: Likewise.
78961         * conform/data/sys/ipc.h-data: Likewise.
78962         * conform/data/sys/mman.h-data: Likewise.
78963         * conform/data/sys/msg.h-data: Likewise.
78964         * conform/data/sys/resource.h-data: Likewise.
78965         * conform/data/sys/select.h-data: Likewise.
78966         * conform/data/sys/sem.h-data: Likewise.
78967         * conform/data/sys/shm.h-data: Likewise.
78968         * conform/data/sys/socket.h-data: Likewise.
78969         * conform/data/sys/stat.h-data: Likewise.
78970         * conform/data/sys/statvfs.h-data: Likewise.
78971         * conform/data/sys/time.h-data: Likewise.
78972         * conform/data/sys/timeb.h-data: Likewise.
78973         * conform/data/sys/times.h-data: Likewise.
78974         * conform/data/sys/types.h-data: Likewise.
78975         * conform/data/sys/uio.h-data: Likewise.
78976         * conform/data/sys/un.h-data: Likewise.
78977         * conform/data/sys/utsname.h-data: Likewise.
78978         * conform/data/sys/wait.h-data: Likewise.
78979         * conform/data/syslog.h-data: Likewise.
78980         * conform/data/tar.h-data: Likewise.
78981         * conform/data/termios.h-data: Likewise.
78982         * conform/data/utime.h-data: Likewise.
78983         * conform/data/utmpx.h-data: Likewise.
78984         * conform/data/varargs.h-data: Likewise.
78985         * conform/data/wchar.h-data: Likewise.
78986         * conform/data/wctype.h-data: Likewise.
78987         * conform/data/wordexp.h-data: Likewise.
78989         * include/stropts.h: New file.
78990         * include/uchar.h: New file.
78991         * include/aio.h: Changes to allow conformtest.pl to use the headers.
78992         * include/assert.h: Likewise.
78993         * include/ctype.h: Likewise.
78994         * include/dirent.h: Likewise.
78995         * include/dlfcn.h: Likewise.
78996         * include/fcntl.h: Likewise.
78997         * include/fnmatch.h: Likewise.
78998         * include/glob.h: Likewise.
78999         * include/grp.h: Likewise.
79000         * include/libio.h: Likewise.
79001         * include/locale.h: Likewise.
79002         * include/math.h: Likewise.
79003         * include/net/if.h: Likewise.
79004         * include/netdb.h: Likewise.
79005         * include/netinet/in.h: Likewise.
79006         * include/pthread.h: Likewise.
79007         * include/pwd.h: Likewise.
79008         * include/regex.h: Likewise.
79009         * include/sched.h: Likewise.
79010         * include/search.h: Likewise.
79011         * include/setjmp.h: Likewise.
79012         * include/signal.h: Likewise.
79013         * include/stdio.h: Likewise.
79014         * include/stdlib.h: Likewise.
79015         * include/string.h: Likewise.
79016         * include/sys/cdefs.h: Likewise.
79017         * include/sys/mman.h: Likewise.
79018         * include/sys/msg.h: Likewise.
79019         * include/sys/resource.h: Likewise.
79020         * include/sys/select.h: Likewise.
79021         * include/sys/socket.h: Likewise.
79022         * include/sys/stat.h: Likewise.
79023         * include/sys/statvfs.h: Likewise.
79024         * include/sys/time.h: Likewise.
79025         * include/sys/times.h: Likewise.
79026         * include/sys/uio.h: Likewise.
79027         * include/sys/utsname.h: Likewise.
79028         * include/sys/wait.h: Likewise.
79029         * include/termios.h: Likewise.
79030         * include/time.h: Likewise.
79031         * include/ulimit.h: Likewise.
79032         * include/unistd.h: Likewise.
79033         * include/utime.h: Likewise.
79034         * include/wchar.h: Likewise.
79035         * include/wctype.h: Likewise.
79036         * include/wordexp.h: Likewise.
79038         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79040         * time/time.h: TIME_UTC must be a macro.
79041         Make timespec_get available for ISO C11 only as well.
79043 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79045         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79046         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79048 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79050         * configure.in: Use -o not -a in test for unsupported multi-arch.
79052 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79054         * manual/texinfo.tex: Update to version 2012-01-19.16.
79056 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79058         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79060 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79062         [BZ #13738]
79063         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79064         * manual/fdl-1.3.texi: New file.
79065         * manual/fdl-1.1.texi: File removed.
79067         [BZ #13738]
79068         * manual/libc.texinfo (FDL_VERSION): New @set.
79069         Use it for mention of FDL in cover text.
79070         (Documentation License): Use it in @include file name.
79072 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79073             Roland McGrath  <roland@hack.frob.com>
79075         [BZ #5461]
79076         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79077         (not LONG_LONG_MAX and LONG_LONG_MIN.
79078         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79079         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79080         name.
79081         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79083 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79085         [BZ #2547]
79086         [BZ #11365]
79087         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79088         manipulate bits before adding and subtracting TWO23[sx].
79089         * math/libm-test.inc (nearbyint_test): Add more tests.
79091 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79093         [BZ #2548]
79094         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79095         bits before adding and subtracting TWO23[sx].
79096         * math/libm-test.inc (rint_test): Add more tests.
79097         (rint_test_tonearest): Likewise.
79098         (rint_test_towardzero): Likewise.
79099         (rint_test_downward): Likewise.
79100         (rint_test_upward: Likewise.
79102 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79104         [BZ #10110]
79105         * include/stdc-predef.h: New file.  Extracted from features.h.
79106         * include/features.h: Include stdc-predef.h.
79107         * Makefile (headers): Add stdc-predef.h.
79108         * CONFORMANCE (Compiler limitations): Update.
79110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79112         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79114 2012-02-21  David S. Miller  <davem@davemloft.net>
79116         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79117         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79119 2012-02-20  David S. Miller  <davem@davemloft.net>
79121         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79122         using a normal save/restore sequence, rather than allocating a
79123         dummy stack frame just to store a frame pointer and restore.
79124         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79126 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79128         * manual/install.texi: Fix stray word in line-wrapped comment.
79130 2012-02-20  David S. Miller  <davem@davemloft.net>
79132         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79133         both binutils and gcc support GOTDATA.
79135         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79136         "rd %pc" in the PIC register setup sequences.
79138         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79139         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79140         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79141         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79142         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79144         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79145         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79147         (SYSCALL_ERROR_HANDLER): Likewise.
79148         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79149         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79151         (SYSCALL_ERROR_HANDLER): Likewise.
79153         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79154         (HAVE_GCC_GOTDATA): New.
79155         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79156         relocation support in both binutils and gcc.
79157         * sysdeps/sparc/elf/configure: Regenerate.
79159         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79160         * sysdeps/sparc/sparc32/elf/configure: Delete.
79161         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79162         * sysdeps/sparc/sparc64/elf/configure: Delete.
79163         * sysdeps/sparc/elf/configure.in: New file.
79164         * sysdeps/sparc/elf/configure: Generate.
79166         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79167         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79168         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79169         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79170         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79172 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79174         * manual/install.texi: Do not mention specific glibc version
79175         numbers.
79176         * manual/libc.texinfo (VERSION, UPDATED): Update.
79177         (@copying): Use @copyright{} and range of years.
79179 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79181         [BZ #13695]
79182         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79183         [crti.S not in sysdirs] (generated): Do not append.
79184         [crti.S not in sysdirs] (omit-deps): Likewise.
79185         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79186         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79187         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79188         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79189         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79190         Likewise.
79191         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79192         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79193         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79194         * csu/defs.awk: Remove file.
79195         * sysdeps/generic/initfini.c: Likewise.
79196         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79197         variable.
79198         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79199         Likewise.
79201 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79203         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79204         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79205         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79206         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79207         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79208         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79209         <bits/epoll.h>.
79210         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79211         (__EPOLL_PACKED): Define to empty if not defined by
79212         <bits/epoll.h>.
79213         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79214         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79215         bits/epoll.h.
79217 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79219         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79220         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79221         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79222         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79223         <bits/timerfd.h>.
79224         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79226         bits/timerfd.h.
79228 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79230         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79231         in C locale.
79232         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79233         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79234         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79237 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79239         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79240         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79242 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79244         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79245         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79246         defined.
79247         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79248         Likewise.
79249         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79250         entry for 2.16.
79252 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79254         * math/w_acos.c: Use non-signaling floating-point comparisons.
79255         * math/w_acosf.c: Likewise.
79256         * math/w_acosh.c: Likewise.
79257         * math/w_acoshf.c: Likewise.
79258         * math/w_acoshl.c: Likewise.
79259         * math/w_acosl.c: Likewise.
79260         * math/w_asin.c: Likewise.
79261         * math/w_asinf.c: Likewise.
79262         * math/w_asinl.c: Likewise.
79263         * math/w_atanh.c: Likewise.
79264         * math/w_atanhf.c: Likewise.
79265         * math/w_atanhl.c: Likewise.
79266         * math/w_exp2.c: Likewise.
79267         * math/w_exp2f.c: Likewise.
79268         * math/w_exp2l.c: Likewise.
79269         * math/w_j0.c: Likewise.
79270         * math/w_j0f.c: Likewise.
79271         * math/w_j0l.c: Likewise.
79272         * math/w_j1.c: Likewise.
79273         * math/w_j1f.c: Likewise.
79274         * math/w_j1l.c: Likewise.
79275         * math/w_jn.c: Likewise.
79276         * math/w_jnf.c: Likewise.
79277         * math/w_log.c: Likewise.
79278         * math/w_log10.c: Likewise.
79279         * math/w_log10f.c: Likewise.
79280         * math/w_log10l.c: Likewise.
79281         * math/w_log2.c: Likewise.
79282         * math/w_log2f.c: Likewise.
79283         * math/w_log2l.c: Likewise.
79284         * math/w_logf.c: Likewise.
79285         * math/w_logl.c: Likewise.
79286         * math/w_sqrt.c: Likewise.
79287         * math/w_sqrtf.c: Likewise.
79288         * math/w_sqrtl.c: Likewise.
79289         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79290         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79291         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79292         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79293         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79295 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79297         [BZ #9739]
79298         * manual/string.texi (strnlen): Use correct parameter name in
79299         equivalent expression.
79301 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79303         [BZ #11174]
79304         * manual/users.texi (seteuid): Consistently use neweuid for
79305         argument name.
79307 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79309         [BZ #13704]
79310         * manual/nss.texi (Services in the NSS configuration): Correct
79311         list of services in example configuration file.
79313 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79315         [BZ #11322]
79316         * manual/arith.texi: Remove statements about negative zero
79317         behaving identically to zero.
79319 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79321         [BZ #5993]
79322         * manual/install.texi: Do not document upgrading from libc5.
79324 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79326         [BZ #4596]
79327         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79329 2012-02-18  David S. Miller  <davem@davemloft.net>
79331         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79332         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79333         %o7 across the call.
79334         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79335         instead.
79336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79337         SETUP_PIC_REG_LEAF.
79338         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79339         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79340         * sysdeps/sparc/crtn.S: Likewise.
79342 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79344         * aout/Makefile: Remove.
79346 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79348         [BZ #13058]
79349         * manual/examples/argp-ex1.c (main): Format definition in GNU
79350         style.
79351         * manual/examples/argp-ex2.c (main): Likewise.
79352         * manual/examples/argp-ex3.c (main): Likewise.
79353         * manual/examples/argp-ex4.c (main): Likewise.
79354         * manual/examples/longopt.c (main): Use new-style prototype
79355         definition.
79356         * manual/examples/strncat.c (main): Specify return type and use
79357         (void) for arguments.
79358         * manual/examples/subopt.c (main): Use char **argv argument.
79360 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79362         [BZ #5077]
79363         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79364         rounding modes.
79366 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79368         [BZ #6907]
79369         * manual/string.texi (strchr): Change when strchrnul is
79370         recommended.
79372 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79374         [BZ #174]
79375         * manual/locale.texi (setlocale): Document LOCPATH.
79377 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79379         [BZ #10210]
79380         * manual/process.texi (execle): Move @dots{} before last argument.
79382 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79384         [BZ #12047]
79385         * manual/charset.texi (Generic Charset Conversion): Fix typo
79386         (LC_TYPE -> LC_CTYPE).
79388 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79390         [BZ #5805]
79391         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79392         (scalbnf): Likewise.
79393         (scalbnl): Likewise.
79394         (scalbln): Likewise.
79395         (scalblnf): Likewise.
79396         (scalblnl): Likewise.
79397         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79398         (vwarnx): Likewise.
79399         (verr): Likewise.
79400         (verrx): Likewise.
79401         * manual/filesys.texi (telldir): Use braces around return type.
79402         * manual/llio.texi (mmap): Add space after comma.
79403         (mmap64): Likewise.
79404         * manual/math.texi (jn): Use @var{} on parameter names.
79405         (jnf): Likewise.
79406         (jnl): Likewise.
79407         (yn): Likewise.
79408         (ynf): Likewise.
79409         (ynl): Likewise.
79410         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79411         line.
79412         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79413         "...".
79414         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79415         (sched_get_priority_max): Likewise.
79416         * manual/signal.texi (sigvec): Add space after comma.
79417         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79418         names.
79419         (if_indextoname): Likewise.
79420         (if_freenameindex): Likewise.
79421         (sendto): Use ',' instead of '.' in prototype.
79422         * manual/startup.texi (syscall): Use @dots{} instead of literal
79423         "...".
79424         * manual/stdio.texi (__fpending): Separate initial words of
79425         paragraph from @deftypefun line.
79426         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79427         "...".
79428         (vsyslog): Use @var{} on parameter names.
79429         * manual/terminal.texi (stty): Use @var{} on parameter names.
79430         * manual/users.texi (getutmp): Use @var{} on parameter names.
79431         (getutmpx): Likewise.
79433 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79435         [BZ #6884]
79436         * manual/stdio.texi (fopen): Fix typos in description of
79437         ",ccs=STRING".
79439 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79441         [BZ #4026]
79442         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79443         get clock_id definition.
79445 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79447         [BZ #4822]
79448         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79449         (madvise): Cast every argument to void on its own.
79451 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79453         [BZ #9902]
79454         * manual/startup.texi (Exit Status): Fix typo.
79456 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79458         [BZ #10140]
79459         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79460         * manual/examples/argp-ex2.c: Likewise.
79461         * manual/examples/argp-ex3.c: Likewise.
79463 2012-02-16  Richard Henderson  <rth@redhat.com>
79465         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79466         * sysdeps/s390/s390-32/initfini.c: Remove.
79467         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79468         * sysdeps/s390/s390-64/initfini.c: Remove.
79470 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79472         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79473         compiler output for sysdeps/generic/initfini.c.
79474         * sysdeps/sh/elf/initfini.c: Remove file.
79476 2012-02-16  David S. Miller  <davem@davemloft.net>
79478         [BZ #11494]
79479         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79481         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79482         * sysdeps/sparc/crti.S: New file.
79483         * sysdeps/sparc/crtn.S: New file.
79484         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79485         * sysdeps/sparc/sparc64/Makefile: Likewise.
79487 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79489         [BZ #3335]
79490         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79492 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79494         [BZ #4822]
79495         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79497         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79498         (write, read, close): Likewise.
79499         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79501 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79503         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79504         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79505         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79506         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79507         <bits/signalfd.h>.
79508         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79510         bits/signalfd.h.
79512 2012-02-14  Marek Polacek  <polacek@redhat.com>
79514         * sysdeps/x86_64/crti.S: New file.
79515         * sysdeps/x86_64/crtn.S: New file.
79516         * sysdeps/x86_64/elf/initfini.c: Remove file.
79518 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79520         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79521         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79522         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79523         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79524         <bits/inotify.h>.
79525         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79527         bits/inotify.h.
79529 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79531         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79532         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79533         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79534         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79535         <bits/eventfd.h>.
79536         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79538         bits/eventfd.h.
79540 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79542         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79543         __feraiseexcept instead of feraiseexcept.
79545         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79546         nanosleep invocations.
79547         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79548         strings, and add error checking for a nanosleep invocations.
79550 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79552         Replace FSF snail mail address with URLs, as per GNU coding standards.
79553         Most of the snail mail addresses were wrong anyway, and omitting
79554         them makes the source code easier to maintain.  Almost all of the
79555         changes are to license notices and to locale LC_IDENTIFICATION
79556         addresses, except for this one:
79557         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79558         not its snail mail address.
79560 2012-02-09  Richard Henderson  <rth@twiddle.net>
79562         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79563         of kernel-features.h.
79565         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79567 2012-02-08  Marek Polacek  <polacek@redhat.com>
79569         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79570         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79571         * sysdeps/gnu/_G_config.h: Likewise.
79572         * sysdeps/generic/_G_config.h: Likewise.
79574 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79576         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79577         tests.
79578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79580         * sysdeps/powerpc/powerpc32/crti.S: New file.
79581         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79582         * sysdeps/powerpc/powerpc64/crti.S: New file.
79583         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79585         * Makeconfig (have-initfini): Don't set.
79586         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79587         * configure.in (nopic_initfini): Don't substitute.
79588         * config.h.in (HAVE_INITFINI): Don't #undef.
79589         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79590         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79592 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79594         Support crti.S and crtn.S provided directly by architectures.
79595         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79596         [crti.S in sysdirs] (omit-deps): Likewise.
79597         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79598         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79599         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79600         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79601         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79602         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79603         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79604         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79605         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79606         compiler output for sysdeps/generic/initfini.c.
79607         * sysdeps/i386/elf/Makefile: Remove file.
79608         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79610 2012-02-07  Marek Polacek  <polacek@redhat.com>
79612         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79613         * sysdeps/gnu/_G_config.h: Likewise.
79614         * sysdeps/mach/hurd/_G_config.h: Likewise.
79616 2012-02-07  Marek Polacek  <polacek@redhat.com>
79618         * math/Makefile (tests): Add tst-CMPLX2.
79619         * math/tst-CMPLX2.c: New file.
79621 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
79623         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79625         * math/libm-test.inc (jn_test): Add missing L suffix.
79627 2012-02-06  Marek Polacek  <polacek@redhat.com>
79629         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79630         * sysdeps/i386/fpu/e_powf.S: Likewise.
79631         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79632         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79633         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79634         * sysdeps/i386/fpu/e_pow.S: Likewise.
79635         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79636         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79637         * sysdeps/i386/fpu/s_expm1.S: Likewise.
79638         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
79639         * sysdeps/i386/fpu/e_log2.S: Likewise.
79640         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79641         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79642         * sysdeps/i386/fpu/e_powl.S: Likewise.
79643         * sysdeps/i386/fpu/s_log1p.S: Likewise.
79644         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79645         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
79646         * sysdeps/i386/fpu/e_logl.S: Likewise.
79647         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
79648         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
79649         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
79650         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
79651         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79652         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79653         * sysdeps/i386/fpu/e_log.S: Likewise.
79654         * sysdeps/i386/fpu/s_cexp.S: Likewise.
79655         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79656         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
79657         * sysdeps/i386/fpu/e_logf.S: Likewise.
79658         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79659         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79660         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
79661         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
79662         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79663         * sysdeps/i386/fpu/e_log10.S: Likewise.
79664         * sysdeps/i386/fpu/s_frexp.S: Likewise.
79665         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79666         * sysdeps/i386/fpu/s_asinh.S: Likewise.
79667         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
79668         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79669         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
79670         * sysdeps/i386/asm-syntax.h: Likewise.
79671         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79672         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79673         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79674         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
79675         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
79676         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79677         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
79678         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79679         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79680         * sysdeps/powerpc/sysdep.h: Likewise.
79681         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
79682         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79684 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79686         [BZ #411]
79687         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
79689 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79691         * sysdeps/i386/sysdep.h: Include <features.h>.
79692         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
79693         version.
79695 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
79697         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
79698         Define.
79699         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
79700         LOAD_PIC_REG_STR.
79702 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79704         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
79705         (SETUP_PIC_REG): Use GET_PC_THUNK.
79706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
79707         macro.
79709 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79711         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
79712         for non-PIC compilation.
79713         (SETUP_PIC_REG): Add .p2align directive.
79714         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
79715         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
79716         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
79717         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
79718         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
79719         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
79720         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
79721         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79722         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
79723         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
79724         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
79725         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
79726         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
79727         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79728         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
79729         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
79730         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
79731         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
79732         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
79733         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
79734         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
79735         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
79736         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
79737         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
79738         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
79739         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
79740         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79741         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
79742         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
79743         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
79744         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
79745         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79746         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
79747         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
79748         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
79749         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
79750         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
79751         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
79752         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
79753         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
79754         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
79756 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79758         * math/tst-CMPLX.c: Include <stdio.h>.
79760 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
79762         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
79763         float.
79764         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79765         * sysdeps/sparc/bits/mathdef.h: Likewise.
79767 2012-01-31  Marek Polacek  <polacek@redhat.com>
79769         * libio/libio.h: Don't define _PARAMS.
79770         * locale/programs/config.h: Don't define PARAMS.
79771         * stdlib/strtol_l.c: Likewise.
79772         (__strtol_l): Remove PARAMS from the prototype.
79774 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
79776         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
79777         names.  Just use the correct names.  Remove unnecessary wrapper
79778         functions.
79779         * malloc/arena.c: Likewise.
79780         * malloc/hooks.c: Likewise.
79782         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
79783         ARENA_TEST says not to.  Simplify test for creation of a new arena.
79784         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
79786 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
79788         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
79789         into tail calls.
79790         (update_get_addr): New function.
79791         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
79792         GET_ADDR_MODULE parameter.
79794 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79796         * crypt/cert.c: Remove __STDC__ conditionals.
79797         * crypt/crypt-entry.c: Likewise.
79798         * crypt/crypt_util.c: Likewise.
79799         * libio/filedoalloc.c: Likewise.
79800         * libio/fileops.c: Likewise.
79801         * libio/genops.c: Likewise.
79802         * libio/iofclose.c: Likewise.
79803         * libio/iofdopen.c: Likewise.
79804         * libio/iofopen.c: Likewise.
79805         * libio/iofopen64.c: Likewise.
79806         * libio/iogetdelim.c: Likewise.
79807         * libio/iopopen.c: Likewise.
79808         * libio/obprintf.c: Likewise.
79809         * libio/oldfileops.c: Likewise.
79810         * libio/oldiofclose.c: Likewise.
79811         * libio/oldiofdopen.c: Likewise.
79812         * libio/oldiofopen.c: Likewise.
79813         * libio/oldiopopen.c: Likewise.
79814         * libio/wfiledoalloc.c: Likewise.
79815         * libio/wgenops.c: Likewise.
79816         * locale/programs/xmalloc.c: Likewise.
79817         * misc/syslog.c: Likewise.
79818         * stdio-common/xbug.c: Likewise.
79819         * string/memchr.c: Likewise.
79820         * string/memcmp.c: Likewise.
79821         * string/memrchr.c: Likewise.
79822         * string/rawmemchr.c: Likewise.
79823         * sysdeps/posix/getcwd.c: Likewise.
79824         * time/strftime_l.c: Likewise.
79826 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79828         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
79829         * config.make.in (config-cflags-sse2avx): Define.
79830         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
79831         Fix typo.
79833 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
79835         * scripts/config.guess: Update from upstream config git repository.
79836         * scripts/config.sub: Likewise.
79838 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
79840         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
79841         (EM_NUM): Update.
79842         (R_TILEPRO_*, R_TILEGX_*): New macros.
79844         * scripts/firstversions.awk: Fix bug in version range handling.
79846         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
79848         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
79850         * include/sys/epoll.h: New file.
79851         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
79852         libc_hidden_def.
79854 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
79856         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
79857         Avoid unnecessary __WORDSIZE == 64 test.
79858         (fmaxf): Use VEX format if possible.
79859         (fmax): Likewise.
79860         (fminf): Likewise.
79861         (fmin): Likewise.
79863         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
79864         * math/math_private.h: Remove libc_fegetround* and
79865         libc_fesetround*.
79866         * sysdeps/i386/configure.in: Check for -msse2avx.
79867         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
79868         also if SSE2AVX is defined.
79869         Remove libc_fegetround* and libc_fesetround*.
79870         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
79871         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
79872         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
79873         of HAS_YMM_USABLE.
79874         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79875         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79876         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79877         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79878         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79880         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
79882 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79884         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
79885         size is not set.
79886         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79888 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
79890         [BZ #13618]
79891         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
79892         relocation.
79893         * Makeconfig (libm): Define.
79894         * elf/Makefile: Add rules to build and run tst-relsort1.
79895         * elf/tst-relsort1.c: New file.
79896         * elf/tst-relsort1mod1.c: New file.
79897         * elf/tst-relsort1mod2.c: New file.
79899 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
79901         * math/s_ldexp.c: Remove __STDC__ conditionals.
79902         * math/s_ldexpf.c: Likewise.
79903         * math/s_ldexpl.c: Likewise.
79904         * math/s_nextafter.c: Likewise.
79905         * math/s_nexttowardf.c: Likewise.
79906         * math/s_significand.c: Likewise.
79907         * math/s_significandf.c: Likewise.
79908         * math/s_significandl.c: Likewise.
79909         * math/w_jnl.c: Likewise.
79910         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79911         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79912         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79913         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79914         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79915         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79916         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
79917         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79918         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79919         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79920         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79921         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79922         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79923         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79924         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79925         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79926         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79927         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79928         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79929         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79930         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79931         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79932         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79933         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79934         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79935         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79936         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79937         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79938         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79939         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79940         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79941         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79942         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79943         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79944         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79945         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79946         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79947         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79948         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79949         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79950         * sysdeps/ieee754/k_standard.c: Likewise.
79951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79952         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79953         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79954         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79955         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79956         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79957         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79958         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79959         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79960         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79961         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79962         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79963         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79964         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79965         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79966         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79967         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79968         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79969         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79970         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79971         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79972         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79973         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79974         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79975         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79976         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79979         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79980         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79981         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79982         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
79983         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79984         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79986         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79987         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
79988         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79989         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79990         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
79991         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
79992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79993         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
79994         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
79995         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79996         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
79997         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
79998         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80000         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80001         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80002         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80003         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80004         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80005         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80006         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80007         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80008         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80009         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80010         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80011         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80012         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80013         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80014         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80015         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80016         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80017         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80018         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80019         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80020         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80021         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80022         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80023         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80024         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80025         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80026         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80027         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80028         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80029         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80030         * sysdeps/ieee754/s_matherr.c: Likewise.
80031         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80032         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80036 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80038         * crypt/md5.h: Remove __STDC__ conditionals.
80039         * libio/libioP.h: Likewise.
80040         * locale/programs/config.h: Likewise.
80041         * sysdeps/generic/sysdep.h: Likewise.
80042         * sysdeps/i386/asm-syntax.h: Likewise.
80043         * sysdeps/s390/asm-syntax.h: Likewise.
80044         * sysdeps/unix/sysdep.h: Likewise.
80045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80048 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80050         * libio/libio.h: Remove __STDC__ conditionals.
80051         * malloc/obstack.h: Likewise.
80052         * math/complex.h: Likewise.
80053         * math/math.h: Likewise.
80054         * sysdeps/generic/_G_config.h: Likewise.
80055         * sysdeps/gnu/_G_config.h: Likewise.
80056         * sysdeps/mach/hurd/_G_config.h: Likewise.
80057         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80058         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80059         * sysdeps/sparc/bits/mathdef.h: Likewise.
80061 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80063         [BZ #13583]
80064         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80065         Clean up HAS_* macros.
80066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80067         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80068         possible.
80069         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80070         HAS_AVX.
80071         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80072         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80073         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80074         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80075         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80077 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80079         * elf/tst-unique3.cc (gets): Remove declaration.
80080         * elf/tst-unique3lib.cc (gets): Likewise.
80081         * elf/tst-unique3lib2.cc (gets): Likewise.
80082         * elf/tst-unique4.cc (gets): Likewise.
80084 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80086         * include/stdio.h: Add C++ protection.  Add gets declarations and
80087         definitions.
80088         * debug/tst-chk1.c: Don't declare gets here.
80089         * stdio-common/tst-gets.c: Likewise.
80091 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80093         * posix/glob: Remove directory.
80095 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80097         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80099 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80101         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80102         of the non-standard EPFNOSUPPORT.
80104 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80106         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80107         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80108         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80110 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80112         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80114 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80116         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80117         transient errors.
80118         * nscd/grpcache.c (cache_addgr): Likewise.
80119         * nscd/hstcache.c (cache_addhst): Likewise.
80120         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80121         * nscd/pwdcache.c (cache_addpw): Likewise.
80122         * nscd/servicescache.c (cache_addserv): Likewise.
80124 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80126         * malloc/malloc.c: Various cleanups.
80127         * malloc/hooks.c: Likewise.
80129         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80130         * stdlib/bug-fmtmsg1.c: New file.
80132         * stdlib/fmtmsg.c (init): Add missing unlock.
80133         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80135 2012-01-12  Marek Polacek  <polacek@redhat.com>
80137         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80138         and _GNU_SOURCE.
80140 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80142         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80143         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80144         macro to ensure uniqueness of label name.
80145         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80146         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80148 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80150         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80152         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80153         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80154         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80155         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80157 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80159         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80161         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80162         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80163         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80165         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80167         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80168         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80169         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80170         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80172         * math/bits/math-finite.h: Add ldexp support.
80174 2012-01-10  Marek Polacek  <polacek@redhat.com>
80176         * locale/programs/localedef.h (show_archive_content): Add noreturn
80177         attribute.
80179 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80181         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80183 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80185         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80187         * io/Makefile (headers): Add bits/poll2.h.
80189 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80192         typo #include statement.
80194 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80196         * include/sys/cdefs.h: Define __attribute_alloc_size.
80197         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80198         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80199         * elf/pldd.c: Likewise.
80200         * iconv/iconv_charmap.c: Likewise.
80201         * iconv/iconvconfig.c: Likewise.
80202         * iconv/strtab.c: Likewise.
80203         * locale/programs/locale.c: Likewise.
80204         * locale/programs/localedef.h: Likewise.
80205         * locale/programs/simple-hash.c: Likewise.
80206         * nscd/nscd.h: Likewise.
80207         * nss/makedb.c: Likewise.
80208         * sysdeps/generic/ldconfig.h: Likewise.
80209         * locale/programs/localedef.c: Remove xmalloc prototype.
80210         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80212 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80214         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80215         appropriate.
80217 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80219         * math/Makefile (tests): Add tst-CMPLX.
80220         * math/tst-CMPLX.c: New file.
80222         * math/complex.h (CMPLXL): Fix typo.
80224         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80225         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80226         GLIBC_2.16.
80227         * debug/tst-chk1.c: Add poll and ppoll tests.
80228         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80229         * include/sys/poll.h: Add hidden proto for ppoll.
80230         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80231         * sysdeps/mach/hurd/ppoll.c: Likewise.
80232         * io/ppoll.c: Likewise.
80233         * debug/poll_chk.c: New file.
80234         * debug/ppoll_chk.c: New file.
80235         * include/bits/poll2.h: New file.
80236         * io/bits/poll2.h: New file.
80238         [BZ #1350]
80239         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80241         * configure.in: static is always set to yes.  Remove.
80242         * config.make.in: Don't set build-static.
80243         * Makeconfig: Remove use of build-static.
80244         * dlfcn/Makefile: Likewise.
80245         * elf/Makefile: Likewise.
80246         * math/Makefile: Likewise.
80247         * misc/Makefile: Likewise.
80248         * nptl/Makefile: Likewise.
80249         * sysdeps/mach/hurd/Makefile: Likewise.
80251         * configure.in: PWD_P is not used anymore.
80252         * config.make.in: Remove PWD_P entry.
80254         * configure.in: Remove last remnants of RANLIB.
80255         No need to check for signed size_t anymore.
80256         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80257         and IA-64.
80258         Remove __builtin_expect test because we require at least gcc 3.4.
80259         * aclocal.m4: Likewise.
80261         * wcsmbs/mbrtoc16.c: Implement using towc function.
80262         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80263         * wcsmbs/wcsmbsload.c: Likewise.
80264         * iconv/gconv_simple.c: Likewise.
80265         * iconv/gconv_int.h: Likewise.
80266         * iconv/gconv_builtin.h: Likewise.
80267         * iconv/iconv_prog.c: Remove CHAR16 handling.
80269         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80271         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80273         * configure.in: Remove --with-elf and --enable-bounded options.
80274         Dont set base_machine for ia64.  More non-ELF conditions removed.
80275         Remove testing and setting of leading underscore information.
80276         * config.make.in (build-bounded): Set to no.
80277         * config.h.in: Remove NO_UNDERSCORES entry.
80278         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80279         them.
80280         * csu/start.c: Remove !NO_UNDERSCORE code.
80281         * locale/localeinfo.h: Likewise.
80282         * sysdeps/generic/machine-gmon.h: Likewise.
80283         * sysdeps/generic/sysdep.h: Likewise.
80284         * sysdeps/i386/sysdep.h: Likewise.
80285         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80286         * sysdeps/mach/sysdep.h: Likewise.
80287         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80288         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80289         * sysdeps/sh/sysdep.h: Likewise.
80290         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80291         * sysdeps/unix/i386/sysdep.S: Likewise.
80292         * sysdeps/unix/sparc/start.c: Likewise.
80293         * sysdeps/unix/sparc/sysdep.S: Likewise.
80294         * sysdeps/unix/sparc/sysdep.h: Likewise.
80295         * sysdeps/unix/start.c: Likewise.
80296         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80297         * sysdeps/x86_64/sysdep.h: Likewise.
80299 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80301         [BZ #13553]
80302         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80303         for non-gcc.
80304         * argp/argp-fmtstream.h: Use const instead __const.
80305         * argp/argp.h: Likewise.
80306         * assert/assert.h: Likewise.
80307         * bits/fenv.h: Likewise.
80308         * bits/sched.h: Likewise.
80309         * bits/sigset.h: Likewise.
80310         * bits/sigthread.h: Likewise.
80311         * catgets/nl_types.h: Likewise.
80312         * conform/data/pthread.h-data: Likewise.
80313         * crypt/crypt-private.h: Likewise.
80314         * crypt/crypt.h: Likewise.
80315         * crypt/crypt_util.c: Likewise.
80316         * ctype/ctype.h: Likewise.
80317         * debug/execinfo.h: Likewise.
80318         * debug/mbsnrtowcs_chk.c: Likewise.
80319         * debug/mbsrtowcs_chk.c: Likewise.
80320         * debug/wcsnrtombs_chk.c: Likewise.
80321         * debug/wcsrtombs_chk.c: Likewise.
80322         * debug/wcstombs_chk.c: Likewise.
80323         * dirent/dirent.h: Likewise.
80324         * dlfcn/dlfcn.h: Likewise.
80325         * elf/neededtest4.c: Likewise.
80326         * grp/grp.h: Likewise.
80327         * gshadow/gshadow.h: Likewise.
80328         * iconv/gconv.h: Likewise.
80329         * iconv/gconv_int.h: Likewise.
80330         * iconv/gconv_simple.c: Likewise.
80331         * iconv/iconv.h: Likewise.
80332         * iconv/loop.c: Likewise.
80333         * iconv/skeleton.c: Likewise.
80334         * include/aio.h: Likewise.
80335         * include/aliases.h: Likewise.
80336         * include/argz.h: Likewise.
80337         * include/arpa/inet.h: Likewise.
80338         * include/assert.h: Likewise.
80339         * include/dirent.h: Likewise.
80340         * include/dlfcn.h: Likewise.
80341         * include/execinfo.h: Likewise.
80342         * include/fcntl.h: Likewise.
80343         * include/fenv.h: Likewise.
80344         * include/glob.h: Likewise.
80345         * include/grp.h: Likewise.
80346         * include/libintl.h: Likewise.
80347         * include/mntent.h: Likewise.
80348         * include/netdb.h: Likewise.
80349         * include/pwd.h: Likewise.
80350         * include/rpc/netdb.h: Likewise.
80351         * include/sched.h: Likewise.
80352         * include/search.h: Likewise.
80353         * include/shadow.h: Likewise.
80354         * include/signal.h: Likewise.
80355         * include/stdio.h: Likewise.
80356         * include/stdlib.h: Likewise.
80357         * include/string.h: Likewise.
80358         * include/sys/socket.h: Likewise.
80359         * include/sys/stat.h: Likewise.
80360         * include/sys/statfs.h: Likewise.
80361         * include/sys/statvfs.h: Likewise.
80362         * include/sys/syslog.h: Likewise.
80363         * include/sys/time.h: Likewise.
80364         * include/sys/uio.h: Likewise.
80365         * include/time.h: Likewise.
80366         * include/unistd.h: Likewise.
80367         * include/utmp.h: Likewise.
80368         * include/wchar.h: Likewise.
80369         * include/wctype.h: Likewise.
80370         * inet/aliases.h: Likewise.
80371         * inet/arpa/inet.h: Likewise.
80372         * inet/netinet/ether.h: Likewise.
80373         * inet/netinet/in.h: Likewise.
80374         * intl/libintl.h: Likewise.
80375         * io/bits/fcntl2.h: Likewise.
80376         * io/fcntl.h: Likewise.
80377         * io/ftw.h: Likewise.
80378         * io/sys/poll.h: Likewise.
80379         * io/sys/stat.h: Likewise.
80380         * io/sys/statfs.h: Likewise.
80381         * io/sys/statvfs.h: Likewise.
80382         * io/utime.h: Likewise.
80383         * libio/bits/stdio.h: Likewise.
80384         * libio/bits/stdio2.h: Likewise.
80385         * libio/libio.h: Likewise.
80386         * libio/libioP.h: Likewise.
80387         * libio/stdio.h: Likewise.
80388         * locale/lc-ctype.c: Likewise.
80389         * locale/locale.h: Likewise.
80390         * login/utmp.h: Likewise.
80391         * malloc/arena.c: Likewise.
80392         * malloc/malloc.c: Likewise.
80393         * malloc/malloc.h: Likewise.
80394         * malloc/mcheck.c: Likewise.
80395         * malloc/mtrace.c: Likewise.
80396         * math/bits/mathcalls.h: Likewise.
80397         * math/fenv.h: Likewise.
80398         * math/math_private.h: Likewise.
80399         * misc/bits/error.h: Likewise.
80400         * misc/bits/syslog.h: Likewise.
80401         * misc/err.h: Likewise.
80402         * misc/error.h: Likewise.
80403         * misc/fstab.h: Likewise.
80404         * misc/mntent.h: Likewise.
80405         * misc/regexp.h: Likewise.
80406         * misc/search.h: Likewise.
80407         * misc/sgtty.h: Likewise.
80408         * misc/sys/mman.h: Likewise.
80409         * misc/sys/syslog.h: Likewise.
80410         * misc/sys/uio.h: Likewise.
80411         * misc/sys/xattr.h: Likewise.
80412         * misc/ttyent.h: Likewise.
80413         * nis/rpcsvc/ypclnt.h: Likewise.
80414         * nss/nss.h: Likewise.
80415         * posix/bits/unistd.h: Likewise.
80416         * posix/fnmatch.h: Likewise.
80417         * posix/glob.h: Likewise.
80418         * posix/sched.h: Likewise.
80419         * posix/spawn.h: Likewise.
80420         * posix/sys/wait.h: Likewise.
80421         * posix/unistd.h: Likewise.
80422         * posix/wordexp.h: Likewise.
80423         * pwd/pwd.h: Likewise.
80424         * resolv/netdb.h: Likewise.
80425         * resource/sys/resource.h: Likewise.
80426         * rt/aio.h: Likewise.
80427         * rt/bits/mqueue2.h: Likewise.
80428         * rt/mqueue.h: Likewise.
80429         * shadow/shadow.h: Likewise.
80430         * signal/signal.h: Likewise.
80431         * socket/send.c: Likewise.
80432         * socket/sendto.c: Likewise.
80433         * socket/sys/socket.h: Likewise.
80434         * stdio-common/printf.h: Likewise.
80435         * stdlib/bits/stdlib.h: Likewise.
80436         * stdlib/fmtmsg.h: Likewise.
80437         * stdlib/monetary.h: Likewise.
80438         * stdlib/stdlib.h: Likewise.
80439         * stdlib/ucontext.h: Likewise.
80440         * streams/stropts.h: Likewise.
80441         * string/argz.h: Likewise.
80442         * string/bits/string2.h: Likewise.
80443         * string/string.h: Likewise.
80444         * string/strings.h: Likewise.
80445         * sunrpc/rpc/auth.h: Likewise.
80446         * sunrpc/rpc/auth_des.h: Likewise.
80447         * sunrpc/rpc/clnt.h: Likewise.
80448         * sunrpc/rpc/netdb.h: Likewise.
80449         * sunrpc/rpc/pmap_clnt.h: Likewise.
80450         * sunrpc/rpc/xdr.h: Likewise.
80451         * sysdeps/generic/inttypes.h: Likewise.
80452         * sysdeps/generic/net/if.h: Likewise.
80453         * sysdeps/generic/sys/swap.h: Likewise.
80454         * sysdeps/gnu/net/if.h: Likewise.
80455         * sysdeps/gnu/utmpx.h: Likewise.
80456         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80457         * sysdeps/i386/i486/bits/string.h: Likewise.
80458         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80459         * sysdeps/s390/bits/string.h: Likewise.
80460         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80461         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80462         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80463         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80464         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80465         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80466         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80467         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80468         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80469         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80470         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80471         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80472         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80473         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80474         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80475         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80476         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80477         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80478         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80479         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80480         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80481         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80482         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80483         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80484         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80485         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80486         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80487         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80488         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80489         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80490         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80491         * sysvipc/sys/ipc.h: Likewise.
80492         * sysvipc/sys/msg.h: Likewise.
80493         * sysvipc/sys/sem.h: Likewise.
80494         * sysvipc/sys/shm.h: Likewise.
80495         * termios/termios.h: Likewise.
80496         * time/sys/time.h: Likewise.
80497         * time/time.h: Likewise.
80498         * wcsmbs/bits/wchar2.h: Likewise.
80499         * wcsmbs/uchar.h: Likewise.
80500         * wcsmbs/wchar.h: Likewise.
80501         * wctype/wctype.h: Likewise.
80503         [BZ #13551]
80504         * Makeconfig: Remove all but ELF support including AIX support.
80505         * Makerules: Likewise.
80506         * config.h.in: Likewise.
80507         * config.make.in: Likewise.
80508         * configure: Likewise.
80509         * configure.in: Likewise.
80510         * csu/Makefile: Likewise.
80511         * csu/version.c: Likewise.
80512         * debug/Makefile: Likewise.
80513         * dlfcn/Makefile: Likewise.
80514         * elf/Makefile: Likewise.
80515         * extra-lib.mk: Likewise.
80516         * iconv/Makefile: Likewise.
80517         * include/libc-symbols.h: Likewise.
80518         * include/shlib-compat.h: Likewise.
80519         * resolv/Makefile: Likewise.
80520         * resolv/res_libc.c: Likewise.
80521         * rt/Makefile: Likewise.
80522         * sysdeps/i386/asm-syntax.h: Likewise.
80523         * sysdeps/i386/sysdep.h: Likewise.
80524         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80525         * sysdeps/mach/sysdep.h: Likewise.
80526         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80527         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80528         * sysdeps/s390/asm-syntax.h: Likewise.
80529         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80530         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80531         * sysdeps/sh/sysdep.h: Likewise.
80532         * sysdeps/unix/sparc/sysdep.h: Likewise.
80533         * sysdeps/wordsize-32/divdi3.c: Likewise.
80534         * sysdeps/x86_64/sysdep.h: Likewise.
80536         * argp/Versions: Remove _argp_unlock_xxx.
80538         [BZ #13559]
80539         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80540         * abilist/libBrokenLocale.abilist: Likewise.
80541         * abilist/libanl.abilist: Likewise.
80542         * abilist/libc.abilist: Likewise.
80543         * abilist/libcrypt.abilist: Likewise.
80544         * abilist/libdl.abilist: Likewise.
80545         * abilist/libm.abilist: Likewise.
80546         * abilist/libnsl.abilist: Likewise.
80547         * abilist/libpthread.abilist: Likewise.
80548         * abilist/libresolv.abilist: Likewise.
80549         * abilist/librt.abilist: Likewise.
80550         * abilist/libthread_db.abilist: Likewise.
80551         * abilist/libutil.abilist: Likewise.
80552         * abilist/libnss_db.abilist: New file.
80554         * scripts/abilist.awk: Add support for indirect functions.
80556         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80558         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80560         * shlib-versions: Remove entries for ports architectures.
80562         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80563         files in ports.
80564         * elf/stackguard-macros.h: Remove support for IA-64.
80565         * elf/tst-auditmod1.c: Likewise.
80566         * sysdeps/generic/ldsodefs.h: Likewise.
80568         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80569         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80570         configure files.
80572         [BZ #13552]
80573         * configure.in: Remove --enable-omitfp support.
80574         * FAQ.in: Adjust.
80575         * config.make.in: Likewise.
80576         * Makeconfig: Likewise.
80577         * manual/install.texi: Likewise.
80579         In case anyone cares, the IA-64 architecture could move to ports.
80580         * sysdeps/ia64/*: Removed.
80581         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80582         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80584         [BZ #13555]
80585         * configure.in: Remove entries for unsupported architectures.
80587         [BZ #13533]
80588         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80589         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80590         routines.
80591         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80592         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80593         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80594         fall back to using wcrtomb.
80595         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80596         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80597         renaming.
80598         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80599         * wcsmbs/tst-c16c32-1.c: New file.
80601         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80602         local variable.
80604         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80606         * elf/tst-unique3.cc: Add explicit declaration of gets.
80607         * elf/tst-unique3lib.cc: Likewise.
80608         * elf/tst-unique3lib2.cc: Likewise.
80609         * elf/tst-unique4.cc: Likewise.
80611         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80613 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
80615         [BZ #13566]
80616         * assert/assert.h (static_assert): Don't define for C++.
80617         * libio/stdio.h (gets): Do declare for C++ <= C++11.
80618         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80620 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
80622         * iconv/loop.c (single loop): Fix assertion in storing of
80623         remaining bytes.
80625         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80627 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
80629         * posix/getconf.c: Update copyright year.
80630         * nss/getent.c: Likewise.
80631         * nss/makedb.c: Likewise.
80632         * iconv/iconvconfig.c: Likewise.
80633         * iconv/iconv_prog.c: Likewise.
80634         * elf/ldconfig.c: Likewise.
80635         * elf/pldd.c: Likewise.
80636         * elf/sotruss.ksh: Likewise.
80637         * catgets/gencat.c: Likewise.
80638         * csu/version.c: Likewise.
80639         * elf/ldd.bash.in: Likewise.
80640         * elf/sprof.c (print_version): Likewise.
80641         * locale/programs/locale.c: Likewise.
80642         * locale/programs/localedef.c: Likewise.
80643         * login/programs/pt_chown.c: Likewise.
80644         * nscd/nscd.c (print_version): Likewise.
80645         * debug/xtrace.sh: Likewise.
80646         * malloc/memusage.sh: Likewise.
80647         * malloc/mtrace.pl: Likewise.
80648         * debug/catchsegv.sh: Likewise.
80650 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
80652         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
80653         pure attribute.
80655 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
80657         [BZ #13533]
80658         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
80659         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
80660         transformations.
80661         * iconv/gconv_int.h: Likewise.
80662         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
80663         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
80664         from libc for GLIBC_2.16.
80665         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
80666         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
80667         * wcsmbs/uchar.h: Really define mbstate_t.
80668         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
80669         * wcsmbs/c16rtomb.c: New file.
80670         * wcsmbs/mbrtoc16.c: New file.
80671         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
80672         for C/POSIX locale.
80673         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
80674         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
80676         * wcsmbs/wchar.h: Add missing __restrict.
80678 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80680         [BZ #13532]
80681         * time/Makefile (routines): Add timespec_get.
80682         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
80683         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
80684         timespec for ISO C11.
80685         * time/timespec_get.c: New file.
80686         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
80687         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
80689         [BZ #13531]
80690         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
80691         * stdlib/stdlib.h: Declare aligned_alloc.
80692         * Versions.def: Add GLIBC_2.16 for libc.
80693         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
80695         [BZ 13527]
80696         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
80697         ISO C11.
80699         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
80700         code.
80702         [BZ #13528]
80703         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
80705         [BZ #13529]
80706         * assert/assert.h (static_assert): Define.
80708         * version.h: Update for 2.16 development version.
80710         [BZ #13526]
80711         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
80712         _ISOC11_SOURCE.
80714         * version.h (RELEASE): Bump for 2.15 release.
80715         * include/features.h (__GLIBC_MINOR__): Bump to 15.
80717         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
80718         Patch by Marek Polacek <mpolacek@redhat.com>.
80720         * bits/byteswap.h: Protect long long constants with __extension__.
80721         * sysdeps/i386/bits/byteswap.h: Likewise.
80722         * sysdeps/ia64/bits/byteswap.h: Likewise.
80723         * sysdeps/s390/bits/byteswap.h: Likewise.
80724         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80726 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80728         [BZ #13540]
80729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
80730         destination buffer.
80731         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
80733 2011-12-23  Marek Polacek  <polacek@redhat.com>
80735         * elf/dl-addr.c (determine_info): Add inline keyword.
80736         * elf/tst-auditmod4b.c (check_avx): Likewise.
80737         * elf/tst-auditmod6b.c (check_avx): Likewise.
80738         * elf/tst-auditmod6c.c (check_avx): Likewise.
80739         * elf/tst-auditmod7b.c (check_avx): Likewise.
80741 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80743         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
80744         !__SSE_MATH__.
80746 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80748         [BZ #13540]
80749         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
80750         processing for last bytes.
80752 2011-08-06  Bruno Haible  <bruno@clisp.org>
80754         [BZ #13061]
80755         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
80756         U+0385, not to U+1FEE.
80758         [BZ #13062]
80759         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
80760         entry for U+00A5 U+0301.
80762 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80764         [BZ #13166]
80765         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
80766         buffer for the output is too small.
80768         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
80769         optimization.
80771         [BZ #13185]
80772         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
80773         SSE flags if possible.
80775 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80777         [BZ #13540]
80778         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
80779         processing for last bytes.
80781 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
80783         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
80784         (syscall-list-default-options, syscall-list-default-condition)
80785         (syscall-list-includes): Define.
80786         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
80787         list of ABIs and options and #if conditions for each ABI.  Do not
80788         handle common syscalls between ABIs specially.
80789         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
80790         Remove.
80791         (syscall-list-variants, syscall-list-32bit-options)
80792         (syscall-list-32bit-condition, syscall-list-64bit-options)
80793         (syscall-list-64bit-condition): Define.
80794         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
80795         (syscall-list-variants, syscall-list-32bit-options)
80796         (syscall-list-32bit-condition, syscall-list-64bit-options)
80797         (syscall-list-64bit-condition): Define.
80798         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
80799         Remove.
80800         (syscall-list-variants, syscall-list-32bit-options)
80801         (syscall-list-32bit-condition, syscall-list-64bit-options)
80802         (syscall-list-64bit-condition): Define.
80803         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
80804         Remove.
80805         (syscall-list-variants, syscall-list-32bit-options)
80806         (syscall-list-32bit-condition, syscall-list-64bit-options)
80807         (syscall-list-64bit-condition): Define.
80809 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80811         * locale/iso-639.def: Add brx entry.
80813         [BZ #13328]
80814         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
80815         Proposed by Mariusz_Cukr <marcukr@op.pl>.
80817         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
80818         __feraiseexcept_renamed.
80820 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80822         [BZ #13538]
80823         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
80824         EPOLLET with unsigned values.
80825         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80826         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80828         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
80829         to large cancellation.
80830         * math/s_cacoshf.c: Likewise.
80831         * math/s_cacoshl.c: Likewise.
80833 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
80835         [BZ #13305]
80836         [BZ #12786]
80837         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
80838         * math/s_cacoshf.c: Likewise.
80839         * math/s_cacoshl.c: Likewise.
80841 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80843         [BZ #13439]
80844         * iconv/gconv.h: Define __GCONV_SWAP.
80845         * iconvdata/unicode.c: The swap bit must be stored in __flags.
80846         * iconvdata/utf-16.c: Likewise.
80847         * iconvdata/utf-32.c: Likewise.
80849 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
80851         [BZ #13524]
80852         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
80853         numerator after shifting it by one limb.
80855 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
80857         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
80858         under [__USE_EXTERN_INLINES].
80860 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80862         [BZ #13446]
80863         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
80865 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80867         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
80868         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
80869         optimized code.
80870         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
80871         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
80872         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
80873         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
80874         for strncasecmp/strncasecmp_l compilation.
80875         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
80876         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
80878 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
80880         [BZ #13484]
80881         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
80882         of __asm__.
80884 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80886         [BZ #13506]
80887         * time/tzfile.c (__tzfile_read): Check values from file header.
80889 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
80891         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
80892         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
80893         * powerpc/powerpc32/dl-start.S: Likewise.
80894         * powerpc/powerpc32/elf/start.S: Likewise.
80895         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
80896         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
80897         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
80898         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
80899         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
80900         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
80901         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
80902         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
80903         * powerpc/powerpc32/fpu/s_round.S: Likewise.
80904         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
80905         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
80906         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
80907         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
80908         * powerpc/powerpc32/memset.S: Likewise.
80909         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
80910         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
80911         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
80912         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
80913         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
80914         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
80915         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
80916         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
80917         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
80918         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
80919         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
80920         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80921         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80923 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80925         * math/libm-test.inc: Added more nearbyint tests.
80926         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
80927         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
80928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
80929         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
80931 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
80933         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
80934         FD_CLOEXEC.
80936 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80938         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
80939         Add wcscpy-ssse3 wcscpy-c.
80940         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
80941         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
80942         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
80943         * sysdeps/x86_64/wcschr.S: New file.
80944         * sysdeps/x86_64/wcsrchr.S: New file.
80945         * string/test-strcmp.c: Remove checking of wcscmp function for
80946         wrong alignments.
80947         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
80948         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
80949         wcsrchr-sse2 wcsrchr-c.
80950         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
80951         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
80952         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
80953         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
80954         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
80955         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
80956         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
80957         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
80958         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
80959         * wcsmbc/wcschr.c (WCSCHR): New macro.
80961 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80963         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
80964         * wcsmbs/test-wcsrchr.c: New file.
80965         * string/test-strrchr.c: Add wcsrchr support.
80966         (WIDE): New macro.
80967         * wcsmbs/test-wcscpy.c: New file.
80968         * string/test-strcpy.c: Add wcscpy support.
80969         (WIDE): New macro.
80971 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
80973         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
80974         the inner loop.
80976 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
80978         [BZ #13472]
80979         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
80981 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
80983         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
80984         Minor optimizations.
80986         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
80987         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
80988         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
80990 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
80992         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
80993         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
80994         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
80995         for gcc to avoid warnings.
80996         * inet/Makefile (tests): Add tst-checks.
80997         * inet/tst-checks.c: New file.
80999         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81000         warning.
81002         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81003         __wmemcmp_sse2.
81005         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81006         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81008         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81010 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81012         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81013         problem.
81015         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81017 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81019         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81020         conditional on GCC version.
81021         (__arch_compare_and_exchange_val_8_acq)
81022         (__arch_compare_and_exchange_val_16_acq)
81023         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81024         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81025         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81027 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81029         * sysdeps/sh/backtrace.c: New file.
81031 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81033         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81034         parenthesis.
81036 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81038         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81039         falling back to utime.
81041 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81043         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81044         expectations for float.
81046 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81048         * locale/weight.h (findidx): Add parameter len.
81049         * locale/weightwc.h (findidx): Likewise.
81050         * posix/fnmatch_loop.c (FCT): Adjust caller.
81051         * posix/regcomp.c (build_equiv_class): Likewise.
81052         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81053         * posix/regexec.c (check_node_accept_bytes): Likewise.
81054         * string/strcoll_l.c (STRCOLL): Likewise.
81055         * string/strxfrm_l.c (STRXFRM): Likewise.
81057 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81059         * Makefile.in: Remove CVSOPT handling.
81060         * configure.in: Remove use of AC_REVISION.
81061         * iconvdata/Makefile (distribute): No need to filter out CVS.
81062         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81063         handling.
81065 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81068         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81069         [USE_AS_STRNCASECMP_L]: Likewise.
81070         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81071         NO_TLS_DIRECT_SEG_REFS.
81072         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81073         Fix argument offsets for non-PIC.
81074         [USE_AS_STRNCASECMP_L]: Likewise.
81075         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81076         NO_TLS_DIRECT_SEG_REFS.
81078 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81080         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81081         O_CLOEXEC.
81082         * locale/loadlocale.c (_nl_load_locale): Likewise.
81084 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81086         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81087         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81088         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81089         (SYSCALL_GETTIME): Set errno on error.
81091         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81092         count references to noai6ai_cached.
81094 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81096         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81098         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81099         FD_CLOEXEC for /proc/self/maps.
81101         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81102         FD_CLOEXEC for /proc/meminfo.
81104         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81105         gai.conf.
81107         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81108         FD_CLOEXEC for given file.
81110         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81112         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81113         FD_CLOEXEC for /etc/hosts.
81114         (_gethtent): Likewise.
81116         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81118         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81119         cancellation and set FD_CLOEXEC for /etc/netgroup.
81121         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81122         reading /etc/publickey.
81124         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81125         allow cancellation when reading /etc/group.
81127         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81128         cancellation.
81129         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81131         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81132         when using data file.
81134         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81136         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81137         (write_nis_obj): Use "c" and "e" in fopen.
81139         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81141         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81143         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81145         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81147         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81148         locale.alias.
81150         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81152         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81154         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81156         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81157         file parsing and set FD_CLOEXEC.
81159 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81161         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81163 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81165         * malloc/arena.c (arena_get2): Don't call reused_arena when
81166         _int_new_arena failed.
81168 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81170         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81171         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81172         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81173         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81174         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81175         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81176         to compile strcasecmp and strncasecmp.
81177         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81178         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81180         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81182 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81184         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81185         locale-defines.sym to gen-as-const-headers.
81186         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81187         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81188         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81189         to compile strcasecmp and strncasecmp.
81190         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81191         strcasecmp_l and strncasecmp_l.
81192         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81193         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81194         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81195         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81196         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81197         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81198         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81199         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81200         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81201         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81202         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81204 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81206         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81207         result of SYSDEP_GETTIME_CPU to retval.
81208         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81209         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81211         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81212         variable.
81214         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81215         mantissa words.
81216         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81218         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81219         from unused variable.
81221         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81222         DWARF definitions.
81223         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81224         for assembling.
81226         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81227         over namespaces.
81229         * sunrpc/rpc_prot.c (rejected): Fix case value.
81231         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81232         unsigned long long int to avoid warnings in shift.
81234         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81235         of use of trans.
81236         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81237         variable tmp.
81239         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81240         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81241         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81243         * nis/nis_table.c (nis_list): Use variable of correct type for
81244         result of __follow_path call.
81246 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81248         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81249         of math functions ceil, trunc, floor, round, and sqrt, when
81250         avaliable on the platform.
81251         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81252         name clash.
81253         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81254         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81255         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81257 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81259         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81260         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81262 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81264         * include/unistd.h: Fix __readlink return type.
81265         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81267 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81269         * stdlib/ucontext.h: Undo last change for makecontext.
81271 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81273         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81275         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81276         * setjmp/setjmp.h: Mark functions as non-leaf.
81277         * setjmp/bits/setjmp2.h: Likewise.
81278         * stdlib/ucontext.h: Likewise.
81280 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81282         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81283         (reused_arena): Don't check arena limit.
81284         (arena_get2): Atomically check arena limit.
81286 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81288         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81289         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81292         instructions.
81294 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81296         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81297         handler when locking.
81299         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81300         Fix size of allocated buffer.
81302 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81304         [BZ #10103]
81305         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81306         declarations for long double functions.
81307         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81309         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81311 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81313         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81314         installed.
81316         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81317         is disabled.
81319 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81321         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81323 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81325         * include/alloca.h (stackinfo_alloca_round): Define.
81326         (extend_alloca): Use it.
81327         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81328         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81329         here.
81331         * scripts/check-local-headers.sh: Ignore libaudit.h.
81333         * nscd/Makefile (extra-objs): Make recursively expanded.
81335 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81337         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81338         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81340         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81341         * posix/tst-rfc3484-2.c: Likewise.
81342         * posix/tst-rfc3484-3.c: Likewise.
81344         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81345         process_vm_writev.
81346         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81347         process_vm_writev.
81348         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81349         process_vm_writev from libc using GLIBC_2.15 version.
81351         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81353 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81355         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81356         stack usage.
81358 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81360         [BZ #13367]
81361         * nss/getent.c (initgroups_keys): Show error message in case no group
81362         names are given.
81364         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81365         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81366         __bump_nl_timestamp.
81367         * nscd/connections (nscd_init): When host database is served open
81368         netlink socket and request notification about configuration changes.
81369         (main_loop_poll): Track netlink file descriptor and bump timestamp
81370         in case data becomes available.
81371         (main_loop_epoll): Likewise.
81372         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81373         (database_pers_head): Add extra_data fileds.
81374         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81375         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81376         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81377         Adjust caller.
81378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81379         in6ai data, call __free_in6ai.
81380         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81381         Add -DHAVE_NETLINK.
81382         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81383         interface information.  Reuse previous data if netlink timestamp
81384         is not changed.
81385         (__bump_nl_timestamp): New function.
81386         (__free_in6ai): New function.
81388 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81390         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81391         close_not_cancel_no_status here.
81392         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81394 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81396         [BZ #13276]
81397         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81398         return value.
81400         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81401         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81402         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81404 2011-07-03  Andreas Jaeger  <aj@suse.de>
81406         [BZ #10709]
81407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81408         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81409         * math/libm-test.inc (sin_test): Add test case.
81411 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81413         [BZ #13337]
81414         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81415         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81417         * elf/chroot_canon.c (chroot_canon): Cleanups.
81419         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81421         [BZ #13335]
81422         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81423         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81425         * string/test-strchr.c: Make usable for strchrnul testing.
81426         * string/test-strchrnul.c: New file.
81427         * string/Makefile (strop-tests): Add strchrnul.
81429         * po/it.po: Update from translation team.
81430         * po/es.po: Likewise.
81432 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81434         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81435         the three constants needed as parameters.  Drop the others.
81436         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81437         __m128i_strloadu_tolower.
81438         Create and initialize variable zero and use it in all the places
81439         where _mm_setzero_si128 was used.
81441         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81442         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81443         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81444         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81445         anymore.
81446         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81447         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81448         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81449         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81450         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81451         __mpranred, __mptan.
81452         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81453         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81454         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81455         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81456         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81457         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81458         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81459         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81460         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81462 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81464         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81465         redefine if SHARED.
81466         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81468         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81469         wide char related routines to wcsmbs subdir.
81471 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81473         [BZ #13344]
81474         * misc/sys/cdefs.h (__THROWNL): Define.
81475         * posix/unistd.h: Use __THREADNL instead of __THREAD
81476         for memory synchronization functions.
81478 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81480         [BZ #13349]
81481         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81482         doesn't exist.
81483         * manual/stdio.texi (Obstack Streams): Node removed.
81485 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81487         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81488         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81489         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81491         * math/math_private.h (math_force_eval): Allow non-addressable
81492         arguments.
81493         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81495 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81497         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81498         file is not needed.
81500         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81502         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81503         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81504         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81505         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81506         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81507         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81508         Add AVX variants.
81509         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81510         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81511         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81512         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81513         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81514         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81515         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81516         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81517         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81518         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81519         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81520         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81521         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81522         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81523         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81524         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81525         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81526         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81527         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81529         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81530         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81532         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81533         place.  Use VEX encoding when compiling for AVX.
81535 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81537         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81538         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81540         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81542 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81544         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81545         useless if() expression.
81546         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81547         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81548         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81549         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81550         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81551         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81552         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81553         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81554         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81555         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81556         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81557         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81558         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81559         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81560         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81561         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81562         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81563         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81564         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81566         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81568 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81570         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81571         condition.
81572         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81574 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81576         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81577         .text section.  Avoid duplicate constants.
81578         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81580         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81585         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81586         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81587         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81588         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81589         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81590         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81591         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81592         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81593         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81594         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81595         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81598         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81599         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81600         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81601         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81602         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81603         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81604         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81605         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81606         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81607         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81608         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81609         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81610         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81611         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81612         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81613         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81614         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81615         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81616         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81617         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81618         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81619         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81620         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81621         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81622         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81624 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
81626         * sysdeps/x86_64/dla.h: Move to ...
81627         * sysdeps/x86_64/fpu/dla.h: ...here.
81628         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81629         situations.  Use __builtin_fma only for gcc 4.6 and up.
81631         * config.make.in: Add have-mfma4 entry.
81632         * configure.in: Substitute libc_cv_cc_fma4.
81633         * math/Makefile (dbl-only-routines): Add sincostab.
81634         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81635         Use __sincostab not sincos.
81636         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81637         name is a macro.
81638         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81639         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
81642         using __copysign.
81643         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
81644         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
81645         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
81646         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
81647         and __inv.
81648         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
81649         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
81650         __copysign.
81651         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
81652         define aliases when function name is a macro.
81653         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
81654         sysdeps/ieee754/dbl-64/sincos.tbl.
81655         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
81656         fma4-enabled routines.
81657         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
81658         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
81659         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
81660         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
81661         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
81662         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
81663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
81664         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
81665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
81666         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
81667         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
81668         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
81669         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
81670         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
81671         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
81672         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
81673         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
81674         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
81675         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
81676         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
81677         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
81678         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
81679         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
81680         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
81681         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
81682         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
81683         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
81684         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
81685         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
81686         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
81688         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
81689         rename.
81690         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81692         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81693         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81694         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81696         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81699 2011-10-24  Andreas Schwab  <schwab@redhat.com>
81701         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
81703 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81705         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
81707         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
81708         prediction.
81709         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
81711         * string/strnlen.c: Don't define STRNLEN, reverse logic.
81712         Remove unused variable magic_bits.
81713         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
81715         * string/strnlen.c: Define and use STRNLEN macro.
81716         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
81717         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
81718         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
81719         * wcsmbs/wcslen.c: Define and use WCSLEN.
81720         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
81721         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
81722         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
81723         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
81724         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
81725         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
81726         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81728 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81731         strnlen-sse2-no-bsf.
81732         Rename strlen-no-bsf to strlen-sse2-no-bsf.
81733         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
81734         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
81735         Add strnlen support.
81736         (USE_AS_STRNLEN): New macro.
81737         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
81738         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
81739         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
81740         * sysdeps/x86_64/wcslen.S: New file.
81742 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
81744         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81745         XMM-moves are used for copying on small sizes.
81747 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81749         * wcsmbs/Makefile (strop-tests): Add wcschr.
81750         * wcsmbs/test-wcschr.c: New file.
81751         * string/test-strchr.c: Update.
81752         Add wcschr support.
81753         (WIDE): New macro.
81755 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81757         * wcsmbs/Makefile (strop-tests): Add wcslen.
81758         * wcsmbs/test-wcslen.c: New file.
81759         * string/test-strlen.c: Update.
81760         Add wcslen support.
81761         (WIDE): New macro.
81763 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81765         * po/it.po: Update from translation team.
81767 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81769         * sysdeps/x86_64/wcscmp.S: Update.
81770         Fix wrong comparison semantics.
81771         wcscmp shall use signed comparison not unsigned.
81772         Don't use substraction to avoid overflow bug.
81773         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
81774         * wcsmbc/wcscmp.c: Likewise.
81775         * string/test-strcmp.c: Likewise.
81776         Add new tests to check cases with negative values.
81778 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81780         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
81781         * sysdeps/x86_64/dla.h: ...here.  New file.
81782         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
81783         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81784         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81787         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81789         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81790         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81792 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
81794         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
81795         __ynl_finite aliases.
81797 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81801         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
81802         define DLA_FMA.
81803         [DLA_FMA] (EMULV): Use DLA_FMA.
81804         [DLA_FMA] (MUL12): Use EMULV.
81805         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
81806         that are not needed.
81807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81808         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81809         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81810         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81811         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81812         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81813         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81815 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
81817         * math/s_nan.c: Undef __nan.
81818         * math/s_nanf.c: Undef __nanf.
81819         * math/s_nanl.c: Undef __nanl.
81820         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
81821         "math_private.h".
81823 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81825         * math/s_catan.c: Add branch predictions.
81826         * math/s_catanf.c: Likewise.
81827         * math/s_catanh.c: Likewise.
81828         * math/s_catanhf.c: Likewise.
81829         * math/s_catanhl.c: Likewise.
81830         * math/s_catanl.c: Likewise.
81831         * math/s_cexp.c: Likewise.
81832         * math/s_cexpf.c: Likewise.
81833         * math/s_cexpl.c: Likewise.
81834         * math/s_clog.c: Likewise.
81835         * math/s_clog10.c: Likewise.
81836         * math/s_clog10f.c: Likewise.
81837         * math/s_clog10l.c: Likewise.
81838         * math/s_clogf.c: Likewise.
81839         * math/s_clogl.c: Likewise.
81840         * math/s_csqrt.c: Likewise.
81841         * math/s_csqrtf.c: Likewise.
81842         * math/s_csqrtl.c: Likewise.
81843         * math/s_ctanf.c: Likewise.
81844         * math/s_ctanh.c: Likewise.
81845         * math/s_ctanhf.c: Likewise.
81846         * math/s_ctanhl.c: Likewise.
81847         * math/s_ctanl.c: Likewise.
81849         * math/math_private.h: Define __nan, __nanf, __nanl.
81850         * math/s_cacosh.c: Include <math_private.h>.
81851         * math/s_cacoshl.c: Likewise.
81852         * math/s_casinh.c: Likewise.
81853         * math/s_casinhf.c: Likewise.
81854         * math/s_casinhl.c: Likewise.
81855         * math/s_ccos.c: Rely entire on ccosh.
81856         * math/s_ccosf.c: Rely entire on ccoshf.
81857         * math/s_ccosl.c: Rely entirely on ccoshl.
81858         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
81859         Remove tests for FE_INVALID.
81860         * math/s_ccoshf.c: Likewise.
81861         * math/s_ccoshl.c: Likewise.
81862         * math/s_csin.c: Likewise.
81863         * math/s_csinf.c: Likewise.
81864         * math/s_csinh.c Likewise.
81865         * math/s_csinhf.c: Likewise.
81866         * math/s_csinhl.c: Likewise.
81867         * math/s_csinl.c: Likewise.
81868         * math/s_ctan.c: Likewise.
81869         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
81870         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
81871         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
81873 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
81875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
81876         compilation problems.
81878         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
81879         __builtin_expect.
81881 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
81883         * sysdeps/i386/configure.in: Test for -mfma4 option.
81884         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
81885         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
81886         COMMON_CPUID_INDEX_80000001.
81887         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
81888         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
81889         use it if FMA3 is not supported.
81890         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
81892         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
81893         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81895 2011-10-20  Andreas Schwab  <schwab@redhat.com>
81897         [BZ #12892]
81898         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
81899         it would create a cycle with a link time dependency.
81901 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
81903         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
81904         instruction.
81905         * string/Makefile (strop-tests): Add rawmemchr.
81906         * string/test-rawmemchr.c: New file.
81908         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
81909         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
81910         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
81911         when compiling str{,n}casecmp and when AVX is available.  Hook up
81912         new optimized code in initializers.
81914 2011-10-19  Andreas Schwab  <schwab@redhat.com>
81916         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
81917         __feraiseexcept instead of feraiseexcept.
81919 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
81921         * math/math_private.h: Define defaults for libc_fetestexcept and
81922         libc_feupdateenv.
81923         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
81924         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
81925         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81926         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
81927         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81928         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81929         libc_fetestexcept and libc_feupdateenv.
81931         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
81932         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
81933         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
81934         * sysdeps/x86_64/fpu/math_private.h: Define special version of
81935         libc_feholdexcept_setround.
81937         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
81938         Add s_nearbyint-c and s_nearbyintf-c.
81939         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
81940         nearbyintf inlines.
81941         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
81942         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
81943         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
81944         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
81946         * math/math_private.h: Define defaults for libc_fegetround,
81947         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
81948         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
81949         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
81950         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
81951         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
81952         standard functions.
81953         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81954         Remove comments and hacks for old compiler versions.
81955         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
81956         libc_fegetround, libc_fesetround, libc_feholdexcept, and
81957         libc_feholdexceptl.
81959 2011-10-18  Andreas Schwab  <schwab@redhat.com>
81961         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
81962         (__feraiseexcept_renamed): Add __NTH.
81963         (feraiseexcept): Add __NTH.  Rename local variables to fix
81964         namespace violations.
81966 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
81968         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
81970         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
81972         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
81973         recently added interfaces.
81974         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
81976         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
81977         about macro parameter expansion.
81979         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
81980         __NO_MATH_INLINES is defined.  Cleanups.
81982         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
81983         and __floorf is target has SSE4.1.
81984         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
81985         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
81986         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
81987         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
81989         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
81990         name.
81991         (floorf): Likewise.
81993         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
81995 2011-10-17  Andreas Schwab  <schwab@redhat.com>
81997         * misc/sys/cdefs.h: Fix last change.
81999         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82000         database lookup.
82002 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82004         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82006         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82007         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82008         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82009         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82010         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82011         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82012         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82013         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82014         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82015         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82016         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82017         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82018         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82019         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82020         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82021         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82022         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82023         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82024         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82025         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82026         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82027         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82029         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82030         ceil, ceilf, floor, floorf.
82032         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82033         Perform IRELATIVE relocations last.
82035         * elf/do-rel.h: Add another parameter nrelative, replacing the
82036         local variable with the same name.  Change name of the function
82037         to end in Rel or Rela (uppercase).
82038         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82039         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82040         elf_dynamic_do_##reloc function.
82042 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82044         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82045         is sufficient, at least on modern CPUs.
82047         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82049         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82050         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82052         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82053         __expl_finite.
82054         * math/bits/math-finite.h: Add entries for exp.
82055         * math/e_expl.c: Add __*_finite alias.
82056         * sysdeps/i386/fpu/e_exp.S: Likewise.
82057         * sysdeps/i386/fpu/e_expf.S: Likewise.
82058         * sysdeps/i386/fpu/e_expl.c: Likewise.
82059         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82060         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82061         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82062         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82063         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82064         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82065         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82067         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82068         is sufficient, at least on modern CPUs.
82070         * ctype/ctype-info.c (__ctype_init): Define.
82071         * include/ctype.h (__ctype_init): Declare.
82072         (__ctype_b_loc): The variable is always initialized.
82073         (__ctype_toupper_loc): Likewise.
82074         (__ctype_tolower_loc): Likewise.
82075         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82076         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82078 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82080         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82082         * configure.in: Also look in $cxxmachine/include for C++ system
82083         headers.
82085 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82087         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82088         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82089         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82090         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82091         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82092         (USE_AS_WMEMCMP): New macro.
82093         Fixing indents.
82094         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82095         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82096         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82097         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82099         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82100         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82101         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82102         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82103         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82104         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82105         (USE_AS_WMEMCMP): New macro.
82106         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82107         * sysdeps/string/test-memcmp.c: Update.
82108         Fix simple_wmemcmp.
82109         Add new tests.
82110         * wcsmbs/wmemcmp.c: Update.
82111         (WMEMCMP): New macro.
82112         Fix overflow bug.
82114 2011-10-12  Andreas Jaeger  <aj@suse.de>
82116         [BZ #13268]
82117         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82119 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82121         * libio/iofwide.c (do_length): Avoid warning.
82123         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82125 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82127         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82129         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82130         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82131         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82132         * sysdeps/i386/i686/fpu/e_log.S: New file.
82133         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82134         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82136         * ctype/ctype.h: Add support for inlined isXXX functions when
82137         compiling C++ code.
82139 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82141         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82143         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82145 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82147         [BZ #13291]
82148         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82150 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82152         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82153         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82154         feraiseexcept.
82156         * sysdeps/x86_64/memrchr.S: Check for zero size.
82158         * string/stratcliff.c: Add memrchr tests.
82160 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82163         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82164         rawmemchr-sse2 rawmemchr-sse2-bsf.
82165         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82166         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82167         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82168         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82169         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82170         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82171         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82172         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82173         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82174         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82175         * string/memrchr.c (MEMRCHR): New macro.
82177 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82179         Add integration with gcc's -ffinite-math-only and optimize wrapper
82180         functions in libm.
82181         * Versions.def: Define GLIBC_2.15 version for libm.
82182         * math/Makefile (headers): Add bits/math-finite.h.
82183         * math/bits/math-finite.h: New file.
82184         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82185         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82186         * math/e_acoshl.c: Add __*_finite alias.
82187         * math/e_acosl.c: Likewise.
82188         * math/e_asinl.c: Likewise.
82189         * math/e_atan2l.c: Likewise.
82190         * math/e_atanhl.c: Likewise.
82191         * math/e_coshl.c: Likewise.
82192         * math/e_exp10.c: Likewise.
82193         * math/e_exp10f.c: Likewise.
82194         * math/e_exp10l.c: Likewise.
82195         * math/e_exp2l.c: Likewise.
82196         * math/e_fmodl.c: Likewise.
82197         * math/e_gammal_r.c: Likewise.
82198         * math/e_hypotl.c: Likewise.
82199         * math/e_j0l.c: Likewise.
82200         * math/e_j1l.c: Likewise.
82201         * math/e_jnl.c: Likewise.
82202         * math/e_lgammal_r.c: Likewise.
82203         * math/e_log10l.c: Likewise.
82204         * math/e_log2l.c: Likewise.
82205         * math/e_logl.c: Likewise.
82206         * math/e_powl.c: Likewise.
82207         * math/e_sinhl.c: Likewise.
82208         * math/e_sqrtl.c: Likewise.
82209         * math/e_scalb.c: Completely rewritten and optimized.
82210         * math/e_scalbf.c: Likewise.
82211         * math/e_scalbl.c: Likewise.
82212         * math/w_acos.c: Likewise.
82213         * math/w_acosf.c: Likewise.
82214         * math/w_acosl.c: Likewise.
82215         * math/w_acosh.c: Likewise.
82216         * math/w_acoshf.c: Likewise.
82217         * math/w_acoshl.c: Likewise.
82218         * math/w_asin.c: Likewise.
82219         * math/w_asinf.c: Likewise.
82220         * math/w_asinl.c: Likewise.
82221         * math/w_atan2.c: Likewise.
82222         * math/w_atan2f.c: Likewise.
82223         * math/w_atan2l.c: Likewise.
82224         * math/w_atanh.c: Likewise.
82225         * math/w_atanhf.c: Likewise.
82226         * math/w_atanhl.c: Likewise.
82227         * math/w_exp10.c: Likewise.
82228         * math/w_exp10f.c: Likewise.
82229         * math/w_exp10l.c: Likewise.
82230         * math/w_fmod.c: Likewise.
82231         * math/w_fmodf.c: Likewise.
82232         * math/w_fmodl.c: Likewise.
82233         * math/w_j0.c: Likewise.
82234         * math/w_j0f.c: Likewise.
82235         * math/w_j0l.c: Likewise.
82236         * math/w_j1.c: Likewise.
82237         * math/w_j1f.c: Likewise.
82238         * math/w_j1l.c: Likewise.
82239         * math/w_jn.c: Likewise.
82240         * math/w_jnf.c: Likewise.
82241         * math/w_log.c: Likewise.
82242         * math/w_logf.c: Likewise.
82243         * math/w_logl.c: Likewise.
82244         * math/w_log10.c: Likewise.
82245         * math/w_log10f.c: Likewise.
82246         * math/w_log10l.c: Likewise.
82247         * math/w_log2.c: Likewise.
82248         * math/w_log2f.c: Likewise.
82249         * math/w_log2l.c: Likewise.
82250         * math/w_pow.c: Likewise.
82251         * math/w_powf.c: Likewise.
82252         * math/w_powl.c: Likewise.
82253         * math/w_remainder.c: Likewise.
82254         * math/w_remainderf.c: Likewise.
82255         * math/w_remainderl.c: Likewise.
82256         * math/w_scalb.c: Likewise.
82257         * math/w_scalbf.c: Likewise.
82258         * math/w_scalbl.c: Likewise.
82259         * math/w_sqrt.c: Likewise.
82260         * math/w_sqrtf.c: Likewise.
82261         * math/w_sqrtl.c: Likewise.
82262         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82263         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82264         used.
82265         * math/math_private.h: Declare __kernel_standard_f.
82266         * math/w_cosh.c: Remove cruft and optimize a bit.
82267         * math/w_coshf.c: Likewise.
82268         * math/w_coshl.c: Likewise.
82269         * math/w_exp2.c: Likewise.
82270         * math/w_exp2f.c: Likewise.
82271         * math/w_exp2l.c: Likewise.
82272         * math/w_hypot.c: Likewise.
82273         * math/w_hypotf.c: Likewise.
82274         * math/w_hypotl.c: Likewise.
82275         * math/w_lgamma.c: Likewise.
82276         * math/w_lgamma_r.c: Likewise.
82277         * math/w_lgammaf.c: Likewise.
82278         * math/w_lgammaf_r.c: Likewise.
82279         * math/w_lgammal.c: Likewise.
82280         * math/w_lgammal_r.c: Likewise.
82281         * math/w_sinh.c: Likewise.
82282         * math/w_sinhf.c: Likewise.
82283         * math/w_sinhl.c: Likewise.
82284         * math/w_tgamma.c: Likewise.
82285         * math/w_tgammaf.c: Likewise.
82286         * math/w_tgammal.c: Likewise.
82287         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82288         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82289         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82290         Minor optimizations.  Pretty printing.  Remove cruft.
82291         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82292         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82293         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82294         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82295         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82296         * sysdeps/i386/fpu/e_asin.S: Likewise.
82297         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82298         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82299         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82300         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82301         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82302         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82303         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82304         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82305         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82306         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82307         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82308         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82309         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82310         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82311         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82312         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82313         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82314         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82315         * sysdeps/i386/fpu/e_log.S: Likewise.
82316         * sysdeps/i386/fpu/e_log10.S: Likewise.
82317         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82318         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82319         * sysdeps/i386/fpu/e_log2.S: Likewise.
82320         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82321         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82322         * sysdeps/i386/fpu/e_logf.S: Likewise.
82323         * sysdeps/i386/fpu/e_logl.S: Likewise.
82324         * sysdeps/i386/fpu/e_pow.S: Likewise.
82325         * sysdeps/i386/fpu/e_powf.S: Likewise.
82326         * sysdeps/i386/fpu/e_powl.S: Likewise.
82327         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82328         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82329         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82330         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82331         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82333         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82334         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82335         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82336         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82337         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82338         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82339         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82340         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82341         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82342         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82343         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82344         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82345         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82346         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82347         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82348         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82349         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82350         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82351         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82352         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82353         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82354         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82356         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82357         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82358         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82359         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82360         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82361         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82362         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82363         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82364         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82365         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82366         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82367         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82368         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82369         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82370         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82371         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82372         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82373         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82374         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82375         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82376         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82377         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82378         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82379         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82380         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82381         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82382         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82383         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82384         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82385         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82386         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82387         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82388         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82389         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82391         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82392         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82393         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82394         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82395         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82396         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82397         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82398         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82399         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82400         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82401         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82402         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82403         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82404         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82405         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82406         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82407         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82408         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82409         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82410         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82411         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82412         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82413         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82414         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82415         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82416         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82417         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82418         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82419         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82420         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82421         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82422         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82423         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82424         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82425         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82426         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82427         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82428         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82429         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82430         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82431         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82432         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82433         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82434         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82435         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82436         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82437         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82438         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82439         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82440         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82441         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82442         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82443         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82444         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82445         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82446         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82447         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82448         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82449         (__isnanf): Likewise.
82450         (__isinf_ns): Likewise.
82451         (__isinf_nsf): Likewise.
82452         (__finite): Likewise.
82453         (__finitef): Likewise.
82454         (__ieee754_sqrt): Define as macro.
82455         (__ieee754_sqrtf): Define as macro.
82456         (__ieee754_sqrtl): Define as macro.
82457         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82458         inlined copy.
82459         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82460         __FINITE_MATH_ONLY__ consistent.
82461         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82463 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82465         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82466         of rawmemchr.
82468         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82470 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82472         * po/ja.po: Update from translation team.
82474 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82476         * locale/programs/locarchive.c (prepare_address_space): New function.
82477         (create_archive, enlarge_archive, open_archive): Use it.
82479         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82480         inside [SHARED], where it is used.
82482         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82484         * nss/getent.c (netgroup_keys): Remove unused variable.
82485         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82487 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82489         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82490         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82491         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82492         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82493         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82494         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82495         * math/Makefile (libm-calls): Add s_isinf_ns.
82496         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82497         * math/multc3.c: Likewise.
82498         * math/s_casin.c: Likewise.
82499         * math/s_casinf.c: Likewise.
82500         * math/s_casinl.c: Likewise.
82501         * math/s_ccos.c: Likewise.
82502         * math/s_ccosf.c: Likewise.
82503         * math/s_ccosl.c: Likewise.
82504         * math/s_ctan.c: Likewise.
82505         * math/s_ctanf.c: Likewise.
82506         * math/s_ctanh.c: Likewise.
82507         * math/s_ctanhf.c: Likewise.
82508         * math/s_ctanhl.c: Likewise.
82509         * math/s_ctanl.c: Likewise.
82510         * math/w_fmod.c: Likewise.
82511         * math/w_fmodf.c: Likewise.
82512         * math/w_fmodl.c: Likewise.
82513         * math/w_remainder.c: Likewise.
82514         * math/w_remainderf.c: Likewise.
82515         * math/w_remainderl.c: Likewise.
82516         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82517         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82520         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82521         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82522         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82523         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82525         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82526         of the number.
82527         * stdio-common/printf_fphex.c: Likewise.
82528         * stdio-common/printf_size.c: Likewise.
82530         * math/e_exp10.c: Include math_private.h using <...> not "...".
82531         * math/e_exp10f.c: Likewise.
82532         * math/e_exp10l.c: Likewise.
82533         * math/e_exp2l.c: Likewise.
82534         * math/e_j0l.c: Likewise.
82535         * math/e_j1l.c: Likewise.
82536         * math/e_jnl.c: Likewise.
82537         * math/e_lgammal_r.c: Likewise.
82538         * math/e_rem_pio2l.c: Likewise.
82539         * math/e_scalb.c: Likewise.
82540         * math/e_scalbf.c: Likewise.
82541         * math/e_scalbl.c: Likewise.
82542         * math/k_cosl.c: Likewise.
82543         * math/k_sinl.c: Likewise.
82544         * math/k_tanl.c: Likewise.
82545         * math/s_cacoshf.c: Likewise.
82546         * math/s_catan.c: Likewise.
82547         * math/s_catanf.c: Likewise.
82548         * math/s_catanh.c: Likewise.
82549         * math/s_catanhf.c: Likewise.
82550         * math/s_catanhl.c: Likewise.
82551         * math/s_catanl.c: Likewise.
82552         * math/s_ccosh.c: Likewise.
82553         * math/s_ccoshf.c: Likewise.
82554         * math/s_ccoshl.c: Likewise.
82555         * math/s_cexp.c: Likewise.
82556         * math/s_cexpf.c: Likewise.
82557         * math/s_cexpl.c: Likewise.
82558         * math/s_clog.c: Likewise.
82559         * math/s_clog10.c: Likewise.
82560         * math/s_clog10f.c: Likewise.
82561         * math/s_clog10l.c: Likewise.
82562         * math/s_clogf.c: Likewise.
82563         * math/s_clogl.c: Likewise.
82564         * math/s_csin.c: Likewise.
82565         * math/s_csinf.c: Likewise.
82566         * math/s_csinh.c: Likewise.
82567         * math/s_csinhf.c: Likewise.
82568         * math/s_csinhl.c: Likewise.
82569         * math/s_csinl.c: Likewise.
82570         * math/s_csqrt.c: Likewise.
82571         * math/s_csqrtf.c: Likewise.
82572         * math/s_csqrtl.c: Likewise.
82573         * math/s_ctan.c: Likewise.
82574         * math/s_ctanf.c: Likewise.
82575         * math/s_ctanh.c: Likewise.
82576         * math/s_ctanhf.c: Likewise.
82577         * math/s_ctanhl.c: Likewise.
82578         * math/s_ctanl.c: Likewise.
82579         * math/s_ldexp.c: Likewise.
82580         * math/s_ldexpf.c: Likewise.
82581         * math/s_ldexpl.c: Likewise.
82582         * math/s_significand.c: Likewise.
82583         * math/s_significandf.c: Likewise.
82584         * math/s_significandl.c: Likewise.
82585         * math/w_acos.c: Likewise.
82586         * math/w_acosf.c: Likewise.
82587         * math/w_acosh.c: Likewise.
82588         * math/w_acoshf.c: Likewise.
82589         * math/w_acoshl.c: Likewise.
82590         * math/w_acosl.c: Likewise.
82591         * math/w_asin.c: Likewise.
82592         * math/w_asinf.c: Likewise.
82593         * math/w_asinl.c: Likewise.
82594         * math/w_atan2.c: Likewise.
82595         * math/w_atan2f.c: Likewise.
82596         * math/w_atan2l.c: Likewise.
82597         * math/w_atanh.c: Likewise.
82598         * math/w_atanhf.c: Likewise.
82599         * math/w_atanhl.c: Likewise.
82600         * math/w_cosh.c: Likewise.
82601         * math/w_coshf.c: Likewise.
82602         * math/w_coshl.c: Likewise.
82603         * math/w_dremf.c: Likewise.
82604         * math/w_exp10.c: Likewise.
82605         * math/w_exp10f.c: Likewise.
82606         * math/w_exp10l.c: Likewise.
82607         * math/w_exp2.c: Likewise.
82608         * math/w_exp2f.c: Likewise.
82609         * math/w_fmod.c: Likewise.
82610         * math/w_fmodf.c: Likewise.
82611         * math/w_fmodl.c: Likewise.
82612         * math/w_hypot.c: Likewise.
82613         * math/w_hypotf.c: Likewise.
82614         * math/w_hypotl.c: Likewise.
82615         * math/w_j0.c: Likewise.
82616         * math/w_j0f.c: Likewise.
82617         * math/w_j0l.c: Likewise.
82618         * math/w_j1.c: Likewise.
82619         * math/w_j1f.c: Likewise.
82620         * math/w_j1l.c: Likewise.
82621         * math/w_jn.c: Likewise.
82622         * math/w_jnf.c: Likewise.
82623         * math/w_jnl.c: Likewise.
82624         * math/w_lgamma.c: Likewise.
82625         * math/w_lgamma_r.c: Likewise.
82626         * math/w_lgammaf.c: Likewise.
82627         * math/w_lgammaf_r.c: Likewise.
82628         * math/w_lgammal.c: Likewise.
82629         * math/w_lgammal_r.c: Likewise.
82630         * math/w_log.c: Likewise.
82631         * math/w_log10.c: Likewise.
82632         * math/w_log10f.c: Likewise.
82633         * math/w_log10l.c: Likewise.
82634         * math/w_log2.c: Likewise.
82635         * math/w_log2f.c: Likewise.
82636         * math/w_log2l.c: Likewise.
82637         * math/w_logf.c: Likewise.
82638         * math/w_logl.c: Likewise.
82639         * math/w_pow.c: Likewise.
82640         * math/w_powf.c: Likewise.
82641         * math/w_powl.c: Likewise.
82642         * math/w_remainder.c: Likewise.
82643         * math/w_remainderf.c: Likewise.
82644         * math/w_remainderl.c: Likewise.
82645         * math/w_scalb.c: Likewise.
82646         * math/w_scalbf.c: Likewise.
82647         * math/w_scalbl.c: Likewise.
82648         * math/w_sinh.c: Likewise.
82649         * math/w_sinhf.c: Likewise.
82650         * math/w_sinhl.c: Likewise.
82651         * math/w_sqrt.c: Likewise.
82652         * math/w_sqrtf.c: Likewise.
82653         * math/w_sqrtl.c: Likewise.
82654         * math/w_tgamma.c: Likewise.
82655         * math/w_tgammaf.c: Likewise.
82656         * math/w_tgammal.c: Likewise.
82658         * po/ja.po: Update from translation team.
82660 2011-09-29  Andreas Jaeger  <aj@suse.de>
82662         [BZ #13179]
82663         * sunrpc/netname.c (netname2host): Fix logic.
82665         [BZ #6779]
82666         [BZ #6783]
82667         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
82668         correctly.
82669         * math/w_remainder.c (__remainder): Likewise.
82670         * math/w_remainderf.c (__remainderf): Likewise.
82671         * math/libm-test.inc (remainder_test): Add test cases.
82673 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82675         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
82676         sdiv_qrnnd.
82678 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82680         * string/test-memcmp.c: Avoid unncessary #defines.
82681         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82683 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82685         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
82686         Use new sse2 version for core i3 - i7 as it's faster
82687         than sse42 version.
82688         (bit_Prefer_PMINUB_for_stringop): New.
82689         * sysdeps/x86_64/rawmemchr.S: Update.
82690         Replace with faster SSE2 version.
82691         * sysdeps/x86_64/memrchr.S: New file.
82692         * sysdeps/x86_64/memchr.S: Update.
82693         Replace with faster SSE2 version.
82695 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
82697         * elf/dl-load.c (lose): Add cast to avoid warning.
82699 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82701         * po/ca.po: Update from translation team.
82703         * inet/getnetgrent_r.c: Hook up nscd.
82704         * nscd/Makefile (routines): Add nscd_netgroup.
82705         (nscd-modules): Add netgroupcache.
82706         (CFLAGS-netgroupcache.c): Define.
82707         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
82708         (cache_search): Add const to second parameter.
82709         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
82710         INNETGR.
82711         (dbs): Add netgrdb entry.
82712         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
82713         (verify_persistent_db): Handle netgrdb.
82714         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
82715         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
82716         GETFDNETGR.
82717         (netgroup_response_header): Define.
82718         (innetgroup_response_header): Define.
82719         (datahead): Add netgroup_response_header and innetgroup_response_header
82720         elements.
82721         * nscd/nscd.conf: Add entries for netgroup cache.
82722         * nscd/nscd.h (dbtype): Add netgrdb.
82723         (_PATH_NSCD_NETGROUP_DB): Define.
82724         (netgroup_iov_disabled): Declare.
82725         (xmalloc, xcalloc, xrealloc): Move declarations here.
82726         (cache_search): Adjust prototype.
82727         Add netgroup-related prototypes.
82728         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
82729         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
82730         (__nscd_innetgr): Declare.
82731         * nscd/selinux.c (perms): Use access_vector_t as element type and
82732         add netgroup-related initializers.
82733         * nscd/netgroupcache.c: New file.
82734         * nscd/nscd_netgroup.c: New file.
82735         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
82736         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
82737         For four parameters use innetgr.
82738         * nss/nss_files/files-init.c: Add definition and callback for netgr.
82739         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
82740         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
82741         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
82743         * nscd/connections.c (register_traced_file): Don't register file
82744         for disabled databases.
82746 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
82748         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
82750         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
82751         from tree and freeing node.
82753 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
82755         * nss/nsswitch.c (__nss_database_lookup): Handle
82756         nss_parse_service_list out of memory case.
82758 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
82760         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
82761         out of memory case.
82763 2011-10-04  Andreas Schwab  <schwab@redhat.com>
82765         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
82766         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
82767         pass it down.
82768         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
82769         elf_machine_rela, elf_machine_lazy_rel.
82770         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
82771         (ELF_DYNAMIC_DO_REL): Likewise.
82772         (ELF_DYNAMIC_DO_RELA): Likewise.
82773         (ELF_DYNAMIC_RELOCATE): Likewise.
82774         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
82775         to ELF_DYNAMIC_DO_REL.
82776         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
82777         (dl_main): In trace mode always set __RTLD_NOIFUNC.
82778         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
82779         elf_machine_rela.
82780         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
82781         skip_ifunc, don't call ifunc function if non-zero.
82782         (elf_machine_rela): Likewise.
82783         (elf_machine_lazy_rel): Likewise.
82784         (elf_machine_lazy_rela): Likewise.
82785         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
82786         (elf_machine_lazy_rel): Likewise.
82787         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
82788         Likewise.
82789         (elf_machine_lazy_rel): Likewise.
82790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82791         Likewise.
82792         (elf_machine_lazy_rel): Likewise.
82793         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
82794         (elf_machine_lazy_rel): Likewise.
82795         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
82796         (elf_machine_lazy_rel): Likewise.
82797         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
82798         (elf_machine_lazy_rel): Likewise.
82799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
82800         (elf_machine_lazy_rel): Likewise.
82801         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
82802         (elf_machine_lazy_rel): Likewise.
82803         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
82804         (elf_machine_lazy_rel): Likewise.
82806 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
82808         * nss/nss_files/files-init.c (_nss_files_init): Use static
82809         initialization for all the *_traced_file variables.
82811 2011-09-28  Andreas Schwab  <schwab@redhat.com>
82813         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82815 2011-09-27  Roland McGrath  <roland@hack.frob.com>
82817         [BZ #13226]
82818         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
82820 2011-09-27  Andreas Schwab  <schwab@redhat.com>
82822         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82823         Reread the line before reparsing it.
82825 2011-09-26  Andreas Schwab  <schwab@redhat.com>
82827         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
82829 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
82830             Maxim Kuvyrkov  <maxim@codesourcery.com>
82831             Joseph Myers  <joseph@codesourcery.com>
82833         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
82834         if needed for __stack_chk_guard.
82836 2011-09-19  Roland McGrath  <roland@hack.frob.com>
82838         * sysdeps/posix/spawni.c (script_execute): Always define it.
82839         It will be optimized away if unused.
82840         (maybe_script_execute): New function.
82841         (__spawni): Call it.
82843         * Makerules: Don't include tls.make.
82844         (config-tls): Always set to thread.
82845         * tls.make.c: File removed.
82847 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
82849         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
82850         * config.make.in (CPPFLAGS-config): New substituted variable.
82852 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
82856         [BZ #13192]
82857         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
82858         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
82860 2011-09-15  Roland McGrath  <roland@hack.frob.com>
82862         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
82863         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
82864         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82865         (CALL_FAIL): Likewise.
82866         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
82867         (CALL_FAIL): Macro removed.
82868         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
82870 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82872         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
82873         for __FINITE_MATH_ONLY__ == 1.
82875 2011-09-15  Andreas Schwab  <schwab@redhat.com>
82877         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
82878         __ieee754_sqrt instead of sqrt.
82879         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
82880         __ieee754_sqrtf instead of sqrtf.
82881         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
82882         __floorf instead of floorf.
82883         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
82884         __floorf, __truncf instead of floorf, truncf.
82886 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
82888         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
82890         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
82891         __extern_always_inline.
82892         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
82893         32-bit.
82895 2011-09-14  Andreas Schwab  <schwab@redhat.com>
82897         * elf/rtld.c (dl_main): Also relocate in dependency order when
82898         doing symbol dependency testing.
82900 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
82902         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82903         Always define `refsym'.
82905 2011-09-13  Andreas Schwab  <schwab@redhat.com>
82907         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
82908         (__FD_ELT): Renamed from __FDELT.
82909         * misc/bits/select2.h (__FD_ELT): Likewise.
82910         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
82911         __FD_MASK instead of __FDELT, __FDMASK.
82912         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82913         Likewise.
82914         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
82915         Likewise.
82917         * elf/Makefile (gen-ldd): Fix pattern.
82919         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
82920         (init_tls): Likewise.
82922 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
82924         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
82926 2011-09-12  Andreas Schwab  <schwab@redhat.com>
82928         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
82929         `struct cmsghdr *' instead of `void *'.
82930         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
82931         Likewise.
82933 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
82935         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
82936         if non-absolute.
82937         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
82938         ldd_rewrite_script.
82940 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
82942         * configure.in: Remove --with-tls option.
82943         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
82944         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
82945         out in case it is missing.
82946         * sysdeps/ia64/elf/configure.in: Likewise.
82947         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
82948         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
82949         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
82950         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
82951         * sysdeps/sh/elf/configure.in: Likewise.
82952         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
82953         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82954         * sysdeps/x86_64/elf/configure.in: Likewise.
82955         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
82956         * sysdeps/mach/hurd/tls.h: Likewise.
82958         [BZ #13067]
82959         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
82961         [BZ #13090]
82962         * configure.in: Fix use of AC_INIT.
82964         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
82966 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
82968         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
82969         __set_errno.
82970         * malloc/hooks.c: Likewise.
82972         [BZ #11929]
82973         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
82974         variables statically.
82975         (narenas): Initialize.
82976         (list_lock): Initialize.
82977         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
82978         initializtion of main_arena and list_lock.  Small cleanups.
82979         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
82980         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
82981         Add initializers to main_arena and mp_.
82982         (malloc_state): Remove pagesize member.  Change all users to use
82983         GLRO(dl_pagesize).
82985         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
82986         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
82987         is always initialized.
82989         * malloc/malloc.c: Removed unused configurations and dead code.
82990         * malloc/arena.c: Likewise.
82991         * malloc/hooks.c: Likewise.
82992         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
82994         * include/tls.h: Removed.  USE___THREAD must always be defined.
82995         * bits/libc-tsd.h: Don't handle !USE___THREAD.
82996         * elf/dl-libc.c: Likewise.
82997         * elf/dl-tsd.c: Likewise.
82998         * include/errno.h: Likewise.
82999         * include/netdb.h: Likewise.
83000         * include/resolv.h: Likewise.
83001         * inet/herrno-loc.c: Likewise.
83002         * inet/herrno.c: Likewise.
83003         * malloc/arena.c: Likewise.
83004         * malloc/hooks.c: Likewise.
83005         * malloc/malloc.c: Likewise.
83006         * resolv/res-state.c: Likewise.
83007         * resolv/res_libc.c: Likewise.
83008         * sysdeps/i386/dl-machine.h: Likewise.
83009         * sysdeps/ia64/dl-machine.h: Likewise.
83010         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83011         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83012         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83013         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83014         * sysdeps/sh/dl-machine.h: Likewise.
83015         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83016         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83017         * sysdeps/unix/i386/sysdep.S: Likewise.
83018         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83019         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83021         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83022         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83024         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83025         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83028         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83029         * sysdeps/x86_64/dl-machine.h: Likewise.
83030         * tls.make.c: Likewise.
83032         * configure.in: Remove --with-__thread option.  Make tests for
83033         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83034         tls_model attribute fail if no support is available.  Remove
83035         USE_IN_LIBIO.
83036         * Makeconfig: Adjust for dropped configure option.  All features are
83037         now mandatory.
83038         * Makerules: Likewise.
83039         * Versions.def: Likewise.
83040         * argp/argp-fmtstream.c: Likewise.
83041         * argp/argp-fmtstream.h: Likewise.
83042         * argp/argp-help.c: Likewise.
83043         * assert/assert.c: Likewise.
83044         * config.h.in: Likewise.
83045         * config.make.in: Likewise.
83046         * configure: Likewise.
83047         * configure.in: Likewise.
83048         * csu/Versions: Likewise.
83049         * csu/init.c: Likewise.
83050         * elf/tst-audit2.c: Likewise.
83051         * elf/tst-tls10.c: Likewise.
83052         * elf/tst-tls10.h: Likewise.
83053         * elf/tst-tls11.c: Likewise.
83054         * elf/tst-tls12.c: Likewise.
83055         * elf/tst-tls14.c: Likewise.
83056         * elf/tst-tlsmod11.c: Likewise.
83057         * elf/tst-tlsmod12.c: Likewise.
83058         * elf/tst-tlsmod13.c: Likewise.
83059         * elf/tst-tlsmod13a.c: Likewise.
83060         * elf/tst-tlsmod14a.c: Likewise.
83061         * elf/tst-tlsmod15b.c: Likewise.
83062         * elf/tst-tlsmod16a.c: Likewise.
83063         * elf/tst-tlsmod16b.c: Likewise.
83064         * elf/tst-tlsmod7.c: Likewise.
83065         * elf/tst-tlsmod8.c: Likewise.
83066         * elf/tst-tlsmod9.c: Likewise.
83067         * gmon/gmon.c: Likewise.
83068         * grp/fgetgrent_r.c: Likewise.
83069         * grp/putgrent.c: Likewise.
83070         * hurd/fopenport.c: Likewise.
83071         * include/libc-symbols.h: Likewise.
83072         * include/tls.h: Likewise.
83073         * intl/gettextP.h: Likewise.
83074         * intl/loadinfo.h: Likewise.
83075         * locale/global-locale.c: Likewise.
83076         * locale/localeinfo.h: Likewise.
83077         * mach/devstream.c: Likewise.
83078         * malloc/arena.c: Likewise.
83079         * malloc/set-freeres.c: Likewise.
83080         * misc/err.c: Likewise.
83081         * misc/getttyent.c: Likewise.
83082         * misc/mntent_r.c: Likewise.
83083         * posix/getopt.c: Likewise.
83084         * posix/wordexp.c: Likewise.
83085         * pwd/fgetpwent_r.c: Likewise.
83086         * resolv/Versions: Likewise.
83087         * resolv/res_hconf.c: Likewise.
83088         * shadow/fgetspent_r.c: Likewise.
83089         * shadow/putspent.c: Likewise.
83090         * stdio-common/printf_fphex.c: Likewise.
83091         * stdio-common/tmpfile.c: Likewise.
83092         * stdlib/abort.c: Likewise.
83093         * stdlib/fmtmsg.c: Likewise.
83094         * sunrpc/auth_unix.c: Likewise.
83095         * sunrpc/clnt_perr.c: Likewise.
83096         * sunrpc/clnt_tcp.c: Likewise.
83097         * sunrpc/clnt_udp.c: Likewise.
83098         * sunrpc/clnt_unix.c: Likewise.
83099         * sunrpc/openchild.c: Likewise.
83100         * sunrpc/svc_simple.c: Likewise.
83101         * sunrpc/svc_tcp.c: Likewise.
83102         * sunrpc/svc_udp.c: Likewise.
83103         * sunrpc/svc_unix.c: Likewise.
83104         * sunrpc/xdr.c: Likewise.
83105         * sunrpc/xdr_array.c: Likewise.
83106         * sunrpc/xdr_rec.c: Likewise.
83107         * sunrpc/xdr_ref.c: Likewise.
83108         * sunrpc/xdr_stdio.c: Likewise.
83110 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83112         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83114 2011-07-03  Andreas Jaeger  <aj@suse.de>
83116         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83117         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83118         regenerate with gen-libm-tests.pl.
83120 2010-05-12  Petr Baudis  <pasky@suse.cz>
83122         [BZ #11589]
83123         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83124         around j0() zero points by switching to j1().
83125         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83126         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83127         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83128         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83130 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83132         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83133         instead of 0.
83134         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83135         instead of 0.
83136         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83137         Patch in part by Pavel Roskin <proski@gnu.org>.
83139         [BZ #13138]
83140         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83141         realloc.
83142         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83143         Free memory block if necessary.
83145         [BZ #12847]
83146         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83147         be NULL.  Don't lock in this case.
83149 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83151         * elf/elf.h (ELFOSABI_GNU): New macro.
83152         (ELFOSABI_LINUX): Define to that.
83154 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83156         * string/strncat.c (strncat): Undef the symbol in case it has been
83157         defined in bits/string.h.
83159 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83161         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83163         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83164         link map.
83166 2011-08-17  Andreas Jaeger  <aj@suse.de>
83168         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83170 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83171             Ian Lance Taylor  <iant@google.com>
83173         * math/libm-test.inc (lround_test): New testcase.
83174         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83176 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83178         * Makefile: Remove support for automatic cvs check-ins.
83179         * Makerules: Likewise.
83180         * config.make.in: Likewise.
83181         * configure.in: Likewise.
83182         * intl/Makefile: Likewise.
83183         * locale/Makefile: Likewise.
83184         * po/Makefile: Likewise.
83185         * posix/Makefile: Likewise.
83186         * sysdeps/gnu/Makefile: Likewise.
83187         * sysdeps/mach/hurd/Makefile: Likewise.
83188         * sysdeps/sparc/sparc32/Makefile: Likewise.
83190         [BZ #13118]
83191         * posix/Makefile (bug-regex32-ENV): Define.
83192         Patch by John Stanley <jpsinthemix@verizon.net>.
83194         * misc/Makefile (headers): Add bits/select2.h.
83195         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83196         * misc/bits/select2.h: New file.
83197         * include/bits/select2.h: New file.
83198         * debug/Makefile (routines): Add fdelt_chk.
83199         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83200         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83201         FD_ISSET.
83202         * debug/fdelt_chk.c: New file.
83204         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83205         * wcsmbs/test-wmemcmp.c: Likewise.
83206         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83207         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83209 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83211         * string/Makefile (strop-tests): Add memcmp.
83212         * string/test-wmemcmp.c: New file.
83213         * string/test-memcmp.c: Add wmemcmp support.
83215 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83217         [BZ #13153]
83218         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83219         2011-07-19 change.
83221         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83222         garbage value in a __mach_port_mod_refs call in the cases of the
83223         task-self and thread-self ports.
83225 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83227         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83229 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83231         * elf/dl-load.c (lose): Check for non-null L.
83233 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83235         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83237         * elf/dl-libc.c (dlerror_run): Pass back error code from
83238         dl_catch_error.
83240         [BZ #13123]
83241         * elf/dl-load.c (lose): Free l_origin if it is valid.
83243         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83244         names.
83245         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83246         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83247         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83248         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83249         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83250         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83252 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83254         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83255         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83256         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83257         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83258         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83259         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83260         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83261         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83262         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83263         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83265 2011-08-15  Alan Modra  <amodra@gmail.com>
83267         [BZ #13092]
83268         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83269         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83270         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83271         ppc_mcount to static-only-routines.
83272         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83273         __mcount_internal.
83274         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83275         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83277 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83279         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83280         for finite and infinity parameters.
83282 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83285         and add nop instructions for throughput optimization.
83286         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83288 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83290         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83291         aligned copy for power7 with vector-scalar instructions.
83292         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83294 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83296         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83297         AVX check.
83299 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83301         [BZ #13144]
83302         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83303         last change.
83305 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83307         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83308         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83309         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83310         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83311         clock_gettime.
83313 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83315         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83316         Forgot to demangle the pointer.
83318         * sysdeps/i386/sysdep.h: Define atom_text_section.
83319         * sysdeps/x86_64/sysdep.h: Likewise.
83320         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83321         section with atom_text_section.
83322         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83323         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83324         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83325         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83326         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83328         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83329         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83330         already be defined.  Change to take two parameters and don't assign
83331         result to variable.  Adjust all users.
83332         Define INTERNAL_GETTIME if not already defined.
83333         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83334         call.
83335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83336         HAVE_CLOCK_GETTIME_VSYSCALL.
83337         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83340         gettimeofday vsyscall, just use time.
83342 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83344         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83345         <errno.h>.
83347 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83349         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83350         syscall on x86-64.
83351         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83352         syscall.
83353         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83354         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83355         syscall if possible.
83357 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83359         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83360         e_ident.  Don't pass to find_mapsXX.
83361         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83363 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83366         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83367         * sysdeps/x86_64/multiarch/strchr.S: Update.
83368         Check bit_slow_BSF bit.
83369         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83370         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83371         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83373 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83375         [BZ #13134]
83376         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83377         before glibc 2.15.
83378         (tryshell): Define.
83379         (__spawni): Change last parameter to be flag.  Test
83380         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83381         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83382         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83383         * posix/spawni.c: Likewise.
83384         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83385         * posix/spawnp.c: Likewise.  Change normal version to use
83386         SPAWN_XFLAGS_USE_PATH.
83387         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83388         SPAWN_XFLAGS_TRY_SHELL.
83390         [BZ #13150]
83391         * posix/glob.h: Remove gcc 1.x support.
83393         [BZ #13068]
83394         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83396 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83399         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83400         strrchr-sse2-bsf
83401         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83402         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83403         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83404         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83405         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83406         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83408 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83410         * sysdeps/x86_64/wcscmp.S: New file.
83412         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83413         wcscmp-c wcscmp-sse2
83414         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83415         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83416         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83417         * wcsmbs/wcscmp.c: Allow renaming.
83419 2011-09-05  David S. Miller  <davem@davemloft.net>
83421         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83422         stack slot, rather than the struct return pointer slot.
83423         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83424         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83426         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83428 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83430         * po/ja.po: Update from translation team.
83432         [BZ #13144]
83433         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83434         kernel in 64-bit binaries.
83436 2011-09-01  David S. Miller  <davem@davemloft.net>
83438         * elf/elf.h (HWCAP_SPARC_*): Move to..
83439         * sysdeps/sparc/sysdep.h: this new file and add new values.
83440         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83441         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83442         _DL_HWCAP_COUNT to 24.
83443         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83444         entries.
83445         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83446         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83447         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83448         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83449         instead of magic constants.
83450         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83452 2011-08-31  David S. Miller  <davem@davemloft.net>
83454         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83456         Reimplement to do errno handling inline.
83457         (SYSCALL_ERROR_HANDLER): New macro.
83458         (__SYSCALL_STRING): Do not do errno handling in asm.
83459         (__CLONE_SYSCALL_STRING): Delete.
83460         (__INTERNAL_SYSCALL_STRING): Delete.
83461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83462         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83463         (PSEUDO): Reimplement to do errno handling inline.
83464         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83465         (SYSCALL_ERROR_HANDLER): New macro.
83466         (__SYSCALL_STRING): Do not do errno handling in asm.
83467         (__CLONE_SYSCALL_STRING): Delete.
83468         (__INTERNAL_SYSCALL_STRING): Delete.
83469         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83470         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83471         i386.
83472         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83473         (inline_syscall*): Add 'err' argument.
83474         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83475         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83476         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83477         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83479         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83480         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83482 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83484         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83486 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83488         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83489         directive.
83491 2011-08-24  David S. Miller  <davem@davemloft.net>
83493         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83495 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83497         * elf/Makefile: Add rules to build and run unload8 test.
83498         * elf/unload8.c: New file.
83499         * elf/unload8mod1.c: New file.
83500         * elf/unload8mod1x.c: New file.
83501         * elf/unload8mod2.c: New file.
83502         * elf/unload8mod3.c: New file.
83504         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83505         it wasn't used.
83507 2011-08-23  David S. Miller  <davem@davemloft.net>
83509         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83510         subtract stack bias.
83511         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83512         %sp not %fp in calculations.
83513         (_JMPBUF_UNWINDS_ADJ): Likewise.
83515         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83516         (aio_suspend): Call it to force an exception region around the
83517         AIO_MISC_WAIT() invocation.
83519 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83521         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83522         backslash.
83524 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83526         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83527         protection macro.
83528         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83529         and <dl-machine.h>.
83530         (Elf64_FuncDesc): Remove.
83532 2011-08-22  David S. Miller  <davem@davemloft.net>
83534         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83535         sigaltstack check, add missing cfi directives.
83536         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83537         missing cfi directives, and sigaltstack handling.
83539 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83541         [BZ #11724]
83542         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83543         object is seen twice.
83544         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83546         * elf/Makefile (distribute): Add tst-initorder2.c.
83547         (tests): Add tst-initorder2.
83548         (modules-names): Add tst-initorder2a tst-initorder2b
83549         tst-initorder2c tst-initorder2d.  Add rules to build them.
83550         ($(objpfx)tst-initorder2.out): New rule.
83551         * elf/tst-initorder2.c: New file.
83552         * elf/tst-initorder2.exp: New file.
83554 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83556         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83558         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83559         dependencies back to end of function.
83561         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83562         $(elfobjdir)/ld.so.
83564 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83566         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83567         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83569         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83570         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83571         of __vdso_gettimeofday.
83572         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83573         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83574         attribute_hidden.
83575         (_libc_vdso_platform_setup): Remove initialization of
83576         __vdso_gettimeofday and __vdso_time.
83578 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83580         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83581         and fgetc_unlocked.
83582         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83583         getc_unlocked.
83585         * elf/dl-open.c (add_to_global): Report additions to the global scope
83586         for LD_DEBUG=scopes.
83587         (dl_open_worker): Also print scope of newly loaded dependencies.
83588         (_dl_show_scope): Indicate if there is no scope.
83590         [BZ #13114]
83591         * stdio-common/Makefile (tests): Add bug24.
83592         * stdio-common/bug24.c: New file.
83594 2011-08-19  Andreas Jaeger  <aj@suse.de>
83596         [BZ #13114]
83597         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83598         non-existant file when using close-on-exec mode.
83600 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83603         the very first instruction.
83605         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83606         the CFI state in the end.
83607         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83608         inclusion of dl-trampoline.h.
83609         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83611 2011-08-19  Andreas Schwab  <schwab@redhat.com>
83613         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83614         expectations for long double.
83616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83617         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83619 2011-08-14  David S. Miller  <davem@davemloft.net>
83621         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83622         artificual limit depends upon the system page size.
83624 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83626         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83627         * resolv/Makefile: Define CFLAGS-libresolv.
83629 2011-08-17  Andreas Schwab  <schwab@redhat.com>
83631         * nss/makedb.c (compute_tables): Make variables used in nested
83632         function static.
83634 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83636         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83637         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
83638         if buffer was too small.
83640         * elf/pldd.c (main): Attach to all threads in the process.
83641         Rewrite /proc handling to use *at functions.
83643 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
83645         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
83646         specifies first scope to show.
83647         (dl_open_worker): Update callers.  Move printing scope of new
83648         object to before the relocation.
83649         * elf/rtld.c (dl_main): Update _dl_show_scope call.
83650         * sysdeps/generic/ldsodefs.h: Update declaration.
83652         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
83653         string for the scope number.
83655 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
83657         * nscd/servicescache.c (cache_addserv): Make sure written is always
83658         initialized.
83660 2011-08-14  Roland McGrath  <roland@hack.frob.com>
83662         * sysdeps/i386/i486/bits/atomic.h
83663         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
83664         statement expression, so as to suppress "set but not used" warning.
83665         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
83667         * string/strncat.c (STRNCAT): Use prototype definition.
83669         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
83670         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
83671         -Iprograms here.
83672         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
83673         (localedef-modules): Add localedef.
83674         (locale-modules): Add locale.
83676         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
83677         * elf/rtld.c (dl_main): Invert order of assignment in last change,
83678         to avoid a warning.
83680 2011-08-14  David S. Miller  <davem@davemloft.net>
83682         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
83683         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
83685 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
83687         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
83688         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
83689         * elf/rtld.c (dl_main): Set l_name of vDSO.
83690         Call _dl_show_scope when DL_DEBUG_SCOPES.
83691         (process_dl_debug): Recognize scopes flag and also set it for all.
83692         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
83693         Declare _dl_show_scope.
83695         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
83696         (do_dlopen): Pass caller_dlopen to dl_open.
83697         (__libc_dlopen_mode): Initialize caller_dlopen.
83699         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
83700         of libc.  Make tolower call locale-independent.  Optimize a bit by
83701         using isdigit instead of isalnum.
83702         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
83704 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
83706         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
83707         was a dependency or dynamically loaded.
83709 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
83711         * intl/l10nflist.c: Allow architecture-specific pop function.
83712         * sysdeps/x86_64/l10nflist.c: New file.
83714         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
83715         classification.
83717 2011-08-10  Andreas Schwab  <schwab@redhat.com>
83719         * include/dirent.h: Add libc_hidden_proto for scandirat and
83720         scandirat64.  Don't declare __scandirat64.
83721         * dirent/scandirat.c: Add libc_hidden_def.
83722         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
83723         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
83725 2011-08-10  David S. Miller  <davem@davemloft.net>
83727         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
83728         enum.
83729         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83731         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83733 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
83735         * Versions.def [libc]: Add GLIBC_2.15.
83736         * dirent/Makefile (routines): Add scandirat and scandirat64.
83737         * dirent/Versions [libc]: Export scandirat and scandirat64 for
83738         GLIBC_2.15.
83739         * dirent/dirent.h: Declare scandirat and scandirat64.
83740         * dirent/scandirat.c: New file.
83741         * dirent/scandirat64.c: New file.
83742         * sysdeps/wordsize-64/scandirat.c: New file.
83743         * sysdeps/wordsize-64/scandirat64.c: New file.
83744         * dirent/opendir.c: Define opendirat.
83745         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
83746         using scandirat.
83747         * dirent/scandir64.c: Adjust for scandir.c change.
83748         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
83749         __scandirat64, and __scandir_cancel_handler.
83750         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
83751         additional parameter and use openat instead of open (outside of ld.so).
83752         Add new __opendir as wrapper around __opendirat.
83753         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
83754         here without requiring old scandirat implementation.
83756 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
83758         * dirent/scandir.c (cancel_handler): Renamed to
83759         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
83760         defined.  Adjust users.
83761         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
83762         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
83764 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
83766         * string/test-string.h (IMPL): Use __STRING to expand name and then
83767         stringify it.
83769         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
83770         of cleanups.
83772 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83774         * string/Makefile: Update.
83775         (strop-tests): Append strncat.
83776         * string/test-wcscmp.c: New file.
83777         New comprehensive test for wcscmp.
83778         * string/test-strcmp.c: Update.
83779         (WIDE): New define.
83781 2011-07-22  Andreas Schwab  <schwab@redhat.com>
83783         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
83784         line.
83786 2011-07-26  Andreas Schwab  <schwab@redhat.com>
83788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83789         encoding to ACE if AI_IDN.
83791 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
83793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
83794         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
83796 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83798         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
83799         Fix overflow bug in strncat.
83800         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
83802         * string/test-strncat.c: Update.
83803         Add new tests for checking overflow bugs.
83805 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83808         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
83809         * sysdeps/i386/i686/multiarch/strcat.S: New file.
83810         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
83811         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
83812         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
83813         * sysdeps/i386/i686/multiarch/strncat.S: New file.
83814         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
83815         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
83817         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
83818         (USE_AS_STRCAT): Define.
83819         Add strcat and strncat support.
83820         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83822 2011-07-25  Andreas Schwab  <schwab@redhat.com>
83824         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
83825         __n bigger than INT_MAX+1.
83826         (__strncmp_g): Likewise.
83828 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
83830         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
83831         * libio/stido.h: Likewise.
83833         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
83834         (AF_NFC): Define.
83835         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
83836         (AF_NFC): Define.
83838         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
83839         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83840         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83841         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
83842         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83844         [BZ #13021]
83845         * scripts/test-installation.pl: Don't expect libnss_test1 to be
83846         installed.
83848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
83849         typo.
83850         (_dl_x86_64_save_sse): Likewise.
83852 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
83854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
83855         OSXSAVE.
83856         (_dl_x86_64_save_sse): Likewise.
83858         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
83860         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
83862 2011-07-21  Andreas Schwab  <schwab@redhat.com>
83864         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
83865         change.
83866         (_dl_x86_64_save_sse): Use correct AVX check.
83868 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83870         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
83871         bug in strncpy/strncat.
83872         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
83874 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
83876         * string/tester.c (test_strcat): Add tests for different alignments
83877         of source and destination.
83878         (test_strncat): Likewise.
83880 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
83882         [BZ #12852]
83883         * posix/glob.c (glob): Check passed in values before using them in
83884         expressions to avoid some overflows.
83885         (glob_in_dir): Likewise.
83887         [BZ #13007]
83888         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
83889         check for AVX enablement so that we don't crash with old kernels and
83890         new hardware.
83891         * elf/tst-audit4.c: Add same checks here.
83892         * elf/tst-audit6.c: Likewise.
83894         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
83896 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
83898         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
83900 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
83902         * po/cs.po: Update from translation team.
83903         * po/bg.po: Likewise.
83905 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
83907         * misc/sys/cdefs.h: Add support for const attribute.
83908         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
83909         to gnu_dev_{major,minor,makedev} functions.
83911 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
83913         * intl/dcigettext.c (get_output_charset): Add missing bracket.
83915 2011-07-20  Andreas Schwab  <schwab@redhat.com>
83917         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
83918         strlen results.
83920 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83922         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
83923         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
83924         register in order to avoid conflicts with the soft frame pointer
83925         being held in r11 when necessary.
83926         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
83927         (INTERNAL_VSYSCALL_NCS): Likewise.
83929 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
83931         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
83932         * elf/dl-fini.c (_dl_fini): Adjust caller.
83933         * elf/dl-close.c (_dl_close_worker): Likewise.
83934         * sysdeps/generic/ldsodefs.h: Adjust declaration.
83936 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
83938         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
83939         "aux_cache->nlibs < 0".
83941         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
83942         in the reload-count case.
83944 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83947         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
83948         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
83949         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
83950         * sysdeps/x86_64/multiarch/strcat.S: New file.
83951         * sysdeps/x86_64/multiarch/strncat.S: New file.
83952         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
83953         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
83954         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
83955         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
83956         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
83957         (USE_AS_STRCAT): Define.
83958         Add strcat and strncat support.
83959         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83960         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
83961         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
83962         * string/strncat.c: Update.
83963         (USE_AS_STRNCAT): Define.
83964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83965         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
83966         and i7.
83967         * sysdeps/x86_64/multiarch/init-arch.h
83968         (bit_Prefer_PMINUB_for_stringop): New.
83969         (index_Prefer_PMINUB_for_stringop): Likewise.
83970         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
83971         bit_Prefer_PMINUB_for_stringop.
83973 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
83975         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
83976         buffer64.
83977         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
83978         of casting of buffer.
83979         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
83980         buffer32 and buffer64.
83981         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
83982         writes instead of casting of buffer.
83983         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
83984         buffer32.
83985         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
83986         casting of buffer.
83988 2011-07-19  Andreas Schwab  <schwab@redhat.com>
83990         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
83992 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
83994         * nscd/nscd.c (termination_handler): Don't do anything for a database
83995         if it has not yet been initialized.
83997 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
83999         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84001 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84003         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84005 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84007         * po/nl.po: Update from translation team.
84008         * po/sv.po: Likewise.
84010 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84012         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84013         now disallowed by GCC.
84015         * configure.in (use-default-link): Default to yes if a test -shared
84016         link meets our qualifications.
84017         * configure: Regenerated.
84019         * config.make.in (output-format): New variable.
84020         * configure.in: Check for ld --print-output-format support.
84021         * configure: Regenerated.
84022         * Makerules ($(common-objpfx)format.lds)
84023         [$(output-format) != unknown]: Just use $(output-format),
84024         instead of the linker-script munging.
84026 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84028         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84029         of $(common-objpfx)shlib.lds.
84030         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84032         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84033         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84035         * configure.in (-z relro check): Adjust test code to add a large
84036         writable data section after it.
84037         * configure: Regenerated.
84039 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84041         * configure.in (-z relro check): Fix test code to make the variable
84042         truly const.
84043         * configure: Regenerated.
84045 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84047         * nscd/nscd.h (struct traced_file): Define.
84048         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84049         elements.  Add traced_files.
84050         (inotify_fd): Declare.
84051         (register_traced_file): Declare.
84052         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84053         (inotify_fd): Export.
84054         (resolv_conf_descr): Remove.
84055         (nscd_init): Move inotify descriptor creation to main.
84056         Don't register files for notification here.
84057         (register_traced_file): New function.
84058         (invalidate_cache): Don't use reset_res to determine whether to call
84059         res_init, go through the list of registered files.
84060         (main_loop_poll): The inotify descriptors are now stored in the
84061         structures for the traced files.
84062         (main_loop_epoll): Likewise.
84063         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84064         to __nss_disable_nscd.
84065         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84066         for a database anymore.  Check the records for all the registered
84067         files instead.
84068         * nss/Makefile (libnss_files-routines): Add files-init.
84069         (libnss_db-routines): Add db-init.
84070         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84071         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84072         * nss/nss_db/db-init.c: New file.
84073         * nss/nss_files/files-init.c: New file.
84074         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84075         __nss_lookup_function.
84076         (__nss_lookup_function): Call nss_load_library.
84077         (nss_load_all_libraries): New function.
84078         (__nss_disable_nscd): Take parameter with callback function for files
84079         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84080         used for the cached services.
84081         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84082         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84083         options for features to all the files in nscd.
84085         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84087 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84089         * csu/elf-init.c (__libc_csu_init): Comment typo.
84091 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84093         * po/pl.po: Update from translation team.
84094         * po/ja.po: Likewise.
84095         * po/ru.po: Likewise.
84096         * po/ko.po: Likewise.
84097         * po/fr.po: Likewise.
84099 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84101         * configure.in (.ctors/.dtors header and trailer check):
84102         Use an empirical test on a built program.
84103         * configure: Regenerated.
84105         * configure.in (-z relro check): Use an empirical test on a built DSO.
84106         Detect, but do not require, on ia64.
84107         * configure: Regenerated.
84109         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84110         Update tests that use readelf to use $READELF instead.
84111         * configure: Regenerated.
84113 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84115         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84116         if the result is not used.
84118 2011-07-05  Andreas Jaeger  <aj@suse.de>
84120         [BZ#9696]
84121         * stdlib/tst-strtod.c: Add testcase.
84123 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84125         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84126         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84127         The latter has a higher limit.  Take additional parameter to pass to
84128         the new function.
84129         (__pathconf): Pass file to __statfs_link_max.
84130         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84131         __statfs_link_max.
84132         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84133         __statfs_link_max.
84135         [BZ #12868]
84136         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84137         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84138         Handle Lustre.
84139         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84140         (__statfs_filesize_max): Likewise.
84141         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84143 2011-07-05  Andreas Jaeger  <aj@suse.de>
84145         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84147 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84149         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84150         `status' variable.
84151         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84152         Likewise.
84154 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84156         * Makefile (strop-tests): Add strncat.
84157         * string/test-strncat.c: New file.
84159 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84161         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84163 2011-06-21  Andreas Jaeger  <aj@suse.de>
84165         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84166         Copy rule from iconvdata/Makefile.
84168 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84170         [BZ #12922]
84171         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84172         but no long options are defined, just return 'W'.
84174 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84176         [BZ #9696]
84177         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84179 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84181         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84182         netgroups to read.
84183         (innetgr): Likewise.
84185 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84187         * config.make.in (install_root): Default to $(DESTDIR).
84189 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84191         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84193 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84195         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84197         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84198         containing directory rather than embedding absolute directory names.
84200         * scripts/check-local-headers.sh: Rewritten using awk.
84201         Match by word, not by line.  Print error messages for matches.
84202         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84204         * Makerules [shlib-lds-flags empty]:
84205         ($(common-objpfx)libc_pic.opts): New target.
84206         ($(common-objpfx)libc_pic.os.clean): New target.
84207         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84209         * config.make.in (OBJCOPY): New variable.
84210         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84211         * configure: Regenerated.
84213         * config.make.in (use-default-link): New variable.
84214         * configure.in (use_default_link): Grok --with-default-link to set it.
84215         * configure: Regenerated.
84216         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84217         (shlib-lds, shlib-lds-flags): Define to empty.
84219         * Makerules (shlib-lds): New variable.
84220         (shlib-lds-flags): New variable.
84221         (build-shlib, build-moduile, build-module-asneeded): Use it.
84222         ($(common-objpfx)libc.so): Use $(shlib-lds).
84223         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84224         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84226         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84227         DT_FLAGS/DT_FLAGS_1 with zero flags.
84229         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84230         linker script munging.
84232 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84234         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84235         as 128-bit value.
84236         * crypt/sha512.c (sha512_process_block): Perform total addition using
84237         128-bit if possible.
84238         (__sha512_finish_ctx): Likewise.
84239         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84240         as 64-bit value.
84241         * crypt/sha256.c (SWAP64): Define.
84242         (sha256_process_block): Perform total addition using 64-bit if
84243         possible.
84244         (__sha256_finish_ctx): Likewise.
84246 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84248         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84249         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84250         * nscd/hstcache.c (cache_addhst): Likewise.
84251         * nscd/grpcache.c (cache_addgr): Likewise.
84252         * nscd/aicache.c (addhstaiX): Likewise.
84253         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84255 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84257         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84258         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84259         * nscd/hstcache.c (cache_addhst): Likewise.
84260         * nscd/grpcache.c (cache_addgr): Likewise.
84261         * nscd/aicache.c (addhstaiX): Likewise.
84263 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84265         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84266         domain only when needed.
84268 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84270         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84271         is always restored.
84273 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84275         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84276         are re-adding the entry.
84277         * nscd/servicescache.c (cache_addserv): Likewise.
84279 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84281         * sysdeps/generic/dl-irel.h: fix protection against multiple
84282         inclusions.
84283         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84285 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84287         [BZ #12935]
84288         * malloc/memusage.sh: Fix quoting in message.
84289         * debug/xtrace.sh: Likewise.
84291         * configure.in: Remove support for --experimental-malloc option, make
84292         it the default.
84293         * config.make.in: Likewise.
84294         * malloc/Makefile: Likewise.
84296 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84298         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84299         two-byte characters.
84301 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84303         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84304         AC_CACHE_CHECK invocation.
84305         * configure: Regenerated.
84307         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84309 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84311         [BZ #12350]
84312         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84313         bit from old_res_options.
84315         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84317         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84318         value type for setfct.
84320 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84322         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84323         __gettimeofday instead of gettimeofday.
84325 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84327         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84329 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84331         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84333         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84334         info.
84336 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84339         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84340         strcpy-sse2-unaligned strncpy-sse2-unaligned
84341         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84342         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84343         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84344         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84345         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84346         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84347         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84348         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84349         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84350         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84351         (STRCPY): Support SSE2 and SSSE3 versions.
84353 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84355         [BZ #12874]
84356         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84357         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84358         kernels which artificially limit size of requests.
84360 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84362         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84363         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84364         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84365         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84366         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84367         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84368         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84369         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84370         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84372         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84373         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84374         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84375         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84376         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84378         Enable unaligned load optimization for Intel Core i3, i5 and i7
84379         processors.
84380         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84381         Define.
84382         (index_Fast_Unaligned_Load): Define.
84383         (HAS_FAST_UNALIGNED_LOAD): Define.
84385 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84387         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84389 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84391         [BZ #12907]
84392         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84393         until it is clear that the information is realy needed.
84394         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84396 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84400 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84402         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84403         /sys/devices/system/cpu/online if it is usable.
84405         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84406         reading the information from the /proc filesystem to once a second.
84408 2011-06-21  Andreas Jaeger  <aj@suse.de>
84410         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84411         NULL after inclusion of kernel headers.
84413 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84415         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84416         calls to internal_setent.
84418         [BZ #12885]
84419         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84420         addresses using gethostbyname4_r ignore IPv4 addresses.
84422         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84423         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84425         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84427 2011-06-20  David S. Miller  <davem@davemloft.net>
84429         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84430         inclusions.
84431         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84433         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84434         (elf_irel): Use it.
84435         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84436         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84437         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84438         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84439         * sysdeps/x86_64/dl-irel.h: Likewise.
84441         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84442         * elf/dl-sym.c: Likewise.
84444 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84446         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84447         need to dereference resplen2.
84449 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84451         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84453 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84455         * Makeconfig: Define vardbdir and inst_vardbdir.
84456         * nss/Makefile: Add rules to install db-Makefile.
84458         * nss/nss_db/db-XXX.c: Cleanup.
84460         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84461         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84462         GLIBC_PRIVATE.
84463         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84464         * nss/makedb.c: Implement -g option to specify that value strings
84465         are generated and should not be added to table iterated over for
84466         get*ent calls.
84467         * nss/nss_db/db-initgroups.c: New file.
84469         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84470         interface.
84472         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84473         (internal_getgrouplist): Adjust to name change.
84474         Update use_initgroups_entry if this is not the first call.
84475         * nss/databases.def: Add initgroups entry.
84477         * nss/makedb.c (compute_tables): Check result of multiple hash table
84478         sizes to minimize maximum chain length.
84480 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84482         * Versions.def: Add entry for libnss_db.
84483         * shlib-versions: Likewise.
84484         * nss/Makefile: Add rules to build libnss_db.
84485         * nss/Versions: Add libnss_db information.  Organize libnss_files
84486         entries better.
84487         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84488         makedb progra.  Some minor improvements to generate smaller files.
84489         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84490         here from...
84491         * nss/makedb.c: ...here.
84492         Improve database format to be smaller and require less memory at
84493         runtime.
84494         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84495         db anymore.
84496         * nss/nss_db/db-netgrp.c: Likewise.
84497         * nss/nss_db/db-open.c: Likewise.
84498         * nss/nss_files/flies-XXX.x: Adjust comments.
84499         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84500         * nss/nss_files/files-grp.c: Likewise.
84501         * nss/nss_files/files-hosts.c: Likewise.
84502         * nss/nss_files/files-network.c: Likewise.
84503         * nss/nss_files/files-proto.c: Likewise.
84504         * nss/nss_files/files-pwd.c: Likewise.
84505         * nss/nss_files/files-rpc.c: Likewise.
84506         * nss/nss_files/files-service.c: Likewise.
84507         * nss/nss_files/files-sgrp.c: Likewise.
84508         * nss/nss_files/files-spwd.c: Likewise.
84509         * nss/nss_db/db-alias.c: Removed.
84510         * nss/nss_db/dummy-db.h: Removed.
84512 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84514         * nss/makedb.c: Rewritten to not use database library.
84515         * nss/Makefile: Update to build new makedb program.
84517 2011-06-14  Andreas Jaeger  <aj@suse.de>
84519         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84520         memset declaration.
84522 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84525         tmpbuf.
84527 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84529         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84530         * elf/Makefile ($(objpfx)ld.so): Likewise.
84532         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84533         Don't list ld.so twice in dependencies.
84535         * posix/bug-regex31.c: Include <stdlib.h>.
84537         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84539         * nis/nss_compat/compat-spwd.c
84540         (getspent_next_nss_netgr): Remove unused variable.
84541         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84543         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84544         nonmembers" output to use the right array.
84546         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84548         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84550         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84551         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84552         * catgets/gencat.c (read_input_file): Likewise.
84553         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84555         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84556         variable definition inside #if's controlling its use.
84558         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84560         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84562         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84564         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84565         unreachable code.
84567         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84569         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84570         * configure: Regenerated.
84572         * Makerules: Revert last change.
84573         * elf/Makefile: Likewise.
84575 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84577         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84578         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84579         (reloc-link): Likewise.
84581 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84583         * elf/Makefile: Add rules to build pldd.
84584         * elf/pldd.c: New file.
84585         * elf/pldd-xx.c: New file.
84587 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84589         * version.h: Update for 2.15 development version.
84591 2011-06-07  David S. Miller  <davem@davemloft.net>
84593         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84594         ifuncs.
84595         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84596         elf_machine_lazy_rel): Likewise.
84597         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84599         elf_machine_lazy_rel): Likewise.
84600         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84601         dl_hwcap via passed in argument.
84602         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84603         Likewise.
84605 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84607         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84609 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84611         [BZ #12849]
84612         * manual/fdl-1.1.texi: New file, verbatim from:
84613         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84614         * manual/lgpl-2.1.texi: New file, verbatim from:
84615         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84616         * manual/Makefile (licenses): New variable, list those new file names.
84617         (texis): Use it.
84618         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84620         * manual/fdl.texi: File removed.
84621         * manual/lesser.texi: File removed.
84622         * manual/libc.texinfo (Copying, Documentation License):
84623         Use new @include file names, put @appendix directive before @include.
84625 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
84627         [BZ #12841]
84628         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84629         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84630         (mq_open): Add __NTH.
84632 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
84634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84635         Assume Intel Core i3/i5/i7 processor if AVX is available.
84637 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84639         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84640         typo.
84642 2011-05-31  Andreas Schwab  <schwab@redhat.com>
84644         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
84645         memory.  Use alloca_account.  Fix memory leak when retrying.
84647 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84649         * version.h (RELEASE): Bump for 2.14 release.
84650         * include/features.h (__GLIBC_MINOR__): Bump to 14.
84652         * config.make.in (RANLIB): Remove entry.
84654 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
84656         * po/Makefile (po-sed-cmd): Add ksh to extensions.
84657         (libc.pot): Work around missing support for .ksh extension in xgettext.
84659         [BZ #12684]
84660         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
84661         if both request failed.
84662         (send_dg): In case of server errors clear resplen or *resplen2.
84664         [BZ #12454]
84665         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
84666         when there are multiple maps.
84667         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
84668         (_dl_fini): Remove test here.
84670         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
84672 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
84674         [BZ #12350]
84675         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
84676         bit from old_res_options.
84677         (gaih_inet): Likewise.
84679         [BZ #11099]
84680         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
84681         as signed.
84683         * resolv/res_init.c (res_setoptions): Make the code more compact.
84685         [BZ #11558]
84686         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
84687         set RES_USEVC.
84689         [BZ #11634]
84690         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
84692         * malloc/malloc.h: Mark malloc hook variables as deprecated.
84694         [BZ #11781]
84695         * malloc/malloc.h: Declare malloc hook variables as volatile.
84697         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
84698         in last patch.
84700         [BZ #11799]
84701         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
84702         raise in the comment.
84703         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84704         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84705         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
84707 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
84709         [BZ #12811]
84710         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
84711         grow the buffers more if it already has to be sufficient.
84712         (build_wcs_upper_buffer): Likewise.
84713         * posix/regexec.c (check_matching): Likewise.
84714         (clean_state_log_if_needed): Likewise.
84715         (extend_buffers): Don't enlarge buffers beyond size of the input
84716         buffer.
84717         Patches mostly by Emil Wojak <emil@wojak.eu>.
84718         * posix/bug-regex32.c: New file.
84719         * posix/Makefile (tests): Add bug-regex32.
84721         * locale/findlocale.c (_nl_find_locale): Return right away if
84722         _nl_explode_name failed.
84723         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
84725         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
84727         * debug/xtrace.sh: Unify messages.
84728         * malloc/memusage.sh: Likewise.
84730         [BZ #12813]
84731         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
84732         time symbol from vDSO.  Substitute with vsyscall if not available.
84733         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
84734         __vdso_time.
84736         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
84737         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
84738         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
84739         Add sendmmsg and internal_sendmmsg.
84740         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
84741         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
84742         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
84744         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
84745         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
84746         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
84748 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
84750         [BZ #12813]
84751         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
84752         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
84753         available.
84754         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
84755         __vdso_getcpu.
84757         [BZ #12814]
84758         * iconvdata/Makefile (tests): Add bug-iconv9.
84759         * iconvdata/bug-iconv9.c: New file.
84761 2011-05-27  Andreas Schwab  <schwab@redhat.com>
84763         [BZ #12814]
84764         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
84766 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
84768         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84769         (struct user_regs_struct): Change intcs field back to cs.
84771 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
84773         * po/ja.po: Update from translation team.
84775 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
84777         [BZ #12795]
84778         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
84779         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
84781 2011-05-20  Andreas Schwab  <schwab@redhat.com>
84783         * stdlib/longlong.h: Update from GCC.
84785 2011-05-23  Andreas Schwab  <schwab@redhat.com>
84787         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
84788         parameter name.
84789         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
84790         Add parameter name.
84791         (__sysconf): Pass it down.
84793 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
84795         [BZ #12671]
84796         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
84797         some situations.
84798         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
84799         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
84800         add in in __libc_use_alloca calls.  Adjust callers.
84801         (glob): Use malloc in some situations.
84803         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
84804         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
84805         pltexit.
84807 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
84809         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
84810         and CLOCK_BOOTTIME_ALARM.
84812         [BZ #12782]
84813         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
84814         is returned.
84816         * string/_strerror.c (__strerror_r): Print negative errors as signed
84817         numbers.
84819         [BZ #12777]
84820         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
84821         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
84822         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
84824         * configure.in: Fix typo in redirection and correct removal of test
84825         files in two cases.
84827         [BZ #12788]
84828         * locale/setlocale.c (new_composite_name): Fix test to check for
84829         identical name of all categories.
84831         [BZ #12792]
84832         * libio/filedoalloc.c (local_isatty): New function.
84833         (_IO_file_doallocate): Use local_isatty.
84834         * stdio-common/perror.c (perror): In case a new stream is used
84835         forward the stream error.
84836         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
84837         error flag.
84839 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
84841         [BZ #11884]
84842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
84843         alloca.
84844         * include/alloca.h (extend_alloca_account): Define.
84846         [BZ #11857]
84847         * posix/regex.h: Fix comments with documentation of user-accessible
84848         fields after compilation and describe correct free'ing of pattern
84849         after re_compile_pattern.
84850         Patch by Reuben Thomas <rrt@sc3d.org>.
84852 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
84854         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
84855         and -mno-altivec to prevent the compiler from using Altivec and/or
84856         VSX instructions when the corresponding registers are not available.
84858 2011-05-19  Andreas Schwab  <schwab@redhat.com>
84860         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
84862 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
84864         * libio/freopen.c (freopen): Use __dup2, not dup2.
84865         * libio/freopen64.c (freopen64): Likewise.
84867 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
84869         [BZ #12775]
84870         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
84871         * math/Makefile (tests): Add test-powl.
84872         (CFLAGS-test-powl.c): Define.
84873         * math/test-powl.c: New file.
84875 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
84877         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
84879 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
84881         [BZ #11837]
84882         * iconvdata/gb18030.c: Update to GB18020-2005.
84884 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
84886         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
84887         RE_SYNTAX_POSIX_AWK): Update to match recent development.
84888         Patch by Aharon Robbins <arnold@skeeve.com>.
84890         [BZ #11892]
84891         * stdlib/putenv.c (putenv): Don't always create copy of the variable
84892         on the stack.
84894         [BZ #11895]
84895         * misc/pselect.c (__pselect): Handle timeout value errors hidden
84896         through underflows.
84898         [BZ #12766]
84899         * misc/error.c (error_at_line): Ensure file_name and old_file_name
84900         point to strings before performing equality test for error_one_per_line
84901         mode.
84903         [BZ #11697]
84904         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
84906         [BZ #11820]
84907         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84908         (struct user_fpregs_struct): Avoid __uint*_t types.
84910         [BZ #6420]
84911         * malloc/mtrace.c (tr_where): Add additional parameter to point to
84912         symbol info.  Use it instead of calling _dl_addr locally.
84913         (lock_and_info): New function.
84914         (tr_freehook): Call lock_and_info and pass symbol info as additional
84915         parameter to tr_where.
84916         (tr_mallochook): Likewise.
84917         (tr_reallochook): Likewise.
84918         (tr_memalignhook): Likewise.
84920         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
84921         used and couldn't be at all thread-safe.
84923 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
84925         * libio/freopen.c (freopen): Don't close old file descriptor
84926         before the new one is opened.  Instead dup the new file descriptor
84927         to the old one after the new stream is created.
84928         * libio/freopen64.c (freopen64): Likewise.
84929         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
84930         * libio/fileops.c (_IO_new_file_close_it): Handle new
84931         _IO_FLAGS2_NOCLOSE flag.
84932         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
84933         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
84934         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
84935         _IO_FLAGS2_NOCLOSE flag.
84936         * include/unistd.h: Add hidden_proto for dup3.
84937         Define __have_dup3.
84938         * io/dup3.c: Define hidden symbol.
84939         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
84941         [BZ #7101]
84942         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
84943         when an incomplete long option is used.
84944         * posix/tst-getopt_long1.c: New file.
84945         * posix/Makefile (tests): Add tst-getopt_long1.
84947         [BZ #10138]
84948         * scripts/config.guess: Update from autoconf-2.68.
84949         * scripts/config.sub: Likewise.
84951         [BZ #10157]
84952         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
84953         tests into ...
84954         (has_cpuclock): ...this.  New function.
84955         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
84956         macro here based on has_cpuclock code.
84958         [BZ #10149]
84959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84960         First byte (not low byte) is now always NUL.
84961         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
84963         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84964         Use non-cancelable interfaces.
84966         [BZ #9809]
84967         * locale/iso-639.def: Add entry for Sorani.
84969         [BZ #11901]
84970         * include/stdlib.h: Move include protection to the right place.
84971         Define abort_msg_s.  Declare __abort_msg with it.
84972         * stdlib/abort.c (__abort_msg): Adjust type.
84973         * assert/assert.c (__assert_fail_base): New function.  Majority
84974         of code from __assert_fail.  Allocate memory for __abort_msg with
84975         mmap.
84976         (__assert_fail): Now call __assert_fail_base.
84977         * assert/assert-perr.c: Remove bulk of implementation.  Use
84978         __assert_fail_base.
84979         * include/assert.hL Declare __assert_fail_base.
84980         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
84981         mmap.
84982         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
84984 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
84986         [BZ #11952]
84987         [BZ #12453]
84988         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
84989         until all modules are registered in the DTV.
84990         * elf/Makefile: Add rules to build and run tst-tls19.
84991         * elf/tst-tls19.c: New file.
84992         * elf/tst-tls19mod1.c: New file.
84993         * elf/tst-tls19mod2.c: New file.
84994         * elf/tst-tls19mod3.c: New file.
84995         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
84997         [BZ #12083]
84998         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
84999         correctly.
85001         [BZ #12601]
85002         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85003         two-byte sequence errors.
85004         * iconvdata/Makefile (tests): Add bug-iconv8.
85005         * iconvdata/bug-iconv8.c: New file.
85007         [BZ #12626]
85008         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85009         buf2 definition.
85011         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85013         [BZ #12432]
85014         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85015         (dummy_getcfa): New function.
85016         (init): Get _Unwind_GetCFA address, use dummy if not found.
85017         (backtrace_helper): In recursion check, also check whether CFA changes.
85018         (__backtrace): Completely initialize arg.
85020         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85021         storing incomplete byte sequence in state object.  Avoid testing for
85022         guaranteed too small input if we know there is enough data available.
85024 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85026         * Makeconfig (+link-pie): Indent.
85027         * Rules (binaries-pie): Define if $(have-fpie) and
85028         $(build-shared).
85029         (binaries-shared): Also filter out $(binaries-pie).
85030         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85031         * nscd/Makefile (others-pie): Add nscd.
85032         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85033         ($(objpfx)nscd): Remove command override.
85034         * login/Makefile (others-pie): Add pt_chown.
85035         ($(objpfx)pt_chown): Remove command override.
85036         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85037         remove command overrides.
85039 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85041         * libio/tst_putwc.c: Fix error messages.
85043         [BZ #12724]
85044         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85045         currently writing and seek to current position when not.
85046         * libio/Makefile (tests): Add bug-fclose1.
85047         * libio/bug-fclose1.c: New file.
85049 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85051         [BZ #12511]
85052         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85053         don't set DF_1_NODELETE here.
85054         (do_lookup_x): When entering new entry test for copy relocation
85055         and if necessary set DF_1_NODELETE flag.
85056         * elf/tst-unique4.cc: New file.
85057         * elf/tst-unique4.h: New file.
85058         * elf/tst-unique4lib.cc: New file.
85059         * elf/Makefile: Add rules to build and run tst-unique4.
85060         Patch by Piotr Bury <pbury@goahead.com>.
85062 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85064         [BZ #12052]
85065         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85067         [BZ #12625]
85068         * misc/mntent_r.c (addmntent): Flush the stream after the output
85070         [BZ #12393]
85071         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85072         (is_trusted_path_normalize): Skip initial colon.  Append slash
85073         to empty buffer.  Duplicate is_trusted_path code but allow
85074         constructed patch to be prefix.
85075         (is_dst): Allow $ORIGIN followed by /.
85076         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85077         Correct testing of result of is_trusted_path_normalize
85078         (decompose_rpath): Fix warning.
85080 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85082         [BZ #11257]
85083         * grp/initgroups.c (internal_getgrouplist): When we found the service
85084         list through the initgroups entry in nsswitch.conf do not always
85085         continue on a successful lookup.  Don't always use the
85086         __nss_group_database value if it is set.
85087         * nss/nsswitch.conf (initgroups): Change action for successful db
85088         lookup to continue for compatibility.
85090 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85092         [BZ #11532]
85093         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85094         and CP774 modules.
85095         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85096         and CP774 modules.
85097         * iconvdata/tst-tables.sh: Likewise.
85098         * iconvdata/cp770.c: New file.
85099         * iconvdata/cp771.c: New file.
85100         * iconvdata/cp772.c: New file.
85101         * iconvdata/cp773.c: New file.
85102         * iconvdata/cp774.c: New file.
85103         * iconvdata/testdata/CP770: New file.
85104         * iconvdata/testdata/CP770..UTF8: New file.
85105         * iconvdata/testdata/CP771: New file.
85106         * iconvdata/testdata/CP771..UTF8: New file.
85107         * iconvdata/testdata/CP772: New file.
85108         * iconvdata/testdata/CP772..UTF8: New file.
85109         * iconvdata/testdata/CP773: New file.
85110         * iconvdata/testdata/CP773..UTF8: New file.
85111         * iconvdata/testdata/CP774: New file.
85112         * iconvdata/testdata/CP774..UTF8: New file.
85114         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85115         END CHARMAP line.
85116         * iconvdata/gen-8bit-gap.sh: Likewise.
85117         * iconvdata/gen-8bit.sh: Likewise.
85119         * locale/iso-639.def: Add ary entry.
85121         [BZ #11258]
85122         * locale/C-translit.h.in: Add U20A1 transliteration.
85124         [BZ #12178]
85125         * locale/iso-639.def: Add wae entry.
85126         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85128         [BZ #12545]
85129         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85130         for n.
85132         [BZ #12711]
85133         * locale/C-translit.h.in: Add entry for U20B9.
85134         Patch by pravin.d.s@gmail.com.
85136 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85138         [BZ #12713]
85139         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85140         ENAMETOOLONG use generic getcwd.
85141         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85142         in rtld.  Use *stat64.
85143         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85144         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85145         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85146         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85147         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85148         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85149         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85150         __fstatat64 macros.
85151         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85152         * dirent/rewinddir.c: Add libc_hidden_def.
85153         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85154         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85156         * include/dirent.h (__alloc_dir): Add flags parameter.
85157         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85158         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85159         __alloc_dir.
85160         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85161         from fdopendir if O_CLOEXEC is already set.
85163 2011-03-15  Alan Modra  <amodra@gmail.com>
85165         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85166         l_tls_firstbyte_offset non-zero.  Save padding offset in
85167         l_tls_firstbyte_offset for later use.
85168         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85169         freeing static tls block.
85171 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85173         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85174         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85175         being defined by the kernel headers.
85177 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85179         [BZ #12734]
85180         * resolv/resolv.h: Define RES_NOTLDQUERY.
85181         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85182         no-tld-query and set RES_NOTLDQUERY.
85183         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85184         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85185         modern BIND to search name as TLD unless forbidden.
85187 2011-05-07  Petr Baudis  <pasky@suse.cz>
85188             Ulrich Drepper  <drepper@gmail.com>
85190         [BZ #12393]
85191         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85192         (is_trusted_path): ...to here.
85193         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85194         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85195         using is_trusted_path_normalize() in setuid scripts.
85197 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85199         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85200         __BEGIN/__END_DECLS.
85202 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85205         NSS_STATUS_NOTFOUND if no record was found.
85207 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85209         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85210         (headers-not-in-tirpc): Remove rpc/netdb.h
85211         * resolv/netdb.h: Revert last change.
85213 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85215         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85216         circular dependency between libgcc.a and libc.a.
85218 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85220         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85221         * nis/Makefile: Don't install rpcsvc/*.
85222         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85223         instead of <rpc/types.h>.
85224         (MAXHOSTNAMELEN): Define.
85226 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85228         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85230 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85232         [BZ #12714]
85233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85234         gethostbyname4_r when IPv6 results are possible.
85236 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85238         [BZ #12723]
85239         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85240         _PC_PIPE_BUF handling.
85242 2011-04-30  Bruno Haible  <bruno@clisp.org>
85244         [BZ #12717]
85245         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85246         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85247         to 'int'.
85248         * inet/getnameinfo.c (getnameinfo): Likewise.
85250 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85252         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85253         to groups setting in database lookup.
85254         * nss/nsswitch.conf: Add initgroups entry.
85256 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85258         [BZ #12685]
85259         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85260         mode string.
85261         Patch by Eric Blake <eblake@redhat.com>.
85263 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85265         * sunrpc/Makefile (need-export-routines): Add svc_run.
85266         (routines): Remove svc_run.
85267         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85268         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85269         * sunrpc/svc_run.c (svc_run): Likewise.
85270         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85272 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85275         problem in reallocation in last patch.
85277 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85279         * sunrpc/Makefile: Move inclusion of Rules.
85281 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85283         * nss/nss_files/files-initgroups.c: New file.
85284         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85285         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85286         _nss_files_initgroups_dyn.
85288 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85290         * elf/elf.h (R_ARM_IRELATIVE): Define.
85292 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85294         * po/ru.po: Update from translation team.
85296 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85298         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85299         dependencies.
85301 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85303         [BZ #12653]
85304         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85305         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85307         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85310 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85312         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85313         differing bytes.
85314         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85315         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85318 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85320         [BZ #12420]
85321         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85322         storing it.
85323         * stdlib/bug-getcontext.c: New file.
85324         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85326 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85328         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85329         instructions into .machine "z9-109".
85330         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85331         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85333 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85335         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85336         between environment variables and auxiliary vector.
85338 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85340         * Makefile: Add rules to build linkobj/libc.so.
85341         * include/libc-symbols.h: Define libc_hidden_nolink.
85342         * include/rpc/auth.h: Mark functions which are to be hidden.
85343         * include/rpc/auth_des.h: Likewise.
85344         * include/rpc/auth_unix.h: Likewise.
85345         * include/rpc/clnt.h: Likewise.
85346         * include/rpc/des_crypt.h: Likewise.
85347         * include/rpc/key_prot.h: Likewise.
85348         * include/rpc/pmap_clnt.h: Likewise.
85349         * include/rpc/pmap_prot.h: Likewise.
85350         * include/rpc/pmap_rmt.h: Likewise.
85351         * include/rpc/rpc_msg.h: Likewise.
85352         * include/rpc/svc.h: Likewise.
85353         * include/rpc/svc_auth.h: Likewise.
85354         * include/rpc/xdr.h: Likewise.
85355         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85356         * nss/Makefile: Likewise.
85357         * sunrpc/Makefile: Don't install headers.  Build library with normal
85358         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85359         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85360         for the compat linking library.  Remove use of INTDEF/INTUSE.
85361         * sunrpc/auth_none.c: Likewise.
85362         * sunrpc/auth_unix.c: Likewise.
85363         * sunrpc/authdes_prot.c: Likewise.
85364         * sunrpc/authuxprot.c: Likewise.
85365         * sunrpc/clnt_gen.c: Likewise.
85366         * sunrpc/clnt_perr.c: Likewise.
85367         * sunrpc/clnt_raw.c: Likewise.
85368         * sunrpc/clnt_simp.c: Likewise.
85369         * sunrpc/clnt_tcp.c: Likewise.
85370         * sunrpc/clnt_udp.c: Likewise.
85371         * sunrpc/clnt_unix.c: Likewise.
85372         * sunrpc/des_crypt.c: Likewise.
85373         * sunrpc/des_soft.c: Likewise.
85374         * sunrpc/get_myaddr.c: Likewise.
85375         * sunrpc/key_call.c: Likewise.
85376         * sunrpc/key_prot.c: Likewise.
85377         * sunrpc/netname.c: Likewise.
85378         * sunrpc/pm_getmaps.c: Likewise.
85379         * sunrpc/pm_getport.c: Likewise.
85380         * sunrpc/pmap_clnt.c: Likewise.
85381         * sunrpc/pmap_prot.c: Likewise.
85382         * sunrpc/pmap_prot2.c: Likewise.
85383         * sunrpc/pmap_rmt.c: Likewise.
85384         * sunrpc/publickey.c: Likewise.
85385         * sunrpc/rpc_cmsg.c: Likewise.
85386         * sunrpc/rpc_common.c: Likewise.
85387         * sunrpc/rpc_dtable.c: Likewise.
85388         * sunrpc/rpc_prot.c: Likewise.
85389         * sunrpc/rpc_thread.c: Likewise.
85390         * sunrpc/rtime.c: Likewise.
85391         * sunrpc/svc.c: Likewise.
85392         * sunrpc/svc_auth.c: Likewise.
85393         * sunrpc/svc_authux.c: Likewise.
85394         * sunrpc/svc_raw.c: Likewise.
85395         * sunrpc/svc_run.c: Likewise.
85396         * sunrpc/svc_simple.c: Likewise.
85397         * sunrpc/svc_tcp.c: Likewise.
85398         * sunrpc/svc_udp.c: Likewise.
85399         * sunrpc/svc_unix.c: Likewise.
85400         * sunrpc/svcauth_des.c: Likewise.
85401         * sunrpc/xcrypt.c: Likewise.
85402         * sunrpc/xdr.c: Likewise.
85403         * sunrpc/xdr_array.c: Likewise.
85404         * sunrpc/xdr_float.c: Likewise.
85405         * sunrpc/xdr_intXX_t.c: Likewise.
85406         * sunrpc/xdr_mem.c: Likewise.
85407         * sunrpc/xdr_rec.c: Likewise.
85408         * sunrpc/xdr_ref.c: Likewise.
85409         * sunrpc/xdr_sizeof.c: Likewise.
85410         * sunrpc/xdr_stdio.c: Likewise.
85412 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85414         [BZ #12650]
85415         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85416         * sysdeps/ia64/dl-tls.h: Likewise.
85417         * sysdeps/powerpc/dl-tls.h: Likewise.
85418         * sysdeps/s390/dl-tls.h: Likewise.
85419         * sysdeps/sh/dl-tls.h: Likewise.
85420         * sysdeps/sparc/dl-tls.h: Likewise.
85421         * sysdeps/x86_64/dl-tls.h: Likewise.
85422         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85424 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85426         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85427         rpath element also skip the following colon.
85428         (expand_dynamic_string_token): Add is_path parameter and pass
85429         down to DL_DST_REQUIRED and _dl_dst_substitute.
85430         (decompose_rpath): Call expand_dynamic_string_token with
85431         non-zero is_path.  Ignore empty rpaths.
85432         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85433         with zero is_path.
85435 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85438         Make cancelable.
85440 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85442         [BZ #12655]
85443         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85444         Patch by Filipe David Manana <fdmanana@apache.org>.
85446 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85448         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85449         Maintain aligned stack.
85450         (CHECK_RSP): Remove unused macro.
85452 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85454         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85455         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85457 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85459         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85461         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85463 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85465         [BZ #12518]
85466         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85467         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85468         * sysdeps/x86_64/memmove.c: New file.
85469         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85470         (memcpy): Renamed to ...
85471         (__new_memcpy): This.
85472         (memcpy): Provide GLIBC_2_14 memcpy.
85473         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85474         (memcpy): Provide GLIBC_2_2_5 memcpy.
85476 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85478         [BZ #12631]
85479         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85481 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85483         * misc/syncfs.c: New file.
85484         * misc/Makefile (routines): Add syncfs.
85485         * posix/unistd.h: Declare syncfs.
85486         * sysdeps/unix/syscalls.list: Add syncfs.
85488 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85490         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85491         open_by_handle_at.
85492         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85493         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85495         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85497         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85498         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85500 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85502         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85503         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85504         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85505         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85506         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85508         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85510         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85511         sync_file_range.c with -fexceptions.
85512         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85513         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85514         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85515         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85516         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85517         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85518         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85519         sync_file_range as cancellation point
85520         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85521         now a wrapper around __call_sync_file_range with cancellation handling.
85522         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85523         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85524         function name to __call_sync_file_range.
85525         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85526         Add call_sync_file_range.
85528 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85531         bits/timex.h.
85533 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85535         * iconv/iconv.h: Fix typo in comment.
85536         * io/fcntl.h: Likewise.
85537         * libio/stdio.h: Likewise.
85538         * posix/spawn.h: Likewise.
85539         * posix/unistd.h: Likewise.
85540         * stdlib/stdlib.h: Likewise.
85541         * time/time.h: Likewise.
85542         * wcsmbs/wchar.h: Likewise.
85544         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85545         open_by_handle): Add.
85546         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85547         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85548         Augment a few comments.
85549         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85551         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85552         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85554         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85555         open_by_handle.
85557         * io/fcntl.h (AT_EMPTY_PATH): Define.
85559 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85561         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85562         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85563         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85564         to...
85565         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85566         * Versions.def: Add GLIBC_2.14.
85567         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85568         Export.
85570 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85572         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85573         round counter.
85574         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85576 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85578         [BZ #12597]
85579         * string/test-strncmp.c (do_page_test): New function.
85580         (check2): Likewise.
85581         (test_main): Call check2.
85582         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85584 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85586         [BZ #12587]
85587         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85588         Handle cache information in CPU leaf 4.
85589         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85591 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85593         [BZ #12583]
85594         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85595         character representation.
85596         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85598 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85600         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85601         END(__isnan) to END(__isnanf) to match function entry point/label
85602         EALIGN(__isnanf,...).
85604 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85606         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85608 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85610         [BZ #12510]
85611         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85612         copy from the symbol referenced in the relocation to initialize the
85613         used variable.
85614         Patch by Piotr Bury <pbury@goahead.com>.
85615         * elf/Makefile: Add rules to build and tst-unique3.
85616         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85617         * elf/tst-unique3.cc: New file.
85618         * elf/tst-unique3.h: New file.
85619         * elf/tst-unique3lib.cc: New file.
85620         * elf/tst-unique3lib2.cc: New file.
85622         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85624 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
85626         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85627         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
85628         to _start.
85630 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
85632         * elf/dl-load.c (_dl_map_object): If we are looking for the first
85633         to-be-loaded object along a path to loader is ld.so.
85635 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85636             Ulrich Drepper  <drepper@gmail.com>
85638         * sysdeps/x86_64/memset.S: After aligning destination, code
85639         branches to different locations depending on the value of
85640         misalignment, when multiarch is enabled. Fix this.
85642 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85644         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
85645         Set _x86_64_preferred_memory_instruction for AMD processsors.
85646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85647         Set bit_Prefer_SSE_for_memop for AMD processors.
85649 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
85651         * libio/fmemopen.c (fmemopen): Optimize a bit.
85653 2011-03-03  Andreas Schwab  <schwab@redhat.com>
85655         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
85657 2011-03-03  Roland McGrath  <roland@redhat.com>
85659         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
85661 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
85663         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
85664         __bzero_ultra1 instead of __memset_ultra1.
85666 2011-02-23  Andreas Schwab  <schwab@redhat.com>
85667             Ulrich Drepper  <drepper@gmail.com>
85669         [BZ #12509]
85670         * include/link.h (struct link_map): Add l_orig_initfini.
85671         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
85672         returning unsuccessfully.
85673         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
85674         close of a file loaded at startup, restore the original l_initfini
85675         list.
85676         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
85677         list, store the pointer.
85678         * elf/Makefile ($(objpfx)noload-mem): New rule.
85679         (noload-ENV): Define.
85680         (tests): Add $(objpfx)noload-mem.
85681         * elf/noload.c: Include <memcheck.h>.
85682         (main): Call mtrace.  Close all opened handles.
85684 2011-02-17  Andreas Schwab  <schwab@redhat.com>
85686         [BZ #12454]
85687         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
85688         dependencies are missing.
85690 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85692         Fix __if_freereq crash: Unlike the generic version which uses free,
85693         Hurd needs munmap.
85694         * sysdeps/mach/hurd/ifreq.h: New file.
85696 2011-01-27  Petr Baudis  <pasky@suse.cz>
85697             Ulrich Drepper  <drepper@gmail.com>
85699         [BZ 12445]#
85700         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
85701         to extend_alloca().
85702         * stdio-common/bug23.c: New file.
85703         * stdio-common/Makefile (tests): Add bug23.
85705 2010-09-28  Andreas Schwab  <schwab@redhat.com>
85706             Ulrich Drepper  <drepper@gmail.com>
85708         [BZ #12489]
85709         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
85710         before performing relro protection.  At old place add assertion
85711         to make sure nothing changed.
85713 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
85714             Glauber de Oliveira Costa  <glommer@gmail.com>
85716         * elf/elf.h: Add new ARM TLS relocs.
85718 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
85720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
85721         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
85722         cast from r3.
85723         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
85724         'tests' variable.
85725         * sysdeps/wordsize-64/tst-writev.c: New file.
85727 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
85729         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
85730         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
85731         insns in _dl_start to prevent a TOC reference before relocs are
85732         resolved.
85734 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
85736         [BZ #12469]
85737         * Makeconfig: Remove RANLIB definition.
85738         * Makerules: Don't use RANLIB.
85739         * aclocal.m4: Remove ranlib test.
85740         * configure.in: No need to check for ranlib.
85741         * elf/rtld-Rules: Don't use RANLIB.
85743 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85745         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
85746         protection macro.
85747         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
85748         inclusion protection macro.
85750         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
85751         SIGRTMIN and SIGRTMAX and print information in that case only when
85752         SIGRTMIN is defined.
85754 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
85756         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
85757         arginfo fn returning -1.
85759         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
85760         and thousands string is zero terminated.
85762 2011-02-03  Andreas Schwab  <schwab@redhat.com>
85764         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
85765         sysdeps/unix/sysv/linux/bits/socket.h.
85767 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85769         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
85770         (__CPU_COUNT): Remove old macros.
85771         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
85772         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
85773         (__CPU_ALLOC, __CPU_FREE): Add macros.
85774         (__sched_cpualloc, __sched_cpufree): Add declarations.
85776 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
85778         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
85779         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
85780         * nscd/aicache.c (addhstaiX): Return timeout of added value.
85781         (readdhstai): Return value of addhstaiX call.
85782         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
85783         (addgrbyX): Return value returned by cache_addgr.
85784         (readdgrbyname): Return value returned by addgrbyX.
85785         (readdgrbygid): Likewise.
85786         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
85787         (addpwbyX): Return value returned by cache_addpw.
85788         (readdpwbyname): Return value returned by addhstbyX.
85789         (readdpwbyuid): Likewise.
85790         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
85791         (addservbyX): Return value returned by cache_addserv.
85792         (readdservbyname): Return value returned by addservbyX:
85793         (readdservbyport): Likewise.
85794         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
85795         (addhstbyX): Return value returned by cache_addhst.
85796         (readdhstbyname): Return value returned by addhstbyX.
85797         (readdhstbyaddr): Likewise.
85798         (readdhstbynamev6): Likewise.
85799         (readdhstbyaddrv6): Likewise.
85800         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
85801         (readdinitgroups): Return value returned by addinitgroupsX.
85802         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
85803         (prune_cache): Keep track of timeout value of re-added entries.
85804         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
85805         * nscd/nscd.h: Adjust prototypes of readd* functions.
85807 2011-02-04  Roland McGrath  <roland@redhat.com>
85809         * nis/nis_server.c (nis_servstate): Use the right name for 0.
85810         (nis_stats): Likewise.
85811         * nis/nis_modify.c (nis_modify): Likewise.
85812         * nis/nis_remove.c (nis_remove): Likewise.
85813         * nis/nis_add.c (nis_add): Likewise.
85815         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
85817         * posix/fnmatch_loop.c: Add some consts.
85819         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
85821 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
85823         [BZ #12460]
85824         * config.make.in (config-cflags-novzeroupper): Define.
85825         * configure.in: Substitute libc_cv_cc_novzeroupper.
85826         * elf/Makefile (AVX-CFLAGS): Define.
85827         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
85828         (CFLAGS-tst-auditmod4a.c): Likewise.
85829         (CFLAGS-tst-auditmod4b.c): Likewise.
85830         (CFLAGS-tst-auditmod6b.c): Likewise.
85831         (CFLAGS-tst-auditmod6c.c): Likewise.
85832         (CFLAGS-tst-auditmod7b.c): Likewise.
85833         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
85835 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
85837         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
85838         function to the callback.
85839         Patch partly by Jiri Olsa <jolsa@redhat.com>.
85841 2011-02-02  Andreas Schwab  <schwab@redhat.com>
85843         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
85844         of errno.
85846 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
85848         [BZ #11724]
85849         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
85850         of constructors.
85851         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
85852         of destructors.
85853         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
85855         [BZ #11724]
85856         * elf/Makefile: Add rules to build and run new test.
85857         * elf/tst-initorder.c: New file.
85858         * elf/tst-initorder.exp: New file.
85859         * elf/tst-initordera1.c: New file.
85860         * elf/tst-initordera2.c: New file.
85861         * elf/tst-initordera3.c: New file.
85862         * elf/tst-initordera4.c: New file.
85863         * elf/tst-initorderb1.c: New file.
85864         * elf/tst-initorderb2.c: New file.
85865         * elf/tst-order-a1.c: New file.
85866         * elf/tst-order-a2.c: New file.
85867         * elf/tst-order-a3.c: New file.
85868         * elf/tst-order-a4.c: New file.
85869         * elf/tst-order-b1.c: New file.
85870         * elf/tst-order-b2.c: New file.
85871         * elf/tst-order-main.c: New file.
85872         New test case by George Gensure <werkt0@gmail.com>.
85874 2010-10-01  Andreas Schwab  <schwab@redhat.com>
85876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85877         decoding ACE if AI_CANONIDN.
85879 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
85881         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
85883 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
85885         * version.h (RELEASE): Bump for 2.13 release.
85886         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
85888         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
85890         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
85891         MADV_NOHUGEPAGE.
85892         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
85893         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
85894         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85895         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85896         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85897         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85899         * posix/getconf.c: Update copyright year.
85900         * catgets/gencat.c: Likewise.
85901         * csu/version.c: Likewise.
85902         * debug/catchsegv.sh: Likewise.
85903         * debug/xtrace.sh: Likewise.
85904         * elf/ldconfig.c: Likewise.
85905         * elf/ldd.bash.in: Likewise.
85906         * elf/sprof.c (print_version): Likewise.
85907         * iconv/iconv_prog.c: Likewise.
85908         * iconv/iconvconfig.c: Likewise.
85909         * locale/programs/locale.c: Likewise.
85910         * locale/programs/localedef.c: Likewise.
85911         * malloc/memusage.sh: Likewise.
85912         * malloc/mtrace.pl: Likewise.
85913         * nscd/nscd.c (print_version): Likewise.
85914         * nss/getent.c: Likewise.
85916         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
85917         PF_CAIF, and PF_ALG.
85918         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85920 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
85922         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
85923         (modules-names): Use them.
85924         (ifunc-test-modules, ifunc-pie-tests): Define.
85925         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
85926         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
85927         (test-extras): Likewise.
85928         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
85929         $(compile-command.c).
85930         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
85931         (all-built-dso): Define.
85932         (check-textrel.out, check-execstack.out): Depend on it.
85934         * configure.in: Don't override --enable-multi-arch.
85936 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
85938         [BZ #6812]
85939         * nscd/hstcache.c (tryagain): Define.
85940         (cache_addhst): Return tryagain not notfound for temporary errors.
85941         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
85942         failed.
85944 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
85946         [BZ #10563]
85947         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
85948         to make the syscall.
85949         * sysdeps/unix/sysv/linux/setgroups.c: New file.
85951         [BZ #12378]
85952         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
85953         and fall back to matching as normal character if the string ends before
85954         the matching ']' is found.  This is what POSIX requires.
85955         * posix/testfnm.c: Adjust test result.
85956         * posix/globtest.sh: Adjust test result.  Add new test.
85957         * posix/tst-fnmatch.input: Likewise.
85958         * posix/tst-fnmatch2.c: Add new test.
85960 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
85962         * elf/Makefile (check-execstack): Revert last change.  Depend on
85963         check-execstack.h.
85964         (check-execstack.h): New target.
85965         (generated): Add check-execstack.h.
85966         * elf/check-execstack.c: Include "check-execstack.h".
85967         (main): Revert last change.
85968         (handle_file): Return zero if GNU_STACK is absent and
85969         DEFAULT_STACK_PERMS doesn't include PF_X.
85971 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
85973         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
85974         in child fails because the descriptor is already closed.
85975         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
85976         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
85977         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
85979         [BZ #12397]
85980         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
85981         syscall.
85983         [BZ #10484]
85984         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
85985         temporary buffer used to handle multi lookups locally.
85986         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
85988 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
85990         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
85991         loader is ld.so.
85993 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
85995         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
85996         alignment for SSE2.
85998 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86000         [BZ #12394]
86001         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86002         characters.  When rounding increased number of integer digits recompute
86003         number of groups.
86004         * stdio-common/tst-grouping.c: New file.
86005         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86007 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86009         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86010         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86012         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86013         void.
86014         * bits/select.h: Likewise.
86016 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86018         * po/ja.po: Update from translation team.
86020 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86022         [BZ #11155]
86023         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86024         implementation just like for lxstat, fxstatat, et al.
86026 2010-12-27  Jim Meyering  <meyering@redhat.com>
86028         [BZ #12348]
86029         * posix/regexec.c (build_trtable): Return failure indication upon
86030         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86032 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86034         [BZ #12201]
86035         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86036         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86037         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86038         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86040         [BZ #12207]
86041         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86043         [BZ #12204]
86044         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86045         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86047 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86049         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86050         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86051         script has SORT_BY_INIT_PRIORITY.
86052         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86053         NO_CTORS_DTORS_SECTIONS is defined.
86054         * elf/soinit.c: Likewise.
86055         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86056         NO_CTORS_DTORS_SECTIONS is defined.
86057         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86058         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86059         * sysdeps/sh/init-first.c: Likewise.
86060         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86062 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86064         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86065         always use the slow path.
86067 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86069         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86070         similar rule which adds the sysdep directories to the header search in
86071         order to pick up the correct platform stackinfo.h.
86072         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86073         perform test if it is, otherwise return successfully without testing.
86074         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86075         DEFAULT_STACK_PERMS define in stackinfo.h.
86076         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86077         defined in stackinfo.h.
86078         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86079         DEFAULT_STACK_PERMS defined in stackinfo.h.
86080         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86081         * sysdeps/ia64/stackinfo.h: Likewise.
86082         * sysdeps/s390/stackinfo.h: Likewise.
86083         * sysdeps/sh/stackinfo.h: Likewise.
86084         * sysdeps/sparc/stackinfo.h: Likewise.
86085         * sysdeps/x86_64/stackinfo.h: Likewise.
86086         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86087         PF_X for powerpc64.  Retain PF_X for powerpc32.
86089 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86091         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86092         accurately.
86093         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86094         GETDENTS_64BIT_ALIGNED.
86096 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86098         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86100 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86102         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86103         _GNU_SOURCE.
86105         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86106         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86107         Remove __restrict.
86108         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86109         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86111 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86113         [BZ #11655]
86114         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86115         are initialized.
86117 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86119         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86121 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86123         * po/it.po: Update from translation team.
86125 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86127         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86128         unused codes.
86130 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86132         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86134 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86136         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86137         specially.
86138         (gaih_getanswer_slice): Likewise.
86140 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86144 2010-05-31  Petr Baudis  <pasky@suse.cz>
86146         [BZ #11149]
86147         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86148         silently even in the chroot mode.
86150 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86152         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86153         last patch a bit.  Pretty printing
86155 2010-05-31  Petr Baudis <pasky@suse.cz>
86157         [BZ #10085]
86158         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86159         initialization of skip_initgroups_dyn.
86161 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86163         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86164         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86166 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86168         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86170 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86172         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86173         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86174         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86175         ($(objpfx)tst-fnmatch-mem): New rule.
86176         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86177         * posix/tst-fnmatch.c (main): Call mtrace.
86179 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86182         Support Intel processor model 6 and model 0x2c.
86184 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86186         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86187           signed comparison.
86189 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86191         [BZ #12205]
86192         * string/test-strncasecmp.c (check_result): New function.
86193         (do_one_test): Use it.
86194         (check1): New function.
86195         (test_main): Use it.
86196         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86197         Support strcasecmp and strncasecmp.
86199 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86201         [BZ #12194]
86202         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86203         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86205 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86207         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86208         IFUNC support.
86209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86210         memset-x86-64.
86211         * sysdeps/x86_64/multiarch/bzero.S: New file.
86212         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86213         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86214         * sysdeps/x86_64/multiarch/memset.S: New file.
86215         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86217         Set bit_Prefer_SSE_for_memop for Intel processors.
86218         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86219         Define.
86220         (index_Prefer_SSE_for_memop): Define.
86221         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86223 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86225         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86226         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86228 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86230         [BZ #12191]
86231         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86232         (__x86_64_raw_data_cache_size_half): Likewise.
86233         (__x86_64_raw_shared_cache_size): Likewise.
86234         (__x86_64_raw_shared_cache_size_half): Likewise.
86236         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86237         (__x86_64_raw_data_cache_size_half): Likewise.
86238         (__x86_64_raw_shared_cache_size): Likewise.
86239         (__x86_64_raw_shared_cache_size_half): Likewise.
86240         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86241         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86242         and __x86_64_raw_shared_cache_size_half.  Round
86243         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86244         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86245         to multiple of 256 bytes.
86247 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86249         [BZ #12167]
86250         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86251         of inacessible symlinks.  Verify result of symlink before returning it.
86252         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86253         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86255 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86257         * math/math.h (isinf): Fix typo in comment.
86259 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86261         * po/da.po: Update from translation team.
86263 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86265         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86266         is added to the list.
86268 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86269             Ulrich Drepper  <drepper@gmail.com>
86271         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86272         the global list here.  Move code to...
86273         (_dl_add_to_namespace_list): ...here.  New function.
86274         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86275         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86276         * elf/dl-load.c (lose): Don't remove the element from the list.
86277         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86278         (_dl_map_object): Likewise.
86280 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86282         [BZ #12159]
86283         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86284         into all bytes of SSE register.
86285         Patch by Richard Li <richardpku@gmail.com>.
86287 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86289         [BZ #12140]
86290         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86291         perturbing.
86293 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86295         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86296         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86297         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86298         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86300         submachine.
86301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86303 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86305         * include/dlfcn.h (__RTLD_SECURE): Define.
86306         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86307         mode & __RTLD_SECURE instead.
86308         (open_path): Rename preloaded parameter to secure.
86309         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86310         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86311         * elf/dl-deps.c (openaux): Likewise.
86312         * elf/rtld.c (struct map_args): Remove is_preloaded.
86313         (map_doit): Don't use it.
86314         (dl_main): Likewise.
86315         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86316         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86318 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86320         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86321         (sysd-rules-targets): Remove duplicates.
86322         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86323         rtld-%.$o dependency.
86325 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86327         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86328         _dl_map_object do it.
86330 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86332         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86333         fast fma builtins, define the macros in the C99 standard.
86334         (FP_FAST_FMAF): Likewise.
86335         (FP_FAST_FMAL): Likewise.
86336         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86338         * bits/mathdef.h: Update copyright year.
86339         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86341 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86343         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86344         builtins, define the macros in the C99 standard.
86345         (FP_FAST_FMAF): Likewise.
86346         (FP_FAST_FMAL): Likewise.
86347         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86348         multiply/add.
86349         (FP_FAST_FMAF): Likewise.
86351 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86353         [BZ #3268]
86354         * math/libm-test.inc (fma_test): Some new testcases.
86355         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86356         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86357         y and infinite z.  Do multiplication by C already in long double.
86358         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86360         y and infinite z.  Do bitwise or of inexact bit into u.d.
86361         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86362         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86363         * sysdeps/i386/fpu/s_fma.S: Removed.
86364         * sysdeps/i386/fpu/s_fmal.S: Removed.
86366 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86368         [BZ #3268]
86369         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86371         computation is not scheduled after fetestexcept.  Fix value
86372         of minimum denormal long double.
86374 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86376         [BZ #3268]
86377         * math/libm-test.inc (fma_test): Add some more tests.
86378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86379         correctly.
86381 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86383         * scripts/data/localplt-s390-linux-gnu.data: New file.
86384         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86386 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86388         [BZ #3268]
86389         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86390         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86391         instead of dbl-64.
86392         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86393         inlines.
86394         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86396         if one of x and y is very large and the other is subnormal.
86397         * sysdeps/s390/fpu/s_fmaf.c: New file.
86398         * sysdeps/s390/fpu/s_fma.c: New file.
86399         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86400         * sysdeps/powerpc/fpu/s_fma.S: New file.
86401         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86402         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86403         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86405 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86407         [BZ #3268]
86408         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86409         fma tests.
86410         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86411         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86412         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86413         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86414         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86415         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86416         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86418 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86420         [BZ #12078]
86421         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86422         * posix/bug-regex31.input: Add test case.
86424 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86426         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86427         * posix/bug-regex31.input: New file.
86429         [BZ #12078]
86430         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86431         (parse_sub_exp): Fix last change, use postorder.
86433         * posix/bug-regex31.c: New file.
86434         * posix/Makefile: Add rules to build and run bug-regex31.
86436         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86438         [BZ #12078]
86439         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86441         [BZ #12108]
86442         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86443         to have entries in sys_siglist.
86445         [BZ #12093]
86446         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86447         be NULL.
86449 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86451         [BZ #3268]
86452         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86453         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86454         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86455         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86456         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86457         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86458         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86459         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86460         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86461         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86462         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86463         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86464         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86465         * math/ftestexcept.c (fetestexcept): Likewise.
86466         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86467         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86468         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86469         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86470         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86471         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86472         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86474 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86476         [BZ #12107]
86477         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86478         newline.
86480 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86482         * string/bug-strstr1.c: New file.
86483         * string/Makefile: Add rules to build and run bug-strstr1.
86485 2010-10-05  Eric Blake  <eblake@redhat.com>
86487         [BZ #12092]
86488         * string/str-two-way.h (two_way_long_needle): Always clear memory
86489         when skipping input due to the shift table.
86491 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86493         [BZ #12005]
86494         * malloc/mcheck.c: Handle large requests.
86496         [BZ #12077]
86497         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86498         for strncmp and strncasecmp.
86499         * string/stratcliff.c: Add tests for strcmp and strncmp.
86500         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86502 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86504         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86505         __set_fpscr.
86507 2010-09-30  Andreas Jaeger  <aj@suse.de>
86509         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86510         (CGROUP_SUPER_MAGIC): Define.
86511         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86512         Handle btrfs and cgroup file systems.
86513         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86514         Likewise.
86516 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86518         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86519         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86521 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86523         [BZ #12067]
86524         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86525         trying to locate the ELF header.
86527 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86529         [BZ #11611]
86530         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86531         Mask out sign-bit copies when constructing f_fsid.
86533 2010-09-24  Petr Baudis <pasky@suse.cz>
86535         * debug/stack_chk_fail_local.c: Add missing licence exception.
86536         * debug/warning-nop.c: Likewise.
86538 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86540         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86541         implementing getdents64 using getdents syscall, set d_type if
86542         __ASSUME_GETDENTS32_D_TYPE.
86544 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86546         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86547         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86549 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86551         [BZ #12037]
86552         * posix/unistd.h: Undo change of feature selection for ftruncate from
86553         2010-01-11.
86555 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86557         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86558         detection.
86560 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86562         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86563         fanotify_mark.
86564         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86566 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86568         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86569         variables after CHECK_SP call.
86570         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86572 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86573             Ulrich Drepper  <drepper@redhat.com>
86575         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86576         re-relocationg ld.so.
86577         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86578         _dl_init_paths call.
86579         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86580         here anymore.
86582 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86584         * resolv/res_init.c (__res_vinit): Count the default server we added.
86586 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86587             Ulrich Drepper  <drepper@redhat.com>
86589         [BZ #11968]
86590         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86591         (____longjmp_chk): Use %ebx for saving value across system call.
86592         Add unwind info.
86594 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86596         * manual/Makefile: Don't mix pattern rules with normal rules.
86598 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86600         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86601         operation.
86602         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86603         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86604         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86605         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86607         Likewise.
86609 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86611         [BZ #11979]
86612         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86613         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86615 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
86617         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86618         * sysdeps/x86_64/addmul_1.S: Likewise.
86619         * sysdeps/x86_64/lshift.S: Likewise.
86620         * sysdeps/x86_64/mul_1.S: Likewise.
86621         * sysdeps/x86_64/rshift.S: Likewise.
86622         * sysdeps/x86_64/sub_n.S: Likewise.
86623         * sysdeps/x86_64/submul_1.S: Likewise.
86625 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86627         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86628         Define __sched_param instead of SCHED_* and sched_param when
86629         <bits/sched.h> is included with __need_schedparam defined.
86630         * bits/sched.h [__need_schedparam]
86631         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86632         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86633         (__defined_schedparam): Define to 1.
86634         (__sched_param): New structure, identical to sched_param.
86635         (__need_schedparam): Undefine.
86637 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
86639         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
86640         (epoll_create1): Declare.
86642         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
86644 2010-08-31  Andreas Schwab  <schwab@redhat.com>
86646         [BZ #7066]
86647         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
86648         shifting retval into place.
86650 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
86652         * nis/rpcsvc/nis.h: Update copyright notice.
86653         * nis/rpcsvc/nis.x: Likewise.
86654         * nis/rpcsvc/nis_callback.h: Likewise.
86655         * nis/rpcsvc/nis_callback.x: Likewise.
86656         * nis/rpcsvc/nis_object.x: Likewise.
86657         * nis/rpcsvc/nis_tags.h: Likewise.
86658         * nis/rpcsvc/yp.h: Likewise.
86659         * nis/rpcsvc/yp.x: Likewise.
86660         * nis/rpcsvc/ypupd.h: Likewise.
86661         * nis/yp_xdr.c: Likewise.
86662         * nis/ypupdate_xdr.c: Likewise.
86664         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
86665         mainly the body of pmap_getport.  Add parameters to specify timeouts.
86666         (pmap_getport): Use __libc_rpc_getport.
86667         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
86668         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
86669         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86671 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
86673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
86674         fanotify_mark.
86676 2010-08-27  Roland McGrath  <roland@redhat.com>
86678         * sysdeps/i386/i686/multiarch/Makefile
86679         (CFLAGS-varshift.c): New variable.
86681 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
86683         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
86684         * sysdeps/i386/i686/multiarch/varshift.c: New file.
86686         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
86688         * sysdeps/x86_64/strlen.S: Minimal code improvement.
86690 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
86692         * sysdeps/x86_64/strlen.S: Unroll the loop.
86693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86694         strlen-sse2 strlen-sse2-bsf.
86695         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
86696         __strlen_no_bsf if bit_Slow_BSF is set.
86697         (__strlen_sse42): Removed.
86698         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
86699         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
86701 2010-08-25  Roland McGrath  <roland@redhat.com>
86703         * sysdeps/x86_64/multiarch/varshift.S: File removed.
86704         * sysdeps/x86_64/multiarch/varshift.c: New file.
86705         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
86706         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
86707         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
86708         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
86710 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
86712         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86713         strlen-sse2 strlen-sse2-bsf.
86714         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
86715         __strlen_sse2_bsf if bit_Slow_BSF is unset.
86716         (__strlen_sse2): Removed.
86717         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
86718         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
86719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86720         bit_Slow_BSF for Atom.
86721         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
86722         (index_Slow_BSF): Define.
86723         (HAS_SLOW_BSF): Define.
86725 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
86727         [BZ #10851]
86728         * resolv/res_init.c (__res_vinit): When no server address at all
86729         is given default to loopback.
86731 2010-08-24  Roland McGrath  <roland@redhat.com>
86733         * configure.in: Remove config-name.h generation.
86734         * configure: Regenerated.
86735         * config-name.in: File removed.
86736         * scripts/config-uname.sh: New file.
86737         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
86738         ($(objdir)config-name.h): New target.
86740         * sunrpc/rpc_parse.h: Avoid nested comment.
86742 2010-08-24  Richard Henderson  <rth@redhat.com>
86743             Ulrich Drepper  <drepper@redhat.com>
86744             H.J. Lu  <hongjiu.lu@intel.com>
86746         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
86747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
86748         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
86749         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
86750         _mm_alignr_epi8 with _mm_loadu_si128.
86751         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
86752         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
86753         (__m128i_shift_right): Removed.
86754         * sysdeps/i386/i686/multiarch/varshift.h: New file.
86755         * sysdeps/i386/i686/multiarch/varshift.S: New file.
86756         * sysdeps/x86_64/multiarch/varshift.h: New file.
86757         * sysdeps/x86_64/multiarch/varshift.S: New file.
86759 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
86761         * configure.in: Move assembler checks to before sysdep dir checking.
86763 2010-08-20  Petr Baudis  <pasky@suse.cz>
86765         * LICENSES: Sync the sunrpc license.
86767 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
86769         * sunrpc/auth_des.c: Update copyright notice once again.
86770         * sunrpc/auth_none.c: Likewise.
86771         * sunrpc/auth_unix.c: Likewise.
86772         * sunrpc/authdes_prot.c: Likewise.
86773         * sunrpc/authuxprot.c: Likewise.
86774         * sunrpc/bindrsvprt.c: Likewise.
86775         * sunrpc/clnt_gen.c: Likewise.
86776         * sunrpc/clnt_perr.c: Likewise.
86777         * sunrpc/clnt_raw.c: Likewise.
86778         * sunrpc/clnt_simp.c: Likewise.
86779         * sunrpc/clnt_tcp.c: Likewise.
86780         * sunrpc/clnt_udp.c: Likewise.
86781         * sunrpc/clnt_unix.c: Likewise.
86782         * sunrpc/des_crypt.c: Likewise.
86783         * sunrpc/des_soft.c: Likewise.
86784         * sunrpc/get_myaddr.c: Likewise.
86785         * sunrpc/getrpcport.c: Likewise.
86786         * sunrpc/key_call.c: Likewise.
86787         * sunrpc/key_prot.c: Likewise.
86788         * sunrpc/openchild.c: Likewise.
86789         * sunrpc/pm_getmaps.c: Likewise.
86790         * sunrpc/pm_getport.c: Likewise.
86791         * sunrpc/pmap_clnt.c: Likewise.
86792         * sunrpc/pmap_prot.c: Likewise.
86793         * sunrpc/pmap_prot2.c: Likewise.
86794         * sunrpc/pmap_rmt.c: Likewise.
86795         * sunrpc/rpc/auth.h: Likewise.
86796         * sunrpc/rpc/auth_unix.h: Likewise.
86797         * sunrpc/rpc/clnt.h: Likewise.
86798         * sunrpc/rpc/des_crypt.h: Likewise.
86799         * sunrpc/rpc/key_prot.h: Likewise.
86800         * sunrpc/rpc/netdb.h: Likewise.
86801         * sunrpc/rpc/pmap_clnt.h: Likewise.
86802         * sunrpc/rpc/pmap_prot.h: Likewise.
86803         * sunrpc/rpc/pmap_rmt.h: Likewise.
86804         * sunrpc/rpc/rpc.h: Likewise.
86805         * sunrpc/rpc/rpc_des.h: Likewise.
86806         * sunrpc/rpc/rpc_msg.h: Likewise.
86807         * sunrpc/rpc/svc.h: Likewise.
86808         * sunrpc/rpc/svc_auth.h: Likewise.
86809         * sunrpc/rpc/types.h: Likewise.
86810         * sunrpc/rpc/xdr.h: Likewise.
86811         * sunrpc/rpc_clntout.c: Likewise.
86812         * sunrpc/rpc_cmsg.c: Likewise.
86813         * sunrpc/rpc_common.c: Likewise.
86814         * sunrpc/rpc_cout.c: Likewise.
86815         * sunrpc/rpc_dtable.c: Likewise.
86816         * sunrpc/rpc_hout.c: Likewise.
86817         * sunrpc/rpc_main.c: Likewise.
86818         * sunrpc/rpc_parse.c: Likewise.
86819         * sunrpc/rpc_parse.h: Likewise.
86820         * sunrpc/rpc_prot.c: Likewise.
86821         * sunrpc/rpc_sample.c: Likewise.
86822         * sunrpc/rpc_scan.c: Likewise.
86823         * sunrpc/rpc_scan.h: Likewise.
86824         * sunrpc/rpc_svcout.c: Likewise.
86825         * sunrpc/rpc_tblout.c: Likewise.
86826         * sunrpc/rpc_util.c: Likewise.
86827         * sunrpc/rpc_util.h: Likewise.
86828         * sunrpc/rpcinfo.c: Likewise.
86829         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
86830         * sunrpc/rpcsvc/key_prot.x: Likewise.
86831         * sunrpc/rpcsvc/klm_prot.x: Likewise.
86832         * sunrpc/rpcsvc/mount.x: Likewise.
86833         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
86834         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
86835         * sunrpc/rpcsvc/rex.x: Likewise.
86836         * sunrpc/rpcsvc/rstat.x: Likewise.
86837         * sunrpc/rpcsvc/rusers.x: Likewise.
86838         * sunrpc/rpcsvc/sm_inter.x: Likewise.
86839         * sunrpc/rpcsvc/spray.x: Likewise.
86840         * sunrpc/rpcsvc/yppasswd.x: Likewise.
86841         * sunrpc/rtime.c: Likewise.
86842         * sunrpc/svc.c: Likewise.
86843         * sunrpc/svc_auth.c: Likewise.
86844         * sunrpc/svc_authux.c: Likewise.
86845         * sunrpc/svc_raw.c: Likewise.
86846         * sunrpc/svc_run.c: Likewise.
86847         * sunrpc/svc_simple.c: Likewise.
86848         * sunrpc/svc_tcp.c: Likewise.
86849         * sunrpc/svc_udp.c: Likewise.
86850         * sunrpc/svc_unix.c: Likewise.
86851         * sunrpc/svcauth_des.c: Likewise.
86852         * sunrpc/xcrypt.c: Likewise.
86853         * sunrpc/xdr.c: Likewise.
86854         * sunrpc/xdr_array.c: Likewise.
86855         * sunrpc/xdr_float.c: Likewise.
86856         * sunrpc/xdr_mem.c: Likewise.
86857         * sunrpc/xdr_rec.c: Likewise.
86858         * sunrpc/xdr_ref.c: Likewise.
86859         * sunrpc/xdr_sizeof.c: Likewise.
86860         * sunrpc/xdr_stdio.c: Likewise.
86862         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
86863         handling.
86865 2010-08-19  Andreas Schwab  <schwab@redhat.com>
86867         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
86869 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
86871         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
86872         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
86873         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
86874         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
86875         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
86876         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
86877         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
86878         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
86879         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
86880         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
86881         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
86882         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
86883         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
86884         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
86886 2010-07-26  Anton Blanchard  <anton@samba.org>
86888         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
86889         * malloc/arena.c (heap_trim): Likewise.
86891 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
86893         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
86894         here.  Not...
86895         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
86896         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
86898 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
86900         * sysdeps/i386/elf/Makefile: New file.
86902 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
86904         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
86905         from fanotify_init.
86906         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
86907         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
86909 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
86911         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
86912         of strncasecmp_l.
86913         * sysdeps/multiarch/strcmp.S: Likewise.
86915 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
86917         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86918         strncase_l-nonascii.
86919         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86920         Add strncase_l-ssse3.
86921         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
86922         * sysdeps/x86_64/strcmp.S: Likewise.
86923         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
86924         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
86925         * sysdeps/x86_64/strncase.S: New file.
86926         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
86927         * sysdeps/x86_64/strncase_l.S: New file.
86928         * string/Makefile (strop-tests): Add strncasecmp.
86929         * string/test-strncasecmp.c: New file.
86931         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
86932         warning.
86934         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
86935         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
86937 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
86939         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
86941 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
86943         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
86944         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
86945         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
86947 2010-05-01  Alan Modra  <amodra@gmail.com>
86949         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
86950         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
86951         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
86952         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
86953         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
86954         tidying.  Don't tail-call __sigjmp_save for static lib.
86955         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
86956         save location.
86957         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
86958         (CALL_MCOUNT): Add eh info, and nop after bl.
86959         (TAIL_CALL_SYSCALL_ERROR): New macro.
86960         (PSEUDO_RET): Use it.
86961         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
86962         Correct save location of integer regs and cr.
86963         (_dl_profile_resolve): Correct cr save location.  Delete nops
86964         after bl when SHARED.  Reduce cfi size a little by better
86965         placement of cfi directives.
86966         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
86967         make a stack frame.  Instead use parm save area as a temp.
86968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
86969         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
86970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
86971         Don't make a stack frame for parent, use parm save area.
86972         Increase child stack frame to 112 bytes.  Don't save unused reg,
86973         and adjust reg usage.  Set up cfi on error recovery and
86974         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
86975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
86976         (__makecontext): Add dummy nop after jump to exit.
86977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
86978         Use correct parm save area and cr save, reduce stack frame.
86979         Correct cfi for possible PSEUDO_RET frame setup.
86980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
86981         Branch to local label emitted by PSEUDO_RET rather than
86982         __syscall_error.
86984 2010-08-12  Andreas Schwab  <schwab@redhat.com>
86986         [BZ #11904]
86987         * locale/programs/locale.c (print_assignment): New function.
86988         (show_locale_vars): Use it.
86990 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
86992         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
86993         field.
86994         (struct statfs64): Likewise.
86995         (_STATFS_F_FLAGS): Define.
86996         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
86997         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86998         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
86999         (ST_VALID): Define locally.
87000         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87001         __statvfs_getflags, use the provided value.
87002         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87003         __ASSUME_STATFS_F_FLAGS.
87005         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87007         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87008         Add sys/fanotify.h.
87009         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87010         fanotify_mask for GLIBC_2.13.
87011         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87012         fanotify_init and fanotify_mark.
87013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87014         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87016         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87017         Add prlimit.
87018         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87019         prlimit64 for GLIBC_2.13.
87020         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87021         prlimit64.
87022         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87023         syscall.
87024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87025         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87026         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87027         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87028         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87029         add prlimit alias.
87030         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87032         [BZ #11903]
87033         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87034         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87036         * nss/Makefile: Add rules to build and run tst-nss-test1.
87037         * shlib-versions: Add entry for libnss_test1.
87038         * nss/nss_test1.c: New file.
87039         * nss/tst-nss-test1.c: New file.
87041         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87042         (__nss_configure_lookup): Set appropriate entry in
87043         __nss_configure_lookup to true.
87044         * nss/nsswitch.h: Define enum with indeces of databases in
87045         databases and __nss_database_custom arrays.  Declare
87046         __nss_database_custom.
87047         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87048         to avoid using nscd when custom rules are installed.
87049         * nss/getXXbyYY_r.c: Likewise.
87050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87052         * nss/nss_files/files-parse.c: Whitespace fixes.
87054 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87056         [BZ #11883]
87057         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87058         * posix/fnmatch_loop.c: Likewise.
87060 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87062         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87063         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87064         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87065         * Versions.def [GLIBC_2.13]: Add.
87067 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87069         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87070         Also fail if tpwd after pwuid call is NULL.
87072 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87074         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87075         when converting to ms.
87077 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87079         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87080         EOPNOTSUPP errors with ENOTTY.
87081         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87082         EOPNOTSUPP errors with ENOTTY.
87084 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87086         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87087         Add strcasecmp_l-ssse3.
87088         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87089         strcasecmp.
87090         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87091         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87092         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87094 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87096         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87098         * string/Makefile (strop-tests): Add strcasecmp.
87099         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87100         strcasecmp_l-nonascii.
87101         (gen-as-const-headers): Add locale-defines.sym.
87102         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87103         * sysdeps/x86_64/strcasecmp.S: New file.
87104         * sysdeps/x86_64/strcasecmp_l.S: New file.
87105         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87106         * sysdeps/x86_64/locale-defines.sym: New file.
87107         * string/test-strcasecmp.c: New file.
87109         * string/test-strcasestr.c: Test both ends of the range of characters.
87110         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87112 2010-07-29  Roland McGrath  <roland@redhat.com>
87114         [BZ #11856]
87115         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87117 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87119         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87120         for ld.so.
87122 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87124         * manual/memory.texi (Malloc Tunable Parameters): Document
87125         M_PERTURB.
87127 2010-07-26  Roland McGrath  <roland@redhat.com>
87129         [BZ #11840]
87130         * configure.in (-fgnu89-inline check): Set and substitute
87131         gnu89_inline, not libc_cv_gnu89_inline.
87132         * configure: Regenerated.
87133         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87135 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87137         * string/test-strnlen.c: New file.
87138         * string/Makefile (strop-tests): Add strnlen.
87139         * string/tester.c (test_strnlen): Add a few more test cases.
87140         * string/tst-strlen.c: Better error reporting.
87142         * sysdeps/x86_64/strnlen.S: New file.
87144 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87146         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87147         lower-latency instructions.
87149 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87151         * string/test-strcasestr.c: New file.
87152         * string/test-strstr.c: New file.
87153         * string/Makefile (strop-tests): Add strstr and strcasestr.
87154         * string/str-two-way.h: Don't undefine MAX.
87155         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87157 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87160         strcasestr-nonascii.
87161         (CFLAGS-strcasestr-nonascii.c): Define.
87162         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87163         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87164         Remove unused attribute.
87166 2010-07-20  Roland McGrath  <roland@redhat.com>
87168         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87169         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87170         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87171         like LD_HWCAP_MASK can disable hwcaps.
87173 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87175         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87177 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87179         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87180         call in strcasestr.
87181         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87182         __strcasestr_sse42_nonascii.
87183         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87184         strcasestr-nonascii.c.
87185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87187 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87189         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87190         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87191         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87192         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87194 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87196         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87197         fcntl.
87199 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87201         [BZ #11577]
87202         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87203         dl_signal_cerror.
87205 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87207         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87208         _PC_PIPE_BUF using F_GETPIPE_SZ.
87210 2010-07-05  Roland McGrath  <roland@redhat.com>
87212         * manual/arith.texi (Rounding Functions): Fix rint description
87213         implicit in round description.
87215 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87217         * elf/Makefile: Fix linking for a few tests to make recent linker
87218         happy.
87220 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87222         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87223         $(common-objpfx)libc_nonshared.a.
87225 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87227         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87228         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87229         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87230         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87231         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87232         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87233         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87234         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87249         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87250         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87251         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87252         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87253         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87254         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87255         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87256         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87257         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87258         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87259         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87260         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87276 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87278         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87279         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87280         * string/memmove.c (memmove): Renamed to ...
87281         (MEMMOVE): ...this.  Default to memmove.
87282         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87283         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87284         (END_CHK): Define.
87285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87286         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87287         mempcpy-ssse3-back memmove-ssse3-back.
87288         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87289         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87291         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87292         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87293         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87294         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87295         * sysdeps/x86_64/multiarch/memmove.c: New file.
87296         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87297         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87298         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87299         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87300         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87301         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87302         Define.
87303         (index_Fast_Copy_Backward): Define.
87304         (HAS_ARCH_FEATURE): Define.
87305         (HAS_FAST_REP_STRING): Define.
87306         (HAS_FAST_COPY_BACKWARD): Define.
87308 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87310         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87311         Restore proper fallback handling.
87313 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87315         [BZ #11701]
87316         * posix/group_member.c (__group_member): Correct checking loop.
87318         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87319         OOM in getpwuid_r correctly.  Return error number when the caller
87320         should return, otherwise -1.
87321         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87322         call returning > 0 value.
87323         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87325 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87327         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87328         libc_nonshared.a from targets in modules-names.
87330 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87332         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87333         requires it.
87335 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87337         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87338         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87342 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87344         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87346 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87348         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87349         and F_GETPIPE_SZ.
87350         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87351         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87352         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87354         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87355         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87357 2010-06-14  Roland McGrath  <roland@redhat.com>
87359         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87361 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87363         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87364         __REDIRECT followed by __THROW.
87365         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87366         * posix/getopt.h (getopt): Likewise.
87368 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87370         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87371         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87372         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87373         in AT_FLAGS.
87374         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87375         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87377 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87379         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87381 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87383         [BZ #11640]
87384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87385         Properly check family and model.
87387 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87389         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87391 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87393         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87395 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87397         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87398         symbol reference.
87400 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87402         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87403         symbol reference.
87405 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87407         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87408         and internal_recvmmsg.
87409         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87410         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87411         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87412         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87414         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87415         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87416         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87418 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87420         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87422 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87424         POWER7 optimizations.
87425         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87426         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87428 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87430         * version.h: Update for 2.13 development version.
87432 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87434         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87435         exceptions.  Return 0.
87437 2010-05-07  Roland McGrath  <roland@redhat.com>
87439         * elf/ldconfig.c (main): Add a const.
87441 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87443         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87444         (args_options): Add no-idn option.
87445         (ahosts_keys_int): Add idn_flags to ai_flags.
87446         (parse_option): Handle 'i' option to clear idn_flags.
87448         * malloc/malloc.c (_int_free): Possible race in the most recently
87449         added check.  Only act on the data if no current modification
87450         happened.
87452 See ChangeLog.17 for earlier changes.