The internal header include/string.h does not work in C++: it causes link errors
[glibc.git] / ChangeLog
blobcaf784ed17ee0fe07c89b3a329dcf9c680492863
1 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3         * include/string.h: Add __cplusplus check.
5 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7         [BZ #21134]
8         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9         "divide by zero" exception when the input is zero.
10         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
11         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
12         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
13         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
14         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
18         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
19         and include ...
20         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
21         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
22         to, and include ...
23         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
24         file.
25         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
26         and include ...
27         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
28         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
29         and include ...
30         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
31         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
32         and include ...
33         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
34         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
35         and include ...
36         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
37         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
38         to, and include ...
39         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
40         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
41         and include ...
42         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
44 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
46         * math/libm-test-support.h: Do not include <math-tests-arch.h>
47         here.
48         * math/libm-test-support.c (libm_test_init): Do not call
49         INIT_ARCH_EXT here.
50         * math/libm-test-driver.c: Include <math-tests-arch.h>.
51         (main): Call INIT_ARCH_EXT.
53 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
55         [BZ #21130]
56         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
57         with the "invalid" exception raised when x is -Inf.
58         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
62         * string/bits/string2.h (strchr): Remove define.
64 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
66         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
67         tst-avx512.
68         (test-extras): Add tst-avx-aux and tst-avx512-aux.
69         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
70         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
71         ($(objpfx)tst-sse): New rule.
72         ($(objpfx)tst-avx): Likewise.
73         ($(objpfx)tst-avx512): Likewise.
74         (CFLAGS-tst-avx-aux.c): New.
75         (CFLAGS-tst-avxmod.c): Likewise.
76         (CFLAGS-tst-avx512-aux.c): Likewise.
77         (CFLAGS-tst-avx512mod.c): Likewise.
78         * sysdeps/x86_64/tst-avx-aux.c: New file.
79         * sysdeps/x86_64/tst-avx.c: Likewise.
80         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
81         * sysdeps/x86_64/tst-avx512.c: Likewise.
82         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
83         * sysdeps/x86_64/tst-avxmod.c: Likewise.
84         * sysdeps/x86_64/tst-sse.c: Likewise.
85         * sysdeps/x86_64/tst-ssemod.c: Likewise.
87 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
89         * math/auto-libm-test-in: Add more tests of csin and csinh.
90         * math/auto-libm-test-out-csin: Regenerated.
91         * math/auto-libm-test-out-csinh: Likewise.
92         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
93         auto-libm-test-in.
94         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
96 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
98         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
99         libm-compat-calls-auto.
100         (libm-compat-calls): Likewise.
101         (libm-compat-calls-auto): Rename to libm-compat-calls and add
102         w_lgamma_compatF and k_standardF (merged from the items above).
103         (libm-routines): Use libm-compat-calls, instead of
104         libm-compat-calls-auto, with type-foreach.
106 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
108         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
109         macro.
110         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
111         (CFLAGS-test-ifloat.c): ... this.  Remove
112         -U__LIBC_INTERNAL_MATH_INLINES.
113         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
114         (CFLAGS-test-idouble.c): ... this.  Remove
115         -U__LIBC_INTERNAL_MATH_INLINES.
116         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
117         (CFLAGS-test-ildouble.c): ... this.  Remove
118         -U__LIBC_INTERNAL_MATH_INLINES.
120 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
122         * math/libm-test-support.c: New file.  Content from
123         math/libm-test-driver.c.
124         * math/libm-test-support.h: Likewise.
125         * math/libm-test-support-double.c: New file.
126         * math/libm-test-support-float.c: Likewise.
127         * math/libm-test-support-ldouble.c: Likewise.
128         * math/libm-test-driver.c: Remove main comment and header
129         includes.  Include libm-test-support.h.
130         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
131         (flag_test_errno): Remove static.
132         (flag_test_exceptions): Likewise.
133         (flag_test_finite): Likewise.
134         (flag_test_inline): Likewise.
135         (flag_test_mathvec): Likewise.
136         (test_msg): Likewise.
137         (NO_EXCEPTION): Remove.
138         (INVALID_EXCEPTION): Likewise.
139         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
140         (OVERFLOW_EXCEPTION): Likewise.
141         (UNDERFLOW_EXCEPTION): Likewise.
142         (INEXACT_EXCEPTION): Likewise.
143         (INVALID_EXCEPTION_OK): Likewise.
144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
145         (OVERFLOW_EXCEPTION_OK): Likewise.
146         (UNDERFLOW_EXCEPTION_OK): Likewise.
147         (NO_INEXACT_EXCEPTION): Likewise.
148         (EXCEPTIONS_OK): Likewise.
149         (IGNORE_ZERO_INF_SIGN): Likewise.
150         (TEST_NAN_SIGN): Likewise.
151         (TEST_NAN_PAYLOAD): Likewise.
152         (NO_TEST_INLINE): Likewise.
153         (XFAIL_TEST): Likewise.
154         (ERRNO_UNCHANGED): Likewise.
155         (ERRNO_EDOM): Likewise.
156         (ERRNO_ERANGE): Likewise.
157         (IGNORE_RESULT): Likewise.
158         (NON_FINITE): Likewise.
159         (TEST_SNAN): Likewise.
160         (NO_TEST_MATHVEC): Likewise.
161         (__CONCATX): Likewise.
162         (TYPE_MIN): Likewise.
163         (TYPE_TRUE_MIN): Likewise.
164         (TYPE_MAX): Likewise.
165         (MIN_EXP): Likewise.
166         (MAX_EXP): Likewise.
167         (MANT_DIG): Likewise.
168         (FSTR_MAX): Likewise.
169         (ulp_idx): Likewise.
170         (qtype_str): Remove static.
171         (TEST_COND_binary32): Remove.
172         (TEST_COND_binary64): Likewise.
173         (TEST_COND_binary128): Likewise.
174         (TEST_COND_ibm128): Likewise.
175         (TEST_COND_intel96): Likewise.
176         (TEST_COND_m68k96): Likewise.
177         (TEST_COND_ibm128_libgcc): Likewise.
178         (XFAIL_IBM128_LIBGCC): Likewise.
179         (PAYLOAD_DIG): Likewise.
180         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
181         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
182         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
183         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
184         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
185         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
186         (TEST_COND_long32): Likewise.
187         (TEST_COND_long64): Likewise.
188         (TEST_COND_before_rounding): Likewise.
189         (TEST_COND_after_rounding): Likewise.
190         (ulps_file_name): Likewise.
191         (ulps_file): Likewise.
192         (output_ulps): Likewise.
193         (output_dir): Likewise.
194         (noErrors): Likewise.
195         (noTests): Likewise.
196         (noExcTests): Likewise.
197         (noErrnoTests): Likewise.
198         (verbose): Likewise.
199         (output_max_error): Likewise.
200         (output_points): Likewise.
201         (ignore_max_ulp): Likewise.
202         (max_error): Likewise.
203         (real_max_error): Likewise.
204         (imag_max_error): Likewise.
205         (prev_max_error): Likewise.
206         (prev_real_max_error): Likewise.
207         (prev_imag_max_error): Likewise.
208         (max_valid_error): Likewise.
209         (TYPE_DECIMAL_DIG): Likewise.
210         (TYPE_HEX_DIG): Likewise.
211         (fmt_ftostr): Likewise.
212         (compare_ulp_data): Likewise.
213         (find_ulps): Likewise.
214         (init_max_error): Likewise.
215         (set_max_error): Likewise.
216         (print_float): Likewise.
217         (print_screen): Likewise.
218         (print_screen_max_error): Likewise.
219         (update_stats): Likewise.
220         (print_function_ulps): Likewise.
221         (print_complex_function_ulps): Likewise.
222         (fpstack_test): Likewise.
223         (print_max_error): Likewise.
224         (print_complex_max_error): Likewise.
225         (test_single_exception): Likewise.
226         (test_exceptions): Likewise.
227         (test_single_errno): Likewise.
228         (test_errno): Likewise.
229         (ULPDIFF): Likewise.
230         (ulp): Likewise.
231         (check_float_internal): Likewise.
232         (check_float): Likewise.
233         (check_complex): Likewise.
234         (check_int): Likewise.
235         (check_long): Likewise.
236         (check_bool): Likewise.
237         (check_longlong): Likewise.
238         (check_intmax_t): Likewise.
239         (check_uintmax_t): Likewise.
240         (enable_test): Likewise.
241         (matherr): Likewise.
242         (initialize): Likewise.
243         (options): Likewise.
244         (doc): Remove static.
245         (argp): Likewise.
246         (parse_opt): Remove.
247         (check_ulp): Likewise.
248         (libm_test_init): Likewise.
249         (libm_test_finish): Likewise.
250         * math/Makefile (libm-test-support): New variable.
251         (test-extras): Add libm-test-support files.
252         (extra-test-objs): Likewise.
253         (CFLAGS-libm-test-support-float.c): New variable.
254         (CFLAGS-libm-test-support-double.c): Likewise.
255         (CFLAGS-libm-test-support-ldouble.c): Likewise.
256         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
257         libm-test-support objects.
259 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
261         * math/Makefile (libm-calls): Move w_exp...
262         (libm-compat-calls-auto): Here.
264         * math/w_expl.c: Add suffix "_compat" to filename.
265         * sysdeps/ia64/fpu/w_expl.c: Likewise.
266         * sysdeps/ia64/fpu/w_expf.c: Likewise.
267         * sysdeps/ia64/fpu/w_exp.c: Likewise.
268         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
269         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
270         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
271         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
272         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
274         * math/w_expl_compat.c: New file, copied from above.
275         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
276         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
277         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
278         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
279         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
280         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
281         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
282         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
284         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
285         to filename.
286         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
288         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
289         copied from above and adjusted for the new filenames.
290         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
292 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
294         * math/Makefile (libm-calls): Move w_lgammaF...
295         (libm-compat-calls-auto): Here.
297         * math/w_lgamma.c: Add suffix "_compat2" to filename.
298         * math/w_lgammaf.c: Likewise.
299         * math/w_lgammal.c: Likewise.
301         * math/w_lgamma_compat2.c: New file, copied from above.
302         * math/w_lgammaf_compat2.c: Likewise.
303         * math/w_lgammal_compat2.c: Likewise.
305 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
307         * math/Makefile (libm-calls): Move w_lgammaF_r...
308         (libm-compat-calls-auto): Here.
310         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
311         * math/w_lgammaf_r.c: Likewise.
312         * math/w_lgammal_r.c: Likewise.
313         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
314         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
315         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
317         * math/w_lgamma_r_compat.c: New file, copied from above.
318         * math/w_lgammaf_r_compat.c: Likewise.
319         * math/w_lgammal_r_compat.c: Likewise.
320         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
321         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
322         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
324         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
325         to filename.
326         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
328         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
329         copied from above and adjusted for the new filenames.
330         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
332 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
335         calculation in SYSCALL_ERROR_HANDLER().
337 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
339         * manual/contrib.texi: Fix typo.
341 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
343         [BZ #21109]
344         * elf/dl-tunable-types.h (tunable_callback_t): Accept
345         tunable_val_t as argument.
346         * elf/dl-tunables.c (__tunable_set_val): Add comment.
347         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
348         argument.
349         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
351 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
353         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
354         Add PTRACE_EVENT_STOP.
355         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
357         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
358         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
359         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
360         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
362 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
364         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
365         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
366         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
367         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
368         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
369         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
370         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
371         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
372         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
373         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
375         [BZ #21112]
376         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
377         12 bits zero.
378         (cp_l): Update for new value of cp_h.
379         * math/auto-libm-test-in: Add another test of pow.
380         * math/auto-libm-test-out-pow: Regenerated.
382 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
384         * manual/contrib.texi: Fix typo.
386 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
388         [BZ #15998]
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
390         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
393 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
395         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
396         STRCHR as __strchr_power8.
397         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
398         strlen as __strlen_power8.
400 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
402         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
403         unaligned load for shorter strings.
404         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
406 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
408         * math/libm-test-driver.c (flag_test_errno): New variable.
409         (flag_test_exceptions): Likewise.
410         (flag_test_finite): Likewise.
411         (flag_test_inline): Likewise.
412         (flag_test_mathvec): Likewise.
413         (test_msg): Likewise.
414         (ulp_idx): Likewise.
415         (qtype_str): Likewise.
416         (ULP_IDX): Remove macro.
417         (QTYPE_STR): Likewise.
418         (find_ulps): Use ulp_idx not ULP_IDX.
419         (print_function_ulps): Use qtype_str, printed with %s, not
420         QTYPE_STR, printed with concatentation to format string.
421         (print_complex_function_ulps): Likewise.
422         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
423         (test_errno): Use flag_test_errno not TEST_ERRNO.
424         (enable_test): Use flag_test_inline, flag_test_finite and
425         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
426         TEST_MATHVEC.
427         (libm_test_init): New function.  Factored out of main.
428         (libm_test_finish): Likewise.
429         (main): Call libm_test_init and libm_test_finish and move most
430         code to those functions.
432         * math/libm-test-driver.c (STRX): New macro.
433         (STR): Likewise.
434         (STR_FLOAT): Likewise.
435         (STR_VEC_LEN): Likewise.
436         (TEST_MSG): Likewise.  Define here instead of expecting to be
437         defined by including file.
438         * math/test-double-finite.c (TEST_MSG): Remove macro.
439         * math/test-double-vlen2.h (TEST_MSG): Likewise.
440         * math/test-double-vlen4.h (TEST_MSG): Likewise.
441         * math/test-double-vlen8.h (TEST_MSG): Likewise.
442         * math/test-double.c (TEST_MSG): Likewise.
443         * math/test-float-finite.c (TEST_MSG): Likewise.
444         * math/test-float-vlen16.h (TEST_MSG): Likewise.
445         * math/test-float-vlen4.h (TEST_MSG): Likewise.
446         * math/test-float-vlen8.h (TEST_MSG): Likewise.
447         * math/test-float.c (TEST_MSG): Likewise.
448         * math/test-idouble.c (TEST_MSG): Likewise.
449         * math/test-ifloat.c (TEST_MSG): Likewise.
450         * math/test-ildouble.c (TEST_MSG): Likewise.
451         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
452         * math/test-ldouble.c (TEST_MSG): Likewise.
454         * math/libm-test.inc: Move all tests of individual functions to
455         libm-test-*.inc and #include libm-test-*.c files.
456         (acos_test_data): Remove.
457         (acos_test): Likewise.
458         (acosh_test_data): Likewise.
459         (acosh_test): Likewise.
460         (asin_test_data): Likewise.
461         (asin_test): Likewise.
462         (asinh_test_data): Likewise.
463         (asinh_test): Likewise.
464         (atan_test_data): Likewise.
465         (atan_test): Likewise.
466         (atanh_test_data): Likewise.
467         (atanh_test): Likewise.
468         (atan2_test_data): Likewise.
469         (atan2_test): Likewise.
470         (cabs_test_data): Likewise.
471         (cabs_test): Likewise.
472         (cacos_test_data): Likewise.
473         (cacos_test): Likewise.
474         (cacosh_test_data): Likewise.
475         (cacosh_test): Likewise.
476         (canonicalize_test_data): Likewise.
477         (canonicalize_test): Likewise.
478         (carg_test_data): Likewise.
479         (carg_test): Likewise.
480         (casin_test_data): Likewise.
481         (casin_test): Likewise.
482         (casinh_test_data): Likewise.
483         (casinh_test): Likewise.
484         (catan_test_data): Likewise.
485         (catan_test): Likewise.
486         (catanh_test_data): Likewise.
487         (catanh_test): Likewise.
488         (cbrt_test_data): Likewise.
489         (cbrt_test): Likewise.
490         (ccos_test_data): Likewise.
491         (ccos_test): Likewise.
492         (ccosh_test_data): Likewise.
493         (ccosh_test): Likewise.
494         (ceil_test_data): Likewise.
495         (ceil_test): Likewise.
496         (cexp_test_data): Likewise.
497         (cexp_test): Likewise.
498         (cimag_test_data): Likewise.
499         (cimag_test): Likewise.
500         (clog_test_data): Likewise.
501         (clog_test): Likewise.
502         (clog10_test_data): Likewise.
503         (clog10_test): Likewise.
504         (conj_test_data): Likewise.
505         (conj_test): Likewise.
506         (copysign_test_data): Likewise.
507         (copysign_test): Likewise.
508         (cos_test_data): Likewise.
509         (cos_test): Likewise.
510         (cosh_test_data): Likewise.
511         (cosh_test): Likewise.
512         (cpow_test_data): Likewise.
513         (cpow_test): Likewise.
514         (cproj_test_data): Likewise.
515         (cproj_test): Likewise.
516         (creal_test_data): Likewise.
517         (creal_test): Likewise.
518         (csin_test_data): Likewise.
519         (csin_test): Likewise.
520         (csinh_test_data): Likewise.
521         (csinh_test): Likewise.
522         (csqrt_test_data): Likewise.
523         (csqrt_test): Likewise.
524         (ctan_test_data): Likewise.
525         (ctan_test): Likewise.
526         (ctanh_test_data): Likewise.
527         (ctanh_test): Likewise.
528         (erf_test_data): Likewise.
529         (erf_test): Likewise.
530         (erfc_test_data): Likewise.
531         (erfc_test): Likewise.
532         (exp_test_data): Likewise.
533         (exp_test): Likewise.
534         (exp10_test_data): Likewise.
535         (exp10_test): Likewise.
536         (pow10_test): Likewise.
537         (exp2_test_data): Likewise.
538         (exp2_test): Likewise.
539         (expm1_test_data): Likewise.
540         (expm1_test): Likewise.
541         (fabs_test_data): Likewise.
542         (fabs_test): Likewise.
543         (fdim_test_data): Likewise.
544         (fdim_test): Likewise.
545         (floor_test_data): Likewise.
546         (floor_test): Likewise.
547         (fma_test_data): Likewise.
548         (fma_test): Likewise.
549         (fmax_test_data): Likewise.
550         (fmax_test): Likewise.
551         (fmaxmag_test_data): Likewise.
552         (fmaxmag_test): Likewise.
553         (fmin_test_data): Likewise.
554         (fmin_test): Likewise.
555         (fminmag_test_data): Likewise.
556         (fminmag_test): Likewise.
557         (fmod_test_data): Likewise.
558         (fmod_test): Likewise.
559         (fpclassify_test_data): Likewise.
560         (fpclassify_test): Likewise.
561         (frexp_test_data): Likewise.
562         (frexp_test): Likewise.
563         (fromfp_test_data): Likewise.
564         (fromfp_test): Likewise.
565         (fromfpx_test_data): Likewise.
566         (fromfpx_test): Likewise.
567         (getpayload_test_data): Likewise.
568         (getpayload_test): Likewise.
569         (hypot_test_data): Likewise.
570         (hypot_test): Likewise.
571         (ilogb_test_data): Likewise.
572         (ilogb_test): Likewise.
573         (iscanonical_test_data): Likewise.
574         (iscanonical_test): Likewise.
575         (iseqsig_test_data): Likewise.
576         (iseqsig_test): Likewise.
577         (isfinite_test_data): Likewise.
578         (isfinite_test): Likewise.
579         (finite_test): Likewise.
580         (isgreater_test_data): Likewise.
581         (isgreater_test): Likewise.
582         (isgreaterequal_test_data): Likewise.
583         (isgreaterequal_test): Likewise.
584         (isinf_test_data): Likewise.
585         (isinf_test): Likewise.
586         (isless_test_data): Likewise.
587         (isless_test): Likewise.
588         (islessequal_test_data): Likewise.
589         (islessequal_test): Likewise.
590         (islessgreater_test_data): Likewise.
591         (islessgreater_test): Likewise.
592         (isnan_test_data): Likewise.
593         (isnan_test): Likewise.
594         (isnormal_test_data): Likewise.
595         (isnormal_test): Likewise.
596         (issignaling_test_data): Likewise.
597         (issignaling_test): Likewise.
598         (issubnormal_test_data): Likewise.
599         (issubnormal_test): Likewise.
600         (isunordered_test_data): Likewise.
601         (isunordered_test): Likewise.
602         (iszero_test_data): Likewise.
603         (iszero_test): Likewise.
604         (j0_test_data): Likewise.
605         (j0_test): Likewise.
606         (j1_test_data): Likewise.
607         (j1_test): Likewise.
608         (jn_test_data): Likewise.
609         (jn_test): Likewise.
610         (lgamma_test_data): Likewise.
611         (lgamma_test): Likewise.
612         (gamma_test): Likewise.
613         (llogb_test_data): Likewise.
614         (llogb_test): Likewise.
615         (lrint_test_data): Likewise.
616         (lrint_test): Likewise.
617         (llrint_test_data): Likewise.
618         (llrint_test): Likewise.
619         (log_test_data): Likewise.
620         (log_test): Likewise.
621         (log10_test_data): Likewise.
622         (log10_test): Likewise.
623         (log1p_test_data): Likewise.
624         (log1p_test): Likewise.
625         (log2_test_data): Likewise.
626         (log2_test): Likewise.
627         (logb_test_data): Likewise.
628         (logb_test): Likewise.
629         (lround_test_data): Likewise.
630         (lround_test): Likewise.
631         (llround_test_data): Likewise.
632         (llround_test): Likewise.
633         (modf_test_data): Likewise.
634         (modf_test): Likewise.
635         (nearbyint_test_data): Likewise.
636         (nearbyint_test): Likewise.
637         (nextafter_test_data): Likewise.
638         (nextafter_test): Likewise.
639         (nextup_test_data): Likewise.
640         (nextup_test): Likewise.
641         (nextdown_test_data): Likewise.
642         (nextdown_test): Likewise.
643         (nexttoward_test_data): Likewise.
644         (nexttoward_test): Likewise.
645         (pow_test_data): Likewise.
646         (pow_test): Likewise.
647         (remainder_test_data): Likewise.
648         (remainder_test): Likewise.
649         (drem_test): Likewise.
650         (remquo_test_data): Likewise.
651         (remquo_test): Likewise.
652         (rint_test_data): Likewise.
653         (rint_test): Likewise.
654         (round_test_data): Likewise.
655         (round_test): Likewise.
656         (roundeven_test_data): Likewise.
657         (roundeven_test): Likewise.
658         (scalb_test_data): Likewise.
659         (scalb_test): Likewise.
660         (scalbn_test_data): Likewise.
661         (scalbn_test): Likewise.
662         (ldexp_test): Likewise.
663         (scalbln_test_data): Likewise.
664         (scalbln_test): Likewise.
665         (setpayload_test_data): Likewise.
666         (setpayload_test): Likewise.
667         (setpayloadsig_test_data): Likewise.
668         (setpayloadsig_test): Likewise.
669         (signbit_test_data): Likewise.
670         (signbit_test): Likewise.
671         (sin_test_data): Likewise.
672         (sin_test): Likewise.
673         (sincos_test_data): Likewise.
674         (sincos_test): Likewise.
675         (sinh_test_data): Likewise.
676         (sinh_test): Likewise.
677         (sqrt_test_data): Likewise.
678         (sqrt_test): Likewise.
679         (tan_test_data): Likewise.
680         (tan_test): Likewise.
681         (tanh_test_data): Likewise.
682         (tanh_test): Likewise.
683         (tgamma_test_data): Likewise.
684         (tgamma_test): Likewise.
685         (totalorder_test_data): Likewise.
686         (totalorder_test): Likewise.
687         (totalordermag_test_data): Likewise.
688         (totalordermag_test): Likewise.
689         (trunc_test_data): Likewise.
690         (trunc_test): Likewise.
691         (ufromfp_test_data): Likewise.
692         (ufromfp_test): Likewise.
693         (ufromfpx_test_data): Likewise.
694         (ufromfpx_test): Likewise.
695         (y0_test_data): Likewise.
696         (y0_test): Likewise.
697         (y1_test_data): Likewise.
698         (y1_test): Likewise.
699         (yn_test_data): Likewise.
700         (yn_test): Likewise.
701         (significand_test_data): Likewise.
702         (significand_test): Likewise.
703         * math/Makefile (auto-libm-test-out-files): Remove variable.
704         (libm-test-funcs-noauto): New variable.
705         (libm-test-funcs-all): Likewise.
706         (libm-test-c-auto): Likewise.
707         (libm-test-c-noauto): Likewise.
708         (libm-tests-generated): Add $(libm-test-c-auto) and
709         $(libm-test-c-noauto).
710         (generated): Do not add auto-libm-test-out.
711         (libm-test-c-auto-obj): New variable.
712         (libm-test-c-noauto-obj): Likewise.
713         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
714         ($(libm-test-c-noauto-obj)): New static pattern rule.
715         ($(libm-test-c-auto-obj)): Likewise.
716         (libm-test-incs): New variable.
717         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
718         and pass it to gen-libm-have-vector-test.sh.
719         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
720         be passed on command line.
721         * math/libm-test-acos.inc: New file.  Content from
722         math/libm-test.inc.
723         * math/libm-test-acosh.inc: Likewise.
724         * math/libm-test-asin.inc: Likewise.
725         * math/libm-test-asinh.inc: Likewise.
726         * math/libm-test-atan.inc: Likewise.
727         * math/libm-test-atan2.inc: Likewise.
728         * math/libm-test-atanh.inc: Likewise.
729         * math/libm-test-cabs.inc: Likewise.
730         * math/libm-test-cacos.inc: Likewise.
731         * math/libm-test-cacosh.inc: Likewise.
732         * math/libm-test-canonicalize.inc: Likewise.
733         * math/libm-test-carg.inc: Likewise.
734         * math/libm-test-casin.inc: Likewise.
735         * math/libm-test-casinh.inc: Likewise.
736         * math/libm-test-catan.inc: Likewise.
737         * math/libm-test-catanh.inc: Likewise.
738         * math/libm-test-cbrt.inc: Likewise.
739         * math/libm-test-ccos.inc: Likewise.
740         * math/libm-test-ccosh.inc: Likewise.
741         * math/libm-test-ceil.inc: Likewise.
742         * math/libm-test-cexp.inc: Likewise.
743         * math/libm-test-cimag.inc: Likewise.
744         * math/libm-test-clog.inc: Likewise.
745         * math/libm-test-clog10.inc: Likewise.
746         * math/libm-test-conj.inc: Likewise.
747         * math/libm-test-copysign.inc: Likewise.
748         * math/libm-test-cos.inc: Likewise.
749         * math/libm-test-cosh.inc: Likewise.
750         * math/libm-test-cpow.inc: Likewise.
751         * math/libm-test-cproj.inc: Likewise.
752         * math/libm-test-creal.inc: Likewise.
753         * math/libm-test-csin.inc: Likewise.
754         * math/libm-test-csinh.inc: Likewise.
755         * math/libm-test-csqrt.inc: Likewise.
756         * math/libm-test-ctan.inc: Likewise.
757         * math/libm-test-ctanh.inc: Likewise.
758         * math/libm-test-erf.inc: Likewise.
759         * math/libm-test-erfc.inc: Likewise.
760         * math/libm-test-exp.inc: Likewise.
761         * math/libm-test-exp10.inc: Likewise.
762         * math/libm-test-exp2.inc: Likewise.
763         * math/libm-test-expm1.inc: Likewise.
764         * math/libm-test-fabs.inc: Likewise.
765         * math/libm-test-fdim.inc: Likewise.
766         * math/libm-test-floor.inc: Likewise.
767         * math/libm-test-fma.inc: Likewise.
768         * math/libm-test-fmax.inc: Likewise.
769         * math/libm-test-fmaxmag.inc: Likewise.
770         * math/libm-test-fmin.inc: Likewise.
771         * math/libm-test-fminmag.inc: Likewise.
772         * math/libm-test-fmod.inc: Likewise.
773         * math/libm-test-fpclassify.inc: Likewise.
774         * math/libm-test-frexp.inc: Likewise.
775         * math/libm-test-fromfp.inc: Likewise.
776         * math/libm-test-fromfpx.inc: Likewise.
777         * math/libm-test-getpayload.inc: Likewise.
778         * math/libm-test-hypot.inc: Likewise.
779         * math/libm-test-ilogb.inc: Likewise.
780         * math/libm-test-iscanonical.inc: Likewise.
781         * math/libm-test-iseqsig.inc: Likewise.
782         * math/libm-test-isfinite.inc: Likewise.
783         * math/libm-test-isgreater.inc: Likewise.
784         * math/libm-test-isgreaterequal.inc: Likewise.
785         * math/libm-test-isinf.inc: Likewise.
786         * math/libm-test-isless.inc: Likewise.
787         * math/libm-test-islessequal.inc: Likewise.
788         * math/libm-test-islessgreater.inc: Likewise.
789         * math/libm-test-isnan.inc: Likewise.
790         * math/libm-test-isnormal.inc: Likewise.
791         * math/libm-test-issignaling.inc: Likewise.
792         * math/libm-test-issubnormal.inc: Likewise.
793         * math/libm-test-isunordered.inc: Likewise.
794         * math/libm-test-iszero.inc: Likewise.
795         * math/libm-test-j0.inc: Likewise.
796         * math/libm-test-j1.inc: Likewise.
797         * math/libm-test-jn.inc: Likewise.
798         * math/libm-test-lgamma.inc: Likewise.
799         * math/libm-test-llogb.inc: Likewise.
800         * math/libm-test-llrint.inc: Likewise.
801         * math/libm-test-llround.inc: Likewise.
802         * math/libm-test-log.inc: Likewise.
803         * math/libm-test-log10.inc: Likewise.
804         * math/libm-test-log1p.inc: Likewise.
805         * math/libm-test-log2.inc: Likewise.
806         * math/libm-test-logb.inc: Likewise.
807         * math/libm-test-lrint.inc: Likewise.
808         * math/libm-test-lround.inc: Likewise.
809         * math/libm-test-modf.inc: Likewise.
810         * math/libm-test-nearbyint.inc: Likewise.
811         * math/libm-test-nextafter.inc: Likewise.
812         * math/libm-test-nextdown.inc: Likewise.
813         * math/libm-test-nexttoward.inc: Likewise.
814         * math/libm-test-nextup.inc: Likewise.
815         * math/libm-test-pow.inc: Likewise.
816         * math/libm-test-remainder.inc: Likewise.
817         * math/libm-test-remquo.inc: Likewise.
818         * math/libm-test-rint.inc: Likewise.
819         * math/libm-test-round.inc: Likewise.
820         * math/libm-test-roundeven.inc: Likewise.
821         * math/libm-test-scalb.inc: Likewise.
822         * math/libm-test-scalbln.inc: Likewise.
823         * math/libm-test-scalbn.inc: Likewise.
824         * math/libm-test-setpayload.inc: Likewise.
825         * math/libm-test-setpayloadsig.inc: Likewise.
826         * math/libm-test-signbit.inc: Likewise.
827         * math/libm-test-significand.inc: Likewise.
828         * math/libm-test-sin.inc: Likewise.
829         * math/libm-test-sincos.inc: Likewise.
830         * math/libm-test-sinh.inc: Likewise.
831         * math/libm-test-sqrt.inc: Likewise.
832         * math/libm-test-tan.inc: Likewise.
833         * math/libm-test-tanh.inc: Likewise.
834         * math/libm-test-tgamma.inc: Likewise.
835         * math/libm-test-totalorder.inc: Likewise.
836         * math/libm-test-totalordermag.inc: Likewise.
837         * math/libm-test-trunc.inc: Likewise.
838         * math/libm-test-ufromfp.inc: Likewise.
839         * math/libm-test-ufromfpx.inc: Likewise.
840         * math/libm-test-y0.inc: Likewise.
841         * math/libm-test-y1.inc: Likewise.
842         * math/libm-test-yn.inc: Likewise.
843         * math/README.libm-test: Update.
845         * math/gen-auto-libm-tests.c: Update comment about use of program.
846         (generate_output): Add argument FUNCTION.
847         (main): Require extra argument.  Pass function name to
848         generate_output.
849         * math/Makefile (generated): Add auto-libm-test-out.
850         (libm-test-funcs-auto): New variable.
851         (auto-libm-test-out-files): New variable.
852         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
853         Concatenate those files to form $(objpfx)auto-libm-test-out and
854         use it as input to gen-libm-test.pl.
855         * math/README.libm-test: Update.
856         * math/auto-libm-test-out: Remove.
857         * math/auto-libm-test-out-acos: New generated file.
858         * math/auto-libm-test-out-acosh: Likewise.
859         * math/auto-libm-test-out-asin: Likewise.
860         * math/auto-libm-test-out-asinh: Likewise.
861         * math/auto-libm-test-out-atan: Likewise.
862         * math/auto-libm-test-out-atan2: Likewise.
863         * math/auto-libm-test-out-atanh: Likewise.
864         * math/auto-libm-test-out-cabs: Likewise.
865         * math/auto-libm-test-out-carg: Likewise.
866         * math/auto-libm-test-out-cbrt: Likewise.
867         * math/auto-libm-test-out-ccos: Likewise.
868         * math/auto-libm-test-out-ccosh: Likewise.
869         * math/auto-libm-test-out-cexp: Likewise.
870         * math/auto-libm-test-out-clog: Likewise.
871         * math/auto-libm-test-out-clog10: Likewise.
872         * math/auto-libm-test-out-cos: Likewise.
873         * math/auto-libm-test-out-cosh: Likewise.
874         * math/auto-libm-test-out-cpow: Likewise.
875         * math/auto-libm-test-out-csin: Likewise.
876         * math/auto-libm-test-out-csinh: Likewise.
877         * math/auto-libm-test-out-csqrt: Likewise.
878         * math/auto-libm-test-out-ctan: Likewise.
879         * math/auto-libm-test-out-ctanh: Likewise.
880         * math/auto-libm-test-out-erf: Likewise.
881         * math/auto-libm-test-out-erfc: Likewise.
882         * math/auto-libm-test-out-exp: Likewise.
883         * math/auto-libm-test-out-exp10: Likewise.
884         * math/auto-libm-test-out-exp2: Likewise.
885         * math/auto-libm-test-out-expm1: Likewise.
886         * math/auto-libm-test-out-fma: Likewise.
887         * math/auto-libm-test-out-hypot: Likewise.
888         * math/auto-libm-test-out-j0: Likewise.
889         * math/auto-libm-test-out-j1: Likewise.
890         * math/auto-libm-test-out-jn: Likewise.
891         * math/auto-libm-test-out-lgamma: Likewise.
892         * math/auto-libm-test-out-log: Likewise.
893         * math/auto-libm-test-out-log10: Likewise.
894         * math/auto-libm-test-out-log1p: Likewise.
895         * math/auto-libm-test-out-log2: Likewise.
896         * math/auto-libm-test-out-pow: Likewise.
897         * math/auto-libm-test-out-sin: Likewise.
898         * math/auto-libm-test-out-sincos: Likewise.
899         * math/auto-libm-test-out-sinh: Likewise.
900         * math/auto-libm-test-out-sqrt: Likewise.
901         * math/auto-libm-test-out-tan: Likewise.
902         * math/auto-libm-test-out-tanh: Likewise.
903         * math/auto-libm-test-out-tgamma: Likewise.
904         * math/auto-libm-test-out-y0: Likewise.
905         * math/auto-libm-test-out-y1: Likewise.
906         * math/auto-libm-test-out-yn: Likewise.
908         * math/Makefile (generated): Do not include libm-test.stmp.
909         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
910         on $(objpfx)libm-test.stmp.
911         ($(objpfx)libm-test.stmp): Remove rule.
912         ($(objpfx)libm-test-ulps.h): New rule.
913         ($(objpfx)libm-test.c): Likewise.
914         ($(objpfx)libm-have-vector-test.h): Likewise.
915         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
916         individual generated files, not libm-test.stmp.
918         * math/gen-libm-test.pl ($output_dir): Remove variable.
919         ($srcdir): Likewise.
920         ($opt_a): New variable.
921         ($opt_c): Likewise.
922         ($opt_C): Likewise.
923         ($opt_H): Likewise.
924         (-n): Make option take argument and use it as NewUlps output.
925         (-a): New option.  Use its argument for auto-libm-test-out input.
926         (-c): New option.  Use its argument for libm-test.inc input.
927         (-C): New option.  Use its argument for libm-test.c output.
928         (-H): New option.  Use its argument for libm-test-ulps.h output.
929         (top level): Only process inputs needed to generate outputs
930         specified by command-line options.  Only generate outputs
931         specified by command-line options.
932         * math/README.libm-test: Update example gen-libm-test.pl command.
933         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
934         commands.
935         (regen-ulps): Likewise.
937 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
939         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
940         * include/string.h (index): Remove define.
941         (rindex): Likewise.
942         * misc/getttyent.c (__getttyent): Rename index to strchr.
943         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
944         * sunrpc/rpc_main.c (mkfile_output): Likewise.
946 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
948         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
949         * math/libm-test.inc: Move all contents, other than tests of
950         individual functions, to libm-test-driver.c.
951         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
952         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
953         [!FE_UPWARD] (FE_UPWARD): Likewise.
954         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
955         (NO_EXCEPTION): Likewise.
956         (INVALID_EXCEPTION): Likewise.
957         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
958         (OVERFLOW_EXCEPTION): Likewise.
959         (UNDERFLOW_EXCEPTION): Likewise.
960         (INEXACT_EXCEPTION): Likewise.
961         (INVALID_EXCEPTION_OK): Likewise.
962         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
963         (OVERFLOW_EXCEPTION_OK): Likewise.
964         (UNDERFLOW_EXCEPTION_OK): Likewise.
965         (NO_INEXACT_EXCEPTION): Likewise.
966         (EXCEPTIONS_OK): Likewise.
967         (IGNORE_ZERO_INF_SIGN): Likewise.
968         (TEST_NAN_SIGN): Likewise.
969         (TEST_NAN_PAYLOAD): Likewise.
970         (NO_TEST_INLINE): Likewise.
971         (XFAIL_TEST): Likewise.
972         (ERRNO_UNCHANGED): Likewise.
973         (ERRNO_EDOM): Likewise.
974         (ERRNO_ERANGE): Likewise.
975         (IGNORE_RESULT): Likewise.
976         (NON_FINITE): Likewise.
977         (TEST_SNAN): Likewise.
978         (NO_TEST_MATHVEC): Likewise.
979         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
980         (__CONCATX): Likewise.
981         (TYPE_MIN): Likewise.
982         (TYPE_TRUE_MIN): Likewise.
983         (TYPE_MAX): Likewise.
984         (MIN_EXP): Likewise.
985         (MAX_EXP): Likewise.
986         (MANT_DIG): Likewise.
987         (FSTR_MAX): Likewise.
988         (ULP_IDX): Likewise.
989         (QTYPE_STR): Likewise.
990         (TEST_COND_binary32): Likewise.
991         (TEST_COND_binary64): Likewise.
992         (TEST_COND_binary128): Likewise.
993         (TEST_COND_ibm128): Likewise.
994         (TEST_COND_intel96): Likewise.
995         (TEST_COND_m68k96): Likewise.
996         (TEST_COND_ibm128_libgcc): Likewise.
997         (XFAIL_IBM128_LIBGCC): Likewise.
998         (PAYLOAD_DIG): Likewise.
999         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1000         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1001         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1002         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1003         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1004         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1005         (TEST_COND_long32): Likewise.
1006         (TEST_COND_long64): Likewise.
1007         (TEST_COND_before_rounding): Likewise.
1008         (TEST_COND_after_rounding): Likewise.
1009         (lit_pi_3_m_4_d): Likewise.
1010         (lit_pi_3_m_4_ln10_m_d): Likewise.
1011         (lit_pi_2_ln10_m_d): Likewise.
1012         (lit_pi_4_ln10_m_d): Likewise.
1013         (lit_pi_ln10_d): Likewise.
1014         (lit_pi_2_d): Likewise.
1015         (lit_pi_4_d): Likewise.
1016         (lit_pi): Likewise.
1017         (lit_e): Likewise.
1018         (ulps_file_name): Likewise.
1019         (ulps_file): Likewise.
1020         (output_ulps): Likewise.
1021         (output_dir): Likewise.
1022         (noErrors): Likewise.
1023         (noTests): Likewise.
1024         (noExcTests): Likewise.
1025         (noErrnoTests): Likewise.
1026         (verbose): Likewise.
1027         (output_max_error): Likewise.
1028         (output_points): Likewise.
1029         (ignore_max_ulp): Likewise.
1030         (plus_zero): Likewise.
1031         (minus_zero): Likewise.
1032         (plus_infty): Likewise.
1033         (minus_infty): Likewise.
1034         (qnan_value_pl): Likewise.
1035         (qnan_value): Likewise.
1036         (snan_value_pl): Likewise.
1037         (snan_value): Likewise.
1038         (max_value): Likewise.
1039         (min_value): Likewise.
1040         (min_subnorm_value): Likewise.
1041         (snan_value_ld): Likewise.
1042         (max_error): Likewise.
1043         (real_max_error): Likewise.
1044         (imag_max_error): Likewise.
1045         (prev_max_error): Likewise.
1046         (prev_real_max_error): Likewise.
1047         (prev_imag_max_error): Likewise.
1048         (max_valid_error): Likewise.
1049         (TYPE_DECIMAL_DIG): Likewise.
1050         (TYPE_HEX_DIG): Likewise.
1051         (fmt_ftostr): Likewise.
1052         (compare_ulp_data): Likewise.
1053         (find_ulps): Likewise.
1054         (init_max_error): Likewise.
1055         (set_max_error): Likewise.
1056         (print_float): Likewise.
1057         (print_screen): Likewise.
1058         (print_screen_max_error): Likewise.
1059         (update_stats): Likewise.
1060         (print_function_ulps): Likewise.
1061         (print_complex_function_ulps): Likewise.
1062         (fpstack_test): Likewise.
1063         (print_max_error): Likewise.
1064         (print_complex_max_error): Likewise.
1065         (test_single_exception): Likewise.
1066         (test_exceptions): Likewise.
1067         (test_single_errno): Likewise.
1068         (test_errno): Likewise.
1069         (ULPDIFF): Likewise.
1070         (ulp): Likewise.
1071         (check_float_internal): Likewise.
1072         (check_float): Likewise.
1073         (check_complex): Likewise.
1074         (check_int): Likewise.
1075         (check_long): Likewise.
1076         (check_bool): Likewise.
1077         (check_longlong): Likewise.
1078         (check_intmax_t): Likewise.
1079         (check_uintmax_t): Likewise.
1080         (enable_test): Likewise.
1081         (struct test_f_f_data): Likewise.
1082         (struct test_ff_f_data): Likewise.
1083         (struct test_fj_f_data): Likewise.
1084         (struct test_fi_f_data): Likewise.
1085         (struct test_fl_f_data): Likewise.
1086         (struct test_if_f_data): Likewise.
1087         (struct test_fff_f_data): Likewise.
1088         (struct test_fiu_M_data): Likewise.
1089         (struct test_fiu_U_data): Likewise.
1090         (struct test_c_f_data): Likewise.
1091         (struct test_f_f1_data): Likewise.
1092         (struct test_fF_f1_data): Likewise.
1093         (struct test_ffI_f1_data): Likewise.
1094         (struct test_c_c_data): Likewise.
1095         (struct test_cc_c_data): Likewise.
1096         (struct test_f_i_data): Likewise.
1097         (struct test_ff_i_data): Likewise.
1098         (struct test_f_l_data): Likewise.
1099         (struct test_f_L_data): Likewise.
1100         (struct test_fFF_11_data): Likewise.
1101         (struct test_Ff_b1_data): Likewise.
1102         (IF_ROUND_INIT_): Likewise.
1103         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
1104         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1105         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1106         (IF_ROUND_INIT_FE_UPWARD): Likewise.
1107         (ROUND_RESTORE_): Likewise.
1108         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
1109         (ROUND_RESTORE_FE_TONEAREST): Likewise.
1110         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
1111         (ROUND_RESTORE_FE_UPWARD): Likewise.
1112         (RM_): Likewise.
1113         (RM_FE_DOWNWARD): Likewise.
1114         (RM_FE_TONEAREST): Likewise.
1115         (RM_FE_TOWARDZERO): Likewise.
1116         (RM_FE_UPWARD): Likewise.
1117         (COMMON_TEST_SETUP): Likewise.
1118         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1119         (COMMON_TEST_CLEANUP): Likewise.
1120         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1121         (RUN_TEST_f_f): Likewise.
1122         (RUN_TEST_LOOP_f_f): Likewise.
1123         (RUN_TEST_fp_f): Likewise.
1124         (RUN_TEST_LOOP_fp_f): Likewise.
1125         (RUN_TEST_2_f): Likewise.
1126         (RUN_TEST_LOOP_2_f): Likewise.
1127         (RUN_TEST_ff_f): Likewise.
1128         (RUN_TEST_LOOP_ff_f): Likewise.
1129         (RUN_TEST_LOOP_fj_f): Likewise.
1130         (RUN_TEST_fi_f): Likewise.
1131         (RUN_TEST_LOOP_fi_f): Likewise.
1132         (RUN_TEST_fl_f): Likewise.
1133         (RUN_TEST_LOOP_fl_f): Likewise.
1134         (RUN_TEST_if_f): Likewise.
1135         (RUN_TEST_LOOP_if_f): Likewise.
1136         (RUN_TEST_fff_f): Likewise.
1137         (RUN_TEST_LOOP_fff_f): Likewise.
1138         (RUN_TEST_fiu_M): Likewise.
1139         (RUN_TEST_LOOP_fiu_M): Likewise.
1140         (RUN_TEST_fiu_U): Likewise.
1141         (RUN_TEST_LOOP_fiu_U): Likewise.
1142         (RUN_TEST_c_f): Likewise.
1143         (RUN_TEST_LOOP_c_f): Likewise.
1144         (RUN_TEST_f_f1): Likewise.
1145         (RUN_TEST_LOOP_f_f1): Likewise.
1146         (RUN_TEST_fF_f1): Likewise.
1147         (RUN_TEST_LOOP_fF_f1): Likewise.
1148         (RUN_TEST_fI_f1): Likewise.
1149         (RUN_TEST_LOOP_fI_f1): Likewise.
1150         (RUN_TEST_ffI_f1_mod8): Likewise.
1151         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
1152         (RUN_TEST_Ff_b1): Likewise.
1153         (RUN_TEST_LOOP_Ff_b1): Likewise.
1154         (RUN_TEST_Ffp_b1): Likewise.
1155         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1156         (RUN_TEST_c_c): Likewise.
1157         (RUN_TEST_LOOP_c_c): Likewise.
1158         (RUN_TEST_cc_c): Likewise.
1159         (RUN_TEST_LOOP_cc_c): Likewise.
1160         (RUN_TEST_f_i): Likewise.
1161         (RUN_TEST_LOOP_f_i): Likewise.
1162         (RUN_TEST_f_i_tg): Likewise.
1163         (RUN_TEST_LOOP_f_i_tg): Likewise.
1164         (RUN_TEST_ff_b): Likewise.
1165         (RUN_TEST_LOOP_ff_b): Likewise.
1166         (RUN_TEST_ff_i_tg): Likewise.
1167         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1168         (RUN_TEST_f_b): Likewise.
1169         (RUN_TEST_LOOP_f_b): Likewise.
1170         (RUN_TEST_f_b_tg): Likewise.
1171         (RUN_TEST_LOOP_f_b_tg): Likewise.
1172         (RUN_TEST_f_l): Likewise.
1173         (RUN_TEST_LOOP_f_l): Likewise.
1174         (RUN_TEST_f_L): Likewise.
1175         (RUN_TEST_LOOP_f_L): Likewise.
1176         (RUN_TEST_fFF_11): Likewise.
1177         (RUN_TEST_LOOP_fFF_11): Likewise.
1178         (VEC_SUFF): Likewise.
1179         (STR_CONCAT): Likewise.
1180         (STR_CON3): Likewise.
1181         (HAVE_VECTOR): Likewise.
1182         (START): Likewise.
1183         (END): Likewise.
1184         (END_COMPLEX): Likewise.
1185         (ALL_RM_TEST): Likewise.
1186         (matherr): Likewise.
1187         (initialize): Likewise.
1188         (options): Likewise.
1189         (doc): Likewise.
1190         (parse_opt): Likewise.
1191         (argp): Likewise.
1192         (check_ulp): Likewise.
1193         (main): Likewise.
1194         (do_test): New function.  Call tests of individual functions
1195         previously called from main.
1197         * math/libm-test.inc: Remove comment listing functions tested and
1198         not tested.
1200 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1202         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
1203         (allocate_stack): Remove COLORING_INCREMENT usage.
1204         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
1205         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
1207 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1209         * manual/libm-err-tab.pl (@all_functions): Change to
1210         %all_functions.  Initialize as empty.
1211         (parse_ulps): Add to %all_functions based on functions found in
1212         ulps files.  Ignore results for non-default rounding modes and
1213         vector functions.
1214         (print_platforms): Use %all_platforms.
1215         * manual/math.texi (Errors in Math Functions): Document omissions
1216         from the table.
1218         * math/Makefile (before-compile): Remove.
1220 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
1222         [BZ #21075]
1223         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
1224         unused assignment.
1225         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1227 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1229         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
1230         Add __glibc_unlikely hint.
1232 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1234         [BZ #16640]
1235         * sysdeps/i386/i686/strtok.S: Remove file.
1236         * sysdeps/i386/i686/strtok_r.S: Likewise.
1237         * sysdeps/i386/strtok.S: Likewise.
1238         * sysdeps/i386/strtok_r.S: Likewise.
1239         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
1240         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
1241         * sysdeps/x86_64/strtok.S: Likewise.
1242         * sysdeps/x86_64/strtok_r.S: Likewise.
1244         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
1245         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1246         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1247         (__ASSUME_FADVISE64_AS_64_64): Define.
1248         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
1249         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
1250         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
1251         __ALIGNMENT_ARG usage.
1252         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
1253         __NR_fadvise64_64 if it is not defined.
1255 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1257         * version.h (RELEASE): Set to "development"
1258         (VERSION): Set to 2.25.90.
1259         * NEWS: Add 2.26 section.
1261         * version.h (RELEASE): Set to "stable"
1262         (VERSION): Set to 2.25.
1263         * include/features.h (__GLIBC_MINOR__): Set to 25.
1265         * manual/contrib.texi: Add more contributors from this release
1266         and past releases.
1268         * NEWS (2.25): Add list of bugs fixed.
1270         * NEWS: Add missing news items.
1272 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1274         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
1275         parent if child exited in that manner.  Print WEXITSTATUS
1276         instead of the raw status.
1277         (do_test_prep): Rename to do_test.
1278         (do_test): Return the result of run_executable_sgid.
1279         (TEST_FUNCTION_ARGV): Adjust.
1281 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
1282             Florian Weimer  <fweimer@redhat.com>
1283             Carlos O'Donell  <carlos@redhat.com>
1285         [BZ #20915]
1286         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
1287         Do not initialize DTV.
1288         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1290 2017-02-03  David S. Miller  <davem@davemloft.net>
1292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
1293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
1295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
1297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
1299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1301         (libm-sysdep_routines): Update.
1302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
1303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
1304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
1306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1307         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
1308         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
1309         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
1310         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
1311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
1312         Likewise.
1313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
1315         Likewise.
1316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
1318         Likewise.
1319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
1321         Likewise.
1322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1324         (libm-sysdep_routines): Update.
1326 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1328         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
1329         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
1330         against unrelocated shared library.
1331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1333 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1335         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
1336         * elf/tst-env-setuid-tunables.c
1337         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
1338         GLIBC_TUNABLES is removed in a setgid process.
1340         [BZ #21073]
1341         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
1342         * elf/dl-tunables.c (tunables_strdup): Remove.
1343         (get_next_env): Also return the previous envp.
1344         (parse_tunables): Erase tunables of category
1345         TUNABLES_SECLEVEL_SXID_ERASE.
1346         (maybe_enable_malloc_check): Make MALLOC_CHECK_
1347         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
1348         (__tunables_init)[TUNABLES_FRONTEND ==
1349         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
1350         after parsing.
1351         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
1352         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
1353         * elf/dl-tunables.h (struct _tunable): Change member is_secure
1354         to security_level.
1355         * elf/dl-tunables.list: Add security_level annotations for all
1356         tunables.
1357         * scripts/gen-tunables.awk: Recognize and generate enum values
1358         for security_level.
1359         * elf/tst-env-setuid.c: New test case.
1360         * elf/tst-env-setuid-tunables: new test case.
1361         * elf/Makefile (tests-static): Add them.
1363 2017-02-01  Richard Henderson  <rth@twiddle.net>
1365         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
1366         adjusting the byte count.
1368 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
1370         * conform/Makefile (linknamespace-libs): Define.
1372         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
1373         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
1374         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
1375         operands.
1377 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
1379         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
1381 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1383         [BZ #21081]
1384         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1385         (L(stosb)): Add VZEROUPPER before ret.
1387 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
1388             Alexey Makhalov <amakhalov@vmware.com>
1389             Florian Weimer <fweimer@redhat.com>
1391         [BZ #20116]
1392         * nptl/pthread_create.c: Document concurrency notes.
1393         Enhance thread creation notes.
1394         (create_thread): Use bool *stopped_start.
1395         (START_THREAD_DEFN): Comment ownership of PD.
1396         (__pthread_create_2_1): Add local bool stopped_start and use
1397         that instead of pd->stopped_start where appropriate.
1398         * nptl/createthread.c (create_thread): Use bool *stopped_start.
1399         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
1400         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
1401         * nptl/tst-create-detached.c: New file.
1402         * nptl/Makefile (tests): Add tst-create-detached.
1403         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1404         Reference the enhanced thread creation notes.
1405         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
1406         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1407         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
1408         (__pthread_current_priority): Likewise.
1409         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
1410         xpthread_attr_init, xpthread_attr_setdetachstate, and
1411         xpthread_attr_setstacksize.
1412         * support/xpthread_attr_destroy.c: New file.
1413         * support/xpthread_attr_init.c: New file.
1414         * support/xpthread_attr_setdetachstate.c: New file.
1415         * support/xpthread_attr_setstacksize.c: New file.
1416         * support/xthread.h: Define prototypes for xpthread_attr_destroy
1417         xpthread_attr_init, xpthread_attr_setdetachstate, and
1418         xpthread_attr_setstacksize.
1420 2017-01-27  Florian Weimer  <fweimer@redhat.com>
1422         * nptl/Makefile (tests): Add tst-robust-fork.
1423         * nptl/tst-robust-fork.c: New file.
1424         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
1425         xpthread_mutex_consistent, xpthread_mutex_destroy,
1426         xpthread_mutex_init, xpthread_mutexattr_destroy,
1427         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
1428         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
1429         xpthread_mutexattr_settype.
1430         * support/xmmap.c: New file.
1431         * support/xmunmap.c: Likewise.
1432         * support/xpthread_mutex_consistent.c: Likewise.
1433         * support/xpthread_mutex_destroy.c: Likewise.
1434         * support/xpthread_mutex_init.c: Likewise.
1435         * support/xpthread_mutexattr_destroy.c: Likewise.
1436         * support/xpthread_mutexattr_init.c: Likewise.
1437         * support/xpthread_mutexattr_setprotocol.c: Likewise.
1438         * support/xpthread_mutexattr_setpshared.c: Likewise.
1439         * support/xpthread_mutexattr_setrobust.c: Likewise.
1440         * support/xpthread_mutexattr_settype.c: Likewise.
1441         * support/xthread.h (xpthread_mutexattr_destroy)
1442         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
1443         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
1444         (xpthread_mutexattr_settype, xpthread_mutex_init)
1445         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
1446         * support/xunistd.h (xmmap, xmunmap): Likewise.
1448 2017-01-25  Florian Weimer  <fweimer@redhat.com>
1450         * string/Makefile (xtests): Add comment.
1451         (LOCALES): Add en_GB.UTF-8.
1452         (tst-strcoll-overflow.out): Depend on generated locales.
1453         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
1454         (SIZE, TIMEOUT): Update comments.
1455         (do_test): Define as static.  Fail test if setlocale fails.
1456         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
1457         messages.
1458         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
1459         TIMEOUT at 300 seconds should be enough to run this test
1460         successfully.
1462 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1464         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1465         /* FALLTHRU */ comments.
1467 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
1469         [BZ #21053]
1470         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
1471         constants instead of the old R* ones.
1472         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
1473         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
1474         (NGREG): ... to this, to fit in with other architectures.
1475         (gpregset_t): Use new NGREG macro.
1476         [__USE_GNU]: Remove condition; all architectures other than tile
1477         are unconditional.
1478         (R*): Rename to REG_R*.
1480 2017-01-20  DJ Delorie  <dj@redhat.com>
1482         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
1483         (tunable_set_val_if_valid_range_signed) ... this, and ...
1484         (tunable_set_val_if_valid_range_unsigned) ... this.
1485         (tunable_initialize): Call the correct one of the above based on type.
1487 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
1489         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
1490         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1491         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1492         * sysdeps/microblaze/libm-test-ulps: Likewise.
1493         * sysdeps/sh/libm-test-ulps: Likewise.
1495         * math/README.libm-test: Update list of characters for input and
1496         output types.
1498 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1500         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1501         (__lll_unlock_elision): Fix adapt_count decrement.
1503 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
1505         * README.pretty-printers (Known issues): Warn about printers not
1506         always covering everything.
1507         * nptl/nptl-printers.py (MutexPrinter): Change output.
1508         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
1510 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1512         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
1513         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1514         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
1515         (__lll_lock_elision): Do not test futex before starting a
1516         transaction.  Use __glibc_likely instead of __builtin_expect.
1517         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
1518         (__lll_trylock_elision): Do not test futex before starting a
1519         transaction.  Use __glibc_likely instead of __builtin_expect.
1521 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1523         * po/Makefile (update-translations): New target.
1525 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1527         [BZ #21061]
1528         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
1530 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1532         * elf/dl-tunables (get_next_env): Always advance envp.
1533         * stdlib/tst-empty-env.c: New test case.
1534         * stdlib/Makefile (tests): Use it.
1536 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
1538         [BZ #21047]
1539         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
1540         name for instruction.
1541         [!__SOFTFP__] (_FPU_SETCW): Likewise.
1543 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1545         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
1546         for make install.
1548 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1550         * po/bg.po: Merge from Translation Project.
1551         * po/fr.po: Likewise.
1552         * po/ko.po: Likewise.
1553         * po/nl.po: Likewise.
1554         * po/sv.po: Likewise.
1556 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
1558         * manual/install.texi (Tools for Compilation): Update GCC version
1559         known to work to build glibc.
1560         * INSTALL: Regenerated.
1562 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1564         [BZ #21006]
1565         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
1567 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
1569         [BZ #21045]
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1571         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
1572         to __sigprocmask.
1574 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
1576         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
1577         wrap-around.
1578         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
1580         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
1582 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1584         * NEWS: Fix typo.
1586 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1588         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
1589         barriers and comments.
1590         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
1591         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1592         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1594 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1596         [BZ #19402]
1597         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
1598         mutexes.
1600 2016-01-13  Torvald Riegel  <triegel@redhat.com>
1602         [BZ #20985]
1603         * nptl/Makefile: Adapt.
1604         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1605         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1606         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
1607         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
1608         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
1609         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
1610         lll_robust* functions and adapt.
1611         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1612         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
1613         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1614         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
1616         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1617         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
1618         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
1619         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
1620         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
1621         __lll_robust_timedlock, __lll_robust_unlock): Remove.
1622         * nptl/lowlevelrobustlock.c: Remove file.
1623         * nptl/lowlevelrobustlock.sym: Likewise.
1624         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
1625         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
1627 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1629         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1631 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1633         * po/cs.po: Merge translations from the Translation Project.
1634         * po/de.po: Likewise.
1635         * po/pl.po: Likewise.
1636         * po/ru.po: Likewise.
1637         * po/tr.po: Likewise.
1638         * po/uk.po: Likewise.
1639         * po/vi.po: Likewise.
1640         * po/zh_CN.po: Likewise.
1642 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
1644         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1646         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
1647         object.
1649 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1651         [BZ #16458]
1652         * bits/uintn-identity.h: New file.
1653         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
1654         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
1655         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
1656         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
1657         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
1658         * string/endian.h: Include <bits/uintn-identity.h>.
1659         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
1660         __uint16_identity.
1661         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
1662         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
1663         __uint32_identity.
1664         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
1665         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
1666         __uint64_identity.
1667         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
1668         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
1669         __uint16_identity.
1670         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
1671         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
1672         __uint32_identity.
1673         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
1674         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
1675         __uint64_identity.
1676         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
1677         * string/Makefile (headers): Add bits/uintn-identity.h.
1678         (tests): Add test-endian-types.
1679         * string/test-endian-types.c: New file.
1680         * inet/Makefile (tests): Add test-hnto-types.
1681         * inet/test-hnto-types.c: New file.
1683 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1685         * po/be.po: Update from Translation Project.
1686         * po/bg.po: Likewise.
1687         * po/ca.po: Likewise.
1688         * po/cs.po: Likewise.
1689         * po/da.po: Likewise.
1690         * po/de.po: Likewise.
1691         * po/el.po: Likewise.
1692         * po/eo.po: Likewise.
1693         * po/es.po: Likewise.
1694         * po/fi.po: Likewise.
1695         * po/fr.po: Likewise.
1696         * po/gl.po: Likewise.
1697         * po/hr.po: Likewise.
1698         * po/hu.po: Likewise.
1699         * po/ia.po: Likewise.
1700         * po/id.po: Likewise.
1701         * po/it.po: Likewise.
1702         * po/ja.po: Likewise.
1703         * po/ko.po: Likewise.
1704         * po/lt.po: Likewise.
1705         * po/nb.po: Likewise.
1706         * po/nl.po: Likewise.
1707         * po/pl.po: Likewise.
1708         * po/pt_BR.po: Likewise.
1709         * po/ru.po: Likewise.
1710         * po/rw.po: Likewise.
1711         * po/sk.po: Likewise.
1712         * po/sl.po: Likewise.
1713         * po/sv.po: Likewise.
1714         * po/tr.po: Likewise.
1715         * po/uk.po: Likewise.
1716         * po/vi.po: Likewise.
1717         * po/zh_CN.po: Likewise.
1718         * po/zh_TW.po: Likewise.
1720 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
1722         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
1723         -Wformat-truncation instead of -Wformat-length.
1724         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
1725         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
1726         GCC 7.
1727         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
1728         (do_test): Ignore -Wformat-truncation for GCC 7.
1730         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
1731         buffer used to print long int value.
1733         * elf/sotruss-lib.c (init): Increase space allocated for pid by
1734         one byte.  Print it with %ld, cast to long int.
1736 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1738         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
1739         (re.fullmatch, subprocess.run): Likewise.
1741 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1743         * po/libc.pot: Regenerate.
1745 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1747         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
1748         (min_strlen): Likewise.
1749         (disable_tunable): Likewise.
1750         (maybe_disable_malloc_check): Rename to
1751         maybe_enable_malloc_check.
1752         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
1753         if /etc/suid-debug file exists.
1754         (__tunables_init): Update caller.
1755         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
1756         secure.
1758 2016-01-10  Torvald Riegel  <triegel@redhat.com>
1760         * nptl/DESIGN-rwlock.txt: Remove.
1761         * nptl/lowlevelrwlock.sym: Remove.
1762         * nptl/Makefile: Add new tests.
1763         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
1764         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
1765         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
1766         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
1767         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
1768         PTHREAD_RWLOCK_FUTEX_USED): New.
1769         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
1770         implementation.
1771         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
1772         (__pthread_rwlock_rdlock): Adapt.
1773         * nptl/pthread_rwlock_timedrdlock.c
1774         (pthread_rwlock_timedrdlock): Adapt.
1775         * nptl/pthread_rwlock_timedwrlock.c
1776         (pthread_rwlock_timedwrlock): Adapt.
1777         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
1778         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
1779         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
1780         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
1781         (__pthread_rwlock_wrlock): Adapt.
1782         * nptl/tst-rwlock10.c: Adapt.
1783         * nptl/tst-rwlock11.c: Adapt.
1784         * nptl/tst-rwlock17.c: New file.
1785         * nptl/tst-rwlock18.c: New file.
1786         * nptl/tst-rwlock19.c: New file.
1787         * nptl/tst-rwlock2b.c: New file.
1788         * nptl/tst-rwlock8.c: Adapt.
1789         * nptl/tst-rwlock9.c: Adapt.
1790         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1791         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1792         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1793         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1794         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1795         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1796         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1797         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1798         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1799         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1800         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1801         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1802         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1803         (pthread_rwlock_t): Adapt.
1804         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1805         (pthread_rwlock_t): Adapt.
1806         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
1807         * nptl/nptl-printers.py (): Adapt.
1808         * nptl/nptl_lock_constants.pysym: Adapt.
1809         * nptl/test-rwlock-printers.py: Adapt.
1810         * nptl/test-rwlockattr-printers.c: Adapt.
1811         * nptl/test-rwlockattr-printers.py: Adapt.
1813 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
1815         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
1816         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
1817         (fma_test_data): Likewise.
1818         (hypot_test_data): Likewise.
1819         (log1p_test_data): Likewise.
1820         (modf_test_data): Likewise.
1821         (pow_test_data): Likewise.
1822         (remainder_test_data): Likewise.
1823         (remquo_test_data): Likewise.
1824         (scalb_test_data): Likewise.
1825         (scalbn_test_data): Likewise.
1826         (scalbln_test_data): Likewise.
1827         * math/gen-libm-test.pl (parse_args): Transform
1828         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
1829         on the rounding mode.
1831 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
1833         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
1834         xfail-rounding:ibm128-libgcc automatically to tests overflowing
1835         and those that can underflow to zero.
1836         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
1837         add others.
1838         * math/auto-libm-test-out: Regenerated.
1840         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
1841         supported.
1842         (feholdexcept_tests): Skip tests requiring exceptions or rounding
1843         modes support if not supported.
1845         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
1846         Add libc.so PLT entry.
1847         (__tls_get_addr): Make ld.so PLT entry optional.
1849 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1851         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
1852         * string/bits/string3.h: ... here.
1854 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1856         [BZ #21028]
1857         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
1858         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
1859         if EXCEPTION_TESTS returns false.
1861 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1863         [BZ #20558]
1864         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
1865         strings_fortified.h.
1866         [__USE_MISC] (bzero): Likewise.
1867         [__USE_MISC] (explicit_bzero): Likewise.
1868         * string/strings.h: Include strings_fortified.h.
1869         * string/Makefile (headers): Add strings_fortified.h.
1870         * string/bits/strings_fortified.h: New file.
1871         * include/bits/strings_fortified.h: Likewise.
1873 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
1875         * elf/tst-tls13.c (TIMEOUT): Remove.
1876         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
1877         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
1878         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
1879         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
1880         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
1882         [BZ #21026]
1883         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
1884         (readahead): New syscall entry.
1886 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1888         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
1889         around tests of strncat with large sizes.
1891         * malloc/tst-malloc.c: Include <libc-internal.h>.
1892         (do_test): Disable -Walloc-size-larger-than= around tests of
1893         malloc with negative sizes.
1894         * malloc/tst-mcheck.c: Include <libc-internal.h>.
1895         (do_test): Disable -Walloc-size-larger-than= around tests of
1896         malloc and realloc with negative sizes.
1897         * malloc/tst-realloc.c: Include <libc-internal.h>.
1898         (do_test): Disable -Walloc-size-larger-than= around tests of
1899         realloc with negative sizes.
1901         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
1902         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
1903         allowed to 16 ulps.
1904         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
1905         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
1906         * math/auto-libm-test-out: Regenerated.
1908 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1910         * math/Makefile (libm-calls): Move wrappers...
1911         (libm-compat-call-auto): Here.
1912         (libm-routines): Add items in libm-compat-calls-auto.
1913         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
1914         the filenames of the wrappers that have been renamed.
1915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
1916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1918         * math/w_acos.c: Add _compat suffix to filename.
1919         * math/w_acosf.c: Likewise.
1920         * math/w_acosh.c: Likewise.
1921         * math/w_acoshf.c: Likewise.
1922         * math/w_acoshl.c: Likewise.
1923         * math/w_acosl.c: Likewise.
1924         * math/w_asin.c: Likewise.
1925         * math/w_asinf.c: Likewise.
1926         * math/w_asinl.c: Likewise.
1927         * math/w_atan2.c: Likewise.
1928         * math/w_atan2f.c: Likewise.
1929         * math/w_atan2l.c: Likewise.
1930         * math/w_atanh.c: Likewise.
1931         * math/w_atanhf.c: Likewise.
1932         * math/w_atanhl.c: Likewise.
1933         * math/w_cosh.c: Likewise.
1934         * math/w_coshf.c: Likewise.
1935         * math/w_coshl.c: Likewise.
1936         * math/w_exp10.c: Likewise.
1937         * math/w_exp10f.c: Likewise.
1938         * math/w_exp10l.c: Likewise.
1939         * math/w_exp2.c: Likewise.
1940         * math/w_exp2f.c: Likewise.
1941         * math/w_exp2l.c: Likewise.
1942         * math/w_fmod.c: Likewise.
1943         * math/w_fmodf.c: Likewise.
1944         * math/w_fmodl.c: Likewise.
1945         * math/w_hypot.c: Likewise.
1946         * math/w_hypotf.c: Likewise.
1947         * math/w_hypotl.c: Likewise.
1948         * math/w_j0.c: Likewise.
1949         * math/w_j0f.c: Likewise.
1950         * math/w_j0l.c: Likewise.
1951         * math/w_j1.c: Likewise.
1952         * math/w_j1f.c: Likewise.
1953         * math/w_j1l.c: Likewise.
1954         * math/w_jn.c: Likewise.
1955         * math/w_jnf.c: Likewise.
1956         * math/w_jnl.c: Likewise.
1957         * math/w_log10.c: Likewise.
1958         * math/w_log10f.c: Likewise.
1959         * math/w_log10l.c: Likewise.
1960         * math/w_log2.c: Likewise.
1961         * math/w_log2f.c: Likewise.
1962         * math/w_log2l.c: Likewise.
1963         * math/w_log.c: Likewise.
1964         * math/w_logf.c: Likewise.
1965         * math/w_logl.c: Likewise.
1966         * math/w_pow.c: Likewise.
1967         * math/w_powf.c: Likewise.
1968         * math/w_powl.c: Likewise.
1969         * math/w_remainder.c: Likewise.
1970         * math/w_remainderf.c: Likewise.
1971         * math/w_remainderl.c: Likewise.
1972         * math/w_scalb.c: Likewise.
1973         * math/w_scalbf.c: Likewise.
1974         * math/w_scalbl.c: Likewise.
1975         * math/w_sinh.c: Likewise.
1976         * math/w_sinhf.c: Likewise.
1977         * math/w_sinhl.c: Likewise.
1978         * math/w_sqrt.c: Likewise.
1979         * math/w_sqrtf.c: Likewise.
1980         * math/w_sqrtl.c: Likewise.
1981         * math/w_tgamma.c: Likewise.
1982         * math/w_tgammaf.c: Likewise.
1983         * math/w_tgammal.c: Likewise.
1985         * math/w_acos_compat.c: New file copied from above and
1986         adjusted for new #includes path
1987         * math/w_acosf_compat.c: Likewise.
1988         * math/w_acosh_compat.c: Likewise.
1989         * math/w_acoshf_compat.c: Likewise.
1990         * math/w_acoshl_compat.c: Likewise.
1991         * math/w_acosl_compat.c: Likewise.
1992         * math/w_asin_compat.c: Likewise.
1993         * math/w_asinf_compat.c: Likewise.
1994         * math/w_asinl_compat.c: Likewise.
1995         * math/w_atan2_compat.c: Likewise.
1996         * math/w_atan2f_compat.c: Likewise.
1997         * math/w_atan2l_compat.c: Likewise.
1998         * math/w_atanh_compat.c: Likewise.
1999         * math/w_atanhf_compat.c: Likewise.
2000         * math/w_atanhl_compat.c: Likewise.
2001         * math/w_cosh_compat.c: Likewise.
2002         * math/w_coshf_compat.c: Likewise.
2003         * math/w_coshl_compat.c: Likewise.
2004         * math/w_exp10_compat.c: Likewise.
2005         * math/w_exp10f_compat.c: Likewise.
2006         * math/w_exp10l_compat.c: Likewise.
2007         * math/w_exp2_compat.c: Likewise.
2008         * math/w_exp2f_compat.c: Likewise.
2009         * math/w_exp2l_compat.c: Likewise.
2010         * math/w_fmod_compat.c: Likewise.
2011         * math/w_fmodf_compat.c: Likewise.
2012         * math/w_fmodl_compat.c: Likewise.
2013         * math/w_hypot_compat.c: Likewise.
2014         * math/w_hypotf_compat.c: Likewise.
2015         * math/w_hypotl_compat.c: Likewise.
2016         * math/w_j0_compat.c: Likewise.
2017         * math/w_j0f_compat.c: Likewise.
2018         * math/w_j0l_compat.c: Likewise.
2019         * math/w_j1_compat.c: Likewise.
2020         * math/w_j1f_compat.c: Likewise.
2021         * math/w_j1l_compat.c: Likewise.
2022         * math/w_jn_compat.c: Likewise.
2023         * math/w_jnf_compat.c: Likewise.
2024         * math/w_jnl_compat.c: Likewise.
2025         * math/w_log10_compat.c: Likewise.
2026         * math/w_log10f_compat.c: Likewise.
2027         * math/w_log10l_compat.c: Likewise.
2028         * math/w_log2_compat.c: Likewise.
2029         * math/w_log2f_compat.c: Likewise.
2030         * math/w_log2l_compat.c: Likewise.
2031         * math/w_log_compat.c: Likewise.
2032         * math/w_logf_compat.c: Likewise.
2033         * math/w_logl_compat.c: Likewise.
2034         * math/w_pow_compat.c: Likewise.
2035         * math/w_powf_compat.c: Likewise.
2036         * math/w_powl_compat.c: Likewise.
2037         * math/w_remainder_compat.c: Likewise.
2038         * math/w_remainderf_compat.c: Likewise.
2039         * math/w_remainderl_compat.c: Likewise.
2040         * math/w_scalb_compat.c: Likewise.
2041         * math/w_scalbf_compat.c: Likewise.
2042         * math/w_scalbl_compat.c: Likewise.
2043         * math/w_sinh_compat.c: Likewise.
2044         * math/w_sinhf_compat.c: Likewise.
2045         * math/w_sinhl_compat.c: Likewise.
2046         * math/w_sqrt_compat.c: Likewise.
2047         * math/w_sqrtf_compat.c: Likewise.
2048         * math/w_sqrtl_compat.c: Likewise.
2049         * math/w_tgamma_compat.c: Likewise.
2050         * math/w_tgammaf_compat.c: Likewise.
2051         * math/w_tgammal_compat.c: Likewise.
2053         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
2054         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
2055         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
2056         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
2057         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
2058         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2059         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
2060         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2061         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2062         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
2063         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
2064         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
2065         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
2066         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
2067         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
2068         * sysdeps/ia64/fpu/w_powl.c: Likewise.
2069         * sysdeps/ia64/fpu/w_powf.c: Likewise.
2070         * sysdeps/ia64/fpu/w_pow.c: Likewise.
2071         * sysdeps/ia64/fpu/w_logl.c: Likewise.
2072         * sysdeps/ia64/fpu/w_logf.c: Likewise.
2073         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2074         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2075         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2076         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
2077         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
2078         * sysdeps/ia64/fpu/w_log10.c: Likewise.
2079         * sysdeps/ia64/fpu/w_log.c: Likewise.
2080         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
2081         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
2082         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
2083         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
2084         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
2085         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
2086         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2087         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2088         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2089         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2090         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2091         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2092         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
2093         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
2094         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
2095         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2096         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2097         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2098         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
2099         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
2100         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
2101         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
2102         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
2103         * sysdeps/ia64/fpu/w_asin.c: Likewise.
2104         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2105         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2106         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2107         * sysdeps/ia64/fpu/w_acos.c: Likewise.
2108         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2109         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2110         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2111         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
2112         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
2113         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
2114         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
2115         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
2116         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
2117         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
2118         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
2119         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
2120         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
2121         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
2122         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
2123         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
2124         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
2125         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
2126         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
2127         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
2128         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
2129         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
2130         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
2131         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
2132         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
2133         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
2134         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
2135         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
2136         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
2137         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
2138         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
2139         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
2140         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
2141         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
2142         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
2143         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
2144         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
2145         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
2146         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
2147         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
2148         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
2149         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
2150         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
2151         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
2152         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
2153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
2154         Likewise.
2155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
2156         Likewise.
2157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
2158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
2159         Likewise.
2160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
2161         Likewise.
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
2163         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2165         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2166         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2167         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2168         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
2170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
2172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2174         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2175         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2176         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2178         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
2179         and adjusted for new #includes path
2180         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
2181         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
2182         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
2183         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
2184         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
2185         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
2186         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
2187         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
2188         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
2189         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
2190         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
2191         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
2192         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
2193         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
2194         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
2195         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
2196         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
2197         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
2198         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
2199         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
2200         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
2201         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
2202         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
2203         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
2204         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
2205         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
2206         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
2207         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
2208         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
2209         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
2210         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
2211         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
2212         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
2213         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
2214         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
2215         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
2216         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
2217         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
2218         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
2219         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
2220         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
2221         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
2222         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
2223         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
2224         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
2225         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
2226         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
2227         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
2228         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
2229         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
2230         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
2231         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
2232         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
2233         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
2234         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
2235         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
2236         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
2237         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
2238         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
2239         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
2240         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
2241         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
2242         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
2243         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
2244         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
2245         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
2246         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
2247         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
2248         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
2249         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
2250         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
2251         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
2252         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
2253         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
2254         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
2255         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
2256         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
2257         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
2258         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
2259         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
2260         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
2261         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
2262         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
2263         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
2264         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
2265         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
2266         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
2267         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
2268         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
2269         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
2270         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
2271         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
2272         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
2273         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
2274         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
2275         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
2276         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
2277         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
2278         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
2279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
2280         Likewise.
2281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
2282         Likewise.
2283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
2284         Likewise.
2285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
2286         Likewise.
2287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
2288         Likewise.
2289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
2290         Likewise.
2291         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
2292         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
2293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
2294         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
2295         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
2296         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
2298         Likewise.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
2300         Likewise.
2301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
2302         Likewise.
2303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
2304         Likewise.
2305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
2306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
2307         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
2308         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2310 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2312         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
2313         __jmp_buf_internal_tag.
2315         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
2316         preserve NaN payload if [__mips_nan2008].
2317         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2319         [BZ #21022]
2320         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
2322 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2324         * sysdeps/i386/fpu/libm-test-ulps: Update.
2326 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2328         * sysdeps/ia64/strcat.c: Remove file.
2329         * sysdeps/powerpc/strcat.c: Likewise.
2330         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
2331         C implementation.
2332         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
2333         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
2335 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2336             Steven Munroe  <sjmunroe@us.ibm.com>
2337             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2339         [BZ #20822]
2340         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2341         (__lll_lock_elision): Access adapt_count via C11 atomics.
2342         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2343         (__lll_trylock_elision): Likewise.
2344         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2345         (__lll_unlock_elision):  Update adapt_count variable inside the
2346         critical section using C11 atomics.
2348 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2350         * math/test-fenvinline.c (do_test): Disable tests of raised
2351         exceptions if !EXCEPTION_TESTS (FLOAT).
2353 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2355         [BZ #19390]
2356         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
2357         maximum string size.
2358         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
2359         in pointer addition.
2360         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
2361         Likewise.
2363 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
2365         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
2366         passed to tst-ldconfig-X.sh.
2368 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
2370         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
2372 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2374         [BZ #21019]
2375         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
2376         New syscall entry.
2377         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
2378         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
2379         lseek.
2381         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
2382         power4 glibc for powerpc-linux-gnu.
2384 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2386         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
2387         semctl.
2389 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2391         * math/test-nearbyint-except.c: Include <stdbool.h>.
2392         (any_supported): New variable.
2393         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
2394         set any_supported.
2395         (do_test): Return 77 if no floating-point type supported
2396         exceptions.
2398         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
2399         condition on [__mips_hard_float].
2401 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2403         [BZ #21014]
2404         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
2405         in pointer addition.
2406         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
2408 2017-01-02  Torvald Riegel  <triegel@redhat.com>
2410         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
2411         new condvar.
2413 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
2415         * scripts/build-many-glibcs.py (Context.checkout): Default
2416         binutils version to 2.28 branch.
2418 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2420         * support/support_format_netent.c (support_format_netent): Work
2421         around alpha struct netent definition difference.
2423 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2425         * support/xwrite.c (xwrite): Use %td for pointer difference.
2427 2017-01-01  Florian Weimer  <fweimer@redhat.com>
2429         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
2430         have-tunables only.
2431         (tests-static): Add tst-malloc-usable-static-tunables for
2432         have-tunables only.
2434 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
2436         * scripts/config.guess: Update to version 2017-01-01.
2437         * scripts/config.sub: Update to version 2017-01-01.
2439         * NEWS: Update copyright dates.
2440         * catgets/gencat.c (print_version): Likewise.
2441         * csu/version.c (banner): Likewise.
2442         * debug/catchsegv.sh: Likewise.
2443         * debug/pcprofiledump.c (print_version): Likewise.
2444         * debug/xtrace.sh (do_version): Likewise.
2445         * elf/ldconfig.c (print_version): Likewise.
2446         * elf/ldd.bash.in: Likewise.
2447         * elf/pldd.c (print_version): Likewise.
2448         * elf/sotruss.sh: Likewise.
2449         * elf/sprof.c (print_version): Likewise.
2450         * iconv/iconv_prog.c (print_version): Likewise.
2451         * iconv/iconvconfig.c (print_version): Likewise.
2452         * locale/programs/locale.c (print_version): Likewise.
2453         * locale/programs/localedef.c (print_version): Likewise.
2454         * login/programs/pt_chown.c (print_version): Likewise.
2455         * malloc/memusage.sh (do_version): Likewise.
2456         * malloc/memusagestat.c (print_version): Likewise.
2457         * malloc/mtrace.pl: Likewise.
2458         * manual/libc.texinfo: Likewise.
2459         * nptl/version.c (banner): Likewise.
2460         * nscd/nscd.c (print_version): Likewise.
2461         * nss/getent.c (print_version): Likewise.
2462         * nss/makedb.c (print_version): Likewise.
2463         * posix/getconf.c (main): Likewise.
2464         * scripts/test-installation.pl: Likewise.
2465         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2467         * All files with FSF copyright notices: Update copyright dates
2468         using scripts/update-copyrights.
2469         * intl/plural.c: Regenerated.
2470         * locale/programs/charmap-kw.h: Likewise.
2471         * locale/programs/locfile-kw.h: Likewise.
2473 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2475         [BZ #20593]
2476         Update DNS RR type definitions.
2477         * scripts/gen-rrtypes.py: New file.
2478         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
2479         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
2480         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
2481         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
2482         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
2483         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
2484         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
2485         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
2486         ns_t_ta, ns_t_dlv.
2487         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
2488         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
2489         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
2490         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
2491         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
2492         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
2493         Define.
2494         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
2495         entry for ns_t_zxfr.
2497 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2499         [BZ #18784]
2500         CVE-2015-5180
2501         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
2502         T_UNSPEC.  Adjust value.
2503         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
2504         * resolv/res_query.c (__libc_res_nquery): Likewise.
2505         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
2506         QTYPEs.
2507         * resolv/tst-resolv-qtypes.c: New file.
2508         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
2509         (tst-resolv-qtypes): Link against libresolv and libpthread.
2511 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2513         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
2515 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2517         * manual/tunables.texi: New chapter.
2518         * manual/Makefile (chapters): Add it.
2519         * manual/probes.texi (@node): Point to the Tunables chapter.
2521         * Makeconfig (have-tunables): Check for non-negative instead
2522         of positive.
2523         * configure.ac: Add 'valstring' as a valid value for
2524         --enable-tunables.
2525         * configure: Regenerate.
2526         * elf/Makefile (have-tunables): Check for non-negative instead
2527         of positive.
2528         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
2529         dl-tunables.c.
2530         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
2531         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2532         (tunables_strdup): Likewise.
2533         (disable_tunables): Likewise.
2534         (parse_tunables): Likewise.
2535         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
2536         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
2537         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
2538         (TUNABLES_FRONTEND_yes): New macro, define as
2539         TUNABLES_FRONTEND_valstring by default.
2540         * manual/install.texi: Document new acceptable values for
2541         --enable-tunables.
2542         * INSTALL: Regenerate.
2544         * config.make.in (have-loop-to-function): Define.
2545         * elf/Makefile (CFLAGS-dl-tunables.c): Add
2546         -fno-tree-loop-distribute-patterns.
2547         * elf/dl-tunables.c: Include libc-internals.h.
2548         (GLIBC_TUNABLES): New macro.
2549         (tunables_strdup): New function.
2550         (parse_tunables): New function.
2551         (min_strlen): New function.
2552         (__tunables_init): Use the new functions and macro.
2553         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
2554         * malloc/tst-malloc-usable-tunables.c: New test case.
2555         * malloc/tst-malloc-usable-static-tunables.c: New test case.
2556         * malloc/Makefile (tests, tests-static): Add tests.
2558         * manual/install.texi: Add --enable-tunables option.
2559         * INSTALL: Regenerate.
2560         * README.tunables: New file.
2561         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
2562         (before-compile): Generate dl-tunable-list.h early.
2563         * config.h.in: Add HAVE_TUNABLES.
2564         * config.make.in: Add have-tunables.
2565         * configure.ac: Add --enable-tunables option.
2566         * configure: Regenerate.
2567         * csu/init-first.c (__libc_init_first): Move
2568         __libc_init_secure earlier...
2569         * csu/init-first.c (LIBC_START_MAIN):... to here.
2570         Include dl-tunables.h, libc-internal.h.
2571         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
2572         binaries.
2573         * elf/Makefile (dl-routines): Add dl-tunables.
2574         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
2575         namespace.
2576         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
2577         only when !HAVE_TUNABLES.
2578         * elf/rtld.c (process_envvars): Likewise.
2579         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
2580         (_dl_sysdep_start): Call __tunables_init.
2581         * elf/dl-tunable-types.h: New file.
2582         * elf/dl-tunables.c: New file.
2583         * elf/dl-tunables.h: New file.
2584         * elf/dl-tunables.list: New file.
2585         * malloc/tst-malloc-usable-static.c: New test case.
2586         * malloc/Makefile (tests-static): Add it.
2587         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
2588         Define TUNABLE_NAMESPACE.
2589         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
2590         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
2591         callback functions.
2592         (ptmalloc_init): Set tunable values.
2593         * scripts/gen-tunables.awk: New file.
2594         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
2595         (_dl_sysdep_start): Call __tunables_init.
2597 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2599         * resolv/resolv.h (RES_BLAST): Deprecate.
2600         * resolv/res_debug.c (p_option): Remove RES_BLAST.
2601         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
2602         to RES_BLAST.
2604 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2606         [BZ #19582]
2607         Deprecate RES_USE_INET6.
2608         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
2609         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
2610         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
2611         RES_USE_INET6.
2612         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
2613         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
2614         (_nss_nisplus_gethostbyaddr_r): Likewise.
2615         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
2616         of res_use_inet6.
2617         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
2618         instead of RES_USE_INET6.
2619         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
2620         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
2621         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
2622         Likewise.
2623         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
2624         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
2625         Likewise.
2626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
2627         (_nss_dns_gethostbyname_r): Likewise.
2628         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
2629         alternate RES_USE_INET6 handling.
2630         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
2631         instead of RES_USE_INET6.
2632         * resolv/res_init.c (res_setoptions): Likewise.
2633         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
2634         * resolv/resolv-internal.h: New file.
2635         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
2636         make the deprecation warning non-fatal.
2637         * resolv/README (Using the resolver in multi-threaded code): Drop
2638         reference to RES_USE_INET6.
2639         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
2640         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
2642 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2644         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
2645         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
2646         tst-resolv-search.
2647         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
2648         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
2649         with libresolv and libpthread.
2650         * resolv/tst-bug18665.c: New file.
2651         * resolv/tst-bug18665-tcp: Likewise.
2652         * resolv/tst-res_use_inet6: Likewise.
2653         * resolv/tst-resolv-basic: Likewise.
2654         * resolv/tst-resolv-network: Likewise.
2655         * resolv/tst-resolv-search: Likewise.
2656         * support/Makefile (libsupport-routines): Add check_addrinfo,
2657         check_dns_packet, check_hostent, check_netent, resolv_test,
2658         support_format_address_family, support_format_addrinfo,
2659         support_format_dns_packet, support_format_herrno,
2660         support_format_hostent, support_format_netent, support_run_diff,
2661         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
2662         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
2663         xstrdup, xwrite.
2664         * support/check_addrinfo.c: New file.
2665         * support/check_dns_packet.c: Likewise.
2666         * support/check_hostent.c: Likewise.
2667         * support/check_netent.c: Likewise.
2668         * support/check_nss.h: Likewise.
2669         * support/format_nss.h: Likewise.
2670         * support/resolv_test.c: Likewise.
2671         * support/resolv_test.h: Likewise.
2672         * support/run_diff.h: Likewise.
2673         * support/support_format_address_family.c: Likewise.
2674         * support/support_format_addrinfo.c: Likewise.
2675         * support/support_format_dns_packet.c: Likewise.
2676         * support/support_format_herrno.c: Likewise.
2677         * support/support_format_hostent.c: Likewise.
2678         * support/support_format_netent.c: Likewise.
2679         * support/support_run_diff.c: Likewise.
2680         * support/xaccept.c: Likewise.
2681         * support/xbind.c: Likewise.
2682         * support/xconnect.c: Likewise.
2683         * support/xfclose.c: Likewise.
2684         * support/xfopen.c: Likewise.
2685         * support/xgetsockname.c: Likewise.
2686         * support/xlisten.c: Likewise.
2687         * support/xmemstream.c: Likewise.
2688         * support/xmemstream.h: Likewise.
2689         * support/xpoll.c: Likewise.
2690         * support/xpthread_once.c: Likewise.
2691         * support/xrecvfrom.c: Likewise.
2692         * support/xsendto.c: Likewise.
2693         * support/xsetsockopt.c: Likewise.
2694         * support/xstdio.h: Likewise.
2695         * support/xstrdup.c: Likewise.
2696         * support/support.h (xstrdup): Declare.
2697         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
2698         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
2699         * support/xthread.h (xpthread_once): Likwise.
2700         * support/xunistd.h (xwrite): Declare.
2702 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2704         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
2705         (test_verbose): Declare.
2706         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
2707         * support/support_test_main.c (default_options): Likewise.
2708         (usage, support_test_main): Handle 'v'.
2709         (test_verbose): Define.
2710         * support/tst-support_record_failure.c (do_test): Use
2711         test_verbose.
2712         * support/tst-support_record_failure-2.sh (different_status): Add
2713         --verbose test.
2715 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2717         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
2718         test failures are recorded.
2719         * support/check.c (support_print_failure_impl): Call
2720         support_record_failure.
2721         (support_exit_failure_impl): Call support_record_failure if status
2722         indicates failure.
2723         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
2724         * support/xasprintf.c (xasprintf): Likewise.
2725         * support/xfork.c (xfork): Likewise.
2726         * support/xpthread_check_return.c (xpthread_check_return):
2727         Likewise.
2728         * support/xsocket.c (xsocket): Likeweise.
2729         * support/xwaitpid.c (xwaitpid): Likewise.
2730         * support/support_record_failure.c (struct test_failures): Adjust
2731         to coding style.
2732         * support/support_test_verify_impl.c (support_test_verify_impl):
2733         Adjust error messages.
2734         * support/tst-support_record_failure-2.sh (different_status):
2735         Adjust error messages.
2737 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2739         * support/namespace.h: New file.
2740         * support/support_become_root.c: Likewise.
2741         * support/support_enter_network_namespace.c: Likewise.
2742         * support/tst-support-namespace.c: Likewise.
2743         * support/xsocket.c: Likewise.
2744         * support/xsocket.h: Likewise.
2745         * support/Makefile (libsupport-routines): Add support_become_root,
2746         support_enter_network_namespace, xsocket.
2747         (tests): Add tst-support-namespace.
2749 2016-12-31  Florian Weimer  <fweimer@redhat.com>
2751         [BZ #17252]
2752         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
2753         __USE_GNU.
2755 2016-12-31  Torvald Riegel  <triegel@redhat.com>
2757         [BZ #13165]
2758         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
2759         use new algorithm.
2760         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2761         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2762         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2763         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2764         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
2765         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
2766         __condvar_cleanup_waiting, __condvar_dec_grefs,
2767         __pthread_cond_wait_common): New.
2768         (__condvar_cleanup): Remove.
2769         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
2770         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
2771         Likewise.
2772         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
2773         Likewise.
2774         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
2775         * nptl/tst-cond1.c: Add comment.
2776         * nptl/tst-cond20.c (do_test): Adapt.
2777         * nptl/tst-cond22.c (do_test): Likewise.
2778         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
2779         structure.
2780         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2781         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2782         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2783         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
2784         Likewise.
2785         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2786         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2787         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2788         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2789         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2790         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
2793         Likewise.
2794         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
2795         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
2796         (COND_CLOCK_BITS): Adapt.
2797         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
2798         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
2799         __PTHREAD_COND_SHARED_MASK): New.
2800         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
2801         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
2802         * nptl/nptl_lock_constants.pysym: Adapt.
2803         * nptl/test-cond-printers.py: Adapt.
2804         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
2805         cond_compat_check_and_clear): Adapt.
2806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
2807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2808         (__pthread_cond_timedwait): ... and move here.
2809         * nptl/DESIGN-condvar.txt: Remove file.
2810         * nptl/lowlevelcond.sym: Likewise.
2811         * nptl/pthread_cond_timedwait.c: Likewise.
2812         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
2814         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2815         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2816         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
2817         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
2818         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
2819         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
2820         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
2821         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
2822         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
2823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
2824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
2825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
2826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
2829 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
2831         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2832         (fromfp): New declaration.
2833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2836         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
2837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
2838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
2839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
2840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
2841         * math/math.h: Include <bits/types.h>.
2842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
2843         constant and macro.
2844         (FP_INT_DOWNWARD): Likewise.
2845         (FP_INT_TOWARDZERO): Likewise.
2846         (FP_INT_TONEARESTFROMZERO): Likewise.
2847         (FP_INT_TONEAREST): Likewise.
2848         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
2849         (fromfpf): Likewise.
2850         (fromfpl): Likewise.
2851         (ufromfp): Likewise.
2852         (ufromfpf): Likewise.
2853         (ufromfpl): Likewise.
2854         (fromfpx): Likewise.
2855         (fromfpxf): Likewise.
2856         (fromfpxl): Likewise.
2857         (ufromfpx): Likewise.
2858         (ufromfpxf): Likewise.
2859         (ufromfpxl): Likewise.
2860         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
2861         s_fromfpxF and s_ufromfpxF.
2862         * math/gen-fromfp-tests.py: New file.
2863         * math/gen-fromfp-tests-inputs: Likewise.
2864         * math/libm-test.inc: Include <stdint.h>
2865         (check_intmax_t): New function.
2866         (check_uintmax_t): Likewise.
2867         (struct test_fiu_M_data): New type.
2868         (struct test_fiu_U_data): Likewise.
2869         (RUN_TEST_fiu_M): New macro.
2870         (RUN_TEST_LOOP_fiu_M): Likewise.
2871         (RUN_TEST_fiu_U): Likewise.
2872         (RUN_TEST_LOOP_fiu_U): Likewise.
2873         (fromfp_test_data): New array.
2874         (fromfp_test): New function.
2875         (fromfpx_test_data): New array.
2876         (fromfpx_test): New function.
2877         (ufromfp_test_data): New array.
2878         (ufromfp_test): New function.
2879         (ufromfpx_test_data): New array.
2880         (ufromfpx_test): New function.
2881         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
2882         ufromfpx_test.
2883         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
2884         characters.
2885         * math/test-tgmath-ret.c: Include <stdint.h>.
2886         (rm): New variable.
2887         (width): Likewise.
2888         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
2889         called function.
2890         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
2891         CHECK_RET_CONST_TYPE.
2892         (CHECK_RET_CONST_DOUBLE): Likewise.
2893         (CHECK_RET_CONST_LDOUBLE): Likewise.
2894         (CHECK_RET_CONST): Take extra arguments and pass them to calls
2895         macros.
2896         (fromfp): New CHECK_RET_CONST call.
2897         (ufromfp): Likewise.
2898         (fromfpx): Likewise.
2899         (ufromfpx): Likewise.
2900         (do_test): Call check_return_fromfp, check_return_ufromfp,
2901         check_return_fromfpx and check_return_ufromfpx.
2902         * math/test-tgmath.c: Include <stdint.h>
2903         (NCALLS): Increase to 138.
2904         (F(compile_test)): Initialize i.  Call fromfp functions.
2905         (F(fromfp)): New function.
2906         (F(fromfpx)): Likewise.
2907         (F(ufromfp)): Likewise.
2908         (F(ufromfpx)): Likewise.
2909         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
2910         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
2911         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
2912         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
2913         ufromfpxl.
2914         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
2915         ufromfp and ufromfpx.
2916         * math/fromfp.h: New file.
2917         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
2918         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
2919         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
2920         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
2921         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
2922         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
2923         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
2924         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
2925         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
2926         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
2927         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
2928         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
2929         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
2930         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
2931         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
2932         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
2933         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
2934         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
2935         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
2936         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
2937         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
2938         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
2939         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
2940         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
2941         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
2942         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
2943         ufromfp, fromfpx and ufromfpx.
2944         (CFLAGS-nldbl-fromfp.c): New variable.
2945         (CFLAGS-nldbl-fromfpx.c): Likewise.
2946         (CFLAGS-nldbl-ufromfp.c): Likewise.
2947         (CFLAGS-nldbl-ufromfpx.c): Likewise.
2948         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
2949         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
2950         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
2951         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
2952         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
2953         * sysdeps/nacl/libm.abilist: Update.
2954         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2955         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2956         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2957         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2958         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2959         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2962         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2963         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2967         Likewise.
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2969         Likewise.
2970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2971         Likewise.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2973         Likewise.
2974         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2975         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2976         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2978         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2980         Likewise.
2981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2982         Likewise.
2983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2984         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2985         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2987 2016-12-30  Florian Weimer  <fweimer@redhat.com>
2989         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
2990         compat-gethnamaddr.
2991         (CPPFLAGS): Remove.
2992         * resolv/gethnamaddr.c: Rename ...
2993         * resolv/compat-gethnamaddr.c: ... to this file.
2994         (_endhtent): Make static.
2995         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
2996         symbol.
2997         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
2998         compat symbol.
2999         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
3000         symbol.
3001         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
3002         Turn into compat symbol.
3003         * include/resolv.h (_endhtent): Remove declaration.
3005 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
3007         * bits/types.h (__intmax_t): New typedef.
3008         (__uintmax_t): Likewise.
3009         * sysdeps/generic/stdint.h: Include <bits/types.h>.
3010         (intmax_t): Define using __intmax_t.
3011         (uintmax_t): Define using __uintmax_t.
3013         * support/Makefile (tests-special): Make definition conditional on
3014         [$(run-built-tests) = yes].
3015         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
3016         on [$(run-built-tests) = yes].
3018 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3020         * Rules (tests): Add tests-printers-programs to tests to be
3021         built.
3023 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3025         * sysvipc/Makefile (tests): Add test-sysvshm.
3026         * sysvipc/test-sysvshm.c: New file.
3028         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
3029         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
3030         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
3031         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
3032         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
3033         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
3034         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
3039         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
3040         is defined.
3042         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
3043         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
3044         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
3045         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
3046         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
3047         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
3048         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
3049         Likewise.
3050         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
3053         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
3054         defined.
3056         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3057         oldshmctl.
3058         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
3059         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
3060         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
3061         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
3062         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
3063         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
3064         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
3065         Likewise.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
3067         Likewise.
3068         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
3069         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
3070         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
3071         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
3072         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
3073         implementation.
3074         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
3075         if it is defined.
3077         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
3078         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
3079         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
3080         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
3081         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
3082         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
3083         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
3084         Likewise.
3085         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
3086         Likewise.
3087         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
3088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
3089         Define to __NR_osf_shmat.
3090         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
3091         defined.
3093         * sysvipc/Makefile (tests): Add test-sysvsem.
3094         * sysvipc/test-sysvsem.c: New file.
3096         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
3097         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
3098         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
3101         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
3102         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
3103         Likewise.
3104         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
3105         Likewise.
3106         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
3107         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
3108         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
3109         add a comment about s390 syscall difference from default one.
3110         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
3111         syscall if it is defined.
3113         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
3114         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
3115         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
3116         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
3117         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
3118         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
3119         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
3120         Likewise.
3121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
3122         Likewise.
3123         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
3124         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
3125         defined.
3127         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
3128         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
3129         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
3130         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
3131         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
3132         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
3133         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
3134         Likewise.
3135         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
3136         Likewise.
3137         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
3138         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
3139         if it is defined.
3141         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3142         oldsemctl.
3143         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
3144         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
3145         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
3146         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
3147         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
3148         implementation.
3149         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
3150         syscall if it is defined.
3151         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
3152         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
3153         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
3154         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
3155         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
3156         Likewise.
3157         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
3159         * sysvipc/Makefile (tests): Add test-sysvmsg.
3160         * sysvipc/test-sysvmsg.c: New file.
3161         * support/check.h (FAIL_UNSUPPORTED): New define.
3163         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
3164         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
3165         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
3166         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
3167         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
3168         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
3169         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
3170         Likewise.
3171         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
3172         Likewise.
3173         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
3174         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
3175         define.
3177         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
3178         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
3179         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
3180         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
3181         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
3182         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
3183         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
3184         Likewise.
3185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
3186         Likewise.
3187         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
3188         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
3189         if defined.
3191         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
3192         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
3193         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3194         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3195         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3196         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
3197         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3198         Likewise.
3199         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
3200         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
3201         Likewise.
3202         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
3203         if defined.
3204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
3206         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
3207         oldmsgctl.
3208         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
3209         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
3210         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
3211         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
3212         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
3213         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
3214         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
3215         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
3216         Likewise.
3217         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
3218         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
3219         implementation.
3220         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
3221         if defined.
3223         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
3224         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
3225         definition and define its own.
3226         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
3227         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
3228         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
3229         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
3230         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
3231         definitions to common header.
3232         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
3233         operation from ipc_ops.h.
3235         * sysdeps/unix/sysv/linux/kernel-features.h
3236         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
3237         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3238         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
3239         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3240         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3242         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3244         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3245         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3246         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3247         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3248         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3249         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3250         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
3252 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3254         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
3255         overflow in pointer addition.
3257 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3259         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3260         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
3261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3262         (strchr): Add __strchr_power8 to list of strchr functions.
3263         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
3264         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
3265         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
3266         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
3267         (strchr): Add __strchr_power8 to ifunc list.
3268         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
3269         (__strchrnul): Add __strchrnul_power8 to ifunc list.
3270         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
3271         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
3273 2016-12-28  Florian Weimer  <fweimer@redhat.com>
3275         * support/Makefile (libsupport-routines): Add
3276         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
3277         (tests): Add tst-support_record_failure.
3278         (tests-special): tst-support_record_failure-2.
3279         (tst-support_record_failure-2.out): Depend on
3280         tst-support_record_failure-2.sh and tst-support_record_failure.
3281         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
3282         (support_test_verify_impl, support_record_failure)
3283         (support_report_failure, support_report_failure_reset): Declare.
3284         * support/support_test_main.c (adjust_exit_status): New function.
3285         (support_test_main): Call it to incorporate record test failures.
3286         * support/support_test_verify_impl.c: New file.
3287         * support/support_record_failure.c: Likewise.
3288         * support/tst-support_record_failure.c: Likewise.
3289         * support/tst-support_record_failure-2.sh: Likewise.
3290         * support/xunistd.h: Likewise.
3291         * support/xfork.c: Likewise.
3292         * support/xwaitpid.c: Likewise.
3294 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
3296         * scripts/check-c++-types.sh: Add comments.
3298 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
3300         [BZ #19514]
3301         * resolv/res_send.c: Fix typo in comment.
3302         * sysdeps/i386/i386-mcount.S: Likewise.
3303         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3304         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3305         * sysdeps/sparc/sparc-mcount.S: Likewise.
3307 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3309         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
3310         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
3311         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
3312         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
3313         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
3314         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
3315         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
3316         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
3318 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3320         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
3322 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3324         [BZ #17252]
3325         * posix/unistd.h (getentropy): Declare.
3327 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3329         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
3330         Remove.
3331         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
3332         (cmd): Remove spoof, nospoof, spoofalert.
3333         (parse_line): Ignore spoof-related lines.
3334         (do_init): Do not process RESOLV_SPOOF_CHECK.
3336 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3338         [BZ #20964]
3339         sunrpc: Always obtain AF_INET addresses from NSS.
3340         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
3341         * sunrpc/rpc_gethostbyname.c: New file.
3342         * sunrpc/Makefile (routines): Add it.
3343         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
3344         * sunrpc/clnt_simp.c (callrpc): Likewise.
3345         * sunrpc/getrpcport.c (getrpcport): Likewise.
3347 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3349         * sunrpc/rpcinfo.c: Remove.
3350         * sunrpc/Makefile: Remove comments referring to rpcinfo.
3352 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3354         [BZ# 19387]
3355         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
3356         addition.
3357         * string/test-memchr.c (do_test): Remove alignment limitation.
3358         (test_main): Add test that trigger BZ# 19387.
3360 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3362         [BZ #7065]
3363         Enable stack protectore if requested by ./configure.
3364         * Makeconfig (+stack-protector): New variable.
3365         (+cflags): Use it.
3367 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3369         [BZ #7065]
3370         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
3371         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
3372         (__rt_sigreturn_stub): Use inhibit_stack_protector.
3373         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3374         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
3376 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3378         [BZ #7065]
3379         * login/Makefile (pt_chown-cflags): Remove.
3380         * nscd/Makefile (CFLAGS-nscd): Likewise.
3381         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3383 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3385         [BZ #7065]
3386         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
3387         non-libc-linking testcase.
3389 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3390             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3391             Florian Weimer  <fweimer@redhat.com>
3393         [BZ #7065]
3394         PLT avoidance for __stack_chk_fail*.
3395         * debug/Makefile (CFLAGS-stack_chk_fail.c)
3396         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
3397         * debug/stack_chk_fail.c (__stack_chk_fail): Add
3398         __stack_chk_fail_local alias.
3399         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
3400         (__stack_chk_fail): Turn into hidden reference to
3401         __stack_chk_fail_local.
3403 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3405         [BZ #7065]
3406         * configure.ac: Add check for unsupported stack-protection level.
3407         (libc_cv_predef_stack_protector): Remove.
3408         (no_ssp): New variable.
3409         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
3410         (stack_protector): Set to -fno-stack-protector similarly.
3411         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
3412         (libc_cv_asm_set_directive): Likewise.
3413         (libc_cv_protected_data): Likewise.
3414         (libc_cv_z_combreloc): Likewise.
3415         (libc_cv_hashstyle): Likewise.
3416         (libc_cv_has_glob_dat): Likewise.
3417         (libc_cv_output_format): Likewise.
3418         (libc_cv_output_format): Likewise.
3419         (libc_cv_ehdr_start): Likewise.
3420         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
3421         (LIBC_LINKER_FEATURE): Likewise.
3422         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
3424 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3426         [BZ #7065]
3427         * elf/Makefile (dummy-stack-chk-fail): New.
3428         (librtld.map): Use it.
3430 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3432         [BZ #7065]
3433         Compile the dynamic linker without stack protection.
3434         * elf/Makefile (elide-stack-protector): New.
3435         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
3436         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
3437         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
3438         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
3440 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3442         [BZ #7065]
3443         * config.make.in (have-ssp, no-stack-protector): New.
3444         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
3445         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
3446         (CFLAGS-sbrk.op): Likewise.
3447         (CFLAGS-brk.o): Likewise.
3448         (CFLAGS-brk.op): Likewise.
3449         * string/Makefile (CFLAGS-memcpy.c): Likewise.
3450         (CFLAGS-wordcopy.c): Likewise.
3452 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3454         [BZ #7065]
3455         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
3456         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
3457         * include/libc-symbols.h (inhibit_stack_protector): New macro.
3458         (__ifunc_resolver): Use it.
3459         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
3460         inhibit_stack_protector.
3461         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
3462         * elf/ifuncmain7.c (foo_ifunc): Likewise.
3463         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
3464         (foo_protected_ifunc): Likewise.
3465         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
3466         (foo_protected_ifunc): Likewise.
3467         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3468         * sysdeps/nacl/nacl_interface_query.c
3469         (nacl_interface_query_ifunc): Likewise.
3470         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
3471         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
3472         Likewise.
3473         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
3474         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
3475         the generated vDSO syscall resolver.
3477 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3478             Florian Weimer  <fweimer@redhat.com>
3480         [BZ #7065]
3481         Initialize the stack guard earlier when linking statically.
3482         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
3483         (__pthread_initialize_minimal): Declare.
3484         * csu/libc-start.c (__pthread_initialize_minimal): Remove
3485         declaration.
3486         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
3487         stack canary and apply_irel initialization up.  Call
3488         __pthread_initialize_minimal only if linked in.
3489         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
3490         constant values.
3491         (__pthread_initialize_minimal): Remove.
3492         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
3493         (__pthread_initialize_minimal_internal): Do not call
3494         __libc_setup_tls.
3496 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
3498         [BZ #7065]
3499         * configure.ac (libc_cv_ssp): Move up.
3500         (libc_cv_ssp_strong): Likewise.
3501         (libc_cv_ssp_all): New.
3502         (stack_protector): Augment, adding -fstack-protector-all.
3503         (no_stack_protector): New.
3504         (STACK_PROTECTOR_LEVEL): New.
3505         (AC_ARG_ENABLE(stack-protector)): New configure flag.
3506         * manual/install.texi (--enable-stack-protector): Document it.
3507         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
3509 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
3511         * README.pretty-printers: Must specify CPPFLAGS-* also.
3512         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
3513         (CPPFLAGS-test-mutex-printers.c): Define.
3514         (CPPFLAGS-test-condattr-printers.c): Define.
3515         (CPPFLAGS-test-cond-printers.c): Define.
3516         (CPPFLAGS-test-rwlockattr-printers.c): Define.
3517         (CPPFLAGS-test-rwlock-printers.c): Define.
3519         * nss/Makefile [ifeq (yes,$(have-thread-library))]
3520         (tests): Add tst-cancel-getpwuid_r.
3521         * nss/tst-cancel-getpwuid_r.c: New file.
3523         [BZ #11941]
3524         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
3525         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
3526         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
3527         tst-nodelete-dlclose.
3528         (modules-names): Add tst-nodelete-dlclose-dso and
3529         tst-nodelete-dlclose-plugin.
3530         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
3531         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
3532         ($(objpfx)tst-nodelete-dlclose): Define.
3533         ($(objpfx)tst-nodelete-dlclose.out): Define.
3535 2016-12-23  Florian Weimer  <fweimer@redhat.com>
3537         * scripts/test_printers_common.py: Log GDB output in case of
3538         Python detection failure.
3540 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3542         * configure.ac: Check for python3 or python.
3543         * configure: Regenerated.
3544         * config.make.in (PYTHON): New variable.
3545         * benchtests/Makefile: Don't define PYTHON.
3546         (bench): Define target only if PYTHON was defined.
3547         * Rules: Don't define PYTHON.
3548         Define pretty printer targets only if PYTHON was defined.
3549         (tests-printers): Add to tests-unsupported if PYTHON is not
3550         found.
3551         (python-flags, python-invoke): Remove.
3552         (tests-printers-out): Use PYTHON instead of python-invoke.
3554 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3556         [BZ #20978]
3557         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3558         Compare name == NULL, not name != NULL.
3560         * manual/texinfo.tex: Update to version 2016-09-18.18 with
3561         trailing whitespace removed.
3562         * scripts/config.guess: Update to version 2016-10-02.
3563         * scripts/config.sub: Update to version 2016-11-19.
3564         * scripts/install-sh: Update to version 2016-01-11.22.
3565         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
3566         * scripts/move-if-change: Update to version 2016-01-11 22:04.
3568 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
3570         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
3571         (do_one_test) Restore original string so iteration works.
3572         * string/string-inlines.c (do_test): Create better input strings.
3573         (test_main) Reduce number of testruns.
3574         * string/string-inlines.c (__old_strsep_1c): New function.
3575         (__old_strsep_2c): Likewise.
3576         (__old_strsep_3c): Likewise.
3577         * string/strsep.c (__strsep): Remove case of small delim string.
3578         Call strcspn directly rather than strpbrk.
3579         * string/bits/string2.h (__strsep): Remove define.
3580         (__strsep_1c): Remove.
3581         (__strsep_2c): Remove.
3582         (__strsep_3c): Remove.
3583         (strsep): Remove.
3584         * sysdeps/unix/sysv/linux/internal_statvfs.c
3585         (__statvfs_getflags): Rename to __strsep.
3587 2016-12-21  Florian Weimer  <fweimer@redhat.com>
3589         * csu/libc-tls.c (_dl_tls_setup): Remove.
3590         * elf/dl-tls.c (_dl_tls_setup): Likewise.
3591         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
3592         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
3594 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3596         [BZ #7065]
3597         * sysdeps/x86_64/Makefile [$(subdir) = elf]
3598         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
3600 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
3601             Florian Weimer  <fweimer@redhat.com>
3603         [BZ #7065]
3604         * csu/Makefile (tests): Empty assignment and document it.
3605         (tests-static): Remove.
3606         * csu/tst-empty.c: Move to...
3607         * misc/tst-empty.c: ... here.  Switch to new test driver.
3608         * csu/tst-atomic.c: Move to...
3609         * misc/tst-atomic.c: ... here.  Switch to new test driver.
3610         * csu/tst-atomic-long.c: Move to...
3611         * misc/tst-atomic-long.c: ... here.
3612         * misc/Makefile (tests): Add tst-empty, tst-atomic,
3613         tst-atomic-long.
3614         (tests-static): Add tst-empty.
3616 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
3618         * manual/nss.texi: Change incorrect @vtable to @table.
3619         * manual/arith.texi: Convert @tables of variables to @vtables
3620         and remove unnecessary indexing.
3621         * manual/filesys.texi: Likewise.
3622         * manual/llio.texi: Likewise.
3623         * manual/memory.texi: Likewise.
3624         * manual/process.texi: Likewise.
3625         * manual/resource.texi: Likewise.
3626         * manual/search.texi: Likewise.
3627         * manual/signal.texi: Likewise.
3628         * manual/socket.texi: Likewise.
3629         * manual/stdio.texi: Likewise.
3630         * manual/sysinfo.texi: Likewise.
3631         * manual/syslog.texi: Likewise.
3632         * manual/terminal.texi: Likewise.
3633         * manual/time.texi: Likewise.
3634         * manual/users.texi: Likewise.
3636 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
3638         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3639         (roundeven): New declaration.
3640         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
3641         macro.
3642         * math/Versions (roundeven): New libm symbol at version
3643         GLIBC_2.25.
3644         (roundevenf): Likewise.
3645         (roundevenl): Likewise.
3646         * math/Makefile (libm-calls): Add s_roundevenF.
3647         * math/libm-test.inc (roundeven_test_data): New array.
3648         (roundeven_test): New function.
3649         (main): Call roundeven_test.
3650         * math/test-tgmath.c (NCALLS): Increase to 134.
3651         (F(compile_test)): Call roundeven.
3652         (F(roundeven)): New function.
3653         * manual/arith.texi (Rounding Functions): Document roundeven,
3654         roundevenf and roundevenl.
3655         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
3656         * include/math.h (roundeven): Use libm_hidden_proto.
3657         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
3658         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
3659         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
3660         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
3661         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
3662         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
3663         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3664         roundeven.
3665         (CFLAGS-nldbl-roundeven.c): New variable.
3666         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
3667         * sysdeps/nacl/libm.abilist: Update.
3668         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3669         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3670         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3671         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3672         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3673         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3674         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3675         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3676         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3677         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3678         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3679         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3681         Likewise.
3682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3683         Likewise.
3684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3685         Likewise.
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3687         Likewise.
3688         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3689         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3690         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3691         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3692         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3694         Likewise.
3695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3698         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3699         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3701 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3703         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
3704         preprocessor indentation inside #if.
3706 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3708         * math/libm-test.inc (fmt_ftostr): New function.
3709         (print_float, check_float_internal): Replace some uses of
3710         FTOSTR with uses of fmt_ftostr.
3711         (print_max_error, print_complex_max_error, print_function_ulps)
3712         (print_complex_function_ulps): Remove uses of the macros
3713         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
3714         * math/test-double.h (FTOSTR): Define to strfromd.
3715         (PRINTF_EXPR): Delete.
3716         (PRINTF_XEXPR): Likewise.
3717         (PRINTF_NEXPR): Likewise.
3718         * math/test-float.h (FTOSTR): Define to strfromf.
3719         (PRINTF_EXPR): Delete.
3720         (PRINTF_XEXPR): Likewise.
3721         (PRINTF_NEXPR): Likewise.
3722         * math/test-ldouble.h (FTOSTR): Define to strfroml.
3723         (PRINTF_EXPR): Delete.
3724         (PRINTF_XEXPR): Likewise.
3725         (PRINTF_NEXPR): Likewise.
3727 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3729         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3730         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
3731         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3732         (__lll_lock_elision): Decrement adapt_count while unlocking
3733         instead of before locking.
3734         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3735         (__lll_trylock_elision): Likewise.
3736         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
3737         (__lll_unlock_elision): Likewise.
3739 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3741         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
3742         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
3743         Use __libc_tbegin_retry macro.
3745 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3747         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
3748         Add -msoft-float.
3749         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
3750         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
3751         Use __libc_t* transaction macros instead of __builtin_t*.
3752         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3753         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3755 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3757         * sysdeps/unix/sysv/linux/s390/elision-lock.c
3758         (__lll_lock_elision): Use atomics to load / store adapt_count.
3759         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
3760         (__lll_trylock_elision): Likewise.
3762 2016-12-20  Florian Weimer  <fweimer@redhat.com>
3764         Do not require memset elimination in explicit_bzero test.
3765         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
3766         (enum test_expectation): Add NO_EXPECTATIONS.
3767         (subtests): NO_EXPECTATIONS for ordinary clear.
3768         (check_test_buffer): Handle NO_EXPECTATIONS.
3769         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
3771 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
3773         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3774         (fmaxmag): New declaration.
3775         (fminmag): Likewise.
3776         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
3777         macro.
3778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
3779         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
3780         (fmaxmagf): Likewise.
3781         (fmaxmagl): Likewise.
3782         (fminmag): Likewise.
3783         (fminmagf): Likewise.
3784         (fminmagl): Likewise.
3785         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
3786         * math/s_fmaxmag_template.c: New file.
3787         * math/s_fminmag_template.c: Likewise.
3788         * math/libm-test.inc (fmaxmag_test_data): New array.
3789         (fmaxmag_test): New function.
3790         (fminmag_test_data): New array.
3791         (fminmag_test): New function.
3792         (main): Call fmaxmag_test and fminmag_test.
3793         * math/test-tgmath.c (NCALLS): Increase to 132.
3794         (F(compile_test)): Call fmaxmag and fminmag.
3795         (F(fminmag)): New function.
3796         (F(fmaxmag)): Likewise.
3797         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
3798         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
3799         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
3800         fminmag.
3801         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
3802         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
3803         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3804         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3805         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
3806         and fminmag.
3807         (CFLAGS-nldbl-fmaxmag.c): New variable.
3808         (CFLAGS-nldbl-fminmag.c): Likewise.
3809         * sysdeps/nacl/libm.abilist: Update.
3810         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3811         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3812         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3813         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3814         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3815         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3816         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3817         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3818         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3819         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3820         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3821         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3823         Likewise.
3824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3825         Likewise.
3826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3827         Likewise.
3828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3829         Likewise.
3830         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3831         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3836         Likewise.
3837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3838         Likewise.
3839         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3840         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3843 2016-12-19  Torvald Riegel  <triegel@redhat.com>
3845         [BZ #20973]
3846         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
3847         wake-up in robust mutexes.
3848         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3850 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3852         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
3853         (CFLAGS-bench-fmaxf.c): New rule.
3854         (CFLAGS-bench-fminf.c): Likewise.
3855         * benchtests/fmaxf-inputs: New file.
3856         * benchtests/fminf-inputs: Likewise.
3858         * benchtests/Makefile (bench-math): Add fmin and fmax.
3859         (CFLAGS-bench-fmax.c): New rule.
3860         (CFLAGS-bench-fmin.c): Likewise.
3861         * benchtests/fmax-inputs: New file.
3862         * benchtests/fmin-inputs: Likewise.
3864         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
3865         parenthesis.
3866         (CMDLINE_PROCESS): Define using function instead of macro.
3867         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
3868         of test-skeleton.
3869         * benchtests/bench-memchr.c: Likewise.
3870         * benchtests/bench-memcmp.c: Likewise.
3871         * benchtests/bench-memcpy-large.c: Likewise.
3872         * benchtests/bench-memcpy.c: Likewise.
3873         * benchtests/bench-memmem.c: Likewise.
3874         * benchtests/bench-memmove-large.c: Likewise.
3875         * benchtests/bench-memmove.c: Likewise.
3876         * benchtests/bench-memset-large.c: Likewise.
3877         * benchtests/bench-memset.c: Likewise.
3878         * benchtests/bench-rawmemchr.c: Likewise.
3879         * benchtests/bench-strcasecmp.c: Likewise.
3880         * benchtests/bench-strcasestr.c: Likewise.
3881         * benchtests/bench-strcat.c: Likewise.
3882         * benchtests/bench-strchr.c: Likewise.
3883         * benchtests/bench-strcmp.c: Likewise.
3884         * benchtests/bench-strcpy.c: Likewise.
3885         * benchtests/bench-strcpy_chk.c: Likewise.
3886         * benchtests/bench-strlen.c: Likewise.
3887         * benchtests/bench-strncasecmp.c: Likewise.
3888         * benchtests/bench-strncmp.c: Likewise.
3889         * benchtests/bench-strncpy.c: Likewise.
3890         * benchtests/bench-strnlen.c: Likewise.
3891         * benchtests/bench-strpbrk.c: Likewise.
3892         * benchtests/bench-strrchr.c: Likewise.
3893         * benchtests/bench-strsep.c: Likewise.
3894         * benchtests/bench-strspn.c: Likewise.
3895         * benchtests/bench-strstr.c: Likewise.
3896         * benchtests/bench-strtok.c: Likewise.
3898 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3900         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
3901         stepping identification.
3902         (init_cpu_features): Add handle of Haswell.
3904 2016-11-25  Jim Meyering  <meyering@fb.com>
3906         [BZ #20386]
3907         Let gcc detect assert(a = 1) errors.
3908         * assert/assert.h (assert): Rewrite, retaining the old definintion
3909         when required, but otherwise putting the expression as-is in an "if"
3910         expression (hence, with no added parentheses) within a statement
3911         expression.
3913 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3915         * benchtests/Makefile (binaries-benchset): Depend on libsupport
3916         DSO.
3918 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
3920         * Rules (python-flags, python-invoke): New.
3921         ($(test-printers-out)): Use $(python-flags).
3923 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3925         * manual/arith.texi (Math Error Reporting): Document that sNaN
3926         arguments are not considered domain errors.
3928 2016-12-16  Zack Weinberg <zackw@panix.com>
3929             Florian Weimer <fweimer@redhat.com>
3930             Nick Mathewson <nickm@torproject.org>
3932         * string/explicit_bzero.c: New routine.
3933         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
3934         * string/Makefile (routines, strop-tests, tests): Add them.
3935         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
3936         * string/string.h [__USE_MISC]: Declare explicit_bzero.
3938         * debug/explicit_bzero_chk.c: New routine.
3939         * debug/Makefile (routines): Add it.
3940         * debug/tst-chk1.c: Test fortification of explicit_bzero.
3941         * string/bits/string3.h: Fortify explicit_bzero.
3943         * manual/string.texi: Document explicit_bzero.
3944         * NEWS: Mention addition of explicit_bzero.
3946         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
3947         data before returning, using explicit_bzero.
3948         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
3949         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3950         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3952         * include/string.h: Redirect internal uses of explicit_bzero
3953         to __explicit_bzero_chk[_internal].
3954         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
3955         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
3956         * sysdeps/arm/nacl/libc.abilist
3957         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3958         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3959         * sysdeps/unix/sysv/linux/arm/libc.abilist
3960         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3961         * sysdeps/unix/sysv/linux/i386/libc.abilist
3962         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3963         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3964         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3965         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3966         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3967         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3968         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3970         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3975         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3976         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3977         * sysdeps/unix/sysv/linux/sh/libc.abilist
3978         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3979         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3982         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3983         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3984         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3985         Add entries for explicit_bzero and __explicit_bzero_chk.
3987 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
3989         * math/fenv.h
3990         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
3991         (FE_SNANS_ALWAYS_SIGNAL): New macro.
3992         * math/test-fe-snans-always-signal.c: New file.
3993         * math/Makefile (tests): Add test-fe-snans-always-signal.
3994         (CFLAGS-test-fe-snans-always-signal.c): New variable.
3995         * manual/arith.texi (Infinity and NaN): Document
3996         FE_SNANS_ALWAYS_SIGNAL.
3998 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4000         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
4001         bracket.
4003 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4005         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
4006         before calling execv.
4008 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4010         [BZ# 20971]
4011         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
4012         overflow in pointer addition.
4013         * string/test-memchr.c (do_test): Add an argument to pass as
4014         the size on memchr.
4015         (test_main): Add check for SIZE_MAX.
4017 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4019         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
4020         (libm-calls): Add w_scalblnF.
4021         * math/w_scalbln.c: Remove.
4022         * math/w_scalblnf.c: Likewise.
4023         * math/w_scalblnl.c: Likewise.
4024         * math/w_scalbln_template.c: New file with type-generic
4025         implementation based on math/w_scalbln.c.
4026         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
4027         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
4029 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4031         [BZ #20947]
4032         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
4033         either is a signaling NaN.
4034         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
4035         follow fmaxl more closely.
4036         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
4037         when either is a signaling NaN.
4038         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
4039         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
4040         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
4041         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
4042         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
4043         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
4044         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
4045         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
4046         (fmin_test_data): Likewise.
4048 2016-12-15  Andreas Schwab  <schwab@suse.de>
4050         * support/support_test_main.c (support_test_main): Don't shadow
4051         file-local variable test_pid.
4053 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #20947]
4056         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
4057         either is a signaling NaN.
4058         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
4060 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4062         [BZ #20947]
4063         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
4064         when either is a signaling NaN.
4065         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
4067         * bits/long-double.h: New file.
4068         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
4069         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
4070         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
4071         * sysdeps/mips/bits/long-double.h: Likewise.
4072         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
4073         * math/Makefile (headers): Add bits/long-double.h.
4074         * misc/sys/cdefs.h: Include <bits/long-double.h>.
4075         * stdlib/strtold.c: Include <bits/long-double.h> instead of
4076         <bits/wordsize.h>.
4077         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
4078         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
4079         * math/math.h: Do not include <bits/mathdef.h>.
4080         * sysdeps/aarch64/bits/mathdef.h: Remove file.
4081         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
4082         inclusion.
4083         * sysdeps/ia64/bits/mathdef.h: Remove file.
4084         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
4085         * sysdeps/mips/bits/mathdef.h: Likewise.
4086         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4087         * sysdeps/s390/bits/mathdef.h: Likewise.
4088         * sysdeps/sparc/bits/mathdef.h: Likewise.
4089         * sysdeps/x86/bits/mathdef.h: Likewise.
4090         * sysdeps/s390/s390-32/bits/wordsize.h
4091         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
4092         conditional code.
4093         * sysdeps/s390/s390-64/bits/wordsize.h
4094         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4095         Likewise.
4096         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
4097         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4098         Likewise.
4099         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
4100         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4101         Likewise.
4102         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4103         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
4104         Likewise.
4106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
4107         <linux/falloc.h>.
4108         (FALLOC_FL_KEEP_SIZE): Remove.
4109         (FALLOC_FL_PUNCH_HOLE): Likewise.
4110         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
4111         (FALLOC_FL_ZERO_RANGE): Likewise.
4113 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4115         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
4117 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4119         * sysdeps/unix/sysv/linux/renameat.c: New file.
4120         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
4122         * sysdeps/unix/sysv/linux/rename.c: New file.
4123         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
4125 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4127         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
4128         * string/strtok.c (strtok): Change to tailcall __strtok_r.
4129         * string/strtok_r.c (__strtok_r): Optimize for performance.
4130         * string/string-inlines.c (__old_strtok_r_1c): New function.
4131         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
4133 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4135         * math/Makefile (gen-libm-calls): Add w_log1pF.
4136         (libm-calls): Remove w_log1pF.
4137         * math/w_log1p.c: Remove.
4138         * math/w_log1pf.c: Likewise.
4139         * math/w_log1pl.c: Likewise.
4140         * math/w_log1p_template.c: New file with type-generic
4141         implementation based on math/w_log1p.c.
4142         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
4143         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
4145 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
4147         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
4149 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
4151         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4152         kernel version to 4.9.
4154 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
4156         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
4157         ($(inst_libdir)/libm.a): Fix rule to create the target only.
4159 2016-12-13  Andreas Schwab  <schwab@suse.de>
4161         * sysdeps/powerpc/dl-procinfo.c: Don't define
4162         _dl_powerpc_platforms.
4163         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
4164         constants instead of referencing _dl_powerpc_platforms.
4165         (_dl_platform_string): Remove.
4167 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4169         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
4171 2016-12-13  Florian Weimer  <fweimer@redhat.com>
4173         * Rules (binaries-shared-tests, binaries-pie-tests)
4174         (binaries-static-tests): Link with $(link-extra-libs-tests).
4175         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
4176         Remove $(link-extra-libs-tests).
4178 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4180         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4181         (sysdep_routines): Add strncmp_power9.
4182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4183         (strncmp): Add __strncmp_power9 to list of strncmp functions.
4184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
4185         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
4186         (strncmp): Add __strncmp_power9 to ifunc list.
4187         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
4189 2016-12-12  Florian Weimer  <fweimer@redhat.com>
4191         [BZ #17252]
4192         Add getentropy, getrandom.
4193         * stdlib/sys/random.h: New file.
4194         (headers): Add it.
4195         * stdlib/Makefile (routines): Add getentropy, getrandom.
4196         (tests): Add tst-getrandom.
4197         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
4198         * stdlib/getentropy.c: New file.
4199         * stdlib/getrandom.c: Likewise.
4200         * stdlib/tst-getrandom.c: Likewise.
4201         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
4202         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
4203         * manual/crypt.texi (Unpredictable Bytes): New section.
4204         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
4205         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
4206         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4207         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4208         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4209         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4212         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4213         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4214         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4215         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4216         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4217         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4218         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4221         Likewise.
4222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4223         Likewise.
4224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4227         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4228         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4233         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4234         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4235         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4237 2016-12-10  Florian Weimer  <fweimer@redhat.com>
4239         [BZ #20956]
4240         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
4241         as additional compiler barriers.
4242         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
4243         (fn2, do_test): Declare with external linkage.
4244         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
4245         (do_test): Declare with external linkage.
4246         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
4247         (do_test): Declare with external linkage.
4248         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
4249         (do_test): Declare with external linkage.
4251 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
4253         * support/support_test_main.c (support_test_main): Use correct
4254         timeout.
4256 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
4257             Florian Weimer  <fweimer@redhat.com>
4259         [BZ #16421]
4260         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
4261         and __u6_addr32 members.
4262         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
4263         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
4264         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
4265         Use __u6_addr32.
4266         * inet/tst-checks.c: Use <support/test-driver.c>
4267         * inet/tst-checks-posix.c: New file.
4268         * inet/Makefile (tests): Add it.
4269         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
4271 2016-12-09  Florian Weimer  <fweimer@redhat.com>
4273         New subdirectory support for build and test infrastructure.
4274         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
4275         setting install-lib.
4276         * Makeconfig (link-extra-libs-tests): Define.
4277         (+link-pie-tests, +link-static-tests, +link-tests): Use
4278         link-extra-libs-tests.
4279         (rpath-dirs, all-subdirs): Add support.
4280         (built-modules): Add libsupport.
4281         (libsupport): Define.
4282         * support: New directory.
4283         * support/Makefile: New file.
4284         * support/check.c: Likewise.
4285         * support/check.h: Likewise.
4286         * support/delayed_exit.c: Likewise.
4287         * support/ignore_stderr.c: Likewise.
4288         * support/oom_error.c: Likewise.
4289         * support/set_fortify_handler.c: Likewise.
4290         * support/support.h: Likewise.
4291         * support/temp_file-internal.h: Likewise.
4292         * support/temp_file.c: Likewise.
4293         * support/test-driver.c: Likewise.
4294         * support/test-driver.h: Likewise.
4295         * support/test_main.c: Likewise.
4296         * support/write_message.c: Likewise.
4297         * support/xasprintf.c: Likewise.
4298         * support/xcalloc.c: Likewise.
4299         * support/xmalloc.c: Likewise.
4300         * support/xpthread_barrier_destroy.c: Likewise.
4301         * support/xpthread_barrier_init.c: Likewise.
4302         * support/xpthread_barrier_wait.c: Likewise.
4303         * support/xpthread_cancel.c: Likewise.
4304         * support/xpthread_check_return.c: Likewise.
4305         * support/xpthread_cond_wait.c: Likewise.
4306         * support/xpthread_create.c: Likewise.
4307         * support/xpthread_detach.c: Likewise.
4308         * support/xpthread_join.c: Likewise.
4309         * support/xpthread_mutex_lock.c: Likewise.
4310         * support/xpthread_mutex_unlock.c: Likewise.
4311         * support/xpthread_sigmask.c: Likewise.
4312         * support/xpthread_spin_lock.c: Likewise.
4313         * support/xpthread_spin_unlock.c: Likewise.
4314         * support/xrealloc.c: Likewise.
4315         * support/xsignal.h: Likewise.
4316         * support/xthread.h: Likewise.
4317         * support_tempfile.h: Likewise.
4318         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
4319         (TEST_DATA_LIMIT): Remove unused macro.
4320         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
4321         <support/check.h>.
4322         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
4323         (ignore_stderr, set_fortify_handler): Remove.  Now in
4324         <support/support.h>.
4325         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
4326         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
4327         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
4328         (xpthread_join): Remove.  Now in <support/xthread.h>.
4329         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
4330         Introduce legacy wrappers.
4331         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
4332         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
4333         (write_message): Remove.
4334         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
4335         test-skeleton.c.
4336         * io/test-open-tmpfile: Likewise.
4337         * io/tst-posix_fallocate-common.c: Likewise.
4338         * libio/tst-fseek.c: Likewise.
4339         * malloc/tst-malloc-backtrace.c: Likewise.
4340         * malloc/tst-malloc-fork-deadlock.c: Likewise.
4341         * malloc/tst-malloc-thread-exit.c: Likewise.
4342         * nptl/tst-cancel7.c: Likewise.
4343         * nptl/tst-cleanup0.c: Likewise.
4344         * posix/tst-posix_fadvise-common.c: Likewise.
4345         * rt/tst-shm.c: Likewise.
4346         * time/bug-getdate1.c: Likewise.
4347         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4348         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
4349         * elf/Makefile (tst-piemod1.so): Link against libsupport.
4351 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
4353         * Rules [$(run-built-tests) != no] (tests-expected): Add
4354         $(tests-printers).
4355         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
4357 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4359         [BZ #20539]
4360         * math/Makefile (install-lib-ldscripts): Add libm.a.
4361         (install_subdir): Remove.
4362         (install-others): Add.
4363         ($(inst_libdir)/libm.a): Add rule for installation as
4364         linker script.
4365         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
4367 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
4369         * INSTALL: Regenerated.
4370         * Makeconfig: Add comments and whitespace to make the control flow
4371         clearer.
4372         (+link-printers-tests, +link-pie-printers-tests,
4373         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
4374         built-rtld-LDFLAGS, link-libc-rpath,
4375         link-libc-tests-after-rpath-link,
4376         link-libc-printers-tests): New.
4377         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
4378         link-libc-tests): Use the new variables as required.
4379         * Makerules ($(py-const)): New rule.
4380         generated: Add $(py-const).
4381         * README.pretty-printers: New file.
4382         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
4383         (others): Depend on $(py-const).
4384         (tests): Depend on $(tests-printers-programs) or
4385         $(tests-printers-out),
4386         as required.  Pass $(tests-printers) to merge-test-results.sh.
4387         * manual/install.texi: Add requirements for testing the pretty
4388         printers.
4389         * nptl/Makefile (gen-py-const-headers, pretty-printers,
4390         tests-printers, CFLAGS-test-mutexattr-printers.c
4391         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
4392         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
4393         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
4394         * nptl/nptl-printers.py: New file.
4395         * nptl/nptl_lock_constants.pysym: Likewise.
4396         * nptl/test-cond-printers.c: Likewise.
4397         * nptl/test-cond-printers.py: Likewise.
4398         * nptl/test-condattr-printers.c: Likewise.
4399         * nptl/test-condattr-printers.py: Likewise.
4400         * nptl/test-mutex-printers.c: Likewise.
4401         * nptl/test-mutex-printers.py: Likewise.
4402         * nptl/test-mutexattr-printers.c: Likewise.
4403         * nptl/test-mutexattr-printers.py: Likewise.
4404         * nptl/test-rwlock-printers.c: Likewise.
4405         * nptl/test-rwlock-printers.py: Likewise.
4406         * nptl/test-rwlockattr-printers.c: Likewise.
4407         * nptl/test-rwlockattr-printers.py: Likewise.
4408         * scripts/gen-py-const.awk: Likewise.
4409         * scripts/test_printers_common.py: Likewise.
4410         * scripts/test_printers_exceptions.py: Likewise.
4412 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4414         * scripts/build-many-glibcs.py (Context.__init__): Take strip
4415         argument.
4416         (Glibc.build_glibc): Strip installed shared libraries if
4417         requested.
4418         (get_parser): Add --strip option.
4419         (main): Update Context call.
4421 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4422             Dominik Vogt  <vogt@linux.vnet.ibm.com>
4424         [BZ #20847]
4425         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4426         array bounds for else branch.
4427         (__execvpe): Style fixes.
4428         * posix/tst-vfork3.c (run_script): New function.
4429         (create_script): Likewise.
4430         (do_test): Use run_script internal function.
4431         (do_prepare): Use create_script internal function.
4433 2016-12-07  Andreas Schwab  <schwab@suse.de>
4435         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4436         (__elision_available): Don't declare.
4437         * sysdeps/unix/sysv/linux/x86/elision-conf.c
4438         (__elision_available): Don't define.
4439         (elision_init): Don't set __elision_available.
4441 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
4443         [BZ #20940]
4444         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
4445         return Inf for arguments Inf and sNaN.
4446         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
4447         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4448         Likewise.
4449         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4450         Likewise.
4451         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4452         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
4453         for arguments Inf and sNaN.  When returning a NaN, compute it by
4454         arithmetic on the arguments.
4455         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
4456         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
4457         arguments.
4459 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
4461         [BZ #20916]
4462         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
4463         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
4464         to compute result.
4465         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4466         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
4468 2016-12-05  Torvald Riegel  <triegel@redhat.com>
4470         * include/atomic.h (__atomic_check_size_ls): New.
4471         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
4472         atomic_store_release): Use it.
4473         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
4474         (elision_adapt, ELIDE_LOCK): Use atomics.
4475         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
4476         atomics and improve code comments.
4477         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
4478         (__lll_trylock_elision): Likewise.
4480 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4482         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
4483         programs.
4485 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4487         [BZ #20916]
4488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
4489         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
4490         arguments to compute result.
4491         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
4492         1 for arguments (sNaN, 0) or (1, sNaN).
4493         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4494         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4496         [BZ #20919]
4497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
4498         NaN first argument when raised to power 0.
4499         * math/w_pow.c (__pow): Do not check for NaN or zero results from
4500         raising to power zero.
4501         * math/w_powf.c (__powf): Likewise.
4502         * math/w_powl.c (__powl): Likewise.
4503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
4504         pow (0, 0) or pow (NaN, 0).
4506 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
4508         [BZ #20918]
4509         * configure.ac: Test for static NSS cryptographic libraries and set
4510         libc_cv_static_nss_crypt.
4511         * configure: Regenerate.
4512         * config.make.in (static-nss-crypt): Define.
4513         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
4514         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
4515         (CFLAGS-tst-linkall-static.c): Define.
4516         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
4517         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
4518         ($(objpfx)tst-linkall-static): Define.
4519         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
4520         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
4522 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4524         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
4525         (one-hundred, tst-tls-many-dynamic-modules): Define.
4526         (modules-names): Add $(tst-tls-many-dynamic-modules).
4527         (tst-tls-manydynamic%mod.os): Build with special preprocessor
4528         macros.
4529         (tst-tls-manydynamic): Link against libdl, libpthread.
4530         (tst-tls-manydynamic.out): The test needs the test modules at run
4531         time.
4532         * elf/tst-tls-manydynamic.c: New file.
4533         * elf/tst-tls-manydynamic.h: Likewise.
4534         * elf/tst-tls-manydynamicmod.c: Likewise.
4536 2016-12-02  Florian Weimer  <fweimer@redhat.com>
4538         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
4539         (TLS_DTV_UNALLOCATED): Add.
4540         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
4541         offsets.
4543 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4545         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4547 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
4549         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
4550         Add -fno-optimize-sibling-calls.
4552 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
4554         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4555         New declaration.
4556         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
4557         macro.
4558         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
4559         New macro.
4560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
4561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
4562         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
4563         (llogbf): Likewise.
4564         (llogbl): Likewise.
4565         * math/Makefile (gen-libm-calls): Add w_llogbF.
4566         (tests): Add test-fp-llogb-constants.
4567         * math/w_llogb_template.c: New file.  Based on
4568         math/w_ilogb_template.c.
4569         * math/libm-test.inc (llogb_test_data): New array.
4570         (llogb_test): New function.
4571         (main): Call llogb_test.
4572         * math/test-fp-llogb-constants.c: New file.  Based on
4573         math/test-fp-ilogb-constants.c.
4574         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
4575         (do_test): Call check_return_llogb.
4576         * math/test-tgmath.c (NCALLS): Increase to 126.
4577         (F(compile_test)): Call llogb.
4578         (F(llogb)): New function.
4579         * manual/math.texi (Exponents and Logarithms): Document llogb,
4580         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
4581         * manual/libm-err-tab.pl (@all_functions): Add llogb.
4582         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
4583         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4584         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
4585         (CFLAGS-nldbl-llogb.c): New variable.
4586         * sysdeps/nacl/libm.abilist: Update.
4587         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4588         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4589         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4590         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4591         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4592         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4593         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4594         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4595         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4596         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4597         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4598         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4600         Likewise.
4601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4602         Likewise.
4603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4604         Likewise.
4605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4608         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4609         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4610         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4611         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4613         Likewise.
4614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4617         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4618         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4620 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4622         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
4623         _Float128 instead of long double.
4624         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
4626         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
4627         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
4628         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
4629         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
4630         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
4631         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
4632         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
4633         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
4634         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
4635         Likewise.
4637 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4639         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
4640         Remove redirection to __strrchr_ppc.
4642 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4644         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4645         (sysdep_routines): Add strcmp_power9.
4646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4647         (strcmp): Add __strcmp_power9 to list of strcmp functions.
4648         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
4649         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
4650         (strcmp): Add __strcmp_power9 to ifunc list.
4651         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
4653 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
4655         * bits/fp-logb.h: New file.
4656         * sysdeps/ia64/bits/fp-logb.h: Likewise.
4657         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
4658         * sysdeps/x86/bits/fp-logb.h: Likewise.
4659         * math/Makefile (headers): Add bits/fp-logb.h.
4660         * math/math.h: Include <bits/fp-logb.h>.
4661         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
4662         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
4663         * bits/mathdef.h (FP_ILOGB0): Remove.
4664         (FP_ILOGBNAN): Likewise.
4665         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
4666         (FP_ILOGBNAN): Likewise.
4667         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
4668         (FP_ILOGBNAN): Likewise.
4669         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
4670         (FP_ILOGBNAN): Likewise.
4671         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
4672         (FP_ILOGBNAN): Likewise.
4673         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
4674         (FP_ILOGBNAN): Likewise.
4675         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
4676         (FP_ILOGBNAN): Likewise.
4677         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
4678         (FP_ILOGBNAN): Likewise.
4679         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
4680         (FP_ILOGBNAN): Likewise.
4681         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
4682         (FP_ILOGBNAN): Likewise.
4684         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
4685         time module.
4686         (Context.__init__): Initialize self.logsdir_old.
4687         (Context.run_builds): Handle bot action.
4688         (Context.bot_cycle): Copy logs directory before running builds.
4689         (Context.bot_run_self): Take argument for whether to check
4690         subprocess result.  Flush stdout before running subprocess.
4691         (Context.bot): New function.
4692         (get_parser): Allow bot action.
4694 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
4696         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
4697         Import email.mime.text, email.utils and smtplib modules.
4698         (Context.__init__): Initialize self.bot_config_json.
4699         (Context.run_builds): Handle bot-cycle action.
4700         (Context.load_bot_config_json): New function.
4701         (Context.part_build_old): Likewise.
4702         (Context.bot_cycle): Likewise.
4703         (Context.bot_build_mail): Likewise.
4704         (Context.bot_run_self): Likewise.
4705         (get_parser): Allow bot-cycle action.
4707 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
4710         Remove redirection to __stpcpy_ppc.
4712 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4714         Remove __libc_memalign from ld.so because it is unused.
4715         * elf/dl-minimal.c: Update comment on the malloc implementation.
4716         (malloc): Renamed from __libc_memalign, replacing the original
4717         malloc implementation.  Replace the align parameter with
4718         MALLOC_ALIGNMENT.
4719         * elf/Versions (ld): Update comment and remove __libc_memalign.
4720         * sysdeps/nacl/ld.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
4724         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
4725         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
4726         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
4727         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
4728         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
4729         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
4731         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
4732         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
4733         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
4734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
4735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4737         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
4738         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
4739         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
4742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
4743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
4744         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
4745         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
4746         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
4747         * sysdeps/generic/localplt.data (ld.so): Likewise.
4748         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4749         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4750         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4751         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4752         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4753         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4754         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4755         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
4756         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4758         (ld.so): Likewise.
4759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4760         (ld.so): Likewise.
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4764         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4765         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
4766         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
4767         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4769 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4771         [BZ #16628]
4772         Implement _dl_catch_error, _dl_signal_error in libc.so.
4773         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
4774         (catch_hook): Define as thread-local or regular variable,
4775         depending on DL_ERROR_BOOTSTRAP.
4776         (CATCH_HOOK): Remove.
4777         (dl_signal_error, _dl_catch_error): Use
4778         catch_hook.  Add hidden definition for libc.
4779         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
4780         for DL_ERROR_BOOTSTRAP only.
4781         * elf/dl-error.c: New file.
4782         * elf/dl-error-minimal.c: Likewise.
4783         * elf/tst-latepthread.c: Likewise.
4784         * elf/tst-latepthreadmod.c: Likewise.
4785         * elf/Makefile (routines): Add dl-error.
4786         (dl-routines): Remove dl-error.
4787         (rtld-routines): Add dl-error-minimal.
4788         [build-shared] (tests): Add tst-latepthread.
4789         (module-names): Add tst-latepthreadmod.
4790         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
4791         symbol.
4792         (tst-latepthreadmod.so): Link against libpthread.
4793         (tst-latepthread): Link against libdbl.
4794         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
4795         _dl_catch_error.
4796         [ld] (GLIBC_PRIVATE): Likewise.
4797         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
4798         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
4799         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
4800         directly.
4801         * elf/dl-tsd.c: Remove file.
4802         * elf/rtld.c (_rtld_global_ro): Remove initializers for
4803         _dl_catch_error, _dl_signal_error.
4804         (_dl_initial_error_catch_tsd): Remove definition.
4805         (do_preload): Remove initialization of dl_error_catch_tsd.
4806         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
4807         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
4808         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4809         * dlfcn/dlopen.c (dlopen_doit): Likewise.
4810         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
4811         set dl_error_catch_tsd.
4812         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
4813         _dl_error_catch_tsd member.
4814         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
4815         members.
4816         (_dl_initial_error_catch_tsd): Remove declaration.
4817         (_dl_dprintf): Provide definition for use outside of ld.so.
4818         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
4819         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
4820         prototype for libc.
4821         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
4822         _dl_catch_error.
4823         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
4824         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
4825         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
4826         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
4827         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
4828         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
4829         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
4830         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
4833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
4834         (ld.so): Likewise.
4835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4836         (ld.so): Likewise.
4837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
4840         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
4841         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
4842         Likewise.
4843         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
4844         Likewise.
4845         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
4847 2016-11-30  Florian Weimer  <fweimer@redhat.com>
4849         [BZ #4099]
4850         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
4851         _IO_BUFSIZ (8192).
4853 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
4855         * PROJECTS: Remove file.
4857 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4859         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
4861 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
4862             Steve Ellcey  <sellcey@caviumnetworks.com>
4864         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
4865         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
4866         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
4867         fxstatat.
4868         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
4869         lxstat.
4870         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
4871         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
4872         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
4873         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
4874         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
4875         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
4876         __xstat.
4878 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4880         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
4881         Define.
4882         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
4883         definition.
4885 2016-11-29  Florian Weimer  <fweimer@redhat.com>
4887         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
4888         version and turn into strong alias.  Remove compat symbol.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4891         (__longjmp): Remove.
4893 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
4895         * bits/fp-fast.h: New file.
4896         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
4897         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
4898         * math/Makefile (headers): Add bits/fp-fast.h.
4899         * math/math.h: Include <bits/fp-fast.h>.
4900         * bits/mathdef.h (FP_FAST_FMA): Remove.
4901         (FP_FAST_FMAF): Likewise.
4902         (FP_FAST_FMAL): Likewise.
4903         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
4904         (FP_FAST_FMAF): Likewise.
4905         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
4906         (FP_FAST_FMAF): Likewise.
4907         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
4908         (FP_FAST_FMAF): Likewise.
4909         (FP_FAST_FMAL): Likewise.
4910         * sysdeps/arm/bits/mathdef.h: Remove file.
4911         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
4912         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4913         * sysdeps/tile/bits/mathdef.h: Likewise.
4915 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
4917         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
4918         * math/w_ilogb.c: Remove.
4919         * math/w_ilogbf.c: Likewise.
4920         * math/w_ilogbl.c: Likewise.
4921         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
4922         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
4923         * math/Makefile (gen-libm-calls): Add w_ilogbF.
4924         (libm-calls): Remove w_ilogbF.
4925         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
4926         (LDOUBLE_ilogbl_libm_version): New macro.
4928         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
4930         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
4931         [!__STRICT_ANSI__ && !__cplusplus].
4933 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4935         [BZ #20750]
4936         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
4937         of PIC.
4939 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4940             Yury Norov  <ynorov@caviumnetworks.com>
4941             Steve Ellcey  <sellcey@caviumnetworks.com>
4943         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
4944         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
4945         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
4946         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
4947         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
4948         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
4949         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
4950         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
4951         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
4952         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
4953         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
4954         to get correct reg name for ILP32.
4955         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
4956         (RELA_SIZE): New Macro.
4957         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
4958         to support ILP32.
4959         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
4960         cast for ILP32 mode.
4961         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
4962         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
4963         * sysdeps/aarch64/memset.S (__memset): Ditto.
4964         * sysdeps/aarch64/strchr.S (strchr): Ditto.
4965         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
4966         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
4967         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
4968         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
4969         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
4970         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
4971         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
4972         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
4973         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
4974         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
4975         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
4976         change PTR_MANGLE call to use register numbers instead of names.
4977         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
4978         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
4979         ILP32 mode, change PTR_MANGLE calls to use register numbers.
4980         * sysdeps/aarch64/start.S (_start): Ditto.
4981         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
4982         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
4983         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
4984         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
4985         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
4986         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
4987         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
4988         Make defined values dependent on __ILP32__.
4989         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
4990         (sem_t): Change __align type.
4991         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
4992         PTR_SIZE): New Macros.
4993         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
4994         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
4995         Set when in ILP32 mode.
4996         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
4997         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
4998         Set elf flags for ILP32.
4999         (add_system_dir): Set ILP32 library directories.
5000         * sysdeps/unix/sysv/linux/aarch64/init-first.c
5001         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
5002         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
5003         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
5004         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
5005         New Macros.
5006         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
5008 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5010         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
5011         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
5012         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
5014 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5016         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
5017         <asm/cachectl.h>.
5019 2016-11-27  Zack Weinberg  <zackw@panix.com>
5021         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
5022         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
5024 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5026         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
5027         error_t to fix usage in C++ programs.
5029 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
5031         * scripts/build-many-glibcs.py: Import datetime module.
5032         (Context.__init__): Load JSON build state.  Initialize list of
5033         status logs.
5034         (Context.run_builds): Update saved build state.
5035         (Context.add_makefile_cmdlist): Update list of status logs.
5036         (Context.load_build_state_json): New function.
5037         (Context.store_build_state_json): Likewise.
5038         (Context.clear_last_build_state): Likewise.
5039         (Context.update_build_state): Likewise.
5040         (CommandList.status_logs): Likewise.
5042 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
5044         * scripts/build-many-glibcs.py (Context.__init__): Save text of
5045         script being executed.
5046         (Context.get_script_text): New function.
5047         (Context.exec_self): Likewise.
5048         (Context.checkout): Re-exec script if changed by checkout process.
5050 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5052         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5053         (setpayloadsig): New declaration.
5054         * math/Versions (setpayloadsig): New libm symbol at version
5055         GLIBC_2.25.
5056         (setpayloadsigf): Likewise.
5057         (setpayloadsigl): Likewise.
5058         * math/Makefile (libm-calls): Add s_setpayloadsigF.
5059         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
5060         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
5061         (setpayloadsig_test_data): New array.
5062         (setpayloadsig_test): New function.
5063         (main): Call setpayloadsig_test.
5064         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
5065         setpayloadsigf and setpayloadsigl.
5066         * manual/libm-err-tab.pl: Update comment on interfaces without
5067         ulps tabulated.
5068         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
5069         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
5070         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
5071         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
5072         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
5073         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
5074         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5075         setpayloadsig.
5076         (CFLAGS-nldbl-setpayloadsig.c): New variable.
5077         * sysdeps/nacl/libm.abilist: Update.
5078         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5079         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5080         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5084         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5085         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5091         Likewise.
5092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5093         Likewise.
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5097         Likewise.
5098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5099         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5100         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5104         Likewise.
5105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5106         Likewise.
5107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5111         * scripts/build-many-glibcs.py: Import json module.
5112         (Context.__init__): Take replace_sources argument.  Load
5113         versions.json.
5114         (Context.load_versions_json): New function.
5115         (Context.store_json): Likewise.
5116         (Context.store_versions_json): Likewise.
5117         (Context.set_component_version): Likewise.
5118         (Context.checkout): Update versions.json.  Check for and handle
5119         changes of version.  Prefer previously explicitly specified
5120         version to default version.
5121         (Context.checkout_vcs): Return a revision identifier.
5122         (Context.git_checkout): Likewise.
5123         (Context.gcc_checkout): Likewise.
5124         (get_parser): Add --replace-sources option.
5125         (main): Pass replace_sources argument to Context call.
5127 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5129         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
5130         * nptl/allocatestack.c (allocate_stack): Likewise.
5131         (__reclaim_stacks): Likewise.
5132         (setxid_signal_thread): Obtain pid through syscall.
5133         * nptl/nptl-init.c (sigcancel_handler): Likewise.
5134         (sighandle_setxid): Likewise.
5135         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
5136         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5137         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5138         Likewise.
5139         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
5140         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
5141         comment.
5142         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
5143         * nptl/descr.h (struct pthread): Change comment about pid value.
5144         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
5145         pid assert.
5146         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
5147         Do not set pid value.
5148         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
5149         pid cache check.
5150         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
5151         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
5152         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
5153         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
5154         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
5155         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5156         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
5157         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
5158         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
5159         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
5160         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
5161         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5162         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
5163         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5164         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
5165         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
5166         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5167         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
5168         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
5169         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
5170         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
5171         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5172         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
5173         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
5174         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5177         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5178         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5179         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5180         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
5181         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5182         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
5183         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5184         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
5185         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5186         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
5187         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5188         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
5189         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
5190         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5191         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
5192         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5195         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5196         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5197         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5198         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5199         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5200         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
5201         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5202         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
5203         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
5204         struct access.
5205         (clone_test): Remove function.
5206         (do_test): Rewrite to take in consideration pid is not cached anymore.
5208 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
5210         * bits/flt-eval-method.h: New file.
5211         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
5212         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
5213         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
5214         * math/Makefile (headers): Add bits/flt-eval-method.h.
5215         * math/math.h: Include <bits/flt-eval-method.h>.
5216         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
5217         [__USE_ISOC99] (double_t): Likewise.
5218         * bits/mathdef.h (float_t): Remove.
5219         (double_t): Likewise.
5220         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
5221         (double_t): Likewise.
5222         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
5223         (double_t): Likewise.
5224         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
5225         (double_t): Likewise.
5226         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
5227         (double_t): Likewise.
5228         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
5229         (double_t): Likewise.
5230         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
5231         (double_t): Likewise.
5232         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
5233         (double_t): Likewise.
5234         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
5235         (double_t): Likewise.
5236         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
5237         (double_t): Likewise.
5238         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
5239         (double_t): Likewise.
5240         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
5241         (double_t): Likewise.
5242         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
5243         (double_t): Likewise.
5244         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
5245         (double_t): Likewise.
5247 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
5249         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
5250         instead of PIC.
5252 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5254         [BZ #20859]
5255         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
5256         (-0x7fffffff) instead of 0x80000001.
5257         * math/test-fp-ilogb-constants.c: New file.
5258         * math/Makefile (tests): Add test-fp-ilogb-constants.
5260 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
5262         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
5263         (_init): Use it in place of hardcoded R_MIPS_JALR.
5264         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
5265         (_init): Use it in place of hardcoded R_MIPS_JALR.
5266         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
5267         (_init): Use it in place of hardcoded R_MIPS_JALR.
5269 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #20787]
5272         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
5273         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
5274         (double_t): Do not define to double if [__x86_64__] when
5275         __FLT_EVAL_METHOD__ is nonzero.
5276         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
5277         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
5278         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5279         test-flt-eval-method-387 and test-flt-eval-method-sse.
5280         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
5281         variable.
5282         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
5284 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
5286         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
5287         use of -fno-isolate-erroneous-paths options for tilepro.
5289 2016-11-23  Florian Weimer  <fweimer@redhat.com>
5291         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
5292         structure initialization is no longer needed.
5294 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
5296         [BZ #20855]
5297         * bits/mathdef.h (float_t): Define to float.
5298         * math/test-flt-eval-method.c: New file.
5299         * math/Makefile (tests): Add test-flt-eval-method.
5300         (CFLAGS-test-flt-eval-method.c): New variable.
5302 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
5304         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
5305         and __fstatfs.  Make them aliases of __fstatfs64 if
5306         STATFS_IS_STATFS64 is set to non-zero.
5307         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
5308         and __statfs64.
5309         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
5310         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
5311         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
5312         for __statfs and statfs.
5313         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
5314         to 0.
5315         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
5316         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
5317         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
5318         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5319         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5320         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
5323         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
5324         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5325         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
5326         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
5328 2016-11-22  Andreas Schwab  <schwab@suse.de>
5330         * misc/mkstemp.c: Include <fcntl.h>.
5331         * misc/mkstemps.c: Likewise.
5332         * misc/mkostemp.c: Likewise.
5333         * misc/mkostemps.c: Likewise.
5335 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
5337         [BZ #20847]
5338         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5339         array bounds.
5340         (__execvpe): Likewise.
5342 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
5344         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
5345         -fno-isolate-erroneous-paths options for tilepro.
5347 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
5349         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
5350         to 0 when in 32 bit mode.
5351         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
5352         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
5353         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
5354         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
5355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
5356         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
5357         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
5358         XSTAT_IS_XSTAT64 test.
5359         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
5360         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
5361         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
5362         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
5363         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
5364         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
5365         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
5366         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
5367         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
5368         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
5369         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
5371 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
5373         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5374         (setpayload): New declaration.
5375         * math/Versions (setpayload): New libm symbol at version
5376         GLIBC_2.25.
5377         (setpayloadf): Likewise.
5378         (setpayloadl): Likewise.
5379         * math/Makefile (libm-calls): Add s_setpayloadF.
5380         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
5381         test_Ff_b1_data.
5382         (RUN_TEST_Ff_b1): New macro.
5383         (RUN_TEST_LOOP_Ff_b1): Likewise.
5384         (canonicalize_test_data): Update type.
5385         (setpayload_test_data): New array.
5386         (setpayload_test): New function.
5387         (main): Call setpayload_test.
5388         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
5389         setpayloadf and setpayloadl.
5390         * manual/libm-err-tab.pl: Update comment on interfaces without
5391         ulps tabulated.
5392         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
5393         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
5394         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
5395         Likewise.
5396         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
5397         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
5398         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
5399         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
5400         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
5401         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
5402         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
5403         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
5404         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
5405         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5406         setpayload.
5407         (CFLAGS-nldbl-setpayload.c): New variable.
5408         * sysdeps/nacl/libm.abilist: Update.
5409         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5410         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5411         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5412         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5413         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5414         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5415         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5416         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5417         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5418         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5419         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5420         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5422         Likewise.
5423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5424         Likewise.
5425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5426         Likewise.
5427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5428         Likewise.
5429         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5430         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5431         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5432         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5433         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5435         Likewise.
5436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5439         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5440         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5442 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5444         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
5445         * include/unistd.h: Extend comment about __access_noerrno return
5446         semantics.
5447         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
5448         (access_common): Correct typo for EACCES.
5450 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
5452         * sysdeps/tile/math-tests.h: New file.
5454         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
5455         (__old_set_dataplane): Rename from set_dataplane and make a
5456         compatibility symbol.
5457         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
5458         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
5459         sys/dataplane.h.
5461 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
5463         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
5464         script quote words in command output to log suitably for input to
5465         the shell.
5467 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
5468             Maciej W. Rozycki  <macro@imgtec.com>
5470         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
5471         `.Lno_weak_fn' label.
5472         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
5473         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
5475 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5476             Yury Norov  <ynorov@caviumnetworks.com>
5478         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
5479         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
5480         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5481         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
5482         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
5484         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5486         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5487         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
5488         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
5489         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
5490         (sysdep_routines): Remove oldgetrlimit64.
5491         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
5492         (sysdep_routines): Likewise.
5493         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
5494         (sysdep_routines): Likewise.
5495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5496         [$(subdir) = resource] (sysdep_routines): Likewise.
5497         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5498         [$(subdir) = resource] (sysdep_routines): Likewise.
5499         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
5500         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
5501         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
5502         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
5503         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
5504         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5505         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5506         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
5507         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
5508         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
5509         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
5510         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
5511         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
5512         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
5513         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
5514         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
5515         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
5516         setrlimit and getrlimit.
5517         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5518         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5519         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
5520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
5522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5523         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
5524         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5525         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5526         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
5527         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
5528         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
5529         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
5530         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
5531         (__old_getrlimit64): Add compatibility symbol.
5532         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
5534 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
5536         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
5537         newly built gmp, mpfr and mpc.
5539         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
5541 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5543         * conform/Makefile (linknamespace-libs): Rename to
5544         linknamespace-libs-thr.
5545         (linknamespace-libs-posix): New variable.
5546         (linknamespace-libs-xsi): Likewise.
5547         (linknamespace-libs-XPG3): Include libcrypt.a.
5548         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
5549         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
5550         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
5551         (linknamespace-libs-XOPEN2K): Likewise.
5552         (linknamespace-libs-XOPEN2K8): Likewise.
5553         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
5555         [BZ #20829]
5556         * stdio-common/Versions (__snprintf): Add to version
5557         GLIBC_PRIVATE.
5558         * include/stdio.h (__snprintf): Use libc_hidden_proto.
5559         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
5560         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
5561         of snprintf.
5562         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5564 2016-11-16  Zack Weinberg  <zackw@panix.com>
5566         * string/string.h: Remove obsolete comment stating that
5567         strcoll_l and strxfrm_l have not yet been standardized.
5569 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5571         * hurd/hurd.h (__hurd_fail_noerrno): New function.
5572         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
5573         __access_noerrno.
5574         * io/access.c (__access_noerrno): New function.
5575         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
5576         (hurd_fail_seterrno): Likewise.
5577         (access_common): Likewise.
5578         (__access_noerrno): Likewise.
5579         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
5580         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
5581         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
5582         macro.
5584 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
5586         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
5587         Only declare fpregs if [__SH_FPU_ANY__].
5589 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
5591         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
5592         Make code unconditional.
5593         [!(__SH4__ || __SH4A__)]: Remove conditional code.
5595 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
5597         * manual/sysinfo.texi (S_APPEND): Delete.
5598         (S_IMMUTABLE): Likewise.
5600 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
5601             Magnus Granberg  <zorry@gentoo.org>
5602             Mike Frysinger  <vapier@gentoo.org>
5604         [BZ #20662]
5605         * configure.ac (libc_cv_predef_stack_protector): Also check for
5606         __stack_chk_fail_local symbols.
5607         * configure: Regenerated.
5609 2016-11-15  Florian Weimer  <fweimer@redhat.com>
5611         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5612         (libc_hidden_def): Remove redefinition.
5613         (__sigsetjmp): Add hidden definition.
5614         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
5615         (libc_hidden_def): Remove redefinition.
5616         (__sigsetjmp): Add hidden definition.
5618 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
5620         * scripts/build-many-glibcs.py (os.path): Do not import.
5621         (Context): Inherit explicitly from object.  Remove blank line
5622         between class and docstring.
5623         (Config): Likewise.
5624         (Glibc): Likewise.
5625         (Command): Likewise.
5626         (CommandList): Likewise.
5627         (Context.write_files): Store chmod mode in a variable.
5629         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
5630         LIBC_SLIBDIR_RTLDDIR for tilegx32.
5631         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
5633 2016-11-14  Zack Weinberg  <zackw@panix.com>
5635         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
5636         creating or re-creating it.
5638         * string/bits/string2.h: Fix typo in comment.
5640 2016-11-14  Zack Weinberg  <zackw@panix.com>
5642         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
5643         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
5644         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
5645         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
5646         of redirected function names.
5648         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
5649         as well.  Document that MESSAGE must be a single string literal.
5651 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
5653         * scripts/build-many-glibcs.py: New file.
5655         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
5656         (do_test): Disable -Wmaybe-uninitialized around uses of
5657         except_mask.
5659         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
5661 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
5663         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
5664         (atomic_store_release): Provide tilepro-specific implementations.
5666 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
5668         * math/math.h (__MATH_TG): New macro.
5669         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
5670         [__USE_ISOC99] (signbit): Likewise.
5671         [__USE_ISOC99] (isfinite): Likewise.
5672         [__USE_ISOC99] (isnan): Likewise.
5673         [__USE_ISOC99] (isinf): Likewise.
5674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
5675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
5676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
5677         __MATH_TG and __MATH_EVAL_FMT2.
5678         * sysdeps/generic/math_private.h (fabs_tg): Define using
5679         __MATH_TG.
5680         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5681         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
5682         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
5683         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
5684         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
5685         macro.
5686         (__iscanonical): Likewise.
5687         (iscanonical): Define using __MATH_TG.
5689 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5691         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
5692         guards.
5694         * sysdeps/unix/sysv/linux/access.c: New file.
5695         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
5697 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
5699         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
5700         and __WORDSIZE32_PTRDIFF_LONG.
5702 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5704         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5706 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5708         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
5709         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
5710         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
5711         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
5712         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
5714         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
5715         * sysdeps/unix/sysv/linux/truncate.c: New file.
5716         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
5717         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5718         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
5719         Remove.
5720         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
5721         Likewise.
5723         * posix/tst-truncate-common.c: New file.
5724         * posix/tst-truncate.c: Use tst-truncate-common.c.
5725         * posix/tst-truncate64.c: Likewise and add LFS tests.
5726         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
5727         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
5728         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
5729         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
5730         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
5731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
5732         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
5733         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
5734         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
5735         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
5736         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
5737         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
5738         Remove.
5739         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
5740         Likewise.
5742 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #20790]
5745         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
5746         to MAXLINESIZE.
5747         * sunrpc/bug20790.x: New file.
5748         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
5749         variable.
5750         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
5751         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
5753         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
5755         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
5757         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
5758         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
5759         calloc, realloc, free, memalign and __libc_memalign rather than
5760         making them optional.
5762         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
5763         for libc.so.
5765 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5767         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
5768         ptw-lseek64.
5769         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
5770         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
5771         Likewise.
5772         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
5773         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
5774         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
5775         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
5776         * sysdeps/unix/sysv/linux/lseek.c: New file.
5777         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
5778         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
5779         __libc_lseek64 from auto-generation.
5780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5781         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
5783 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5785         * nptl/tst-basic1.c (tf, do_test): Use write_message.
5786         * nptl/tst-cleanup1.c (do_test): Likewise.
5787         * nptl/tst-cleanup3.c (do_test): Likewise.
5788         * nptl/tst-key1.c (do_test): Likewise.
5789         * nptl/tst-key2.c (tf, do_test): Likewise.
5790         * nptl/tst-key3.c (tf, do_test): Likewise.
5791         * nptl/tst-stdio1.c (do_test): Likewise.
5792         * nptl/tst-stdio2.c (do_test): Likewise.
5794         * nptl/tst-kill3.c (handler): Use write_message in place of write.
5795         * nptl/tst-kill6.c (handler): Likewise.
5796         * nptl/tst-tls2.c (CB): Likewise.
5797         * nptl/tst-tls3.c (CB): Likewise.
5799 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
5801         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
5803 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
5804             Steve Ellcey  <sellcey@caviumnetworks.com>
5806         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
5807           __ASSUME_ST_INO_64_BIT as 0
5808         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
5809         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
5810           over the code where __ASSUME_ST_INO_64_BIT is used.
5811         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
5812         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
5813         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5815 2016-11-07  Florian Weimer  <fweimer@redhat.com>
5817         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5818         Document ABI exposure of the __kind offset.
5819         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5820         Mention reason for the __kind offset exposure in the ABI.
5821         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5822         Likewise.
5823         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5824         Likewise.
5825         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5826         Likewise.
5827         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
5828         (struct __pthread_mutex_s): Likewise.
5829         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5830         Likewise.
5831         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5832         Likewise.
5833         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5834         Likewise.
5835         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5836         Likewise.
5837         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5838         Likewise.
5839         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
5840         Likewise.
5841         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5842         (struct __pthread_mutex_s): Likewise.
5843         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5844         (struct __pthread_mutex_s): Likewise.
5845         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
5846         Likewise.
5848 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
5850         * test-skeleton.c: Document do_test usage.
5852 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
5854         * iconv/gconv.h (__gconv_info): Define __data element using a
5855         zero-length array.
5857 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
5859         * math/test-tgmath2.c: Split up test function.
5861 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5863         * Rules (tests-expected): New variable, depending on
5864         $(run-built-tests).
5865         (tests): Pass $(tests-expected) to merge-test-results.sh, not
5866         $(tests).
5868         * Rules [$(run-built-tests) = no] (tests): Do not depend on
5869         $(tests-unsupported).
5871 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5873         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5874         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
5876 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5878         [BZ #20768]
5879         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
5880         __fegetenv instead of fegetenv.
5882         [BZ #14139]
5883         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
5884         (find_files): Obtain platform name from libm-test-ulps-name and
5885         store in %pplatforms.
5886         (canonicalize_platform): Remove.
5887         (print_platforms): Use $pplatforms directly.
5888         (by_platforms): Do not allow for platforms missing from
5889         %pplatforms.
5890         * sysdeps/aarch64/libm-test-ulps-name: New file.
5891         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
5892         * sysdeps/arm/libm-test-ulps-name: Likewise.
5893         * sysdeps/generic/libm-test-ulps-name: Likewise.
5894         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
5895         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
5896         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
5897         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
5898         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
5899         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
5900         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
5901         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
5902         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
5903         * sysdeps/nios2/libm-test-ulps-name: Likewise.
5904         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
5905         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
5906         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
5907         * sysdeps/sh/libm-test-ulps-name: Likewise.
5908         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
5909         * sysdeps/tile/libm-test-ulps-name: Likewise.
5910         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
5912         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
5914         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
5915         (test-xfail-check-execstack): New variable.
5917         * sysdeps/mips/localplt.data: New file.
5919 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
5920             Steve Ellcey  <sellcey@caviumnetworks.com>
5922         * bits/wordsize.h: Add documentation.
5923         * sysdeps/aarch64/bits/wordsize.h : New file
5924         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
5925         definitions.
5926         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
5927         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
5928         with #if instead of #ifdef.
5929         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
5930         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
5931         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
5932         Add or change defines.
5933         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
5934         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5935         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
5936         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
5937         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5938         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5939         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
5940         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
5941         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
5942         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5943         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
5944         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
5945         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
5946         * sysdeps/x86/bits/wordsize.h: Likewise.
5948 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
5949             Kevin Petit  <kevin.petit@arm.com>
5951         * sysdeps/aarch64/memchr.S (__memchr): New file.
5953 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
5955         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
5957 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
5959         [BZ #19398]
5960         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
5961         $(linknamespace-symlists-tests).
5963 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
5965         * time/tst-strptime2.c: Ignore -Wformat-length warning.
5967 2016-11-02  Florian Weimer  <fweimer@redhat.com>
5968             Carlos O'Donell  <carlos@redhat.com>
5970         [Bug #20729]
5971         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
5972         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
5973         for -Os related change.
5975 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
5977         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
5979 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
5981         [BZ #19673]
5982         * manual/math.texi (Exponents and Logarithms): Correct description
5983         of clog10.
5985 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
5987         [Bz #20729]
5988         * locale/weight.h: Include libc-internal.h.
5989         * locale/weightwc.h: Likewise.
5990         * nptl/nptl_dbP.h: Likewise.
5992 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
5994         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
5995         when it is MACH_PORT_NULL.
5997 2016-10-31  Andreas Schwab  <schwab@suse.de>
5999         [BZ #20707]
6000         * posix/glob.c (glob): Initialize pglob before checking for
6001         GLOB_BRACE.  Don't call glob recursively if pattern contains no
6002         valid brace expression despite GLOB_BRACE.
6003         * posix/globtest.sh: Test it.
6005 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6007         [BZ #20729]
6008         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
6009         Define.
6010         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
6011         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
6012         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
6013         for seq2.back_us and seq1.back_us only for -Os compiles.
6014         * locale/weightwc.h (findix): Likewise.
6015         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
6016         DB_GET_FIELD_ADDRESS only for -Os compiles.
6017         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
6018         for slen only for -Os compiles.
6019         * string/strcoll_l.c (get_next_seq): Ignore
6020         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
6021         for -Os compiles.
6023         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
6024         * include/crypt.h: New file.
6026 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6028         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
6029         from test-skeleton.c.
6030         (statclass): Replace calls to write with calls to write_message.
6032 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6034         * math/math.h
6035         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
6036         New macro.
6037         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
6038         Likewise.
6039         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
6040         Likewise.
6041         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
6042         SNANL.
6043         * math/test-double.h (snan_value_MACRO): New macro.
6044         * math/test-float.h (snan_value_MACRO): Likewise.
6045         * math/test-ldouble.h (snan_value_MACRO): Likewise.
6046         * math/libm-test.inc (issignaling_test_data): Add tests of
6047         snan_value_MACRO.
6049 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6051         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
6052         behavior when eliding a lock not held by the current thread.
6053         * sysdeps/powerpc/nptl/elide.h: Likewise.
6055 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6057         [BZ #20728]
6058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
6059         branch to _exit() by a function call.
6061 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6063         * malloc/malloc.c: Update chunk layout comments.
6064         (chunk_main_arena): Update comment.
6066 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6068         * crypt/sha256.c, crypt/sha256-block.c,
6069         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
6070         sha256_process_block to __sha256_process_block.
6071         * crypt/sha512.c, crypt/sha512-block.c,
6072         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
6073         sha512_process_block to __sha512_process_block.
6075 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
6077         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
6079         * math/test-nan-overflow.c: Include stdlib.h for malloc.
6081 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
6083         [BZ #20019]
6084         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
6085         definition in unrelocated shared library.
6086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6088 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6090         [BZ #20729]
6091         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
6092         * sysdeps/unix/sysv/linux/i386/Makefile
6093         (uses-6-syscall-arguments): Define.
6094         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
6095         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
6096         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
6097         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
6098         Likewise.
6099         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
6100         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
6101         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
6102         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
6103         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
6104         (CFLAGS-fallocate64.os): Likewise.
6105         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
6106         (CFLAGS-pthread_rwlock_timedrdlock.os)
6107         (CFLAGS-pthread_rwlock_timedwrlock.o)
6108         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
6109         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
6110         (CFLAGS-sem_timedwait.os): Likewise.
6112 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6114         * elf/tst-linkall-static.c: New file.
6115         * elf/Makefile (tests-static): Add tst-linkall-static.
6116         (tst-linkall-static): Link against static libraries.
6118 2016-10-27  Florian Weimer  <fweimer@redhat.com>
6120         * malloc/malloc.c (sysmalloc): Initialize previous size field of
6121         mmaped chunks.
6123 2016-10-28  Florian Weimer  <fweimer@redhat.com>
6125         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
6126         members to mchunk_prev_size, mchunk_size.
6127         (chunk_main_arena): Reverse sense and rename from
6128         chunk_non_main_arena.
6129         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
6130         mchunk_size instead of size.
6131         (set_non_main_arena): Define.
6132         (chunksize): Use chunksize_nomask instead of direct member access.
6133         (chunksize_nomask): Define.
6134         (next_chunk): Use chunksize instead of direct member access.
6135         (prev_size, set_prev_size): Define.
6136         (prev_chunk): Use prev_size instead of direct member access.
6137         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
6138         (inuse_bit_at_offset, set_inuse_bit_at_offset)
6139         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
6140         (mchunk_prev_size, mchunk_size): Poison tokens.
6141         (unlink): Use chunksize_nomask, prev_size accessors.
6142         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
6143         (do_check_free_chunk): Use prev_size accessor.
6144         (sysmalloc): Use set_prev_size, set_head accessors.
6145         (munmap_chunk, mremap_chunk): Use prev_size accessor.
6146         (__libc_free): Use chunksize_nomask accessor.
6147         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
6148         chunk_main_arena accessors.
6149         (_int_free): Use chunksize_nomask, prev_size accessors.
6150         (malloc_consolidate): Use chunksize, prev_size accessors.
6151         (_int_realloc): Use chunksize_nomask accessor.
6152         (_int_memalign): Use set_prev_size accessor.
6153         (__malloc_info): Use chunksize_nomask accessor.
6154         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
6155         accessors.
6156         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
6157         (heap_trim): Use chunksize_nomask, prev_size accessors.
6159 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
6161         [BZ #19380]
6162         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
6163         for inexact results.
6164         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
6165         of inexact result where mpfr_subnormalize is the only inexact
6166         step.
6167         * stdlib/tst-strtod-round-data.h: Regenerated.
6168         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
6169         Define to 0.
6170         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
6172 2016-10-27  David S. Miller  <davem@davemloft.net>
6174         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
6176 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6178         * malloc/malloc.c (do_set_mallopt_check): New function.
6179         (do_set_mmap_threshold): Likewise.
6180         (do_set_mmaps_max): Likewise.
6181         (do_set_top_pad): Likewise.
6182         (do_set_perturb_byte): Likewise.
6183         (do_set_trim_threshold): Likewise.
6184         (do_set_arena_max): Likewise.
6185         (do_set_arena_test): Likewise.
6186         (__libc_mallopt): Use them.
6188 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
6190         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6191         (canonicalize): New declaration.
6192         * math/Versions (canonicalize): New libm symbol at version
6193         GLIBC_2.25.
6194         (canonicalizef): Likewise.
6195         (canonicalizel): Likewise.
6196         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
6197         * math/s_canonicalize_template.c: New file.
6198         * math/libm-test.inc: Update comment on functions tested and
6199         testing of NaN payloads.
6200         (TEST_NAN_PAYLOAD): New macro.
6201         (NO_TEST_INLINE): Update value.
6202         (XFAIL_TEST): Likewise.
6203         (ERRNO_UNCHANGED): Likewise.
6204         (ERRNO_EDOM): Likewise.
6205         (ERRNO_ERANGE): Likewise.
6206         (IGNORE_RESULT): Likewise.
6207         (NON_FINITE): Likewise.
6208         (TEST_SNAN): Likewise.
6209         (NO_TEST_MATHVEC): Likewise.
6210         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
6211         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
6212         (struct test_Ffp_b1_data): New type.
6213         (RUN_TEST_Ffp_b1): New macro.
6214         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6215         (canonicalize_test_data): New array.
6216         (canonicalize_test): New function.
6217         (main): Call canonicalize_test.
6218         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
6219         canonicalizef and canonicalizel.
6220         * manual/libm-err-tab.pl: Update comment on interfaces without
6221         ulps tabulated.
6222         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
6223         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
6224         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6225         canonicalize.
6226         (CFLAGS-nldbl-canonicalize.c): New variable.
6227         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
6228         to ...
6229         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
6230         ... here.
6231         (do_test): Also test canonicalizel.
6232         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
6233         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
6234         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
6235         file.
6236         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
6237         Use libm_hidden_def.
6238         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
6239         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
6240         (do_test): Also test canonicalizel.
6241         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
6242         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
6243         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
6244         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
6245         libm_hidden_def.
6246         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
6247         macro.
6248         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
6249         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
6250         * sysdeps/nacl/libm.abilist: Update.
6251         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6252         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6253         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6254         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6255         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6256         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6257         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6258         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6264         Likewise.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6266         Likewise.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6268         Likewise.
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6270         Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6272         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6273         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6274         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6275         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6277         Likewise.
6278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6279         Likewise.
6280         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6282         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6284         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
6285         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6286         getpayload.
6287         (CFLAGS-nldbl-getpayload.c): New variable.
6289 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6291         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
6292         integer from the format string.
6294 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6296         [BZ #19473]
6297         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
6298         declarations.
6299         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
6300         weak aliases.
6301         * malloc/hooks.c (__malloc_get_state): Remove definition.
6302         (malloc_get_state): New stub implementation as
6303         compatibility symbol.
6304         (malloc_set_state): Rename from __malloc_set_state.  Turn into
6305         compat symbol.
6306         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
6307         malloc_set_state.
6308         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
6310 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6312         * iconvdata/iso646.c (enum variant): Drop illegal_var.
6313         (names): Turn into concatenation of strings.
6314         (gconv_init): Adapt iteration over names.
6316 2016-10-26  Florian Weimer  <fweimer@redhat.com>
6318         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
6319         make const.
6320         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
6321         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
6322         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
6323         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
6324         character in sbconv.
6325         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
6326         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
6327         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
6329 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6331         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
6333         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
6334         (M_TRIM_THRESHOLD): Likewise.
6336         * manual/memory.texi (M_ARENA_TEST): Add documentation.
6337         (M_ARENA_MAX): Likewise.
6338         * malloc/malloc.c: Remove obsolete comment.
6340         * manual/memory.texi: Add environment variable alternatives to
6341         setting mallopt parameters.
6343 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
6345         * include/atomic.h
6346         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
6347         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
6349 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6351         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
6352         * stdlib/tst-strfrom.h: New file.
6353         * stdlib/tst-strfrom.c: New file.
6354         * stdlib/tst-strfrom-locale.c: New file.
6356         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
6357         * stdlib/bug-strtod2.c: Likewise.
6358         * stdlib/tst-strtod-round-skeleton.c: Likewise.
6359         * stdlib/tst-strtod6.c: Likewise.
6360         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
6362 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6364         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
6365         * manual/arith.texi: Document strfromd, strfromf, strfroml.
6366         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
6367         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
6368         * stdlib/stdlib.h (strfromd): New declaration.
6369         (strfromf): Likewise.
6370         (strfroml): Likewise.
6371         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
6372         strfrom.
6373         * stdlib/strfromd.c: New file.
6374         * stdlib/strfromf.c: Likewise.
6375         * stdlib/strfroml.c: Likewise.
6376         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
6377         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
6378         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
6379         * sysdeps/arm/nacl/libc.abilist: Update.
6380         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6386         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6389         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6391         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6392         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6393         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
6395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6406         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6407         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6409 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
6411         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
6412         instead of cmpli.
6413         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
6414         instead of cmpli.
6416 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
6418         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
6419         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
6420         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
6421         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6422         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6423         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6425 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6427         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
6428         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6429         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
6430         SYSCALL_LL64_PRW.
6431         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6432         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
6433         __ASSUME_PRW_DUMMY_ARG.
6434         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
6435         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6436         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6437         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6438         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
6439         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
6441 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
6443         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
6445 2016-10-22  Florian Weimer  <fweimer@redhat.com>
6447         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
6448         "C++", to override a potential extern "C" directive around the
6449         header file inclusion.
6451 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
6453         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
6455 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6457         * sysdeps/powerpc/fpu/fenv_private.h:
6458         (_FPU_MASK_ALL): Rename to...
6459         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
6460         XE FPSCR bits.
6462         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
6464         (_FPU_MASK_ROUNDING): Rename to...
6465         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
6466         NI bits.
6468         (_FPU_MASK_EXCEPT_ROUND): Rename to...
6469         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
6470         bits and rounding bits.
6472         (__libc_feholdbits_ppc): New inline function to mask, set,
6473         and pontentially clear FSPCR bits, and change MSR[FE] bits.
6474         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
6475         (libc_feholdexcept_setround_ppc): Likewise.
6477         (__libc_femergeenv_ppc): New function to dynamically mask both
6478         old and new FP environments and merge.
6479         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
6480         (libc_feresetround_ppc): Likewise.
6481         (libc_feupdateenv_test_ppc): Likewise.
6482         (libc_feupdateenv_ppc): Likewise.
6484         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
6485         of ISA RN bits, and update macro names.
6486         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
6487         effectively the same as the previously mentioned function.
6489         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
6490         usage with fe_resetround_ppc.
6492         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
6493         to be used.
6494         (libc_feholdexcept_setround_ctxf): Likewise.
6495         (libc_feholdexcept_setround_ctxl): Likewise.
6497 2016-10-21  Florian Weimer  <fweimer@redhat.com>
6499         [BZ #20715]
6500         * math/math.h [__cplusplus] (iszero): Define as function template.
6501         * math/Makefile [CXX] (tests): Add test-math-iszero.
6502         (CFLAGS-test-math-iszero.cc): Set.
6503         * math/test-math-iszero.cc: New file.
6505 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
6507         [BZ #20660]
6508         * sysdeps/arm/e_sqrt.c: New file.
6509         * sysdeps/arm/e_sqrtf.c: Likewise.
6511 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
6513         [BZ #20718]
6514         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
6515         not use floating-point comparisons to test sign.
6516         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
6517         Likewise.
6519         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6520         (getpayload): New declaration.
6521         * math/Versions (getpayload): New libm symbol at version
6522         GLIBC_2.25.
6523         (getpayloadf): Likewise.
6524         (getpayloadl): Likewise.
6525         * math/Makefile (libm-calls): Add s_getpayloadF.
6526         * math/libm-test.inc: Include <nan-high-order-bit.h>.
6527         (struct test_f_f_data): Add comment.
6528         (RUN_TEST_fp_f): New macro.
6529         (RUN_TEST_LOOP_fp_f): Likewise.
6530         (getpayload_test_data): New array.
6531         (getpayload_test): New function.
6532         (main): Call getpayload_test.
6533         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
6534         descriptor.
6535         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
6536         getpayloadf and getpayloadl.
6537         * manual/libm-err-tab.pl: Update comment on interfaces without
6538         ulps tabulated.
6539         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
6540         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
6541         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
6542         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
6543         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
6544         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
6545         * sysdeps/nacl/libm.abilist: Update.
6546         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6549         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6550         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6551         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6552         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6559         Likewise.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6567         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6568         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6569         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6570         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6572         Likewise.
6573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6574         Likewise.
6575         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6576         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6577         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6579 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6581         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
6582         tst-fallocate{64}.
6583         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
6584         on syscall return.
6586 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
6588         [BZ #20689]
6589         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
6590         usable.
6592 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
6594         * sysdeps/generic/nan-high-order-bit.h: New file.
6595         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
6596         * sysdeps/mips/nan-high-order-bit.h: Likewise.
6597         * sysdeps/hppa/math_private.h: Remove file.
6598         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
6599         not define here.
6600         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
6601         <nan-high-order-bit.h>.
6602         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6603         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
6604         <nan-high-order-bit.h>.
6605         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6606         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
6607         <nan-high-order-bit.h>.
6608         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6609         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
6610         <nan-high-order-bit.h>.
6611         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6612         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
6613         <nan-high-order-bit.h>.
6614         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6615         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
6616         <nan-high-order-bit.h>.
6617         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6618         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
6619         <nan-high-order-bit.h>.
6620         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6621         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
6622         <nan-high-order-bit.h>.
6623         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6624         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
6625         <nan-high-order-bit.h>.
6626         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6627         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
6628         <nan-high-order-bit.h>.
6629         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6630         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
6631         <nan-high-order-bit.h>.
6632         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6633         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
6634         <nan-high-order-bit.h>.
6635         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6636         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
6637         <nan-high-order-bit.h>.
6638         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6639         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
6640         <nan-high-order-bit.h>.
6641         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6642         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
6643         <nan-high-order-bit.h>.
6644         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6645         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
6646         <nan-high-order-bit.h>.
6647         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6648         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
6649         <nan-high-order-bit.h>.
6650         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6651         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
6652         <nan-high-order-bit.h>.
6653         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
6655 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6657         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
6659 2016-09-22  John David Anglin  <dave.anglin@bell.net>
6661         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
6662         abort-instr.h.
6663         (EFAULT): Remove conditional define.
6664         (ENOSYS): Likewise.
6665         (atomic_compare_and_exchange_val_acq): Use instruction nullification
6666         instead of conditional branch instructions.
6668 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
6670         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6671         (totalordermag): New declaration.
6672         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
6673         New macro.
6674         * math/Versions (totalordermag): New libm symbol at version
6675         GLIBC_2.25.
6676         (totalordermagf): Likewise.
6677         (totalordermagl): Likewise.
6678         * math/Makefile (libm-calls): Add s_totalordermagF.
6679         * math/libm-test.inc (totalordermag_test_data): New array.
6680         (totalordermag_test): New function.
6681         (main): Call totalordermag_test.
6682         * math/test-tgmath.c (NCALLS): Increase to 125.
6683         (F(compile_test)): Call totalordermag.
6684         (F(totalordermag)): New function.
6685         * manual/arith.texi (FP Comparison Functions): Document
6686         totalordermag, totalordermagf and totalordermagl.
6687         * manual/libm-err-tab.pl: Update comment on interfaces without
6688         ulps tabulated.
6689         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
6690         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
6691         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
6692         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
6693         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
6694         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
6695         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
6696         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6697         totalordermag.
6698         (CFLAGS-nldbl-totalordermag.c): New variable.
6699         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
6700         (do_test): Also test totalordermagl.
6701         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
6702         Likewise.
6703         * sysdeps/nacl/libm.abilist: Update.
6704         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6712         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6713         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6714         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6715         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6717         Likewise.
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6719         Likewise.
6720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6721         Likewise.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6723         Likewise.
6724         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6725         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6726         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6727         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6728         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6730         Likewise.
6731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6732         Likewise.
6733         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6734         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6735         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6737 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
6739         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
6740         boolean.
6742 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
6744         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
6745         raising FE_INVALID with feraisexcept in case where part of
6746         argument is infinite, subtract that part of argument from itself.
6747         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
6748         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
6749         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6751 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6753         * math/libm-test.inc (totalorder_test_data): Add more tests.
6755 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6757         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
6758         Undefine weak_alias and add a comment why mips64 require
6759         versioning.
6761 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
6763         [BZ #20647]
6764         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
6765         maximum CPUID level is less than 2.
6767 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
6769         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6770         (totalorder): New declaration.
6771         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
6772         New macro.
6773         * math/Versions (totalorder): New libm symbol at version
6774         GLIBC_2.25.
6775         (totalorderf): Likewise.
6776         (totalorderl): Likewise.
6777         * math/Makefile (libm-calls): Add s_totalorderF.
6778         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
6779         string.
6780         * math/libm-test.inc (PAYLOAD_DIG): New macro.
6781         (qnan_value_pl): Likewise.
6782         (snan_value_pl): Likewise.
6783         (qnan_value): Define using qnan_value_pl.
6784         (snan_value): Define using snan_value_pl.
6785         (struct test_ff_i_data): Add comment about which tests use this
6786         structure.
6787         (RUN_TEST_ff_b): New macro.
6788         (RUN_TEST_LOOP_ff_b): Likewise.
6789         (totalorder_test_data): New array.
6790         (totalorder_test): New function.
6791         (main): Call totalorder_test.
6792         * math/test-tgmath.c (NCALLS): Increase to 122.
6793         (F(compile_test)): Call totalorder.
6794         (F(totalorder)): New function.
6795         * manual/arith.texi (FP Comparison Functions): Document
6796         totalorder, totalorderf and totalorderl.
6797         * manual/libm-err-tab.pl: Update comment on interfaces without
6798         ulps tabulated.
6799         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
6800         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
6801         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
6802         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
6803         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
6804         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
6805         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
6806         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6807         totalorder.
6808         (CFLAGS-nldbl-totalorder.c): New variable.
6809         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
6810         file.
6811         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6812         Add test-totalorderl-ldbl-128ibm.
6813         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
6814         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
6815         test-totalorderl-ldbl-96.
6816         * sysdeps/nacl/libm.abilist: Update.
6817         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6818         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6819         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6820         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6821         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6822         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6823         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6834         Likewise.
6835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6836         Likewise.
6837         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6838         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6839         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6840         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6841         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6843         Likewise.
6844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6845         Likewise.
6846         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6848         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6850 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6852         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
6853         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
6854         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
6855         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
6856         remove ENOSYS implementation.
6857         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
6858         Consolidate all Linux implementations.
6860 2016-10-11  Florian Weimer  <fweimer@redhat.com>
6862         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
6863         * resolv/herror.c (herror): Cast away const-ness.
6864         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
6865         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
6867 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
6869         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
6870         instead of M_NAN + M_NAN.
6871         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
6873 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6875         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
6876         unused variable 'p'.
6878 2016-10-09  Alan Modra  <amodra@gmail.com>
6879             Andreas Schwab  <schwab@linux-m68k.org>
6881         [BZ #20554]
6882         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
6883         [PIC && !SHARED]: Set up PIC register for PLT call.
6885 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
6887         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
6888         conditional on value of [__FLT_EVAL_METHOD__].
6889         * math/test-iseqsig-excess-precision.c: New file.
6890         * math/Makefile (tests): Add test-iseqsig-excess-precision.
6892 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6894         * math/s_iseqsig_template.c: Include math-private.h.
6896         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
6897         * posix/tst-posix_fadvise.c: New file.
6898         * posix/tst-posix_fadvise64.c: Likewise.
6899         * posix/tst-posix_fadvise-common.c: Likewise.
6900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6901         (__ASSUME_FADVISE64_64_6ARG): Define.
6902         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6903         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
6904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6905         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
6906         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
6907         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
6908         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6909         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6910         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
6911         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
6912         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
6913         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
6915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
6916         Likewise.
6917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
6918         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
6919         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
6920         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6921         Alias to __posix_fadvise64_l32.
6922         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
6923         Add compat definition to posix_fadvise64.
6924         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
6925         Add versioned definition to posix_fadvise64.
6926         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
6927         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
6928         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
6929         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
6930         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
6932         * io/Makefile (tests): Add tst-posix_fallocate and
6933         tst-posix_fallocate64.
6934         * io/tst-posix_fallocate-common.c: New file.
6935         * io/tst-posix_fallocate.c: Likewise.
6936         * io/tst-posix_fallocate64.c: Likewise.
6937         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
6938         file.
6939         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
6940         Likewise.
6941         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
6943         Likewise.
6944         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
6945         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
6946         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
6947         SYSCALL_LL to pass both offset and len arguments.
6948         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
6951         __libc_pwrite64 alias used by posix_fallocate64.
6953         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6954         tst-fallocate64.
6955         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6956         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6957         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6958         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6959         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6960         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6961         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6962         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6963         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6964         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6965         macro on offset argument.
6966         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6967         SYSCALL_LL64 on offset argument.
6969         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
6970         tst-fallocate64.
6971         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
6972         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
6973         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6974         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
6975         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
6976         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
6977         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
6978         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6979         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
6980         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
6981         macro on offset argument.
6982         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
6983         SYSCALL_LL64 on offset argument.
6984         * test-skeleton.c (FAIL_RET): Add macro.
6985         (FAIL_EXIT): Likewise.
6986         (FAIL_EXIT1): Likewise.
6987         (_FAIL): Likewise.
6989 2016-10-07  Florian Weimer  <fweimer@redhat.com>
6991         [BZ #20629]
6992         resolv: Remove RES_USEBSTRING and its implementation.
6993         * resolv/resolv.h (RES_USEBSTRING): Remove.
6994         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
6995         (digitvalue, encode_bitstring, decode_bitstring): Remove.
6996         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
6997         (labellen): Remove extended label types support.
6998         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
6999         * resolv/res_init.c (res_setoptions): Likewise.
7000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7002 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7004         resolv: Remove RES_NOIP6DOTINT and its implementation.
7005         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
7006         (RES_NOIP6DOTINT): Remove.
7007         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
7008         handling.
7009         * resolv/res_debug.c (p_option): Likewise.
7010         * resolv/res_init.c (res_setoptions): Likewise.
7011         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
7013 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7015         resolv: Deprecate unimplemented flags.
7016         * misc/sys/cdefs.h (__glibc_macro_warning1)
7017         (__glibc_macro_warning): Define.
7018         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
7019         (RES_KEEPTSIG): Mark as deprecated.
7020         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
7021         RES_NOCHECKNAME, RES_KEEPTSIG.
7022         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
7024 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7026         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
7027         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
7028         Use strong_alias to create symbols for glibc verison 2.19.
7030 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7032         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
7034 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7036         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
7038 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7040         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
7042 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7044         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7045         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
7046         in header for using it as type for ifunc function because __GI_* symbols
7047         for ppc32 do not target the ifunc symbols.
7048         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7050 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7052         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
7053         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
7054         libc_ifunc_hidden_def.
7055         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
7056         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
7057         Redirect ifunced function in header for using it as type of ifunc'ed
7058         function. Redefine libc_hidden_def to use fallback non ifunc'ed
7059         function for __GI_* symbol.
7060         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
7061         * include/libc-symbols.h
7062         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
7064 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7066         [BZ #20478]
7067         * sysdeps/s390/multiarch/ifunc-resolve.h
7068         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
7069         to create ifunc symbols.
7070         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
7071         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
7072         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
7073         for using it as type for ifunc function.
7074         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7075         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7076         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7077         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7078         * sysdeps/s390/multiarch/strcat.c: Likewise.
7079         * sysdeps/s390/multiarch/strchr.c: Likewise.
7080         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7081         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7082         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7083         * sysdeps/s390/multiarch/strlen.c: Likewise.
7084         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7085         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7086         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7087         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7088         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7089         * sysdeps/s390/multiarch/strspn.c: Likewise.
7090         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7091         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7092         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7093         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7094         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7095         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7096         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7097         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
7098         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
7099         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7100         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
7101         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
7103 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7105         * include/libc-symbols.h (__ifunc_resolver):
7106         New macro is used by __ifunc* macros.
7107         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
7108         depending on HAVE_GCC_IFUNC.
7109         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
7110         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
7111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7112         Redirect ifunced function in header for using as type for ifunc function.
7113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
7114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
7115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
7116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
7117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7120         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7121         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7122         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7123         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
7129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
7131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7132         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7133         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7134         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7136         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7137         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7138         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7139         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7140         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7141         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7142         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7143         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7144         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
7145         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
7147         Add libc_hidden_def() and use libc_ifunc_hidden() macro
7148         instead of libc_ifunc() macro.
7149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
7150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7152 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7154         * config.h.in (HAVE_GCC_IFUNC): New undef.
7155         * configure.ac: Add check if gcc supports attribute ifunc feature.
7156         * configure: Regenerated.
7157         * manual/install.texi: Add recommendation for gcc with
7158         indirect-function support.
7159         * INSTALL: Regenerated.
7161 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
7163         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
7164         macro.
7165         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7166         (__iseqsig): New declaration.
7167         * math/s_iseqsig_template.c: New file.
7168         * math/Versions (__iseqsigf): New libm symbol at version
7169         GLIBC_2.25.
7170         (__iseqsig): Likewise.
7171         (__iseqsigl): Likewise.
7172         * math/libm-test.inc (iseqsig_test_data): New array.
7173         (iseqsig_test): New function.
7174         (main): Call iseqsig_test.
7175         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
7176         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
7177         * manual/libm-err-tab.pl: Update comment on interfaces without
7178         ulps tabulated.
7179         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
7180         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
7181         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
7182         * sysdeps/nacl/libm.abilist: Update.
7183         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7184         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7185         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7186         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7187         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7188         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7189         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7190         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7191         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7192         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7193         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7194         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7200         Likewise.
7201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7202         Likewise.
7203         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7204         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7205         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7206         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7207         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7209         Likewise.
7210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7211         Likewise.
7212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7216 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7218         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
7219         do_sincos_2, sloww, sloww1): Update comments.
7221         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
7222         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
7224         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
7225         K boolean and rename it.
7226         (__sin): Adjust.
7227         (__cos): Adjust.
7229 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7230             Siddhesh Poyarekar  <siddhesh@sourceware.org>
7232         * manual/nss.texi: Fix typos in the manual.
7234 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
7236         * manual/contrib.texi: Fix typos in the manual.
7238         * manual/maint.texi: Fix typos in the manual.
7240         * manual/install.texi: Fix typos in the manual.
7241         * INSTALL: Regenerated.
7243         * manual/lang.texi: Fix typos in the manual.
7245         * manual/probes.texi: Fix typos in the manual.
7247         * manual/threads.texi: Fix typos in the manual.
7249         * manual/debug.texi: Fix typos in the manual.
7251         * manual/crypt.texi: Fix typos in the manual.
7253         * manual/conf.texi: Fix typos in the manual.
7255         * manual/sysinfo.texi: Fix typos in the manual.
7257         * manual/users.texi: Fix typos in the manual.
7259         * manual/job.texi: Fix typos in the manual.
7261         * manual/process.texi: Fix typos in the manual.
7263         * manual/argp.texi: Fix typos in the manual.
7264         * manual/getopt.texi: Likewise.
7265         * manual/startup.texi: Likewise.
7267         * manual/signal.texi: Fix typos in the manual.
7269         * manual/setjmp.texi: Fix typos in the manual.
7271         * manual/resource.texi: Fix typos in the manual.
7273         * manual/time.texi: Fix typos in the manual.
7275         * manual/arith.texi: Fix typos in the manual.
7277         * manual/math.texi: Fix typos in the manual.
7279         * manual/syslog.texi: Fix typos in the manual.
7281         * manual/terminal.texi: Fix typos in the manual.
7283         * manual/socket.texi: Fix typos in the manual.
7285         * manual/filesys.texi: Fix typos in the manual.
7287         * manual/llio.texi: Fix typos in the manual.
7289         * manual/stdio.text: Fix typos in the manual.
7291 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7293         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
7294         instead of K1.
7296         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
7297         SHIFT_QUADRANT and make it bool.
7298         (do_sincos_2): Likewise.
7299         (sloww): Likewise.
7300         (sloww1): Likewise.
7301         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
7302         (__cos): Likewise.
7304 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7306         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7308 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
7310         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
7311         Define to __WORDSIZE, not conditional on [LONG_MAX ==
7312         0x7fffffffL].
7313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
7315 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7317         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
7318         inline by __inline__.
7319         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
7320         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
7321         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
7322         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
7323         sigset_t from signal.h.
7324         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
7325         which is already required.
7327 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7329         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7331 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
7333         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
7334         (struct tcp_repair_window): New type.
7336 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7338         * libio/tst-memstream3.c: Include string.h.
7340 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7342         [BZ #18241]
7343         [BZ #20181]
7344         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
7345         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
7346         write position is at the end the buffer.
7347         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
7348         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
7349         (_IO_str_seekoff): Set correct offset from negative displacement and
7350         set EINVAL for invalid ones.
7351         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
7352         buffer length.
7353         (_IO_wstr_switch_to_get_mode): New function.
7354         (_IO_wstr_seekoff): Set correct offset from negative displacement and
7355         set EINVAL for invalid ones.
7356         * libio/tst-memstream3.c: New file.
7357         * libio/tst-wmemstream3.c: Likewise.
7358         * manual/examples/memstrm.c: Remove warning when priting size_t.
7360 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7362         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
7363         macro to use __builtin_fma.
7364         * sysdeps/x86_64/fpu/dla.h: Remove file.
7366         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7367         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
7368         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
7370 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
7372         [BZ #20292]
7373         * elf/Makefile (routines): Add dl-addr-obj.
7374         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
7375         tst-_dl_addr_inside_object.
7376         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
7377         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7378         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
7379         [ifeq (yesyes,$(have-fpie)$(build-shared))]
7380         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
7381         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
7382         * elf/dl-open.c: Likewise.
7383         * elf/dl-addr-obj.c: New file.
7384         * elf/tst-_dl_addr_inside_object.c: New file.
7386 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
7388         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
7389         <bits/iscanonical.h>.
7390         * bits/iscanonical.h: New file.
7391         * math/s_iscanonicall.c: Likewise.
7392         * math/Versions (__iscanonicall): New libm symbol at version
7393         GLIBC_2.25.
7394         * math/libm-test.inc (iscanonical_test_data): New array.
7395         (iscanonical_test): New function.
7396         (main): Call iscanonical_test.
7397         * math/Makefile (headers): Add bits/iscanonical.h.
7398         (type-ldouble-routines): Add s_iscanonicall.
7399         * manual/arith.texi (Floating Point Classes): Document
7400         iscanonical.
7401         * manual/libm-err-tab.pl: Update comment on interfaces without
7402         ulps tabulated.
7403         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
7404         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
7405         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
7406         Likewise.
7407         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7408         test-iscanonical-ldbl-128ibm.
7409         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
7410         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
7411         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
7412         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
7413         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7414         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7415         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7417         Likewise.
7418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7419         Likewise.
7420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7421         Likewise.
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7423         Likewise.
7424         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7425         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7427 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7429         * string/bits/string3.h: Remove C++ style comments.
7431 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7433         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
7434         instead of ternary condition.
7435         (do_sincos_2): Likewise.
7436         (__sin): Likewise.
7437         (__cos): Likewise.
7438         (slow): Likewise.
7439         (sloww): Likewise.
7440         (sloww1): Likewise.
7441         (bsloww): Likewise.
7442         (bsloww1): Likewise.
7444         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
7445         instead of ternary condition.
7446         (do_sin_slow): Likewise.
7447         (do_sincos_1): Likewise.
7448         (do_sincos_2): Likewise.
7449         (__cos): Likewise.
7450         (sloww): Likewise.
7451         (sloww1): Likewise.
7452         (sloww2): Likewise.
7453         (bsloww): Likewise.
7454         (bsloww1): Likewise.
7455         (bsloww2): Likewise.
7457         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
7458         check from here...
7459         (slow2): ... and here...
7460         (__sin): ... to here.
7462 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
7464         * math/math.h
7465         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
7466         Cast argument to its own type.
7467         * math/test-iszero-excess-precision.c: New file.
7468         * math/Makefile (tests): Add test-iszero-excess-precision.
7469         (CFLAGS-test-iszero-excess-precision.c): New variable.
7471 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
7473         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
7474         field, add err field.
7475         (__spawni_child): Report error through err member instead of pipe.
7476         (__spawnix): Likewise.
7478 2016-09-28  Zack Weinberg  <zackw@panix.com>
7480         * scripts/check-installed-headers.sh: Generalize treatment of
7481         sys/elf.h to all target architectures.
7483         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
7484         deleted typedef ucontext_t.
7486 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7488         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
7489         (__INTERNAL_SYSCALL1): Likewise.
7490         (__INTERNAL_SYSCALL2): Likewise.
7491         (__INTERNAL_SYSCALL3): Likewise.
7492         (__INTERNAL_SYSCALL4): Likewise.
7493         (__INTERNAL_SYSCALL5): Likewise.
7494         (__INTERNAL_SYSCALL6): Likewise.
7495         (__INTERNAL_SYSCALL7): Likewise.
7496         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
7497         (__INTERNAL_SYSCALL_NARGS): Likewise.
7498         (__INTERNAL_SYSCALL_DISP): Likewise.
7499         (INTERNAL_SYSCALL_CALL): Likewise.
7500         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
7501         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
7502         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
7503         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
7504         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
7505         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
7506         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
7507         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
7508         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
7509         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
7510         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
7511         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
7512         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
7514 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
7516         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
7517         macro.
7518         * math/libm-test.inc (iszero_test_data): New array.
7519         (iszero_test): New function.
7520         (main): Call iszero_test.
7521         * manual/arith.texi (Floating Point Classes): Document iszero.
7522         * manual/libm-err-tab.pl: Update comment on interfaces without
7523         ulps tabulated.
7525 2016-09-23  Zack Weinberg  <zackw@panix.com>
7527         * scripts/check-installed-headers.sh: New script.
7528         * Rules: In each directory that defines header files to be installed,
7529         run check-installed-headers.sh on them as a special test.
7530         * Makefile: Likewise for the headers installed at top level.
7532         * include/aliases.h, include/alloca.h, include/argz.h
7533         * include/arpa/nameser.h, include/arpa/nameser_compat.h
7534         * include/elf.h, include/envz.h, include/err.h
7535         * include/execinfo.h, include/fpu_control.h, include/getopt.h
7536         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
7537         * include/link.h, include/malloc.h, include/mcheck.h
7538         * include/mntent.h, include/netinet/ether.h
7539         * include/nss.h, include/obstack.h, include/printf.h
7540         * include/pty.h, include/resolv.h, include/rpc/auth.h
7541         * include/rpc/auth_des.h, include/rpc/auth_unix.h
7542         * include/rpc/clnt.h, include/rpc/des_crypt.h
7543         * include/rpc/key_prot.h, include/rpc/netdb.h
7544         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
7545         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
7546         * include/rpc/rpc_msg.h, include/rpc/svc.h
7547         * include/rpc/svc_auth.h, include/rpc/xdr.h
7548         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
7549         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
7550         * include/rpcsvc/ypupd.h, include/shadow.h
7551         * include/stdio_ext.h, include/sys/epoll.h
7552         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
7553         * include/sys/prctl.h, include/sys/profil.h
7554         * include/sys/statfs.h, include/sys/sysctl.h
7555         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
7556         * sysdeps/arm/nacl/include/bits/setjmp.h
7557         * sysdeps/mips/include/sys/asm.h
7558         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
7559         * sysdeps/unix/sysv/linux/include/sys/timex.h
7560         * sysdeps/x86/fpu/include/bits/fenv.h:
7561         Add #ifndef _ISOMAC guard around internal declarations.
7562         Add multiple-inclusion guard if not already present.
7564 2016-09-23  Zack Weinberg  <zackw@panix.com>
7566         * sysdeps/generic/sys/ucontext.h
7567         * sysdeps/arm/sys/ucontext.h
7568         * sysdeps/i386/sys/ucontext.h
7569         * sysdeps/m68k/sys/ucontext.h
7570         * sysdeps/mips/sys/ucontext.h
7571         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
7572         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
7573         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
7574         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
7575         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
7576         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
7577         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
7578         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
7579         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
7580         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
7581         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
7582         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
7583         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
7584         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
7585         Include both bits/sigcontext.h and bits/sigstack.h.
7586         Fix grammar error in comment, if present.
7588         * bits/sigstack.h
7589         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
7590         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
7591         * sysdeps/unix/sysv/linux/bits/sigstack.h
7592         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
7593         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
7594         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
7595         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
7596         * bits/sigcontext.h
7597         * sysdeps/mach/hurd/i386/bits/sigcontext.h
7598         * sysdeps/unix/sysv/linux/bits/sigcontext.h
7599         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
7600         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
7601         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
7602         as well as signal.h, if this was not already allowed.  Request
7603         definition of size_t if necessary.  Minimize semantically-null
7604         differences across files.
7606 2016-09-23  Zack Weinberg  <zackw@panix.com>
7608         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
7609         Remove all logic conditional on __need macros.  Move all the
7610         conditionally defined types to their own headers...
7611         * time/bits/types/clock_t.h: Define clock_t here.
7612         * time/bits/types/clockid_t.h: Define clockid_t here.
7613         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
7614         * time/bits/types/struct_timespec.h: Define struct timespec here.
7615         * time/bits/types/struct_timeval.h: Define struct timeval here.
7616         * time/bits/types/struct_tm.h: Define struct tm here.
7617         * time/bits/types/time_t.h: Define time_t here.
7618         * time/bits/types/timer_t.h: Define timer_t here.
7619         * time/Makefile: Install the new headers.
7621         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
7622         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
7623         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
7624         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
7625         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
7626         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
7627         * sysdeps/unix/sysv/linux/bits/resource.h
7628         * sysdeps/unix/sysv/linux/bits/timex.h
7629         * sysdeps/unix/sysv/linux/mips/bits/resource.h
7630         * sysdeps/unix/sysv/linux/net/ppp_defs.h
7631         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
7632         * sysdeps/unix/sysv/linux/sys/acct.h
7633         * sysdeps/unix/sysv/linux/sys/timerfd.h
7634         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
7635         * time/sys/time.h, time/sys/timeb.h
7636         Use the new bits/types headers.
7638         * include/time.h: Remove __need logic.
7639         * include/bits/time.h
7640         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
7641         * include/bits/types/time_t.h, include/bits/types/timer_t.h
7642         * include/bits/types/struct_itimerspec.h
7643         * include/bits/types/struct_timespec.h
7644         * include/bits/types/struct_timeval.h
7645         * include/bits/types/struct_tm.h:
7646         New wrapper headers.
7648 2016-09-23  Zack Weinberg  <zackw@panix.com>
7650         * sysdeps/mach/hurd/net/if_ppp.h
7651         * sysdeps/unix/sysv/linux/net/if_ppp.h:
7652         Only define struct ifpppstatsreq and struct ifpppcstatsreq
7653         if __USE_MISC is defined, to ensure struct ifreq is declared.
7655         * inet/netinet/ether.h: Condition all function prototypes
7656         on __USE_MISC, to ensure struct ether_addr is declared.
7658         * socket/bits/types/struct_osockaddr.h: New header.
7659         * include/bits/types/struct_osockaddr.h: New wrapper.
7660         * socket/Makefile: Install the new header.
7661         * socket/sys/socket.h, inet/protocols/talkd.h:
7662         Refer to bits/types/struct_osockaddr.h for the definition of
7663         struct osockaddr.
7665 2016-09-23  Zack Weinberg  <zackw@panix.com>
7667         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
7668         * inet/protocols/routed.h, inet/protocols/talkd.h
7669         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
7670         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
7671         * sysdeps/generic/netinet/if_ether.h
7672         * sysdeps/generic/netinet/in_systm.h
7673         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
7674         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7675         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
7676         * sysdeps/mach/hurd/net/if_arp.h
7677         * sysdeps/mach/hurd/net/if_ppp.h
7678         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
7679         * sysdeps/unix/sysv/linux/bits/in.h
7680         * sysdeps/unix/sysv/linux/net/ethernet.h
7681         * sysdeps/unix/sysv/linux/net/if_arp.h
7682         * sysdeps/unix/sysv/linux/net/if_ppp.h
7683         * sysdeps/unix/sysv/linux/net/if_shaper.h
7684         * sysdeps/unix/sysv/linux/net/route.h
7685         * sysdeps/unix/sysv/linux/netinet/if_ether.h
7686         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7687         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7688         * sysdeps/unix/sysv/linux/netipx/ipx.h
7689         * sysdeps/unix/sysv/linux/sys/acct.h
7690         * include/arpa/nameser.h, include/resolv.h:
7691         Change all uses of u_char to unsigned char,
7692         u_short and ushort to unsigned short, u_int and uint to unsigned int,
7693         u_long and ulong to unsigned long, u_int8_t to uint8_t,
7694         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
7695         and u_int64_t and u_quad_t to uint64_t.
7697         * mach/sys/reboot.h: Remove two casts of integer literals
7698         to the types they already have.
7700         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
7701         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
7702         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
7703         from referring to 'unsigned char' to 'uint8_t' for consistency with
7704         the macro definition below.
7706         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
7707         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
7708         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
7709         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
7710         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
7711         * sysdeps/unix/sysv/linux/sys/acct.h
7712         * include/arpa/nameser.h, include/resolv.h:
7713         Fix indentation disrupted by mechanical edits.
7715         * inet/protocols/talkd.h, resolv/arpa/nameser.h
7716         * sysdeps/generic/netinet/in_systm.h
7717         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
7718         * sysdeps/gnu/netinet/udp.h
7719         * sysdeps/unix/sysv/linux/net/ethernet.h
7720         * sysdeps/unix/sysv/linux/net/if_arp.h
7721         * sysdeps/unix/sysv/linux/net/if_ppp.h
7722         * sysdeps/unix/sysv/linux/net/if_shaper.h
7723         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
7724         * sysdeps/unix/sysv/linux/netinet/if_tr.h
7725         * sysdeps/unix/sysv/linux/netipx/ipx.h
7726         * sysdeps/unix/sysv/linux/sys/acct.h
7727         Include stdint.h for uintNN_t definitions.
7728         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
7730 2016-09-23  Zack Weinberg  <zackw@panix.com>
7732         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
7733         * sysdeps/unix/sysv/linux/netrose/rose.h:
7734         Include sys/socket.h and netax25/ax25.h.
7736         * inet/netinet/icmp6.h, inet/netinet/ip6.h
7737         * resolv/arpa/nameser_compat.h:
7738         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
7740         * sysdeps/unix/sysv/linux/sys/quota.h:
7741         Use __caddr_t instead of caddr_t.
7742         * sysdeps/unix/sysv/linux/sys/timerfd.h:
7743         Use __clockid_t instead of clockid_t.
7745         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
7747         * argp/argp.h: Check whether _LIBC is defined before expanding it.
7748         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
7749         expanding it.
7751         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
7752         Define __glibc_c99_flexarr_available to 1 when the compiler
7753         supports C99-compatible flexible array members, 0 otherwise.
7754         * sysdeps/unix/sysv/linux/bits/socket.h
7755         * sysdeps/mach/hurd/bits/socket.h
7756         * bits/socket.h: Use __glibc_c99_flexarr_available in
7757         definitions of struct cmsghdr and CMSG_DATA.
7759 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7761         * manual/nss.texi (NSS Modules Interface): Adjust function return
7762         type to enum nss_status.  Document errnop argument.  Clarify
7763         h_errnop semantics.  Fix cross-reference formatting.
7764         (NSS Module Function Internals): Mention that *errnop needs to be
7765         set on failure, but not to zero.
7767 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7769         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
7770         (get_random_name): New functions.
7771         (check_wrapper_flags_mode): Use linkat to give the new file a name
7772         determined by get_random_name.
7773         (do_test): Add calls to test open64 and openat64.
7775 2016-09-23  Florian Weimer  <fweimer@redhat.com>
7777         * test-skeleton.c: Remove #include <stdarg.h>.
7779 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
7781         [BZ #19826]
7782         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
7783         initialization of static TLS entries.
7784         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
7785         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7787 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7789         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
7790         _hurd_malloc_fork_prepare.
7791         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
7792         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
7793         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
7794         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
7795         (_hurd_fork_child_hook): Drop malloc_fork_child.
7796         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
7797         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
7798         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
7799         after locking locks (notably hurd_dtable_lock). Call
7800         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
7801         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
7802         __malloc_fork_unlock_child.
7803         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
7805 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
7807         * soft-fp/extendhftf2.c: New.
7808         * soft-fp/fixhfti.c: Likewise.
7809         * soft-fp/fixunshfti.c: Likewise.
7810         * soft-fp/floattihf.c: Likewise.
7811         * soft-fp/floatuntihf.c: Likewise.
7812         * soft-fp/half.h: Likewise.
7813         * soft-fp/trunctfhf2.c: Likewise.
7815 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
7817         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
7818         macro.
7819         * math/libm-test.inc (issubnormal_test_data): New array.
7820         (issubnormal_test): New function.
7821         * manual/arith.texi (Floating Point Classes): Document
7822         issubnormal.
7823         * manual/libm-err-tab.pl: Update comment on interfaces without
7824         ulps tabulated.
7826         * sysdeps/generic/stdint.h: Define
7827         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7828         <bits/libc-header-start.h> instead of including <features.h>.
7829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
7830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
7831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
7832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
7833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
7834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
7835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
7836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
7837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
7838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
7839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
7840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
7841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
7842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
7843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
7844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
7845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
7846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
7847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
7848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
7849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
7850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
7851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
7852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
7853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
7854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
7855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
7856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
7857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
7858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
7859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
7860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
7861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
7862         * manual/arith.texi (Integers): Document these macros for types
7863         specified by width properties.
7864         * manual/lang.texi (Width of Type): Document these macros for
7865         other standard typedefs.
7866         * stdlib/tst-width-stdint.c: New file.
7867         * stdlib/Makefile (tests): Add tst-width-stdint.
7869 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7871         [BZ #20016]
7872         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
7873         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
7874         Move ...
7875         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
7876         ... here, as compatibility symbols in a new file.
7877         * resolv/Makefile (libresolv-routines): Add compat-hooks.
7878         * resolv/res_init.c (__res_vinit): Adjust member names.
7879         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
7880         * resolv/resolv.h (res_sendhookact, res_send_qhook)
7881         (res_send_rhook): Remove.
7882         (struct __res_state): Rename qhook, rhook members.
7884 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7886         malloc: Use __libc_lock wrappers.
7887         * malloc/arena.c (list_lock, free_list_lock): Define using
7888         __libc_lock_define_initialized.
7889         (arena_lock): Adjust formatting.
7890         * malloc/malloc.c (struct malloc_state): Define mutex using
7891         __libc_lock_define.
7892         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
7893         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
7894         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
7895         (mutex_unlock, mutex_trylock): Remove.
7896         (__pthread_initialize): Remove unused macro.
7897         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
7898         (mutex_unlock, mutex_trylock): Remove.
7900 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7902         [BZ #20592]
7903         Remove RR type classification macros.
7904         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
7905         (ns_t_udp_p, ns_t_xfr_p): Remove.
7907 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7909         Remove misleading version information.
7910         * resolv/arpa/nameser.h (__NAMESER): Remove.
7911         * resolv/arpa/nameser_compat.h (__BIND): Remove.
7913 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7915         Remove the always-defined BIND_4_COMPAT macro.
7916         * resolv/arpa/nameser.h: Unconditionally include
7917         <arpa/nameser_compat.h>.
7918         (BIND_4_COMPAT): Remove.
7919         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
7921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7923         [BZ #20591]
7924         Remove obsolete DNSSEC support.
7925         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
7926         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
7927         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
7928         (ns_verify_tcp, ns_verify_tcp_init): Remove.
7929         (ns_cert_types): Add comment.
7930         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
7931         separately.
7932         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
7933         (dst_s_dns_key_id): Remove.
7934         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
7935         variables.
7937 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7939         [BZ #20524]
7940         * manual/string.texi (String/Array Comparison): Clarify the
7941         strverscmp behavior.
7943 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7945         * test-skeleton.c (xasprintf): Add function.
7946         * io/tst-open-tmpfile.c: New test.
7947         * io/Makefile (tests): Add it.
7949 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7951         Avoid running $(CXX) during build to obtain header file paths.
7952         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
7953         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
7954         * Makerules (cstdlib, cmath): Remove variables.  Use
7955         $(c++-cstdlib-header), $(c++-cmath-header) instead.
7956         * configure: Regenerate.
7958 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7960         * Makeconfig (all-object-suffixes): Include .op only if
7961         $(build-profile).
7963 2016-09-21  Florian Weimer  <fweimer@redhat.com>
7965         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
7966         conditionals.  Do not define PATH_MAX.
7968 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7970         * posix/Makefile (tests): Add tst-spawn3.
7971         * posix/tst-spawn3.c: New file.
7972         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
7973         if it is already opened for open action.
7975         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
7976         all signals when executing the clone vfork child.
7977         (SIGALL_SET): Remove macro.
7979         * nptl/Makefile (tests): Add tst-exec5.
7980         * nptl/tst-exec5.c: New file.
7981         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
7982         asynchronous cancellation.
7984 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7986         * hurd/exc2signal.c: #include <hurd/signal.h>
7987         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
7988         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
7989         accordingly.
7990         * mach/mach_error.c (mach_error): Fix old-style function definition.
7991         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
7993 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7995         * math/Makefile (libm-calls): Remove s_nanF.
7996         (gen-libm-calls): Add s_nanF.
7998         * math/s_nan.c: Refactor into ...
7999         * math/s_nan_template.c: New file.
8001         * math/s_nanf.c: Removed.
8002         * math/s_nanl.c: Removed.
8003         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
8004         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
8006         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8007         (LDOUBLE_nanl_libm_version): New macro.
8009         * sysdeps/generic/math-type-macros-double.h:
8010         (M_STRTO_NAN): New macro.
8011         * sysdeps/generic/math-type-macros-float.h: Likewise.
8012         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8014         * sysdeps/generic/math-type-macros.h: Document
8015         M_STRTO_NAN.
8017 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8019         * math/s_nanf.c: Remove __nanf undef.
8020         * math/s_nan.c: Remove __nan undef.
8021         * math/s_nanl.c: Remove __nanl undef.
8023         * sysdeps/generic/math_private.h (__nan): Remove macro
8024         override.
8025         (__nanf): Likewise.
8026         (__nanl): Likewise.
8028 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8030         * math/Makefile (gen-all-calls): New variable.
8031         (generated): Replace gen-libm-calls with gen-all-calls.
8032         (gen-libm-templates.stmp): Likewise.  Also, ensure
8033         the output directory exists or is created and add
8034         dependency on the Makefile.
8035         (calls): Move s_ldexpF into gen-calls.
8036         (gen-calls): New variable.
8038         * math/s_ldexpf.c: Removed.
8039         * math/s_ldexpl.c: Removed.
8040         * math/s_ldexp.c: Refactored into ...
8041         * math/s_ldexp_template.c: New file.
8043         * sysdeps/generic/math-type-macros-double.h: Remove
8044         redundant fall-through definition of declare_mgen_alias.
8045         (declare_mgen_alias_2): New macro.
8047         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
8048         New macro for function aliased to two exported symbols.
8050         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
8051         new template file.
8052         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8054 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8056         * Makeconfig (all-object-suffixes): Remove .og.
8057         * Makerules (elide-routines.og): Remove.
8058         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
8059         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
8060         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
8062 2016-09-20  Florian Weimer  <fweimer@redhat.com>
8064         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
8065         .os objects.
8067 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8069         [BZ #20615]
8070         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
8071         fpu directory by non-fpu.
8072         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
8073         on non-fpu directory from a fpu directory.
8075 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
8077         * include/limits.h: Define
8078         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8079         <bits/libc-header-start.h> instead of including <features.h>.
8080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
8081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
8082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
8083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
8084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
8085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
8086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
8087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
8088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
8090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
8091         * manual/lang.texi (Width of Type): Document these macros.
8092         * stdlib/tst-width.c: New file.
8093         * stdlib/Makefile (tests): Add tst-width.
8095 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8097         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
8098         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
8100 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8102         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
8103         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8104         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8106 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8108         [BZ #18243]
8109         * rt/Makefile (test): Add tst-shm-cancel.
8110         * rt/tst-shm-cancel.c: New file.
8111         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
8113         [BZ #18243]
8114         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
8115         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
8116         definition.
8117         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
8118         uncontended case.
8119         * nptl/sem_wait.c (__new_sem_wait): Likewise.
8120         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
8121         (tf): Fix check for uncontended case.
8122         (do_test): Likewise.
8123         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
8124         (tf): Fix check for uncontended case.
8125         (do_test): Likewise.
8126         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
8127         (tf): Fix check for uncontended case.
8128         (do_test): Likewise.
8129         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
8130         (tf): Fix check for uncontended case.
8131         (do_test): Likewise.
8133         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
8134         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
8136         [BZ #15765]
8137         * nptl/Makefile (tests): Add tst-sem16.
8138         * nptl/tst-sem16.c: New file.
8139         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
8141         * nptl/sem_open.c (sem_open): Init pad value to 0.
8142         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
8143         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
8145 2016-09-15  Florian Weimer  <fweimer@redhat.com>
8147         [BZ #20611]
8148         * inet/Makefile (routines): Add inet6_scopeid_pton.
8149         (tests): Add tst-inet6_scopeid_pton.
8150         * inet/inet6_scopeid_pton.c: New file.
8151         * inet/net-internal.h: Likewise.
8152         * inet/tst-inet6_scopeid_pton.c: New test.
8153         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
8154         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
8155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8157 2016-09-14  Florian Weimer  <fweimer@redhat.com>
8159         Remove support for compiling wrappers with PTW.
8160         * sysdeps/nptl/Makeconfig: Drop ptw- support.
8161         * nptl/Makefile (pthread-compat-wrappers): Define.
8162         (libpthread-routines): Use pthread-compat-wrappers.
8163         * sysdeps/unix/sysv/linux/alpha/Makefile
8164         (libpthread-routines, libpthread-shared-only-routines): Remove
8165         ptw- prefix.
8166         * sysdeps/s390/nptl/Makefile
8167         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8168         * sysdeps/ia64/nptl/Makefile
8169         (libpthread-routines, libpthread-shared-only-routines): Likewise.
8170         * sysdeps/nacl/Makefile (libpthread-routines): Use
8171         pthread-compat-wrappers to filter the routines list instead of the
8172         ptw- prefix.
8174 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8176         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
8177         with L() and remove explicit suffix, convert real literals
8178         which can be equivalentally substituted with integers, and
8179         transform -L(x) to L(-x).
8181         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8182         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8183         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8184         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8185         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8186         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8187         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8188         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8189         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8190         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8191         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8192         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8193         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8194         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8195         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8196         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8197         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8198         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8199         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8200         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8201         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8202         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8203         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8204         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8205         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8206         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8207         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8208         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8212         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8213         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8214         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8215         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8216         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8217         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8218         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8220         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8221         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8222         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8223         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8224         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8225         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8226         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8227         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8228         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8229         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8230         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8232 2016-09-13  Florian Weimer  <fweimer@redhat.com>
8234         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
8236 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8238         * malloc/Makefile (tests): Remove individual static test names
8239         and just add all of tests-static.
8241         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
8243 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
8245         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
8246         file.
8248         * sysdeps/sparc/fpu/fegetmode.c: New file.
8249         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
8251         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
8252         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
8254         * sysdeps/s390/fpu/fegetmode.c: New file.
8255         * sysdeps/s390/fpu/fesetmode.c: Likewise.
8257         * sysdeps/powerpc/fpu/fegetmode.c: New file.
8258         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
8259         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
8260         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
8261         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
8262         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
8264         * sysdeps/mips/fpu/fegetmode.c: New file.
8265         * sysdeps/mips/fpu/fesetmode.c: Likewise.
8267         * sysdeps/m68k/fpu/fegetmode.c: New file.
8268         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
8270         * sysdeps/ia64/fpu/fegetmode.c: New file.
8271         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
8273         * sysdeps/hppa/fpu/fegetmode.c: New file.
8274         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
8276         * sysdeps/arm/fegetmode.c: New file.
8277         * sysdeps/arm/fesetmode.c: Likewise.
8279         * sysdeps/alpha/fpu/fegetmode.c: New file.
8280         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
8282         * sysdeps/aarch64/fpu/fegetmode.c: New file.
8283         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
8285         * math/fegetmode.c: New file.
8286         * math/fesetmode.c: Likewise.
8287         * sysdeps/i386/fpu/fegetmode.c: Likewise.
8288         * sysdeps/i386/fpu/fesetmode.c: Likewise.
8289         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
8290         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
8291         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
8292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
8293         declaration.
8294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
8295         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
8296         typedef.
8297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8298         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8299         (femode_t): New typedef.
8300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8301         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8302         (femode_t): New typedef.
8303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8304         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8305         (femode_t): New typedef.
8306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8307         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8308         (femode_t): New typedef.
8309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8310         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8311         (femode_t): New typedef.
8312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8313         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8314         (femode_t): New typedef.
8315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8316         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8317         (femode_t): New typedef.
8318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8319         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8320         (femode_t): New typedef.
8321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8322         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8323         (femode_t): New typedef.
8324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8325         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8326         (femode_t): New typedef.
8327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
8328         declaration.
8329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8330         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8331         (femode_t): New typedef.
8332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8333         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8334         (femode_t): New typedef.
8335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8336         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8337         (femode_t): New typedef.
8338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8339         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8340         (femode_t): New typedef.
8341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8342         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8343         (femode_t): New typedef.
8344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
8345         * manual/arith.texi (FE_DFL_MODE): Document macro.
8346         (fegetmode): Document function.
8347         (fesetmode): Likewise.
8348         * math/Versions (fegetmode): New libm symbol at version
8349         GLIBC_2.25.
8350         (fesetmode): Likewise.
8351         * math/Makefile (libm-support): Add fegetmode and fesetmode.
8352         (tests): Add test-femode and test-femode-traps.
8353         * math/test-femode-traps.c: New file.
8354         * math/test-femode.c: Likewise.
8355         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
8356         alias for __fe_dfl_env.
8357         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
8358         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
8359         (__fe_dfl_mode): Likewise.
8360         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
8361         version GLIBC_2.25.
8362         * sysdeps/nacl/libm.abilist: Update.
8363         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8364         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8365         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8366         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8367         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8368         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8369         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8370         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8376         Likewise.
8377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8378         Likewise.
8379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8380         Likewise.
8381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8382         Likewise.
8383         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8384         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8385         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8386         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8387         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8389         Likewise.
8390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8391         Likewise.
8392         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8393         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8394         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8396 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8398         [BZ #20495]
8399         [BZ #20508]
8400         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
8401         processors, set Use_dl_runtime_resolve_slow and set
8402         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
8403         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
8404         New.
8405         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
8406         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
8407         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8408         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
8409         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
8410         if Use_dl_runtime_resolve_opt is set.  Use
8411         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
8412         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
8413         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
8414         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
8415         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
8416         New.
8417         (_dl_runtime_resolve_opt): Likewise.
8418         (_dl_runtime_profile): Define only if _dl_runtime_profile is
8419         defined.
8421 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8423         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
8424         __libc_memalign with "+ RELA R_390_GLOB_DAT".
8426 2016-09-06  Florian Weimer  <fweimer@redhat.com>
8428         Convert malloc to __libc_lock.  Automated part, using this Perl
8429         s/// command:
8430           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
8431             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
8432         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
8433         conversion.
8435 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
8437         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
8438         (linknamespace-symlists-tests): Likewise.
8439         (linknamespace-header-tests): Likewise.
8441 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
8443         [BZ #19810]
8444         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
8445         * elf/tst-noload.c: New test case.
8446         * elf/Makefile (tests): Add tst-noload.
8448 2016-09-02  Roland McGrath  <roland@hack.frob.com>
8450         * sysdeps/nacl/dup.c: Add libc_hidden_def.
8452         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
8453         not any more.
8455         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
8457 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8459         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
8460         (do_cos_slow): Likewise.
8461         (do_sin): Likewise.
8462         (do_sin_slow): Likewise.
8463         (slow): Likewise.
8464         (slow1): Likewise.
8465         (slow2): Likewise.
8466         (sloww): Likewise.
8467         (sloww1): Likewise.
8468         (sloww2): Likewise.
8469         (bsloww): Likewise.
8470         (bsloww1): Likewise.
8471         (bsloww2): Likewise.
8472         (cslow2): Likewise.
8474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
8476         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
8477         arguments.  Consolidate input partitioning from callers here.
8478         (do_cos_slow): Likewise.
8479         (do_sin): Likewise.
8480         (do_sin_slow): Likewise.
8481         (do_sincos_1): Remove the no longer necessary input partitioning.
8482         (do_sincos_2): Likewise.
8483         (__sin): Likewise.
8484         (__cos): Likewise.
8485         (slow1): Likewise.
8486         (slow2): Likewise.
8487         (sloww1): Likewise.
8488         (sloww2): Likewise.
8489         (bsloww1): Likewise.
8490         (bsloww2): Likewise.
8491         (cslow2): Likewise.
8493 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8495         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
8496         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
8497         outside of allocated array.
8499 2016-09-02  Florian Weimer  <fweimer@redhat.com>
8501         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
8502         instead of MB_CUR_MAX to avoid variable-length array.
8504 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8506         * math/Makefile (libm-calls): Remove k_rem_pio2F.
8507         (type-double-routines): Add k_rem_pio2.
8508         (type-float-routines): Add k_rem_pio2f.
8510         * sysdeps/generic/math_private.h:
8511         (__kernel_rem_pio2l): Removed.
8513         * math/k_rem_pio2l.c: Removed.
8514         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
8515         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
8516         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
8517         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
8519 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8521         * math/Makefile (gen-libm-calls): Add s_fmin
8522         (libm-calls): Remove above.
8524         * math/s_fmin.c: Refactor into ...
8525         * math/s_fmin_template.c: New file.
8527         * math/s_fminf.c: Removed.
8528         * math/s_fminl.c: Removed.
8529         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8530         (LDOUBLE_fmin_libm_version): New macro.
8532         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
8533         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
8535 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8537         * math/Makefile: (gen-libm-calls): Add s_fmax.
8538         (libm-calls): Remove above.
8540         * math/s_fmax.c: Refactor into ...
8541         * math/s_fmax_template.c: New file.
8542         * math/s_fmaxf.c: Removed.
8543         * math/s_fmaxl.c: Removed.
8545         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8546         (LDOUBLE_fmaxl_libm_version): New macro.
8548         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
8549         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
8551         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
8552         s_fmin.c to pick the aarch64 version of the file.
8553         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
8554         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
8556 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8558         * math/Makefile: (gen-libm-calls): Add s_nextdown.
8559         (libm-calls): Remove above.
8561         * math/s_nextdown.c: Refactor into ...
8562         * math/s_nextdown_template.c: New file.
8563         * math/s_nextdownf.c: Removed.
8564         * math/s_nextdownl.c: Removed.
8566         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
8568 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8570         * math/Makefile (gen-libm-calls): Add s_fdim.
8571         (libm-calls): Move to above.
8573         * math/s_fdim.c: Renamed and refactored into to ...
8574         * math/s_fdim_template.c: New file.
8575         * math/s_fdiml.c: Removed.
8576         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
8577         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
8579         * sysdeps/generic/math-type-macros-double.h:
8580         (declare_mgen_alias): Don't declare if already declared.
8581         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
8582         Likewise.
8584         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
8585         (declare_mgen_alias): Don't declare if already declared.
8586         (M_LIBM_NEED_COMPAT): Likewise.
8587         (declare_mgen_libm_compat): Likewise.
8588         (LDOUBLE_fdiml_libm_version): New macro.
8590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8591         Include math/s_fdim.c now that ldbl-opt version is not needed.
8592         (declare_mgen_alias): New macro to disable aliasing.
8594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
8595         (declare_mgen_alias): Likewise.
8596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
8597         (declare_mgen_alias): Likewise.
8598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
8599         (declare_mgen_alias): Likewise.
8600         (M_LIBM_NEED_COMPAT): Likewise.
8602 2016-09-01  Florian Weimer  <fweimer@redhat.com>
8604         [BZ #20525]
8605         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
8606         Include <linux/quota.h>.
8607         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
8608         and btodb.
8609         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
8610         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
8611         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
8612         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
8613         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
8614         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
8615         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
8616         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
8617         types.
8618         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
8619         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
8621 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
8624         (gammal_positive): Fix spacing.
8625         (__ieee754_gammal_r): Likewise.
8627 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8629         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
8630         (_Float128): Define as long double, always.
8631         (L): Apply long double type suffix, always.
8633         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
8634         _Float128, excepting comments.
8636         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8637         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8638         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8639         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8640         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8641         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8642         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8643         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8644         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8645         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
8646         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8647         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8648         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8650         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8651         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8652         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8653         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8655         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8656         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8657         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8658         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8659         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8660         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8662         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8663         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8664         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8665         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8666         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8667         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8668         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8669         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8670         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8671         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8672         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8673         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8674         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8675         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
8676         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8677         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8678         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8679         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8680         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8681         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8682         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8683         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8684         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8685         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8686         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8687         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8688         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8689         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8690         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8691         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8692         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8693         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8694         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8695         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8696         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8697         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8698         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8699         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8700         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8701         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
8702         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8703         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8705         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
8706         _Float128, and include math_private.h.
8707         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8709         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
8710         long double semantics.
8711         (_Float128): Likewise.
8712         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
8713         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
8714         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
8715         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
8717 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8719         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
8720         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
8721         * sysdeps/s390/configure: Regenerated.
8722         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
8723         instruction for raising over-/underflow if z196 zarch is supported
8724         by default.
8725         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
8727 2016-08-30  Svante Signell  <svante.signell@gmail.com>
8729         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
8730         it point to a dumb buffer for RPC to fill it.
8732 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8734         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
8735         instead of if/else.
8736         (do_sin_slow): Likewise.
8737         (do_sincos_1): Use fabs instead of if/else.
8738         (do_sincos_2): Likewise.
8739         (__sin): Likewise.
8740         (__cos): Likewise.
8741         (slow2): Likewise.
8742         (sloww): Likewise.
8743         (sloww1): Likewise.  Drop argument M.
8744         (sloww2): Use fabs instead of if/else.
8745         (bsloww): Likewise.
8746         (bsloww1): Likewise.
8747         (bsloww2): Likewise.
8749         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
8750         fall through comment.
8751         (do_sincos_1): Likewise.
8753         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
8754         Consolidate switch cases 0 and 2.
8756 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8758         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
8759         (libm-calls): Remove the above.
8761         * math/s_cexp_template.c: Update using type-generic macros.
8762         * math/s_clog10_template.c: Likewise.
8763         * math/s_cpow_template.c: Likewise.
8764         * math/s_clog_template.c: Likewise.
8765         * math/s_cproj_template.c: Likewise.
8766         * math/s_csqrt_template.c: Likewise.
8768         * math/s_cexp.c: Removed.
8769         * math/s_cexpf.c: Removed.
8770         * math/s_cexpl.c: Removed.
8771         * math/s_clog10.c: Removed.
8772         * math/s_clog10f.c: Removed.
8773         * math/s_clog10l.c: Removed.
8774         * math/s_cpow.c: Removed.
8775         * math/s_cpowf.c: Removed.
8776         * math/s_cpowl.c: Removed.
8777         * math/s_clog.c: Removed.
8778         * math/s_clogf.c: Removed.
8779         * math/s_clogl.c: Removed.
8780         * math/s_cproj.c: Removed.
8781         * math/s_cprojf.c: Removed.
8782         * math/s_cprojl.c: Removed.
8783         * math/s_csqrt.c: Removed.
8784         * math/s_csqrtf.c: Removed.
8785         * math/s_csqrtl.c: Removed.
8787         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
8788         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
8789         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
8790         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
8791         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
8792         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
8794         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
8795         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
8796         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
8797         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
8798         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
8799         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
8800         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
8801         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
8802         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
8803         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
8804         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
8806         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
8807         version.
8809         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
8810         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
8811         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
8812         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
8814 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8816         * s_cexp_template.c: Copy of s_cexp.c.
8817         * s_clog_template.c: Copy of s_clog.c.
8818         * s_clog10_template.c: Copy of s_clog10.c.
8819         * s_cpow_template.c: Copy of s_cpow.c.
8820         * s_cproj_template.c: Copy of s_cproj.c.
8821         * s_csqrt_template.c: Copy of s_csqrt.c.
8823 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8825         [BZ #20517]
8826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
8827         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
8828         exported.
8830 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
8832         * math/fetestexceptflag.c: New file.
8833         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
8834         Stefan Liebler.
8835         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8836         (fetestexceptflag): New function declaration.
8837         * manual/arith.texi (fetestexceptflag): Document function.
8838         * math/Versions (fetestexceptflag): New libm symbol at version
8839         GLIBC_2.25.
8840         * math/Makefile (libm-support): Add fetestexceptflag.
8841         (tests): Add test-fetestexceptflag.
8842         * math/test-fetestexceptflag.c: New file.
8843         * sysdeps/nacl/libm.abilist: Update.
8844         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8846         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8847         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8852         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8855         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8857         Likewise.
8858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8859         Likewise.
8860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8861         Likewise.
8862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8863         Likewise.
8864         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8868         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8870         Likewise.
8871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8872         Likewise.
8873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8877 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8879         [BZ #20432]
8880         Avoid strong references to malloc-internal symbols when linking
8881         statically, to support statically interposed mallocs.
8882         * include/libc-symbols.h (call_function_static_weak): New macro.
8883         * malloc/Makefile (tests): Add tst-interpose-nothread,
8884         tst-interpose-thread, tst-interpose-static-nothread,
8885         tst-interpose-static-thread.
8886         (tests-static): Add tst-interpose-static-nothread,
8887         tst-interpose-static-thread.
8888         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
8889         tst-interpose-aux-thread.o.
8890         (test-extras): Add tst-interpose-aux-nothread,
8891         tst-interpose-aux-thread.
8892         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
8893         tst-interpose-aux-nothread.o.
8894         (tst-interpose-thread, tst-interpose-static-thread): Link with
8895         tst-interpose-aux-thread.o and libthread.
8896         * malloc/tst-interpose-aux-nothread.c: New file.
8897         * malloc/tst-interpose-aux-thread.c: Likewise.
8898         * malloc/tst-interpose-aux.c: Likewise.
8899         * malloc/tst-interpose-aux.h: Likewise.
8900         * malloc/tst-interpose-nothread.c: Likewise.
8901         * malloc/tst-interpose-skeleton.c: Likewise.
8902         * malloc/tst-interpose-static-nothread.c: Likewise.
8903         * malloc/tst-interpose-static-thread.c: Likewise.
8904         * malloc/tst-interpose-thread.c: Likewise.
8905         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
8906         * sysdeps/mach/hurd/fork.c (__fork): Only call
8907         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8908         __malloc_fork_unlock_child if defined.
8909         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8911 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8913         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
8914         timespec C99 designated initialization.
8916 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8918         [BZ #19946]
8919         Avoid expected SIGALRM signals.
8920         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
8921         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
8922         (xpthread_create, xpthread_detach, xpthread_join)
8923         (delayed_exit_thread, delayed_exit): New functions.
8924         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
8925         (tf): Use xpthread_cond_wait.
8926         (do_test): Likewise.  Replace alarm with delayed_exit.
8927         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8928         (do_test): Call delayed_exit.  Report failure.
8929         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8930         (do_test): Call delayed_exit.
8931         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8932         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
8933         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8934         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
8935         error.
8936         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
8937         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
8938         error.
8939         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
8940         (do_test): Call delayed_exit.
8941         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
8942         (do_test): Call delayed_exit.
8943         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
8944         (do_test): Call delayed_exit instead of alarm.  Use
8945         xpthread_mutex_lock.
8946         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
8947         (do_test): Call delayed_exit instead of alarm.  Use
8948         xpthread_mutex_lock.
8949         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
8950         (do_test): Call delayed_exit instead of alarm.
8951         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
8952         (do_test): Call delayed_exit instead of alarm.  Use
8953         xpthread_spin_lock.
8954         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
8955         (do_test): Call delayed_exit instead of alarm.  Use
8956         xpthread_join.
8958 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8960         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
8961         adjust CFA when allocating register save area on re-aligned
8962         stack.
8964 2016-08-26  Florian Weimer  <fweimer@redhat.com>
8966         * string/tst-cmp.c: New test.
8967         * string/Makefile (tests): Add it.
8969 2016-08-25  Mark Wielaard  <mark@klomp.org>
8971         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
8972         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
8973         (check_tree_recurse): Use newly defined accessors.
8974         (check_tree): Likewise.
8975         (maybe_split_for_insert): Likewise.
8976         (__tfind): Likewise.
8977         (__tdelete): Likewise.
8978         (trecurse): Likewise.
8979         (tdestroy_recurse): Likewise.
8980         (__tsearch): Likewise. And add asserts for malloc alignment.
8981         (__twalk): Cast root to node in case CHECK_TREE is defined.
8983 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8985         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
8987 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8989         * math/Makefile (libm-gen-calls): Add
8990         catan, catanh, ctan, ctanh.
8991         (libm-calls): Remove the above.
8993         * math/s_catan_template.c: Update using type-generic macros.
8994         * math/s_catanh_template.c: Likewise.
8995         * math/s_ctan_template.c: Likewise.
8996         * math/s_ctanh_template.c: Likewise.
8998         * math/s_catanf.c: Removed.
8999         * math/s_catan.c: Removed.
9000         * math/s_catanl.c: Removed.
9001         * math/s_catanhf.c: Removed.
9002         * math/s_catanh.c: Removed.
9003         * math/s_catanhl.c: Removed.
9004         * math/s_ctanf.c: Removed.
9005         * math/s_ctan.c: Removed.
9006         * math/s_ctanl.c: Removed.
9007         * math/s_ctanhf.c: Removed.
9008         * math/s_ctanh.c: Removed.
9009         * math/s_ctanhl.c: Removed.
9011         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
9012         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
9013         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
9014         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
9015         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
9016         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
9018         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
9019         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
9020         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
9021         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
9023 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9025         * s_catan_template.c: Copy of s_catan.c.
9026         * s_catanh_template.c: Copy of s_catanh.c.
9027         * s_ctan_template.c: Copy of s_ctan.c.
9028         * s_ctanh_template.c: Copy of s_ctanh.c.
9030 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9032         * math/Makefile (gen-libm-calls): Move
9033         casin, casinh, csin, csinh here.
9034         (libm-calls): Remove the above.
9036         * math/s_casin_template.c: Update using type-generic macros.
9037         * math/s_casinh_template.c: Likewise.
9038         * math/s_csin_template.c: Likewise.
9039         * math/s_csinh_template.c: Likewise.
9040         * math/k_casinh_template.c: Likewise.
9042         * math/s_casinf.c: Removed.
9043         * math/s_casin.c: Removed.
9044         * math/s_casinl.c: Removed.
9045         * math/s_casinh.c: Removed.
9046         * math/s_casinhf.c: Removed.
9047         * math/s_casinhl.c: Removed.
9048         * math/s_csin.c: Removed.
9049         * math/s_csinf.c: Removed.
9050         * math/s_csinl.c: Removed.
9051         * math/s_csinh.c: Removed.
9052         * math/s_csinhf.c: Removed.
9053         * math/s_csinhl.c: Removed.
9054         * math/k_casinh.c: Removed.
9055         * math/k_casinhf.c: Removed.
9056         * math/k_casinhl.c: Removed.
9058         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
9059         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
9060         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
9061         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
9063         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
9064         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
9065         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
9066         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
9067         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
9068         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
9069         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
9070         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
9072         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
9073         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
9074         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
9075         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
9077         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
9078         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
9079         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
9080         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
9082 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9084         * s_casin_template.c: Copy of s_casin.c.
9085         * s_casinh_template.c: Copy of s_casinh.c.
9086         * s_csin_template.c: Copy of s_csin.c.
9087         * s_csinh_template.c: Copy of s_csinh.c.
9088         * k_casinh_template.c: Copy of k_casinh.c.
9090 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9092         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
9094 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9096         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
9097         (mul_split) Remove, rename as mul_splitl, remove
9098         redundant float.h include, and include via mul_splitl.h
9100         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9101         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9102         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9103         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9104         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9106         * math/mul_splitl.h: New file.
9108         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
9109         Move into mul_split.h, and remove redundant float.h include.
9111         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9112         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9113         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9114         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
9116         * math/mul_split.h: New file.
9118 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9120         * math/Makefile (libm-gen-calls): Move
9121         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
9122         (libm-calls): Remove above.
9124         * math/s_cacos_template.c: Update using type-generic macros.
9125         * math/s_cacosh_template.c: Likewise.
9126         * math/s_ccos_template.c: Likewise.
9127         * math/s_ccosh_template.c: Likewise.
9129         * math/s_cacosf.c: Removed.
9130         * math/s_cacos.c: Removed.
9131         * math/s_cacosl.c: Removed.
9132         * math/s_cacoshf.c: Removed.
9133         * math/s_cacosh.c: Removed.
9134         * math/s_cacoshl.c: Removed.
9135         * math/s_ccosf.c: Removed.
9136         * math/s_ccos.c: Removed.
9137         * math/s_ccosl.c: Removed.
9138         * math/s_ccoshf.c: Removed.
9139         * math/s_ccosh.c: Removed.
9140         * math/s_ccoshl.c: Removed.
9142         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
9143         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
9144         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
9145         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
9146         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
9147         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
9149         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
9150         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
9151         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
9152         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
9154         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
9155         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
9156         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
9157         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
9159 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9161         * s_cacos_template.c: Copy of s_cacos.c.
9162         * s_cacosh_template.c: Copy of s_cacosh.c.
9163         * s_ccos_template.c: Copy of s_ccos.c.
9164         * s_ccosh_template.c: Copy of s_ccosh.c.
9166 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9168         * stdlib/tst-strtod-round-skeleton.c:
9169         Refactored from tst-strtod-round.c.
9171         (L_): New macro to apply literal modifier.
9172         (FNPFX): New macro to select str or wcs prefix.
9173         (CHAR): New macro to choose wchar_t or char.
9174         (STRM): New macro to choose printf for tested character type.
9176         (STRTO): New macro to choose appropriate string -> real function.
9177         (FNPFXS): Stringitized version of FNPFX.
9178         (STR): Support for above macro.
9179         (STRX): Likewise.
9181         (TEST): Update with above macros.
9182         (test): Likewise.
9183         (GEN_ONE_TEST): Likewise.
9184         (test_in_one_mode): Likewise.
9186         * stdlib/tst-strtod-round.c: New file.
9187         * wcsmbs/tst-wcstod-round.c: New file.
9189         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
9190         (tst-wcstod-round): Add libm depencency for fesetround.
9192 2016-08-19  Zack Weinberg  <zackw@panix.com>
9194         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
9196 2016-08-18  Torvald Riegel  <triegel@redhat.com>
9198         [BZ #20477]
9199         * resolv/res_hconf.c (do_init): Use atomic access.
9200         * resolv/res_hconf.h: Add comments.
9201         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
9202         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
9203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9205 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9208         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
9209         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9210         Likewise.
9212 2016-08-18  Florian Weimer  <fweimer@redhat.com>
9214         [BZ #16907]
9215         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
9216         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
9217         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
9218         (__attribute__): Remove definition.
9220 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9222         * sysdeps/ieee754/ldbl-128/e_asinl.c:
9223         Remove unused sqrtl declaration.
9225 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9227         * math/Makefile: (gen-libm-templates.stmp): New rule.
9228         (libm-calls): Move carg conj cimag and cabs into ...
9229         (gen-libm-calls): New variable.
9230         (generated): Inform Make objects from gen-libm-calls
9231         may be generated.
9233         * sysdeps/generic/math-type-macros.h: New file.
9234         * sysdeps/generic/math-type-macros-float.h: Likewise.
9235         * sysdeps/generic/math-type-macros-double.h: Likewise.
9236         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9237         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
9238         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
9240         * math/cabs.c: Refactor into
9241         * math/cabs_template.c: new file.
9242         * math/cabsf.c: Removed.
9243         * math/cabsl.c: Removed.
9244         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
9245         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
9247         * math/carg.c: Refactor into
9248         * math/carg_template.c: new file.
9249         * math/cargf.c: Removed.
9250         * math/cargl.c: Removed.
9251         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
9252         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
9254         * math/conj.c: Refactor into
9255         * math/conj_template.c: new file.
9256         * math/conjf.c: Removed.
9257         * math/conjl.c: Removed.
9258         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
9259         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
9261         * math/cimag.c: Refactor into
9262         * math/cimag_template.c: new file.
9263         * math/cimagf.c: Removed.
9264         * math/cimagl.c: Removed.
9265         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9266         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9268         * math/cimag.c: Refactor into
9269         * math/cimag_template.c: new file.
9270         * math/cimagf.c: Removed.
9271         * math/cimagl.c: Removed.
9272         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
9273         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
9275 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9277         Reduce time to expected nptl/tst-once5 failure.
9278         * nptl/tst-once5.cc (TIMEOUT): Define.
9280 2016-08-17  Florian Weimer  <fweimer@redhat.com>
9282         [BZ #20452]
9283         Avoid additional copies of objects in libc.a in static libraries.
9284         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
9285         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
9286         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
9287         rt-sysdep.
9288         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
9289         Add nptl-sysdep.
9290         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
9291         Add ptw-sysdep.
9292         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
9293         rt-sysdep.
9294         * sysdeps/unix/sysv/linux/alpha/Makefile
9295         (libpthread-shared-only-routines): Add ptw-sysdep,
9296         ptw-sigprocmask, ptw-rt_sigaction.
9297         * sysdeps/unix/sysv/linux/ia64/Makefile
9298         (librt-shared-only-routines): Add rt-sysdep.
9299         * sysdeps/unix/sysv/linux/i386/Makefile
9300         (libpthread-shared-only-routines): Add libc-do-syscall.
9301         * sysdeps/unix/sysv/linux/microblaze/Makefile
9302         (libpthread-shared-only-routines): Add sysdep.
9303         * sysdeps/unix/sysv/linux/powerpc/Makefile
9304         (librt-shared-only-routines): Add rt-sysdep.
9305         (libpthread-shared-only-routines): Add sysdep.
9306         * sysdeps/unix/sysv/linux/s390/Makefile
9307         (librt-shared-only-routines): Add rt-sysdep.
9308         * sysdeps/unix/sysv/linux/sparc/Makefile
9309         (librt-shared-only-routines): Add rt-sysdep.
9310         (libpthread-shared-only-routines): Add sysdep.
9311         * sysdeps/unix/sysv/linux/tile/Makefile
9312         (libpthread-shared-only-routines): Likewise.
9314 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
9316         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
9317         Mask implicit bit out of unpacked value.
9318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
9319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
9320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
9322         * sysdeps/sparc/fpu/fesetexcept.c: New file.
9324         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
9326         * sysdeps/s390/fpu/fesetexcept.c: New file.
9328         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
9329         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
9330         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
9332         * sysdeps/mips/fpu/fesetexcept.c: New file.
9334         * sysdeps/m68k/fpu/fesetexcept.c: New file.
9336         * sysdeps/ia64/fpu/fesetexcept.c: New file.
9338         * sysdeps/hppa/fpu/fesetexcept.c: New file.
9340         * sysdeps/arm/fesetexcept.c: New file.
9342         * sysdeps/alpha/fpu/fesetexcept.c: New file.
9344         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
9346         * math/fesetexcept.c: New file.
9347         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
9348         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
9349         * math/fenv.h: Define
9350         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9351         <bits/libc-header-start.h> instead of including <features.h>.
9352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
9353         declaration.
9354         * manual/arith.texi (fesetexcept): Document function.
9355         * math/Versions (fesetexcept): New libm symbol at version
9356         GLIBC_2.25.
9357         * math/Makefile (libm-support): Add fesetexcept.
9358         (tests): Add test-fesetexcept and test-fesetexcept-traps.
9359         * math/test-fesetexcept.c: New file.
9360         * math/test-fesetexcept-traps.c: Likewise.
9361         * sysdeps/nacl/libm.abilist: Update.
9362         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9363         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9364         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9365         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9366         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9368         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9369         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9370         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9371         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9373         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9375         Likewise.
9376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9377         Likewise.
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9379         Likewise.
9380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9381         Likewise.
9382         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9388         Likewise.
9389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9390         Likewise.
9391         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9395 2016-08-16  Florian Weimer  <fweimer@redhat.com>
9397         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
9398         New.
9399         (do_test): Apply default_stack_size_in_mb if not set.
9400         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
9402 2016-08-15  Andreas Schwab  <schwab@suse.de>
9404         [BZ #20435]
9405         CVE-2016-6323
9406         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
9407         as .cantunwind.
9409 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
9411         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
9412         comment from fraiseexcpt.c.
9414         * math/test-fexcept.c (feraiseexcept_exact): New function.
9415         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
9416         (test_except): Likewise.
9418 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
9420         [BZ #20455]
9421         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
9422         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
9423         to be restored.
9425         * math/test-fexcept-traps.c: New file.
9426         * math/test-fexcept.c: Likewise.
9427         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
9428         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
9429         macro.
9430         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
9431         (EXCEPTION_SET_FORCES_TRAP): Likewise.
9433 2016-08-09  Torvald Riegel  <triegel@redhat.com>
9435         * include/atomic.h (atomic_fetch_and_relaxed,
9436         atomic_fetch_and_release, atomic_fetch_or_release,
9437         atomic_fetch_xor_release): New.
9439 2016-08-06  Christian Seiler  <christian@iwakd.de>
9441         [BZ #20444]
9442         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
9443         MACH_PORT_NULL.
9445 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9447         * math/s_fdim.c: Avoid alias renamed.
9448         * math/s_fdimf.c: Likewise.
9449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9450         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9451         Add s_fdimf-vis3, s_fdim-vis3.
9452         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9453         (CFLAGS-s_fdim-vis3.c): Likewise.
9454         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
9455         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
9457 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9460         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9461         Remove s_fdimf-vis3, s_fdim-vis3.
9462         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
9463         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
9464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
9465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
9466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
9467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
9468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
9469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
9470         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
9471         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
9473 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
9475         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
9476         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
9477         -Wa,-Av9a -mvis.
9479 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9481         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
9482         LIT() to individual constants in simple expressions
9483         after splitting on spaces.
9484         (_apply_lit): Rename replaced version, and use it to
9485         apply to what appears to be a token.
9487         * math/libm-test.inc: Fix many, many issues with
9488         spacing.
9490 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
9492         * math/math.h: Move comment about <bits/mathdef.h> definitions
9493         above inclusion of <bits/mathdef.h>.  Do not mention
9494         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
9496 2016-08-05  Torvald Riegel  <triegel@redhat.com>
9498         * include/atomic.h (atomic_exchange_relaxed): New.
9500 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
9502         * math/e_scalb.c: Do not include <fenv.h>.
9503         (invalid_fn): Do calculation resulting in NaN instead of raising
9504         FE_INVALID and returning a NaN explicitly.
9505         * math/e_scalbf.c: Do not include <fenv.h>.
9506         (invalid_fn): Do calculation resulting in NaN instead of raising
9507         FE_INVALID and returning a NaN explicitly.
9508         * math/e_scalbl.c: Do not include <fenv.h>.
9509         (invalid_fn): Do calculation resulting in NaN instead of raising
9510         FE_INVALID and returning a NaN explicitly.
9512 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
9514         * po/de.po: Updated from Translation Project.
9515         * po/fi.po: Likewise.
9516         * po/sv.po: Likewise.
9518 2016-08-04  Florian Weimer  <fweimer@redhat.com>
9520         [BZ #20452]
9521         Use sysdep.o from libc.a in static libraries.
9522         * sysdeps/unix/sysv/linux/i386/Makefile
9523         (libpthread-shared-only-routines): Add sysdep.
9524         (librt-shared-only-routines): Likewise.
9526 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9528         * math/tgmath.h (nextdown): Define if
9529         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
9530         (nextup): Likewise.
9532         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
9533         macro.
9534         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9535         Document.
9536         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
9537         Document macro.
9538         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
9539         (exp10f): Likewise.
9540         (exp10l): Likewise.
9541         * math/bits/mathcalls.h (exp10): Declare if
9542         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
9544         * manual/arith.texi (nextup): Fix typo in last change.
9546 2016-08-03  Zack Weinberg  <zackw@panix.com>
9548         [BZ #19239]
9549         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9550         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
9551         define major, minor, and makedev to issue deprecation warnings on use.
9552         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
9553         previously-activated deprecation warnings for these macros and prevent
9554         subsequent inclusions of this header from having any effect.
9555         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
9556         including <sys/sysmacros.h>, and undefine it again afterward.
9558 2016-08-03  Zack Weinberg  <zackw@panix.com>
9560         * sysdeps/generic/sys/sysmacros.h: Delete file.
9561         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
9562         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
9563         * bits/sysmacros.h: ... here; this encoding is now the generic
9564         encoding.  Now defines only the following macros:
9565         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
9566         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
9567         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
9569         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
9570         bits/sysmacros.h and the above new macros to generate the
9571         public implementations of major, minor, and makedev.
9572         * misc/tst-makedev.c: New test.
9573         * include/sys/sysmacros.h: New wrapper.
9575         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
9576         (routines): Add makedev.
9577         (tests): Add tst-makedev.
9578         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
9579         gnu_dev_makedev.
9580         * posix/Makefile (headers): Remove sys/sysmacros.h.
9581         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
9583         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
9584         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
9585         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9586         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9587         * sysdeps/unix/sysv/linux/arm/libc.abilist
9588         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9589         * sysdeps/unix/sysv/linux/i386/libc.abilist
9590         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9591         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9592         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9593         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9594         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9595         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9597         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9598         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9603         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9604         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9605         * sysdeps/unix/sysv/linux/sh/libc.abilist
9606         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9611         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9612         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9613         Add GLIBC_2.25.
9615         * include/features.h (__glibc_clang_prereq): New macro.
9616         * misc/sys/cdefs.h (__glibc_clang_has_extension)
9617         (__attribute_deprecated_msg__): New macros.
9619 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9621         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
9622         macro.
9623         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
9624         * manual/arith.texi (issignaling): Document as ISO from TS
9625         18661-1:2014.
9626         (nextup): Likewise.
9627         (nextupf): Likewise.
9628         (nextupl): Likewise.
9629         (nextdown): Likewise.
9630         (nextdownf): Likewise.
9631         (nextdownl): Likewise.
9632         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
9633         macro.
9634         * math/math.h: Define
9635         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9636         <bits/libc-header-start.h> instead of including <features.h>.
9637         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
9638         [__USE_GNU].
9639         * math/bits/mathcalls.h (nextdown): Declare if
9640         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
9641         (nextup): Likewise.
9642         (__issignaling): Likewise.
9644 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9646         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
9647         check, and remove __glibc_likely hint
9648         from FP_INFINITE check.
9649         * s_csinhf.c (__csinhf): Likewise.
9651         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
9652         hint from FP_INFINITE check.
9653         * s_csinhl.c (__csinhl): Likewise.
9655 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9657         * math/Makefile (libm-calls): Insert F placeholder into
9658         object names.  Move w_lgamma_compat* routines into
9659         (libm-compat-calls): New variable.
9660         (libm-compat-calls-ldouble-yes): New variable.
9661         (calls): Insert F placeholder.
9662         (generated): Redefine using new type-foreach macro call.
9663         (routines): Likewise.
9665         (types): New variable to hold a list of symbolic names
9666         for each type supported by the target machine.
9667         (libm-routines): Redefine using new types variable.
9668         (type-foreach): macro to replace fooF with the
9669         appropriately suffixed foo for each types.
9671         (type-ldouble-suffix): New variable.
9672         (type-ldouble-routines): Likewise.
9673         (type-ldouble-yes): Likewise.
9674         (type-double-suffix): Likewise.
9675         (type-double-routines): Likewise.
9676         (type-float-suffix): Likewise.
9677         (type-float-routines): Likewise.
9679         (dbl-only-routines): Remove.
9680         (long-c-yes): Likewise.
9681         (long-m-routines): Likewise.
9682         (long-m-support): Likewise.
9683         (long-m-yes): Likewise.
9684         (test-longdouble-yes): Likewise.
9686         (test-float.o): Simplify by increasing the scope of the
9687         recipe which adds libm-test.stmp to the vector types.
9688         (test-ifloat.o): Likewise.
9689         (test-float-finite.o): Likewise.
9690         (test-double.o): Likewise
9691         (test-idouble.o): Likewise.
9692         (test-double-finite.o): Likewise.
9693         (test-ldouble.o): Likewise
9694         (test-ildoubl.o): Likewise.
9695         (test-ldouble-finite.o): Likewise.
9697         (libm-tests): Redefine type tests using foreach and the
9698         list of types in types.
9700         (CPPFLAGS-test-ildoubl.c): Rename to
9701         (CPPFLAGS-test-ildouble.c): New variable
9703         * math/test-ildoubl.c: Rename to
9704         * math/test-ildouble.c: New file.
9706 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9708         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
9709         Use fabsl instead of fabs.
9710         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
9711         Likewise.
9712         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
9713         Add long double suffix to constant to ensure proper
9714         promotion to long double.
9716 2016-08-03  Tom Tromey  <tom@tromey.com>
9718         [BZ #20311]
9719         * nptl_db/Makefile (headers): Add proc_service.h.
9720         * nptl_db/proc_service.h: Add include guard.  Use
9721         __BEGIN/__END_DECLS.
9722         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
9723         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
9724         arguments.
9727 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9729         [BZ #17730]
9730         Avoid using memalign for TCB allocations.
9731         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
9732         (_dl_allocate_tls_storage): Use malloc and manual alignment.
9733         Avoid alignment gap in the TLS_DTV_AT_TP case.
9734         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
9735         determine the pointer to free.
9736         * nptl/tst-tls3-malloc.c: New test.
9737         * nptl/Makefile (tests): Add it.
9738         (tst-tls3-malloc): Link with libdl, libpthread.
9739         (LDFLAGS-tst-tls3-malloc): Set.
9740         (tst-tls3-malloc.out): Depend on DSO used in test.
9742 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9744         [BZ #17730]
9745         Avoid using memalign for TLS allocations.
9746         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
9747         is_static member with to_free member.
9748         (union dtv): Use struct dtv_pointer.
9749         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
9750         dtv_pointer instead of is_static.
9751         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
9752         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
9753         instead of val.
9754         (allocate_dtv_entry): New function.
9755         (allocate_and_init): Return struct dtv_pointer.  Call
9756         allocate_dtv_entry instead of __libc_memalign.
9757         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
9758         instead of val.
9759         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
9760         instead of is_static.  Adjust call to allocate_and_init.
9761         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
9762         struct dtv_pointer instead of val.
9764 2016-08-03  Florian Weimer  <fweimer@redhat.com>
9766         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
9767         (MALLOC_ALIGN_MASK): Move ...
9768         * malloc/malloc-internal.h: ... to here.
9769         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
9771 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
9773         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
9774         (UDP_ENCAP_GTP1U): Likewise.
9776         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
9777         (PF_MAX): Update value.
9778         (AF_QIPCRTR): New macro.
9780 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9782         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
9783         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9784         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9786         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9787         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9788         s_truncf-vis3, s_trunc-vis3.
9789         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
9790         (CFLAGS-s_ceil-vis3.c): Likewise.
9791         (CFLAGS-s_floorf-vis3.c): Likewise.
9792         (CFLAGS-s_floor-vis3.c): Likewise.
9793         (CFLAGS-s_truncf-vis3.c): Likewise.
9794         (CFLAGS-s_trunc-vis3.c): Likewise.
9795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
9796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
9798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
9800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9801         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
9802         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9803         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
9804         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9805         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
9806         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9808 2016-08-02  David S. Miller  <davem@davemloft.net>
9810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9811         (__nearbyint_vis3): Don't check for sNaN before float register is
9812         loaded with the incoming argument.
9813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9814         (__nearbyintf_vis3): Likewise.
9815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
9816         Likewise.
9817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
9818         Likewise.
9820         * string/test-strncmp.c (do_test_limit): Make sure the test data
9821         stream is aligned as required for the type "CHAR".
9822         (do_test): Likewise.
9824 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
9826         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
9827         by beq instructions jumping to the end of the function.
9828         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
9829         clobber list. Use "i" constraint instead of "X".
9830         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
9831         of "X".
9833 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
9835         * bits/libc-header-start.h: New file.
9836         * Makefile (headers): Add bits/libc-header-start.h.
9837         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
9838         (__GLIBC_USE): New macro.
9839         * libio/stdio.h: Define
9840         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9841         <bits/libc-header-start.h> instead of including <features.h>.
9842         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
9843         (open_memstream): Likewise.
9844         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
9845         (__asprintf): Likewise.
9846         (asprintf): Likewise.
9847         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
9848         (getdelim): Likewise.
9849         (getline): Likewise.
9850         * string/string.h: Define
9851         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9852         <bits/libc-header-start.h> instead of including <features.h>.
9853         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
9854         (strndup): Likewise.
9855         * wcsmbs/wchar.h: Define
9856         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9857         <bits/libc-header-start.h> instead of including <features.h>.
9858         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
9859         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
9861 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9863         Support linking against compatibility symbols, for use in tests.
9864         * include/libc-symbols.h (symbol_version_reference): New macro.
9865         (symbol_version): Use it.
9866         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
9867         (compat_symbol): Use compat_symbol_reference.
9868         (compat_symbol_1, compat_symbol_2): Remove.
9869         (compat_symbol_reference, compat_symbol_reference_1)
9870         (compat_symbol_reference_2): New macro.  Use
9871         symbol_version_reference.
9873 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9875         [BZ #19469]
9876         * malloc/Makefile (CPPFLAGS): Compile tests with
9877         -DTEST_NO_MALLOPT.
9878         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
9880 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
9882         [BZ #20033]
9883         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
9884         finite version.
9885         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
9886         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
9887         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
9888         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
9889         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
9890         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
9891         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
9892         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
9893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
9894         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
9895         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
9896         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
9897         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
9898         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
9899         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
9900         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
9901         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
9902         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
9903         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
9904         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
9905         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
9906         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
9907         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
9908         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
9909         in zero power.
9911 2016-08-02  Florian Weimer  <fweimer@redhat.com>
9913         [BZ #20370]
9914         * malloc/arena.c (get_free_list): Update comment.  Assert that
9915         arenas on the free list have no attached threads.
9916         (remove_from_free_list): New function.
9917         (reused_arena): Call it.
9919 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
9921         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
9922         when it is a NaN.
9923         [_IEEE_FP_INEXACT] Remove.
9924         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
9925         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
9926         when it is a NaN.
9927         [_IEEE_FP_INEXACT] Remove.
9928         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
9929         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
9930         when it is a NaN.
9931         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
9932         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
9933         when its absolute value is greater than 0x1.0p52.
9934         [_IEEE_FP_INEXACT] Remove.
9935         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
9936         when its absolute value is greater than 0x1.0p23.
9937         [_IEEE_FP_INEXACT] Remove.
9939 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
9941         * version.h (RELEASE): Set to "development"
9942         (VERSION): Set to 2.24.90.
9943         * NEWS: Add 2.25 section.
9945         * version.h (RELEASE): Set to "stable"
9946         (VERSION): Set to 2.24.
9947         * include/features.h (__GLIBC_MINOR__): Set to 24.
9949         * NEWS: Add 2.24 fixed bugs.
9950         * po/libc.pot: Regenerate.
9952 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
9954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9955         [$(subdir) = math] (libm-sysdep_routines): Remove.
9956         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
9957         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
9958         s_truncf-vis3, s_trunc-vis3.
9959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
9961         file.
9962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
9963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
9964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
9968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
9969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
9971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
9972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
9973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
9974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
9975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
9976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
9977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
9981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
9982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
9983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
9984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
9987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
9990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
9993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9995         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
9996         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
9997         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
9998         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
9999         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10000         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10001         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
10002         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
10003         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
10004         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
10006 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
10008         [BZ #20384]
10009         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
10010         test-double-libmvec-sincos-avx-main.o,
10011         test-double-libmvec-sincos-avx2-main.o,
10012         test-double-libmvec-sincos-main.o,
10013         test-float-libmvec-sincosf-avx-main.o,
10014         test-float-libmvec-sincosf-avx2-main.o and
10015         test-float-libmvec-sincosf-main.o.
10016         test-float-libmvec-sincosf-avx512-main.o.
10017         ($(objpfx)test-double-libmvec-sincos): Also link with
10018         $(objpfx)test-double-libmvec-sincos-main.o.
10019         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
10020         $(objpfx)test-double-libmvec-sincos-avx-main.o.
10021         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
10022         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
10023         ($(objpfx)test-float-libmvec-sincosf): Also link with
10024         $(objpfx)test-float-libmvec-sincosf-main.o.
10025         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
10026         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
10027         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
10028         test-double-libmvec-sincos-avx512-main.o and
10029         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
10030         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
10031         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
10032         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
10033         (CFLAGS-test-double-libmvec-sincos.c): Removed.
10034         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
10035         (CFLAGS-test-double-libmvec-sincos-main.c): New.
10036         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
10037         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
10038         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
10039         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
10040         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
10041         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
10042         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
10043         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
10044         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
10045         -DREQUIRE_AVX2.
10046         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
10047         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
10048         -DREQUIRE_AVX512F.
10049         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
10050         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
10051         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10052         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
10053         file.
10054         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
10055         Likewise.
10056         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
10057         Likewise.
10058         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
10059         Likewise.
10060         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
10061         Likewise.
10062         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
10063         Likewise.
10064         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
10065         Likewise.
10066         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
10067         Likewise.
10069 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
10071         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
10073 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
10075         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
10076         and typo in a comment about AT_HWCAP entry.
10078 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10080         * sysdeps/aarch64/libm-test-ulps: Updated.
10082 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10084         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
10085         of r13 as it is not restored in mvcle case.
10087 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
10089         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
10090         Rename "ret" to "__ret".
10091         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
10092         inline_syscall5, inline_syscall6): Likewise.
10094 2016-07-19   Will Newton  <will.newton@gmail.com>
10096         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
10097         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
10098         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
10099         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
10100         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
10102 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
10104         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
10105         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
10106         -mfpmath=387 with $(rtld-CFLAGS).
10107         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
10108         $(rtld-CFLAGS).
10110 2016-07-18   Ross Burton  <ross.burton@intel.com>
10111              Khem Raj  <raj.khem@gmail.com>
10113         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
10114         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
10115         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
10116         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
10117         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
10118         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
10119         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
10120         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
10121         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
10122         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
10123         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
10124         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
10125         R_METAG_TLS_DTPOFF): New.
10127 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10128             Matt Clay  <mclay@lycos.com>
10130         [BZ #20357]
10131         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
10132         to call __mpsin/__mpcos and to negate values.
10133         * math/auto-libm-test-in: Add test.
10134         * math/auto-libm-test-out: Regenerate.
10136 2016-07-18  Zack Weinberg  <zackw@panix.com>
10138         * grp/Makefile: Don't install the internal header grp-merge.h.
10140 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10142         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10144 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10146         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
10148 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10150         [BZ #15368]
10151         * sysdeps/unix/sysv/linux/nptl-signals.h
10152         (__nptl_clear_internal_signals): New function.
10153         (__libc_signal_block_all): Likewise.
10154         (__libc_signal_block_app): Likewise.
10155         (__libc_signal_restore_set): Likewise.
10156         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
10157         implementation.
10158         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
10159         the cached pid/tid value in pthread structure.
10161 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
10163         [BZ #20347]
10164         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10166 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10168         [BZ #20348]
10169         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
10170         preadv64, pwrite64 and pwritev64.
10172 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10174         [BZ #20350]
10175         * posix/tst-preadwrite.c: Renamed to ...
10176         * posix/tst-preadwrite-common.c: This.
10177         (PREAD): Removed.
10178         (PWRITE): Likewise.
10179         (STRINGIFY): Likewise.
10180         (STRINGIFY2): Likewise.
10181         (do_prepare): Make it static and remove function arguments.
10182         (do_test): Likewise.
10183         (PREPARE): Updated.
10184         (TEST_FUNCTION): New.
10185         (name): Make it static.
10186         (fd): Likewise.
10187         (do_prepare): Use create_temp_file.
10188         (do_test): Renamed to ...
10189         (do_test_with_offset): This.  Make it static and accept offset.
10190         Properly check return value of PWRITE and PREAD.  Return bytes
10191         read.  Don't close fd nor unlink name.
10192         * posix/tst-preadwrite.c: Rewrite.
10193         * posix/tst-preadwrite64.c: Likewise.
10195 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
10197         [BZ #20309]
10198         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
10199         -mtls-dialect=gnu2 works.
10200         * configure: Regenerated.
10201         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
10202         (tests): Add tst-gnu2-tls1.
10203         (modules-names): Add tst-gnu2-tls1mod.
10204         ($(objpfx)tst-gnu2-tls1): New.
10205         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
10206         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
10207         * elf/tst-gnu2-tls1.c: New file.
10208         * elf/tst-gnu2-tls1mod.c: Likewise.
10209         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
10210         bytes for push in the PLT entry to align the stack.
10212 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
10214         [BZ #20349]
10215         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
10217 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10219         [BZ #18707]
10220         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
10221         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
10223 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10225         * sysdeps/unix/sysv/linux/sysdep.h
10226         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
10227         guards.
10228         * misc/tst-preadvwritev-common.c: New file.
10229         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
10230         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
10231         a check for files larger than 2GB.
10233         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10234         (__ASSUME_OFF_DIFF_OFF64): Remove define.
10235         * sysdeps/unix/sysv/linux/pread.c
10236         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
10237         __OFF_T_MATCHES_OFF64_T.
10238         * sysdeps/unix/sysv/linux/pread64.c
10239         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
10240         * sysdeps/unix/sysv/linux/preadv.c
10241         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
10242         * sysdeps/unix/sysv/linux/preadv64.c
10243         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
10244         * sysdeps/unix/sysv/linux/pwrite.c
10245         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
10246         * sysdeps/unix/sysv/linux/pwrite64.c
10247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
10248         * sysdeps/unix/sysv/linux/pwritev.c
10249         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
10250         * sysdeps/unix/sysv/linux/pwritev64.c
10251         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
10253 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
10255         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10256         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
10258 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10260         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
10262 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
10264         [BZ #20240]
10265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10266         (CFLAGS-s_modf-ppc32.c): New variable.
10267         (CFLAGS-s_modff-ppc32.c): Likewise.
10268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10269         (CFLAGS-s_modf-ppc64.c): Likewise.
10270         (CFLAGS-s_modff-ppc64.c): Likewise.
10272 2016-07-07  Andreas Schwab  <schwab@suse.de>
10274         [BZ #20263]
10275         * nptl/tst-robust10.c: New test.
10276         * nptl/Makefile (tests): Add tst-robust10.
10278 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
10280         [BZ #20263]
10281         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
10283 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10285         * sysdeps/s390/linkmap.h (struct link_map_machine):
10286         Remove member gotplt and add member jmprel.
10287         * sysdeps/s390/s390-32/dl-machine.h
10288         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
10289         instead of gotplt with &got[3].
10290         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
10291         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10293 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
10295         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
10297 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10299         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
10300         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
10301         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10302         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
10303         * libio/vtables.c (_IO_vtable_check)
10304         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
10305         * libio/libioP.h (IO_set_accept_foreign_vtables)
10306         [!PTR_MANGLE]: Do not call PTR_MANGLE.
10308 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
10310         [BZ #20314]
10311         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
10312         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
10313         $(common-objpfx)cmath.
10314         ($(common-objpfx)cstdlib): New target.
10315         ($(common-objpfx)cmath): Likewise.
10317 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
10319         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
10321 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10323         [BZ #20327]
10324         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
10325         are not part of the string.
10327 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10329         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
10330         * nptl/tst-cancel4-common.h (fifoname): New variable.
10331         (fifofd): Likewise.
10332         (cl_fifo): New function.
10333         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
10334         SIGINT.
10335         (tf_open): Add early cancel test.
10337 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
10339         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
10341 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
10343         * sysdeps/generic/ldsodefs.h
10344         (dl_symbol_visibility_binds_local_p): New inline function.
10345         * elf/dl-addr.c (determine_info): Treat hidden and internal
10346         symbols as local.
10347         * elf/dl-lookup.c (do_lookup_x): Likewise.
10348         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
10350 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
10352         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
10353         invalid exception for a sNaN input.
10354         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10355         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10356         (__nearbyint_vis3): Likewise
10357         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10358         (__nearbyintf_vis3): Likewise
10359         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
10360         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10361         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
10362         Likewise.
10363         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
10364         Likewise.
10366 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
10368         [BZ #20139]
10369         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
10370         (HAVE_AVX512DQ_ASM_SUPPORT): This.
10371         * sysdeps/x86_64/configure.ac: Require assembler from binutils
10372         2.24 or above.
10373         (HAVE_AVX512_ASM_SUPPORT): Removed.
10374         (HAVE_AVX512DQ_ASM_SUPPORT): New.
10375         * sysdeps/x86_64/configure: Regenerated.
10376         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
10377         check unconditional.
10378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10379         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10380         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10381         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
10382         Likewise.
10383         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10384         Likewise.
10385         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10386         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10387         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10388         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10389         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10390         Likewise.
10391         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10392         Likewise.
10393         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10394         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
10396         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
10397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
10398         Likewise.
10399         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
10400         Likewise.
10401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
10402         Likewise.
10403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
10404         Likewise.
10405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
10406         Likewise.
10407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
10408         Likewise.
10409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
10410         Likewise.
10411         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
10412         Likewise.
10413         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
10414         Likewise.
10415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
10416         Likewise.
10417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
10418         Likewise.
10420 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
10422         [BZ #20024]
10423         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
10424         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
10425         of this implementation of vector function.
10426         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10427         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10428         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
10429         Likewise.
10430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10432         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
10433         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
10434         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
10435         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
10436         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
10437         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
10438         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
10439         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
10440         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
10441         for testing vector sincos with fixed ABI.
10442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10443         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10444         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10445         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10446         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10449         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
10450         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
10451         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
10452         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
10453         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
10454         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
10455         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
10456         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
10457         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10459 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10461         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
10463 2016-06-30  Anton Blanchard  <anton@samba.org>
10465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10466         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
10467         s_sinf-ppc64.
10468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
10469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10471         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10473 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10477         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
10478         e_expf-ppc64.
10479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
10480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
10481         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
10482         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
10484 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
10486         [BZ #20277]
10487         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
10488         when SHARED is defined.
10490 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
10492         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
10493         (index_arch_Prefer_ERMS): Likewise.
10494         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
10495         __memcpy_erms for Prefer_ERMS.
10496         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10497         (__memmove_erms): Enabled for libc.a.
10498         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
10499         __memmove_erms or Prefer_ERMS.
10500         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
10501         __mempcpy_erms for Prefer_ERMS.
10502         * sysdeps/x86_64/multiarch/memset.S (memset): Return
10503         __memset_erms for Prefer_ERMS.
10505 2016-06-30  Andreas Schwab  <schwab@suse.de>
10507         [BZ #20262]
10508         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
10509         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
10510         of memory.
10512 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
10514         [BZ #18645]
10515         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
10516         (test-extras): Add tst-cleanupx4aux.
10517         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
10518         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
10519         tst-cleanupx4aux.o.
10520         * nptl/tst-cleanupx4aux.c: New file.
10522 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
10524         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
10526 2016-06-29  Andreas Schwab  <schwab@suse.de>
10528         [BZ #20260]
10529         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
10530         address before the beginning of the string as an integer to avoid
10531         array-bounds warning.
10533 2016-06-28  Richard Henderson  <rth@redhat.com>
10535         * elf/elf.h (EM_BPF): New.
10536         (EM_NUM): Update.
10537         (R_BPF_NONE, R_BPF_MAP_FD): New.
10539         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
10540         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
10541         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
10542         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
10543         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
10544         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
10545         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
10546         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
10547         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
10548         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
10549         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
10550         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
10551         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
10552         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
10553         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
10554         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
10555         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
10556         (EM_NUM): Update.
10558 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
10560         [BZ #18960]
10561         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
10562         Set _nl_current_LC_CATEGORY_used to two instead of one.
10564 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
10566         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
10567         (do_test): ... this.
10568         (TEST_FUNCTION): New macro.
10569          Include test-skeleton.c.
10570         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
10571         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
10573 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
10575         [BZ #15479]
10576         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
10577         floating-point environment rather than just control word.
10578         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10579         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
10580         floating-point environment, with "invalid" exceptions merged in,
10581         rather than just control word.
10582         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
10583         * math/libm-test.inc (trunc_test_data): Do not allow spurious
10584         "inexact" exceptions.
10586         [BZ #15479]
10587         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
10588         floating-point environment rather than just control word.
10589         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10590         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
10591         floating-point environment, with "invalid" exceptions merged in,
10592         rather than just control word.
10593         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
10594         * math/libm-test.inc (floor_test_data): Do not allow spurious
10595         "inexact" exceptions.
10597         [BZ #15479]
10598         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
10599         floating-point environment rather than just control word.
10600         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10601         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
10602         floating-point environment, with "invalid" exceptions merged in,
10603         rather than just control word.
10604         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
10605         * math/libm-test.inc (ceil_test_data): Do not allow spurious
10606         "inexact" exceptions.
10608 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
10610         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
10611         __libc_vfork.
10612         (__vfork) [IS_IN (libc)]: Remove alias.
10613         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
10614         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10615         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10617 2016-06-24  Torvald Riegel  <triegel@redhat.com>
10619         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
10620         of atomic_compare_and_exchange_bool_rel.
10621         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10622         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
10623         catomic_compare_and_exchange_bool_rel): Remove.
10624         * sysdeps/aarch64/atomic-machine.h
10625         (atomic_compare_and_exchange_bool_rel): Likewise.
10626         * sysdeps/alpha/atomic-machine.h
10627         (atomic_compare_and_exchange_bool_rel): Likewise.
10628         * sysdeps/arm/atomic-machine.h
10629         (atomic_compare_and_exchange_bool_rel): Likewise.
10630         * sysdeps/mips/atomic-machine.h
10631         (atomic_compare_and_exchange_bool_rel): Likewise.
10632         * sysdeps/microblaze/atomic-machine.h
10633         ( __arch_compare_and_exchange_bool_8_rel,
10634         __arch_compare_and_exchange_bool_16_rel): Likewise.
10635         * sysdeps/powerpc/atomic-machine.h
10636         ( __arch_compare_and_exchange_bool_8_rel,
10637         __arch_compare_and_exchange_bool_16_rel): Likewise.
10638         * sysdeps/powerpc/powerpc32/atomic-machine.h
10639         ( __arch_compare_and_exchange_bool_32_rel,
10640         __arch_compare_and_exchange_bool_64_rel): Likewise.
10641         * sysdeps/powerpc/powerpc64/atomic-machine.h
10642         ( __arch_compare_and_exchange_bool_32_rel,
10643         __arch_compare_and_exchange_bool_64_rel): Likewise.
10644         * sysdeps/tile/atomic-machine.h
10645         (atomic_compare_and_exchange_bool_rel): Likewise.
10647 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
10649         [BZ #20296]
10650         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
10651         when either argument is a NaN.
10652         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
10653         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
10655         * math/libm-test.inc (snan_value_ld): New macro.
10656         (isgreater_test_data): Add sNaN tests.
10657         (isgreaterequal_test_data): Likewise.
10658         (isless_test_data): Likewise.
10659         (islessequal_test_data): Likewise.
10660         (islessgreater_test_data): Likewise.
10661         (isunordered_test_data): Likewise.
10662         (nextafter_test_data): Likewise.
10663         (nexttoward_test_data): Likewise.
10664         (remainder_test_data): Likewise.
10665         (remquo_test_data): Likewise.
10666         (significand_test_data): Likewise.
10667         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
10669 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10671         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
10672         environment macros are defined.
10673         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
10675 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10677         [BZ #20191]
10678         Implement vtable verification in libio.
10679         * Makerules (shlib.lds): Place __libc_IO_vtables section.
10680         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
10681         * debug/vdprintf_chk.c (__vdprintf_chk): Call
10682         _IO_new_file_init_internal instead of _IO_file_init.
10683         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
10684         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
10685         * libio/Makefile (routines): Add vtables.
10686         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
10687         (_IO_init): Remove, not for internal use.
10688         (_IO_init_internal): Declare, internal replacement for _IO_init.
10689         (_IO_file_init): Remove, not for internal use.
10690         (_IO_new_file_init): Remove, not for internal use.
10691         (_IO_new_file_init_internal): Declare, internal replacement for
10692         _IO_new_file_init.
10693         (_IO_old_file_init): Remove, not for internal use.
10694         (_IO_old_file_init_internal): Declare, internal replacement for
10695         _IO_old_file_init.
10696         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
10697         internal use.
10698         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
10699         Declare.
10700         (libio_vtable): New macro.
10701         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
10702         functions.
10703         * libio/fileops.c (_IO_new_file_init_internal): Rename from
10704         _IO_new_file_init.
10705         (_IO_new_file_init): New externally visible wrapper which disables
10706         vtable verification.
10707         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
10708         Define as vtables.
10709         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
10710         (_IO_init): New externally visible wrapper which disables
10711         vtable verification.
10712         * libio/iofdopen.c (_IO_new_fdopen): Call
10713         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
10714         comment.
10715         * libio/iofopen.c (__fopen_internal): Call
10716         _IO_new_file_init_internal instead of _IO_file_init.
10717         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
10718         Define as vtables.
10719         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
10720         _IO_new_file_init_internal instead of _IO_file_init.
10721         * libio/iopopen.c (_IO_new_popen): Likewise.
10722         (_IO_proc_jumps): Define as vtable.
10723         * libio/iovdprintf.c (_IO_vdprintf): Call
10724         _IO_new_file_init_internal instead of _IO_file_init.
10725         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
10726         (__open_memstream): Call _IO_init_internal instead of _IO_init.
10727         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
10728         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
10729         _IO_old_file_init.
10730         (_IO_old_file_init): New externally visible wrapper which disables
10731         vtable verification.
10732         (_IO_old_file_jumps): Define as vtable.
10733         * libio/oldiofdopen.c (_IO_old_fdopen): Call
10734         _IO_old_file_init_internal instead of _IO_old_file_init.
10735         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10736         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10737         (_IO_old_proc_jumps): Define as vtable.
10738         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
10739         Define as vtables.
10740         * libio/vtables.c: New file.
10741         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
10742         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
10743         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
10744         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
10745         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
10746         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
10747         instead of _IO_init.
10749 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10751         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
10753 2016-06-23  Florian Weimer  <fweimer@redhat.com>
10755         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
10756         potentially unused.
10758 2016-06-22  Florian Weimer  <fweimer@redhat.com>
10760         * test-skeleton.c (write_message): New function.
10761         * malloc/tst-mallocfork2.c (write_message): Remove.
10762         * debug/tst-longjmp_chk2.c (write_indented): New function.
10763         (write_message): Remove.
10764         (stackoverflow_handler): Call write_indented.
10766 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
10768         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
10769         "inexact" exceptions after fnstenv.
10770         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10771         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10772         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10774 2015-06-22  Zack Weinberg  <zackw@panix.com>
10776         * sysdeps/generic/bits/hwcap.h: Moved to ...
10777         * bits/hwcap.h: Here.
10779 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
10781         * sysdeps/aarch64/memcpy.S (memcpy):
10782         Further tuning for performance.
10784 2016-06-21  Florian Weimer  <fweimer@redhat.com>
10786         [BZ #20284]
10787         * malloc/arena.c (reused_arena): Do not return NULL if we start
10788         out with a non-corrupted arena.
10790 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10792         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
10793         * misc/tst-preadvwritev.c: New file.
10794         * misc/tst-preadvwritev64.c: Likewise.
10795         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
10796         usage.
10797         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
10798         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
10799         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
10800         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
10802 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
10804         [BZ #19654]
10805         * sysdeps/x86_64/fpu/Makefile: Added new tests.
10806         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
10807         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
10808         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
10809         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
10810         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
10811         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
10812         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
10813         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
10814         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
10815         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
10816         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
10817         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
10818         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
10819         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
10820         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
10821         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
10822         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
10823         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
10824         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
10825         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
10826         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
10827         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
10828         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
10829         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
10830         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
10832 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10834         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
10835         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
10837 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
10839         * sysdeps/aarch64/memcpy.S (memcpy):
10840         Rewrite of optimized memcpy and memmove.
10841         * sysdeps/aarch64/memmove.S (memmove): Remove
10842         memmove code (merged into memcpy.S).
10844 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10846         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
10847         * sysdeps/generic/dl-dtv.h: New file.
10848         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10849         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
10850         (dtv_t): Remove.
10851         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10852         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
10853         (dtv_t): Remove.
10854         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10855         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
10856         (dtv_t): Remove.
10857         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10858         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
10859         (dtv_t): Remove.
10860         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10861         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
10862         (dtv_t): Remove.
10863         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10864         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
10865         (dtv_t): Remove.
10866         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10867         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
10868         (dtv_t): Remove.
10869         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
10870         (dtv_t): Remove.
10871         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10872         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
10873         (dtv_t): Remove.
10874         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10875         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
10876         (dtv_t): Remove.
10877         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10878         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
10879         (dtv_t): Remove.
10880         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10881         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
10882         (dtv_t): Remove.
10883         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10884         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
10885         (dtv_t): Remove.
10886         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10887         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
10888         (dtv_t): Remove.
10889         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10890         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
10891         (dtv_t): Remove.
10892         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
10893         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
10894         (dtv_t): Remove.
10896 2016-06-20  Florian Weimer  <fweimer@redhat.com>
10898         Revert symbol poisoning of  __malloc_initialize_hook.
10899         * include/stdc-predef.h (__malloc_initialize_hook): Remove
10900         poisoning.
10901         * malloc/Makefile: Remove un-poisoning.
10902         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
10903         instead of old__malloc_initialize_hook.
10904         * malloc/malloc-hooks.h: Likewise.
10905         * malloc/malloc.c: Likewise.
10906         * malloc/mcheck-init.c: Likewise.
10908 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
10910         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
10912 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
10914         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
10915         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
10916         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10917         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10919 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10921         * NEWS: Mention addition of nextup and nextdown.
10922         * manual/arith.texi: Document nextup and nextdown.
10923         * manual/libm-err-tab.pl: Add nextup and nextdown.
10924         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
10925         * math/Versions (libm): Add GLIBC_2.24.
10926         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
10927         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10928         Add new test.
10929         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
10930         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
10931         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
10932         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
10933         (nextup_test_data): Likewise.
10934         (nextdown_test_data): Likewise.
10935         * math/s_nextdown.c: New file.
10936         * math/s_nextdownf.c: Likewise.
10937         * math/s_nextdownl.c: Likewise.
10938         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
10939         F(nextup): New function.
10940         F(nextdown): Likewise.
10941         * math/tgmath.h: Add nextup and nextdown.
10942         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
10943         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
10944         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10945         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10946         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10947         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
10948         Add nextup and nextdown.
10949         (CFLAGS-nldbl-nextup.c): New variable.
10950         (CFLAGS-nldbl-nextdown.c): Likewise.
10951         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
10952         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
10953         * sysdeps/nacl/libm.abilist: Update.
10954         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10955         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10956         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10957         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10958         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10959         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10962         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10963         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10968         Likewise.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10971         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10972         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10973         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10974         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10975         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
10977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
10978         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10979         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10980         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10981         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10983 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10985         * manual/pattern.texi: Fix typos & grammar errors.
10987 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10989         * manual/search.texi: Fix typos & grammar errors.
10991 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
10993         * manual/message.texi: Fix typos & grammar errors.
10995 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
10997         * manual/contrib.texi: Fix spelling typos.
10998         * manual/crypt.texi: Likewise.
10999         * manual/filesys.texi: Likewise.
11000         * manual/locale.texi: Likewise.
11001         * manual/message.texi: Likewise.
11002         * manual/nss.texi: Likewise.
11003         * manual/string.texi: Likewise.
11005 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11007         * manual/locale.texi: Fix typos & grammar errors.
11009 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11011         * manual/charset.texi: Fix typos & grammar errors.
11013 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11015         * manual/string.texi: Fix typos.
11017 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11019         * manual/ctype.texi: Fix typos.
11021 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11023         * manual/memory.texi: Fix various typos & grammar errors.
11025 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
11027         [BZ #20255]
11028         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
11029         * math/libm-test.inc (fdim_test_data): Add another test.
11031         [BZ #6796]
11032         [BZ #20255]
11033         [BZ #20256]
11034         * math/s_fdim.c: Include <math_private.h>.
11035         (__fdim): Use math_narrow_eval on result.
11036         * math/s_fdimf.c: Include <math_private.h>.
11037         (__fdimf): Use math_narrow_eval on result.
11038         * sysdeps/i386/fpu/s_fdim.S: Remove file.
11039         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
11040         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
11041         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
11042         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
11043         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
11044         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
11045         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
11046         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
11047         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
11048         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
11049         * math/libm-test.inc (fdim_test_data): Expect errno setting on
11050         overflow.  Add sNaN tests.
11052         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
11053         fpclassify.
11054         * math/s_fdimf.c (__fdimf): Likewise.
11055         * math/s_fdiml.c (__fdiml): Likewise.
11057 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11059         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11060         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
11061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11062         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11063         ifunc'ed strcasecmp/strncasecmp.
11064         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
11065         [EALIGN]: Removed.
11066         [END]: Likewise.
11067         [__strcasecmp]: Define instead of the above to control symbol name.
11068         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
11069         for __strcasecmp_power8.
11070         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
11071         for __strncasecmp_power8.
11072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
11073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
11074         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
11075         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
11076         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
11077         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
11079 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
11081         [BZ #20252]
11082         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
11083         arguments when second argument is a NaN.
11084         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
11085         qNaN tests.
11087         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
11088         (conj_test_data): Likewise.
11089         (copysign_test_data): Likewise.
11090         (creal_test_data): Likewise.
11091         (fma_test_data): Likewise.
11092         (fmod_test_data): Likewise.
11094         [BZ #20250]
11095         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
11096         itself.
11097         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
11098         zero input to itself.
11099         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
11100         Likewise.
11101         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
11102         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
11103         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11104         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
11105         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
11107 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11109         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
11110         * nptl/tst-cancel4-common.c: New file.
11111         * nptl/tst-cancel4-common.h: Likewise.
11112         * nptl/tst-cancel4.c: Move common definitions to
11113         tst-cancel4-common.{c,h} file.
11114         * nptl/tst-cancel4_1.c: New test.
11115         * nptl/tst-cancel4_2.c: New test.
11117 2016-06-13  Florian Weimer  <fweimer@redhat.com>
11119         [BZ #20248]
11120         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
11121         (write_message): New function.
11122         (stackoverflow_handler): Call it instead of printf, to avoid
11123         excessive stack usage by printf.
11124         (do_test): Restore SIGSEGV, SIGBUS default handlers.
11126 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11128         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
11129         (prio_inherit_missing): Remove define.
11130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11131         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11132         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
11133         Likewise.
11134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11135         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11136         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11137         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11138         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11139         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11141 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11143         [BZ #19670]
11144         [BZ #19672]
11146         * io/test-lfs.c (do_prepare): Use xmalloc.
11147         * io/tst-fcntl.c (do_prepare): Likewise.
11148         * libio/tst-fopenloc.c (do_bz17916): Likewise.
11149         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
11150         * login/tst-utmp.c (do_prepare): Likewise.
11151         * posix/tst-exec.c (do_prepare): Likewise.
11152         * posix/tst-pathconf.c (prepare): Likewise.
11153         * posix/tst-spawn.c (do_prepare): Likewise.
11154         * posix/tst-truncate.c (do_prepare): Likewise.
11155         * rt/tst-aio.c (do_prepare): Likewise.
11156         * rt/tst-aio64.c (do_prepare): Likewise.
11158 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11160         [BZ #20237]
11161         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
11162         (get*ent): Set entidx to NULL during initialization.  If entidx is
11163         NULL, start iteration from the beginning.
11165 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11167         * malloc/malloc.c (musable): Return correct size for dumped fake
11168         mmapped chunk.
11170 2016-06-11  Florian Weimer  <fweimer@redhat.com>
11172         [BZ #20222]
11173         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
11174         (_IO_cookie_write): Likewise.
11175         (_IO_cookie_seek): Likewise.
11176         (_IO_cookie_close): Likewise.
11177         (_IO_old_cookie_seek): Likewise.
11178         (set_callbacks): New function.
11179         (_IO_cookie_init): Call set_callbacks to copy callbacks.
11181 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
11183         * locale/programs/localedef.c (oldstyle_tables): Remove.
11184         * locale/programs/localedef.h (oldstyle_tables): Likewise.
11186 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
11188         [BZ #20240]
11189         * math/Makefile (CFLAGS-s_modf.c): New variable.
11190         (CFLAGS-s_modff.c): Likewise.
11191         (CFLAGS-s_modfl.c): Likewise.
11192         * math/libm-test.inc (modf_test_data): Add sNaN tests.
11194 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
11196         [BZ #20215]
11197         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
11198         [!__GNUC_PREREQ (3,2)]: Likewise.
11200 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
11202         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
11203         (msghdr.msg_controllen): Likewise.
11204         (cmsghdr.cmsg_len): Likewise.
11205         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
11206         ptw-oldsendmsg.
11207         (CFLAGS-oldrecvmsg.c): Remove rule.
11208         (CFLAGS-oldsendmsg.c): Likewise.
11209         (CFLAGS-recvmsg.c): Add rule.
11210         (CFLAGS-sendmsg.c): Likewise.
11211         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
11212         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
11213         (CFLAGS-recvmsg.c): Remove rule.
11214         (CFLAGS-sendmsg.c): Likewise.
11215         (CFLAGS-oldrecvmsg.c): Likewise.
11216         (CFLAGS-oldsendmsg.c): Likewise.
11217         (CFLAGS-recvmmsg.c): Likewise.
11218         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
11219         to kernel defined interfaces.
11220         (msghdr.msg_controllen): Likewise.
11221         (cmsghdr.cmsg_len): Likewise.
11222         (msghdr.__glibc_reserved1): Remove member.
11223         (msghdr.__glibc_reserved2): Likewise.
11224         (cmsghdr.__glibc_reserved1): Likewise.
11225         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
11226         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
11227         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
11228         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11229         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
11230         version.
11231         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11232         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
11233         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11234         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
11235         Remove recvmsg and sendmsg.
11236         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
11237         Likewise.
11238         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
11239         Likewise.
11240         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11241         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11242         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11243         Likewise.
11244         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11245         Likewise.
11246         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
11247         [libc] (GLIBC_2.24): Likewise.
11248         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11249         Likewise.
11250         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11251         Likewise.
11252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11253         [libc] (GLIBC_2.24): Likewise.
11254         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11255         Likewise.
11256         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11257         Likewise.
11258         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11259         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11260         Likewise.
11261         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11262         Likewise.
11263         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11264         Likewise.
11265         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
11266         Likewise.
11267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
11268         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
11269         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
11270         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
11271         version for {recv,send,recm,sendm}msg.
11272         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11277         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11278         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11279         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11280         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11281         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11283         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11285         Likewise.
11286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11287         Likewise.
11288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11291         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11292         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11293         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11294         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11295         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11298         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11300         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11302 2016-06-10  Florian Weimer  <fweimer@redhat.com>
11304         [BZ #19564]
11305         Remove __malloc_initialize_hook from the API.
11306         * malloc/malloc.h (__malloc_initialize_hook): Remove.
11307         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
11308         #pragma GCC poison.
11309         * malloc/malloc-hooks.h: New file.
11310         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
11311         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
11312         (old__malloc_initialize_hook): Rename from
11313         __malloc_initialize_hook to evade poisoning.  Turn into compat
11314         symbol.
11315         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
11316         __malloc_initialize_hook.
11317         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
11318         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
11319         * manual/memory.texi (Hooks for Malloc): Remove
11320         __malloc_initialize_hook.  Adjust hook example.
11322 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
11324         [BZ #20235]
11325         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
11326         itself.
11327         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11328         * math/libm-test.inc (log2_test_data): Add sNaN tests.
11330         [BZ #20234]
11331         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
11332         infinity or NaN input to itself.
11334         [BZ #20233]
11335         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
11336         to itself.
11338         [BZ #20232]
11339         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
11340         itself.
11342 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11344         * sysdeps/x86_64/start.S (_start): Always indirect branch to
11345         __libc_start_main via GOT.
11347 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
11349         * sysdeps/x86_64/memcopy.h: New file.
11350         * sysdeps/x86_64/wordcopy.c: Likewise.
11352 2016-06-09  Florian Weimer  <fweimer@redhat.com>
11354         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
11355         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
11356         <cstdlib>.
11357         (optimization_barrier): New.
11358         (do_test): Use it.  Call quick_exit in the global namespace.
11359         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
11360         instead of <cstdlib>, <thread>.
11361         (optimization_barrier): New.
11362         (non_main_thread): Adjust declaration.  Call optimization_barrier.
11363         Call quick_exit in the global namespace.
11364         (do_test): Call optimization_barrier.  Use pthread_create,
11365         pthread_join instead of std::thread.
11367 2016-06-09  Andreas Schwab  <schwab@suse.de>
11369         [BZ #19755]
11370         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
11371         new entries in auto-propagate mode.
11372         * nscd/grpcache.c (cache_addgr): Likewise.
11374 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11376         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
11377         New functions.
11378         (add_temp_file): Use them.
11380 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
11382         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
11384 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
11386         [BZ #20229]
11387         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
11388         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
11389         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
11391         [BZ #20228]
11392         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
11393         itself.
11394         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11395         * math/libm-test.inc (log10_test_data): Add sNaN tests.
11397         [BZ #20227]
11398         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
11399         itself.
11400         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11401         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11402         * math/libm-test.inc (log_test_data): Add sNaN tests.
11404         [BZ #20226]
11405         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
11406         itself.
11407         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11408         * math/libm-test.inc (exp_test_data): Add sNaN tests.
11409         (exp10_test_data): Likewise.
11410         (expm1_test_data): Likewise.
11412         [BZ #20225]
11413         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
11414         itself.
11415         * math/s_ldexpf.c (__ldexpf): Likewise.
11416         * math/s_ldexpl.c (__ldexpl): Likewise.
11417         * math/w_scalbln.c (__w_scalbln): Likewise.
11418         * math/w_scalblnf.c (__w_scalblnf): Likewise.
11419         * math/w_scalblnl.c (__w_scalblnl): Likewise.
11420         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
11421         (scalbln_test_data): Likewise.
11423         [BZ #20224]
11424         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
11425         argument to itself.
11426         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
11428 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11430         [BZ #19776]
11431         * sysdeps/x86_64/memcpy.S: Make it dummy.
11432         * sysdeps/x86_64/mempcpy.S: Likewise.
11433         * sysdeps/x86_64/memmove.S: New file.
11434         * sysdeps/x86_64/memmove_chk.S: Likewise.
11435         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11436         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11437         * sysdeps/x86_64/memmove.c: Removed.
11438         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11439         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11440         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
11441         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11442         Likewise.
11443         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11444         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11446         memcpy-sse2-unaligned, memmove-avx-unaligned,
11447         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
11448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11449         (__libc_ifunc_impl_list): Replace
11450         __memmove_chk_avx512_unaligned_2 with
11451         __memmove_chk_avx512_unaligned.  Remove
11452         __memmove_chk_avx_unaligned_2.  Replace
11453         __memmove_chk_sse2_unaligned_2 with
11454         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
11455         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
11456         with __memmove_avx512_unaligned.  Replace
11457         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
11458         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
11459         with __memcpy_chk_avx512_unaligned.  Remove
11460         __memcpy_chk_avx_unaligned_2.  Replace
11461         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
11462         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
11463         Replace __memcpy_avx512_unaligned_2 with
11464         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
11465         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
11466         with __mempcpy_chk_avx512_unaligned.  Remove
11467         __mempcpy_chk_avx_unaligned_2.  Replace
11468         __mempcpy_chk_sse2_unaligned_2 with
11469         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
11470         Replace __mempcpy_avx512_unaligned_2 with
11471         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
11472         Replace __mempcpy_sse2_unaligned_2 with
11473         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
11474         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
11475         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
11476         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
11477         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
11478         (ENTRY): Removed.
11479         (END): Likewise.
11480         (ENTRY_CHK): Likewise.
11481         (libc_hidden_builtin_def): Likewise.
11482         Don't include ../memcpy.S.
11483         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
11484         __memcpy_chk_avx512_unaligned_erms and
11485         __memcpy_chk_avx512_unaligned.  Use
11486         __memcpy_chk_avx_unaligned_erms and
11487         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11488         Default to __memcpy_chk_sse2_unaligned.
11489         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11490         Change function suffix from unaligned_2 to unaligned.
11491         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
11492         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
11493         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
11494         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
11495         (ENTRY): Removed.
11496         (END): Likewise.
11497         (ENTRY_CHK): Likewise.
11498         (libc_hidden_builtin_def): Likewise.
11499         Don't include ../mempcpy.S.
11500         (mempcpy): New.  Add a weak alias.
11501         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
11502         __mempcpy_chk_avx512_unaligned_erms and
11503         __mempcpy_chk_avx512_unaligned.  Use
11504         __mempcpy_chk_avx_unaligned_erms and
11505         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
11506         Default to __mempcpy_chk_sse2_unaligned.
11508 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
11510         [BZ #19881]
11511         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
11512         into ...
11513         * sysdeps/x86_64/memset.S: This.
11514         (__bzero): Removed.
11515         (__memset_tail): Likewise.
11516         (__memset_chk): Likewise.
11517         (memset): Likewise.
11518         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
11519         defined.
11520         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
11521         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
11522         (__memset_zero_constant_len_parameter): Check SHARED instead of
11523         PIC.
11524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11525         memset-avx2 and memset-sse2-unaligned-erms.
11526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11527         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
11528         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
11529         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11530         (__bzero): Enabled.
11531         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
11532         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
11533         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
11534         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
11535         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11536         (memset): Removed.
11537         (__memset_chk): Likewise.
11538         (MEMSET_SYMBOL): New.
11539         (libc_hidden_builtin_def): Replace __memset_sse2 with
11540         __memset_sse2_unaligned.
11541         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
11542         __memset_chk_sse2 and __memset_chk_avx2 with
11543         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
11544         Use __memset_chk_sse2_unaligned_erms or
11545         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
11546         __memset_chk_avx512_unaligned_erms and
11547         __memset_chk_avx512_unaligned.
11549 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11551         * math/gen-auto-libm-test.c (fp_format_desc): remove
11552         suffix member.
11553         (output_generic_value): Remove usage of suffix member,
11554         and the resulting unuse of the fp_format argument.
11555         (output_for_one_input_case): Remove unused fp_format
11556         parameter.
11558         * math/auto-libm-test-out: Regenerate.
11560         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
11561         usage with TEST_COND_ibm128.
11562         (TEST_COND_flt_32): Remove.
11563         (TEST_COND_dbl_64): Remove.
11564         (TEST_COND_ldbl_96_intel): Remove.
11565         (TEST_COND_ldbl_96_m68k): Remove.
11566         (TEST_COND_ldbl_128): Remove.
11568 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11570         * auto-libm-test-in:
11571         Replace flt-32 usage with binary32.
11572         Replace dbl-64 usage with binary64.
11573         Replace ldbl-intel-96 usage with intel96.
11574         Replace ldbl-m68k-96 usage with m68k96.
11575         Replace ldbl-128ibm usage with ibm128.
11576         Replace ldbl-128 usage with binary128.
11578         * auto-libm-test-out: Regenerate.
11580 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11582         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
11583         (parse_ulps): Dynamically generate type name matching
11584         string from all_floats.
11585         (get_ulps): Generate the ulps as an array instead.
11586         (output_ulps): Dynamically compose the type based
11587         on the number of supported formats, and print
11588         the indices as type specific helper macros.
11590         * math/libm-test.inc: Remove comment about CHOOSE.
11591         (ulp_data): Generate the type in libm-test-ulps.h.
11592         (ULP_IDX): New macro.
11593         (find_ulps): Update usage of max_ulp.
11595         * math/test-double-vlen2.h (CHOOSE): Remove.
11596         * math/test-double-vlen4.h (CHOOSE): Likewise.
11597         * math/test-double-vlen8.h (CHOOSE): Likewise.
11598         * math/test-float.c (CHOOSE): Likewise.
11599         * math/test-float-finite.c (CHOOSE): Likewise.
11600         * math/test-double.c (CHOOSE): Likewise.
11601         * math/test-double-finite.c (CHOOSE): Likewise.
11602         * math/test-idouble.c (CHOOSE): Likewise.
11603         * math/test-ifloat.c (CHOOSE): Likewise.
11604         * math/test-ildoubl.c (CHOOSE): Likewise.
11605         * math/test-ldouble-finite.c (CHOOSE): Likewise.
11606         * math/test-ldouble.c (CHOOSE): Likewise.
11608         * math/test-float.h (TEST_FLOAT): Remove.
11609         * math/test-double.h (TEST_DOUBLE): Likewise.
11610         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
11612 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11614         * math/gen-libm-test.pl: (apply_lit): New subroutine.
11615         (parse_args): Strip C suffix from floating point literals
11616         typed with 'f' and wrap them with LIT().
11618         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
11619         (test_ff_f_data_nexttoward): Rename to
11620         (test_fj_f_data): New struct.
11621         (nexttoward_test_data): Relabel tests as
11622         TEST_fj_f instead of TEST_ff_f.
11624 2016-06-08  Florian Weimer  <fweimer@redhat.com>
11626         Emacs bug 23726.
11627         * malloc/malloc.c (dumped_main_arena_start): Update comment.
11628         (__libc_realloc): Correct size computation for dumped fake mmapped
11629         chunks.
11631 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
11633         [BZ #20219]
11634         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
11635         to itself.
11636         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
11638         [BZ #20218]
11639         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
11640         to itself.
11641         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
11643 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
11645         [BZ #20195]
11646         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
11647         check to ...
11648         (init_cpu_features): Here.
11650 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
11652         [BZ #20214]
11653         * sysdeps/unix/sysv/linux/bits/in.h
11654         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11655          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
11656         Define to 1.
11657         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
11658          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
11659         Define to 0.
11660         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
11661         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
11663 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
11665         [BZ #20198]
11666         * stdlib/Makefile (tests): Add tst-quick_exit, and
11667         tst-thread-quick_exit.
11668         [ifeq ($(have-cxx-thread_local),yes)]
11669         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
11670         (CFLAGS-tst-thread-quick_exit.o): Likewise.
11671         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
11672         (LDLIBS-tst-thread-quick_exit): Likewise.
11673         [ifneq ($(have-cxx-thread_local),yes)]
11674         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
11675         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
11676         If run_dtors is true call __call_tls_dtors.
11677         (exit): Call __run_exit_handlers with run_dtors set to true.
11678         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
11679         definition.
11680         * stdlib/quick_exit.c (quick_exit): Remove function.
11681         (__new_quick_exit): New function.
11682         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
11683         function.
11684         * stdlib/tst-quick_exit.cc: New file.
11685         * stdlib/tst-thread-quick_exit.cc: New file.
11686         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
11687         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
11688         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
11689         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
11690         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
11691         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
11692         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
11693         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
11694         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
11695         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
11696         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
11697         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
11698         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
11699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
11700         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
11701         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
11703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
11705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
11706         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
11707         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
11708         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
11709         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
11710         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
11711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
11712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
11713         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
11714         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
11715         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
11717 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11719         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
11720         a typo in comments.
11722 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11724         [BZ #20213]
11725         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
11726         argument to itself.
11727         * math/libm-test.inc (asin_test_data): Add sNaN tests.
11729 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11731         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
11732         required flags.
11733         (CFLAGS-pwritev64.c): Likewise.
11734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
11735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11736         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
11737         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11738         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
11739         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
11740         syscall from auto-generation.
11741         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
11742         [WORDSIZE == 64] (pwritev64): Remove macro.
11743         [!PWRITEV] (PWRITEV): Likewise.
11744         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11745         [!PWRITEV] (PWRITE): Likewise.
11746         [!PWRITEV] (OFF_T): Likewise.
11747         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
11748         (LO_HI_LONG): Remove macro.
11749         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
11750         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
11751         (PWRITEV): Remove macro.
11752         (PWRITEV_REPLACEMENTE): Likewise.
11753         (PWRITE): Likewise.
11754         (OFF_T): Likewise.
11755         (pwritev64): New function.
11756         * nptl/tst-cancel4.c (tf_writev): Add test.
11758         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
11759         required flags.
11760         (CFLAGS-preadv64.c): Likewise.
11761         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
11762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11763         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
11764         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
11765         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
11766         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
11767         syscall from auto-generation.
11768         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
11769         [WORDSIZE == 64] (preadv64): Remove macro.
11770         [!PREADV] (PREADV): Likewise.
11771         [!PREADV] (PREADV_REPLACEMENT): Likewise.
11772         [!PREADV] (PREAD): Likewise.
11773         [!PREADV] (OFF_T): Likewise.
11774         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
11775         (LO_HI_LONG): Remove macro.
11776         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
11777         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
11778         (PREADV): Remove macro.
11779         (PREADV_REPLACEMENTE): Likewise.
11780         (PREAD): Likewise.
11781         (OFF_T): Likewise.
11782         (preadv64): New function.
11783         * nptl/tst-cancel4.c (tf_preadv): Add test.
11785 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
11787         [BZ #20212]
11788         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
11789         argument to itself.
11790         * math/libm-test.inc (acos_test_data): Add sNaN tests.
11792 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11794         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
11795         New symbol defined as libc_hidden_def.
11796         (strcasestr): Became a weak alias to __strcasestr.
11797         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
11798         according to multi-arch support.  Move __stpncpy hidden
11799         definition from here to...
11800         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
11801         symbol stpncpy.
11802         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
11803         libc_hidden_builtin_def.
11804         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
11805         memset symbol to use when multi-arch support is available.
11807 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11809         * dlfcn/tst-rec-dlopen.c: Include string.h.
11811 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11813         * manual/install.texi: Remove mention of --without-tls
11814         * INSTALL: Regenerate.
11816 2016-06-05  Florian Weimer  <fweimer@redhat.com>
11818         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
11819         Remove.
11820         (call_function, interposed_malloc_called): New variables.
11821         (malloc): New function.
11822         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
11823         and clear call_function as needed.
11825 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
11827         * include/wchar.h (__wmemset): Use __typeof.
11829 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
11831         * include/wchar.h (__wmemset): Declare function without typeof.
11833 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
11835         [BZ #20205]
11836         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
11837         exponent when incrementing negative subnormal with low mantissa
11838         word zero.
11839         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11840         Add another test.
11842 2016-06-03  Florian Weimer  <fweimer@redhat.com>
11844         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
11845         __wmemset instead of wmemset.
11847 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
11849         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
11850         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
11851         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
11852         __USE_KERNEL_IPV6_DEFS to 0.
11853         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
11854         Update comment.
11856 2016-06-01  Florian Weimer  <fweimer@redhat.com>
11858         [BZ #19861]
11859         Do not use IFUNC resolver with potentially unrelocated symbol.
11860         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
11861         (DEFINE_FORK): Remove macro and inline definition.
11862         (fork_alias): Renamed from fork_ifunc.
11863         (__fork_alias): Renamed from __fork_ifunc.
11865 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
11867         [BZ 19653]
11868         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
11869         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
11871 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11873         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
11874         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
11875         i386-linux-gnu).
11876         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
11877         Set to no.
11878         * sysdeps/mach/hurd/configure: Refresh.
11880 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11882         [BZ #20178]
11883         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
11884         on failure instead of exit.
11886 2016-05-30  Roland McGrath  <roland@hack.frob.com>
11888         [BZ #3629]
11889         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
11890         of POSIX.1-2008.
11892 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11894         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
11895           Use PLT entry for calling _hurd_self_sigstate.
11897 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
11899         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
11900         available logical processors with SMT level type sharing L2
11901         cache for Intel processors.
11903 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11905         [BZ #20160]
11906         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
11907         argument to itself before returning the result.
11908         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11909         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11910         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11912         Likewise.
11913         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11914         Likewise.
11915         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
11916         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
11917         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11918         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11919         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11922         [BZ #20160]
11923         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
11924         argument to itself before returning the result.
11925         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11926         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11927         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11928         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
11929         Likewise.
11930         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11931         Likewise.
11932         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
11933         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
11934         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
11935         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11936         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11937         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11939 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11941         * libm-test.inc: Replace usage of M_El with
11942         (lit_e): New macro.
11944 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11946         * libm-test.inc: Replace usage of M_PI_4l with
11947         (lit_pi_4_d): New macro.
11949 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11951         * libm-test.inc: Replace usage of M_PIl with
11952         (lit_pi): New macro.
11954 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11956         * libm-test.inc: Replace usage of M_PI2l with
11957         (lit_pi_2_d): New macro.
11959         * math/test-double.h (LITM): New macro.
11960         * math/test-float.h (LITM): Likewise.
11961         * math/test-ldouble.h (LITM): Likewise.
11963 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11965         * libm-test.inc (M_PI_34l): Rename to
11966         (lit_pi_3_m_4_d): New Macro.
11967         (M_PI_34_LOG10El): Rename to
11968         (lit_pi_3_m_4_ln10_m_d): New Macro.
11969         (M_PI2_LOG10El): Rename to
11970         (lit_pi_2_ln10_m_d):  New Macro.
11971         (M_PI4_LOG10El): Rename to
11972         (lit_pi_4_ln10_m_d):  New Macro.
11973         (M_PI_LOG10El): Rename to
11974         (lit_pi_ln10_d):  New Macro.
11976 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
11978         [BZ #20157]
11979         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
11980         determine whether to negate low half if [_ARCH_PPCGR], and integer
11981         comparison otherwise.
11982         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
11983         determine whether to negate low half.
11985         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
11986         (NO_TEST_INLINE_DOUBLE): Likewise.
11987         (TEST_COND_x86_64): Likewise.
11988         (TEST_COND_x86): Likewise.
11989         (M_PI_6l): Likewise.
11991 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11993         * math/libm-test.inc:
11994         (TEST_FLOAT): Change usage to TEST_COND_binary32.
11995         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
11996         (TEST_LDOUBLE): Update usage to evaluate as true if
11997         the guarded tests match the property being tested.
11998         (LDBL_MAX_EXP): Change to MAX_EXP.
11999         (LDBL_MIN_EXP): Change to MIN_EXP.
12000         (LDBL_MANT_DIG): Change to MANT_DIG, except for
12001         nexttoward tests.
12003 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12005         * math/libm-test.inc:
12006         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
12007         (TYPE_MIN): Likewise.
12008         (TYPE_TRUE_MIN): Likewise.
12009         (TYPE_MAX): Likewise.
12010         (MIN_EXP): Likewise.
12011         (MAX_EXP): Likewise.
12012         (MANT_DIG): Likewise.
12014         (FSTR_MAX): New macro.
12015         (__CONCATX): Likewise.
12016         (QTYPE_STR): Likewise.
12017         (TEST_COND_binary32): Likewise.
12018         (TEST_COND_binary64): Likewise.
12019         (TEST_COND_binary128): Likewise.
12020         (TEST_COND_ibm128): Likewise.
12021         (TEST_COND_intel96): Likewise.
12022         (TEST_COND_m68k96): Likewise.
12024         (TEST_COND_flt_32): Redefine as equivalent format test macro.
12025         (TEST_COND_dbl_64): Likewise.
12026         (TEST_COND_ldbl_96_intel): Likewise.
12027         (TEST_COND_ldbl_96_m68k): Likewise.
12028         (TEST_COND_ldbl_128): Likewise.
12029         (TEST_COND_ldbl_128ibm): Likewise.
12031         (plus_zero): Redefine using LIT macro.
12032         (minus_zero): Likewise.
12033         (plus_infty): Redefine as (INF).
12034         (minux_infty): Redefine as (-INF).
12035         (max_value): Redefine as TYPE_MAX.
12036         (min_value): Redefine as TYPE_MIN.
12037         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
12039         (print_float): Refactor to use snprintf to convert FLOAT values
12040         to string. This brings it closer to dropin replacement of strtof
12041         for the TS 18661 defined types.
12042         (update_stats): Likewise.
12043         (print_complex_function_ulps): Likewise.
12044         (print_max_error): Likewise.
12045         (print_complex_max_error): Likewise.
12046         (check_float_internal): Likewise.
12048         * math/test-float.h (PREFIX): New macro.
12049         (LIT): Likewise.
12050         (TYPE_STR): Likewise.
12051         (FTOSTR): Likewise.
12053         * math/test-double.h (PREFIX): New macro.
12054         (LIT): Likewise.
12055         (TYPE_STR): Likewise.
12056         (FTOSTR): Likewise.
12058         * math/test-ldouble.h (PREFIX): New macro.
12059         (LIT): Likewise.
12060         (TYPE_STR): Likewise.
12061         (FTOSTR): Likewise.
12063 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12065         [BZ #20156]
12066         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
12067         to itself when zero or not finite.
12068         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
12069         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12070         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
12071         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12073 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
12075         [BZ #20153]
12076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
12077         x * x + x for infinities and NaNs.
12079         [BZ #20151]
12080         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
12081         argument to itself before returning result.
12082         (__ieee754_y0l): Likewise.
12083         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12084         (__ieee754_y1l).
12086         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
12087         (atan_test_data): Likewise.
12088         (ceil_test_data): Likewise.
12089         (cos_test_data): Likewise.
12090         (cosh_test_data): Likewise.
12091         (erf_test_data): Likewise.
12092         (exp2_test_data): Likewise.
12093         (fabs_test_data): Likewise.
12094         (floor_test_data): Likewise.
12095         (ilogb_test_data): Likewise.
12096         (j0_test_data): Likewise.
12097         (j1_test_data): Likewise.
12098         (jn_test_data): Likewise.
12099         (lgamma_test_data): Likewise.
12100         (lrint_test_data): Likewise.
12101         (llrint_test_data): Likewise.
12102         (logb_test_data): Likewise.
12103         (lround_test_data): Likewise.
12104         (llround_test_data): Likewise.
12105         (nearbyint_test_data): Likewise.
12106         (rint_test_data): Likewise.
12107         (round_test_data): Likewise.
12108         (sin_test_data): Likewise.
12109         (sincos_test_data): Likewise.
12110         (sinh_test_data): Likewise.
12111         (sqrt_test_data): Likewise.
12112         (tan_test_data): Likewise.
12113         (tanh_test_data): Likewise.
12114         (tgamma_test_data): Likewise.
12115         (trunc_test_data): Likewise.
12116         (y0_test_data): Likewise.
12117         (y1_test_data): Likewise.
12118         (yn_test_data): Likewise.
12120         * math/libm-test.inc: Update comment about NaN testing.
12121         (TEST_SNAN): New macro.
12122         (snan_value): Likewise.
12123         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
12124         (fpclassify_test_data): Add sNaN tests.
12125         (isfinite_test_data): Likewise.
12126         (isinf_test_data): Likewise.
12127         (isnan_test_data): Likewise.
12128         (isnormal_test_data): Likewise.
12129         (issignaling_test_data): Likewise.
12130         (signbit_test_data): Likewise.
12131         * math/gen-libm-test.pl (%beautify): Add snan_value.
12132         (show_exceptions): Add argument $test_snan.
12133         (parse_args): Handle snan_value as non-finite.  Update call to
12134         show_exceptions.
12135         * math/Makefile (libm-test-no-inline-cflags): Add
12136         -fsignaling-nans.
12138 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12140         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
12141         (CFLAGS-oldsendmsg.c): Add rule.
12142         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12143         Correct recvmsg symbol name.
12144         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
12145         Likewise.
12147 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12149         * sysdeps/unix/sysv/linux/Makefile
12150         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
12151         oldsendmmsg.
12152         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
12153         sendmmsg.
12154         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12157         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12159         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12160         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12162         Likewise.
12163         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12164         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
12165         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12166         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
12167         iovlen and controllen fields to adjust to POSIX specification.
12168         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12170         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
12171         and change to correct expected type.
12172         (msghdr.msg_controllen): Likewise.
12173         (cmsghdr.cmsg_len): Likewise.
12174         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
12175         expected POSIX assumption about the size.
12176         (msghdr.msg_controllen): Likewise.
12177         (msghdr.__glibc_reserved1): Likewise.
12178         (msghdr.__glibc_reserved2): Likewise.
12179         (cmsghdr.cmsg_len): Likewise.
12180         (cmsghdr.__glibc_reserved1): Likewise.
12181         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
12182         Add ptw-oldrecvmsg and ptw-oldsendmsg.
12183         (CFLAGS-sendmsg.c): Remove rule.
12184         (CFLAGS-recvmsg.c): Likewise.
12185         (CFLAGS-oldsendmsg.c): Add rule.
12186         (CFLAGS-oldrecvmsg.c): Likewise.
12187         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
12188         recvmsg and sendmsg.
12189         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
12190         Likewise.
12191         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
12192         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
12193         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12194         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
12195         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12196         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12197         Likewise.
12198         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12199         Likewise.
12200         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
12201         Likewise.
12202         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
12203         Likewise.
12204         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12205         Likewise.
12206         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
12209         (GLIBC_2.24): Likewise.
12210         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12211         Likewise.
12212         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12213         Likewise.
12214         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12215         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12216         Likewise.
12217         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12218         Likewise.
12219         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
12222         (GLIBC_2.24): Likewise.
12223         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
12224         Likewise.
12225         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
12226         Likewise.
12227         * sysdeps/unix/sysv/linux/Makefile
12228         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
12229         (CFLAGS-sendmsg.c): Add rule.
12230         (CFLAGS-recvmsg.c): Likewise.
12231         (CFLAGS-oldsendmsg.c): Likewise.
12232         (CFLAGS-oldrecvmsg.c): Likewise.
12233         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
12234         initialization.
12235         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12236         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12237         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
12238         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12239         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
12240         iovlen and controllen fields to adjust to POSIX specification.
12241         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
12242         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
12243         added recvmsg and sendmsg.
12244         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12245         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12246         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12247         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12248         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12249         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12250         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12252         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12253         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12254         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12255         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12257         Likewise.
12258         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12260         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12261         Likewise.
12262         Likewise.
12263         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12264         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12265         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12266         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12267         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12268         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12270         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12274         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12276         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
12277         from auto-generation.
12278         (sendmsg): Likewise.
12279         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
12280         (sendmsg): Likewise.
12281         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
12282         (sendmsg): Likewise.
12283         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
12284         (sendmsg): Likewise.
12285         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
12286         (sendmsg): Likewise.
12287         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
12288         (sendmsg): Likewise.
12289         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
12290         Likewise.
12291         (sendmsg): Likewise.
12292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
12293         (sendmsg): Likewise.
12294         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12296         Remove.
12297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12298         Likewise.
12299         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12300         Undefine.
12301         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/kernel-features.h
12304         (__ASSUME_SENDMSG_SYSCALL): Define.
12305         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12306         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12308         Remove.
12309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12310         Likewise.
12311         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12312         Undefine.
12313         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12316         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12317         Remove.
12318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12319         Likewise.
12320         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12321         Undefine.
12322         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12323         Likewise.
12324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12325         (__ASSUME_SENDMSG_SYSCALL): Undefine.
12326         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12327         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12328         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12329         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12330         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12331         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12332         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12334 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12336         * stdlib/gen-tst-strtod-round.c: Add backslash to
12337         compile command in comment.
12338         (printfp): Remove the literal suffix, and define an infinite
12339         value as INF to avoid expansion clash with INFINITY.
12340         (round_str): Remove the literal suffix.
12341         (round_for_all): Likewise, remove the now duplicate ldbl-64
12342         entry, and remove some magic constants.
12344         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
12345         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
12346         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
12347         (_CONCAT): New macro.
12348         (CONCAT): Likewise.
12349         (CHOOSE_ld): Likewise.
12350         (CHOOSE_f): Likewise.
12351         (CHOOSE_d): Likewise.
12352         (FTYPE_MEMBER): Likewise.
12353         (BOOL_MEMBER): Likewise.
12354         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
12355         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
12356         (_XNTRY): Likewise.
12357         (XNTRY): Likewise.
12358         (_ENTRY): Likewise.
12359         (ENTRY): Likewise.
12360         (test_exactness): Generate members via macro.
12361         (test_results): Likewise.
12362         (test): Update members.
12363         (TEST): Redefine using new macros.
12364         (INF): New macro.
12365         (fetestmodes): New structure.
12366         (do_test): Refactor to be type generic.
12367         (test_in_one_mode): Refactor duplicate code into
12368         (GEN_ONE_TEST): New macro.
12370         * stdlib/tst-strtod-round-data.h: Regenerate.
12372         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
12373         Extend to pass additional arbitrary parameters to
12374         generators.
12376 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
12378         [BZ #15479]
12379         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
12380         floating-point state after first floating-point operation on
12381         input.  Restore full floating-point state instead of just rounding
12382         mode.
12383         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12384         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12385         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12386         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12387         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12389         [BZ #15479]
12390         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
12391         floating-point state after first floating-point operation on
12392         input.  Restore full floating-point state instead of just rounding
12393         mode.
12394         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12395         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12396         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12397         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12398         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12402         [BZ #19727]
12403         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
12404         valid high surrogate.
12405         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
12406         of an utf16 surrogate.
12407         * iconv/gconv_simple.c (BODY): Likewise.
12408         * iconvdata/bug-iconv12.c: New file.
12409         * iconvdata/Makefile (tests): Add bug-iconv12.
12411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12413         [BZ #19726]
12414         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
12415         outptrp in case of an illegal input.
12416         * iconv/tst-iconv6.c: New file.
12417         * iconv/Makefile (tests): Add tst-iconv6.
12419 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12421         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
12422         an error in case of a value in range of an utf16 low surrogate.
12424 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12426         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
12427         an error in case of a value in range of an utf16 low surrogate.
12429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12431         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
12432         Move to ...
12433         * sysdeps/s390/Makefile: ... here.
12434         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
12435         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
12436         (BRANCH_ON_COUNT): New define.
12437         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
12438         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
12439         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12440         run on s390-32, too.
12441         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
12442         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
12443         run on s390-32, too.
12444         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
12445         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
12446         run on s390-32, too.
12448 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12450         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
12451         etf3eh or new vector loop-variant.
12453 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12455         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
12456         etf3eh or new vector loop-variant.
12458 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12460         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
12461         or new vector loop-variant.
12463 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12465         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
12466         Rename to TR_LOOP and usage of tr instead of troo instruction.
12468 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12470         * sysdeps/s390/multiarch/gconv_simple.c: New File.
12471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
12473 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12475         * sysdeps/s390/multiarch/8bit-generic.c: New File.
12476         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
12477         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
12478         New override define.
12479         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
12481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12483         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
12484         * sysdeps/s390/configure.ac: Add test for S390 vector register
12485         support in gcc.
12486         * sysdeps/s390/configure: Regenerated.
12488 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
12490         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
12491         Install file from $(objpfx)gconv-modules.
12492         ($(objpfx)gconv-modules): Concatenate architecture specific file
12493         in variable sysdeps-gconv-modules and gconv-modules in src dir.
12494         * sysdeps/s390/gconv-modules: New file.
12495         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
12496         Deleted.
12497         ($(objpfx)gconv-modules-s390): Deleted.
12498         (sysdeps-gconv-modules): New variable.
12500 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12502         [BZ #15479]
12503         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
12504         of immediate operand to rounding instruction.
12505         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
12506         Likewise.
12507         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
12508         Likewise.
12509         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
12510         Likewise.
12512 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12514         * math/libm-test.inc (MIN_EXP): Directly define as
12515         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
12517 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12519         * math/libm-test.inc (MANT_DIG): Directly define as
12520         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
12522 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12524         * stdlib/gen-tst-strtod-round.c (main):
12525           Change usage to more closely match the generated
12526           output.  Add usage and compilation instructions.
12527           (string_to_fp): Add and use FILE* parameter as
12528           output target.
12529           (print_fp): Likewise.
12530           (round_str): Likewise.
12531           (round_for_all): Likewise.
12532         * stdlib/tst-strtod-round.c (tests): Move into
12533         * stdlib/tst-strtod-round-data.h: New file.
12535 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
12537         [BZ #15479]
12538         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
12539         (__round): Do not force "inexact" exception.
12540         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
12541         variable.
12542         (__round): Do not force "inexact" exception.
12543         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
12544         (__roundf): Do not force "inexact" exception.
12545         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
12546         (__roundl): Do not force "inexact" exception.
12547         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
12548         (__roundl): Do not force "inexact" exception.
12549         * math/libm-test.inc (round_test_data): Do not allow spurious
12550         "inexact" exceptions.
12552         [BZ #15479]
12553         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
12554         exception in comment.
12555         (huge): Remove variable.
12556         (__floor): Do not force "inexact" exception.
12557         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
12558         "inexact" exception in comment.
12559         (huge): Remove variable.
12560         (__floor): Do not force "inexact" exception.
12561         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
12562         exception in comment.
12563         (huge): Remove variable.
12564         (__floorf): Do not force "inexact" exception.
12565         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
12566         exception in comment.
12567         (huge): Remove variable.
12568         (__floorl): Do not force "inexact" exception.
12570         [BZ #15479]
12571         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
12572         exception in comment.
12573         (huge): Remove variable.
12574         (__ceil): Do not force "inexact" exception.
12575         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
12576         "inexact" exception in comment.
12577         (huge): Remove variable.
12578         (__ceil): Do not force "inexact" exception.
12579         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
12580         (__ceilf): Do not force "inexact" exception.
12581         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
12582         exception in comment.
12583         (huge): Remove variable.
12584         (__ceill): Do not force "inexact" exception.
12586 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12588         * config.h.in (BIND_NOW): New.
12589         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
12590         * configure: Regenerated.
12591         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
12592         indirect branch via the GOT slot.
12594 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12596         [BZ #19765]
12597         * sysdeps/s390/mempcpy.S: New File.
12598         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12599         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
12600         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12601         Add mempcpy variants.
12602         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
12603         (memcpy): Adjust to be usable from mempcpy entry point.
12604         (__memcpy_mvcle): Likewise.
12605         * sysdeps/s390/s390-64/memcpy.S: Likewise.
12606         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
12607         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
12608         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
12609         (__memcpy_z10): Likewise.
12610         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12612 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12614         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
12615         Remove __GI_ symbol.
12616         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
12617         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
12618         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
12619         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
12620         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
12621         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12623 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12625         * sysdeps/s390/s390-64/memcpy.S (memcpy):
12626         Use cghi instead of chi to compare 64bit value.
12628 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12630         * sysdeps/s390/s390-32/memcpy.S (memcpy):
12631         Jump to 1MB check before executing mvc-loop.
12633 2016-05-24  Florian Weimer  <fweimer@redhat.com>
12635         [BZ #6527]
12636         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
12637         unconditionally.
12638         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
12640 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12642         * stdlib/tst-strtod6.c (do_test): Use new type generic
12643         invocation of the test function.
12644         (test): Refactor into ...
12645         (TEST_STRTOD): New macro base function.
12647 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12649         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
12650         (TEST_STRTOD): New macro.
12651         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
12653 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12655         * stdlib/tst-strtod6.c (do_test): Use new type generic
12656         invocation of the test function.
12657         (test): Refactor into ...
12658         (TEST_STRTOD): New macro base function.
12660 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12662         CVE-2016-4429
12663         [BZ #20112]
12664         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
12665         payload.
12667 2016-05-23  Florian Weimer  <fweimer@redhat.com>
12669         [BZ #20111]
12670         * bits/sockaddr.h (_SS_SIZE): Define.
12671         * bits/socket.h (_SS_SIZE): Remove.
12672         (_SS_PADSIZE): Adjust to account for all padding.
12673         (struct sockaddr_storage): Update comment.  Avoid implicit
12674         padding.
12675         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
12676         (_SS_PADSIZE): Adjust to account for all padding.
12677         (struct sockaddr_storage): Update comment.  Avoid implicit
12678         padding.
12679         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
12680         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
12681         (_SS_PADSIZE): Adjust to account for all padding.
12682         (struct sockaddr_storage): Update comment.  Avoid implicit
12683         padding.
12684         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
12685         __SS_SIZE is 126 in this version.
12686         * inet/tst-sockaddr.c: New file.
12687         * inet/Makefile (tests): Add tst-sockaddr.c
12688         (tst-sockaddr.c): Compile with non-strict aliasing.
12690 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
12692         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
12693         [XPG3 || XPG4].
12694         (NL_ARGMAX): Also expect for [XPG3].
12695         (NL_LANGMAX): Likewise.
12696         (NL_MSGMAX): Likewise.
12697         (NL_NMAX): Likewise.
12698         (NL_SETMAX): Likewise.
12699         (NL_TEXTMAX): Likewise.
12700         (NZERO): Likewise.
12701         (TMP_MAX): Likewise.
12702         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
12703         variable.
12705         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
12706         (PF_MAX): Update value.
12707         (AF_KCM): New macro.
12708         (SOL_NETBEUI): Likewise.
12709         (SOL_LLC): Likewise.
12710         (SOL_DCCP): Likewise.
12711         (SOL_NETLINK): Likewise.
12712         (SOL_TIPC): Likewise.
12713         (SOL_RXRPC): Likewise.
12714         (SOL_PPPOL2TP): Likewise.
12715         (SOL_BLUETOOTH): Likewise.
12716         (SOL_PNPIPE): Likewise.
12717         (SOL_RDS): Likewise.
12718         (SOL_IUCV): Likewise.
12719         (SOL_CAIF): Likewise.
12720         (SOL_ALG): Likewise.
12721         (SOL_NFC): Likewise.
12722         (SOL_KCM): Likewise.
12723         (MSG_BATCH): New enum value and macro.
12725 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
12727         [BZ #18185]
12728         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
12729         sharing L2 cache to 2 for Knights Landing.
12731 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
12733         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
12734         (FTW_DP): Do not expect for [XPG3 || XPG4].
12735         (FTW_SL): Do not expect for [XPG3].
12736         (FTW_SLN): Likewise.
12737         (FTW_PHYS): Likewise.
12738         (FTW_MOUNT): Likewise.
12739         (FTW_DEPTH): Likewise.
12740         (FTW_CHDIR): Likewise.
12741         (nftw): Likewise.
12742         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
12743         variable.
12745 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12747         * manual/errno.texi: Fix various typos & grammar errors.
12749 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
12751         * manual/intro.texi: Fix duplicated typo.
12753 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12755         [BZ #13304]
12756         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
12757         <float.h>, <math_private.h> and <stdlib.h>.
12758         (add_split): New function.
12759         (mul_split): Likewise.
12760         (ext_val): New typedef.
12761         (store_ext_val): New function.
12762         (mul_ext_val): New function.
12763         (compare): New function.
12764         (add_split_ext): New function.
12765         (__fmal): After checking for Inf, NaN and zero, compute result as
12766         an exact sum of scaled double values in round-to-nearest before
12767         adding those up and adjusting for other rounding modes.
12768         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
12769         tests of fma.
12770         * math/auto-libm-test-out: Regenerated.
12772 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12774         [BZ #20119]
12775         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
12776         processor level type mask for CPUID with EAX == 11.
12778 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12780         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
12781         logical threads if the HTT bit is 0.
12782         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
12783         (index_cpu_HTT): Likewise.
12784         (reg_HTT): Likewise.
12786 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
12788         [BZ #20115]
12789         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
12790         Remove alignments on jump targets.
12792 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
12794         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
12795         (getpwent): Likewise.
12796         (setpwent): Likewise.
12797         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
12798         variable.
12800         * conform/data/search.h-data (insque): Do not expect for [XPG3].
12801         (remque): Likewise.
12802         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
12803         variable.
12805 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12807         * math/libm-test.inc: Update comment not to refer to signs of NaNs
12808         not being tested.
12810 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12813         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
12814         call.
12815         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12816         (__condvar_cleanup1): Likewise.
12818 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12820         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
12821         New
12822         (__pthread_unwind): Renamed to ...
12823         (PTHREAD_UNWIND): This.
12824         (__pthread_enable_asynccancel): Replace
12825         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
12827 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
12829         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
12830         (CLONE_NEWCGROUP): New macro.
12832         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
12833         (Q_GETNEXTQUOTA): New macro.
12835 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
12837         [BZ #19907]
12838         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
12839         buffer updated by the previous run.
12840         * string/test-memcpy.c (do_one_test): Likewise.
12841         * benchtests/bench-memmove.c (do_one_test): Add a comment.
12842         * string/test-memmove.c (do_one_test): Likewise.
12844 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
12846         [BZ #20094]
12847         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
12848         not [__USE_XOPEN].
12849         (unlockpt): Likewise.
12850         (ptsname): Likewise.
12851         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
12852         variable.
12854         [BZ #20076]
12855         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
12856         instead of [__USE_UNIX98].
12857         (S_ISSOCK): Likewise.
12858         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
12859         variable.
12861         [BZ #20074]
12862         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
12863         [__USE_POSIX].
12864         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
12865         variable.
12867         [BZ #20051]
12868         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
12869         (ttyslot): Do not declare.
12870         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
12871         (ttyslot): New prototype.
12872         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
12873         variable.
12874         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12876 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12878         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
12880 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12882         Fix race condition in tst-mallocfork2, use fewer resources.
12883         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
12884         to current process group.
12885         (signal_sender): Yield in the non-sleeping case.
12887 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
12889         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
12890         (ecvt): Likewise.
12891         (fcvt): Likewise.
12892         (gcvt): Likewise.
12893         (getsubopt): Likewise.
12894         (grantpt): Likewise.
12895         (initstate): Likewise.
12896         (l64a): Likewise.
12897         (mktemp): Likewise.
12898         (mkstemp): Likewise.
12899         (ptsname): Likewise.
12900         (random): Likewise.
12901         (realpath): Likewise.
12902         (setstate): Likewise.
12903         (srandom): Likewise.
12904         (ttyslot): Likewise.
12905         (unlockpt): Likewise.
12906         (valloc): Likewise.
12908         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
12909         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
12910         variable.
12912 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12914         [BZ #20072]
12915         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
12916         init_cpu_features only if SHARED is defined.
12917         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
12919 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12921         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
12922         non-inclusive caches on Intel processors.
12924 2016-05-13  Florian Weimer  <fweimer@redhat.com>
12926         * malloc/malloc.c (dumped_main_arena_start)
12927         (dumped_main_arena_end): New variables.
12928         (DUMPED_MAIN_ARENA_CHUNK): New macro.
12929         (do_check_chunk): Skip dumped fake mmapped chunks.
12930         (munmap_chunk): Likewise.
12931         (__libc_free): Do not adjust statistics for fake mmapped chunks.
12932         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
12933         mmapped chunks.
12934         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
12935         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
12936         and dumped_main_arena_end to cover the dumped heap.
12938 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
12940         * conform/data/time.h-data (getdate_err): Do not expect for
12941         [XPG3].
12942         (getdate): Likewise.
12943         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
12944         variable.
12946         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
12947         (F_ULOCK): Likewise.
12948         (F_TEST): Likewise.
12949         (F_TLOCK): Likewise.
12950         (useconds_t): Likewise.
12951         (intptr_t): Do not expect for [XPG3] or [XPG4].
12952         (brk): Do not expect for [XPG3]
12953         (fchown): Likewise.
12954         (fchdir): Likewise.
12955         (ftruncate): Likewise.
12956         (getdtablesize): Likewise.
12957         (gethostid): Likewise.
12958         (getpagesize): Likewise.
12959         (getpgid): Likewise.
12960         (getsid): Likewise.
12961         (getwd): Likewise.
12962         (lchown): Likewise.
12963         (lockf): Likewise.
12964         (readlink): Likewise.
12965         (sbrk): Likewise.
12966         (setpgrp): Likewise.
12967         (setregid): Likewise.
12968         (setreuid): Likewise.
12969         (symlink): Likewise.
12970         (sync): Likewise.
12971         (truncate): Likewise.
12972         (ualarm): Likewise.
12973         (usleep): Likewise.
12974         (vfork): Likewise.
12975         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
12976         variable.
12978         [BZ #20054]
12979         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
12980         not [__USE_UNIX98].
12981         * conform/data/unistd.h-data (gethostname): Do not expect for
12982         [XPG3].
12984         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
12985         [!POSIX] (S_IFBLK): Likewise.
12986         [!POSIX] (S_IFCHR): Likewise.
12987         [!POSIX] (S_IFIFO): Likewise.
12988         [!POSIX] (S_IFREG): Likewise.
12989         [!POSIX] (S_IFDIR): Likewise.
12990         [!POSIX] (S_IFLNK): Likewise.
12991         [!POSIX] (S_IFSOCK): Likewise.
12992         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
12993         variable.
12994         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12996 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
12998         * sysdeps/aarch64/memset.S (__memset):
12999         Rewrite of optimized memset.
13001 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13003         [BZ #19703]
13004         Partially async-signal-safe fork for single-threaded processes.
13005         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
13006         variable.  Do not acquire and reset/release malloc and libio locks
13007         in single-threaded processes.
13008         * malloc/tst-mallocfork2.c: New file.
13009         * malloc/Makefile (tests): Add it.
13011 2016-05-12  Florian Weimer  <fweimer@redhat.com>
13013         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
13014         argument.  Use scratch buffer instead of extend_alloca.
13015         (gethosts): Use scratch buffer instead of extend_alloca.
13016         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
13017         extend_alloca.
13018         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
13020 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
13022         [BZ #20055]
13023         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
13024         instead of [__USE_UNIX98].
13025         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
13026         [__USE_UNIX98].
13027         * conform/data/termios.h-data (tcgetsid): Do not expect for
13028         [XPG3].
13029         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
13030         variable.
13031         (test-xfail-XPG4/termios.h/conform): Likewise.
13033 2016-05-11  Florian Weimer  <fweimer@redhat.com>
13035         Do not use mcheck in localedef.
13036         * locale/programs/localedef.c (turn_on_mcheck)
13037         (__malloc_initialize_hook): Remove.
13039 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13041         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
13042         * sysdeps/s390/s390-64/Makefile: Likewise.
13044 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13046         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
13047         Remove ifunc-defines.sym.
13048         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
13049         Likewise.
13050         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
13051         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13052         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
13053         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
13054         rtld-global-offsets.sym.
13055         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
13056         * sysdeps/x86/cpu-features-offsets.sym: This.
13057         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
13058         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
13060 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
13062         [BZ #20073]
13063         * io/sys/stat.h (fchmod): Declare for
13064         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
13065         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
13066         variable.
13068         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
13069         [XPG3] (S_IFSOCK): Likewise.
13070         [XPG3] (S_ISVTX): Likewise.
13071         [XPG3] (S_ISLNK): Likewise.
13072         [XPG3] (S_ISSOCK): Likewise.
13073         [XPG3] (fchmod): Likewise.
13074         [XPG3] (lstat): Likewise.
13075         [XPG3] (mknod): Likewise.
13077         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
13078         [XPG3].  Expect type long and XFAIL for [XPG4].
13079         (st_blocks): Likewise.
13081         [BZ #20044]
13082         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
13083         (pthread_atfork): New prototype.
13084         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
13085         variable.
13087         [BZ #20043]
13088         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
13089         prototype.
13091 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13093         [BZ #20017]
13094         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
13095         gmtime.
13097 2016-05-10  Florian Weimer  <fweimer@redhat.com>
13099         [BZ #19994]
13100         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
13101         flag in _res.options.
13103 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
13105         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
13106         [XPG3 || XPG4].
13107         (blksize_t): Likewise.
13108         (clockid_t): Likewise.
13109         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
13110         variable.
13111         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13113 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13115         * sysdeps/unix/sysv/linux/s390/init-first.c:
13116         Add VDSO_SYMBOL(getcpu).
13117         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
13118         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
13119         Add VDSO_SYMBOL(getcpu).
13120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
13121         New define HAVE_GETCPU_VSYSCALL.
13122         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13124 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
13126         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
13127         instead of <sysdeps/x86_64/cacheinfo.c>.
13128         * sysdeps/x86_64/cacheinfo.c: Moved to ...
13129         * sysdeps/x86/cacheinfo.c: Here.
13131 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13133         * malloc/malloc-internal.h: Adjust header file guard.
13135 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13137         [BZ #19787]
13138         * inet/getnameinfo.c (check_sprintf_result): New function.
13139         (CHECKED_SNPRINTF): New macro.
13140         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
13141         to the host buffer.
13142         (gni_host_local): Use checked_copy to copy the host name.
13143         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
13144         (gni_serv_local): Use checked_copy to copy the service name.
13145         (getnameinfo): Remove unnecessary truncation of result buffers.
13147 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13149         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
13150         in case of inet_ntop failure.
13152 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13154         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
13155         avoid long lines.
13156         (gni_host_inet_numeric): Likewise.  Reduce scope of local
13157         variables.
13158         (gni_host_inet, gni_host_local): Add comment.
13159         (gni_host): Add comment.  Use temporary to avoid long lines.
13161 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13163         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
13164         registers specifiers where general purpose registers specifiers should
13165         have been used.
13167 2016-05-04  Florian Weimer  <fweimer@redhat.com>
13169         [BZ #19779]
13170         CVE-2016-1234
13171         Avoid copying names of directory entries.
13172         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
13173         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
13174         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
13175         (struct readdir_result): New type.
13176         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
13177         (GL_READDIR): New macros.
13178         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
13179         (convert_dirent, convert_dirent64): New functions.
13180         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
13181         convert_dirent64.  Adjust references to the readdir result.
13182         * sysdeps/unix/sysv/linux/i386/glob64.c:
13183         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
13184         * posix/bug-glob2.c (LONG_NAME): Define.
13185         (filesystem): Add LONG_NAME.
13186         (my_DIR): Increase the size of room_for_dirent.
13188 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
13190         [BZ #20041]
13191         * misc/sys/select.h (__need_timespec): Only define if
13192         [__USE_XOPEN2K].
13193         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
13194         variable.
13195         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13196         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13197         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13199 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13200             Segher Boessenkool  <segher@gcc.gnu.org>
13202         [BZ #20004]
13203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
13204         (__novec_swapcontext): Add missing load.
13206 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
13208         [BZ #20023]
13209         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
13210         <time.h>.
13211         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
13212         variable.
13213         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13215 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
13218         flags CLONE_VM compare.
13220 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13222         [BZ #20031]
13223         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
13224         completely empty.
13226 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13228         [BZ #19573]
13229         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
13230         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
13231         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
13232         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
13233         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
13234         (hesiod_free_list): Mark as hidden.
13235         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
13236         res_set, res_get.
13237         * hesiod/hesiod.c: Remove unnecessary forward declarations.
13238         (init, __hesiod_res_get, __hesiod_res_set): Remove.
13239         (hesiod_init): Remove obsolete res_ninit call.
13240         (hesiod_end): Do not free resolver state.  Do not invoke callback.
13241         (hesiod_bind): Do not call init.
13242         (get_txt_records): Use res_mkquery, res_send instead of
13243         res_nmkquery, res_nsend.
13244         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
13245         instead of _nss_hesiod_init.
13246         (_nss_hesiod_initgroups_dyn): Likewise.
13247         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
13248         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
13249         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
13251 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13253         * hesiod/hesiod_p.h (DEF_RHS): Remove.
13254         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
13256 2016-05-02  Florian Weimer  <fweimer@redhat.com>
13258         * hesiod/hesiod.h: Remove RCS keyword.
13259         * hesiod/hesiod_p.h: Likewise.
13261         * hesiod/hesiod.c: Likewise.
13263 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
13265         [BZ #12450]
13266         * locale/iso-639.def: Add Samogitian/sgs.
13268 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
13270         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
13272         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
13274 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
13275             Carlos O'Donell  <carlos@redhat.com>
13277         [BZ #19072]
13278         * grp/Makefile (headers): Add grp-merge.h
13279         (routines): Add grp-merge.
13280         * grp/getgrgid_r.c: Include grp-merge.h.
13281         (DEEPCOPY_FN): Define.
13282         (MERGE_FN): Define.
13283         * grp/getgrname_r.c: Include grp-merge.h.
13284         (DEEPCOPY_FN): Define.
13285         (MERGE_FN): Define.
13286         * grp/grp-merge.c: New file.
13287         * grp/grp-merge.h: New file.
13288         * include/grp-merge.h: New file.
13289         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
13290         __copy_grp@GLIBC_PRIVATE.
13291         * manual/nss.texi (Actions in the NSS configuration): Describe
13292         return, continue, and merge.
13293         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
13294         (DEEPCOPY_FN): Define.
13295         (MERGE_FN): Define.
13296         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
13297         (DEEPCOPY_FN): Define.
13298         (MERGE_FN): Define.
13299         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
13300         [!MERGE_FN]: Define __merge_einval.
13301         (CHECK_MERGE): Define.
13302         (REENTRANT_NAME): Process merge if do_merge is true.
13303         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
13304         (__nss_getent_r): Likewise.
13305         * nss/nsswitch.c (nss_parse_service_list): Likewise.
13306         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
13308 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13310         [BZ #20012]
13311         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
13312         length to calculate the buffer to read.
13313         (fmemopen_write): Set the buffer position based on bytes written.
13314         (fmemopen_seek): Return EINVAL for invalid whence modes.
13316         [BZ #19957]
13317         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
13318         tst-getpid2.
13319         (test): Add tst-clone2.
13320         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
13321         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
13322         pid/tid fields for CLONE_VM.
13323         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13324         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13325         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13326         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
13327         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13328         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13329         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13330         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13332         Likewise.
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13334         Likewise.
13335         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13336         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13337         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13338         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13339         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13340         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13341         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13342         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
13344 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13346         [BZ #19642]
13347         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
13348         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
13349         (gni_serv_local, gni_serv): New functions extracted from
13350         getnameinfo.
13351         (getnameinfo): Call gni_host and gni_serv to perform the
13352         processing.  Always free scratch buffer.
13354 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13356         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
13357         remaining bytes in the dest string, with zeros.
13359 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13361         [BZ #20010]
13362         CVE-2016-3706
13363         * sysdeps/posix/getaddrinfo.c
13364         (convert_hostent_to_gaih_addrtuple): New function.
13365         (gethosts): Call convert_hostent_to_gaih_addrtuple.
13366         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
13367         AF_INET data.
13369 2016-04-29  Florian Weimer  <fweimer@redhat.com>
13371         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
13372         callback function gl_readdir.
13373         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
13374         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
13375         (glob_in_dir): Remove len.  Use strdup instead of malloc and
13376         memcpy to copy the name.
13377         * manual/pattern.texi (Calling Glob): Document requirements for
13378         implementations of the gl_readdir callback function.
13379         * manual/examples/mkdirent.c: New example.
13380         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
13381         per the manual guidance.
13382         * posix/tst-gnuglob.c (my_readdir): Likewise.
13384 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #20014]
13387         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
13388         not [__USE_POSIX].
13389         (getchar_unlocked): Likewise.
13390         (putc_unlocked): Likewise.
13391         (putchar_unlocked): Likewise.
13392         (flockfile): Likewise.
13393         (ftrylockfile): Likewise.
13394         (funlockfile): Likewise.
13395         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
13396         variable.
13397         (test-xfail-XPG4/stdio.h/conform): Likewise.
13399         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
13400         Expect constant.
13401         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
13402         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
13403         variable.
13404         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13405         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13407         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
13408         [__USE_LARGEFILE64] (off64_t): Likewise.
13409         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
13410         variable.
13412 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13414         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
13416 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13418         * resolv/inet_addr.c: Reindent preprocessor conditionals.
13419         * resolv/res_init.c: Likewise.
13420         * resolv/res_mkquery.c: Likewise.
13422 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13424         * resolv/res_init.c (isascii): Do not define.  Use definition in
13425         <ctype.h>.
13426         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
13427         (LOG_AUTH): Remove.
13428         (SPRINTF): Remove, adjust caller.
13429         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
13431 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13433         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
13434         SUNSECURITY conditional.
13435         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
13437 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13439         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
13440         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
13441         Remove BSD-related preprocessor conditionals.
13442         * conf/portability.h: Remove.
13444 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13446         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
13447         * resolv/res_data.c: Likewise.
13449 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13451         * resolv/res_comp.c: Remove code conditional on __ultrix__.
13452         * resolv/res_data.c: Remove code conditional on ultrix.
13454 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13456         * resolv/res_init.c (RFC1535): Do not define.  Remove
13457         RFC1535 preprocessor conditionals.
13458         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
13459         because there configuration options which make the resolver
13460         behavior different.
13462 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13464         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
13465         RESOLVSORT preprocessor conditionals.
13466         * resolv/nss_dns/dns-host.c: Likewise.
13467         * resolv/res_init.c: Likewise.
13469 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13471         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
13472         is never defined.
13474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13476         * inet/inet_lnaof.c: Remove SCSS keyword.
13477         * inet/inet_mkadr.c: Likewise.
13478         * inet/inet_net.c: Likewise.
13479         * inet/inet_netof.c: Likewise.
13480         * inet/rcmd.c: Likewise.
13481         * inet/rexec.c: Likewise.
13482         * inet/ruserpass.c: Likewise.
13484 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13486         * resolv/inet_addr.c: Remove _LIBC conditionals.
13487         * resolv/res_data.c: Likewise.
13488         * resolv/res_init.c: Likewise.
13489         * resolv/res_mkquery.c: Likewise.
13490         * resolv/res_libc.c: Update comment.
13491         * resolv/README: Update.
13493 2016-04-28  Florian Weimer  <fweimer@redhat.com>
13495         * resolv/gethnamaddr.c: Remove SCSS keyword.
13496         * resolv/herror.c: Likewise.
13497         * resolv/inet_addr.c: Likewise.
13498         * resolv/inet_net_ntop.c: Likewise.
13499         * resolv/inet_net_pton.c: Likewise.
13500         * resolv/inet_neta.c: Likewise.
13501         * resolv/inet_ntop.c: Likewise.
13502         * resolv/inet_pton.c: Likewise.
13503         * resolv/ns_date.c: Remove RCS keyword.
13504         * resolv/ns_name.c: Likewise.
13505         * resolv/ns_netint.c: Likewise.
13506         * resolv/ns_parse.c: Likewise.
13507         * resolv/ns_print.c: Likewise.
13508         * resolv/ns_samedomain.c: Likewise.
13509         * resolv/ns_ttl.c: Likewise.
13510         * resolv/nsap_addr.c: Likewise.
13511         * resolv/res_comp.c: Remove SCSS and RCS keyword.
13512         * resolv/res_data.c: Remove RCS keyword.
13513         * resolv/res_debug.c: Remove SCSS and RCS keyword.
13514         * resolv/res_init.c: Likewise.
13515         * resolv/res_mkquery.c: Likewise.
13516         * resolv/res_query.c: Likewise.
13517         * resolv/res_send.c: Likewise.
13519 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13521         * conform/data/stdio.h-data (fdopen): Expect also for
13522         [XPG3 || XPG4].
13524         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
13525         (fseeko): Likewise.
13526         (ftello): Likewise.
13527         (ftrylockfile): Likewise.
13528         (funlockfile): Likewise.
13529         (getc_unlocked): Likewise.
13530         (getchar_unlocked): Likewise.
13531         (putc_unlocked): Likewise.
13532         (putchar_unlocked): Likewise.
13534 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13536         [BZ #19868]
13537         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
13538         DNS packet syntax checks (which were not needed before).  Skip
13539         over non-PTR records.
13541 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13543         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
13544         definition.  Include <stddef.h> instead.
13546 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13548         [BZ #19831]
13549         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
13550         function.
13551         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
13552         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
13554 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13556         [BZ #19862]
13557         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
13558         (getanswer_r): Do not call syslog.
13559         (gaih_getanswer_slice): Likewise.
13560         * resolv/gethnamaddr.c (AskedForGot): Remove.
13561         (getanswer): Do not call syslog.
13562         (gethostbyaddr): Likewise.
13564 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
13566         * conform/data/signal.h-data (union sigval): Expect also if
13567         [XOPEN2K].
13568         (struct sigevent): Likewise.
13569         (SIGEV_NONE): Likewise.
13570         (SIGEV_SIGNAL): Likewise.
13571         (SIGEV_THREAD): Likewise.
13572         (SIGRTMIN): Likewise.
13573         (SIGRTMAX): Likewise.
13574         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
13575         variable.
13576         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13578 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13580         [BZ #19830]
13581         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
13582         (gaih_getanswer_slice): Likewise.
13583         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
13584         Also check for availability of RR metadata.
13586 2016-04-27  Florian Weimer  <fweimer@redhat.com>
13588         [BZ #19825]
13589         * resolv/res_send.c (send_vc): Remove early *resplen2
13590         initialization.  Set *resplen2 on socket error.  Call
13591         close_and_return_error for other errors.
13593 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13595         * sysdeps/unix/sysv/linux/netiucv/iucv.h
13596         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
13597         (SCM_IUCV_TRGCLS): New define.
13599 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13601         [BZ #20005]
13602         * libio/fmemopen.c (fmemopen_write): Update internal position after
13603         write.
13604         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
13605         * stdio-common/tst-fmemopen4.c: New file..
13607 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
13609         [BZ #19996]
13610         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
13611         not [__USE_XOPEN2K].
13612         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
13613         variable.
13615         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
13616         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
13617         variable.
13619         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
13620         [__USE_XOPEN2K8].
13621         [__USE_LARGEFILE64] (off64_t): Likewise.
13622         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
13623         variable.
13625 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
13627         [BZ #19989]
13628         * libio/stdio.h (cuserid): Do not declare if
13629         [__USE_XOPEN2K && !__USE_GNU].
13630         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
13631         variable.
13633 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13635         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13636         (sysdep_routines): Add P8 and PPC64 strcspn targets.
13637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13638         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13639         ifunc'ed strcspn.
13640         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
13641         [EALIGN]: Removed.
13642         [END]: Likewise
13643         [STRSPN]: Define instead of the above to control symbol name.
13644         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
13645         New file.
13646         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
13647         Likewise.
13648         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
13649         Likewise.
13650         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
13651         Likewise.
13652         * sysdeps/powerpc/powerpc64/power8/strspn.S:
13653         [INITIAL_MASK]: New macro.
13654         [STRCSPN]: Likewise.
13655         [UPDATE_MASK]: Likewise.
13656         [USE_AS_STRCSPN]: Likewise.
13658 2016-04-25  Florian Weimer  <fweimer@redhat.com>
13660         [BZ #19931]
13661         * stdio-common/tst-vfprintf-width-prec.c: New file.
13662         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
13663         (tests-special): Add tst-vfprintf-width-prec-mem.out.
13664         (generated): Add mtrace-related files.
13665         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
13666         (tst-%-mem.out): New pattern rule, replaces
13667         tst-printf-bz18872-mem.out.
13668         * stdio-common/vfprintf.c (vfprintf): When handling a precision
13669         specifier, deallocate any previously allocated work buffer.
13671 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
13673         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
13674         Add nop before __startcontext, add explaining comments.
13676 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
13678         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
13679         any more. Notably since IPV6_PKTINFO has been reintroduced with a
13680         completely different API.
13682         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
13683         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
13684         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
13685         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
13686         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
13687         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
13688         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
13689         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
13690         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
13691         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
13693 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
13695         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
13697 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
13699         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
13700         when it is the default of 0.
13702 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13704         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
13705         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13706         (sysdep_routines): Add new strcasestr targets.
13707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13708         (__libc_ifunc_impl_list): Likewise.
13709         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
13710         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
13711         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
13712         * sysdeps/powerpc/powerpc64/power8/Makefile:
13713         New file to add strcasestr-ppc64 to sysdep_routines.
13714         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
13715         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
13717 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
13719         * benchtests/Makefile (wcsmbs-benchset): Include only for
13720         native builds and runs.
13721         (LOCALES): Likewise.
13722         (bench-build): Build timing-type here instead of the bench
13723         target.  Generate locale only for native builds.
13724         * benchtests/README: Add note for cross-building.
13726         * benchtests/Makefile (bench-clean): Clean up extra-objs.
13728         * benchtests/README: Update README to include instructions on
13729         using bench-build.
13731         * Makefile.in (bench-build): New target.
13732         * Rules (PHONY): Add bench-build target.
13733         * benchtests/Makefile (bench): Depend on bench-build.
13734         (bench-build): New target.
13736 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13738         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
13739         profil_reply_port.
13740         (profile_waiter): Do not initialize profil_reply_port.
13741         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
13742         frequency instead of tick length in us.
13744 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
13746         [BZ #18712]
13747         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
13748         (__old_mempcpy_small): Likewise.
13749         (__old_strcpy_small): Likewise.
13750         (__old_stpcpy_small): Likewise.
13751         (__old_strpbrk_c2): Fix compat symbol name.
13752         (__old_strpbrk_c3): Likewise.
13753         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
13754         (__mempcpy_small): Remove.
13755         (__strcpy_small): Remove.
13756         (__stpcpy_small): Remove.
13758 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
13760         [BZ #19400]
13761         * locale/iso-639.def: Add the Talossan/tzl language.
13763 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13765         [BZ #16983]
13766         * locale/programs/ld-address.c (address_finish): Update postal_fmt
13767         comment.  Add "ln" to strchr check on postal_fmt.
13769 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
13771         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
13772         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
13773         tel_dom_fmt.
13775 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13777         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13778         (sysdep_routines): Added __strlen_power8.
13779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
13780         __strlen_power8 entry.
13781         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
13782         Implementation for POWER8.
13783         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
13784         for __strlen_power8.
13785         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
13786         Implementation for POWER8.
13788 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
13790         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
13792 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
13794         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
13795         Goldmont and Airmont processors.
13797 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
13799         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
13800         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
13801         (__STRING2_SMALL_GET32): Remove.
13802         (memset): Remove.
13803         (__memset_1): Remove.
13804         (__memset_gc): Remove.
13805         (__mempcpy): Remove.
13806         (mempcpy): Remove.
13807         (__mempcpy_args): Remove.
13808         (strchr): Remove.
13809         (strcpy): Remove.
13810         (strcpy_args): Remove.
13811         (__stpcpy_args): Remove.
13812         (__strcmp_cc): Remove.
13813         (__strcmp_gc): Remove.
13814         (strstr): Remove.
13816 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
13818         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
13819         * nis/nis_call.c (nis_server_cache_add): Likewise.
13821 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13823         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
13825 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13827         * malloc/arena.c (__malloc_fork_lock_parent)
13828         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
13829         internal_function attribute.
13831 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
13833         * stdio-common/printf_fp.c (__printf_fp_l):
13834         Rename ___printf_fp_l to __printf_fp_l and
13835         remove strong alias. Use libc_hidden_def instead
13836         of ldbl_hidden_def macro.
13838 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13840         Remove malloc hooks from fork handler.  They are no longer needed
13841         because malloc runs right before fork, and no malloc calls from
13842         other fork handlers are not possible anymore.
13843         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
13844         declarations.
13845         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
13846         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
13847         (atfork_recursive_cntr): Remove.
13848         (__malloc_fork_lock_parent): Do not override malloc hooks and
13849         thread_arena.
13850         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
13851         thread_arena.
13852         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
13853         thread_arena instead of save_arena.
13855 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13857         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
13858         (thread_atfork, thread_atfork_static): Remove.
13859         * sysdeps/mach/hurd/malloc-machine.h:
13860         (thread_atfork, thread_atfork_static): Remove.
13862 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13864         [BZ #19431]
13865         Run the malloc fork handler as late as possible to avoid deadlocks.
13866         * malloc/malloc-internal.h: New file.
13867         * malloc/malloc.c: Include it.
13868         * malloc/arena.c (ATFORK_MEM): Remove.
13869         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
13870         Update comment.
13871         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
13872         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
13873         Remove outdated comment.
13874         (ptmalloc_init): Do not call thread_atfork.  Remove
13875         thread_atfork_static.
13876         * malloc/tst-malloc-fork-deadlock.c: New file.
13877         * Makefile (tests): Add tst-malloc-fork-deadlock.
13878         (tst-malloc-fork-deadlock): Link against libpthread.
13879         * manual/memory.texi (Aligned Memory Blocks): Update safety
13880         annotation comments.
13881         * sysdeps/nptl/fork.c (__libc_fork): Call
13882         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
13883         __malloc_fork_unlock_child.
13884         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
13886 2016-04-14  Florian Weimer  <fweimer@redhat.com>
13888         [BZ #19613]
13889         Remove union wait.
13890         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
13891         (w_stopsig, w_stopval): Remove.
13892         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
13893         stat_loc argument.
13894         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
13895         (__WAIT_STATUS_DEFN): Remove.
13896         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13897         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
13898         (wait, wait3, wait4): Use int * for the stat_loc argument.
13899         * posix/wait.c (__wait): Likewise.
13900         * posix/wait3.c (__wait3): Likewise.
13901         * posix/wait4.c (__wait4): Likewise.
13902         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
13903         (__WAIT_STATUS_DEFN): Remove.
13904         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
13905         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
13906         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
13907         argument.
13908         * sysdeps/posix/wait.c (__libc_wait): Likewise.
13909         * sysdeps/posix/wait3.c (__wait3): Likewise.
13910         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
13911         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13912         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
13913         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
13914         stat_loc argument.
13915         * manual/process.texi (BSD Wait Functions): Remove union wait.
13917 2016-04-13  Andreas Schwab  <schwab@suse.de>
13919         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
13920         (test-extras): Add tst-tlsalign-vars.
13921         * math/Makefile: Wrap long lines.
13922         (libm-vec-test-wrappers): Define.
13923         (test-extras): Add $(libm-vec-test-wrappers).
13924         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
13925         * nss/Makefile (extra-test-objs): Add nss_test1.os.
13926         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
13927         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
13928         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
13929         (extra-test-objs): Add corresponding objects.
13931 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
13933         [BZ #19928]
13934         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
13935         New.
13936         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
13937         times of shared cache size.
13938         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
13939         (VMOVNT): New.
13940         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
13941         (VMOVNT): Likewise.
13942         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
13943         (VMOVNT): Likewise.
13944         (VMOVU): Changed to movups for smaller code sizes.
13945         (VMOVA): Changed to movaps for smaller code sizes.
13946         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
13947         comments.
13948         (PREFETCH): New.
13949         (PREFETCH_SIZE): Likewise.
13950         (PREFETCHED_LOAD_SIZE): Likewise.
13951         (PREFETCH_ONE_SET): Likewise.
13952         Rewrite to use forward and backward loops, which move 4 vector
13953         registers at a time, to support overlapping addresses and use
13954         non temporal store if size is above the threshold and there is
13955         no overlap between destination and source.
13957 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
13959         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
13960         Include dl-vdso.
13961         * sysdeps/unix/sysv/linux/mips/Versions: Add
13962         __vdso_clock_gettime.
13963         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
13964         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
13965         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
13966         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
13967         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
13968         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
13969         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13970         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13971         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13973 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13975         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
13976         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
13977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13979         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13980         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13983         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
13984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
13985         syscalls generation.
13986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13987         [__NR_pwrite64] (__NR_write): Remove define.
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13989         [__NR_pwrite64] (__NR_write): Remove define.
13990         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
13991         Remove define.
13992         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
13993         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
13994         Remove define.
13995         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
13996         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
13997         Linux implementation as base.
13998         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14000         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
14001         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
14002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
14005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14006         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
14007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
14008         syscall generation.
14009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14010         [__NR_pread64] (__NR_pread): Remove define.
14011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14012         [__NR_pread64] (__NR_pread): Likewise.
14013         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
14014         define.
14015         (__libc_pread): Use SYSCALL_LL macro on offset argument.
14016         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
14017         Remove define.
14018         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
14019         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
14020         Linux implementation as base.
14021         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14022         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14023         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14025         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
14026         definition.
14027         (__ALIGNMENT_COUNT): Likewise.
14028         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
14029         (__ALIGNMENT_COUNT): Likewise.
14030         (SYSCALL_LL): New define.
14031         (SYSCALL_LL64): Likewise.
14032         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
14033         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
14034         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
14035         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
14037         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14038         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
14039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14040         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14041         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14042         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
14044 2016-04-11  Florian Weimer  <fweimer@redhat.com>
14046         [BZ #19865]
14047         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
14048         original buffer before retry.
14050 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14052         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
14053         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
14054         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
14055         GLRO(dl_auxv) list.
14056         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
14057         including <ldsodefs.h>.
14058         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
14060 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
14062         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
14063         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
14064         $(CPPFLAGS).
14066 2016-04-09  Khem Raj  <raj.khem@gmail.com>
14068         [BZ #17950]
14069         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
14070         Add -mfpmath=387.
14072 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
14074         * sysdeps/i386/configure.ac: Change == to = when calling test.
14075         * sysdeps/x86_64/configure.ac: Likewise.
14076         * sysdeps/i386/configure: Regenerated.
14077         * sysdeps/x86_64/configure: Likewise.
14079 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
14081         [BZ #16137]
14082         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
14083         * benchtests/bench-strcoll.c (input_files): Likewise.
14084         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14085         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
14086         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
14088 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
14090         [BZ #19929]
14091         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
14092         [__USE_XOPEN2K8 && !__USE_GNU].
14093         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
14094         variable.
14096         [BZ #19925]
14097         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
14098         define if [!__USE_MISC && __USE_XOPEN2K].
14099         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
14100         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
14101         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
14102         Likewise.
14103         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
14104         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
14105         variable.
14106         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14108 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14110         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14111         (sysdep_routines): Add new strspn targets.
14112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14113         (__libc_ifunc_impl_list): Add strspn.
14114         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14115         New file.
14116         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
14117         Likewise.
14118         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
14119         Likewise.
14120         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14121         Likewise.
14123 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14125         * misc/hsearch_r.c: Include <limits.h>.
14127 2016-04-07  Florian Weimer  <fweimer@redhat.com>
14129         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
14131 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14133         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14134         (MEMCPY_SYMBOL): New.
14135         (MEMPCPY_SYMBOL): Likewise.
14136         (MEMMOVE_CHK_SYMBOL): Likewise.
14137         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
14138         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
14139         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
14140         Provide alias for memcpy in libc.a and ld.so.
14142 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14144         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14145         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
14146         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
14147         Disabled fro now.
14148         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
14149         symbols.  Properly check USE_MULTIARCH on __memset symbols.
14151 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
14153         * benchtests/Makefile (string-benchset): Add memcpy-large,
14154         memmove-large and memset-large.
14155         * benchtests/bench-memcpy-large.c: New file.
14156         * benchtests/bench-memmove-large.c: Likewise.
14157         * benchtests/bench-memmove-large.c: Likewise.
14158         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
14160 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14162         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
14163         32-bit displacement to avoid long nop between instructions.
14165 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
14167         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
14168         a comment on VMOVU and VMOVA.
14170 2016-04-04  Florian Weimer  <fweimer@redhat.com>
14172         [BZ #19633]
14173         Use specified locale for number formatting in strfmon_l.
14174         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
14175         (__nl_lookup_word): New inline functions.
14176         * include/printf.h (__print_fp_l): Declare.
14177         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
14178         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
14179         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
14180         (___printf_fp): New function.
14181         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
14182         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
14183         * stdlib/tst-strfmon_l.c (do_test): New test.
14184         * stdlib/Makefile (tests): Add kt.
14185         (LOCALES): Build additional locales.
14186         (tst-strfmon_l.out): Require locales.
14188 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14190         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
14191         if not in libc.
14192         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14193         Likewise.
14194         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
14195         Likewise.
14196         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14197         Likewise.
14199 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
14201         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14202         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
14203         with unaligned_erms.
14204         (__memmove_erms): Skip if source == destination.
14205         (__memmove_unaligned_erms): Don't check source == destination
14206         first.
14208 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14210         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
14211         bit_arch_Fast_Copy_Backward for Intel Core proessors.
14213 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14215         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
14216         * string/strspn.c (strspn): Likewise.
14218 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14220         * benchtests/bench-memset.c (do_test): Support 64-byte
14221         alignment.
14222         (test_main): Test 64-byte alignment.
14224 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14226         * benchtests/bench-memmove.c (test_main): Test 64-byte
14227         alignment.
14229 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
14231         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
14233 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14235         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
14236         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
14237         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
14239         * string/strpbrk.c (strpbrk): Rewrite function.
14240         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
14241         (__strpbrk_c2): Likewise.
14242         (__strpbrk_c3): Likewise.
14243         * string/string-inlines.c
14244         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
14245         Likewise.
14246         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
14247         Likewise.
14249         * string/strspn.c (strcspn): Rewrite function.
14250         * string/bits/string2.h (strspn): Use __builtin_strcspn.
14251         (__strspn_c1): Remove inline function.
14252         (__strspn_c2): Likewise.
14253         (__strspn_c3): Likewise.
14254         * string/string-inlines.c
14255         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
14256         compatibility symbol.
14257         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
14258         Likewise.
14259         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
14260         Likewise.
14261         * string/string-inlines.c: Include generic version.
14263 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
14264             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14266         * string/Version (libc): Add GLIBC_2.24.
14267         * string/strcspn.c (strcspn): Rewrite function.
14268         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
14269         (__strcspn_c1): Remove inline function.
14270         (__strcspn_c2): Likewise.
14271         (__strcspn_c3): Likewise.
14272         * string/string-inline.c
14273         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
14274         compatibility symbol.
14275         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
14276         Likewise.
14277         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
14278         Likewise.
14279         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
14281 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14283         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
14284         Use ahi instead of aghi to adjust stack pointer.
14286 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14288         [BZ #19853]
14289         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
14290         TEST to take significant digits as second parameter.
14291         [TEST]: Redefine in terms of TEST_N taking 30
14292         significant digits.
14293         (do_test): Add test case to demonstrate precision
14294         failure in the ldbl-128ibm printf.
14295         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
14296         (__mpn_extract_long_double): Carry 7 extra intermediate
14297         bits of precision to aide computing difference when
14298         signs differ.
14300 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14302         [BZ #19881]
14303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14304         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
14305         memset-avx512-unaligned-erms.
14306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14307         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
14308         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
14309         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
14310         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
14311         __memset_sse2_unaligned_erms, __memset_erms,
14312         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
14313         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14314         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
14315         file.
14316         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
14317         Likewise.
14318         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
14319         Likewise.
14320         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
14321         Likewise.
14323 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
14325         [BZ #19776]
14326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14327         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
14328         memmove-avx512-unaligned-erms.
14329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14330         (__libc_ifunc_impl_list): Test
14331         __memmove_chk_avx512_unaligned_2,
14332         __memmove_chk_avx512_unaligned_erms,
14333         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
14334         __memmove_chk_sse2_unaligned_2,
14335         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
14336         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
14337         __memmove_avx512_unaligned_erms, __memmove_erms,
14338         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
14339         __memcpy_chk_avx512_unaligned_2,
14340         __memcpy_chk_avx512_unaligned_erms,
14341         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
14342         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
14343         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
14344         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
14345         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
14346         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
14347         __mempcpy_chk_avx512_unaligned_erms,
14348         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
14349         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
14350         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
14351         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
14352         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
14353         __mempcpy_erms.
14354         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
14355         file.
14356         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
14357         Likewise.
14358         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14359         Likewise.
14360         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
14361         Likewise.
14363 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14365         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
14366         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
14367         (La_s390_64_regs): Likewise.
14368         (La_s390_32_retval): Append vector register lrv_v24.
14369         (La_s390_64_retval): Likeweise.
14370         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
14371         Handle extended structs La_s390_32_regs and La_s390_32_retval.
14372         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
14373         Handle extended structs La_s390_64_regs and La_s390_64_retval.
14375 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14377         [BZ #19916]
14378         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
14379         to create a non-vector/vector version for _dl_runtime_resolve and
14380         _dl_runtime_profile. Move implementation to ...
14381         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
14382         (_dl_runtime_resolve) Save and restore fpr/vrs.
14383         (_dl_runtime_profile) Save and restore vrs and fix some issues
14384         if _dl_call_pltexit is called.
14385         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
14386         Choose the correct resolver function if running on a machine with vx.
14387         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
14388         to create a non-vector/vector version for _dl_runtime_resolve and
14389         _dl_runtime_profile. Move implementation to ...
14390         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
14391         (_dl_runtime_resolve) Save and restore fpr/vrs.
14392         (_dl_runtime_profile) Save and restore vrs and fix some issues
14393         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
14394         Choose the correct resolver function if running on a machine with vx.
14396 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14398         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
14400 2016-03-31  Florian Weimer  <fweimer@redhat.com>
14402         [BZ #19509]
14403         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
14404         skip_map != NULL.
14405         * elf/tst-dlsym-error.c: New file.
14406         * elf/Makefile (tests): Add tst-dlsym-error.
14407         (tst-dlsym-error): Link against libdl.
14409 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
14411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14412         (__ASSUME_FUTIMESAT): Remove macro.
14413         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
14415 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14417         [BZ #19879]
14418         CVE-2016-3075
14419         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
14420         copy name.
14422 2016-03-29  Florian Weimer  <fweimer@redhat.com>
14424         [BZ #19837]
14425         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
14426         error if parse_line fails.
14428 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14430         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
14431         (index_cpu_ERMS): Likewise.
14432         (reg_ERMS): Likewise.
14434 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
14436         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
14437         PER_LINUX_FDPIC): Add.
14439 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14442         memcpy-avx512-no-vzeroupper.
14443         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
14444         to ...
14445         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
14446         (MEMCPY): Don't define.
14447         (MEMCPY_CHK): Likewise.
14448         (MEMPCPY): Likewise.
14449         (MEMPCPY_CHK): Likewise.
14450         (MEMPCPY_CHK): Renamed to ...
14451         (__mempcpy_chk_avx512_no_vzeroupper): This.
14452         (MEMPCPY_CHK): Renamed to ...
14453         (__mempcpy_chk_avx512_no_vzeroupper): This.
14454         (MEMCPY_CHK): Renamed to ...
14455         (__memmove_chk_avx512_no_vzeroupper): This.
14456         (MEMCPY): Renamed to ...
14457         (__memmove_avx512_no_vzeroupper): This.
14458         (__memcpy_avx512_no_vzeroupper): New alias.
14459         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
14461 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14463         [BZ #18858]
14464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14465         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
14466         and mempcpy-avx512-no-vzeroupper.
14467         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
14468         New.
14469         (MEMPCPY): Likewise.
14470         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
14471         (MEMPCPY_CHK): New.
14472         (MEMPCPY): Likewise.
14473         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
14474         (MEMPCPY): Likewise.
14475         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
14476         (MEMPCPY): Likewise.
14477         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
14478         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
14479         Likewise.
14480         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
14481         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
14483 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
14484              Amit Pawar  <Amit.Pawar@amd.com>
14486         [BZ #19583]
14487         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14488         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
14489         processors.  Set Fast_Copy_Backward for AMD Excavator
14490         processors.
14491         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
14492         New.
14493         (index_arch_Fast_Unaligned_Copy): Likewise.
14494         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
14495         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
14497 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14499         [BZ #19791]
14500         * resolv/res_send.c (close_and_return_error): New function.
14501         (send_dg): Initialize *resplen2 after reopen failure.  Call
14502         close_and_return_error for error returns.  On error paths without
14503         __res_iclose, initialze *resplen2 explicitly.  Update comment for
14504         successful return.
14506 2016-03-25  Florian Weimer  <fweimer@redhat.com>
14508         [BZ# 19860]
14509         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
14510         zero if the compiler does not provide the AVX512F bit.
14512 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
14514         [BZ #19848]
14515         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
14516         from 8 to 4.
14517         (__ieee754_powl): Compare integer exponent against 4 not 8.
14518         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
14519         from 8 to 4.
14520         (__ieee754_powl): Compare integer exponent against 4 not 8.
14521         * math/auto-libm-test-in: Add more tests of pow.
14522         * math/auto-libm-test-out: Regenerated.
14523         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
14524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14526 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14528         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
14529         Make code unconditional.
14530         [!__NR_utimensat]: Remove conditional code.
14531         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
14532         Make code unconditional.
14533         [!__NR_utimensat]: Remove conditional code.
14534         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
14535         Make code unconditional.
14536         [!__NR_utimensat]: Remove conditional code.
14538 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
14540         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
14541         Make code unconditional.
14543 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
14545         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
14546         call-clobbered %eax on retry path.
14547         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14549 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14551         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
14552         Don't set %rcx twice before "rep movsb".
14554 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
14556         [BZ #19583]
14557         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
14558         inline.  Check family before setting family, model and
14559         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
14560         bits here.
14561         (init_cpu_features): Replace HAS_CPU_FEATURE and
14562         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
14563         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
14564         for Intel processors with usable AVX2.  Call get_common_indeces
14565         for other processors with family == NULL.
14566         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
14567         (CPU_FEATURES_ARCH_P): Likewise.
14568         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
14569         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
14571 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14573         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
14574         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
14575         $(shared-thread-library) instead of hardcoding the path to libpthread.
14577 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
14579         * sysdeps/unix/sysv/linux/kernel-features.h
14580         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
14581         * sysdeps/unix/sysv/linux/getdents.c
14582         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
14583         [!have_no_getdents64_defined]: Likewise.
14584         (__GETDENTS): Remove __have_no_getdents64 conditional.
14586 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
14588         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
14589         Remove macro.
14590         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
14591         <kernel-features.h>.
14592         (signalfd) [__NR_signalfd4]: Make code unconditional.
14593         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
14595 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14597         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
14598         style.
14600 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
14602         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
14603         (__pthread_enable_asynccancel): Use JUMPTARGET to call
14604         __pthread_unwind.
14605         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14606         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
14607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14608         (__condvar_cleanup1): Likewise.
14610 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
14612         [BZ #19822]
14613         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
14614         move it to the final $@ location.
14616 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14618         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
14619         access where posix_spawn success and pid argument is null.
14620         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
14621         success case.
14623 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
14625         * sysdeps/mach/hurd/i386/c++-types.data: New file.
14627         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
14629         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
14630         and __fcntl.
14631         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
14632         __fcntl only.
14633         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
14634         adding attribute_hidden to __open and __fcntl.
14636         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
14637         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
14638         depend on libc-modules.h,
14639         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
14641 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
14643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
14644         Remove macro.
14645         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
14646         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
14647         entry.
14649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
14650         Remove macro.
14651         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
14652         include <kernel-features.h>.
14653         [!__ASSUME_FALLOCATE]: Remove conditional code.
14654         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
14656 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
14658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
14659         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
14660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
14661         (_ZGVdN4v_cos_avx2): Likewise.
14662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
14663         (_ZGVdN4v_cos): Likewise.
14664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
14665         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
14666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
14667         (_ZGVdN4v_exp_avx2): Likewise.
14668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
14669         (_ZGVdN4v_exp): Likewise.
14670         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
14671         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
14672         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
14673         (_ZGVdN4v_log_avx2): Likewise.
14674         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
14675         (_ZGVdN4v_log): Likewise.
14676         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
14677         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
14678         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
14679         (_ZGVdN4vv_pow_avx2): Likewise.
14680         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
14681         (_ZGVdN4vv_pow): Likewise.
14682         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
14683         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
14684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
14685         (_ZGVdN4v_sin_avx2): Likewise.
14686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
14687         (_ZGVdN4v_sin): Likewise.
14688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
14689         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
14690         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
14691         (_ZGVdN4vvv_sincos_avx2): Likewise.
14692         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
14693         (_ZGVdN4vvv_sincos): Likewise.
14694         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
14695         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
14696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
14697         (_ZGVbN4v_cosf_sse4): Likewise.
14698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
14699         (_ZGVdN8v_cosf_avx2): Likewise.
14700         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
14701         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
14702         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
14703         (_ZGVbN4v_expf_sse4): Likewise.
14704         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
14705         (_ZGVdN8v_expf_avx2): Likewise.
14706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
14707         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
14708         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
14709         (_ZGVbN4v_logf_sse4): Likewise.
14710         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
14711         (_ZGVdN8v_logf_avx2): Likewise.
14712         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
14713         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
14714         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
14715         (_ZGVbN4vv_powf_sse4): Likewise.
14716         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
14717         (_ZGVdN8vv_powf_avx2): Likewise.
14718         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14719         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
14720         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14721         (_ZGVbN4vvv_sincosf_sse4): Likewise.
14722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14723         (_ZGVdN8vvv_sincosf_avx2): Likewise.
14724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
14725         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
14726         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
14727         (_ZGVbN4v_sinf_sse4): Likewise.
14728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
14729         (_ZGVdN8v_sinf_avx2): Likewise.
14730         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14731         Use JUMPTARGET to call callee.
14732         (WRAPPER_IMPL_SSE2_ff): Likewise.
14733         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14734         (WRAPPER_IMPL_AVX): Likewise.
14735         (WRAPPER_IMPL_AVX_ff): Likewise.
14736         (WRAPPER_IMPL_AVX_fFF): Likewise.
14737         (WRAPPER_IMPL_AVX512): Likewise.
14738         (WRAPPER_IMPL_AVX512_ff): Likewise.
14739         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
14740         Likewise.
14741         (WRAPPER_IMPL_SSE2_ff): Likewise.
14742         (WRAPPER_IMPL_SSE2_fFF): Likewise.
14743         (WRAPPER_IMPL_AVX): Likewise.
14744         (WRAPPER_IMPL_AVX_ff): Likewise.
14745         (WRAPPER_IMPL_AVX_fFF): Likewise.
14746         (WRAPPER_IMPL_AVX512): Likewise.
14747         (WRAPPER_IMPL_AVX512_ff): Likewise.
14748         (WRAPPER_IMPL_AVX512_fFF): Likewise.
14750 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14752         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
14753         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
14754         qualifier.
14755         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
14756         internal_function qualifiers.
14758 2016-03-15  Carlos O'Donell <carlos@redhat.com>
14760         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
14761         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
14762         * math/atest-exp.c (exp_mpn): Mark chk unused.
14763         * math/atest-exp2.c (exp_mpn): Likewise.
14764         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
14765         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
14767 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
14769         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
14770         Remove macro.
14771         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
14772         <kernel-features.h>.
14773         [__NR_ppoll]: Make code unconditional.
14774         [!__ASSUME_PPOLL]: Remove conditional code.
14776         * sysdeps/unix/sysv/linux/kernel-features.h
14777         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
14778         (__ASSUME_ACCEPT4): Likewise.
14779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14780         Define.
14781         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
14782         Likewise.
14783         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14784         Likewise.
14785         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
14786         Likewise.
14787         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
14788         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
14789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14790         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14791         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14793         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14794         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14795         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14797         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14798         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14799         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14801         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14803         Likewise.
14804         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14805         Likewise.
14806         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14807         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14808         0x040300].
14809         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14810         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14811         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14812         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14813         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14814         0x030300].
14815         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
14816         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14817         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14818         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14819         0x040300].
14820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14821         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14823         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14825         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14826         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
14827         0x030300].
14828         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14829         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14830         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14832         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14836         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14837         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
14838         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
14839         0x040300].
14840         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14841         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14842         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14843         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14844         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14845         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14846         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14847         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14849         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14851         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14853         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14854         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
14855         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14857         Likewise.
14858         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14859         Likewise.
14861 2016-03-15  Andreas Schwab  <schwab@suse.de>
14863         [BZ #19257]
14864         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
14865         statp->_u._ext.nscount as loop count.
14867 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
14869         * math/test-signgam-finite-c99.c: Also #undef
14870         __LIBC_INTERNAL_MATH_INLINES.
14871         * math/test-signgam-main.c: Likewise.
14873 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
14875         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
14876         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
14877         (MADV_FREE): Likewise.
14878         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
14879         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
14880         EPOLLEXCLUSIVE.
14882 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
14884         * timezone/README: Remove mention of checktab.awk. Mention wiki
14885         SharedSourceFiles.
14887 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
14889         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
14890         WUNTRACED.
14892 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14894         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
14895         order to match the type of p when calling atomic_exchange_acq().
14897 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14899         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
14900         cfi_offset calls.
14901         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
14902         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
14903         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
14904         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
14905         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
14907 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
14909         * timezone/checktab.awk: Removed.
14911 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
14913         * manual/math.texi (Errors in Math Functions): Document relaxed
14914         accuracy goals for IBM long double.
14915         * math/libm-test.inc (test_exceptions): Always allow spurious
14916         "underflow" and "inexact" exceptions for IBM long double.
14918 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
14920         [BZ #19762]
14921         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
14922         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
14923         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
14924         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
14925         (bit_arch_*): This for feature array.
14926         (bit_*): Renamed to ...
14927         (bit_cpu_*): This for cpu array.
14928         (index_*): Renamed to ...
14929         (index_arch_*): This for feature array.
14930         (index_*): Renamed to ...
14931         (index_cpu_*): This for cpu array.
14932         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
14933         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
14934         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
14935         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
14936         bit_##name with index_cpu_##name and bit_cpu_##name.
14937         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
14938         bit_##name with index_arch_##name and bit_arch_##name.
14940 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
14942         [BZ #19792]
14943         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
14944         Terminate FDE before return label.
14946 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
14948         [BZ #19790]
14949         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
14950         (rintl): Define as macro.
14951         [USE_AS_NEARBYINTL] (__rintl): Likewise.
14952         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
14953         of fesetround.  Ensure results are evaluated before end of scope.
14954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
14955         USE_AS_NEARBYINTL and include s_rintl.c.
14956         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
14957         Disable exception traps in new environment.
14958         (libc_feholdsetround_ppc_ctx): Likewise.
14960 2016-03-08  Roland McGrath  <roland@hack.frob.com>
14962         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
14963         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
14964         (tst_audit10_aux) [__AVX512F__]: ... here.
14966 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
14968         * include/sys/auxv.h: New file.
14970 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14972         [BZ #19759]
14973         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
14975 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14977         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
14978         operand modifier.
14979         (feclearexcept): Likewise.
14981 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14983         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
14984         to reflect the entire 32-bit HWCAP.
14985         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
14986         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
14988 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
14990         [BZ #19783]
14991         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
14992         $(test-via-rtld-prefix).
14993         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
14995 2016-03-08  Florian Weimer  <fweimer@redhat.com>
14997         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
14998         union wait.  Report any non-zero exit status as error.
15000 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15002         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
15003         configured with --enable-hardcoded-path-in-tests.
15005 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
15007         [BZ #19677]
15008         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15009         (__ieee754_remainderl): Put zero low parts in canonical form.
15010         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
15011         file.  Based on
15012         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
15013         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
15014         with wrapper round test-fmodrem-ldbl-128ibm.c.
15015         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
15016         file.
15017         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
15018         Likewise.
15019         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15020         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
15022 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15024         [BZ #19610]
15025         * elf/ldconfig.c (opt_link): Update comment.
15026         (options): Update help string for option -X.
15027         (search_dir): Unlink stale symbolic link only if updating symbolic
15028         links.
15029         * elf/tst-ldconfig-X.sh: New file.
15030         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
15031         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
15033 2016-03-07  Andreas Schwab  <schwab@suse.de>
15035         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
15036         needed arguments.
15038 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
15040         [BZ #15333]
15041         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
15042         to lstat64.
15044 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15046         * libio/filedoalloc.c (isatty): Remove.
15047         (local_isatty): Add comment.  Call __isatty directly.
15048         (_IO_file_doallocate): Update comment.  Assume _LIBC.
15049         * libio/wfiledoalloc.c (isatty): Remove.
15050         (_IO_wfile_doallocate): Update comment.
15052 2016-03-07  Florian Weimer  <fweimer@redhat.com>
15054         [BZ #19269]
15055         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
15056         tst-audit4-aux.o.
15057         (tst-audit10): Depend on tst-audit10-aux.o.
15058         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
15059         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
15060         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
15061         instead of inline AVX code.
15062         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
15063         instead of inline AVX512 code.
15064         * sysdeps/x86_64/tst-audit4-aux.c: New file
15065         * sysdeps/x86_64/tst-audit10-aux.c: New file
15067         [BZ #19648]
15068         * test-skeleton.c (main): Do not set RLIMIT_DATA.
15070 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15072         [BZ #14750]
15073         [BZ #10354]
15074         [BZ #18433]
15075         * include/sched.h (__clone): Add hidden prototype.
15076         (__clone2): Likewise.
15077         * include/unistd.h (__dup): Likewise.
15078         * posix/Makefile (tests): Add tst-spawn2.
15079         * posix/tst-spawn2.c: New file.
15080         * sysdeps/posix/dup.c (__dup): Add hidden definition.
15081         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
15082         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15083         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15084         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15085         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15086         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
15087         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15088         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
15089         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15090         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15092         Likewise.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15094         Likewise.
15095         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15096         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15097         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15098         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15099         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15100         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15101         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15102         * sysdeps/unix/sysv/linux/nptl-signals.h
15103         (____nptl_is_internal_signal): New function.
15104         * sysdeps/unix/sysv/linux/spawni.c: New file.
15106         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
15107         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
15108         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
15109         * posix/tst-execvp2.c (do_test): Likewise.
15110         * posix/tst-execvp3.c (do_test): Likewise.
15111         * posix/tst-execvp4.c (do_test): Likewise.
15112         * posix/tst-execvpe1.c: New file.
15113         * posix/tst-execvpe2.c: Likewise.
15114         * posix/tst-execvpe3.c: Likewise.
15115         * posix/tst-execvpe4.c: Likewise.
15116         * posix/tst-execvpe5.c: Likewise.
15117         * posix/tst-execvpe6.c: Likewise.
15119         [BZ #19534]
15120         * posix/execl.c (execl): Remove dynamic memory allocation.
15121         * posix/execle.c (execle): Likewise.
15122         * posix/execlp.c (execlp): Likewise.
15124 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15126         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
15127         Replace .text with .text.avx512.
15128         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15129         Likewise.
15131 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
15133         * sysdeps/generic/libnsl.abilist: New file.
15134         * sysdeps/generic/libutil.abilist: New file.
15136 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15138         [BZ #19762]
15139         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
15140         HAS_ARCH_FEATURE with Fast_Rep_String.
15141         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
15142         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
15143         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
15144         Likewise.
15145         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
15146         Likewise.
15147         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
15148         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
15149         Likewise.
15150         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
15151         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
15152         Likewise.
15154 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15156         [BZ #19745]
15157         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
15158         with *%rax in call.
15160 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15162         [BZ #19745]
15163         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
15164         with *__libc_start_main@GOTPCREL(%rip) in call.
15166 2016-03-04  Roland McGrath  <roland@hack.frob.com>
15168         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
15169         inside conditional for nonempty $(CXX).
15171         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
15172         nonempty.
15174         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
15175         to test for empty $(CXX) rather than $(CXX) of "no".
15177 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
15179         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
15181 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
15182             H.J. Lu  <hongjiu.lu@intel.com>
15184         [BZ #18880]
15185         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
15186         instead of Slow_BSF, and also check for Fast_Copy_Backward to
15187         enable __memcpy_ssse3_back.
15189 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15191         [BZ #19758]
15192         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15193         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
15195 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15197         [BZ #19490]
15198         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
15199         (__fentry__): Likewise.
15201 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
15203         * gmon/Makefile (noprof): Add $(sysdep_noprof).
15204         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
15206 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15208         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
15209         __mcount_internal directly.
15210         (C_LABEL(__fentry__)): Likewise.
15211         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
15212         directly.
15214 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
15216         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15217         (__start_context): Call __setcontext directly.
15219 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
15221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15222         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15223         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
15224         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15226         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15227         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
15228         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15229         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15230         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
15231         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15232         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15233         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15234         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15235         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15237         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
15238         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15239         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15240         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
15241         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
15242         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15243         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15244         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
15245         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
15246         Remove conditional code.
15247         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15248         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
15249         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15250         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15251         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
15252         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15253         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
15254         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15255         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
15256         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15257         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15258         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
15260 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
15262         * NEWS (2.23): Fix typo in bug 19048 text.
15264 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
15266         [BZ #14259]
15267         * Makeconfig: Rename msgcatdir to localedir.
15268         Rename inst_msgcatdir to inst_localedir.
15269         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
15270         * config.make.in: Add localedir.
15271         * elf/Makefile ($(objpfx)sotruss): Use localedir.
15272         (ldd-rewrite): Likewise.
15273         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
15274         (install-others): Use inst_localedir.
15275         (CPPFLAGS): Use localedir.
15276         * locale/Makefile (locale-CPPFLAGS): Likewise.
15277         * po/Makefile (mo-installed): Use inst_localedir.
15279         [BZ #19575]
15280         * localedata/charmaps/GB18030: Update comments regarding PAU to
15281         non-PUA mappings.
15283 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
15285         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
15286         test for header.
15287         * sysdeps/unix/sysv/linux/configure: Regenerated.
15288         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
15289         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
15290         Remove conditional code.
15291         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
15293         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15294         Define to 3.2.0.
15295         (arch_minimum_kernel): Likewise.
15296         * sysdeps/unix/sysv/linux/configure: Regenerated.
15297         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
15298         Define to 2.6.32.
15299         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
15300         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
15301         (arch_minimum_kernel): Define to 2.6.32.
15302         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
15303         * README: Document Linux 3.2 requirement.
15304         * manual/install.texi (Linux): Document Linux 3.2 headers
15305         requirement.
15306         * INSTALL: Regenerated.
15308 2016-02-24  Andreas Schwab  <schwab@suse.de>
15310         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
15311         if !NO_LONG_DOUBLE.
15313 2016-02-22  Roland McGrath  <roland@hack.frob.com>
15315         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
15316         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
15318 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
15320         [BZ #19512]
15321         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
15323 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15325         * posix/tst-dir.c: Include libc-internal.h.
15327 2016-02-20  Florian Weimer  <fweimer@redhat.com>
15329         [BZ #19056]
15330         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
15331         * manual/filesys.texi (Reading/Closing Directory): Mention
15332         deprecaion.
15333         * posix/tst-dir.c (main): Disable deprecation warning in test.
15335 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
15337         [BZ #19679]
15338         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
15339         Renamed to ...
15340         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
15341         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15342         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
15343         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15344         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15345         * sysdeps/x86_64/dl-trampoline.h
15346         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
15347         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
15349 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15351         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
15353 2016-02-19  Mark Wielaard  <mjw@redhat.com>
15355         * elf/elf.h (R_386_GOT32X): New.
15356         (R_386_NUM): Update.
15357         (R_X86_64_GOTPCRELX: New.
15358         (R_X86_64_REX_GOTPCRELX): New.
15359         (R_X86_64_NUM): Update.
15361 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
15363         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
15365 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
15367         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
15368         assign attr->stackaddr to it, and adjust it down when
15369         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
15370         [_STACK_GROWS_UP]: Delete assert.
15371         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
15372         Implement stack grows up logic.
15373         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
15374         stack grows up logic.
15376 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15378         * NEWS: Update with 2.24 template.
15380 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15382         [BZ #19678]
15383         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15384         Ensure +0.0 is returned when taking the next value below the least
15385         positive value.
15387 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15389         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
15390         available.  Do not define NO_THREADS.
15391         * malloc/malloc.c: Do not check NO_THREADS.
15392         * malloc/arena.c: Likewise.
15394 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15396         * malloc/malloc.c (__libc_mallinfo): Update comment.
15397         (struct malloc_par): Remove max_total_mem member, it was always 0.
15398         (int_mallinfo): Store 0 into usmblks (no functional change).
15399         * malloc/hooks.c (struct malloc_state): Document that
15400         max_total_mem is always 0.
15401         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
15402         always 0.
15403         * manual/memory.texi (Statistics of Malloc): Likewise.
15405 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15407         * malloc/malloc.c (sysmalloc): Do not update arena_max.
15408         * malloc/arena.c (arena_max): Remove.
15409         (heap_trim, _int_new_arena): Do not update arena_max.
15411 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15413         * resolv/res_init.c (res_ninit): Update comment.
15415 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15417         [BZ #19505]
15418         * posix/spawn_int.h: Add headers and include guard.
15419         (__spawn_valid_fd): New function.
15420         * posix/spawn_faction_addopen.c
15421         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
15422         * posix/spawn_faction_addclose.c
15423         (posix_spawn_file_actions_addclose): Likewise.
15424         * posix/spawn_faction_adddup2.c
15425         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
15426         second file descriptor.
15427         * posix/spawn_valid_fd.c: New file.
15428         * posix/tst-posix_spawn-fd.c: New file.
15429         * posix/Makefile (routines): Add spawn_valid_fd.
15430         (tests): Add tst-posix_spawn-fd.
15432 2016-02-19  Florian Weimer  <fweimer@redhat.com>
15434         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
15435         (do_test): Limit the number of arenas, so that we can use fewer
15436         outer threads.  Limit timeout to 3 seconds, in preparation for a
15437         larger TIMEOUT value.
15439 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
15441         [BZ #19674]
15442         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
15443         sign in overflowing and underflowing results when overflow or
15444         underflow is detected early.  Include sign in result before rather
15445         than after scaling.
15447         [BZ #19603]
15448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
15449         (__ieee754_remainderl): Adjust sign of integer version of low part
15450         when taking absolute value of high part.
15451         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15452         * math/libm-test.inc (remainder_test_data): Add another test.
15453         (remquo_test_data): Likewise.
15455 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
15457         [BZ #19602]
15458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
15459         equal high parts and both low parts zero specially.
15460         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
15461         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15462         Add test-fmodl-ldbl-128ibm.
15464         [BZ #19595]
15465         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
15466         common logic for all cases of shifting subnormal results.  Do not
15467         insert sign bit in shifted mantissa.  Always pass -1023 as biased
15468         exponent to ldbl_insert_mantissa in subnormal case.
15470         [BZ #19594]
15471         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
15472         on high and low parts then adjust result and use
15473         ldbl_canonicalize_int if needed.
15475         [BZ #19593]
15476         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
15477         on high part and __floor or __ceil on low part then use
15478         ldbl_canonicalize_int if needed.
15480         [BZ #19592]
15481         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
15482         high and low parts then use ldbl_canonicalize_int if needed.
15484         [BZ #17899]
15485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
15486         New function.
15487         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
15488         on high and low parts then use ldbl_canonicalize_int if needed.
15490 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15492         * configure: Regenerated.
15494         * po/libc.pot: Regenerated.
15496         * po/be.po: Updated translation.
15497         * po/bg.po: Likewise.
15498         * po/ca.po: Likewise.
15499         * po/cs.po: Likewise.
15500         * po/da.po: Likewise.
15501         * po/el.po: Likewise.
15502         * po/eo.po: Likewise.
15503         * po/es.po: Likewise.
15504         * po/fi.po: Likewise.
15505         * po/fr.po: Likewise.
15506         * po/gl.po: Likewise.
15507         * po/hr.po: Likewise.
15508         * po/hu.po: Likewise.
15509         * po/ia.po: Likewise.
15510         * po/id.po: Likewise.
15511         * po/it.po: Likewise.
15512         * po/ja.po: Likewise.
15513         * po/lt.po: Likewise.
15514         * po/nb.po: Likewise.
15515         * po/nl.po: Likewise.
15516         * po/pt_BR.po: Likewise.
15517         * po/rw.po: Likewise.
15518         * po/sk.po: Likewise.
15519         * po/sl.po: Likewise.
15520         * po/sv.po: Likewise.
15521         * po/tr.po: Likewise.
15522         * po/zh_CN.po: Likewise.
15523         * po/zh_TW.po: Likewise.
15525         * version.h (RELEAES): Set to "development".
15526         (VERSION): Set to 2.23.90.
15528         * version.h (RELEASE): Set to "stable".
15529         (VERSION): Set to 2.23.
15530         * include/feature.h (__GLIBC_MINOR__): Set to 23.
15532         * NEWS: Updated fixed bugs.
15534 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
15535             Wilco Dijkstra  <wdijkstr@arm.com>
15537         [BZ #19462]
15538         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
15539         (_STRING_INLINE_unaligned): This.
15540         * include/string.h: Include <string_private.h>.
15541         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
15542         _STRING_INLINE_unaligned.
15543         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
15544         (_STRING_INLINE_unaligned): New.
15545         * sysdeps/aarch64/string_private.h: New file.
15546         * sysdeps/generic/string_private.h: Likewise.
15547         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
15548         * sysdeps/s390/string_private.h: Likewise.
15549         * sysdeps/x86/string_private.h: Likewise.
15550         * sysdeps/m68k/m680x0/m68020/bits/string.h
15551         (_STRING_ARCH_unaligned): Renamed to ...
15552         (_STRING_INLINE_unaligned): This.
15553         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
15554         to ...
15555         (_STRING_INLINE_unaligned): This.
15556         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
15557         to ...
15558         (_STRING_INLINE_unaligned): This.
15559         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
15560         to ...
15561         (_STRING_INLINE_unaligned): This.
15563 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15564             H.J. Lu  <hongjiu.lu@intel.com>
15566         [BZ #19590]
15567         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
15568         relocation.
15570 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
15572         [BZ #18665]
15573         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
15574         *herrno_p.
15575         (gaih_getanswer): Document functional behviour. Return tryagain
15576         if any result is tryagain.
15577         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
15578         when freed.
15579         * resolv/res_send.c: Add copyright text.
15580         (__libc_res_nsend): Document that MAXPACKET is expected.
15581         (send_vc): Document. Remove buffer reuse.
15582         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
15583         size of the buffer. Add Dprint for truncated UDP buffer.
15585 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
15587         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
15588         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
15589         * INSTALL: Regenerate.
15591 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
15592             Jonathan Wakely  <jwakely@redhat.com>
15593             Carlos O'Donell  <carlos@redhat.com>
15595         [BZ 19439]
15596         * math/Makefile (tests): Add test-math-isinff.
15597         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
15598         * math/bits/mathcalls.h [__USE_MISC]: Use
15599         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
15600         functions not in C++11 and which don't conflict e.g. isinff,
15601         isinfl etc.
15602         * math/test-math-isinff.cc: New file.
15604 2016-02-12  Florian Weimer  <fweimer@redhat.com>
15606         * misc/bug18240.c (do_test): Set RLIMIT_AS.
15608 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15610         [BZ #19529]
15611         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
15613 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15615         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15617 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #19550]
15620         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
15621         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
15622         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
15623         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
15624         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
15625         New syscall entry.
15626         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
15627         New syscall entry.
15628         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
15629         syscall entry.
15631 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
15633         [BZ #18240]
15634         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
15635         unsigned int wraparound.
15637 2016-01-27  Florian Weimer  <fweimer@redhat.com>
15639         [BZ #18240]
15640         * misc/bug18240.c: New test.
15641         * misc/Makefile (tests): Add it.
15643 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
15644             Joseph Myers  <joseph@codesourcery.com>
15646         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
15647         load in branch delay slot when less than a word of input left.
15649 2016-01-27  Andreas Schwab  <schwab@suse.de>
15651         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
15652         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
15653         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
15654         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
15656 2016-01-26  David S. Miller  <davem@davemloft.net>
15658         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
15660 2016-01-25  David S. Miller  <davem@davemloft.net>
15662         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
15663         __sqrtl_finite.
15664         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
15665         instead using versioned_symbol.
15666         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
15667         of entries.
15669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
15670         __sqrtl_finite to GLIBC_2.23
15672 2016-01-25  Ricchard Henderson  <rth@redhat.com>
15674         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15676 2016-01-25  Andreas Schwab  <schwab@suse.de>
15678         [BZ #17514]
15679         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
15680         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
15681         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
15682         * nptl/tst-mutex-errorcheck.c: New file.
15684 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15686         [BZ #18560]
15687         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
15688         (IPCOP_semop): Likewise.
15689         (IPCOP_semget): Likewise.
15690         (IPCOP_semctl): Likewise.
15691         (IPCOP_msgsnd): Likewise.
15692         (IPCOP_msgrcv): Likewise.
15693         (IPCOP_msgget): Likewise.
15694         (IPCOP_msgctl): Likewise.
15695         (IPCOP_shmat): Likewise.
15696         (IPCOP_shmdt): Likewise.
15697         (IPCOP_shmget): Likewise.
15698         (IPCOP_shmctl): Likewise.
15700 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
15702         * string/tst-endian.c: Include <libc-internal.h>.
15703         (do_test): Ignore tautological-compare warnings around
15704         "htobeXX (beXXtoh (i)) != i" and
15705         "htoleXX (leXXtoh (i)) != i" if-statements.
15707 2016-01-24  David S. Miller  <davem@davemloft.net>
15709         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
15710         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
15711         alias.
15712         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
15713         __sqrtl_finite.
15715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15717 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
15719         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
15720         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
15721         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15723 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15725         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
15726         (thread_func): Use new function to simplify barrier check.
15727         (do_test): Use new function to simplify checking barrier exit
15728         code, and actually join the child thread.
15730 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15732         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
15733         semicolon.
15734         (__libc_tend): Likewise.
15735         (__libc_tabort): Likewise.
15737 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
15739         * sysdeps/nios2/libm-test-ulps: Update.
15740         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
15741         (__gtsf2): Likewise.
15742         (__unorddf2): Likewise.
15743         (__unordsf2): Likewise.
15744         (__ledf2): Likewise.
15746 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
15748         * nis/nis_table.c (__follow_path): Disable diagnostic for
15749         uninitialized variable that is a false positive for gcc 4.7.
15750         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
15752 2016-01-20  Roland McGrath  <roland@hack.frob.com>
15754         * sysdeps/nacl/lowlevellock-futex.h
15755         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
15756         Always evaluate PRIVATE argument.
15758 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
15760         [BZ #19490]
15761         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
15762         (pthread_cond_broadcast): Use ENTRY/END
15763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
15764         (pthread_cond_signal): Likewise.
15765         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
15766         Likewise.
15767         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
15768         Likewise.
15769         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
15770         Likewise.
15772 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
15774         * sysdeps/ieee754/dbl-64/s_finite.c
15775         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
15776         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
15777         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
15778         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
15779         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
15781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15782         (__gtsf2): Add as optional for libc.so.
15783         (__unordsf2): Likewise.
15784         (__signbit): Remove for libc.so.
15785         (__signbitl): Likewise.
15787 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15789         * iconvdata/bug-iconv11.c (test_ibm93x):
15790         Use %zu printf format specifier for size_t argument.
15792 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
15794         * math/gen-libm-test.pl (parse_ulps): Do not reduce
15795         already-recorded ulps.
15796         * sysdeps/arm/libm-test-ulps: Regenerated.
15797         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15799         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15801 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15802             Paul Pluzhnikov  <ppluzhnikov@google.com>
15804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
15805         assembler not supporting AVX-512.
15807 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15809         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15811 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
15813         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15814         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15816         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15818         * sysdeps/arm/libm-test-ulps: Regenerated.
15820 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15822         [BZ #19451]
15823         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
15825 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15827         [BZ #19486]
15828         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
15829         * sysdeps/generic/fix-fp-int-convert-overflow.h
15830         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
15831         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
15832         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
15833         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
15834         Likewise.
15835         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
15836         Avoid conversions to long int where inexact exceptions
15837         could be raised.
15838         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
15839         Likewise.
15840         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
15841         Avoid conversions to long long int where inexact exceptions
15842         could be raised.
15843         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
15844         Likewise.
15846 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
15848         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
15849         * configure: Regenerated.
15851 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15853         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
15855 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
15857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
15858         outside of comment.
15860 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15862         * nptl/tst-barrier1.c: Add description on first line.
15863         * nptl/tst-barrier2.c: Likewise.
15864         * nptl/tst-barrier3.c: Likewise.
15865         * nptl/tst-barrier4.c: Likewise.
15866         * nptl/tst-barrier5.c: Likewise.
15868 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15870         [BZ #18868]
15871         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
15873 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
15875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
15876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15877         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
15878         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
15879         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
15880         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
15881         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15882         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15883         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15884         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15887 2016-01-15  Torvald Riegel  <triegel@redhat.com>
15889         [BZ #13065]
15890         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
15891         new implementation.
15892         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
15893         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
15894         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
15895         (BARRIER_IN_THRESHOLD): New macro.
15896         * nptl/pthread_barrierattr_setpshared.c
15897         (pthread_barrierattr_setpshared): Clean up.
15898         * nptl/tst-barrier4.c: Correct comment.
15899         * nptl/tst-barrier5.c: New file.
15900         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
15901         (gen-as-const-headers): Remove lowlevelbarrier.sym.
15902         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
15903         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
15904         * nptl/lowlevelbarrier.sym: Remove.
15905         * nptl/DESIGN-barrier.txt: Remove.
15906         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
15907         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
15908         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
15909         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
15910         error.
15911         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
15912         implementation.
15914 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15916         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
15917         (do_child): Mask SIGRTMIN while thr is running.
15919 2016-01-15  Martin Sebor  <msebor@redhat.com>
15921         [BZ #19432]
15922         * iconvdata/Makefile: Add bug-iconv11.
15923         * iconvdata/bug-iconv11.c: New test.
15924         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
15925         * iconvdata/ibm933.c: Same.
15926         * iconvdata/ibm935.c: Same.
15927         * iconvdata/ibm937.c: Same.
15928         * iconvdata/ibm939.c: Same.
15930 2016-01-15  Martin Sebor  <msebor@redhat.com>
15932         [BZ #19443]
15933         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
15934         [DEBUG] (_ufc_set_bits): Declare used.
15935         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
15936         [DEBUG] (print_all): Declare used.
15937         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
15938         operands of the ternary ?: expression to target type.
15939         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
15940         calling the undeclared abort.
15941         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
15943 2016-01-15  Martin Sebor  <msebor@redhat.com>
15945         [BZ #18755]
15946         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
15947         warnings.
15948         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
15949         (__gai_create_helper_thread): Same.
15950         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
15951         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
15952         to suppress -Wmaybe-uninitialized warnings.
15954 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
15956         [BZ #19465]
15957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
15958         inside if.
15959         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15960         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15961         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15963 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
15965         [BZ #19466]
15966         * time/tst-mktime2.c (time_t_max): Removed.
15967         (time_t_min): Likewise.
15968         (TYPE_SIGNED): New.
15969         (TYPE_MINIMUM): Likewise.
15970         (TYPE_MAXIMUM): Likewise.
15971         (TIME_T_MIN): Likewise.
15972         (TIME_T_MAX): Likewise.
15973         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
15974         and TIME_T_MIN.
15975         (do_test): Likewise.
15977 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
15979         [BZ #19467]
15980         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15981         index_Fast_Unaligned_Load flag for Excavator family CPUs.
15983 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
15985         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
15987 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
15989         * benchtests/Makefile (PYTHON): Define.
15990         (bench-func): Use $(PYTHON) to run python scripts.
15991         ($(objpfx)bench-%.c): Likewise.
15993 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
15995         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
15996         leading slash when `file_name' is "/".
15998 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
16000         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
16001         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
16002         Likewise.
16003         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
16004         Likewise.
16005         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
16006         Likewise.
16007         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
16008         enum constant and macro.
16009         (PTRACE_SETSIGMASK): Likewise.
16010         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16011         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16012         (PTRACE_GETSIGMASK): Likewise.
16013         (PTRACE_SETSIGMASK): Likewise.
16014         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16015         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
16016         Likewise.
16017         (PTRACE_SETSIGMASK): Likewise.
16018         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16020         (PTRACE_GETSIGMASK): Likewise.
16021         (PTRACE_SETSIGMASK): Likewise.
16022         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
16024         Likewise.
16025         (PTRACE_SETSIGMASK): Likewise.
16026         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
16028         Likewise.
16029         (PTRACE_SETSIGMASK): Likewise.
16030         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16031         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
16032         Likewise.
16033         (PTRACE_SETSIGMASK): Likewise.
16034         (PTRACE_SECCOMP_GET_FILTER): Likewise.
16036 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
16037             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16039         [BZ #19439]
16040         * math/bits/mathcalls.h
16041         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
16042         prototype.
16043         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
16045 2016-01-11  Andreas Schwab  <schwab@suse.de>
16047         [BZ #19253]
16048         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
16049         cache when TZDEFRULES was used.
16050         * time/tst-tzname.c: New file.
16051         * time/Makefile (test): Add tst-tzname.
16052         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
16053         * timezone/Makefile (test-zones): Add $(posixrules-file).
16054         ($(testdata)/$(posixrules-file)): New rule.
16056 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
16058         Fix doc quoting problems with Texinfo 5
16059         Without this change, in the info file output, Texinfo 5 quotes code
16060         in text with undirected single quotes 'like this' and generates
16061         code examples that with many PDF readers cannot be cut out of PDFs
16062         and pasted into code.
16063         * manual/libc.texinfo: Configure the libc manual like the GNU
16064         Emacs manual, by using @documentencoding and setting
16065         txicodequoteundirected and txicodequotebacktick.  This way,
16066         Texinfo 5 quotes code in text with directed single quotes ‘like
16067         this’ and produces examples that can be cut out of PDFs.  This
16068         change causes Texinfo 5 to generate info files that contain UTF-8
16069         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
16070         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
16072 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16074         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
16075         __libc_tabort, __libc_tend): New wrappers that enforce compiler
16076         barriers to their respective compiler built-ins.
16077         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
16078         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
16079         * sysdeps/powerpc/sysdep.h: Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
16081         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
16084 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
16086         * scripts/config.guess: Revert previous shebang change.
16087         * scripts/config.sub: Likewise.
16088         * scripts/mkinstalldirs: Likewise.
16090 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16092         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
16093         PPC_FEATURE2_HAS_IEEE128.
16094         * sysdeps/powerpc/dl-procinfo.c:
16095         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
16097 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
16099         [BZ #19415]
16100         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
16101         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
16102         (_dl_lookup_address): Rewrite using function resolver trampoline.
16103         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
16104         two bits in address.
16106 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16108         * longlong.h: Change !__SHMEDIA__ to
16109         (!defined (__SHMEDIA__) || !__SHMEDIA__).
16110         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
16112 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
16113             Joseph Myers  <joseph@codesourcery.com>
16114             Mark Shinwell  <shinwell@codesourcery.com>
16115             Andrew Stubbs  <ams@codesourcery.com>
16116             Rich Felker <dalias@libc.org>
16118         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
16120 2016-01-07  Richard Henderson  <rth@redhat.com>
16122         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
16124 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
16126         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
16127         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
16128         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16129         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
16130         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
16132 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16133             Joseph Myers  <joseph@codesourcery.com>
16135         * timezone/private.h: Update from tzcode 2015g.
16136         * timezone/tzfile.h: Likewise.
16137         * timezone/tzselect.ksh: Likewise.
16138         * timezone/zdump.c: Likewise.
16139         * timezone/zic.c: Likewise.
16140         * timezone/ialloc.c: Remove file.
16141         * timezone/scheck.c: Likewise.
16142         * timezone/Makefile (extra-objs): Remove variable.
16143         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
16144         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
16145         -Wno-maybe-uninitialized.
16146         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
16147         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
16148         (CFLAGS-ialloc.c): Remove variable.
16149         (CFLAGS-scheck.c): Likewise.
16150         * timezone/README: Update list of files from tzcode.
16152 2016-01-07  Khem Raj  <raj.khem@gmail.com>
16154         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
16155         instead of __fxprintf when _LIBC is undefined.
16157 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
16159         * catgets/test-gencat.sh: Remove space after shebang.
16160         * conform/GlibcConform.pm: Likewise.
16161         * conform/check-header-lists.sh: Likewise.
16162         * conform/conformtest.pl: Likewise.
16163         * conform/linknamespace.pl: Likewise.
16164         * conform/list-header-symbols.pl: Likewise.
16165         * debug/catchsegv.sh: Likewise.
16166         * elf/genrtldtbl.awk: Likewise.
16167         * elf/tst-pathopt.sh: Likewise.
16168         * elf/tst-rtld-load-self.sh: Likewise.
16169         * grp/tst_fgetgrent.sh: Likewise.
16170         * iconvdata/gen-8bit-gap-1.sh: Likewise.
16171         * iconvdata/gen-8bit-gap.sh: Likewise.
16172         * iconvdata/gen-8bit.sh: Likewise.
16173         * iconvdata/run-iconv-test.sh: Likewise.
16174         * intl/tst-gettext.sh: Likewise.
16175         * intl/tst-gettext2.sh: Likewise.
16176         * intl/tst-gettext4.sh: Likewise.
16177         * intl/tst-gettext6.sh: Likewise.
16178         * intl/tst-translit.sh: Likewise.
16179         * io/ftwtest-sh: Likewise.
16180         * libio/test-freopen.sh: Likewise.
16181         * locale/gen-translit.pl: Likewise.
16182         * malloc/tst-mtrace.sh: Likewise.
16183         * manual/check-safety.sh: Likewise.
16184         * manual/libc-texinfo.sh: Likewise.
16185         * manual/tsort.awk: Likewise.
16186         * manual/xtract-typefun.awk: Likewise.
16187         * nptl/tst-cancel-wrappers.sh: Likewise.
16188         * nptl/tst-tls6.sh: Likewise.
16189         * posix/globtest.sh: Likewise.
16190         * posix/tst-getconf.sh: Likewise.
16191         * posix/wordexp-tst.sh: Likewise.
16192         * scripts/check-c++-types.sh: Likewise.
16193         * scripts/check-local-headers.sh: Likewise.
16194         * scripts/config.guess: Likewise.
16195         * scripts/config.sub: Likewise.
16196         * scripts/cpp: Likewise.
16197         * scripts/cross-test-ssh.sh: Likewise.
16198         * scripts/documented.sh: Likewise.
16199         * scripts/evaluate-test.sh: Likewise.
16200         * scripts/gen-libc-abis: Likewise.
16201         * scripts/gen-sorted.awk: Likewise.
16202         * scripts/list-fixed-bugs.py: Likewise.
16203         * scripts/merge-test-results.sh: Likewise.
16204         * scripts/mkinstalldirs: Likewise.
16205         * scripts/rellns-sh: Likewise.
16206         * scripts/test-installation.pl: Likewise.
16207         * scripts/update-copyrights: Likewise.
16208         * stdio-common/tst-printf.sh: Likewise.
16209         * stdio-common/tst-unbputc.sh: Likewise.
16210         * stdlib/tst-fmtmsg.sh: Likewise.
16211         * stdlib/tst-setcontext3.sh: Likewise.
16212         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
16213         * sysdeps/unix/make-syscalls.sh: Likewise.
16215 2016-01-06  John David Anglin  <dave.anglin@bell.net>
16217         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
16218         asm stw with atomic_exchange_rel.  Add explanatory comment.
16219         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16220         Likewise.
16222 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16224         [BZ #19122]
16225         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
16226         * sysdeps/generic/dl-unistd.h: New file.
16227         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
16229 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
16231          [BZ #19122]
16232          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
16233          * sysdeps/generic/dl-mman.h: New file.
16234          * sysdeps/mach/hurd/dl-mman.h: Likewise.
16236 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
16238         * manual/texinfo.tex: Update to version 2016-01-04.21 with
16239         trailing whitespace removed.
16240         * scripts/config.guess: Update to version 2016-01-01.
16241         * scripts/config.sub: Update to version 2016-01-01.
16242         * scripts/move-if-change: Update from gnulib.
16244 2016-01-04  Anton Blanchard  <anton@samba.org>
16246         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
16247         for array indices.
16248         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
16250 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
16252         * NEWS: Update copyright dates.
16253         * catgets/gencat.c (print_version): Likewise.
16254         * csu/version.c (banner): Likewise.
16255         * debug/catchsegv.sh: Likewise.
16256         * debug/pcprofiledump.c (print_version): Likewise.
16257         * debug/xtrace.sh (do_version): Likewise.
16258         * elf/ldconfig.c (print_version): Likewise.
16259         * elf/ldd.bash.in: Likewise.
16260         * elf/pldd.c (print_version): Likewise.
16261         * elf/sotruss.sh: Likewise.
16262         * elf/sprof.c (print_version): Likewise.
16263         * iconv/iconv_prog.c (print_version): Likewise.
16264         * iconv/iconvconfig.c (print_version): Likewise.
16265         * locale/programs/locale.c (print_version): Likewise.
16266         * locale/programs/localedef.c (print_version): Likewise.
16267         * login/programs/pt_chown.c (print_version): Likewise.
16268         * malloc/memusage.sh (do_version): Likewise.
16269         * malloc/memusagestat.c (print_version): Likewise.
16270         * malloc/mtrace.pl: Likewise.
16271         * manual/libc.texinfo: Likewise.
16272         * nptl/version.c (banner): Likewise.
16273         * nscd/nscd.c (print_version): Likewise.
16274         * nss/getent.c (print_version): Likewise.
16275         * nss/makedb.c (print_version): Likewise.
16276         * posix/getconf.c (main): Likewise.
16277         * scripts/test-installation.pl: Likewise.
16278         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16280         * All files with FSF copyright notices: Update copyright dates
16281         using scripts/update-copyrights.
16282         * intl/plural.c: Regenerated.
16283         * locale/programs/charmap-kw.h: Likewise.
16284         * locale/programs/locfile-kw.h: Likewise.
16286 2016-01-02  Helge Deller  <deller@gmx.de>
16288         [BZ #19285]
16289         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
16290         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
16291         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
16292         (MADV_xxK_PAGES): Remove.
16294 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
16296         [BZ #15421]
16297         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
16298         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
16299         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
16300         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
16302 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
16304         [BZ #19408]
16305         * sysdeps/unix/sysv/linux/personality.c: New file.
16306         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
16307         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
16308         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
16309         (sysdep_routines): Add personality.
16310         (tests): Add tst-personality.
16311         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
16312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
16313         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
16314         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
16315         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
16316         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
16317         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
16318         Likewise.
16319         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
16320         Likewise.
16321         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
16322         Likewise.
16323         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
16324         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
16325         Likewise.
16327 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
16329         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
16330         (PATH_ARM_SYSTYPE): Remove.
16331         (PATH_CPUINFO): Likewise.
16332         (IO_BASE_FOOTBRIDGE): Likewise.
16333         (IO_SHIFT_FOOTBRIDGE): Likewise.
16334         (struct platform): Likewise.
16335         (init_iosys): Remove compatibility code for 2.4 kernels.
16336         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
16338 2015-12-29  Florian Weimer  <fweimer@redhat.com>
16340         * malloc/tst-malloc-thread-fail.c: New file.
16341         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
16342         (tst-malloc-thread-fail): Link against libpthread.
16344 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
16346         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
16347         (get_parser): New function.
16348         (main): New function.
16350 2015-12-29  Rob Wu  <rob@robwu.nl>
16352         [BZ #19369]
16353         * resolv/res_init.c (__res_vinit): Reset defdname before use.
16355 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
16357         [BZ #19270]
16358         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
16360 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
16362         [BZ #15421]
16363         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
16365 2015-12-23  Torvald Riegel  <triegel@redhat.com>
16367         [BZ #13690]
16368         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
16369         after releasing it.
16370         (__lll_robust_unlock): Likewise.
16371         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
16373         (lll_robust_unlock): Likewise.
16374         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
16375         Prevent warnings in callers.
16377 2015-12-23  Florian Weimer  <fweimer@redhat.com>
16379         * malloc/arena.c (list_lock): Update comment.
16381 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16383         * sysdeps/powerpc/hwcapinfo.c: Export symbol
16384         __parse_hwcap_and_convert_at_platform to libc.a.
16386 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16388         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
16389         platform and feature support for POWER9.
16390         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16391         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
16392         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
16393         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
16394         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
16395         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
16396         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
16397         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
16399 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16401         Harmonize generic stdio-lock support with nptl
16403         This fixes build when _IO_funlockfile is a macro, fixes build where
16404         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
16405         stack unwind.
16407         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
16408         _IO_release_lock ): Use cleanup attribute on new
16409         _IO_acquire_lock_file variable instead of assuming that
16410         _IO_release_lock will be called.
16411         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
16412         _IO_acquire_lock_needs_exceptions_enabled.
16413         (_IO_acquire_lock_clear_flags2): New macro.
16415 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16417         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16419 2015-12-21  Florian Weimer  <fweimer@redhat.com>
16421         [BZ #19182]
16422         * malloc/arena.c (list_lock): Document lock ordering requirements.
16423         (free_list_lock): New lock.
16424         (ptmalloc_lock_all): Comment on free_list_lock.
16425         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
16426         (detach_arena): Update comment.  free_list_lock is now needed.
16427         (_int_new_arena): Use free_list_lock around detach_arena call.
16428         Acquire arena lock after list_lock.  Add comment, including FIXME
16429         about incorrect synchronization.
16430         (get_free_list): Switch to free_list_lock.
16431         (reused_arena): Acquire free_list_lock around detach_arena call
16432         and attached threads counter update.  Add two FIXMEs about
16433         incorrect synchronization.
16434         (arena_thread_freeres): Switch to free_list_lock.
16435         * malloc/malloc.c (struct malloc_state): Update comments to
16436         mention free_list_lock.
16438 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16440         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
16441         Remove functions.
16442         (sloww, sloww1): Accept argument to offset quadrant.
16443         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
16444         quadrant.
16445         (__sin, __cos): Consolidate common code into new functions.
16446         (reduce_sincos_1, do_sincos_1): New functions.
16447         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16449         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
16450         code to new functions.
16451         (reduce_sincos_2, do_sincos_2): New functions.
16452         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
16454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
16455         common code for sincos.
16456         (__cos) [!IN_SINCOS]: Likewise.
16457         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
16458         New function.
16459         (__sincos): Use it.
16461 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
16463         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
16464         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
16465         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16467 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16469         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
16470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
16471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16472         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
16473         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16474         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
16475         index_Prefer_No_VZEROUPPER): New feature.
16476         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
16477         Prefer_No_VZEROUPPER for Knights Landing.
16479 015-12-18  Torvald Riegel  <triegel@redhat.com>
16481         * math/atest-exp2.c (mp_exp_m1): Remove.
16483 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16485         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
16486         syscalls.
16487         (__SYSCALL0): New macro.
16488         (__SYSCALL1): Likewise.
16489         (__SYSCALL2): Likewise.
16490         (__SYSCALL3): Likewise.
16491         (__SYSCALL4): Likewise.
16492         (__SYSCALL5): Likewise.
16493         (__SYSCALL6): Likewise.
16494         (__SYSCALL_CONCAT_X): Likewise.
16495         (__SYSCALL_CONCAT): Likewise.
16496         (__SYSCALL_DIST): Likewise.
16497         (__SYSCALL_CALL): Likewise.
16499 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
16501         [BZ #19363]
16502         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
16504 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16506         [BZ #19375]
16507         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
16508         negative subnormals.
16510 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
16512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16513         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
16514         (INTERNAL_SYSCALL_NCS): Use it.
16515         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16517 2015-12-16  Florian Weimer  <fweimer@redhat.com>
16519         [BZ #19243]
16520         * malloc/arena.c (get_free_list): Remove assert and adjust
16521         reference count handling.  Add comment about reused_arena
16522         interaction.
16523         (reused_arena): Add comments abount get_free_list interaction.
16524         * malloc/tst-malloc-thread-exit.c: New file.
16525         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
16526         (tst-malloc-thread-exit): Link against libpthread.
16528 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16530         [BZ #19367]
16531         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
16532         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
16533         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
16534         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
16535         (index_Prefer_MAP_32BIT_EXEC): Likewise.
16537 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
16539         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
16540         Silvermont optimizations for Knights Landing.
16542 2015-12-15  Andreas Schwab  <schwab@suse.de>
16544         [BZ #17197]
16545         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
16546         immediately after emitting SI.
16547         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
16548         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
16549         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
16550         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
16551         * iconvdata/bug-iconv10.c: New file.
16552         * iconvdata/Makefile (tests): Add bug-iconv10.
16553         ($(objpfx)bug-iconv10.out): New rule.
16555 2015-12-15  Florian Weimer  <fweimer@redhat.com>
16557         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
16558         aliasing violation.
16560 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
16562         [BZ #18472]
16563         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
16564         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
16565         conditionals for them.
16566         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
16567         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
16568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
16569         sys/kdaemon.h.
16570         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
16571         compat-only syscall, obsoleted in glibc 2.23.
16572         (create_module): Likewise.
16573         (get_kernel_syms): Likewise.
16574         (query_module): Likewise.
16575         (uselib): Likewise.
16576         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
16578 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
16580         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
16581         <linux/version.h>.
16582         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
16583         conditional code.
16584         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
16585         and ioshift_name initialization.
16587 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16590         Fix indentation.
16592 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16594         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
16596 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
16598         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
16600 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
16601             Jakub Wilk  <jwilk@debian.org>
16603         [BZ #19347]
16604         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
16605         to change the group of the device to the tty group.
16607 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
16609         Split large string section; add truncation advice
16610         * manual/examples/strncat.c: Remove.
16611         This example was misleading, as the code would have undefined
16612         behavior if "hello" was longer than SIZE.  Anyway, the manual
16613         shouldn't encourage strncpy+strncat for this sort of thing.
16614         * manual/string.texi (Copying Strings and Arrays): Split into
16615         three sections Copying Strings and Arrays, Concatenating Strings,
16616         and Truncating Strings, as this section was way too long.  All
16617         cross-referenced changed.  Add advice about string-truncation
16618         functions.  Remove misleading strncat example.
16620 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
16622         * manual/nss.texi (NSS Modules Interface): Document
16623         NSS_STATUS_NOTFOUND and SUCCESS.
16625 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16627         [BZ 18568]
16628         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16629         201505L, for Unicode 8.
16631 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
16633         * locale/C-translit.h: Regenerate.
16635 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
16637         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
16638         and U+0153.
16640 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
16642         [BZ #19351]
16643         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
16644         expanding log(1+z), compare z rather than its square with epsilon
16645         to determine when to avoid evaluating the expansion.
16647         [BZ #19350]
16648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16649         Increase overflow threshold.
16651         [BZ #19349]
16652         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
16653         when small.
16655         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16656         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16657         New macro.
16658         [__LINUX_KERNEL_VERSION >= 0x040300]
16659         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16661         Likewise.
16662         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16663         Likewise.
16664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16665         Likewise.
16666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16667         Likewise.
16668         [__LINUX_KERNEL_VERSION >= 0x040300]
16669         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16670         [__LINUX_KERNEL_VERSION >= 0x040300]
16671         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16672         [__LINUX_KERNEL_VERSION >= 0x040300]
16673         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16674         [__LINUX_KERNEL_VERSION >= 0x040300]
16675         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16676         [__LINUX_KERNEL_VERSION >= 0x040300]
16677         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16679         Likewise.
16680         [__LINUX_KERNEL_VERSION >= 0x040300]
16681         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16683         Likewise.
16684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16685         Likewise.
16686         [__LINUX_KERNEL_VERSION >= 0x040300]
16687         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16689         Likewise.
16690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16691         Likewise.
16692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16693         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
16694         Likewise.
16695         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
16696         Likewise.
16697         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
16698         Likewise.
16699         [__LINUX_KERNEL_VERSION >= 0x040300]
16700         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
16702         Likewise.
16703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
16704         Likewise.
16705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
16706         Likewise.
16707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
16708         Likewise.
16709         [__LINUX_KERNEL_VERSION >= 0x040300]
16710         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
16711         [__LINUX_KERNEL_VERSION >= 0x040300]
16712         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16713         [__LINUX_KERNEL_VERSION >= 0x040300]
16714         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16715         [__LINUX_KERNEL_VERSION >= 0x040300]
16716         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16717         [__LINUX_KERNEL_VERSION >= 0x040300]
16718         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16719         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
16720         Likewise.
16721         [__LINUX_KERNEL_VERSION >= 0x040300]
16722         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
16723         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
16724         Likewise.
16725         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
16726         Likewise.
16727         [__LINUX_KERNEL_VERSION >= 0x040300]
16728         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
16729         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
16730         Likewise.
16731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
16732         Likewise.
16733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16734         (__ASSUME_SOCKET_SYSCALL): Likewise.
16735         (__ASSUME_BIND_SYSCALL): Likewise.
16736         (__ASSUME_CONNECT_SYSCALL): Likewise.
16737         (__ASSUME_LISTEN_SYSCALL): Likewise.
16738         (__ASSUME_ACCEPT_SYSCALL): Likewise.
16739         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16740         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16741         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16742         (__ASSUME_SEND_SYSCALL): Likewise.
16743         (__ASSUME_SENDTO_SYSCALL): Likewise.
16744         (__ASSUME_RECV_SYSCALL): Likewise.
16745         (__ASSUME_RECVFROM_SYSCALL): Likewise.
16746         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
16747         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16748         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16749         (__ASSUME_SENDMSG_SYSCALL): Likewise.
16750         (__ASSUME_RECVMSG_SYSCALL): Likewise.
16751         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16752         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
16753         Likewise.
16754         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
16755         Likewise.
16756         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
16757         Likewise.
16758         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
16759         Likewise.
16760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
16761         Likewise.
16762         [__LINUX_KERNEL_VERSION >= 0x020625]
16763         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
16764         [__LINUX_KERNEL_VERSION >= 0x020625]
16765         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
16766         [__LINUX_KERNEL_VERSION >= 0x020625]
16767         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
16768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
16769         Likewise.
16770         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
16771         Likewise.
16772         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
16773         Likewise.
16774         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
16775         Likewise.
16776         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
16777         Likewise.
16778         [__LINUX_KERNEL_VERSION >= 0x020625]
16779         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
16780         [__LINUX_KERNEL_VERSION >= 0x020625]
16781         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
16782         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
16783         Likewise.
16784         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
16785         Likewise.
16787 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16789         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
16790         record the current if the current ABI and CPU support the FP64
16791         extension.
16792         (has-modd-spreg): Define to record the current if the current ABI and
16793         CPU support 32-bit floating point values in odd FPU registers.
16794         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16795         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
16796         $(has-modd-spreg) equals yes.
16797         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
16798         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
16799         $(has-modd-spreg) equal yes.
16801 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
16803         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
16804         basename.
16806 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
16808         * benchtests/Makefile (bench-math): Move ffs and ffsll...
16809         (bench-string): ... here.
16810         (bench): Add bench-string.
16811         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
16812         to *-benchset to reflect what they are.
16813         (benchset): Adjust.
16815         * benchtests/sincos-inputs: Add inputs from sin-inputs and
16816         cos-inputs.
16818 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
16820         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
16821         __attribute__ ((__simd__)) for vector math function declarations.
16823 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16825         Fix typo in strncat, wcsncat manual entries
16826         * manual/string.texi (Copying and Concatenation): Fix typos in
16827         sample implementations of strncat and wcsncat, by having them use
16828         the old value of the destination length, not the new one.
16830 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
16832         [BZ #16961]
16833         [BZ #16962]
16834         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
16835         string on the stack for strtod.
16836         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
16837         a string on the stack for strtof.
16838         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
16839         constructing a string on the stack for strtold.
16840         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
16841         __strtold_nan to GLIBC_PRIVATE.
16842         * math/test-nan-overflow.c: New file.
16843         * math/test-nan-payload.c: Likewise.
16844         * math/Makefile (tests): Add test-nan-overflow and
16845         test-nan-payload.
16847 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16849         Consistency about byte vs character in string.texi
16850         * manual/string.texi (String and Array Utilities):
16851         Distinguish more carefully among bytes, multibyte characters,
16852         and wide characters.  Use "byte" when talking about C 'char',
16853         to distinguish it more clearly from multibyte characters.
16854         Say "wide character" or "multibyte character" instead of
16855         "character", when a wide or multibyte character is intended.
16856         Similarly for "multibyte string" versus "string".
16857         Define these terms more carefully.
16859 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
16861         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
16862         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
16863         Likewise.
16864         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16865         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
16866         * sysdeps/sh/math_private.h: New file.
16867         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
16868         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
16869         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
16870         long double function name.
16871         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16872         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16873         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16874         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
16875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16877         Remove __finitel, __isinfl, and __isnanl.
16878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16879         Likewise.
16880         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16882         Remove __finitel.
16883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16884         Likewise.
16885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16887 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
16889         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
16890         installed libmvec_nonshared.a.
16892 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16894         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
16895         (sysdep_routines): Likewise.
16896         (sysdep-rtld-routines): Likewise.
16897         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
16898         [$(subdir) = nptl](tests-static): test-get_hwcap-static
16899         * sysdeps/powerpc/Versions: Added new
16900         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
16901         * sysdeps/powerpc/hwcapinfo.c: New file.
16902         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
16903         and parse hwcap, hwcap2 and platform number information.
16904         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
16905         to store HWCAP+HWCAP2 and platform number.
16906         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
16907         for HWCAP+HWCAP2 and platform number in the TCB.
16908         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
16909         the HWCAP, HWCAP2 and platform number in the TCB.
16910         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
16911         (TLS_INIT_TP): Included calls to add the hwcap and
16912         at_platform values in the TCB in TP initialization.
16913         (TLS_DEFINE_INIT_TP): Likewise.
16914         (THREAD_GET_HWCAP): New macro.
16915         (THREAD_SET_HWCAP): Likewise.
16916         (THREAD_GET_AT_PLATFORM): Likewise.
16917         (THREAD_SET_AT_PLATFORM): Likewise.
16918         * sysdeps/powerpc/powerpc32/dl-machine.h:
16919         (dl_platform_init): New function that calls
16920         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
16921         powerpc32.
16922         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
16923         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
16924         this functionality, static linking case.
16925         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
16926         linking case.
16927         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
16928         __parse_hwcap_and_convert_at_platform for the static linking case.
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
16930         Included the new __parse_hwcap_and_convert_at_platform symbol in the
16931         ABI list for GLIBC 2.23.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
16933         Likewise.
16934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
16935         Likewise.
16937 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
16939         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
16940         * configure: Regenerate.
16941         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
16942         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
16944 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
16946         * iconvdata/ibm930.c: Add comment explaining encoding uses.
16947         * iconvdata/ibm933.c: Likewise.
16948         * iconvdata/ibm935.c: Likewise.
16949         * iconvdata/ibm937.c: Likewise.
16950         * iconvdata/ibm939.c: Likewise.
16952 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16954         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
16955         pthread_join.
16956         * nptl/tst-cancel21.c (tf): Likewise.
16958 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
16960         [BZ #19313]
16961         * bits/typesizes.h (__CPU_MASK_TYPE): New.
16962         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16963         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
16964         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
16965         Likewise.
16966         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
16967         Likewise.
16968         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
16971         Likewise.
16972         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
16973         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
16974         unsigned long int with __CPU_MASK_TYPE.
16976 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16978         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16980 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
16982         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
16983         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
16984         t512.x.
16985         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
16987 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
16989         [BZ #19214]
16990         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
16991         argument to return extended model.  Update family and model
16992         with extended family and model when family == 0x0f.
16993         (init_cpu_features): Updated.
16995 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16997         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
16998         signed off_t, so 32bit bigger than 2GiB values are fine actually.
17000         * sysdeps/mach/hurd/mmap64.c: New file.
17002 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
17004         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
17005         rights for its main user thread in NEWTASK.
17007 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
17009         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
17010         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
17012 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
17014         [BZ #14259]
17015         * Makeconfig: Rename localedir to complocaledir.
17016         Rename inst_localedir to inst_complocaledir.
17017         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
17018         * config.make.in: Use complocaledir and libc_cv_complocaledir.
17019         * configure.ac: Use libc_cv_complocaledir.
17020         * configure: Regenerate.
17021         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
17022         -DCOMPLOCALEDIR.
17023         * locale/findlocale.c: Use COMPLOCALEDIR.
17024         * locale/loadarchive.c: Likewise.
17025         * locale/programs/locale.c: Likewise.
17026         * locale/programs/localedef.c: Likewise.
17027         * locale/programs/locarchive.c: Likewise.
17028         * localedata/Makefile: Use inst_complocaledir.
17029         * sysdeps/gnu/configure: Regenerate.
17030         * sysdeps/hppa/configure: Regenerate.
17031         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
17032         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17034         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
17035         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
17036         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
17037         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
17039 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
17041         [BZ #19058]
17042         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
17043         AS_NEEDED.
17044         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
17045         workaround.
17046         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
17047         libmvec-static-only-routines): Added new file.
17048         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
17050 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17052         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
17053         of interrupted RPC instead of restoring it.
17055         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
17056         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
17057         libc_hidden_def.
17058         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
17059         into initialized data instead of common. Define rtld_hidden_data_def.
17060         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
17061         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
17062         libc_hidden_def.
17063         (if_freenameindex): Add libc_hidden_weak.
17064         (if_nameindex): Add libc_hidden_weak.
17065         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
17066         __open64.
17067         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
17068         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
17069         * sysdeps/mach/nanosleep.c: Include <time.h>
17070         (__nanosleep): Rename to __libc_nanosleep.
17071         (__nanosleep): Add weak_alias.
17072         (nanosleep): Update alias.
17074 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
17076         * stdlib/strtod_nan.c: New file.
17077         * stdlib/strtod_nan_double.h: Likewise.
17078         * stdlib/strtod_nan_float.h: Likewise.
17079         * stdlib/strtod_nan_main.c: Likewise.
17080         * stdlib/strtod_nan_narrow.h: Likewise.
17081         * stdlib/strtod_nan_wide.h: Likewise.
17082         * stdlib/strtof_nan.c: Likewise.
17083         * stdlib/strtold_nan.c: Likewise.
17084         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
17085         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
17086         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
17087         * wcsmbs/wcstod_nan.c: Likewise.
17088         * wcsmbs/wcstof_nan.c: Likewise.
17089         * wcsmbs/wcstold_nan.c: Likewise.
17090         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
17091         strtold_nan.
17092         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
17093         wcstof_nan.
17094         * include/stdlib.h (__strtof_nan): Declare and use
17095         libc_hidden_proto.
17096         (__strtod_nan): Likewise.
17097         (__strtold_nan): Likewise.
17098         (__wcstof_nan): Likewise.
17099         (__wcstod_nan): Likewise.
17100         (__wcstold_nan): Likewise.
17101         * include/wchar.h (____wcstoull_l_internal): Declare.
17102         * stdlib/strtod_l.c: Do not include <ieee754.h>.
17103         (____strtoull_l_internal): Remove declaration.
17104         (STRTOF_NAN): Define macro.
17105         (SET_MANTISSA): Remove macro.
17106         (STRTOULL): Likewise.
17107         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
17108         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
17109         (STRTOF_NAN): Define macro.
17110         (SET_MANTISSA): Remove macro.
17111         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
17112         (SET_MANTISSA): Remove macro.
17113         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
17114         macro.
17115         (SET_MANTISSA): Remove macro.
17116         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
17117         macro.
17118         (SET_MANTISSA): Remove macro.
17119         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
17120         (SET_MANTISSA): Remove macro.
17121         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
17122         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
17123         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
17125         [BZ #19266]
17126         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
17127         upper case and lower case letters inside NAN(), not using TOLOWER.
17128         * stdlib/tst-strtod-nan-locale-main.c: New file.
17129         * stdlib/tst-strtod-nan-locale.c: Likewise.
17130         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
17131         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
17132         Depend on $(gen-locales).
17133         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
17134         * wcsmbs/tst-wcstod-nan-locale.c: New file.
17135         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
17136         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
17137         Depend on $(gen-locales).
17138         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
17140 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
17142         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
17144         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
17146         __finitel, __isinfl, and __isnanl.
17147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17148         Likewise.
17149         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
17151         __finitel.
17152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17153         Likewise.
17154         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17156 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17158         * malloc/memusage.c (me): Remove redundant getenv call.
17160 2015-10-24  Florian Weimer  <fweimer@redhat.com>
17162         [BZ #19143]
17163         [BZ #19164]
17164         * nptl/check-cpuset.h: Remove.
17165         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
17166         Remove CPU set size check.
17167         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
17168         Likewise.
17169         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
17170         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17171         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
17172         (__pthread_setaffinity_new): Remove CPU set size check.
17173         * sysdeps/unix/sysv/linux/sched_setaffinity.c
17174         (__kernel_cpumask_size): Remove.
17175         (__sched_setaffinity_new): Remove CPU set size check.
17176         * manual/threads.texi (Default Thread Attributes): Remove stale
17177         reference to check_cpuset_attr, determine_cpumask_size in comment.
17178         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
17179         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
17180         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
17181         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
17182         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
17183         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
17184         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
17185         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
17186         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
17187         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
17188         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
17189         skeleton test file.
17190         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
17191         tst-affinity-pid.
17193 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17195         * scripts/update-abilist.sh: New file.
17196         * Makefile (+subdir_targets): Add subdir_update-all-abi.
17197         * Makerules (update-all-abi-%, update-all-abi)
17198         (subdir_update-all-abi): New targets.
17199         * elf/Makefile (update-all-abi): New target.
17201 2015-11-24  Florian Weimer  <fweimer@redhat.com>
17203         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
17204         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
17205         (__libc_lock_define_initialized): Use it.
17206         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
17207         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
17208         * malloc/malloc.c (main_arena): Likewise.
17209         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17210         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
17212 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
17214         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17215         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
17216         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17217         (PTRACE_O_MASK): Update value.
17218         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
17219         New value in enum __ptrace_setoptions.
17220         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17221         (PTRACE_O_MASK): Update value.
17222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17223         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17224         (PTRACE_O_MASK): Update value.
17225         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
17226         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17227         (PTRACE_O_MASK): Update value.
17228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
17229         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
17230         (PTRACE_O_MASK): Update value.
17231         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
17232         New value in enum __ptrace_setoptions.
17233         (PTRACE_O_MASK): Update value.
17234         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
17235         New value in enum __ptrace_setoptions.
17236         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
17237         (PTRACE_O_MASK): Update value.
17239         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
17240         New macro.
17241         (PACKET_AUXDATA): Likewise.
17242         (PACKET_ORIGDEV): Likewise.
17243         (PACKET_VERSION): Likewise.
17244         (PACKET_HDRLEN): Likewise.
17245         (PACKET_RESERVE): Likewise.
17246         (PACKET_TX_RING): Likewise.
17247         (PACKET_LOSS): Likewise.
17248         (PACKET_VNET_HDR): Likewise.
17249         (PACKET_TX_TIMESTAMP): Likewise.
17250         (PACKET_TIMESTAMP): Likewise.
17251         (PACKET_FANOUT): Likewise.
17252         (PACKET_TX_HAS_OFF): Likewise.
17253         (PACKET_QDISC_BYPASS): Likewise.
17254         (PACKET_ROLLOVER_STATS): Likewise.
17255         (PACKET_FANOUT_DATA): Likewise.
17256         (PACKET_MR_UNICAST): Likewise.
17258         [BZ #19242]
17259         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
17260         (TOUPPER): Likewise.
17261         * stdlib/tst-strtol-locale-main.c: New file.
17262         * stdlib/tst-strtol-locale.c: Likewise.
17263         * stdlib/Makefile (tests): Add tst-strtol-locale.
17264         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
17265         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
17266         Depend on $(gen-locales).
17267         * wcsmbs/tst-wcstol-locale.c: New file.
17268         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
17269         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
17270         tr_TR.ISO-8859-9.
17271         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
17272         Depend on $(gen-locales).
17274 2015-11-20  Roland McGrath  <roland@hack.frob.com>
17276         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
17277         __glibc_likely instead of __builtin_expect.  After falling back to
17278         dyncode_create in a non-ET_DYN case, use the allocate_code_data
17279         system interface to register the code pages as occupied.
17281 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
17283         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17284         [!ARM_MATH_PRIVATE_H].
17285         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
17286         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17287         [!HPPA_MATH_PRIVATE_H].
17288         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
17289         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
17290         to [!I386_MATH_PRIVATE_H].
17291         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
17292         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
17293         Change guard to [!M68K_MATH_PRIVATE_H].
17294         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
17295         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
17296         guard to [!MICROBLAZE_MATH_PRIVATE_H].
17297         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
17298         macro.
17299         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17300         [!MIPS_MATH_PRIVATE_H].
17301         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
17302         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17303         [!NIO2_MATH_PRIVATE_H].
17304         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
17305         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
17306         [!TILE_MATH_PRIVATE_H].
17307         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
17309         [BZ #15421]
17310         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
17311         initialize with 0 and define as weak alias of __signgam.
17312         * include/math.h [!_ISOMAC] (__signgam): Declare.
17313         * math/Makefile (libm-calls): Add w_lgamma_compat.
17314         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
17315         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
17316         test-signgam-ullong-init.
17317         (tests-static): Add test-signgam-uchar-static,
17318         test-signgam-uchar-init-static, test-signgam-uint-static,
17319         test-signgam-uint-init-static, test-signgam-ullong-static and
17320         test-signgam-ullong-init-static.
17321         (CFLAGS-test-signgam-uchar.c): New variable.
17322         (CFLAGS-test-signgam-uchar-init.c): Likewise.
17323         (CFLAGS-test-signgam-uchar-static.c): Likewise.
17324         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17325         (CFLAGS-test-signgam-uint.c): Likewise.
17326         (CFLAGS-test-signgam-uint-init.c): Likewise.
17327         (CFLAGS-test-signgam-uint-static.c): Likewise.
17328         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17329         (CFLAGS-test-signgam-ullong.c): Likewise.
17330         (CFLAGS-test-signgam-ullong-init.c): Likewise.
17331         (CFLAGS-test-signgam-ullong-static.c): Likewise.
17332         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17333         * math/Versions (libm): Add GLIBC_2.23.
17334         * math/lgamma-compat.h: New file.
17335         * math/test-signgam-main.c: Likewise.
17336         * math/test-signgam-uchar-init-static.c: Likewise.
17337         * math/test-signgam-uchar-init.c: Likewise.
17338         * math/test-signgam-uchar-static.c: Likewise.
17339         * math/test-signgam-uchar.c: Likewise.
17340         * math/test-signgam-uint-init-static.c: Likewise.
17341         * math/test-signgam-uint-init.c: Likewise.
17342         * math/test-signgam-uint-static.c: Likewise.
17343         * math/test-signgam-uint.c: Likewise.
17344         * math/test-signgam-ullong-init-static.c: Likewise.
17345         * math/test-signgam-ullong-init.c: Likewise.
17346         * math/test-signgam-ullong-static.c: Likewise.
17347         * math/test-signgam-ullong.c: Likewise.
17348         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
17349         wrapper of w_lgamma_main.c.
17350         * math/w_lgamma_compat.c: New file.
17351         * math/w_lgamma_compatf.c: Likewise.
17352         * math/w_lgamma_compatl.c: Likewise.
17353         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
17354         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17355         defining compatibility symbols.
17356         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
17357         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
17358         wrapper of w_lgammaf_main.c.
17359         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
17360         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17361         defining compatibility symbols.
17362         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
17363         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
17364         wrapper of w_lgammal_main.c.
17365         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
17366         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
17367         defining compatibility symbols.
17368         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
17369         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
17370         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
17371         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
17372         <lgamma-compat.h>.
17373         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
17374         (__ieee754_gamma): Define as alias.
17375         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
17376         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
17377         <lgamma-compat.h>.
17378         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
17379         (__ieee754_gammaf): Define as alias.
17380         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
17381         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
17382         <lgamma-compat.h>.
17383         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
17384         (__ieee754_gammal): Define as alias.
17385         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
17386         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
17387         <math/w_lgamma_compat.c>.
17388         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
17389         Define as alias of __lgamma_compat and use in defining lgammal.
17390         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
17391         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
17392         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
17393         (USE_AS_COMPAT): New macro.
17394         (LGAMMA_OLD_VER): Undefine and redefine.
17395         (lgammal): Do not define here.
17396         (gammal): Only define here if [GAMMA_ALIAS].
17397         * conform/linknamespace.pl (@whitelist): Remove signgam.
17398         * sysdeps/nacl/libm.abilist: Update.
17399         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17400         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17401         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17402         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17403         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17404         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17405         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17406         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17407         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17408         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17409         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17410         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17412         Likewise.
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17414         Likewise.
17415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17416         Likewise.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17418         Likewise.
17419         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17420         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17421         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17422         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17423         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17425         Likewise.
17426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17427         Likewise.
17428         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17429         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17430         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17432 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17434         [BZ #16364]
17435         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
17436         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
17438 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17440         * sysdeps/s390/fpu/bits/mathinline.h:
17441         Use __asm__ [__volatile__] instead of asm [volatile].
17442         * sysdeps/s390/abort-instr.h: Likewise.
17443         * sysdeps/s390/atomic-machine.h: Likewise.
17444         * sysdeps/s390/bits/string.h: Likewise.
17445         * sysdeps/s390/dl-tls.h: Likewise.
17446         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17447         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17448         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17449         * sysdeps/s390/fpu/fesetround.c: Likewise.
17450         * sysdeps/s390/fpu/fpu_control.h: Likewise.
17451         * sysdeps/s390/fpu/s_fma.c: Likewise.
17452         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
17453         * sysdeps/s390/memusage.h: Likewise.
17454         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
17455         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
17456         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
17457         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
17458         * sysdeps/s390/nptl/tls.h: Likewise.
17459         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
17460         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17461         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17462         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
17463         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17464         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17465         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
17466         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17467         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17468         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
17469         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
17470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17471         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17472         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
17473         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
17474         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
17475         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
17476         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17477         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
17478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17479         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
17480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17481         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
17483 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17484             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17486         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17487         Add lwarx hint, and use macro for acquire instruction.
17488         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17489         Likewise.
17490         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
17491         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
17492         update to use new atomic macros.
17494 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17496         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17497         (__lll_trylock_elision): Fix setting of adapt_count.
17498         * sysdeps/unix/sysv/linux/powerpc/htm.h
17499         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
17500         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
17501         (_ABORT_SYSCALL): Renumber, and clarify definition.
17502         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
17504 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17506         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
17507         after system headers to prevent MIN/MAX redefinition.  Define
17508         HAVE_ALLOCA to preserve builtin alloca usage.
17510 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
17513         static and don't set or restore rounding.
17514         (__cos)[IN_SINCOS]: Likewise.
17515         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
17516         (__sincos): Set and restore rounding mode.  Remove check for infinite
17517         or NaN input.
17519         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
17521         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
17522         as used.
17524 2015-11-16  Florian Weimer  <fweimer@redhat.com>
17526         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
17528 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
17530         * config.make.in (have-glob-dat-reloc): New.
17531         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
17532         target supports GLOB_DAT relocaton. AC_SUBST.
17533         * configure: Regenerated.
17534         * elf/Makefile (tests): Add tst-prelink.
17535         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17536         (tst-prelink-ENV): New.
17537         ($(objpfx)tst-prelink-conflict.out): Likewise.
17538         ($(objpfx)tst-prelink-cmp.out): Likewise.
17539         * sysdeps/x86/tst-prelink.c: Moved to ...
17540         * elf/tst-prelink.c: Here.
17541         * sysdeps/x86/tst-prelink.exp: Moved to ...
17542         * elf/tst-prelink.exp: Here.
17543         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
17544         (tst-prelink-ENV): Removed.
17545         ($(objpfx)tst-prelink-conflict.out): Likewise.
17546         ($(objpfx)tst-prelink-cmp.out): Likewise.
17547         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
17549 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
17551         [BZ #14551]
17552         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
17553         (__mpn_construct_long_double): If high part overflows to infinity,
17554         set errno and recompute overflowed result of the correct sign.
17555         * sysdeps/ieee754/ldbl-128ibm/Makefile
17556         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
17557         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
17558         $(libm).
17559         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
17561 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
17563         [BZ #15479]
17564         [BZ #19238]
17565         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
17566         floating-point state after first operation on input.  Restore full
17567         state rather than just rounding mode.
17568         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17569         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17570         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17572         [BZ #19235]
17573         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
17574         add 0.5 to integer arguments.
17575         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
17576         Likewise.
17577         (.LC2): New object.
17579 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
17581         * scripts/pylintrc (reports): Set to no.
17583 2015-11-10  Roland McGrath  <roland@hack.frob.com>
17585         * elf/dl-load.c (open_verify): Take new argument FD.
17586         Skip __open call if passed FD is not -1.
17587         (_dl_map_object, open_path): Update callers.
17588         * elf/dl-sysdep-open.h: New file.
17589         * elf/dl-load.c: Include it.
17590         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
17591         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
17592         * sysdeps/nacl/dl-sysdep-open.h: New file.
17593         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
17594         from libc to rtld.
17596 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17598         [BZ #19228]
17599         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
17600         and restore full floating-point state.
17601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17602         Likewise.
17603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17604         Likewise.
17605         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17606         Likewise.
17607         * math/test-nearbyint-except-2.c: New file.
17608         * math/Makefile (tests): Add test-nearbyint-except-2.
17610 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
17612         [BZ #19178]
17613         * sysdeps/x86/Makefile (tests): Add tst-prelink.
17614         (tst-prelink-ENV): New.
17615         ($(objpfx)tst-prelink-conflict.out): Likewise.
17616         ($(objpfx)tst-prelink-cmp.out): Likewise.
17617         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
17618         * sysdeps/x86/tst-prelink.c: New file.
17619         * sysdeps/x86/tst-prelink.exp: Likewise.
17621 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
17623         * math/auto-libm-test-in: Add another test of pow.
17624         * math/auto-libm-test-out: Regenerated.
17625         * math/libm-test.inc (pow_test_data): Add another test.
17627 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17629         [BZ #19219]
17630         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
17631         weak_alias to nearbyintl.
17633 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17635         * sysdeps/aarch64/bits/string.h: New file.
17636         (_STRING_ARCH_unaligned): Define.
17638 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
17640         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
17641         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17642         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17643         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
17644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
17646 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
17648         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
17649         for original name of the DSO.  Add it to the name list of the DSO
17650         if it is actually given.
17651         (_dl_map_object): Keep track of whether an audit module rewrote
17652         the file name.  If yes, pass the original name to
17653         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
17654         debugging is enabled, log the change of the file name.
17655         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
17656         _dl_map_object_from_fd.
17657         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
17658         * elf/tst-audit11.c: New file
17659         * elf/tst-auditmod11.c: New file.
17660         * elf/tst-audit11mod1.c: New file.
17661         * elf/tst-audit11mod2.c: New file.
17662         * elf/tst-audit11mod2.map: New file.
17663         * elf/tst-audit12.c: New file
17664         * elf/tst-auditmod12.c: New file.
17665         * elf/tst-audit12mod1.c: New file.
17666         * elf/tst-audit12mod2.c: New file.
17667         * elf/tst-audit12mod2.map: New file.
17668         * elf/tst-audit12mod3.c: New file.
17670 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17672         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
17673         Don't create weak aliases,
17674         because versioned symbols are created later.
17675         * sysdeps/s390/s390-32/setjmp.S
17676         (setjmp, _setjmp): Remove weak and rename to an unique name
17677         in SHARED case due to existing versioned symbols.
17678         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17679         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
17680         (getcontext): Create weak alias only in non SHARED case.
17681         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17683 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
17685         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
17686         (__ASSUME_*_SYSCALL) Define new macros.
17687         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
17688         Remove socketcall syscalls.
17689         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
17690         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
17691         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
17692         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
17693         * sysdeps/unix/sysv/linux/send.c (__libc_send):
17694         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
17696 2015-11-09  Florian Weimer  <fweimer@redhat.com>
17698         [BZ #12926]
17699         Terminate process on invalid netlink response.
17700         * sysdeps/unix/sysv/linux/netlinkaccess.h
17701         (__netlink_assert_response): Declare.
17702         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
17703         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
17704         (sysdep_routines): Add netlink_assert_response.
17705         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
17706         __netlink_assert_response.
17707         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17708         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17709         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
17710         __netlink_assert_response.
17712 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17714         [BZ #19178]
17715         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
17716         (RTYPE_CLASS_PLT): Likewise.
17717         (RTYPE_CLASS_COPY): Likewise.
17718         (RTYPE_CLASS_TLS): Likewise.
17719         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
17720         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
17721         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
17722         DL_DEBUG_PRELINK.
17724 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
17726         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
17727         calls with argument -0.5.
17728         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
17730         * configure.ac (libc_cv_z_nodelete): Remove configure test.
17731         (libc_cv_z_nodlopen): Likewise.
17732         (libc_cv_z_initfirst): Likewise.
17733         * configure: Regenerated.
17735 2015-11-06  Florian Weimer  <fweimer@redhat.com>
17737         Simplify abilist format to be line-based.
17738         * scripts/abilist.awk: Collect descriptors in the descs variable.
17739         (emit): Write descs variable and sort it
17740         externally, with sort.
17741         * sysdeps/**/*.abilist: Convert to new format.
17743 2015-11-06  Mark Wielaard  <mjw@redhat.com>
17745         [BZ #11460]
17746         * io/Makefile (routines): Add fts64.
17747         (tests): Add tst-fts and tst-fts-lfs.
17748         (CFLAGS-fts64.c): New.
17749         * io/Versions (GLIBC_2.23): New.
17750         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
17751         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
17752         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
17753         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
17754         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
17755         (FTSENT64): Likewise.
17756         (fts64_children): Likewise.
17757         (fts64_close): Likewise.
17758         (fts64_open): Likewise.
17759         (fts64_read): Likewise.
17760         (fts64_set): Likewise.
17761         * io/fts64.c: New file.
17762         * io/tst-fts.c: New test.
17763         * io/tst-fts-lfs.c: Likewise.
17764         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
17765         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
17766         fts64_set.
17767         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17768         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17769         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17770         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17771         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17772         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17773         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17774         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17776         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17777         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17778         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17779         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17781         Likewise.
17782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17783         Likewise.
17784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17786         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17787         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17788         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17789         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17790         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17793         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17795         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17796         * sysdeps/wordsize-64/fts.c: New file.
17797         * sysdeps/wordsize-64/fts64.c: Likewise.
17798         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
17799         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
17800         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
17801         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
17803 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17805         * math/libm-test.inc (NON_FINITE): New macro.
17806         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
17807         * math/gen-libm-test.pl (show_exceptions): Add argument
17808         $non_finite.
17809         (parse_args): Update call to show_exceptions.
17810         * math/test-math-finite.h: New file.
17811         * math/test-math-no-finite.h: Likewise.
17812         * math/test-double-finite.c: Likewise.
17813         * math/test-float-finite.c: Likewise.
17814         * math/test-ldouble-finite.c: Likewise.
17815         * math/test-double.c: Include "test-math-no-finite.h".
17816         * math/test-float.c: Include "test-math-no-finite.h".
17817         * math/test-ldouble.c: Include "test-math-no-finite.h".
17818         * math/test-math-inline.h (TEST_FINITE): New macro.
17819         * math/test-math-vector.h (TEST_FINITE): Likewise.
17820         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
17821         (libm-tests): Add test-float-finite and test-double-finite.
17822         ($(objpfx)test-float-finite.o): New dependency on
17823         $(objpfx)libm-test.stmp.
17824         ($(objpfx)test-double-finite.o): Likewise.
17825         ($(objpfx)test-ldouble-finite.o): Likewise.
17826         (libm-test-no-inline-cflags): New variable.
17827         (libm-test-finite-cflags): Likewise.
17828         (CFLAGS-test-float-finite.c): Likewise.
17829         (CFLAGS-test-double-finite.c): Likewise.
17830         (CFLAGS-test-ldouble-finite.c): Likewise.
17831         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
17832         (CFLAGS-test-double.c): Likewise.
17833         (CFLAGS-test-ldouble.c): Likewise.
17835 2015-11-05  Roland McGrath  <roland@hack.frob.com>
17837         * io/fcntl.c (__fcntl): Add ... to prototype.
17838         * misc/ioctl.c (__ioctl): Likewise.
17839         * misc/syscall.c (syscall): Likewise.
17841 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
17843         * scripts/list-fixed-bugs.py: New file.
17845         [BZ #19213]
17846         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
17847         returned for argument 1.
17848         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
17849         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
17850         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
17851         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
17852         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
17853         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
17855         [BZ #19211]
17856         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
17857         __USE_XOPEN], not if [!__USE_ISOC99].
17858         (lgammaf): Likewise.
17859         (lgammal): Likewise.
17860         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
17861         (gammaf): Likewise.
17862         (gammal): Likewise.
17863         * math/test-signgam-finite-c11.c: New file.
17864         * math/test-signgam-finite-c99.c: Likewise.
17865         * math/test-signgam-finite.c: Likewise.
17866         * math/Makefile (tests): Add test-signgam-finite,
17867         test-signgam-finite-c99 and test-signgam-finite-c11.
17868         (CFLAGS-test-signgam-finite.c): New variable.
17869         (CFLAGS-test-signgam-finite-c99.c): Likewise.
17870         (CFLAGS-test-signgam-finite-c11.c): Likewise.
17872         [BZ #19212]
17873         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
17874         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
17875         500].
17876         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
17877         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
17878         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
17879         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
17880         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
17881         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
17882         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
17883         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
17884         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
17885         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
17887         [BZ #19209]
17888         * math/bits/math-finite.h (ldexp): Remove declaration.
17889         (ldexpf): Likewise.
17890         (ldexpl): Likewise.
17892         [BZ #19205]
17893         * math/bits/math-finite.h (acosf): Condition declaration on
17894         [__USE_ISOC99].
17895         (acosl): Likewise.
17896         (acoshf): Likewise.
17897         (acoshl): Likewise.
17898         (asinf): Likewise.
17899         (asinl): Likewise.
17900         (atan2f): Likewise.
17901         (atan2l): Likewise.
17902         (atanhf): Likewise.
17903         (atanhl): Likewise.
17904         (coshf): Likewise.
17905         (coshl): Likewise.
17906         (expf): Likewise.
17907         (expl): Likewise.
17908         (fmodf): Likewise.
17909         (fmodl): Likewise.
17910         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
17911         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
17912         (j0l): Likewise.
17913         (y0f): Likewise.
17914         (y0l): Likewise.
17915         (j1f): Likewise.
17916         (j1l): Likewise.
17917         (y1f): Likewise.
17918         (y1l): Likewise.
17919         (jnf): Likewise.
17920         (jnl): Likewise.
17921         (ynf): Likewise.
17922         (ynl): Likewise.
17923         (lgammaf_r): Condition declaration on [__USE_ISOC99].
17924         (lgammal_r): Likewise.
17925         (__lgamma_r_finite): New declaration.
17926         (__lgammaf_r_finite): Likewise.
17927         (__lgammal_r_finite): Likewise.
17928         (lgamma): Use __lgamma_r_finite.
17929         (lgammaf): Condition definition on [__USE_ISOC99].  Use
17930         __lgammaf_r_finite.
17931         (lgammal): Condition definition on [__USE_ISOC99].  Use
17932         __lgammal_r_finite.
17933         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
17934         __lgamma_r_finite.
17935         (gammaf): Condition definition on [__USE_ISOC99].  Use
17936         __lgammaf_r_finite.
17937         (gammal): Condition definition on [__USE_ISOC99].  Use
17938         __lgammal_r_finite.
17939         (logf): Condition declaration on [__USE_ISOC99].
17940         (logl): Likewise.
17941         (log10f): Likewise.
17942         (log10l): Likewise.
17943         (ldexpf): Likewise.
17944         (ldexpl): Likewise.
17945         (powf): Likewise.
17946         (powl): Likewise.
17947         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
17948         __USE_ISOC99].
17949         (remainderf): Condition declaration on [__USE_ISOC99].
17950         (remainderl): Likewise.
17951         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
17952         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
17953         (scalbl): Likewise.
17954         (sinhf): Condition declaration on [__USE_ISOC99].
17955         (sinhl): Likewise.
17956         (sqrtf): Likewise.
17957         (sqrtl): Likewise.
17959 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
17961         * sysdeps/arm/atomic-machine.h
17962         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17963         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17964         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
17965         Remove conditional code.
17966         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
17967         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
17968         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
17969         Change conditional to [__ASSEMBLER__].
17970         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17971         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
17972         [!__ASSEMBLER__].
17973         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
17974         code.
17975         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
17976         conditional macro definitions.
17977         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
17978         (__arch_compare_and_exchange_val_16_acq): Likewise.
17979         (__arch_compare_and_exchange_val_32_acq): Likewise.
17980         (atomic_exchange_and_add): Likewise.
17981         (atomic_add): Likewise.
17982         (atomic_add_negative): Likewise.
17983         (atomic_add_zero): Likewise.
17984         (atomic_bit_set): Likewise.
17985         (atomic_bit_test_set): Likewise.
17986         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
17987         code unconditional.
17988         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17990         * math/test-math-errno.h: New file.
17991         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
17992         empty.
17993         (TEST_ERRNO): New macro.
17994         (TEST_EXCEPTIONS): Likewise.
17995         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
17996         (TEST_EXCEPTIONS): Likewise.
17997         * math/test-math-vector.h (TEST_ERRNO): Likewise.
17998         * math/test-double.c: Include "test-math-errno.h".
17999         * math/test-float.c: Likewise.
18000         * math/test-ldouble.c: Likewise.
18001         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
18002         code unconditional.
18003         (test_exceptions): Only run code if TEST_EXCEPTIONS.
18004         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
18005         unconditional.
18006         (test_errno): Only run code if TEST_ERRNO.
18007         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
18009 2015-11-04  Florian Weimer  <fweimer@redhat.com>
18011         * nptl/tst-once5.cc: Remove attribution.
18013 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18015         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
18016         sqrt, tan, tanh, y0, y1 and yn.
18017         * math/auto-libm-test-out: Regenerated.
18018         * math/libm-test.inc (scalb_test_data): Add more tests.
18019         (scalbn_test_data): Likewise.
18020         (scalbln_test_data): Likewise.
18021         (signbit_test_data): Likewise.
18022         (sin_test_data): Likewise.
18023         (sincos_test_data): Likewise.
18024         (sinh_test_data): Likewise.
18025         (sqrt_test_data): Likewise.
18026         (tan_test_data): Likewise.
18027         (tanh_test_data): Likewise.
18028         (tgamma_test_data): Likewise.
18029         (y0_test_data): Likewise.
18030         (y1_test_data): Likewise.
18031         (yn_test_data): Likewise.
18032         (significand_test_data): Likewise.
18033         * sysdeps/i386/fpu/libm-test-ulps: Update.
18035 2015-11-03  David Kastrup  <dak@gnu.org>
18037         [BZ #18604]
18038         * assert/assert.h (assert): Don't macro-expand failed assertion
18039         expression in error message.
18040         * malloc/malloc.c (assert): Likewise.
18042 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
18044         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
18045         test.
18046         * configure: Regenerated.
18048 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
18050         * math/libm-test.inc (modf_test_data): Add more tests.
18051         (nearbyint_test_data): Likewise.
18052         (nextafter_test_data): Likewise.
18053         (nexttoward_test_data): Likewise.
18054         (pow_test_data): Likewise.
18055         (remainder_test_data): Likewise.
18056         (remquo_test_data): Likewise.
18057         (rint_test_data): Likewise.
18059         [BZ #19201]
18060         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18061         Check for zero remainder in case of large exponents and ensure
18062         correct sign of result in that case.
18063         * math/libm-test.inc (remainder_test_data): Add more tests.
18065         [BZ #6799]
18066         * math/s_nextafter.c: Include <errno.h>.
18067         (__nextafter): Set errno on overflow and underflow.
18068         * math/s_nexttowardf.c: Include <errno.h>.
18069         (__nexttowardf): Set errno on overflow and underflow.
18070         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
18071         (__nextafterl): Set errno on overflow and underflow.
18072         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
18073         (__nexttoward): Set errno on overflow and underflow.
18074         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
18075         (__nexttowardf): Set errno on overflow and underflow.
18076         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
18077         (__nextafterf): Set errno on overflow and underflow.
18078         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
18079         (__nextafterl): Set errno on overflow and underflow.
18080         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
18081         (__nexttoward): Set errno on overflow and underflow.
18082         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
18083         (__nexttowardf): Set errno on overflow and underflow.
18084         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
18085         (__nextafterl): Set errno on overflow and underflow.
18086         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
18087         (__nexttoward): Set errno on overflow and underflow.
18088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
18089         (__nexttowardf): Set errno on overflow and underflow.
18090         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
18091         (__nexttoward): Set errno on overflow and underflow.
18092         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
18093         (__nexttowardf): Set errno on overflow and underflow.
18094         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
18095         (__nldbl_nexttowardf): Set errno on overflow and underflow.
18096         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
18097         (__nextafterl): Set errno on overflow and underflow.
18098         * math/libm-test.inc (nextafter_test_data): Do not allow errno
18099         setting to be missing on overflow.  Add more tests.
18100         (nexttoward_test_data): Likewise.
18102         * configure.ac (libc_cv_initfini_array): Remove configure test.
18103         * configure: Regenerated.
18105 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
18107         [BZ #19189]
18108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
18109         non-finite argument handle arguments with negative sign.
18111         * math/libm-test.inc (j0_test_data): Do not test sign of zero
18112         result from infinite argument.
18113         (j1_test_data): Likewise.
18114         (jn_test_data): Likewise.
18115         (y0_test_data): Likewise.
18116         (y1_test_data): Likewise.
18117         (yn_test_data): Likewise.
18119         [BZ #16171]
18120         * math/w_remainder.c (drem): Define as weak alias of __remainder.
18121         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
18122         * math/w_remainderf.c (dremf): Define as weak alias of
18123         __remainderf.
18124         * math/w_remainderl.c (dreml): Define as weak alias of
18125         __remainderl.
18126         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
18127         __remainder.
18128         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
18129         __remainderf.
18130         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
18131         __remainderl.
18132         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
18133         weak alias of remainderl.
18134         * sysdeps/ieee754/ldbl-opt/w_remainder.c
18135         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
18136         alias of __remainder.
18137         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
18138         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
18139         strong alias of __remainderl.
18140         (dreml): Use long_double_symbol.
18141         * math/Makefile (libm-calls): Remove w_drem.
18142         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
18143         (CFLAGS-nldbl-drem.c): Remove variable.
18144         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
18145         * math/w_drem.c: Remove file.
18146         * math/w_dremf.c: Likewise.
18147         * math/w_dreml.c: Likewise.
18148         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
18149         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
18150         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
18152         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
18153         * sysdeps/i386/configure: Regenerated.
18154         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
18155         * sysdeps/x86_64/configure: Regenerated.
18157         * configure.ac (libc_cv_asm_protected_directive): Remove configure
18158         test.
18159         (libc_cv_visibility_attribute): Likewise.
18160         (libc_cv_protected_data): Test unconditionally.
18161         (libc_cv_broken_visibility_attribute): Remove configure test.
18162         (libc_cv_have_sdata_section): Test unconditionally.
18163         * configure: Regenerated.
18165         * include/libc-internal.h (libc_max_align_t): Remove typedef.
18166         * include/scratch_buffer.h: Include <stddef.h> instead of
18167         <libc-internal.h>.
18168         (struct scratch_buffer): Use max_align_t instead of
18169         libc_max_align_t.
18171 2015-10-29  Florian Weimer  <fweimer@redhat.com>
18173         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
18174         instead of extend_alloca.  Change control flow to avoid a goto.
18175         Remove assert which is trivially always true.
18177 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18179         [BZ #16068]
18180         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
18181         (FE_ALL_EXCEPT_X86): New macro.
18182         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18183         FE_ALL_EXCEPT.  Ensure precision control is included in
18184         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18185         handle "denormal operand exception" and clear FZ and DAZ bits.
18186         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
18187         (FE_ALL_EXCEPT_X86): New macro.
18188         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
18189         FE_ALL_EXCEPT.  Ensure precision control is included in
18190         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
18191         handle "denormal operand exception" and clear FZ and DAZ bits.
18192         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
18193         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
18194         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18195         test-fenv-x87 and test-fenv-sse-2.
18196         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
18198         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
18199         * math/test-double.h (BUILD_COMPLEX): New macro.
18200         * math/test-float.h (BUILD_COMPLEX): Likewise.
18201         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
18203         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
18204         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
18205         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
18206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
18207         instead of DBL_DENORM_MIN in comment.
18208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
18209         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
18211         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
18212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
18213         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
18215 2015-10-28  Florian Weimer  <fweimer@redhat.com>
18217         [BZ# 19048]
18218         * malloc/malloc.c (struct malloc_state): Update comment.  Add
18219         attached_threads member.
18220         (main_arena): Initialize attached_threads.
18221         * malloc/arena.c (list_lock): Update comment.
18222         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
18223         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
18224         (deattach_arena): New function.
18225         (_int_new_arena): Initialize arena reference count and deattach
18226         replaced arena.
18227         (get_free_list, reused_arena): Update reference count and deattach
18228         replaced arena.
18229         (arena_thread_freeres): Update arena reference count and only put
18230         unreferenced arenas on the free list.
18232 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18234         [BZ #19181]
18235         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
18236         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
18237         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
18238         * math/test-fenv-clear-main.c: New file.
18239         * math/test-fenv-clear.c: Likewise.
18240         * math/Makefile (tests): Add test-fenv-clear.
18241         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
18242         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18243         test-fenv-clear-sse.
18244         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
18246         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
18247         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
18248         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
18250 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18252         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
18253         static libc.
18255 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
18257         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
18258         test.
18259         * sysdeps/i386/configure: Regenerated.
18260         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
18261         test.
18262         * sysdeps/x86_64/configure: Regenerated.
18263         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
18264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18265         memset-avx2 unconditionally instead of conditionally on
18266         [$(config-cflags-avx2) = yes].
18267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18268         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
18269         unconditional.
18270         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
18271         * sysdeps/x86_64/multiarch/memset_chk.S
18272         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
18273         to [IS_IN (libc) && SHARED].
18275 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18277         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
18278         configure test.
18279         * sysdeps/arm/configure: Regenerated.
18280         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
18281         Define variable if not already defined.
18283         [BZ #17404]
18284         * sysdeps/mips/atomic-machine.h
18285         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
18286         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
18287         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18289         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
18290         unconditional.
18291         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
18292         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18293         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
18294         unconditional.
18295         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18296         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
18297         unconditional.
18298         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18299         * stdlib/setenv.c
18300         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
18301         code unconditional.
18302         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
18303         Remove conditional code.
18304         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
18305         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
18306         unconditional.
18307         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18308         code.
18309         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
18310         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
18311         unconditional.
18312         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18313         code.
18314         * sysdeps/ieee754/ldbl-128/k_tanl.c
18315         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18316         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18317         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
18318         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18319         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18320         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
18321         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
18322         unconditional.
18323         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
18324         code.
18325         * sysdeps/ieee754/ldbl-96/k_tanl.c
18326         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
18327         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18329         * nptl/tst-initializers1-c11.c: New file.
18330         * nptl/tst-initializers1-gnu11.c: Likewise.
18331         * nptl/Makefile (tests): Add these new tests.
18332         (CFLAGS-tst-initializers1-c11.c): New variable.
18333         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18335         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
18336         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
18337         instead of -std=gnu99.
18338         * configure.ac (systemtap): Test with -std=gnu11 instead of
18339         -std=gnu99.
18340         * configure: Regenerated.
18341         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
18342         in compilation command in comment.
18344         * sysdeps/nptl/configure.ac: Remove file.
18345         * sysdeps/nptl/configure: Remove generated file.
18346         * configure.ac (libc_cv_forced_unwind): Do not substitute.
18347         * configure: Regenerated.
18348         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
18349         * config.make.in (have-forced-unwind): Remove variable.
18350         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18351         unconditional.
18352         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
18353         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
18354         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
18355         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
18356         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
18357         unconditional.
18359 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18361         [BZ #19174]
18362         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
18363         .skip_lock_out_of_tbegin_retries.
18364         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18365         (__lll_lock_elision): Likewise, and respect a value of
18366         try_tbegin <= 0.
18368 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18370         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
18371         statement.
18373 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18375         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
18376         variable.
18377         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18378         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18380         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
18381         of -std=c1x -D_ISOC11_SOURCE.
18383         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
18384         * configure: Regenerated.
18385         * manual/install.texi (Tools for Compilation): Document
18386         requirement for GCC 4.7 or later.
18387         * INSTALL: Regenerated.
18389 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
18391         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
18392         on CNT to a conditional jump to 'puntdata'.
18394 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
18396         * configure.ac (libc_cv_gcc___thread): Remove configure test.
18397         (libc_cv_gcc_tls_model_attr): Likewise.
18398         * configure: Regenerated.
18400         * configure.ac (libc_cv_need_minus_P): Remove configure test.
18401         * configure: Regenerated.
18402         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
18404 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
18406         * configure.ac (old_glibc_headers): Remove configure test.
18407         * configure: Regenerated.
18408         * config.make.in (old-glibc-headers): Remove variable.
18409         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
18410         (install): Remove dependency on remove-old-headers.
18411         (headers2_0): Remove variable.
18412         (remove-old-headers): Remove rule.
18414         * configure.ac (libc_cv_dot_text): Remove configure test.
18415         (libc_cv_asm_set_directive): Use .text instead of
18416         ${libc_cv_dot_text} in configure test.
18417         * configure: Regenerated.
18419 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18421         [BZ #19168]
18422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18424 2015-10-26  Florian Weimer  <fweimer@redhat.com>
18426         * configure.ac (CXX): Clear the variable if the C++ toolchain does
18427         not support static linking.
18428         * configure: Regenerate.
18430 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
18432         * math/libm-test.inc (check_float_internal): Do not special-case
18433         errors up to 0.5 ulp.
18435         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18436         log2.
18437         * math/auto-libm-test-out: Regenerated.
18438         * math/libm-test.inc (MAX_EXP): New macro.
18439         (ilogb_test_data): Add more tests.
18440         (isfinite_test_data): Likewise.
18441         (isgreater_test_data): Likewise.
18442         (isgreaterequal_test_data): Likewise.
18443         (isinf_test_data): Likewise.
18444         (isless_test_data): Likewise.
18445         (islessequal_test_data): Likewise.
18446         (islessgreater_test_data): Likewise.
18447         (isnan_test_data): Likewise.
18448         (isnormal_test_data): Likewise.
18449         (issignaling_test_data): Likewise.
18450         (isunordered_test_data): Likewise.
18451         (j0_test_data): Likewise.
18452         (j1_test_data): Likewise.
18453         (jn_test_data): Likewise.
18454         (lgamma_test_data): Likewise.
18455         (log_test_data): Likewise.
18456         (log10_test_data): Likewise.
18457         (log1p_test_data): Likewise.
18458         (log2_test_data): Likewise.
18459         (logb_test_data): Likewise.
18460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18462         [BZ #18611]
18463         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
18464         avoid excess range and precision on underflow.
18465         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18466         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
18467         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18468         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
18469         underflow.
18470         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18472         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18473         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18474         * math/auto-libm-test-in: Do not allow missing errno setting for
18475         tests of j1 and jn.
18476         * math/auto-libm-test-out: Regenerated.
18478 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
18480         [BZ #15491]
18481         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
18482         floating-point environment instead of clearing all exceptions.
18483         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18484         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
18485         merging in "invalid" exceptions from frndint.
18486         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18487         * math/test-nearbyint-except.c: New file.
18488         * math/Makefile (tests): Add test-nearbyint-except.
18490 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
18492         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
18494         * sysdeps/tile/libm-test-ulps: Regenerated.
18496 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
18499         (__NR_sync_file_range2): Assume it is always defined.
18500         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18501         (__NR_sync_file_range): Assume it is always defined.
18503 2015-10-22  Andreas Schwab  <schwab@suse.de>
18505         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18506         INTERNAL_SYSCALL_ERRNO.
18507         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18508         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18509         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18510         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18511         Likewise.
18512         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18514 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18516         * io/tst-fcntl.c (fd): New static variable.
18517         (do_prepare): Open temporary file here....
18518         (do_test): ...not here.
18520         * io/ftwtest-sh: Also trap on exit to remove temporary files.
18522 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18524         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
18525         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18526         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18527         Moved before "#ifdef __ASSEMBLER__".
18529 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18531         [BZ #19156]
18532         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
18533         arguments very close to 0.
18535 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
18537         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
18538         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
18540 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
18542         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
18543         New.  Defined for GCC 5 and above when not compiling for
18544         profiling.
18545         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
18547         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18548         Renamed to ...
18549         (CFLAGS-epoll_pwait.o): This.
18550         (CFLAGS-mmap.c): Renamed to ...
18551         (CFLAGS-mmap.o): This.
18552         (CFLAGS-mmap64.c): Renamed to ...
18553         (CFLAGS-mmap64.o): This.
18554         (CFLAGS-epoll_pwait.os): New.
18555         (CFLAGS-mmap.os): Likewise.
18556         (CFLAGS-mmap64.os): Likewise.
18557         (CFLAGS-semtimedop.os): Likewise.
18558         (CFLAGS-semtimedop.c): Renamed to ...
18559         (CFLAGS-semtimedop.o): This.
18561 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18563         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
18564         warning message.
18566 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
18568         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
18569         * Makefile ($(objpfx)c++-types-check.out): Filter out
18570         $(+gccwarn-c) instead of -Wstrict-prototypes.
18572         * io/fts.c (fts_open): Convert to prototype-style function
18573         definition.
18574         * malloc/mcheck.c (mcheck): Likewise.
18575         (mcheck_pedantic): Likewise.
18576         * posix/regexec.c (re_search_2_stub): Likewise.  Use
18577         internal_function.
18578         (re_search_internal): Likewise.
18579         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
18580         prototype-style function definition.
18581         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18582         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
18583         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
18584         (xdr_utmpptr): Likewise.
18585         (xdr_utmparr): Likewise.
18586         (xdr_utmpidle): Likewise.
18587         (xdr_utmpidleptr): Likewise.
18588         (xdr_utmpidlearr): Likewise.
18590         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
18591         log, log10 and log2.
18592         * math/auto-libm-test-out: Regenerated.
18593         * math/libm-test.inc (fmod_test_data): Add more tests.
18594         (fpclassify_test_data): Likewise.
18595         (frexp_test_data): Likewise.
18596         (hypot_test_data): Likewise.
18597         (ilogb_test_data): Likewise.
18599 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
18601         * debug/fortify_fail.c (__fortify_fail): Convert to
18602         prototype-style function definition.  Use internal_function.
18603         * libio/genops.c (save_for_backup): Convert to prototype-style
18604         function definition.
18605         * libio/wgenops.c (save_for_wbackup): Likewise.
18606         * login/grantpt.c (grantpt): Likewise.
18607         * login/ptsname.c (ptsname): Likewise.
18608         (__ptsname_r): Likewise.
18609         * login/unlockpt.c (unlockpt): Likewise.
18610         * mach/msgserver.c (__mach_msg_server): Likewise.
18611         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
18612         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
18613         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
18614         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
18615         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
18616         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
18617         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
18618         Likewise.
18619         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
18620         internal_function.
18621         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
18622         prototype-style function definition.
18623         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
18624         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
18625         (__pthread_create_2_0): Likewise.
18626         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
18627         * nptl/register-atfork.c (__register_atfork): Likewise.
18628         * posix/glob.c (glob): Likewise.
18629         * posix/regcomp.c (re_comp): Likewise.
18630         * posix/regexec.c (re_exec): Likewise.
18631         * stdlib/add_n.c [__STDC__]: Make code unconditional.
18632         [!__STDC__]: Remove conditional code.
18633         * stdlib/cmp.c [__STDC__]: Make code unconditional.
18634         [!__STDC__]: Remove conditional code.
18635         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
18636         [!__STDC__]: Remove conditional code.
18637         * stdlib/divrem.c [__STDC__]: Make code unconditional.
18638         [!__STDC__]: Remove conditional code.
18639         * stdlib/lshift.c [__STDC__]: Make code unconditional.
18640         [!__STDC__]: Remove conditional code.
18641         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
18642         [!__STDC__]: Remove conditional code.
18643         * stdlib/mul.c [__STDC__]: Make code unconditional.
18644         [!__STDC__]: Remove conditional code.
18645         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
18646         [!__STDC__]: Remove conditional code.
18647         * stdlib/rshift.c [__STDC__]: Make code unconditional.
18648         [!__STDC__]: Remove conditional code.
18649         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
18650         function definition.
18651         (STRTOF): Likewise.
18652         * stdlib/strtod_l.c (__STRTOF): Likewise.
18653         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
18654         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
18655         (__strtol_l): Likewise.
18656         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
18657         [!__STDC__]: Remove conditional code.
18658         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
18659         definition.
18660         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18661         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18662         type.
18663         (__strcasecmp): Convert to prototype-style function definition.
18664         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
18665         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18666         type.
18667         (__strncasecmp): Convert to prototype-style function definition.
18668         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
18669         * sunrpc/xdr.c (xdr_union): Likewise.
18670         * sunrpc/xdr_array.c (xdr_array): Likewise.
18671         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
18672         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
18673         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
18674         Likewise.
18675         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
18676         Likewise.
18677         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
18678         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18679         Likewise.
18680         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
18681         (LOCALE_PARAM_PROTO): Likewise.
18682         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
18683         argument type.
18684         (ut_argument_spec): Remove macro.
18685         (ut_argument_spec_iso): Rename to ut_argument_spec.
18686         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
18687         prototype-style function definition.
18688         (memcpy_uppcase): Likewise.
18689         (__strftime_internal): Likewise.
18690         (my_strftime): Likewise.
18691         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
18692         (LOCALE_PARAM_DECL): Likewise.
18693         [_LIBC] (LOCALE_PARAM): Include argument type.
18694         (__strptime_internal): Convert to prototype-style function
18695         definition.
18696         (strptime): Likewise.
18697         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
18698         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18699         type.
18700         (__wcscasecmp): Convert to prototype-style function definition.
18701         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
18702         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
18703         type.
18704         (__wcsncasecmp): Convert to prototype-style function definition.
18706         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
18707         function definition.
18708         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18709         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18710         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
18711         * elf/dl-minimal.c (_itoa): Likewise.
18712         * hurd/hurdmalloc.c (malloc): Likewise.
18713         (free): Likewise.
18714         (realloc): Likewise.
18715         * inet/inet6_option.c (inet6_option_space): Likewise.
18716         (inet6_option_init): Likewise.
18717         (inet6_option_append): Likewise.
18718         (inet6_option_alloc): Likewise.
18719         (inet6_option_next): Likewise.
18720         (inet6_option_find): Likewise.
18721         * io/ftw.c (FTW_NAME): Likewise.
18722         (NFTW_NAME): Likewise.
18723         (NFTW_NEW_NAME): Likewise.
18724         (NFTW_OLD_NAME): Likewise.
18725         * libio/iofwide.c (_IO_fwide): Likewise.
18726         * libio/strops.c (_IO_str_init_static_internal): Likewise.
18727         (_IO_str_init_static): Likewise.
18728         (_IO_str_init_readonly): Likewise.
18729         (_IO_str_overflow): Likewise.
18730         (_IO_str_underflow): Likewise.
18731         (_IO_str_count): Likewise.
18732         (_IO_str_seekoff): Likewise.
18733         (_IO_str_pbackfail): Likewise.
18734         (_IO_str_finish): Likewise.
18735         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
18736         (_IO_wstr_overflow): Likewise.
18737         (_IO_wstr_underflow): Likewise.
18738         (_IO_wstr_count): Likewise.
18739         (_IO_wstr_seekoff): Likewise.
18740         (_IO_wstr_pbackfail): Likewise.
18741         (_IO_wstr_finish): Likewise.
18742         * locale/programs/localedef.c (normalize_codeset): Likewise.
18743         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18744         (add_locales_to_archive): Likewise.
18745         (delete_locales_from_archive): Likewise.
18746         * malloc/malloc.c (__libc_mallinfo): Likewise.
18747         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
18748         * misc/tsearch.c (__tfind): Likewise.
18749         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
18750         * nptl/pthread_attr_getdetachstate.c
18751         (__pthread_attr_getdetachstate): Likewise.
18752         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
18753         Likewise.
18754         * nptl/pthread_attr_getinheritsched.c
18755         (__pthread_attr_getinheritsched): Likewise.
18756         * nptl/pthread_attr_getschedparam.c
18757         (__pthread_attr_getschedparam): Likewise.
18758         * nptl/pthread_attr_getschedpolicy.c
18759         (__pthread_attr_getschedpolicy): Likewise.
18760         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
18761         Likewise.
18762         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
18763         Likewise.
18764         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
18765         Likewise.
18766         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
18767         Likewise.
18768         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
18769         (__pthread_attr_init_2_0): Likewise.
18770         * nptl/pthread_attr_setdetachstate.c
18771         (__pthread_attr_setdetachstate): Likewise.
18772         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
18773         Likewise.
18774         * nptl/pthread_attr_setinheritsched.c
18775         (__pthread_attr_setinheritsched): Likewise.
18776         * nptl/pthread_attr_setschedparam.c
18777         (__pthread_attr_setschedparam): Likewise.
18778         * nptl/pthread_attr_setschedpolicy.c
18779         (__pthread_attr_setschedpolicy): Likewise.
18780         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
18781         Likewise.
18782         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
18783         Likewise.
18784         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
18785         Likewise.
18786         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
18787         Likewise.
18788         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
18789         Likewise.
18790         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
18791         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
18792         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
18793         use internal_function.
18794         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
18795         prototype-style function definition.
18796         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
18797         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
18798         internal_function.
18799         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
18800         Convert to prototype-style function definition.
18801         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
18802         Likewise.
18803         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
18804         Likewise.
18805         (__pthread_mutex_unlock): Likewise.
18806         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
18807         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
18808         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
18809         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
18810         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
18811         * nss/makedb.c (process_input): Likewise.
18812         * posix/fnmatch.c (__strchrnul): Likewise.
18813         (__wcschrnul): Likewise.
18814         (fnmatch): Likewise.
18815         * posix/fnmatch_loop.c (FCT): Likewise.
18816         * posix/glob.c (globfree): Likewise.
18817         (__glob_pattern_type): Likewise.
18818         (__glob_pattern_p): Likewise.
18819         * posix/regcomp.c (re_compile_pattern): Likewise.
18820         (re_set_syntax): Likewise.
18821         (re_compile_fastmap): Likewise.
18822         (regcomp): Likewise.
18823         (regerror): Likewise.
18824         (regfree): Likewise.
18825         * posix/regexec.c (regexec): Likewise.
18826         (re_match): Likewise.
18827         (re_search): Likewise.
18828         (re_match_2): Likewise.
18829         (re_search_2): Likewise.
18830         (re_search_stub): Likewise.  Use internal_function
18831         (re_copy_regs): Likewise.
18832         (re_set_registers): Convert to prototype-style function
18833         definition.
18834         (prune_impossible_nodes): Likewise.  Use internal_function.
18835         * resolv/inet_net_pton.c (inet_net_pton): Convert to
18836         prototype-style function definition.
18837         (inet_net_pton_ipv4): Likewise.
18838         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18839         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
18840         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
18841         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
18842         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18843         Make variadic.
18844         * time/strptime_l.c (localtime_r): Convert to prototype-style
18845         function definition.
18846         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18847         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18848         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18849         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18851         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
18852         definition.
18853         (_ufc_doit_r): Likewise.
18854         * crypt/crypt_util.c (_ufc_copymem): Likewise.
18855         (_ufc_output_conversion_r): Likewise.
18856         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
18857         * inet/rcmd.c (rcmd_af): Likewise.
18858         (rcmd): Likewise.
18859         (ruserok_af): Likewise.
18860         (ruserok): Likewise.
18861         (ruserok2_sa): Likewise.
18862         (ruserok_sa): Likewise.
18863         (iruserok_af): Likewise.
18864         (iruserok): Likewise.
18865         (__ivaliduser): Likewise.
18866         (__validuser2_sa): Likewise.
18867         * inet/rexec.c (rexec_af): Likewise.
18868         (rexec): Likewise.
18869         * inet/ruserpass.c (ruserpass): Likewise.
18870         * locale/programs/xmalloc.c (xcalloc): Likewise.
18871         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
18872         * math/w_drem.c (__drem): Likewise.
18873         * math/w_dremf.c (__dremf): Likewise.
18874         * math/w_dreml.c (__dreml): Likewise.
18875         * misc/daemon.c (daemon): Likewise.
18876         * resolv/res_debug.c (p_fqnname): Likewise.
18877         * stdlib/div.c (div): Likewise.
18878         * string/memcmp.c (memcmp_bytes): Likewise.
18879         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
18880         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
18882         * crypt/cert.c (main): Convert to prototype-style function
18883         definition.
18884         * io/pipe.c (__pipe): Likewise.
18885         * io/pipe2.c (__pipe2): Likewise.
18886         * misc/futimesat.c (futimesat): Likewise.
18887         * misc/utimes.c (__utimes): Likewise.
18888         * posix/execve.c (__execve): Likewise.
18889         * posix/execvp.c (execvp): Likewise.
18890         * posix/execvpe.c (__execvpe): Likewise.
18891         * posix/fexecve.c (fexecve): Likewise.
18892         * socket/socketpair.c (socketpair): Likewise.
18893         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18894         * stdlib/erand48.c (erand48): Likewise.
18895         * stdlib/erand48_r.c (__erand48_r): Likewise.
18896         * stdlib/jrand48.c (jrand48): Likewise.
18897         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
18898         * stdlib/lcong48.c (lcong48): Likewise.
18899         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
18900         * stdlib/nrand48.c (nrand48): Likewise.
18901         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
18902         * stdlib/seed48.c (seed48): Likewise.
18903         * stdlib/seed48_r.c (__seed48_r): Likewise.
18904         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
18905         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
18906         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
18908 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
18910         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
18911         * configure: Regenerated.
18912         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
18913         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
18914         unconditional.
18915         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18916         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18917         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18918         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
18919         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
18920         unconditional.
18921         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
18923         * posix/Makefile (CFLAGS-regex.c): Remove variable.
18924         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
18926         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
18927         function definition.
18928         * crypt/crypt_util.c (__encrypt_r): Likewise.
18929         * libio/genops.c (_IO_no_init): Likewise.
18930         * libio/iofopncook.c (_IO_fopencookie): Likewise.
18931         (_IO_old_fopencookie): Likewise.
18932         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
18933         * libio/iogetline.c (_IO_getline): Likewise.
18934         (_IO_getline_info): Likewise.
18935         * libio/iogetwline.c (_IO_getwline): Likewise.
18936         (_IO_getwline_info): Likewise.
18937         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
18938         * libio/vswprintf.c (_IO_vswprintf): Likewise.
18939         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
18940         (find_entry): Likewise.
18941         (iterate_table): Likewise.
18942         (lookup): Likewise.
18943         * login/forkpty.c (forkpty): Likewise.
18944         * misc/hsearch_r.c (__hsearch_r): Likewise.
18945         * misc/select.c (__select): Likewise.
18946         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
18947         Likewise.
18948         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
18949         Likewise.
18950         * nptl/old_pthread_cond_timedwait.c
18951         (__pthread_cond_timedwait_2_0): Likewise.
18952         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
18953         * nptl/pthread_barrierattr_getpshared.c
18954         (pthread_barrierattr_getpshared): Likewise.
18955         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
18956         Likewise.
18957         * nptl/pthread_mutex_setprioceiling.c
18958         (pthread_mutex_setprioceiling): Likewise.
18959         * nptl/pthread_mutexattr_getprioceiling.c
18960         (pthread_mutexattr_getprioceiling): Likewise.
18961         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
18962         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18963         Likewise.
18964         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18965         Likewise.
18966         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
18967         Likewise.
18968         * socket/recvfrom.c (__recvfrom): Likewise.
18969         * socket/sendto.c (__sendto): Likewise.
18970         * socket/setsockopt.c (__setsockopt): Likewise.
18971         * stdio-common/_itoa.c (_itoa): Likewise.
18972         * stdio-common/_itowa.c (_itowa): Likewise.
18973         * stdio-common/reg-printf.c (__register_printf_specifier):
18974         Likewise.
18975         (__register_printf_function): Likewise.
18976         * stdio-common/tempname.c (__path_search): Likewise.
18977         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
18978         * stdlib/mul_1.c (mpn_mul_1): Likewise.
18979         * stdlib/random_r.c (__initstate_r): Likewise.
18980         * stdlib/setenv.c (__add_to_environ): Likewise.
18981         * stdlib/submul_1.c (mpn_submul_1): Likewise.
18982         * streams/getpmsg.c (getpmsg): Likewise.
18983         * streams/putmsg.c (putmsg): Likewise.
18984         * streams/putpmsg.c (putpmsg): Likewise.
18985         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
18986         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
18987         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
18988         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
18989         * sunrpc/pm_getport.c (pmap_getport): Likewise.
18990         * sunrpc/svc_udp.c (cache_get): Likewise.
18991         * sunrpc/xdr_array.c (xdr_vector): Likewise.
18992         * sysdeps/mach/hurd/getcwd.c
18993         (__canonicalize_directory_name_internal): Likewise.
18994         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
18995         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
18996         * sysdeps/mach/hurd/select.c (__select): Likewise.
18997         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
18998         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
18999         * sysdeps/sparc/nptl/pthread_barrier_init.c
19000         (__pthread_barrier_init): Likewise.
19001         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
19002         (__pthread_cond_timedwait): Likewise.
19003         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
19004         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
19005         Likewise.
19006         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
19007         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
19008         Likewise.
19009         * sysvipc/semtimedop.c (semtimedop): Likewise.
19010         * time/setitimer.c (__setitimer): Likewise.
19011         * time/strftime_l.c (emacs_strftime): Likewise.
19013 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19015         * config.make.in (have-ssp): Delete.
19016         (stack-protector): New variable.
19017         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
19018         cache test for -fstack-protector-strong.  Export stack_protector to
19019         the best ssp flag.
19020         * configure: Regenerated.
19021         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
19022         * nscd/Makefile (CFLAGS-nscd): Likewise.
19023         * resolv/Makefile (CFLAGS-libresolv): Likewise.
19025 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
19027         [BZ #19122]
19028         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
19029         attribute_hidden.
19031 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19033         [BZ #18743]
19034         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
19035         code to...
19036         (ELIDE_LOCK): ...here.
19037         (__get_new_count): New function with part of the code from
19038         __elide_lock that updates the value of adapt_count after a
19039         transaction abort.
19040         (__elided_trylock): Moved this code to...
19041         (ELIDE_TRYLOCK): ...here.
19043 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
19045         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
19046         * configure: Regenerate.
19047         * INSTALL: Regenerate.
19048         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
19049         and tweak grammar.
19051 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
19053         * login/programs/pt_chown.c: Include signal.h
19054         (main): Clear any signal mask from the parent process.
19056 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19058         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
19059         * configure: Regenerated.
19060         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
19061         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
19062         $(gnu89-inline-CFLAGS).
19064         * configure.ac (libc_cv_asm_weak_directive): Remove configure
19065         test.
19066         (libc_cv_asm_weakext_directive): Likewise.
19067         * configure: Regenerated.
19068         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
19069         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
19070         * include/libc-symbols.h
19071         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
19072         #error.
19073         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
19074         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
19076         * sysdeps/arm/backtrace.c (__backtrace): Convert to
19077         prototype-style function definition.
19078         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19079         * sysdeps/i386/ffs.c (__ffs): Likewise.
19080         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19081         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
19082         Likewise.
19083         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19084         Likewise.
19085         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
19086         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19087         Likewise.
19088         * sysdeps/m68k/ffs.c (__ffs): Likewise.
19089         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
19090         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
19091         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
19092         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
19093         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
19094         * sysdeps/mach/hurd/access.c (__access): Likewise.
19095         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
19096         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
19097         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
19098         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
19099         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
19100         (cthread_getspecific): Likewise.
19101         (cthread_setspecific): Likewise.
19102         (__libc_getspecific): Likewise.
19103         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
19104         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
19105         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
19106         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
19107         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
19108         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
19109         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
19110         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
19111         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
19112         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
19113         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
19114         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
19115         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
19116         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
19117         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
19118         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
19119         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
19120         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
19121         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
19122         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
19123         * sysdeps/mach/hurd/link.c (__link): Likewise.
19124         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
19125         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
19126         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
19127         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
19128         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19129         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
19130         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
19131         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
19132         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19133         * sysdeps/mach/hurd/rename.c (rename): Likewise.
19134         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
19135         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
19136         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
19137         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
19138         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
19139         * sysdeps/mach/hurd/send.c (__send): Likewise.
19140         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
19141         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
19142         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
19143         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
19144         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
19145         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
19146         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
19147         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
19148         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
19149         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
19150         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
19151         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
19152         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
19153         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
19154         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
19155         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
19156         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
19157         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
19158         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
19159         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19160         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
19161         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
19162         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
19163         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
19164         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
19165         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
19166         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
19167         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
19168         * sysdeps/posix/alarm.c (alarm): Likewise.
19169         * sysdeps/posix/cuserid.c (cuserid): Likewise.
19170         * sysdeps/posix/dirfd.c (dirfd): Likewise.
19171         * sysdeps/posix/dup.c (__dup): Likewise.
19172         * sysdeps/posix/dup2.c (__dup2): Likewise.
19173         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
19174         (main): Likewise.
19175         * sysdeps/posix/flock.c (__flock): Likewise.
19176         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
19177         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
19178         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
19179         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
19180         * sysdeps/posix/isatty.c (__isatty): Likewise.
19181         * sysdeps/posix/killpg.c (killpg): Likewise.
19182         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19183         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
19184         * sysdeps/posix/raise.c (raise): Likewise.
19185         * sysdeps/posix/remove.c (remove): Likewise.
19186         * sysdeps/posix/rename.c (rename): Likewise.
19187         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
19188         * sysdeps/posix/seekdir.c (seekdir): Likewise.
19189         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
19190         * sysdeps/posix/sigignore.c (sigignore): Likewise.
19191         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
19192         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
19193         * sysdeps/posix/sigset.c (sigset): Likewise.
19194         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
19195         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
19196         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
19197         * sysdeps/posix/time.c (time): Likewise.
19198         * sysdeps/posix/ttyname.c (getttyname): Likewise.
19199         (ttyname): Likewise.
19200         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
19201         * sysdeps/posix/utime.c (utime): Likewise.
19202         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
19203         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19204         Likewise.
19205         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
19206         (pthread_spin_trylock): Likewise.
19207         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
19208         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
19209         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
19210         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
19211         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
19212         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
19213         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
19214         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
19215         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
19216         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
19217         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
19218         * sysdeps/s390/ffs.c (__ffs): Likewise.
19219         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
19220         Likewise.
19221         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19222         Likewise.
19223         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
19224         Likewise.
19225         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
19226         (pthread_barrier_destroy): Likewise.
19227         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19228         (__pthread_barrier_wait): Likewise.
19229         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
19230         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19231         (__pthread_barrier_wait): Likewise.
19232         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
19233         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
19234         (memcmp_not_common_alignment): Likewise.
19235         (MEMCMP): Likewise.
19236         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
19237         (_wordcopy_fwd_dest_aligned): Likewise.
19238         (_wordcopy_bwd_aligned): Likewise.
19239         (_wordcopy_bwd_dest_aligned): Likewise.
19240         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
19241         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
19242         * sysdeps/unix/bsd/stty.c (stty): Likewise.
19243         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
19244         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
19245         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
19246         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
19247         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
19248         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
19249         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
19250         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
19251         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19252         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
19253         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
19254         * sysdeps/unix/stime.c (stime): Likewise.
19255         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
19256         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
19257         Likewise.  Use internal_function.
19258         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
19259         Convert to prototype-style function definition.
19260         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19261         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19262         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
19263         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19264         Likewise.  Use internal_function.
19265         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
19266         prototype-style function definition
19267         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19268         Likewise.
19269         (__getlogin_r): Likewise.
19270         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
19271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
19272         (__pthread_cond_broadcast): Likewise.
19273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
19274         (__pthread_cond_destroy): Likewise.
19275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
19276         (__pthread_cond_init): Likewise.
19277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
19278         (__pthread_cond_signal): Likewise.
19279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
19280         (__pthread_cond_wait): Likewise.
19281         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
19282         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19283         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
19284         Likewise.
19285         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
19286         Likewise.
19287         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
19288         Likewise.
19289         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
19290         Likewise.
19291         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
19292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
19293         (__ftruncate64): Likewise.
19294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
19295         (truncate64): Likewise.
19296         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
19297         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
19298         (pthread_getcpuclockid): Likewise.
19299         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
19300         Likewise.
19301         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
19302         Likewise.
19303         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
19304         Likewise.
19305         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
19306         Likewise.
19307         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
19308         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
19309         (__libc_sigaction): Likewise.
19310         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
19311         Likewise.
19312         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
19313         (__sigprocmask): Likewise.
19314         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
19315         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
19316         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
19317         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19318         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19319         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
19320         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19321         Likewise.
19322         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
19323         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
19324         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19325         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
19326         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
19327         Likewise.
19328         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
19329         (__sigprocmask): Likewise.
19330         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
19331         (cfgetispeed): Likewise.
19332         (cfsetospeed): Likewise.
19333         (cfsetispeed): Likewise.
19334         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
19335         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
19336         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19337         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19338         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
19339         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
19340         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
19341         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
19342         Likewise.
19343         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
19344         Likewise.
19345         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
19346         Likewise.
19347         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
19348         Likewise.
19349         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19351 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19353         sunrpc: Rewrite with explicit TLS access using __thread.
19354         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
19355         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
19356         directly.
19357         (__rpc_thread_variables): Access thread_rpc_vars directly.
19358         Eliminate redundant assignment of the tvp variable.
19360 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19362         malloc: Rewrite with explicit TLS access using __thread.
19363         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
19364         (tsd_setspecific, tsd_getspecific): Remove.
19365         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
19366         (tsd_setspecific, tsd_getspecific): Likewise.
19367         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
19368         (tsd_setspecific, tsd_getspecific): Likewise.
19369         * malloc/arena.c (thread_arena): New TLS variable.
19370         (arena_key): Remove variable.
19371         (arena_get): Use thread_arena.
19372         (arena_lookup): Remove macro.
19373         (malloc_atfork, free_atfork, ptmalloc_lock_all)
19374         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
19375         (_int_new_arena, get_free_list, reused_arena)
19376         (arena_thread_freeres): Use thread_arena.
19377         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
19378         tsd_getspecific, tsd_setspecific from safety annotations.
19379         (Allocating Cleared Space): Remove arena_lookup from safety
19380         annotations.
19382 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19384         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
19385         struct scratch_buffer instead of extend_alloca.
19387 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19389         * sysdeps/unix/sysv/linux/kernel-features.h
19390         (__ASSUME_SOCK_CLOEXEC): Remove.
19391         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
19392         (__have_paccept): Remove unused macro.
19393         * include/unistd.h (__have_sock_cloexec): Remove declaration.
19394         * misc/syslog.c (openlog_internal): Remove fallback code for
19395         !__ASSUME_SOCK_CLOEXEC.
19396         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
19397         missing SOCK_CLOEXEC.
19398         * nscd/connections.c (have_sock_cloexec): Remove definition.
19399         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19400         * nscd/nscd_helper.c (open_socket): Remove fallback code for
19401         !__ASSUME_SOCK_CLOEXEC.
19402         * resolv/res_send.c (__have_o_nonblock): Remove definition.
19403         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
19404         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
19405         definition.
19406         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
19407         code for !__ASSUME_SOCK_CLOEXEC.
19409 2015-10-17  Florian Weimer  <fweimer@redhat.com>
19411         [BZ #18982]
19412         * manual/stdio.texi (Variable Arguments Output): Add portability
19413         note, explaining that vfprintf clobbers the va_list pointer.
19415 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19417         * math/libm-test.inc (fabs_test_data): Add more tests.
19418         (fdim_test_data): Likewise.
19419         (fma_test_data): Likewise.
19420         (fmax_test_data): Likewise.
19421         (fmin_test_data): Likewise.
19422         (fmod_test_data): Likewise.
19424 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
19426         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
19427         data.
19429 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
19431         * math/libm-test.inc (ceil_test_data): Add more tests and more
19432         expectations for "inexact".
19433         (floor_test_data): Add more tests.
19434         (round_test_data): Likewise.
19435         (trunc_test_data): Likewise.
19437         * crypt/cert.c (good_bye): Convert to prototype-style function
19438         definition.
19439         (get8): Likewise.
19440         (put8): Likewise.
19441         * crypt/crypt-entry.c (crypt): Likewise.
19442         (__fcrypt): Likewise.
19443         * crypt/crypt_util.c (_ufc_prbits): Likewise.
19444         (_ufc_set_bits): Likewise.
19445         (_ufc_clearmem): Likewise.
19446         (__init_des_r): Likewise.
19447         (shuffle_sb): Likewise.
19448         (shuffle_sb): Likewise.
19449         (_ufc_setup_salt_r): Likewise.
19450         (_ufc_mk_keytab_r): Likewise.
19451         (_ufc_dofinalperm_r): Likewise.
19452         (encrypt): Likewise.
19453         (__setkey_r): Likewise.
19454         (setkey): Likewise.
19455         * crypt/md5.c (md5_init_ctx): Likewise.
19456         (md5_read_ctx): Likewise.
19457         (md5_finish_ctx): Likewise.
19458         (md5_stream): Likewise.
19459         (md5_buffer): Likewise.
19460         (md5_process_bytes): Likewise.
19461         * crypt/sha256.c (__sha256_init_ctx): Likewise.
19462         (__sha256_finish_ctx): Likewise.
19463         (__sha256_process_bytes): Likewise.
19464         * crypt/sha512.c (__sha512_init_ctx): Likewise.
19465         (__sha512_finish_ctx): Likewise.
19466         (__sha512_process_bytes): Likewise.
19467         * ctype/isctype.c (__isctype): Likewise.
19468         * debug/backtrace.c (__backtrace): Likewise.
19469         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
19470         * debug/fgets_chk.c (__fgets_chk): Likewise.
19471         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
19472         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
19473         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19474         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19475         * debug/memset_chk.c (__memset_chk): Likewise.
19476         * debug/strcat_chk.c (__strcat_chk): Likewise.
19477         * debug/strncat_chk.c (__strncat_chk): Likewise.
19478         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
19479         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
19480         * dirent/dirfd.c (dirfd): Likewise.
19481         * dirent/getdents.c (__getdirentries): Likewise.
19482         * dirent/getdents64.c (getdirentries64): Likewise.
19483         * dirent/rewinddir.c (__rewinddir): Likewise.
19484         * dirent/seekdir.c (seekdir): Likewise.
19485         * dirent/telldir.c (telldir): Likewise.
19486         * elf/sln.c (makesymlinks): Likewise.
19487         (makesymlink): Likewise.
19488         * gmon/gmon.c (__moncontrol): Likewise.
19489         (__monstartup): Likewise.
19490         (write_hist): Likewise.
19491         (write_call_graph): Likewise.
19492         (write_bb_counts): Likewise.
19493         * grp/setgroups.c (setgroups): Likewise.
19494         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19495         * inet/inet_net.c (inet_network): Likewise.
19496         * inet/inet_netof.c (inet_netof): Likewise.
19497         * inet/rcmd.c (rresvport_af): Likewise.
19498         (rresvport): Likewise.
19499         * io/access.c (__access): Likewise.
19500         * io/chdir.c (__chdir): Likewise.
19501         * io/chmod.c (__chmod): Likewise.
19502         * io/chown.c (__chown): Likewise.
19503         * io/close.c (__close): Likewise.
19504         * io/creat.c (creat): Likewise.
19505         * io/creat64.c (creat64): Likewise.
19506         * io/dup.c (__dup): Likewise.
19507         * io/dup2.c (__dup2): Likewise.
19508         * io/dup3.c (__dup3): Likewise.
19509         * io/euidaccess.c (__euidaccess): Likewise.
19510         * io/faccessat.c (faccessat): Likewise.
19511         * io/fchmod.c (__fchmod): Likewise.
19512         * io/fchmodat.c (fchmodat): Likewise.
19513         * io/fchown.c (__fchown): Likewise.
19514         * io/fchownat.c (fchownat): Likewise.
19515         * io/fcntl.c (__fcntl): Likewise.
19516         * io/flock.c (__flock): Likewise.
19517         * io/fts.c (fts_load): Likewise.
19518         (fts_close): Likewise.
19519         (fts_read): Likewise.
19520         (fts_set): Likewise.
19521         (fts_children): Likewise.
19522         (fts_build): Likewise.
19523         (fts_stat): Likewise.
19524         (fts_sort): Likewise.
19525         (fts_alloc): Likewise.
19526         (fts_lfree): Likewise.
19527         (fts_palloc): Likewise.
19528         (fts_padjust): Likewise.
19529         (fts_maxarglen): Likewise.
19530         (fts_safe_changedir): Likewise.
19531         * io/getwd.c (getwd): Likewise.
19532         * io/isatty.c (__isatty): Likewise.
19533         * io/lchown.c (__lchown): Likewise.
19534         * io/link.c (__link): Likewise.
19535         * io/linkat.c (linkat): Likewise.
19536         * io/lseek.c (__libc_lseek): Likewise.
19537         * io/mkdir.c (__mkdir): Likewise.
19538         * io/mkdirat.c (mkdirat): Likewise.
19539         * io/mkfifo.c (mkfifo): Likewise.
19540         * io/mkfifoat.c (mkfifoat): Likewise.
19541         * io/open.c (__libc_open): Likewise.
19542         * io/open64.c (__libc_open64): Likewise.
19543         * io/readlink.c (__readlink): Likewise.
19544         * io/readlinkat.c (readlinkat): Likewise.
19545         * io/rmdir.c (__rmdir): Likewise.
19546         * io/symlink.c (__symlink): Likewise.
19547         * io/symlinkat.c (symlinkat): Likewise.
19548         * io/ttyname.c (ttyname): Likewise.
19549         * io/ttyname_r.c (__ttyname_r): Likewise.
19550         * io/umask.c (__umask): Likewise.
19551         * io/unlink.c (__unlink): Likewise.
19552         * io/unlinkat.c (unlinkat): Likewise.
19553         * io/utime.c (utime): Likewise.
19554         * libio/clearerr.c (clearerr): Likewise.
19555         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
19556         * libio/feof.c (_IO_feof): Likewise.
19557         * libio/feof_u.c (feof_unlocked): Likewise.
19558         * libio/ferror.c (_IO_ferror): Likewise.
19559         * libio/ferror_u.c (ferror_unlocked): Likewise.
19560         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19561         * libio/fileno.c (__fileno): Likewise.
19562         * libio/fputc.c (fputc): Likewise.
19563         * libio/fputc_u.c (fputc_unlocked): Likewise.
19564         * libio/fputwc.c (fputwc): Likewise.
19565         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
19566         * libio/freopen.c (freopen): Likewise.
19567         * libio/freopen64.c (freopen64): Likewise.
19568         * libio/fseek.c (fseek): Likewise.
19569         * libio/fseeko.c (fseeko): Likewise.
19570         * libio/fseeko64.c (fseeko64): Likewise.
19571         * libio/ftello.c (__ftello): Likewise.
19572         * libio/ftello64.c (ftello64): Likewise.
19573         * libio/fwide.c (fwide): Likewise.
19574         * libio/genops.c (_IO_un_link): Likewise.
19575         (_IO_link_in): Likewise.
19576         (_IO_least_marker): Likewise.
19577         (_IO_switch_to_main_get_area): Likewise.
19578         (_IO_switch_to_backup_area): Likewise.
19579         (_IO_switch_to_get_mode): Likewise.
19580         (_IO_free_backup_area): Likewise.
19581         (_IO_switch_to_put_mode): Likewise.
19582         (__overflow): Likewise.
19583         (__underflow): Likewise.
19584         (__uflow): Likewise.
19585         (_IO_setb): Likewise.
19586         (_IO_doallocbuf): Likewise.
19587         (_IO_default_underflow): Likewise.
19588         (_IO_default_uflow): Likewise.
19589         (_IO_default_xsputn): Likewise.
19590         (_IO_sgetn): Likewise.
19591         (_IO_default_xsgetn): Likewise.
19592         (_IO_sync): Likewise.
19593         (_IO_default_setbuf): Likewise.
19594         (_IO_default_seekpos): Likewise.
19595         (_IO_default_doallocate): Likewise.
19596         (_IO_init): Likewise.
19597         (_IO_old_init): Likewise.
19598         (_IO_default_sync): Likewise.
19599         (_IO_default_finish): Likewise.
19600         (_IO_default_seekoff): Likewise.
19601         (_IO_sputbackc): Likewise.
19602         (_IO_sungetc): Likewise.
19603         (_IO_set_column): Likewise.
19604         (_IO_set_column): Likewise.
19605         (_IO_adjust_column): Likewise.
19606         (_IO_get_column): Likewise.
19607         (_IO_init_marker): Likewise.
19608         (_IO_remove_marker): Likewise.
19609         (_IO_marker_difference): Likewise.
19610         (_IO_marker_delta): Likewise.
19611         (_IO_seekmark): Likewise.
19612         (_IO_unsave_markers): Likewise.
19613         (_IO_nobackup_pbackfail): Likewise.
19614         (_IO_default_pbackfail): Likewise.
19615         (_IO_default_seek): Likewise.
19616         (_IO_default_stat): Likewise.
19617         (_IO_default_read): Likewise.
19618         (_IO_default_write): Likewise.
19619         (_IO_default_showmanyc): Likewise.
19620         (_IO_default_imbue): Likewise.
19621         (_IO_iter_next): Likewise.
19622         (_IO_iter_file): Likewise.
19623         * libio/getc.c (_IO_getc): Likewise.
19624         * libio/getwc.c (_IO_getwc): Likewise.
19625         * libio/iofclose.c (_IO_new_fclose): Likewise.
19626         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19627         * libio/iofflush.c (_IO_fflush): Likewise.
19628         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
19629         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
19630         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
19631         * libio/iofgets.c (_IO_fgets): Likewise.
19632         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
19633         * libio/iofgetws.c (fgetws): Likewise.
19634         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19635         * libio/iofopen64.c (_IO_fopen64): Likewise.
19636         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19637         (_IO_cookie_write): Likewise.
19638         (_IO_cookie_seek): Likewise.
19639         (_IO_cookie_close): Likewise.
19640         (_IO_cookie_seekoff): Likewise.
19641         (_IO_old_cookie_seek): Likewise.
19642         * libio/iofputs.c (_IO_fputs): Likewise.
19643         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
19644         * libio/iofputws.c (fputws): Likewise.
19645         * libio/iofputws_u.c (fputws_unlocked): Likewise.
19646         * libio/iofread.c (_IO_fread): Likewise.
19647         * libio/iofread_u.c (__fread_unlocked): Likewise.
19648         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
19649         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
19650         * libio/ioftell.c (_IO_ftell): Likewise.
19651         * libio/iofwrite.c (_IO_fwrite): Likewise.
19652         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19653         * libio/iogets.c (_IO_gets): Likewise.
19654         * libio/iopadn.c (_IO_padn): Likewise.
19655         * libio/iopopen.c (_IO_new_proc_open): Likewise.
19656         (_IO_new_popen): Likewise.
19657         (_IO_new_proc_close): Likewise.
19658         * libio/ioputs.c (_IO_puts): Likewise.
19659         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
19660         (_IO_seekoff): Likewise.
19661         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
19662         (_IO_seekpos): Likewise.
19663         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
19664         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
19665         * libio/ioungetc.c (_IO_ungetc): Likewise.
19666         * libio/ioungetwc.c (ungetwc): Likewise.
19667         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19668         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
19669         * libio/iowpadn.c (_IO_wpadn): Likewise.
19670         * libio/libc_fatal.c (__libc_fatal): Likewise.
19671         * libio/memstream.c (__open_memstream): Likewise.
19672         (_IO_mem_sync): Likewise.
19673         (_IO_mem_finish): Likewise.
19674         * libio/oldfileops.c (_IO_old_file_init): Likewise.
19675         (_IO_old_file_close_it): Likewise.
19676         (_IO_old_file_finish): Likewise.
19677         (_IO_old_file_fopen): Likewise.
19678         (_IO_old_file_attach): Likewise.
19679         (_IO_old_file_setbuf): Likewise.
19680         (_IO_old_do_write): Likewise.
19681         (old_do_write): Likewise.
19682         (_IO_old_file_underflow): Likewise.
19683         (_IO_old_file_overflow): Likewise.
19684         (_IO_old_file_sync): Likewise.
19685         (_IO_old_file_seekoff): Likewise.
19686         (_IO_old_file_write): Likewise.
19687         (_IO_old_file_xsputn): Likewise.
19688         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
19689         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19690         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
19691         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
19692         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19693         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
19694         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
19695         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
19696         (_IO_old_popen): Likewise.
19697         (_IO_old_proc_close): Likewise.
19698         * libio/oldpclose.c (__old_pclose): Likewise.
19699         * libio/pclose.c (__new_pclose): Likewise.
19700         * libio/peekc.c (_IO_peekc_locked): Likewise.
19701         * libio/putc.c (_IO_putc): Likewise.
19702         * libio/putc_u.c (putc_unlocked): Likewise.
19703         * libio/putchar.c (putchar): Likewise.
19704         * libio/putchar_u.c (putchar_unlocked): Likewise.
19705         * libio/putwc.c (putwc): Likewise.
19706         * libio/putwc_u.c (putwc_unlocked): Likewise.
19707         * libio/putwchar.c (putwchar): Likewise.
19708         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
19709         * libio/rewind.c (rewind): Likewise.
19710         * libio/setbuf.c (setbuf): Likewise.
19711         * libio/setlinebuf.c (setlinebuf): Likewise.
19712         * libio/vasprintf.c (_IO_vasprintf): Likewise.
19713         * libio/vscanf.c (_IO_vscanf): Likewise.
19714         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
19715         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
19716         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19717         * libio/wgenops.c (_IO_least_wmarker): Likewise.
19718         (_IO_switch_to_main_wget_area): Likewise.
19719         (_IO_switch_to_wbackup_area): Likewise.
19720         (_IO_wsetb): Likewise.
19721         (_IO_wdefault_pbackfail): Likewise.
19722         (_IO_wdefault_finish): Likewise.
19723         (_IO_wdefault_uflow): Likewise.
19724         (__woverflow): Likewise.
19725         (__wuflow): Likewise.
19726         (__wunderflow): Likewise.
19727         (_IO_wdefault_xsputn): Likewise.
19728         (_IO_wdefault_xsgetn): Likewise.
19729         (_IO_wdoallocbuf): Likewise.
19730         (_IO_wdefault_doallocate): Likewise.
19731         (_IO_switch_to_wget_mode): Likewise.
19732         (_IO_free_wbackup_area): Likewise.
19733         (_IO_switch_to_wput_mode): Likewise.
19734         (_IO_sputbackwc): Likewise.
19735         (_IO_sungetwc): Likewise.
19736         (_IO_adjust_wcolumn): Likewise.
19737         (_IO_init_wmarker): Likewise.
19738         (_IO_wmarker_delta): Likewise.
19739         (_IO_seekwmark): Likewise.
19740         (_IO_unsave_wmarkers): Likewise.
19741         * libio/wmemstream.c (open_wmemstream): Likewise.
19742         (_IO_wmem_sync): Likewise.
19743         (_IO_wmem_finish): Likewise.
19744         * locale/nl_langinfo.c (nl_langinfo): Likewise.
19745         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
19746         * locale/programs/simple-hash.c (init_hash): Likewise.
19747         (delete_hash): Likewise.
19748         (insert_entry): Likewise.
19749         (set_entry): Likewise.
19750         (next_prime): Likewise.
19751         (is_prime): Likewise.
19752         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
19753         (xmalloc): Likewise.
19754         (xrealloc): Likewise.
19755         * locale/programs/xstrdup.c (xstrdup): Likewise.
19756         * localedata/collate-test.c (xstrcoll): Likewise.
19757         * localedata/xfrm-test.c (xstrcmp): Likewise.
19758         * login/getlogin_r.c (__getlogin_r): Likewise.
19759         * login/getpt.c (__posix_openpt): Likewise.
19760         * login/login_tty.c (login_tty): Likewise.
19761         * login/setlogin.c (setlogin): Likewise.
19762         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
19763         (mach_msg_destroy_port): Likewise.
19764         (mach_msg_destroy_memory): Likewise.
19765         * malloc/mcheck.c (flood): Likewise.
19766         * misc/acct.c (acct): Likewise.
19767         * misc/brk.c (__brk): Likewise.
19768         * misc/chflags.c (chflags): Likewise.
19769         * misc/chroot.c (chroot): Likewise.
19770         * misc/fchflags.c (fchflags): Likewise.
19771         * misc/fstab.c (getfsspec): Likewise.
19772         (getfsfile): Likewise.
19773         * misc/fsync.c (fsync): Likewise.
19774         * misc/ftruncate.c (__ftruncate): Likewise.
19775         * misc/ftruncate64.c (__ftruncate64): Likewise.
19776         * misc/getdomain.c (getdomainname): Likewise.
19777         (getdomainname): Likewise.
19778         * misc/gethostname.c (__gethostname): Likewise.
19779         * misc/getpass.c (getpass): Likewise.
19780         * misc/getttyent.c (skip): Likewise.
19781         (value): Likewise.
19782         * misc/gtty.c (gtty): Likewise.
19783         * misc/hsearch.c (hsearch): Likewise.
19784         (hcreate): Likewise.
19785         * misc/hsearch_r.c (__hcreate_r): Likewise.
19786         (__hdestroy_r): Likewise.
19787         * misc/ioctl.c (__ioctl): Likewise.
19788         * misc/mkdtemp.c (mkdtemp): Likewise.
19789         * misc/mkostemp.c (mkostemp): Likewise.
19790         * misc/mkostemp64.c (mkostemp64): Likewise.
19791         * misc/mkostemps.c (mkostemps): Likewise.
19792         * misc/mkostemps64.c (mkostemps64): Likewise.
19793         * misc/mkstemp.c (mkstemp): Likewise.
19794         * misc/mkstemp64.c (mkstemp64): Likewise.
19795         * misc/mkstemps.c (mkstemps): Likewise.
19796         * misc/mkstemps64.c (mkstemps64): Likewise.
19797         * misc/mktemp.c (__mktemp): Likewise.
19798         * misc/preadv.c (preadv): Likewise.
19799         * misc/preadv64.c (preadv64): Likewise.
19800         * misc/pwritev.c (pwritev): Likewise.
19801         * misc/pwritev64.c (pwritev64): Likewise.
19802         * misc/readv.c (__readv): Likewise.
19803         * misc/revoke.c (revoke): Likewise.
19804         * misc/setdomain.c (setdomainname): Likewise.
19805         * misc/setegid.c (setegid): Likewise.
19806         * misc/seteuid.c (seteuid): Likewise.
19807         * misc/sethostid.c (sethostid): Likewise.
19808         * misc/sethostname.c (sethostname): Likewise.
19809         * misc/setregid.c (__setregid): Likewise.
19810         * misc/setreuid.c (__setreuid): Likewise.
19811         * misc/sstk.c (sstk): Likewise.
19812         * misc/stty.c (stty): Likewise.
19813         * misc/syscall.c (syscall): Likewise.
19814         * misc/syslog.c (setlogmask): Likewise.
19815         * misc/truncate.c (__truncate): Likewise.
19816         * misc/truncate64.c (truncate64): Likewise.
19817         * misc/ualarm.c (ualarm): Likewise.
19818         * misc/usleep.c (usleep): Likewise.
19819         * misc/ustat.c (ustat): Likewise.
19820         * misc/writev.c (__writev): Likewise.
19821         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
19822         * nptl/old_pthread_cond_broadcast.c
19823         (__pthread_cond_broadcast_2_0): Likewise.
19824         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
19825         Likewise.
19826         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
19827         Likewise.
19828         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
19829         Likewise.
19830         * nptl/pt-raise.c (raise): Likewise.
19831         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
19832         Likewise.
19833         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
19834         * nptl/pthread_barrierattr_destroy.c
19835         (pthread_barrierattr_destroy): Likewise.
19836         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
19837         Likewise.
19838         * nptl/pthread_barrierattr_setpshared.c
19839         (pthread_barrierattr_setpshared): Likewise.
19840         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19841         Likewise.
19842         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
19843         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
19844         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
19845         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
19846         Likewise.
19847         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
19848         Likewise.
19849         * nptl/pthread_condattr_getpshared.c
19850         (pthread_condattr_getpshared): Likewise.
19851         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
19852         Likewise.
19853         * nptl/pthread_condattr_setpshared.c
19854         (pthread_condattr_setpshared): Likewise.
19855         * nptl/pthread_detach.c (pthread_detach): Likewise.
19856         * nptl/pthread_equal.c (__pthread_equal): Likewise.
19857         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
19858         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
19859         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
19860         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
19861         Likewise.
19862         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
19863         Likewise.
19864         * nptl/pthread_mutex_getprioceiling.c
19865         (pthread_mutex_getprioceiling): Likewise.
19866         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
19867         Likewise.
19868         * nptl/pthread_mutexattr_getprotocol.c
19869         (pthread_mutexattr_getprotocol): Likewise.
19870         * nptl/pthread_mutexattr_getpshared.c
19871         (pthread_mutexattr_getpshared): Likewise.
19872         * nptl/pthread_mutexattr_getrobust.c
19873         (pthread_mutexattr_getrobust): Likewise.
19874         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19875         Likewise.
19876         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
19877         Likewise.
19878         * nptl/pthread_mutexattr_setprioceiling.c
19879         (pthread_mutexattr_setprioceiling): Likewise.
19880         * nptl/pthread_mutexattr_setprotocol.c
19881         (pthread_mutexattr_setprotocol): Likewise.
19882         * nptl/pthread_mutexattr_setpshared.c
19883         (pthread_mutexattr_setpshared): Likewise.
19884         * nptl/pthread_mutexattr_setrobust.c
19885         (pthread_mutexattr_setrobust): Likewise.
19886         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
19887         Likewise.
19888         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
19889         Likewise.
19890         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
19891         Likewise.
19892         * nptl/pthread_rwlockattr_getkind_np.c
19893         (pthread_rwlockattr_getkind_np): Likewise.
19894         * nptl/pthread_rwlockattr_getpshared.c
19895         (pthread_rwlockattr_getpshared): Likewise.
19896         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
19897         Likewise.
19898         * nptl/pthread_rwlockattr_setkind_np.c
19899         (pthread_rwlockattr_setkind_np): Likewise.
19900         * nptl/pthread_rwlockattr_setpshared.c
19901         (pthread_rwlockattr_setpshared): Likewise.
19902         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
19903         Likewise.
19904         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
19905         Likewise.
19906         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
19907         Likewise.
19908         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
19909         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
19910         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
19911         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
19912         * nptl/sem_close.c (sem_close): Likewise.
19913         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
19914         * nptl/sem_init.c (__old_sem_init): Likewise.
19915         * nptl/sigaction.c (__sigaction): Likewise.
19916         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19917         * posix/_exit.c (_exit): Likewise.
19918         * posix/alarm.c (alarm): Likewise.
19919         * posix/confstr.c (confstr): Likewise.
19920         * posix/fpathconf.c (__fpathconf): Likewise.
19921         * posix/getgroups.c (__getgroups): Likewise.
19922         * posix/getpgid.c (__getpgid): Likewise.
19923         * posix/group_member.c (__group_member): Likewise.
19924         * posix/pathconf.c (__pathconf): Likewise.
19925         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
19926         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
19927         * posix/setgid.c (__setgid): Likewise.
19928         * posix/setpgid.c (__setpgid): Likewise.
19929         * posix/setuid.c (__setuid): Likewise.
19930         * posix/sleep.c (__sleep): Likewise.
19931         * posix/sysconf.c (__sysconf): Likewise.
19932         * posix/times.c (__times): Likewise.
19933         * posix/uname.c (__uname): Likewise.
19934         * posix/waitid.c (__waitid): Likewise.
19935         * pwd/getpw.c (__getpw): Likewise.
19936         * resolv/base64.c (b64_pton): Likewise.
19937         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
19938         * resolv/gethnamaddr.c (Dprintf): Likewise.
19939         (gethostbyname): Likewise.
19940         (gethostbyname2): Likewise.
19941         (gethostbyaddr): Likewise.
19942         (_sethtent): Likewise.
19943         (_gethtbyname): Likewise.
19944         (_gethtbyname2): Likewise.
19945         (_gethtbyaddr): Likewise.
19946         (map_v4v6_address): Likewise.
19947         (map_v4v6_hostent): Likewise.
19948         (addrsort): Likewise.
19949         (ht_sethostent): Likewise.
19950         (ht_gethostbyname): Likewise.
19951         (ht_gethostbyaddr): Likewise.
19952         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
19953         (inet_net_ntop_ipv4): Likewise.
19954         * resolv/inet_neta.c (inet_neta): Likewise.
19955         * resolv/inet_ntop.c (inet_ntop): Likewise.
19956         (inet_ntop4): Likewise.
19957         (inet_ntop6): Likewise.
19958         * resolv/inet_pton.c (__inet_pton): Likewise.
19959         (inet_pton4): Likewise.
19960         (inet_pton6): Likewise.
19961         * resolv/res_debug.c (loc_aton): Likewise.
19962         (loc_ntoa): Likewise.
19963         * resource/getpriority.c (__getpriority): Likewise.
19964         * resource/getrusage.c (__getrusage): Likewise.
19965         * resource/nice.c (nice): Likewise.
19966         * resource/setpriority.c (__setpriority): Likewise.
19967         * resource/setrlimit64.c (setrlimit64): Likewise.
19968         * resource/vlimit.c (vlimit): Likewise.
19969         * resource/vtimes.c (vtimes): Likewise.
19970         * rt/aio_error.c (aio_error): Likewise.
19971         * rt/aio_return.c (aio_return): Likewise.
19972         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
19973         * signal/kill.c (__kill): Likewise.
19974         * signal/killpg.c (killpg): Likewise.
19975         * signal/raise.c (raise): Likewise.
19976         * signal/sigaction.c (__sigaction): Likewise.
19977         * signal/sigaddset.c (sigaddset): Likewise.
19978         * signal/sigaltstack.c (sigaltstack): Likewise.
19979         * signal/sigandset.c (sigandset): Likewise.
19980         * signal/sigblock.c (__sigblock): Likewise.
19981         * signal/sigdelset.c (sigdelset): Likewise.
19982         * signal/sigempty.c (sigemptyset): Likewise.
19983         * signal/sigfillset.c (sigfillset): Likewise.
19984         * signal/sighold.c (sighold): Likewise.
19985         * signal/sigignore.c (sigignore): Likewise.
19986         * signal/sigintr.c (siginterrupt): Likewise.
19987         * signal/sigisempty.c (sigisemptyset): Likewise.
19988         * signal/sigismem.c (sigismember): Likewise.
19989         * signal/signal.c (signal): Likewise.
19990         * signal/sigorset.c (sigorset): Likewise.
19991         * signal/sigpause.c (__sigpause): Likewise.
19992         * signal/sigpending.c (sigpending): Likewise.
19993         * signal/sigprocmask.c (__sigprocmask): Likewise.
19994         * signal/sigrelse.c (sigrelse): Likewise.
19995         * signal/sigreturn.c (__sigreturn): Likewise.
19996         * signal/sigset.c (sigset): Likewise.
19997         * signal/sigsetmask.c (__sigsetmask): Likewise.
19998         * signal/sigstack.c (sigstack): Likewise.
19999         * signal/sigsuspend.c (__sigsuspend): Likewise.
20000         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
20001         * signal/sysv_signal.c (__sysv_signal): Likewise.
20002         * socket/accept.c (accept): Likewise.
20003         * socket/accept4.c (__libc_accept4): Likewise.
20004         * socket/bind.c (__bind): Likewise.
20005         * socket/connect.c (__connect): Likewise.
20006         * socket/getpeername.c (getpeername): Likewise.
20007         * socket/getsockname.c (__getsockname): Likewise.
20008         * socket/getsockopt.c (getsockopt): Likewise.
20009         * socket/listen.c (__listen): Likewise.
20010         * socket/recv.c (__recv): Likewise.
20011         * socket/recvmsg.c (__recvmsg): Likewise.
20012         * socket/send.c (__send): Likewise.
20013         * socket/sendmsg.c (__sendmsg): Likewise.
20014         * socket/shutdown.c (shutdown): Likewise.
20015         * socket/sockatmark.c (sockatmark): Likewise.
20016         * socket/socket.c (__socket): Likewise.
20017         * stdio-common/ctermid.c (ctermid): Likewise.
20018         * stdio-common/cuserid.c (cuserid): Likewise.
20019         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
20020         * stdio-common/remove.c (remove): Likewise.
20021         * stdio-common/rename.c (rename): Likewise.
20022         * stdio-common/renameat.c (renameat): Likewise.
20023         * stdio-common/tempname.c (__gen_tempname): Likewise.
20024         * stdio-common/xbug.c (InitBuffer): Likewise.
20025         (AppendToBuffer): Likewise.
20026         (ReadFile): Likewise.
20027         * stdlib/a64l.c (a64l): Likewise.
20028         * stdlib/drand48_r.c (drand48_r): Likewise.
20029         * stdlib/getcontext.c (getcontext): Likewise.
20030         * stdlib/getenv.c (getenv): Likewise.
20031         * stdlib/l64a.c (l64a): Likewise.
20032         * stdlib/llabs.c (llabs): Likewise.
20033         * stdlib/lldiv.c (lldiv): Likewise.
20034         * stdlib/lrand48_r.c (lrand48_r): Likewise.
20035         * stdlib/mrand48_r.c (mrand48_r): Likewise.
20036         * stdlib/putenv.c (putenv): Likewise.
20037         * stdlib/random.c (__srandom): Likewise.
20038         (__initstate): Likewise.
20039         (__setstate): Likewise.
20040         * stdlib/random_r.c (__srandom_r): Likewise.
20041         (__setstate_r): Likewise.
20042         (__random_r): Likewise.
20043         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
20044         * stdlib/setcontext.c (setcontext): Likewise.
20045         * stdlib/setenv.c (setenv): Likewise.
20046         (unsetenv): Likewise.
20047         * stdlib/srand48.c (srand48): Likewise.
20048         * stdlib/srand48_r.c (__srand48_r): Likewise.
20049         * stdlib/swapcontext.c (swapcontext): Likewise.
20050         * stdlib/system.c (__libc_system): Likewise.
20051         * stdlib/tst-strtod.c (expand): Likewise.
20052         * stdlib/tst-strtol.c (expand): Likewise.
20053         * stdlib/tst-strtoll.c (expand): Likewise.
20054         * streams/fattach.c (fattach): Likewise.
20055         * streams/fdetach.c (fdetach): Likewise.
20056         * streams/getmsg.c (getmsg): Likewise.
20057         * streams/isastream.c (isastream): Likewise.
20058         * string/ffs.c (__ffs): Likewise.
20059         * string/ffsll.c (ffsll): Likewise.
20060         * string/memcmp.c (memcmp_common_alignment): Likewise.
20061         (memcmp_not_common_alignment): Likewise.
20062         (MEMCMP): Likewise.
20063         * string/memcpy.c (memcpy): Likewise.
20064         * string/memmove.c (MEMMOVE): Likewise.
20065         * string/memset.c (memset): Likewise.
20066         * string/rawmemchr.c (RAWMEMCHR): Likewise.
20067         * string/strchrnul.c (STRCHRNUL): Likewise.
20068         * string/strerror.c (strerror): Likewise.
20069         * string/strndup.c (__strndup): Likewise.
20070         * string/strverscmp.c (__strverscmp): Likewise.
20071         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
20072         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
20073         (clnttcp_freeres): Likewise.
20074         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
20075         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
20076         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
20077         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
20078         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
20079         (xdr_callhdr): Likewise.
20080         * sunrpc/rpcinfo.c (udpping): Likewise.
20081         (tcpping): Likewise.
20082         (pstatus): Likewise.
20083         (pmapdump): Likewise.
20084         (brdcst): Likewise.
20085         (deletereg): Likewise.
20086         (getprognum): Likewise.
20087         (getvers): Likewise.
20088         (get_inet_address): Likewise.
20089         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
20090         * sunrpc/svc_udp.c (svcudp_create): Likewise.
20091         (svcudp_stat): Likewise.
20092         (svcudp_recv): Likewise.
20093         (svcudp_reply): Likewise.
20094         (svcudp_getargs): Likewise.
20095         (svcudp_freeargs): Likewise.
20096         (svcudp_destroy): Likewise.
20097         * sunrpc/xdr.c (xdr_bytes): Likewise.
20098         (xdr_netobj): Likewise.
20099         (xdr_string): Likewise.
20100         (xdr_wrapstring): Likewise.
20101         * sunrpc/xdr_float.c (xdr_float): Likewise.
20102         (xdr_double): Likewise.
20103         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
20104         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
20105         * sysvipc/ftok.c (ftok): Likewise.
20106         * sysvipc/msgctl.c (msgctl): Likewise.
20107         * sysvipc/msgget.c (msgget): Likewise.
20108         * sysvipc/msgrcv.c (msgrcv): Likewise.
20109         * sysvipc/msgsnd.c (msgsnd): Likewise.
20110         * sysvipc/semget.c (semget): Likewise.
20111         * sysvipc/semop.c (semop): Likewise.
20112         * sysvipc/shmat.c (shmat): Likewise.
20113         * sysvipc/shmctl.c (shmctl): Likewise.
20114         * sysvipc/shmdt.c (shmdt): Likewise.
20115         * sysvipc/shmget.c (shmget): Likewise.
20116         * termios/cfmakeraw.c (cfmakeraw): Likewise.
20117         * termios/speed.c (cfgetospeed): Likewise.
20118         (cfgetispeed): Likewise.
20119         (cfsetospeed): Likewise.
20120         (cfsetispeed): Likewise.
20121         * termios/tcflow.c (tcflow): Likewise.
20122         * termios/tcflush.c (tcflush): Likewise.
20123         * termios/tcgetattr.c (__tcgetattr): Likewise.
20124         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
20125         * termios/tcgetsid.c (tcgetsid): Likewise.
20126         * termios/tcsendbrk.c (tcsendbreak): Likewise.
20127         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
20128         * time/adjtime.c (__adjtime): Likewise.
20129         * time/dysize.c (dysize): Likewise.
20130         * time/ftime.c (ftime): Likewise.
20131         * time/getitimer.c (__getitimer): Likewise.
20132         * time/gettimeofday.c (__gettimeofday): Likewise.
20133         * time/gmtime.c (__gmtime_r): Likewise.
20134         (gmtime): Likewise.
20135         * time/localtime.c (__localtime_r): Likewise.
20136         (localtime): Likewise.
20137         * time/offtime.c (__offtime): Likewise.
20138         * time/settimeofday.c (__settimeofday): Likewise.
20139         * time/stime.c (stime): Likewise.
20140         * time/strftime_l.c (tm_diff): Likewise.
20141         (iso_week_days): Likewise.
20142         * time/strptime.c (strptime): Likewise.
20143         * time/time.c (time): Likewise.
20144         * time/timespec_get.c (timespec_get): Likewise.
20145         * time/tzset.c (tzset_internal): Likewise.
20146         (compute_change): Likewise.
20147         (__tz_compute): Likewise.
20148         * wcsmbs/btowc.c (__btowc): Likewise.
20149         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
20150         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
20151         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
20152         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
20153         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
20154         * wcsmbs/wcscat.c (__wcscat): Likewise.
20155         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20156         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
20157         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
20158         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20159         * wcsmbs/wcsdup.c (wcsdup): Likewise.
20160         * wcsmbs/wcslen.c (__wcslen): Likewise.
20161         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
20162         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
20163         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
20164         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
20165         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20166         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
20167         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20168         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20169         * wcsmbs/wcstok.c (wcstok): Likewise.
20170         * wcsmbs/wctob.c (wctob): Likewise.
20171         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
20172         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20173         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
20174         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
20175         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
20176         * wcsmbs/wmemset.c (__wmemset): Likewise.
20177         * wctype/wcfuncs.c (__towlower): Likewise.
20178         (__towupper): Likewise.
20180         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
20181         (lll_unlock_elision): Add adapt_count parameter.
20183 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20185         * sysdeps/nptl/configure.ac: Do not give errors based on the
20186         results of top-level configure tests.
20187         * sysdeps/nptl/configure: Regenerated.
20189         * configure.ac (libc_cv_Bgroup): Remove configure test.
20190         * configure: Regenerated.
20191         * config.make.in (have-Bgroup): Remove variable.
20193         * configure.ac (sizeof_long_double): Remove configure test.
20194         * configure: Regenerated.
20195         * config.make.in (sizeof-long-double): Remove variable.
20197         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
20198         * configure: Regenerated.
20199         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
20200         variable.
20201         (exceptions): Likewise.
20202         * sysdeps/arm/configure: Regenerated.
20203         * config.make.in (exceptions): Remove variable.
20204         * Makeconfig (uses-callbacks): Use -fexceptions instead of
20205         $(exceptions).
20206         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
20207         (CFLAGS-vdprintf_chk.c): Likewise.
20208         (CFLAGS-printf_chk.c): Likewise.
20209         (CFLAGS-fprintf_chk.c): Likewise.
20210         (CFLAGS-vprintf_chk.c): Likewise.
20211         (CFLAGS-vfprintf_chk.c): Likewise.
20212         (CFLAGS-gets_chk.c): Likewise.
20213         (CFLAGS-fgets_chk.c): Likewise.
20214         (CFLAGS-fgets_u_chk.c): Likewise.
20215         (CFLAGS-fread_chk.c): Likewise.
20216         (CFLAGS-fread_u_chk.c): Likewise.
20217         (CFLAGS-wprintf_chk.c): Likewise.
20218         (CFLAGS-fwprintf_chk.c): Likewise.
20219         (CFLAGS-vwprintf_chk.c): Likewise.
20220         (CFLAGS-vfwprintf_chk.c): Likewise.
20221         (CFLAGS-fgetws_chk.c): Likewise.
20222         (CFLAGS-fgetws_u_chk.c): Likewise.
20223         * libio/Makefile (CFLAGS-fileops.c): Likewise.
20224         (CFLAGS-fputc.c): Likewise.
20225         (CFLAGS-fputwc.c): Likewise.
20226         (CFLAGS-freopen64.c): Likewise.
20227         (CFLAGS-freopen.c): Likewise.
20228         (CFLAGS-fseek.c): Likewise.
20229         (CFLAGS-fseeko64.c): Likewise.
20230         (CFLAGS-fseeko.c): Likewise.
20231         (CFLAGS-ftello64.c): Likewise.
20232         (CFLAGS-ftello.c): Likewise.
20233         (CFLAGS-fwide.c): Likewise.
20234         (CFLAGS-genops.c): Likewise.
20235         (CFLAGS-getc.c): Likewise.
20236         (CFLAGS-getchar.c): Likewise.
20237         (CFLAGS-getwc.c): Likewise.
20238         (CFLAGS-getwchar.c): Likewise.
20239         (CFLAGS-iofclose.c): Likewise.
20240         (CFLAGS-iofflush.c): Likewise.
20241         (CFLAGS-iofgetpos64.c): Likewise.
20242         (CFLAGS-iofgetpos.c): Likewise.
20243         (CFLAGS-iofgets.c): Likewise.
20244         (CFLAGS-iofgetws.c): Likewise.
20245         (CFLAGS-iofputs.c): Likewise.
20246         (CFLAGS-iofputws.c): Likewise.
20247         (CFLAGS-iofread.c): Likewise.
20248         (CFLAGS-iofsetpos64.c): Likewise.
20249         (CFLAGS-iofsetpos.c): Likewise.
20250         (CFLAGS-ioftell.c): Likewise.
20251         (CFLAGS-iofwrite.c): Likewise.
20252         (CFLAGS-iogetdelim.c): Likewise.
20253         (CFLAGS-iogetline.c): Likewise.
20254         (CFLAGS-iogets.c): Likewise.
20255         (CFLAGS-iogetwline.c): Likewise.
20256         (CFLAGS-ioputs.c): Likewise.
20257         (CFLAGS-ioseekoff.c): Likewise.
20258         (CFLAGS-ioseekpos.c): Likewise.
20259         (CFLAGS-iosetbuffer.c): Likewise.
20260         (CFLAGS-iosetvbuf.c): Likewise.
20261         (CFLAGS-ioungetc.c): Likewise.
20262         (CFLAGS-ioungetwc.c): Likewise.
20263         (CFLAGS-oldfileops.c): Likewise.
20264         (CFLAGS-oldiofclose.c): Likewise.
20265         (CFLAGS-oldiofgetpos64.c): Likewise.
20266         (CFLAGS-oldiofgetpos.c): Likewise.
20267         (CFLAGS-oldiofsetpos64.c): Likewise.
20268         (CFLAGS-oldiofsetpos.c): Likewise.
20269         (CFLAGS-peekc.c): Likewise.
20270         (CFLAGS-putc.c): Likewise.
20271         (CFLAGS-putchar.c): Likewise.
20272         (CFLAGS-putwc.c): Likewise.
20273         (CFLAGS-putwchar.c): Likewise.
20274         (CFLAGS-rewind.c): Likewise.
20275         (CFLAGS-wfileops.c): Likewise.
20276         (CFLAGS-wgenops.c): Likewise.
20277         (CFLAGS-oldiofopen.c): Likewise.
20278         (CFLAGS-iofopen.c): Likewise.
20279         (CFLAGS-iofopen64.c): Likewise.
20280         (CFLAGS-oldtmpfile.c): Likewise.
20281         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
20282         (CFLAGS-fprintf.c): Likewise.
20283         (CFLAGS-printf.c): Likewise.
20284         (CFLAGS-vfwprintf.c): Likewise.
20285         (CFLAGS-vfscanf.c): Likewise.
20286         (CFLAGS-vfwscanf.c): Likewise.
20287         (CFLAGS-fscanf.c): Likewise.
20288         (CFLAGS-scanf.c): Likewise.
20289         (CFLAGS-isoc99_vfscanf.c): Likewise.
20290         (CFLAGS-isoc99_vscanf.c): Likewise.
20291         (CFLAGS-isoc99_fscanf.c): Likewise.
20292         (CFLAGS-isoc99_scanf.c): Likewise.
20293         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
20294         (CFLAGS-isoc99_fwscanf.c): Likewise.
20295         (CFLAGS-isoc99_vwscanf.c): Likewise.
20296         (CFLAGS-isoc99_vfwscanf.c): Likewise.
20298         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
20299         after mkstemp64.
20300         * login/tst-utmp.c (do_prepare): Likewise.
20301         * rt/tst-aio.c (do_prepare): Likewise.
20302         * rt/tst-aio64.c (do_prepare): Likewise.
20304 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20306         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20307         (__lll_lock_elision): Remove adapt_count decrement...
20308         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20309         (__lll_trylock_elision): Likewise.
20310         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20311         (__lll_unlock_elision): ... to here. And utilize
20312         new adapt_count parameter.
20313         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20314         (__lll_unlock_elision): Update to include adapt_count
20315         parameter.
20316         (lll_unlock_elision): Pass pointer to adapt_count
20317         variable.
20319 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20321         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
20322         Add elision adapt_count parameter to list of arguments.
20323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
20324         (lll_unlock_elision): Update with new parameter list
20325         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
20326         (lll_unlock_elision): Likewise.
20327         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
20328         (lll_unlock_elision): Likewise.
20330 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20332         [BZ #19122]
20333         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
20334         attribute_hidden.
20336         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
20337         attribute_hidden.
20338         [IS_IN (rtld)] (__strdup): Likewise.
20339         [IS_IN (rtld)] (__strerror_r): Likewise.
20340         [IS_IN (rtld)] (__strsep_g): Likewise.
20341         [IS_IN (rtld)] (memchr): Likewise.
20342         [IS_IN (rtld)] (memcmp): Likewise.
20343         [IS_IN (rtld)] (memcpy): Likewise.
20344         [IS_IN (rtld)] (memmove): Likewise.
20345         [IS_IN (rtld)] (memset): Likewise.
20346         [IS_IN (rtld)] (rawmemchr): Likewise.
20347         [IS_IN (rtld)] (stpcpy): Likewise.
20348         [IS_IN (rtld)] (strchr): Likewise.
20349         [IS_IN (rtld)] (strcmp): Likewise.
20350         [IS_IN (rtld)] (strlen): Likewise.
20351         [IS_IN (rtld)] (strnlen): Likewise.
20352         [IS_IN (rtld)] (strsep): Likewise.
20354         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
20355         attribute_hidden.
20356         [IS_IN (rtld)] (__strtoul_internal): Likewise.
20358         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
20359         attribute_hidden.
20360         [IS_IN (rtld)] (__libc_sigaction): Likewise.
20362         * include/setjmp.h (__longjmp): Add attribute_hidden.
20363         [IS_IN (rtld)] (__sigsetjmp): Likewise.
20365         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
20366         Add attribute_hidden.
20368         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
20369         [IS_IN (rtld)] (__open): Likewise.
20370         [IS_IN (rtld)] (__fcntl): Likewise.
20372         * include/dirent.h (__opendirat): Add attribute_hidden.
20373         (__getdents): Likewise.
20374         (__getdents64): Likewise.
20375         (__alloc_dir): Likewise.
20376         [IS_IN (rtld)] (__closedir): Likewise.
20377         [IS_IN (rtld)] (__fdopendir): Likewise.
20378         [IS_IN (rtld)] (__readdir): Likewise.
20379         [IS_IN (rtld)] (__readdir64): Likewise.
20380         [IS_IN (rtld)] (__rewinddir): Likewise.
20382         * include/dlfcn.h (_dl_catch_error): Moved to ...
20383         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
20384         attribute_hidden.
20386         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
20387         (_itoa_word): Likewise.
20389         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
20390         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
20391         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
20392         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
20393         (_dl_higher_prime_number): Likewise.
20394         (_dl_debug_printf_c): Likewise.
20395         (_dl_signal_cerror): Likewise.
20396         (_dl_receive_error): Likewise.
20397         (_dl_reloc_bad_type): Likewise.
20398         (_dl_resolve_conflicts): Likewise.
20399         (_dl_check_all_versions): Likewise.
20400         (_dl_check_map_versions): Likewise.
20401         (_dl_sort_fini): Likewise.
20402         (_dl_debug_initialize): Likewise.
20403         (_dl_init_paths): Likewise.
20404         (_dl_show_auxv): Likewise.
20405         (_dl_next_ld_env_entry): Likewise.
20406         (_dl_important_hwcaps): Likewise.
20407         (_dl_load_cache_lookup): Likewise.
20408         (_dl_update_slotinfo): Likewise.
20409         (_dl_show_scope): Likewise.
20411         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
20412         attribute_hidden.
20413         (_wordcopy_fwd_dest_aligned): Likewise.
20414         (_wordcopy_bwd_aligned): Likewise.
20415         (_wordcopy_bwd_dest_aligned): Likewise.
20417         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20418         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20419         Likewise.
20420         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
20421         Likewise.
20422         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
20424 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20426         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
20427         GCC 5 requirement.
20429 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
20431         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
20432         test.
20433         * sysdeps/i386/configure: Regenerated.
20434         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
20435         code unconditional.
20437         * configure.ac (libc_cv_asm_previous_directive): Remove configure
20438         test.
20439         (libc_cv_asm_popsection_directive): Likewise.
20440         * configure: Regenerated.
20441         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
20442         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
20443         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
20444         (__make_section_unallocated): Make definition unconditional.
20445         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
20446         Remove conditional definition.
20447         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
20448         (__make_section_unallocated): Likewise.
20450         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
20451         * configure: Regenerated.
20452         * config.make.in (static-libgcc): Remove variable.
20453         * Makerules (build-shlib-helper): Use -static-libgcc instead of
20454         $(static-libgcc).
20455         (build-module-helper): Likewise.
20457         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
20458         * configure: Regenerated.
20460 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20462         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
20463         (struct char_buffer): New type.
20464         (char_buffer_start, char_buffer_size, char_buffer_error)
20465         (char_buffer_rewind, char_buffer_add): New functions.
20466         (ADDW): Remove macro, replaced by the char_buffer_add function.
20467         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
20468         of extend_alloca.  Make control flow more explicit.
20470 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20472         [BZ #19137]
20473         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20474         Add -fomit-frame-pointer.
20475         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
20477 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20479         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
20480         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
20481         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
20482         only if !__GNUC_PREREQ (5,0).
20483         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
20484         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
20485         (INTERNAL_SYSCALL_NCS): Likewise.
20486         (LOADREGS_0): New macro for GCC 5.
20487         (ASMARGS_0): Likewise.
20488         (LOADREGS_1): Likewise.
20489         (ASMARGS_1): Likewise.
20490         (LOADREGS_2): Likewise.
20491         (ASMARGS_2): Likewise.
20492         (LOADREGS_3): Likewise.
20493         (ASMARGS_3): Likewise.
20494         (LOADREGS_4): Likewise.
20495         (ASMARGS_4): Likewise.
20496         (LOADREGS_5): Likewise.
20497         (ASMARGS_5): Likewise.
20498         (LOADREGS_6): Likewise.
20499         (ASMARGS_6): Likewise.
20501 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
20503         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
20504         -fomit-frame-pointer.
20505         (CFLAGS-mmap64.c): Likewise.
20506         (CFLAGS-semtimedop.c): Likewise.
20507         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
20508         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
20509         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20510         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20512 2015-10-15  Florian Weimer  <fweimer@redhat.com>
20514         [BZ #18928]
20515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
20516         _dl_pointer_guard member.
20517         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
20518         initializer.
20519         (security_init): Always set up pointer guard.
20520         (process_envvars): Do not process LD_POINTER_GUARD.
20522 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
20524         [BZ #19134]
20525         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
20526         (.LC2): Likewise.
20527         (.LC3): Likewise.
20528         (__lround): Do not add 0.5 to integer or out-of-range arguments.
20530 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20532         [BZ #19129]
20533         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
20534         r0 and r1.
20536 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
20538         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
20540 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
20542         * include/stap-probe.h: Fix macro definition formatting.
20544 2015-10-14  Florian Weimer  <fweimer@redhat.com>
20546         [BZ #19074]
20547         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
20548         load and store num_ifs.
20550 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20552         [BZ #18822]
20553         * sysdeps/unix/sysv/linux/sched_getaffinity.c
20554         (__sched_getaffinity_new): Add libc_hidden_proto and
20555         libc_hidden_def.
20557 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20559         [BZ #19007]
20560         * scripts/localplt.awk: Also allow GOT references.
20561         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
20562         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
20563         with "+ REL R_386_GLOB_DAT".
20564         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
20565         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
20567 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
20569         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
20570         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20571         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
20572         Likewise.
20573         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20574         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
20575         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20576         INTERNAL_SYSCALLINTERNAL_SYSCALL and
20577         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20578         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20579         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20580         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20581         Likewise.
20582         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20584 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20586         [BZ #19125]
20587         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
20588         <math_private.h> and <stdint.h>.
20589         (__llround): Avoid conversions to and from long long int, and
20590         subtractions, where those might raise spurious exceptions.
20591         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
20592         <math_private.h> and <stdint.h>.
20593         (__llroundf): Avoid conversions to and from long long int, and
20594         subtractions, where those might raise spurious exceptions.
20596 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20598         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
20599         INLINE_SYSCALL_ERROR_RETURN_VALUE.
20600         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20601         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
20602         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20603         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20604         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
20605         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
20606         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
20607         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20608         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20609         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20610         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
20611         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20612         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20613         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
20614         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
20615         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20616         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
20617         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
20618         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20619         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
20620         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
20621         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20622         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
20623         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20624         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
20625         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20626         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20627         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
20628         (__xstat64_conv): Likewise.
20629         (__xstat32_conv): Likewise.
20631 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20633         * sysdeps/unix/sysv/linux/sysdep.h: New file.
20634         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
20635         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
20636         <sysdeps/unix/sysv/linux/sysdep.h>.
20637         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20638         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
20639         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
20640         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20641         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20642         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
20643         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
20644         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20645         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20648         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20649         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20650         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20651         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
20652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20653         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
20654         (sysdep-dl-routines): Add sysdep.
20655         [$(subdir) == nptl] (libpthread-routines): Likewise.
20656         [$(subdir) == rt] (librt-routines): Likewise.
20657         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
20658         PIC when branching to SYSCALL_ERROR_LABEL.
20659         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
20660         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
20661         <sysdeps/unix/sysv/linux/sysdep.h>.
20662         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
20663         (SYSCALL_ERROR_ERRNO): Removed.
20664         (SYSCALL_ERROR_HANDLER): Changed to empty.
20665         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
20666         (__syscall_error): New prototype.
20667         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
20668         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
20670 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
20672         [BZ #19124]
20673         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
20674         (_dl_runtime_resolve_avx512): Make it a hidden alias of
20675         _dl_runtime_resolve_avx.
20676         (_dl_runtime_profile_avx512): Make it a hidden alias of
20677         _dl_runtime_profile_avx.
20679 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
20681         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
20682         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
20683         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
20684         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
20686         [BZ #16422]
20687         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
20688         New configure test.
20689         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
20690         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
20691         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
20692         <math_private.h> and <stdint.h>.
20693         (__llrint): Avoid conversions to long long int where those might
20694         raise spurious exceptions.
20695         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
20696         <math_private.h> and <stdint.h>.
20697         (__llrintf): Avoid conversions to long long int where those might
20698         raise spurious exceptions.
20700 2015-10-12  Andreas Schwab  <schwab@suse.de>
20702         [BZ #18969]
20703         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
20704         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
20705         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
20706         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
20707         $(gen-locales).
20708         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
20709         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
20710         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
20711         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
20712         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
20713         $(gen-locales).
20714         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
20715         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
20716         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
20717         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
20718         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
20719         ($(objpfx)tst-ftell-active-handler.out)
20720         ($(objpfx)tst-ftell-append.out)
20721         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
20722         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
20723         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
20724         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
20725         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
20726         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
20727         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
20728         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
20729         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
20730         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
20731         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
20732         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
20733         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
20734         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
20735         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
20736         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
20737         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
20738         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
20739         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
20740         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
20741         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
20742         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
20743         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
20744         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
20745         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
20746         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
20747         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
20748         $(gen-locales).
20749         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
20750         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
20751         $(gen-locales).
20752         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
20753         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
20754         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
20755         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
20756         $(gen-locales).
20757         * libio/tst_wprintf2.c (main): Use explicit locale.
20758         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
20760 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20762         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
20763         __msg_sig_post.
20764         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
20766 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20768         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20769         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20771         * sysdeps/arm/libm-test-ulps: Regenerated.
20773         [BZ #15470]
20774         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
20776         [BZ #16399]
20777         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
20778         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
20779         and <fix-fp-int-convert-overflow.h>.
20780         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20781         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20782         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
20783         and <fix-fp-int-convert-overflow.h>.
20784         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
20785         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20786         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
20787         <fix-fp-int-convert-overflow.h>.
20788         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
20789         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20790         * sysdeps/ieee754/dbl-64/s_lround.c: Include
20791         <fix-fp-int-convert-overflow.h>.
20792         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
20793         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20794         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
20795         and <fix-fp-int-convert-overflow.h>.
20796         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20797         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20798         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
20799         <limits.h> and <fix-fp-int-convert-overflow.h>.
20800         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20801         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20802         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
20803         and <fix-fp-int-convert-overflow.h>.
20804         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
20805         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20806         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
20807         and <fix-fp-int-convert-overflow.h>.
20808         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
20809         FIX_DBL_LLONG_CONVERT_OVERFLOW.
20810         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
20812 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
20814         [BZ #18589]
20815         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
20816         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
20817         $(gen-locales).
20819 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20820             Phil Blundell <pb@pbcl.net>
20822         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
20823         * nptl/tst-cancel26.c: New file.
20824         * nptl/tst-cancel27.c: Likewise.
20826 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
20828         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
20829         __ILP32__ isn't defined.
20830         (lrint): Likewise.
20831         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
20832         (lrintf): Likewise.
20833         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
20834         (lrintl): Likewise.
20835         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
20836         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
20837         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
20839 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20844         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
20845         file.
20846         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
20847         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20849 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
20851         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
20852         configure test.
20853         * sysdeps/i386/configure: Regenerated.
20854         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
20855         configure test.
20856         * sysdeps/x86_64/configure: Regenerated.
20857         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
20858         Make code unconditional.
20860         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
20861         test.
20862         * sysdeps/i386/configure: Regenerated.
20863         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
20864         test.
20865         * sysdeps/x86_64/configure: Regenerated.
20866         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
20867         Make code unconditional.
20868         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20869         Likewise.
20870         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
20871         Likewise.
20872         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20873         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
20874         code unconditional.
20875         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20876         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
20877         code unconditional.
20878         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20879         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
20880         code unconditional.
20881         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
20882         code unconditional.
20883         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20884         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
20885         code unconditional.
20886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20887         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
20888         code unconditional.
20889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20890         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
20891         code unconditional.
20892         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20893         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
20894         code unconditional.
20895         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
20896         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
20898         [BZ #19095]
20899         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
20900         mantissa to long int before shifting left.
20902 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20904         [BZ #19094]
20905         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
20906         <limits.h>.
20907         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20908         when result overflows but exception would not result from cast.
20909         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
20910         <limits.h>.
20911         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20912         when result overflows but exception would not result from cast.
20913         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
20914         <limits.h>.
20915         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20916         when result overflows but exception would not result from cast.
20917         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
20918         <limits.h>.
20919         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20920         when result overflows but exception would not result from cast.
20921         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
20922         <limits.h>.
20923         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
20924         when result overflows but exception would not result from cast.
20925         * math/libm-test.inc (lrint_test_data): Add more tests.
20926         (llrint_test_data): Likewise.
20928 2015-10-08  Roland McGrath  <roland@hack.frob.com>
20930         [BZ #18872]
20931         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
20932         Move out from under [$(run-built-tests) = yes] conditional.
20933         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
20934         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
20936 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
20938         [BZ #18589]
20939         * string/Makefile (tests): Add bug-strcoll2.
20940         (LOCALES): Add cs_CZ.UTF-8.
20941         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
20943         [BZ #18589]
20944         * string/bug-strcoll2.c: New file.
20945         * locale/categories.def: Revert commit
20946         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
20947         * locale/langinfo.h: Likewise.
20948         * locale/localeinfo.h: Likewise.
20949         * locale/C-collate.c: Likewise.
20950         * locale/programs/ld-collate.c (collate_output): Likewise.
20951         * string/strcoll_l.c (STRDIFF): Likewise.
20952         (STRCOLL): Likewise.
20953         * wcsmbs/wcscoll_l.c: Likewise.
20955 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
20957         * math/libm-test.inc (lround_test_data): Do not expect the absence
20958         of "inexact" for some tests with non-integer arguments.
20959         (llround_test_data): Likewise.
20961         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
20962         test.
20963         (libc_cv_cc_sse2avx): Likewise.
20964         * sysdeps/i386/configure: Regenerated.
20965         * sysdeps/i386/i686/multiarch/Makefile
20966         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
20967         [$(subdir) = math].
20968         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
20969         code unconditional.
20970         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20971         Likewise.
20972         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
20973         Likewise.
20974         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
20975         Likewise.
20976         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
20977         test.
20978         (libc_cv_cc_sse2avx): Likewise.
20979         * sysdeps/x86_64/configure: Regenerated.
20980         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
20981         unconditional.
20982         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
20983         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
20984         unconditional.
20985         (_dl_runtime_profile)
20986         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
20987         conditional code.
20988         * sysdeps/x86_64/fpu/multiarch/Makefile
20989         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
20990         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20991         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20992         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20993         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20994         * sysdeps/x86_64/fpu/multiarch/e_log.c
20995         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20996         * sysdeps/x86_64/fpu/multiarch/s_atan.c
20997         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20998         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
20999         Likewise.
21000         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21001         Likewise.
21002         * sysdeps/x86_64/fpu/multiarch/s_sin.c
21003         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21004         * sysdeps/x86_64/fpu/multiarch/s_tan.c
21005         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21006         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
21007         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
21008         (HAVE_SSE2AVX_SUPPORT): Likewise.
21010 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
21012         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
21013         instead of #pragma optimize.
21015 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21017         [BZ #17195]
21018         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
21019         as is similarly done in systrim and _int_free already.
21021 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21023         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
21025 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #19088]
21028         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
21029         <limits.h>.
21030         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21031         overflows but exception would not result from cast.
21032         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
21033         and <limits.h>.
21034         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
21035         overflows but exception would not result from cast.
21036         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
21037         <limits.h>.
21038         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21039         overflows but exception would not result from cast.
21040         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
21041         <limits.h>.
21042         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21043         overflows but exception would not result from cast.
21044         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
21045         <limits.h>.
21046         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
21047         overflows but exception would not result from cast.
21048         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
21049         <limits.h>.
21050         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
21051         overflows but exception would not result from cast.
21052         * math/libm-test.inc (lround_test_data): Add more tests.
21053         (llround_test_data): Likewise.
21055 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
21057         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
21058         (CFLAGS-ialloc.c): Ditto.
21059         (CFLAGS-scheck.c): Ditto.
21061 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
21063         [BZ #19086]
21064         * manual/filesys.texi (Storage Allocation): Fix argument order for
21065         posix_fallocate64.
21067 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21069         [BZ #19085]
21070         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
21071         exponent below 48 inside case for non-overflowing exponent.
21072         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
21074 2015-10-07  Florian Weimer  <fweimer@redhat.com>
21076         * iconvdata/cp737.h (from_idx): Add const.
21077         * iconvdata/cp775.h (from_idx): Likewise.
21079 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
21081         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
21082         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
21083         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
21085         [BZ #19079]
21086         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
21087         file, conditioned on [!_LP64].
21088         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
21089         [!_LP64] (__lround): Do not define as function or alias.
21090         [!_LP64] (lround): Likewise.
21091         [!_LP64] (__lroundl): Likewise.
21092         [!_LP64] (lroundl): Likewise.
21093         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
21094         macro.
21095         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21096         Likewise.
21098 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21100         * math/libm-test.inc (lrint_test_data): Add more tests.
21101         (llrint_test_data): Likewise.
21102         (lround_test_data): Likewise.
21103         (llround_test_data): Likewise.
21105         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
21106         (llrint_test_data): Add tests used for lrint.
21108         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
21109         test.
21110         * sysdeps/i386/configure: Regenerated.
21111         * sysdeps/i386/i686/multiarch/Makefile
21112         [$(config-cflags-sse4) = yes]: Make code unconditional.
21113         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21114         Likewise.
21115         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
21116         Likewise.
21117         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
21118         test.
21119         * sysdeps/x86_64/configure: Regenerated.
21120         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
21121         Make code unconditional.
21122         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
21123         Likewise.
21124         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
21125         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
21127         * scripts/rpm2dynsym.sh: Remove file.
21129 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21131         * configure.ac (libc_cv_cxx_thread_local): Define.
21132         * configure: Regenerate.
21133         * config.make.in (have-cxx-thread_local): Define.
21134         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
21135         (LDLIBS-tst-thread_local1): Define.
21136         (tests): Add tst-thread_local1.
21137         [have-cxx-thread_local != yes] (tests-unsupported): Add
21138         tst-thread_local1.
21139         * nptl/tst-thread_local1.cc: New file.
21141 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
21143         [BZ #19078]
21144         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
21145         (u_thres): Likewise.
21146         (__expl): Determine whether to call __kernel_standard_l based on
21147         value of result, not argument.
21149         * math/libm-test.inc (scalb_test_data): Add more expectations for
21150         the "inexact" exception.
21152         [BZ #19077]
21153         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
21154         0.0L for argument 1.0L.
21156         [BZ #19076]
21157         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
21158         constant 0.0L when computing infinite result.
21160 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21162         [BZ #10432]
21163         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
21164         malloc_usable_size.
21166 2015-10-06  Florian Weimer  <fweimer@redhat.com>
21168         [BZ #19018]
21169         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21170         Mangle function pointer before storing it.
21171         (__call_tls_dtors): Demangle function pointer before calling it.
21173 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21175         [BZ #19012]
21176         * iconv/gconv_db.c (gen_steps): Check for additional errors.
21177         Clean up on failure.
21179 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
21181         [BZ #19071]
21182         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
21183         long int variable to store possibly incremented high part of
21184         mantissa.
21185         * math/libm-test.inc (lround_test_data): Add tests used for
21186         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
21187         for tests requiring 64-bit long.  Do not condition tests on
21188         [TEST_FLOAT] unnecessarily.
21189         (llround_test_data): Add tests used for lround.  Add another
21190         expectation for the "inexact" exception.  Do not condition tests
21191         on [TEST_FLOAT] unnecessarily.
21193         [BZ #887]
21194         [BZ #19049]
21195         [BZ #19050]
21196         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
21197         * sysdeps/ieee754/dbl-64/e_log10.c: Include
21198         <fix-int-fp-convert-zero.h>.
21199         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21200         * sysdeps/ieee754/dbl-64/e_log2.c: Include
21201         <fix-int-fp-convert-zero.h>.
21202         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21203         * sysdeps/ieee754/dbl-64/s_erf.c: Include
21204         <fix-int-fp-convert-zero.h>.
21205         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21206         * sysdeps/ieee754/dbl-64/s_logb.c: Include
21207         <fix-int-fp-convert-zero.h>.
21208         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21209         * sysdeps/ieee754/flt-32/e_log10f.c: Include
21210         <fix-int-fp-convert-zero.h>.
21211         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21212         * sysdeps/ieee754/flt-32/e_log2f.c: Include
21213         <fix-int-fp-convert-zero.h>.
21214         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21215         * sysdeps/ieee754/flt-32/s_erff.c: Include
21216         <fix-int-fp-convert-zero.h>.
21217         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21218         * sysdeps/ieee754/flt-32/s_logbf.c: Include
21219         <fix-int-fp-convert-zero.h>.
21220         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
21222         <fix-int-fp-convert-zero.h>.
21223         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
21225         <fix-int-fp-convert-zero.h>.
21226         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
21227         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
21228         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
21229         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
21230         file.
21231         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
21233 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21237 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
21239         [BZ #19059]
21240         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
21241         overflowing computation.
21242         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21243         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21244         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21245         Likewise.
21246         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21247         Likewise.
21248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21249         Likewise.
21250         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21251         Likewise.
21252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21254         Likewise.
21255         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21256         Likewise.
21257         * math/libm-test.inc (nexttoward_test_data): Add more tests.
21259         * nss/rewrite_field.c (__nss_rewrite_field): Use
21260         internal_function.
21261         * nss/valid_field.c (__nss_valid_field): Likewise.
21262         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
21264 2015-10-02  Florian Weimer  <fweimer@redhat.com>
21266         [BZ #18724]
21267         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
21268         (__nss_invalid_field_characters, __nss_valid_field)
21269         (__nss_valid_list_field, __nss_rewrite_field): Declare.
21270         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
21271         tst-field.c: New file.
21272         * nss/Makefile (routines): Add valid_field, rewrite_field.
21273         (tests-static): Define unconditionally.
21274         (tests): Include tests-static.
21275         [build-static-nss] (tests-static): Use append.
21276         [build-static-nss] (tests): Remove modification.
21277         * nss/getent.c (print_group): Call putgrent.  Report error.
21278         (print_gshadow): Call putsgent.  Report error.
21279         (print_passwd): Call putpwent.  Report error.
21280         (print_shadow): Call putspent.  Report error.
21281         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
21282         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
21283         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
21284         name, password, directory, shell fields for valid syntax.  Rewrite
21285         GECOS field to match syntax.
21286         * pwd/Makefile (tests): Add tst-putpwent.
21287         * pwd/tst-putpwent.c: New file.
21288         * grp/putgrent.c (putgrent): Convert to ISO function definition.
21289         Check grName, grpasswd, gr_mem fields for valid syntax.
21290         Change loop variable i to size_t.
21291         * grp/Makefile (tests): Add tst-putgrent.
21292         * grp/tst-putgrent.c: New file.
21293         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
21294         valid syntax.
21295         * shadow/Makefile (tests): Add tst-putspent.
21296         * shadow/tst-putspent.c: New file.
21297         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
21298         sg_mem fields for valid syntax.
21299         * gshadow/Makefile (tests): Add tst-putsgent.
21300         * gshadow/tst-putsgent.c: New file.
21302 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21304         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
21305         assembly instructions.
21307 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21309         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
21310         prefix from operands.
21312 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
21314         [BZ #16347]
21315         [BZ #19046]
21316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
21317         <libc-internal.h>.
21318         (MAXLGM): Do not use diagnostic control macros.
21319         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
21320         threshold for ldbl-128ibm.
21321         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
21322         instead of multiplying by log then subtracting.
21323         * math/auto-libm-test-in: Add more tests of lgamma.
21324         * math/auto-libm-test-out: Regenerated.
21326         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
21327         (TYPE_HEX_DIG): Likewise.
21328         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
21329         precisions when printing floating-point numbers.
21330         (check_float_internal): Likewise.
21332 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21334         [BZ #16620]
21335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
21336         of log (10) rounded downward to 48 bits.
21337         (log10_low): Use corresponding low part of log (10).
21339         [BZ #19032]
21340         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
21341         compute result as (x - x) / (x - x) not as 0 / 0.
21342         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21343         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
21345         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21346         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
21347         and expm1.
21348         * math/auto-libm-test-out: Regenerated.
21349         * math/libm-test.inc (acos_test_data): Add more tests.
21350         (asin_test_data): Likewise.
21351         (asinh_test_data): Likewise.
21352         (atan_test_data): Likewise.
21353         (atanh_test_data): Likewise.
21354         (atan2_test_data): Likewise.
21355         (cbrt_test_data): Likewise.
21356         (ceil_test_data): Likewise.
21357         (copysign_test_data): Likewise.
21358         (cos_test_data): Likewise.
21359         (cosh_test_data): Likewise.
21360         (erf_test_data): Likewise.
21361         (erfc_test_data): Likewise.
21362         (exp_test_data): Likewise.
21363         (exp10_test_data): Likewise.
21364         (exp2_test_data): Likewise.
21365         (expm1_test_data): Likewise.
21366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21368 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
21370         [BZ #19006]
21371         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
21372         to ...
21373         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
21374         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
21375         to ...
21376         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
21377         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
21378         to ...
21379         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
21380         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
21381         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
21382         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
21383         to ...
21384         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
21385         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21386         Moved to ...
21387         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
21388         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21389         Moved to ...
21390         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
21391         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
21392         to ...
21393         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
21394         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21395         Moved to ...
21396         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
21397         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
21398         to ...
21399         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
21400         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
21401         Removed.
21402         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
21403         Likewise.
21404         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
21405         Likewise.
21406         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
21407         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
21408         Likewise.
21409         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21410         Likewise.
21411         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21412         Likewise.
21413         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21414         Likewise.
21415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21416         Likewise.
21417         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
21418         Likewise.
21419         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
21420         Likewise.
21421         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
21422         Likewise.
21423         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
21424         Likewise.
21425         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
21426         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
21427         Likewise.
21428         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21429         Likewise.
21430         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21431         Likewise.
21432         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21433         Likewise.
21434         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
21435         Likewise.
21436         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21437         Replace ../i486/pthread_cond_timedwait.S with
21438         ../pthread_cond_timedwait.S.
21440 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
21442         * math/libm-test.inc (acos_test_data): Refine expectations for
21443         errno and "inexact" exceptions.
21444         (acosh_test_data): Likewise.
21445         (asin_test_data): Likewise.
21446         (asinh_test_data): Likewise.
21447         (atan_test_data): Likewise.
21448         (atanh_test_data): Likewise.
21449         (atan2_test_data): Likewise.
21450         (cbrt_test_data): Likewise.
21451         (ceil_test_data): Likewise.
21452         (copysign_test_data): Likewise.
21453         (cosh_test_data): Likewise.
21454         (erf_test_data): Likewise.
21455         (erfc_test_data): Likewise.
21456         (exp_test_data): Likewise.
21457         (exp10_test_data): Likewise.
21458         (exp2_test_data): Likewise.
21459         (expm1_test_data): Likewise.
21460         (fabs_test_data): Likewise.
21461         (floor_test_data): Likewise.
21462         (fma_test_data): Likewise.
21463         (fmax_test_data): Likewise.
21464         (fmin_test_data): Likewise.
21465         (fmod_test_data): Likewise.
21466         (fpclassify_test_data): Likewise.
21467         (frexp_test_data): Likewise.
21468         (hypot_test_data): Likewise.
21469         (ilogb_test_data): Likewise.
21470         (isgreater_test_data): Likewise.
21471         (isgreaterequal_test_data): Likewise.
21472         (isinf_test_data): Likewise.
21473         (isless_test_data): Likewise.
21474         (islessequal_test_data): Likewise.
21475         (islessgreater_test_data): Likewise.
21476         (isnan_test_data): Likewise.
21477         (isnormal_test_data): Likewise.
21478         (issignaling_test_data): Likewise.
21479         (isunordered_test_data): Likewise.
21480         (j0_test_data): Likewise.
21481         (j1_test_data): Likewise.
21482         (jn_test_data): Likewise.
21483         (lgamma_test_data): Likewise.
21484         (lrint_test_data): Likewise.
21485         (llrint_test_data): Likewise.
21486         (log_test_data): Likewise.
21487         (log10_test_data): Likewise.
21488         (log1p_test_data): Likewise.
21489         (log2_test_data): Likewise.
21490         (logb_test_data): Likewise.
21491         (lround_test_data): Likewise.
21492         (llround_test_data): Likewise.
21493         (modf_test_data): Likewise.
21494         (nearbyint_test_data): Likewise.
21495         (nextafter_test_data): Likewise.
21496         (nexttoward_test_data): Likewise.
21497         (pow_test_data): Likewise.
21498         (remainder_test_data): Likewise.
21499         (remquo_test_data): Likewise.
21500         (rint_test_data): Likewise.
21501         (round_test_data): Likewise.
21502         (signbit_test_data): Likewise.
21503         (sinh_test_data): Likewise.
21504         (sqrt_test_data): Likewise.
21505         (tanh_test_data): Likewise.
21506         (tgamma_test_data): Likewise.
21507         (trunc_test_data): Likewise.
21508         (y0_test_data): Likewise.
21509         (y1_test_data): Likewise.
21510         (yn_test_data): Likewise.
21511         (significand_test_data): Likewise.
21513 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
21515         * manual/filesys.texi (Storage Allocation): Document that
21516         posix_fallocate emulation fails when fd is open with O_WRONLY.
21518 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
21520         [BZ #19016]
21521         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
21522         allow more cases with X^2 + Y^2 >= 0.5.
21523         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
21524         normal element in sum instead of special-casing based on values of
21525         arguments.
21526         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
21527         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
21528         -1 as normal element in sum instead of special-casing based on
21529         values of arguments.
21530         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
21531         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
21532         (__x2y2m1): Update comment.
21533         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
21534         as normal element in sum instead of special-casing based on values
21535         of arguments.
21536         * math/s_clog.c (__clog): Handle more cases using log1p without
21537         hypot.
21538         * math/s_clog10.c (__clog10): Likewise.
21539         * math/s_clog10f.c (__clog10f): Likewise.
21540         * math/s_clog10l.c (__clog10l): Likewise.
21541         * math/s_clogf.c (__clogf): Likewise.
21542         * math/s_clogl.c (__clogl): Likewise.
21543         * math/auto-libm-test-in: Add more tests of clog and clog10.
21544         * math/auto-libm-test-out: Regenerated.
21545         * sysdeps/i386/fpu/libm-test-ulps: Update.
21546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21548 2015-09-28  Martin Sebor  <msebor@redhat.com>
21550         [BZ #18969]
21551         * string/Makefile (LOCALES): Define.
21552         (gen-locales.mk): Include.
21553         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
21554         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
21555         * string/tst-strxfrm2.c (do_test): Print the name of the locale
21556         on setlocale failure.
21558 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21560         [BZ #18985]
21561         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
21562         (__strftime_internal): Likewise.
21563         * time/tst-strftime.c (do_bz18985): New test.
21564         (do_test): Call it.
21566 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
21568         [BZ #18956]
21569         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
21570         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
21571         extracting high part.
21572         * math/auto-libm-test-in: Add another test of pow.
21573         * math/auto-libm-test-out: Regenerated.
21574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21576 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21578         [BZ #18825]
21579         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
21580         New macro.
21581         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
21582         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21583         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
21584         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
21585         DBL_NARROW_EVAL, reloading the PIC register as needed.
21586         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
21587         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
21588         FLT_NARROW_EVAL.  Use separate return path for case when first
21589         argument is NaN.
21590         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
21591         DEFINE_LDBL_MIN.
21592         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
21593         PIC register.
21594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
21595         math_check_force_underflow_nonneg.
21596         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
21597         underflow for subnormal result.
21598         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
21599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
21600         math_check_force_underflow_nonneg.
21601         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
21602         math_check_force_underflow.
21603         * sysdeps/x86_64/fpu/x86_64-math-asm.h
21604         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
21605         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
21606         DEFINE_LDBL_MIN.
21607         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
21608         * math/auto-libm-test-in: Add more tests of pow.
21609         * math/auto-libm-test-out: Regenerated.
21611 2015-09-25  Florian Weimer  <fweimer@redhat.com>
21613         * nss/bug17079.c (init_test_items): Add diagnostic for
21614         inconsistent entries.
21615         (test_buffer_size): Skip inconsistent entries.
21617 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
21619         [BZ #13304]
21620         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
21621         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21622         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
21624         [BZ #13304]
21625         * sysdeps/microblaze/s_fma.c: New file.
21626         * sysdeps/microblaze/s_fmaf.c: Likewise.
21627         * sysdeps/microblaze/sfp-machine.h: Likewise.
21629 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
21631         [BZ #17250]
21632         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
21633         member.
21635 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21637         [BZ #18803]
21638         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
21639         (MO): New macro.
21640         (__ieee754_hypot) [PIC]: Load PIC register.
21641         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
21642         DBL_NARROW_EVAL.
21643         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
21644         math_check_force_underflow_nonneg in case where result might be
21645         tiny.
21646         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21647         Likewise.
21648         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21649         Likewise.
21650         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
21651         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
21652         * math/auto-libm-test-in: Add more tests of hypot.
21653         * math/auto-libm-test-out: Regenerated.
21655 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
21657         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
21659 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
21661         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
21662         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
21663         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21664         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21665         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
21666         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21667         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21669         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
21670         LOAD_PIC_REG.
21672         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
21673         (FLT_CHECK_FORCE_UFLOW): Likewise.
21674         (DBL_CHECK_FORCE_UFLOW): Likewise.
21675         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
21676         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
21677         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
21678         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21679         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
21680         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21681         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21682         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
21683         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
21684         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21685         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
21686         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
21687         (flt_min): Replace with use of DEFINE_FLT_MIN.
21688         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
21689         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
21690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21691         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
21692         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
21693         (flt_min): Replace with use of DEFINE_FLT_MIN.
21694         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
21695         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
21696         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21697         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
21698         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
21699         (flt_min): Replace with use of DEFINE_FLT_MIN.
21700         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
21701         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
21702         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
21703         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
21704         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
21705         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
21706         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
21707         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
21708         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21709         (__atan): Use DBL_CHECK_FORCE_UFLOW.
21710         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
21711         (flt_min): Replace with use of DEFINE_FLT_MIN.
21712         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
21713         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
21714         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21715         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
21716         main computation.
21717         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
21718         (flt_min): Replace with use of DEFINE_FLT_MIN.
21719         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
21720         main computation.
21721         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
21722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21723         (MO): New macro.
21724         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
21725         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
21726         (flt_min): Replace with use of DEFINE_FLT_MIN.
21727         (MO): New macro.
21728         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
21729         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
21730         (__log1pl): Use MO.
21732         [BZ #19003]
21733         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
21734         $(config-cflags-nofma).
21736 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21738         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21740 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
21742         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
21743         (TWO127): Likewise.
21745         * sysdeps/generic/math_private.h (fabs_tg): New macro.
21746         (min_of_type): Likewise.
21747         (math_check_force_underflow): Likewise.
21748         (math_check_force_underflow_nonneg): Likewise.
21749         (math_check_force_underflow_complex): Likewise.
21750         * math/e_exp2l.c (__ieee754_exp2l): Use
21751         math_check_force_underflow_nonneg.
21752         * math/k_casinh.c (__kernel_casinh): Likewise.
21753         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21754         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21755         * math/s_catan.c (__catan): Use
21756         math_check_force_underflow_complex.
21757         * math/s_catanf.c (__catanf): Likewise.
21758         * math/s_catanh.c (__catanh): Likewise.
21759         * math/s_catanhf.c (__catanhf): Likewise.
21760         * math/s_catanhl.c (__catanhl): Likewise.
21761         * math/s_catanl.c (__catanl): Likewise.
21762         * math/s_ccosh.c (__ccosh): Likewise.
21763         * math/s_ccoshf.c (__ccoshf): Likewise.
21764         * math/s_ccoshl.c (__ccoshl): Likewise.
21765         * math/s_cexp.c (__cexp): Likewise.
21766         * math/s_cexpf.c (__cexpf): Likewise.
21767         * math/s_cexpl.c (__cexpl): Likewise.
21768         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
21769         * math/s_clog10.c (__clog10): Likewise.
21770         * math/s_clog10f.c (__clog10f): Likewise.
21771         * math/s_clog10l.c (__clog10l): Likewise.
21772         * math/s_clogf.c (__clogf): Likewise.
21773         * math/s_clogl.c (__clogl): Likewise.
21774         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
21775         * math/s_csinf.c (__csinf): Likewise.
21776         * math/s_csinh.c (__csinh): Likewise.
21777         * math/s_csinhf.c (__csinhf): Likewise.
21778         * math/s_csinhl.c (__csinhl): Likewise.
21779         * math/s_csinl.c (__csinl): Likewise.
21780         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
21781         * math/s_csqrtf.c (__csqrtf): Likewise.
21782         * math/s_csqrtl.c (__csqrtl): Likewise.
21783         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
21784         * math/s_ctanf.c (__ctanf): Likewise.
21785         * math/s_ctanh.c (__ctanh): Likewise.
21786         * math/s_ctanhf.c (__ctanhf): Likewise.
21787         * math/s_ctanhl.c (__ctanhl): Likewise.
21788         * math/s_ctanl.c (__ctanl): Likewise.
21789         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
21790         instead of volatile.
21791         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
21792         math_check_force_underflow.
21793         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21794         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
21795         volatile when forcing underflow.
21796         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21797         math_check_force_underflow_nonneg.
21798         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
21799         Likewise.
21800         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
21801         math_check_force_underflow.
21802         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21803         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21804         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21805         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
21806         math_check_force_underflow_nonneg.
21807         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
21808         math_check_force_underflow.
21809         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
21810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
21811         instead of volatile.
21812         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
21813         math_check_force_underflow.
21814         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21815         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21816         math_check_force_underflow_nonneg.
21817         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
21818         math_check_force_underflow.
21819         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
21820         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21821         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
21822         math_check_force_underflow_nonneg.
21823         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21824         Likewise.
21825         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
21826         math_check_force_underflow.
21827         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21828         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
21829         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
21830         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
21831         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
21832         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
21833         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
21834         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
21835         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21836         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
21837         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
21838         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
21839         Likewise.
21840         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
21841         math_check_force_underflow_nonneg.
21842         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21843         Likewise.
21844         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
21845         math_check_force_underflow.
21846         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21847         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
21848         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21849         Likewise.
21850         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
21851         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
21852         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
21853         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
21854         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
21855         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
21856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
21857         instead of volatile.
21858         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
21859         math_check_force_underflow.
21860         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
21861         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
21862         math_check_force_underflow.
21863         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
21864         Likewise.
21865         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21866         Use math_check_force_underflow_nonneg.
21867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
21868         math_check_force_underflow.
21869         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
21870         Likewise.
21871         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21872         Likewise.
21873         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21877         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
21878         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21879         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
21880         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
21881         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
21882         math_check_force_underflow_nonneg.
21883         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
21884         math_check_force_underflow.
21885         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21886         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
21887         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
21888         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
21889         math_check_force_underflow_nonneg.
21890         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
21891         math_check_force_underflow.
21892         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
21893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
21894         instead of volatile.
21895         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
21896         math_check_force_underflow.
21898         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
21899         * stdlib/strtod_l.c: Include <math_private.h>.
21900         (overflow_value): Use math_narrow_eval.
21901         (underflow_value): Likewise.
21902         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21903         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
21904         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
21905         (__ieee754_gamma_r): Likewise.
21906         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
21907         Likewise.
21908         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
21909         Likewise.
21910         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
21911         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
21912         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
21913         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
21914         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
21915         (__ieee754_gammaf_r): Likewise.
21916         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
21917         Likewise.
21918         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
21919         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
21920         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
21921         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
21922         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
21923         volatile.
21924         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
21925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
21926         math_narrow_eval.
21927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
21928         Likewise.
21929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21930         Likewise.
21931         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
21932         Likewise.
21933         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
21934         volatile.
21935         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
21936         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
21937         math_narrow_eval.
21938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21939         Likewise.
21940         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21941         Likewise.
21943 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
21945         * nptl/Versions: Remove ignored symbols.
21947 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21949         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
21950         * nss/Makefile (tests): Update.
21952 2015-09-22  Florian Weimer  <fweimer@redhat.com>
21954         * nss/bug18287.c: New file.
21955         * nss/Makefile (tests): Add bug18287.
21957 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21959         * mach/Versions (__mach_host_self_): Add symbol.
21961 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21963         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
21964         vm_page_size.
21966 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21968         Really fix sysdeps/i386/fpu/s_scalbn.S build
21970         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
21971         (libc: GLIBC_2_22): Remove unused version set.
21973 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
21975         * config.make.in (enable-timezone-tools): New variable.
21976         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
21977         (enable_timezone_tools): Export to generated files.
21978         * configure: Regenerate.
21979         * INSTALL: Regenerate.
21980         * manual/install.texi (--disable-timezone-tools): Document new flag.
21981         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
21982         ifeq ($(enable-timezone-tools),yes) check.
21984 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
21986         * timezone/Makefile: Revert previous change.
21988         [BZ #18980]
21989         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
21990         (DEFINE_DBL_MIN): Likewise.
21991         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21992         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
21993         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21994         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
21995         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
21996         (dbl_min): Replace with use of DEFINE_DBL_MIN.
21997         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
21998         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
21999         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
22000         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22001         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22002         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
22003         (flt_min): Replace with use of DEFINE_FLT_MIN.
22004         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22005         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
22006         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22007         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22008         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
22009         (flt_min): Replace with use of DEFINE_FLT_MIN.
22010         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22011         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
22012         (flt_min): Replace with use of DEFINE_FLT_MIN.
22013         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
22014         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
22015         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
22016         (__ieee754_hypot): Use DBL_NARROW_EVAL.
22017         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
22018         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
22019         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
22020         (__ieee754_pow): Use DBL_NARROW_EVAL.
22021         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
22022         (__ieee754_powf): Use FLT_NARROW_EVAL.
22023         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
22024         (__ieee754_expf_sse2): Convert double-precision result to single
22025         precision.
22026         * sysdeps/i386/fpu/libm-test-ulps: Update.
22028 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22030         * timezone/Makefile: Ignore unused variable errors due to private.h
22031         (time_t_min) and (time_t_max).
22032         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
22033         Likewise.
22035 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22037         [BZ #18981]
22038         * sysdeps/i386/fpu/i386-math-asm.h: New file.
22039         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
22040         (__ieee754_scalb): Use DBL_NARROW_EVAL.
22041         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
22042         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
22043         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
22044         (__scalbn): Use DBL_NARROW_EVAL.
22045         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
22046         (__scalbnf): Use FLT_NARROW_EVAL.
22048 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22050         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
22051         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
22052         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
22053         * stdio-common/printf_fp.c (___printf_fp):
22054         Use signbit to get the sign. Use isinf macro to allow inlining.
22055         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22056         * stdio-common/printf_size.c (__printf_size): Likewise.
22058 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22060         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
22062 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22064         [BZ #18980]
22065         * sysdeps/generic/math_private.h: Include <float.h>.
22066         (math_narrow_eval): New macro.
22067         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
22068         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
22069         math_narrow_eval on overflowing return value.
22070         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
22071         Likewise.
22072         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22073         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
22074         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
22075         Likewise.
22076         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22078 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22080         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
22081         * math/Makefile: Remove isinf_ns.c.
22082         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
22083         * math/multc3.c (__multc3): Likewise.
22084         * math/s_casin.c (__casin): Likewise.
22085         * math/s_casinf.c (__casinf): Likewise.
22086         * math/s_casinl.c (__casinl): Likewise.
22087         * math/s_cproj.c (__cproj): Likewise.
22088         * math/s_cprojf.c (__cprojf): Likewise.
22089         * math/s_cprojl.c (__cprofl): Likewise.
22090         * math/s_ctan.c (__ctan): Likewise.
22091         * math/s_ctanf.c (__ctanf): Likewise.
22092         * math/s_ctanh.c (__ctanh): Likewise.
22093         * math/s_ctanhf.c (__ctanhf): Likewise.
22094         * math/s_ctanhl.c (__ctanhl): Likewise.
22095         * math/s_ctanl.c (__ctanl): Likewise.
22096         * math/w_fmod.c (__fmod): Likewise.
22097         * math/w_fmodf.c (__fmodf): Likewise.
22098         * math/w_fmodl.c (_fmodl): Likewise.
22099         * math/w_remainder.c (__remainder): Likewise.
22100         * math/w_remainderf.c (__remainderf): Likewise.
22101         * math/w_remainderl.c (__remainderl): Likewise.
22102         * math/w_scalb.c (__scalb): Likewise.
22103         * math/w_scalbf.c (__scalbf): Likewise.
22104         * math/w_scalbl.c (__scalbl): Likewise.
22105         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
22106         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
22107         with isinf.
22108         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
22109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
22110         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
22111         __isinf_nsf with isinf.
22112         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
22113         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
22114         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
22115         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
22116         with isinf.
22117         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
22118         __isinf_nsl with isinf.
22119         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
22120         with isinf.
22121         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
22122         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
22123         __isinf_nsl with isinf.
22124         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
22125         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
22126         with isinf.
22128 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22130         * resolv/base64.c (rcsid): Remove unused static.
22131         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
22132         static.  (tqpi1): Likewise.
22133         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
22134         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
22135         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
22136         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
22137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
22138         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
22139         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
22140         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
22141         Likewise.
22143 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
22145         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
22146         <nptl/pthreadP.h>.
22147         (_longjmp_unwind): Use __libc_ptf_call.
22148         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
22150 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
22152         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
22153         * sysdeps/arm/__longjmp.S: Likewise.
22155 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22157         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
22158         Use __builtin_signbit.
22159         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
22160         Use __builtin_signbitf.
22161         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
22162         Use __builtin_signbitl.
22163         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22164         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
22166 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22168         [BZ #15367]
22169         [BZ #17441]
22171         * math/Makefile: Build test-snan.c with -fsignaling-nans.
22172         * math/math.h (fpclassify): Use __builtin_fpclassify when
22173         available.  (signbit): Use __builtin_signbit(f/l).
22174         (isfinite): Use__builtin_isfinite.  (isnormal): Use
22175         __builtin_isnormal.  (isnan): Use __builtin_isnan.
22176         (isinf): Use __builtin_isinf_sign.
22178 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
22180         * benchtests/Makefile: Add bench-math-inlines, link with libm.
22181         * benchtests/bench-math-inlines.c: New benchmark.
22182         * benchtests/bench-util.h: New file.
22183         * benchtests/bench-util.c: New file.
22184         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
22186 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
22188         * elf/tst-dlmopen1.c: Define TEST_SO.
22189         (do_test): Use TEST_SO.
22191         * elf/dl-load.c: Include libc-internal.h.
22192         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
22194 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22196         [BZ #17887]
22197         * time/strptime_l.c (__strptime_internal): Make %z accept
22198         [+-]HH:MM time zones.
22200 2015-09-18  Vincent Bernat  <vincent@bernat.im>
22202         [BZ #17886]
22203         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
22204         valid time zone.
22206 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
22208         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
22209         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
22210         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22211         (__ASSUME_FDATASYNC): Delete.
22213 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22215         * conform/linknamespace.pl: Require weak undefined symbols to be
22216         in the standard namespace.
22217         (%strong_syms): Rename to %seen_syms.
22218         (%strong_seen): Rename to %seen_where.
22220 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
22222         [BZ #18970]
22223         * misc/error.c (error): Replace pthread_setcancelstate with
22224         __pthread_setcancelstate.
22225         (error_at_line): Likewise.
22226         * posix/wordexp.c (parse_comm): Likewise.
22227         * stdlib/fmtmsg.c (fmtmsg): Likewise.
22228         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
22229         (__pthread_setcancelstate): This.
22230         (pthread_setcancelstate): Add an alias.
22231         * nptl/nptl-init.c (pthread_functions): Replace
22232         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
22233         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
22234         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
22235         hidden_proto.
22236         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
22237         it with hidden_def.
22238         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
22239         (pthread_setcancelstate): Renamed to ...
22240         (__pthread_setcancelstate): This.
22241         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
22242         __libc_ptf_call with __pthread_setcancelstate.
22244 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22245             Andreas Schwab  <schwab@suse.de>
22247         [BZ #17118]
22248         * math/s_ctan.c (__ctan): Determine sign of zero real part of
22249         result when imaginary part of argument is infinite using sine and
22250         cosine.
22251         * math/s_ctanf.c (__ctanf): Likewise.
22252         * math/s_ctanl.c (__ctanl): Likewise.
22253         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
22254         of result when real part of argument is infinite using sine and
22255         cosine.
22256         * math/s_ctanhf.c (__ctanhf): Likewise.
22257         * math/s_ctanhl.c (__ctanhl): Likewise.
22258         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
22259         (ctanh_test_data): Add more tests of ctanh.
22261 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
22263         [BZ #15384]
22264         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
22265         bit-mask as in subtraction.
22266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
22267         Likewise.
22268         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
22269         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
22270         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
22272         [BZ #18951]
22273         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
22274         underflow exception for small results.
22275         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22276         Likewise.
22277         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22278         Likewise.
22279         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22280         Likewise.
22281         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22282         Likewise.
22283         * math/auto-libm-test-in: Add more tests of tgamma.
22284         * math/auto-libm-test-out: Regenerated.
22286 2015-09-17  Andreas Schwab  <schwab@suse.de>
22288         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
22290 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22292         [BZ #18977]
22293         * math/bits/mathcalls.h
22294         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
22295         not declare.
22296         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
22297         Likewise.
22298         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
22299         Likewise.
22300         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
22301         Likewise.
22302         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
22303         Likewise.
22304         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
22305         Likewise.
22306         * conform/data/math.h-data
22307         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
22308         function.
22309         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
22310         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
22311         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
22312         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
22313         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
22314         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
22315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
22316         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
22317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
22318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
22319         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
22321         [BZ #6803]
22322         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
22323         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
22324         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
22325         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
22326         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
22327         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
22328         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
22329         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
22330         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
22332         Likewise.
22333         [NO_LONG_DOUBLE] (scalbnl): Likewise.
22334         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
22335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
22336         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
22337         long_double_symbol calls.
22338         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
22339         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
22340         strong alias of __ldexpl.
22341         (scalbnl): Define using long_double_symbol.
22342         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
22343         Remove alias.
22344         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
22345         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
22346         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
22347         (scalbln_test_data): Add more errno expectations.
22349 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
22351         Cache the host port like we cache the task port.  This way we do not
22352         need to call the kernel just to get the port.  Furthermore, we no
22353         longer increase the reference count on every invocation of
22354         `mach_host_self'.
22356         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
22357         Protect declarations against the macro expansion.
22358         * mach/mach_init.c (__mach_host_self_): New variable.
22359         (mach_init): Initialize `__mach_host_self_'.
22360         * mach/mach_init.h (__mach_host_self_): New declaration.
22361         (__mach_host_self, mach_host_self): New macros.
22362         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
22363         Release reference.
22365 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
22367         [BZ #4404]
22368         * po/de.po: Update from Translation Project.
22370         [BZ #16415]
22371         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
22372         (__expm1l): Remove code to handle positive infinity and overflow.
22373         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
22374         variable.
22375         (__expm1l): Remove code to handle positive infinity and overflow.
22377 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
22378             Paul Pluzhnikov  <ppluzhnikov@google.com>
22380         [BZ #18872]
22381         * stdio-common/Makefile (tst-printf-bz18872): New test.
22382         (tst-printf-bz18872-mem.out): Likewise.
22383         * stdio-common/tst-printf-bz18872.sh: Generate new test.
22384         * stdio-common/vfprintf.c: Fix memory leaks.
22386 2015-09-16  Andreas Schwab  <schwab@suse.de>
22388         [BZ #17244]
22389         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
22390         Remove extra va_start/va_end calls.
22392         [BZ #17243]
22393         * posix/execl.c (execl): Add missing va_end.
22394         * posix/execle.c (execle): Likewise.
22395         * posix/execlp.c (execlp): Likewise.
22397 2015-09-15  Roland McGrath  <roland@hack.frob.com>
22399         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
22400         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
22402 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
22404         [BZ #18967]
22405         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
22406         undefine around includes of <bits/mathcalls.h>.
22407         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
22408         not declare function.
22409         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
22410         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
22411         (scalb): Likewise.
22412         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
22413         not define macro.
22414         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
22415         variable.
22416         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22417         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22418         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22420         [BZ #18857]
22421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
22422         return non-finite argument without doing ordered comparisons on
22423         it.
22425         [BZ #16296]
22426         * math/fenv.h (fegetround): Use __attribute_pure__.
22427         * include/fenv.h (__fegetround): Likewise.
22429         [BZ #18595]
22430         * math/s_ctan.c (__ctan): Force underflow exception for results
22431         whose real or imaginary part has small absolute value.
22432         * math/s_ctanf.c (__ctanf): Likewise.
22433         * math/s_ctanh.c (__ctanh): Likewise.
22434         * math/s_ctanhf.c (__ctanhf): Likewise.
22435         * math/s_ctanhl.c (__ctanhl): Likewise.
22436         * math/s_ctanl.c (__ctanl): Likewise.
22437         * math/auto-libm-test-in: Do not allow missing underflow for ctan
22438         and ctanh.  Add more tests of ctan and ctanh.
22440         [BZ #15918]
22441         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
22442         handling of cases where one argument is an infinity.
22444         [BZ #18875]
22445         [BZ #18966]
22446         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
22447         (MO): New macro.
22448         (__ieee754_exp10): For small results, force underflow exception
22449         and remove excess range and precision from return value.
22450         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
22451         (MO): New macro.
22452         (__ieee754_exp10f): For small results, force underflow exception
22453         and remove excess range and precision from return value.
22454         * math/auto-libm-test-in: Add more tests of exp10.
22455         * math/auto-libm-test-out: Regenerated.
22457 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
22459         [BZ #18875]
22460         [BZ #18961]
22461         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
22462         (MO): New macro.
22463         (__ieee754_exp): For small results, force underflow exception and
22464         remove excess range and precision from return value.
22465         (__exp_finite): Likewise.
22466         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
22467         (MO): New macro.
22468         (__ieee754_expf): For small results, force underflow exception and
22469         remove excess range and precision from return value.
22470         (__expf_finite): Likewise.
22471         * math/auto-libm-test-in: Add more tests of exp.
22472         * math/auto-libm-test-out: Regenerated.
22474         [BZ #16521]
22475         [BZ #18875]
22476         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
22477         small results.
22478         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
22479         (MO): New macro.
22480         (__ieee754_exp2): For small results, force underflow exception and
22481         remove excess range and precision from return value.
22482         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
22483         (MO): New macro.
22484         (__ieee754_exp2f): For small results, force underflow exception
22485         and remove excess range and precision from return value.
22486         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
22487         (MO): New macro.
22488         (__ieee754_exp2l): Force underflow exception for small results.
22489         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22490         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22491         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
22492         (MO): New macro.
22493         (__ieee754_exp2l): Force underflow exception for small results.
22494         * math/auto-libm-test-in: Add more tests or exp2.
22495         * math/auto-libm-test-out: Regenerated.
22497 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
22499         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
22501         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
22502         /dev/null.
22504 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22506         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22507         io fs process)): Drop spurious backslash.
22509 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22511         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
22512         Use sysinfo system call instead of parsing /proc/meminfo.
22513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
22514         Likewise.
22516 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
22518         [BZ #16985]
22519         * programs/localedef.c (main): Display argv[remaining] when
22520         output_path is NULL.
22522 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22524         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22525         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
22526         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
22527         tanh.
22528         * math/auto-libm-test-out: Regenerated.
22529         * sysdeps/i386/fpu/libm-test-ulps: Update.
22530         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22531         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22534 2015-09-11  Roland McGrath  <roland@hack.frob.com>
22536         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
22537         Use 'override' keyword to freeze the value here, preventing
22538         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
22540 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
22542         [BZ #14912]
22543         * sysdeps/aarch64/bits/atomic.h: Move to ...
22544         * sysdeps/aarch64/atomic-machine.h: ...here.
22545         (_AARCH64_BITS_ATOMIC_H): Rename macro to
22546         _AARCH64_ATOMIC_MACHINE_H.
22547         * sysdeps/alpha/bits/atomic.h: Move to ...
22548         * sysdeps/alpha/atomic-machine.h: ...here.
22549         * sysdeps/arm/bits/atomic.h: Move to ...
22550         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
22551         * bits/atomic.h: Move to ...
22552         * sysdeps/generic/atomic-machine.h: ...here.
22553         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22554         * sysdeps/i386/bits/atomic.h: Move to ...
22555         * sysdeps/i386/atomic-machine.h: ...here.
22556         * sysdeps/ia64/bits/atomic.h: Move to ...
22557         * sysdeps/ia64/atomic-machine.h: ...here.
22558         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
22559         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
22560         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22561         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
22562         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
22563         * sysdeps/microblaze/bits/atomic.h: Move to ...
22564         * sysdeps/microblaze/atomic-machine.h: ...here.
22565         * sysdeps/mips/bits/atomic.h: Move to ...
22566         * sysdeps/mips/atomic-machine.h: ...here.
22567         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
22568         * sysdeps/powerpc/bits/atomic.h: Move to ...
22569         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
22570         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
22571         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
22572         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
22573         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
22574         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
22575         <atomic-machine.h> instead of <bits/atomic.h>.
22576         * sysdeps/s390/bits/atomic.h: Move to ...
22577         * sysdeps/s390/atomic-machine.h: ...here.
22578         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
22579         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
22580         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22581         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
22582         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
22583         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
22584         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
22585         * sysdeps/tile/bits/atomic.h: Move to ...
22586         * sysdeps/tile/atomic-machine.h: ...here.
22587         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
22588         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
22589         <sysdeps/tile/atomic-machine.h> instead of
22590         <sysdeps/tile/bits/atomic.h>.
22591         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22592         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
22593         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
22594         <sysdeps/tile/atomic-machine.h> instead of
22595         <sysdeps/tile/bits/atomic.h>.
22596         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22597         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
22598         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
22599         <sysdeps/arm/atomic-machine.h> instead of
22600         <sysdeps/arm/bits/atomic.h>.
22601         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
22602         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
22603         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22604         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
22605         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
22606         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
22607         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
22608         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
22609         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
22610         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
22611         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
22612         * sysdeps/x86_64/bits/atomic.h: Move to ...
22613         * sysdeps/x86_64/atomic-machine.h: ...here.
22614         * include/atomic.h: Include <atomic-machine.h> instead of
22615         <bits/atomic.h>.
22617         * sysdeps/mips/mips32/libm-test-ulps: Update.
22618         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22620         [BZ #18952]
22621         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
22622         not convert non-integer negative arguments to int to determine the
22623         value of signgam.
22624         * math/auto-libm-test-in: Add more tests of lgamma.
22625         * math/auto-libm-test-out: Regenerated.
22627         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
22628         cosh, csqrt, erfc, expm1 and lgamma.
22629         * math/auto-libm-test-out: Regenerated.
22630         * sysdeps/i386/fpu/libm-test-ulps: Update.
22631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22633 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
22635         [BZ #2542]
22636         [BZ #2543]
22637         [BZ #2558]
22638         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
22639         __lgamma_neg for arguments from -28.0 to -2.0.
22640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
22641         __lgamma_negf for arguments from -15.0 to -2.0.
22642         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22643         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
22644         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
22645         Call __lgamma_negl for arguments from -33.0 to -2.0.
22646         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
22647         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
22648         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
22649         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
22650         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
22651         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
22652         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
22653         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
22654         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
22655         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
22656         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
22657         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
22658         (__lgamma_neg): Likewise.
22659         (__lgamma_negl): Likewise.
22660         (__lgamma_product): Likewise.
22661         (__lgamma_productl): Likewise.
22662         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
22663         * math/auto-libm-test-in: Add more tests of lgamma.
22664         * math/auto-libm-test-out: Regenerated.
22665         * sysdeps/i386/fpu/libm-test-ulps: Update.
22666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
22670         [BZ #18675]
22671         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
22673 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
22675         [BZ #14912]
22676         * bits/libc-lock.h: Move to ...
22677         * sysdeps/generic/libc-lock.h: ...here.
22678         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22679         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
22680         * sysdeps/mach/hurd/libc-lock.h: ...here.
22681         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22682         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
22683         * sysdeps/mach/bits/libc-lock.h: Move to ...
22684         * sysdeps/mach/libc-lock.h: ...here.
22685         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22686         * sysdeps/nptl/bits/libc-lock.h: Move to ...
22687         * sysdeps/nptl/libc-lock.h: ...here.
22688         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
22689         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
22690         * sysdeps/nptl/libc-lockP.h: ...here.
22691         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
22692         * crypt/crypt_util.c: Include <libc-lock.h> instead of
22693         <bits/libc-lock.h>.
22694         * dirent/scandir-tail.c: Likewise.
22695         * dlfcn/dlerror.c: Likewise.
22696         * elf/dl-close.c: Likewise.
22697         * elf/dl-iteratephdr.c: Likewise.
22698         * elf/dl-lookup.c: Likewise.
22699         * elf/dl-open.c: Likewise.
22700         * elf/dl-support.c: Likewise.
22701         * elf/dl-writev.h: Likewise.
22702         * elf/rtld.c: Likewise.
22703         * grp/fgetgrent.c: Likewise.
22704         * gshadow/fgetsgent.c: Likewise.
22705         * gshadow/sgetsgent.c: Likewise.
22706         * iconv/gconv_conf.c: Likewise.
22707         * iconv/gconv_db.c: Likewise.
22708         * iconv/gconv_dl.c: Likewise.
22709         * iconv/gconv_int.h: Likewise.
22710         * iconv/gconv_trans.c: Likewise.
22711         * include/link.h: Likewise.
22712         * inet/getnameinfo.c: Likewise.
22713         * inet/getnetgrent.c: Likewise.
22714         * inet/getnetgrent_r.c: Likewise.
22715         * intl/bindtextdom.c: Likewise.
22716         * intl/dcigettext.c: Likewise.
22717         * intl/finddomain.c: Likewise.
22718         * intl/gettextP.h: Likewise.
22719         * intl/loadmsgcat.c: Likewise.
22720         * intl/localealias.c: Likewise.
22721         * intl/textdomain.c: Likewise.
22722         * libidn/idn-stub.c: Likewise.
22723         * libio/libioP.h: Likewise.
22724         * locale/duplocale.c: Likewise.
22725         * locale/freelocale.c: Likewise.
22726         * locale/newlocale.c: Likewise.
22727         * locale/setlocale.c: Likewise.
22728         * login/getutent_r.c: Likewise.
22729         * login/getutid_r.c: Likewise.
22730         * login/getutline_r.c: Likewise.
22731         * login/utmp-private.h: Likewise.
22732         * login/utmpname.c: Likewise.
22733         * malloc/mtrace.c: Likewise.
22734         * misc/efgcvt.c: Likewise.
22735         * misc/error.c: Likewise.
22736         * misc/fstab.c: Likewise.
22737         * misc/getpass.c: Likewise.
22738         * misc/mntent.c: Likewise.
22739         * misc/syslog.c: Likewise.
22740         * nis/nis_call.c: Likewise.
22741         * nis/nis_callback.c: Likewise.
22742         * nis/nss-default.c: Likewise.
22743         * nis/nss_compat/compat-grp.c: Likewise.
22744         * nis/nss_compat/compat-initgroups.c: Likewise.
22745         * nis/nss_compat/compat-pwd.c: Likewise.
22746         * nis/nss_compat/compat-spwd.c: Likewise.
22747         * nis/nss_nis/nis-alias.c: Likewise.
22748         * nis/nss_nis/nis-ethers.c: Likewise.
22749         * nis/nss_nis/nis-grp.c: Likewise.
22750         * nis/nss_nis/nis-hosts.c: Likewise.
22751         * nis/nss_nis/nis-network.c: Likewise.
22752         * nis/nss_nis/nis-proto.c: Likewise.
22753         * nis/nss_nis/nis-pwd.c: Likewise.
22754         * nis/nss_nis/nis-rpc.c: Likewise.
22755         * nis/nss_nis/nis-service.c: Likewise.
22756         * nis/nss_nis/nis-spwd.c: Likewise.
22757         * nis/nss_nisplus/nisplus-alias.c: Likewise.
22758         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
22759         * nis/nss_nisplus/nisplus-grp.c: Likewise.
22760         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
22761         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
22762         * nis/nss_nisplus/nisplus-network.c: Likewise.
22763         * nis/nss_nisplus/nisplus-proto.c: Likewise.
22764         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
22765         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
22766         * nis/nss_nisplus/nisplus-service.c: Likewise.
22767         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
22768         * nis/ypclnt.c: Likewise.
22769         * nptl/libc_pthread_init.c: Likewise.
22770         * nss/getXXbyYY.c: Likewise.
22771         * nss/getXXent.c: Likewise.
22772         * nss/getXXent_r.c: Likewise.
22773         * nss/nss_db/db-XXX.c: Likewise.
22774         * nss/nss_db/db-netgrp.c: Likewise.
22775         * nss/nss_db/nss_db.h: Likewise.
22776         * nss/nss_files/files-XXX.c: Likewise.
22777         * nss/nss_files/files-alias.c: Likewise.
22778         * nss/nsswitch.c: Likewise.
22779         * posix/regex_internal.h: Likewise.
22780         * posix/wordexp.c: Likewise.
22781         * pwd/fgetpwent.c: Likewise.
22782         * resolv/res_hconf.c: Likewise.
22783         * resolv/res_libc.c: Likewise.
22784         * shadow/fgetspent.c: Likewise.
22785         * shadow/lckpwdf.c: Likewise.
22786         * shadow/sgetspent.c: Likewise.
22787         * socket/opensock.c: Likewise.
22788         * stdio-common/reg-modifier.c: Likewise.
22789         * stdio-common/reg-printf.c: Likewise.
22790         * stdio-common/reg-type.c: Likewise.
22791         * stdio-common/vfprintf.c: Likewise.
22792         * stdio-common/vfscanf.c: Likewise.
22793         * stdlib/abort.c: Likewise.
22794         * stdlib/cxa_atexit.c: Likewise.
22795         * stdlib/fmtmsg.c: Likewise.
22796         * stdlib/random.c: Likewise.
22797         * stdlib/setenv.c: Likewise.
22798         * string/strsignal.c: Likewise.
22799         * sunrpc/auth_none.c: Likewise.
22800         * sunrpc/bindrsvprt.c: Likewise.
22801         * sunrpc/create_xid.c: Likewise.
22802         * sunrpc/key_call.c: Likewise.
22803         * sunrpc/rpc_thread.c: Likewise.
22804         * sysdeps/arm/backtrace.c: Likewise.
22805         * sysdeps/generic/ldsodefs.h: Likewise.
22806         * sysdeps/generic/stdio-lock.h: Likewise.
22807         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
22808         * sysdeps/i386/backtrace.c: Likewise.
22809         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22810         * sysdeps/m68k/backtrace.c: Likewise.
22811         * sysdeps/mach/hurd/cthreads.c: Likewise.
22812         * sysdeps/mach/hurd/dirstream.h: Likewise.
22813         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22814         * sysdeps/nptl/malloc-machine.h: Likewise.
22815         * sysdeps/nptl/stdio-lock.h: Likewise.
22816         * sysdeps/posix/dirstream.h: Likewise.
22817         * sysdeps/posix/getaddrinfo.c: Likewise.
22818         * sysdeps/posix/system.c: Likewise.
22819         * sysdeps/pthread/aio_suspend.c: Likewise.
22820         * sysdeps/s390/s390-32/backtrace.c: Likewise.
22821         * sysdeps/s390/s390-64/backtrace.c: Likewise.
22822         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22823         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22824         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
22825         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
22826         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
22827         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22828         * sysdeps/unix/sysv/linux/system.c: Likewise.
22829         * sysdeps/x86_64/backtrace.c: Likewise.
22830         * time/alt_digit.c: Likewise.
22831         * time/era.c: Likewise.
22832         * time/tzset.c: Likewise.
22833         * wcsmbs/wcsmbsload.c: Likewise.
22834         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
22835         instead of <bits/libc-lock.h> in comment.
22837 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
22839         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
22840         Only use .set mips2 if the current ISA is below mips2.
22841         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
22842         Likewise.
22843         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
22844         mips32r2 if the current ISA is below mips32r2.
22845         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
22846         (TLS_IE): Updated to use the TLD_RDHWR macro.
22847         (TLS_LE): Likewise.
22848         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
22849         __ASSEMBLER__ condition.
22851 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22853         Fix parallel build of before-compile targets.
22855         * sysdeps/mach/Makefile ($(patsubst
22856         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
22857         mach-before-compile target.
22858         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22859         io fs process)): Move rule to dedicated hurd-before-compile target.
22861 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22863         Fix rules generating headers in hurd/ and mach/ when initial make call
22864         has subdir= explicitly set.
22866         * sysdeps/mach/Makefile ($(patsubst
22867         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
22868         calling $(MAKE).
22869         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
22870         io fs process)): Force subdir to hurd when calling $(MAKE).
22871         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
22872         subdir to mach when calling $(MAKE).
22874 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
22876         Check sysheaders when looking for Mach and Hurd headers
22878         * sysdeps/mach/configure.ac: Add sysheaders check.
22879         * sysdeps/mach/configure: Regenerate.
22880         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
22881         * sysdeps/mach/hurd/configure: Regenerate.
22883 2015-09-04  Roland McGrath  <roland@hack.frob.com>
22885         [BZ #18921]
22886         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
22887         Fix inverted sense of test of 'o_directory_works' value.
22888         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
22889         Bernhard Voelker <mail@bernhard-voelker.de>.
22891 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22893         [BZ #14912]
22894         * bits/linkmap.h: Move to ...
22895         * sysdeps/generic/linkmap.h: ...here.
22896         * sysdeps/aarch64/bits/linkmap.h: Move to ...
22897         * sysdeps/aarch64/linkmap.h: ...here.
22898         * sysdeps/arm/bits/linkmap.h: Move to ...
22899         * sysdeps/arm/linkmap.h: ...here.
22900         * sysdeps/hppa/bits/linkmap.h: Move to ...
22901         * sysdeps/hppa/linkmap.h: ...here.
22902         * sysdeps/ia64/bits/linkmap.h: Move to ...
22903         * sysdeps/ia64/linkmap.h: ...here.
22904         * sysdeps/mips/bits/linkmap.h: Move to ...
22905         * sysdeps/mips/linkmap.h: ...here.
22906         * sysdeps/s390/bits/linkmap.h: Move to ...
22907         * sysdeps/s390/linkmap.h: ...here.
22908         * sysdeps/sh/bits/linkmap.h: Move to ...
22909         * sysdeps/sh/linkmap.h: ...here.
22910         * sysdeps/x86/bits/linkmap.h: Move to ...
22911         * sysdeps/x86/linkmap.h: ...here.
22912         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
22914 2015-09-04  Andreas Schwab  <schwab@suse.de>
22916         [BZ #18635]
22917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
22918         (__makecontext): Terminate FDE before return label.
22919         (__novec_makecontext): Likewise.
22921 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22923         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
22924         first member of struct sv in syscall macro.
22926 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
22928         [BZ #14912]
22929         * bits/stdio-lock.h: Move to ...
22930         * sysdeps/generic/stdio-lock.h: ...here.
22931         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22932         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
22933         * sysdeps/nptl/stdio-lock.h: ...here.
22934         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
22935         * include/libio.h: Include <stdio-lock.h> instead of
22936         <bits/stdio-lock.h>.
22937         * sysdeps/nptl/fork.c: Likewise.
22938         * sysdeps/pthread/flockfile.c: Likewise.
22939         * sysdeps/pthread/ftrylockfile.c: Likewise.
22940         * sysdeps/pthread/funlockfile.c: Likewise.
22942         [BZ #14912]
22943         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
22944         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
22945         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
22946         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
22947         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
22948         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22949         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
22951 2015-09-03  Roland McGrath  <roland@hack.frob.com>
22953         * elf/Makefile (test-xfail-tst-protected1a): New variable.
22954         (test-xfail-tst-protected1b): New variable.
22956 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
22958         [BZ #14912]
22959         * bits/libc-tsd.h: Move to ...
22960         * sysdeps/generic/libc-tsd.h: ...here.
22961         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
22962         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
22963         * sysdeps/mach/hurd/libc-tsd.h: ...here.
22964         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
22965         * include/ctype.h: Include <libc-tsd.h> instead of
22966         <bits/libc-tsd.h>.
22967         * include/rpc/rpc.h: Likewise.
22968         * locale/localeinfo.h: Likewise.
22969         * sunrpc/rpc_thread.c: Likewise.
22970         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
22971         * sysdeps/nptl/malloc-machine.h: Likewise.
22973         * Makefile (headers): Remove bits/libc-lock.h.
22974         * libio/Makefile (headers): Remove bits/stdio-lock.h.
22976         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
22977         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
22978         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
22979         <bits/stdio-lock.h>.
22980         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
22981         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
22983 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22985         [BZ #18757]
22986         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
22987         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
22988         BZ #18757.
22990 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
22992         * malloc/mtrace.pl: Filter out NULL entries.
22994 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
22996         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
22997         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
22998         macro.
23000         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
23001         (TCP_CC_INFO): Likewise.
23002         (TCP_SAVE_SYN): Likewise.
23003         (TCP_SAVED_SYN): Likewise.
23005 2015-08-31  Brett Neumeier <brett@neumeier.us>
23007         [BZ #18870]
23008         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
23010 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
23012         [BZ #18873]
23013         Fix broken overflow check in posix_fallocate
23014         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
23015         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23016         Fix parenthesization typo.
23018 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
23020         [BZ #18887]
23021         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
23022         tst-mntent-blank-passno.
23023         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
23024         * misc/tst-mntent-blank-corrupt.c: New test.
23025         * misc/tst-mntent-blank-passno.c: New test ripped from ...
23026         * misc/tst-mntent.c (do_test): ... here.
23028 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
23030         [BZ #4404]
23031         * po/de.po: Fix SIGALRM typo.
23033 2015-08-28  James Perkins  <james@loowit.net>
23035         * time/tst-strptime2.c (tests): Replace short list of test
23036         strings for strptime %z specifier with code which exhaustively
23037         tests every combination of sign and 0 to 5 digits. Tests for
23038         rejection of invalid strings.
23040 2015-08-28  James Perkins  <james@loowit.net>
23042         [BZ #16141]
23043         * time/strptime_l.c (__strptime_internal): Fix %z minutes
23044         calculation, removing incorrect decimal time rounding, so that
23045         all minute values result in a valid seconds value.
23046         * time/strptime_l.c (__strptime_internal): Extend %z time zone
23047         offset range limits to UTC-99:59 through UTC+99:59 to parse
23048         current and historical use cases.
23049         * time/tst-strptime2.c (tests): Modify and add tests for the
23050         strptime %z input field descriptor, specifically conversion of
23051         minutes to seconds and validating an offset range of -9959 to
23052         +9959.
23054 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23055             Dmitry V. Levin  <ldv@altlinux.org>
23057         [BZ #18877]
23058         * posix/Makefile (tests): Add tst-mmap-offset.
23059         * posix/tst-mmap.c: New file.
23060         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
23061         offset calculation for negative values.
23063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23065         * sysdeps/i386/init-arch.h: New file.
23066         * sysdeps/i386/i586/init-arch.h: Likewise.
23067         * sysdeps/i386/i686/init-arch.h: Likewise.
23068         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
23069         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
23070         * sysdeps/x86/cpu-features.h (bit_I586): New.
23071         (bit_I686): Likewise.
23072         (bit_CX8): Likewise.
23073         (bit_CMOV): Likewise.
23074         (index_CX8): Likewise.
23075         (index_CMOV): Likewise.
23076         (index_I586): Likewise.
23077         (index_I686): Likewise.
23078         (reg_CX8): Likewise.
23079         (reg_CMOV): Likewise.
23080         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
23081         available at compile-time.
23082         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
23083         available at compile-time.
23084         * sysdeps/x86/init-arch.h (USE_I586): New macro.
23085         (USE_I686): Likewise.
23087 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23089         * sysdeps/i386/bcopy.S: New file.
23090         * sysdeps/i386/bzero.S: Likewise.
23091         * sysdeps/i386/memcpy.S: Likewise.
23092         * sysdeps/i386/memmove.S: Likewise.
23093         * sysdeps/i386/mempcpy.S: Likewise.
23094         * sysdeps/i386/memset.S: Likewise.
23095         * sysdeps/i386/bzero.c: Removed.
23096         * sysdeps/i386/memset.c: Likewise.
23097         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
23098         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
23099         * sysdeps/i386/i586/memset_chk.S: Likewise.
23100         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
23101         * sysdeps/i386/memcpy_chk.S: Here.
23102         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
23103         * sysdeps/i386/memmove_chk.S: Here.
23104         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
23105         * sysdeps/i386/mempcpy_chk.S: Likewise.
23106         * sysdeps/i386/i686/memset_chk.S: Moved to ...
23107         * sysdeps/i386/memset_chk.S: Likewise.
23109 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
23111         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
23112         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
23113         file, move DIAG_POP_NEEDS_COMMENT to end of file.
23114         * soft-fp/fmadf4.c: Ditto.
23115         * soft-fp/fmatf4.c: Ditto.
23117 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23119         * sysdeps/i386/i586/Implies: Removed.
23120         * sysdeps/i386/i686/Implies: Likewise.
23122 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23124         * sysdeps/i386/i486/strlen.S: Moved to ...
23125         * sysdeps/i386/strlen.S: Here.
23127 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23129         * sysdeps/i386/i486/strcat.S: Moved to ...
23130         * sysdeps/i386/strcat.S: Here.
23132 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23134         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
23135         * sysdeps/i386/pthread_spin_trylock.S: Here.
23136         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
23137         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
23139 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23141         * sysdeps/i386/i486/string-inlines.c: Moved to ...
23142         * sysdeps/i386/string-inlines.c: Here.
23144 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23146         * sysdeps/i386/i486/htonl.S: Moved ...
23147         * sysdeps/i386/htonl.S: here.
23149 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23151         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
23152         * sysdeps/i386/bits/atomic.h: Here.
23154 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
23156         * sysdeps/i386/i486/Versions: Removed.
23158 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23160         [BZ #2898]
23161         * misc/mktemp.c: Add mkdtemp to the link_warning message.
23162         Based on patch by Aurelien Jarno.
23164 2015-08-26  Stan Shebs  <stanshebs@google.com>
23166         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
23167         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23169 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23171         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
23172         * sysdeps/powerpc/dl-procinfo.c:
23173         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
23174         feature so it shows when LD_SHOW_AUXV=1.
23176 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23178         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23179         (__arch_compare_and_exchange_val_32_acq): Remove and use common
23180         definition.  ISA 2.07B no longer requires full sync.
23182 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
23184         [BZ #18863]
23185         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
23186         (si_call_addr): Define.
23187         (si_syscall): Define.
23188         (si_arch): Define.
23190 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
23192         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
23193         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
23194         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
23195         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23196         (__memset_zero_constant_len_parameter): New.
23197         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
23198         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
23199         (__memset_zero_constant_len_parameter): Don't define if
23200         __memset_chk or USE_AS_BZERO are defined.
23202         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
23203         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
23204         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
23206         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
23207         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
23208         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
23209         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
23210         comments.
23211         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
23212         -mno-mmx for $(all-rtld-routines).
23213         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
23214         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
23215         i386.
23217 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23219         * sysdeps/generic/unwind.h
23220         (_Unwind_Word): Use __mode__(__unwind_word__)
23221         instead of __mode__(__word__).
23222         (_Unwind_Sword): Likewise.
23224         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23225         (MAX_NEEDED_INPUT): New define.
23226         (MAX_NEEDED_OUTPUT): New define.
23228         * NEWS: New item for IBM z13 string optimizations.
23230         * sysdeps/s390/multiarch/memrchr-c.c: New File.
23231         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
23232         * sysdeps/s390/multiarch/memrchr.c: Likewise.
23233         * sysdeps/s390/multiarch/Makefile
23234         (sysdep_routines): Add memrchr functions.
23235         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23236         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
23238         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
23239         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
23240         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
23241         * sysdeps/s390/multiarch/Makefile
23242         (sysdep_routines): Add wmemcmp functions.
23243         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23244         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
23245         * benchtests/bench-wmemcmp.c: New File.
23246         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
23248         * sysdeps/s390/multiarch/wmemset-c.c: New File.
23249         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
23250         * sysdeps/s390/multiarch/wmemset.c: Likewise.
23251         * sysdeps/s390/multiarch/Makefile
23252         (sysdep_routines): Add wmemset functions.
23253         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23254         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
23255         * wcsmbs/wmemset.c: Use WMEMSET if defined.
23256         * string/test-memset.c: Add wmemset support.
23257         * wcsmbs/test-wmemset.c: New File.
23258         * wcsmbs/Makefile (strop-tests): Add wmemset.
23259         * benchtests/bench-memset.c: Add wmemset support.
23260         * benchtests/bench-wmemset.c: New File.
23261         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
23263         * sysdeps/s390/multiarch/memccpy-c.c: New File.
23264         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
23265         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23266         * sysdeps/s390/multiarch/Makefile
23267         (sysdep_routines): Add memccpy functions.
23268         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23269         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
23270         * string/memccpy.c: Use MEMCCPY if defined.
23272         * sysdeps/s390/multiarch/memchr-vx.S: New File.
23273         * sysdeps/s390/multiarch/memchr.c: Likewise.
23274         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
23275         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
23276         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
23277         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
23278         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
23279         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
23280         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
23281         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
23282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
23283         and rawmemchr functions.
23284         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
23285         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
23286         and wmemchr.
23287         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
23288         * string/test-memchr.c: Add wmemchr support.
23289         * wcsmbs/test-wmemchr.c: New File.
23290         * wcsmbs/Makefile (strop-tests): Add wmemchr.
23291         * benchtests/bench-memchr.c: Add wmemchr support.
23292         * benchtests/bench-wmemchr.c: New File.
23293         * benchtests/Makefile (wcsmbs-bench): wmemchr.
23295         * sysdeps/s390/multiarch/strcspn-c.c: New File.
23296         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
23297         * sysdeps/s390/multiarch/strcspn.c: Likewise.
23298         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
23299         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
23300         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
23301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
23302         wcscspn functions.
23303         * sysdeps/s390/multiarch/ifunc-impl-list.c
23304         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
23305         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
23306         * string/test-strcspn.c: Add wcscspn support.
23307         * wcsmbs/test-wcscspn.c: New File.
23308         * wcsmbs/Makefile (strop-tests): Add wcscspn.
23309         * benchtests/bench-strcspn.c: Add wcscspn support.
23310         * benchtests/bench-wcscspn.c: New File.
23311         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
23313         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
23314         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
23315         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
23316         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
23317         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
23318         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
23319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
23320         wcspbrk functions.
23321         * sysdeps/s390/multiarch/ifunc-impl-list.c
23322         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
23323         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
23324         * string/test-strpbrk.c: Add wcspbrk support.
23325         * wcsmbs/test-wcspbrk.c: New File.
23326         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
23327         * benchtests/bench-strpbrk.c: Add wcspbrk support.
23328         * benchtests/bench-wcspbrk.c: New File.
23329         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
23331         * sysdeps/s390/multiarch/strspn-c.c: New File.
23332         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
23333         * sysdeps/s390/multiarch/strspn.c: Likewise.
23334         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
23335         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
23336         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
23337         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
23338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
23339         wcsspn functions.
23340         * sysdeps/s390/multiarch/ifunc-impl-list.c
23341         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
23342         * string/test-strspn.c: Add wcsspn support.
23343         * wcsmbs/test-wcsspn.c: New File.
23344         * wcsmbs/Makefile (strop-tests): Add wcsspn.
23345         * benchtests/bench-strspn.c: Add wcsspn support.
23346         * benchtests/bench-wcsspn.c: New File.
23347         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
23349         * sysdeps/s390/multiarch/strrchr-c.c: New File.
23350         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
23351         * sysdeps/s390/multiarch/strrchr.c: Likewise.
23352         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
23353         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
23354         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
23355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
23356         wcsrchr functions.
23357         * sysdeps/s390/multiarch/ifunc-impl-list.c
23358         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
23359         * benchtests/bench-wcsrchr.c: New File.
23360         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
23362         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
23363         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
23364         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
23365         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
23366         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
23367         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
23368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
23369         wcschrnul functions.
23370         * sysdeps/s390/multiarch/ifunc-impl-list.c
23371         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
23372         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
23373         * string/test-strchr.c: Add wcschrnul support.
23374         * wcsmbs/test-wcschrnul.c: New File.
23375         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
23376         * benchtests/bench-strchr.c: Add wcschrnul support.
23377         * benchtests/bench-wcschrnul.c: New File.
23378         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
23380         * sysdeps/s390/multiarch/strchr-c.c: New File.
23381         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
23382         * sysdeps/s390/multiarch/strchr.c: Likewise.
23383         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
23384         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
23385         * sysdeps/s390/multiarch/wcschr.c: Likewise.
23386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
23387         wcschr functions.
23388         * sysdeps/s390/multiarch/ifunc-impl-list.c
23389         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
23390         * string/strchr.c (STRCHR): Define and use macro.
23391         * benchtests/bench-wcschr.c: New File.
23392         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
23394         * sysdeps/s390/multiarch/strncmp-c.c: New File.
23395         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
23396         * sysdeps/s390/multiarch/strncmp.c: Likewise.
23397         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
23398         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
23399         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
23400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
23401         wcsncmp functions.
23402         * sysdeps/s390/multiarch/ifunc-impl-list.c
23403         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
23404         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
23405         * benchtests/bench-strncmp.c: Add wcsncmp support.
23406         * benchtests/bench-wcsncmp.c: New File.
23407         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
23409         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
23410         * sysdeps/s390/multiarch/strcmp.c: Likewise.
23411         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
23412         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
23413         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
23414         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
23415         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
23416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
23417         wcscmp functions.
23418         * sysdeps/s390/multiarch/ifunc-impl-list.c
23419         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
23420         * string/strcmp.c (STRCMP): Define and use macro.
23421         * benchtests/bench-wcscmp.c: New File.
23422         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
23423         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
23424         instead of _HAVE_STRING_ARCH_memchr.
23426         * sysdeps/s390/multiarch/strncat-c.c: New File.
23427         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
23428         * sysdeps/s390/multiarch/strncat.c: Likewise.
23429         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
23430         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
23431         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
23432         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
23433         wcsncat functions.
23434         * sysdeps/s390/multiarch/ifunc-impl-list.c
23435         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
23436         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
23437         * string/test-strncat.c: Add wcsncat support.
23438         * wcsmbs/test-wcsncat.c: New File.
23439         * wcsmbs/Makefile (strop-tests): Add wcsncat.
23440         * benchtests/bench-strncat.c: Add wcsncat support.
23441         * benchtests/bench-wcsncat.c: New File.
23442         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
23444         * sysdeps/s390/multiarch/strcat-c.c: New File.
23445         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
23446         * sysdeps/s390/multiarch/strcat.c: Likewise.
23447         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
23448         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
23449         * sysdeps/s390/multiarch/wcscat.c: Likewise.
23450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
23451         wcscat functions.
23452         * sysdeps/s390/multiarch/ifunc-impl-list.c
23453         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
23454         * string/strcat.c (STRCAT): Define and use macro.
23455         * wcsmbs/wcscat.c: Use WCSCAT if defined.
23456         * string/test-strcat.c: Add wcscat support.
23457         * wcsmbs/test-wcscat.c: New File.
23458         * wcsmbs/Makefile (strop-tests): Add wcscat.
23459         * benchtests/bench-strcat.c: Add wcscat support.
23460         * benchtests/bench-wcscat.c: New File.
23461         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
23463         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
23464         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
23465         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
23466         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
23467         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
23468         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
23469         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
23470         wcpncpy functions.
23471         * sysdeps/s390/multiarch/ifunc-impl-list.c
23472         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
23473         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
23474         * string/test-stpncpy.c: Add wcpncpy support.
23475         * wcsmbs/test-wcpncpy.c: New File.
23476         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
23477         * benchtests/bench-stpncpy.c: Add wcpncpy support.
23478         * benchtests/bench-wcpncpy.c: New File.
23479         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
23481         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
23482         * sysdeps/s390/multiarch/strncpy.c: Likewise.
23483         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
23484         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
23485         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
23486         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
23487         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
23488         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
23489         wcsncpy functions.
23490         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
23491         * sysdeps/s390/multiarch/ifunc-impl-list.c
23492         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
23493         * string/test-strncpy.c: Add wcsncpy support.
23494         * wcsmbs/test-wcsncpy.c: New File.
23495         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
23496         * benchtests/bench-strncpy.c: Add wcsncpy support.
23497         * benchtests/bench-wcsncpy.c: New File.
23498         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
23500         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
23501         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
23502         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
23503         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
23504         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
23505         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
23506         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
23507         wcpcpy functions.
23508         * string/stpcpy.c: Use STPCPY if defined.
23509         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
23510         * sysdeps/s390/multiarch/ifunc-impl-list.c
23511         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
23512         * string/test-stpcpy.c: Add wcpcpy support.
23513         * wcsmbs/test-wcpcpy.c: New File.
23514         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
23515         * benchtests/bench-stpcpy.c: Add wcpcpy support.
23516         * benchtests/bench-wcpcpy.c: New File.
23517         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
23519         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
23520         * sysdeps/s390/multiarch/strcpy.c: Likewise.
23521         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
23522         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
23523         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
23524         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
23525         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
23526         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
23527         wcscpy functions.
23528         * sysdeps/s390/multiarch/ifunc-impl-list.c
23529         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
23530         * benchtests/bench-wcscpy.c: New File.
23531         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
23533         * sysdeps/s390/multiarch/strnlen-c.c: New File.
23534         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
23535         * sysdeps/s390/multiarch/strnlen.c: Likewise.
23536         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
23537         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
23538         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
23539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
23540         wcsnlen functions.
23541         * sysdeps/s390/multiarch/ifunc-impl-list.c
23542         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
23543         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
23544         * string/test-strnlen.c: Add wcsnlen support.
23545         * wcsmbs/test-wcsnlen.c: New File.
23546         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
23547         * benchtests/bench-strnlen.c: Add wcsnlen support.
23548         * benchtests/bench-wcsnlen.c: New File.
23549         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
23551         * sysdeps/s390/multiarch/Makefile: New File.
23552         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
23553         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
23554         * sysdeps/s390/multiarch/strlen.c: Likewise.
23555         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
23556         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
23557         * sysdeps/s390/multiarch/wcslen.c: Likewise.
23558         * string/strlen.c (STRLEN): Define and use macro.
23559         * sysdeps/s390/multiarch/ifunc-impl-list.c
23560         (IFUNC_VX_IMPL): New macro function.
23561         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
23562         * benchtests/Makefile (wcsmbs-bench): New variable.
23563         (string-bench-all): Added wcsmbs-bench.
23564         * benchtests/bench-wcslen.c: New File.
23566         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
23567         s390_vx_libc_ifunc2): New macro function.
23569         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
23570         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
23571         assembler support.
23572         * sysdeps/s390/configure: Regenerated.
23574         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
23575         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
23577         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
23578         * sysdeps/s390/dl-procinfo.h: Add vector capability.
23579         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
23581         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
23582         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
23583         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
23584         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
23585         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
23586         (memcmp, bcmp): Use __memcmp_default as alias source.
23587         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
23588         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
23589         Rename to __memcmp_default.
23590         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
23591         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
23592         (memcpy): Use __memcpy_default as alias source.
23593         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
23594         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23595         Rename to __memcpy_default.
23596         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
23597         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
23598         (memset): Use __memset_default as alias source.
23599         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
23600         * sysdeps/s390/s390-32/memset.S (__memset_g5):
23601         Rename to __memset_default.
23602         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
23603         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
23604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
23605         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
23606         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
23607         (memcmp, bcmp): Use __memcmp_default as alias source.
23608         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
23609         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
23610         Rename to __memcmp_default.
23611         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
23612         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
23613         (memcpy): Use __memcpy_default as alias source.
23614         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
23615         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
23616         Rename to __memcpy_default.
23617         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
23618         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
23619         (memset): Use __memset_default as alias source.
23620         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
23621         * sysdeps/s390/s390-64/memset.S (__memset_z900):
23622         Rename to __memset_default.
23623         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
23624         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
23626         [BZ #18610]
23627         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
23628         __ieee_instruction_pointer to __unused.
23629         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
23630         __ieee_instruction_pointer.
23631         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
23632         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
23633         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23634         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23635         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
23636         Mark dxc-field as reserved.
23638 2015-08-25  Roland McGrath  <roland@hack.frob.com>
23640         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
23641         if the weak reference is not null.
23643 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23645         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
23647         [BZ #11214]
23648         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
23650 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23652         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
23653         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
23654         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
23655         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
23656         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
23657         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
23658         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
23659         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
23660         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
23661         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
23662         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
23663         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
23664         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
23665         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
23666         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
23667         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
23668         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
23669         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
23671 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23673         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
23674         register other than r0 for tabort, it has special meaning.
23675         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
23676         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
23677         transaction before starting syscall.
23679 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23681         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
23683 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23685         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
23687         * sysdeps/x86_64/rtld-memcmp.c: Removed.
23688         * sysdeps/x86_64/rtld-memset.S: Likewise.
23689         * sysdeps/x86_64/rtld-strchr.S: Likewise.
23690         * sysdeps/x86_64/rtld-strlen.S: Likewise.
23691         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
23692         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23694         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
23696 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
23698         * debug/strcpy_chk.c: Improve performance.
23699         * debug/stpcpy_chk.c: Likewise.
23700         * sysdeps/x86_64/strcpy_chk.S: Remove.
23701         * sysdeps/x86_64/stpcpy_chk.S: Remove.
23703         [BZ #18240]
23704         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
23706 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
23708         [BZ #15128]
23709         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
23710         ifuncmain8.
23711         (modules-names): Add ifuncmod8.
23712         ($(objpfx)ifuncmain8): New rule.
23713         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
23714         <cpuid.h>.
23715         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
23716         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
23717         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
23718         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
23719         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
23720         * sysdeps/x86_64/dl-trampoline.h: Likewise.
23721         * sysdeps/x86_64/ifuncmain8.c: New file.
23722         * sysdeps/x86_64/ifuncmod8.c: Likewise.
23723         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
23724         Removed.
23725         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
23726         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
23727         Change rtld_savespace_sse to __glibc_unused2.
23728         (RTLD_CHECK_FOREIGN_CALL): Removed.
23729         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
23730         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
23731         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
23733 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23735         * sysdeps/aarch64/bzero.S (__bzero): Remove.
23737 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
23739         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
23740         Unconditionally set __fpcr to avoid uninialized warning.
23741         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
23743 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23745         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
23746         is corrupt.
23748         * malloc/arena.c (arena_get2): Drop unused argument.
23749         (arena_lock): Adjust.
23750         (arena_get_retry): Likewise.
23752 2015-08-24  Andreas Schwab  <schwab@suse.de>
23754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
23755         Don't define.
23756         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23757         (__ASSUME_IPC64): Don't undef.
23758         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
23759         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23760         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23761         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
23762         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
23763         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
23764         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
23765         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
23766         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
23767         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
23768         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
23769         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
23770         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
23771         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
23772         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
23773         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
23774         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
23775         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
23776         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
23777         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
23778         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
23780 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
23782         * manual/Makefile (install): Only build manual when perl is available.
23784 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23786         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
23787         '#undef memcpy' by '#undef memchr'.
23789 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23791         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
23792         memchr not point to the internal __GI_memchr implementation.
23794 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23796         * timezone/Makefile (CFLAGS-zdump.c): Remove
23797         -Wno-strict-prototypes.
23798         (CFLAGS-zic.c): Likewise.
23799         (CFLAGS-ialloc.c): Likewise.
23800         (CFLAGS-scheck.c): Likewise.
23802         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
23803         -Wno-error=undef.
23805 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23807         * i386/i686/multiarch/strcasestr-c.c: Removed.
23808         * x86_64/multiarch/strcasestr.c: Likewise.
23809         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23810         Remove strcasestr.
23812 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
23814         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
23816         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
23817         variables for high and low parts before possibly modifying them.
23819 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23821         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
23822         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
23823         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
23824         of "multiarch/init-arch.h".
23825         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
23826         * sysdeps/x86/init-arch.h: This.
23828 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
23830         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
23831         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
23833 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
23835         [BZ #17787]
23836         * manual/macros.texi: Add twoexp macro.
23837         * manual/filesys.texi: Fix exponents.
23838         * manual/llio.texi: Likewise.
23839         * manual/stdio.texi: Likewise.
23841 2015-08-20  Florian Weimer  <fweimer@redhat.com>
23843         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
23844         incorrect use.
23846 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23848         [BZ #18370]
23849         * math/s_csqrt.c (__csqrt): Force underflow exception for results
23850         whose real or imaginary part has small absolute value.
23851         * math/s_csqrtf.c (__csqrtf): Likewise.
23852         * math/s_csqrtl.c (__csqrtl): Likewise.
23853         * math/auto-libm-test-in: Add more tests of csqrt.
23854         * math/auto-libm-test-out: Regenerated.
23855         * sysdeps/i386/fpu/libm-test-ulps: Update.
23857 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23859         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
23860         __ppc_set_ppr_very_low): New functions.
23861         * manual/platform.texi: Add documentation about
23862         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
23864 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
23866         * string/stpncpy.c (stpncpy): Improve performance using
23867         __strnlen/memcpy/memset.
23869 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23871         [BZ #18796]
23872         * scripts/test-installation.pl: Don't add -lmvec to build options if
23873         libmvec wasn't built.
23875 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
23877         [BZ #14341]
23878         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
23879         case when there is a gap between DT_REL and DT_JMPREL sections.
23880         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
23881         (LDFLAGS-tst-split-dynreloc): New.
23882         (tst-split-dynreloc-ENV): Likewise.
23883         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
23884         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
23886 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23888         [BZ #18822]
23889         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
23890         attribute_hidden.
23891         (__xstat64_conv): Likewise.
23892         (__xstat32_conv): Likewise.
23894 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23896         [BZ #18822]
23897         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23898         Don't load %ebx when calling __setcontext.  Call __setcontext
23899         with HIDDEN_JUMPTARGET.
23900         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
23901         libc_hidden_def.
23903 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23905         * sysdeps/i386/i686/Makefile
23906         [$(subdir) == string] (sysdep_routines): Moved to ...
23907         * sysdeps/i386/Makefile: Here.
23908         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
23909         * sysdeps/i386/cacheinfo.c: Here.
23910         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
23911         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
23912         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
23913         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
23915 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
23917         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
23918         __i586__ is defined.
23919         (HAS_I686): Defined to 1 if __i686__ is defined.
23921 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
23923         * elf/Makefile [$(have-z-execstack) = yes]
23924         (CPPFLAGS-tst-execstack.c): New variable.
23926         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
23927         conditional to [defined UTMPX || _HAVE_UT_TYPE].
23928         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
23929         UTMPX || _HAVE_UT_TV].
23930         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
23931         UTMPX || _HAVE_UT_TV - 0].
23933 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
23935         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
23936         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
23937         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
23939 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23941         * sysdeps/powerpc/dl-procinfo.c:
23942         (_dl_powerpc_cap_flags): Added missing strings for some
23943         hwcap features.
23944         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
23946 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
23948         Port the 0x7efe...feff pattern to GCC 6.
23949         See Steve Ellcey's bug report in:
23950         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
23951         * string/memrchr.c (MEMRCHR):
23952         * string/rawmemchr.c (RAWMEMCHR):
23953         * string/strchr.c (strchr):
23954         * string/strchrnul.c (STRCHRNUL):
23955         Rewrite code to avoid issues with signed shift overflow.
23957 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
23959         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
23960         whether cpuid is available only if HAS_CPUID is 0.
23961         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
23962         (HAS_I586): Likewise.
23963         (HAS_I686): Likewise.
23965 2015-08-18  Zack Weinberg  <zackw@panix.com>
23967         * misc/Versions (libc): Add GLIBC_2.23.
23969 2015-08-18  Alan Modra  <amodra@gmail.com>
23971         [BZ #18421]
23972         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
23973         .Lp__global.
23974         (_start): Load %dp via .Lp__global.
23975         [!SHARED]: Use .section .rodata.
23977 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23979         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
23980         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
23982 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23984         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
23985         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
23987 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23989         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
23990         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
23992 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23994         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
23995         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
23997 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
23999         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
24000         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
24002 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24004         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
24005         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
24007 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24009         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
24011 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24013         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
24014         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
24015         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24016         (__ASSUME_LWS_CAS): Delete.
24018 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24020         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
24021         * sysdeps/hppa/configure: Regenerated.
24022         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
24023         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
24024         * sysdeps/hppa/nptl/tls.h: Likewise.
24026 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
24028         [BZ #18823]
24029         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
24030         for scaling up small arguments.
24031         * math/s_csqrtf.c (__csqrtf): Likewise.
24032         * math/s_csqrtl.c (__csqrtl): Likewise.
24033         * math/auto-libm-test-in: Add more tests of csqrt.
24034         * math/auto-libm-test-out: Regenerated.
24036 2015-08-17  Andreas Schwab  <schwab@suse.de>
24038         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
24039         version set GLIBC_2.19.
24041 2015-08-16  Zack Weinberg  <zackw@panix.com>
24043         [BZ #18681]
24044         * misc/regexp.h: This interface is no longer supported.
24045         Remove all contents, leaving only an #error directive.
24046         * misc/regexp.c (loc1, loc2, locs, step, advance):
24047         Demote to compatibility symbols.
24049 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
24051         [BZ #18084]
24052         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
24053         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
24054         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24055         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
24056         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
24057         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
24058         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24059         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
24060         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24062 2015-08-15  Zack Weinberg  <zackw@panix.com>
24064         [BZ #18795]
24065         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
24066         buffer length is known to be too large, not if it's known to be
24067         small enough.
24068         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
24069         overflow at runtime, involving a length parameter, twice: once
24070         with a compile-time constant length parameter, once without.
24072 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
24074         [BZ #18824]
24075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
24076         scaling x * y up instead of down.
24077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24079         * math/auto-libm-test-in: Add more tests of fma.
24080         * math/auto-libm-test-out: Regenerated.
24082 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24086 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24088         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
24089         unnecessary movq.
24090         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
24091         Likewise.
24093 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24095         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24096         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
24097         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
24098         and tgamma.
24099         * math/auto-libm-test-out: Regenerated.
24100         * sysdeps/i386/fpu/libm-test-ulps: Update.
24101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24103         [BZ #16520]
24104         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
24105         (__tanh): Force underflow exception for arguments with small
24106         absolute value.
24107         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
24108         (__tanhf): Force underflow exception for arguments with small
24109         absolute value.
24110         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
24111         (__tanhl): Force underflow exception for arguments with small
24112         absolute value.
24113         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
24114         (__tanhl): Force underflow exception for arguments with small
24115         absolute value.
24116         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
24117         (__tanhl): Force underflow exception for arguments with small
24118         absolute value.
24119         * math/auto-libm-test-in: Add more tests of tanh.
24120         * math/auto-libm-test-out: Regenerated.
24121         * sysdeps/i386/fpu/libm-test-ulps: Update.
24123 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24125         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
24126         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
24128 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24130         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
24131         <cpuid.h>.
24133 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24135         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
24136         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
24138 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24140         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
24141         Remove $(objpfx)init-arch.o.
24142         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
24143         init-arch.
24144         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
24145         (INIT_ARCH_EXT): Defined as empty.
24146         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
24147         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
24148         __init_cpu_features call.  Replace HAS_XXX with
24149         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
24151         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
24152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
24153         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
24154         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24155         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
24156         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
24157         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
24159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
24160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
24162         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
24163         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24164         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
24165         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
24166         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
24169         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
24170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24171         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
24172         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
24173         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24174         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
24175         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
24176         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24177         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
24178         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
24179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
24181         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
24182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
24184         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
24186 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24188         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
24189         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24190         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24191         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
24192         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
24193         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
24194         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
24195         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
24196         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
24197         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
24198         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
24199         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
24200         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24201         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24202         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24203         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24204         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24205         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24206         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24207         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24208         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24209         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24210         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24211         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24212         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24213         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24214         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24215         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24216         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24217         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24218         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24219         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24220         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24222         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24223         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24224         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24225         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24226         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24227         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24228         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24229         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24230         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24232 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24234         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
24235         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24236         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24237         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24238         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24239         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
24240         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24241         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
24242         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
24243         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24244         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24245         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
24246         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
24247         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
24248         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
24249         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
24250         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
24251         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
24252         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
24253         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
24254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
24255         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
24256         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
24257         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24258         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24259         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
24260         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
24261         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
24262         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
24263         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24264         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24265         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24266         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24267         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24268         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24269         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24270         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24271         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24272         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24273         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24274         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24275         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24276         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24278 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
24280         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
24281         (dl_platform_init): Call init_cpu_features.
24282         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
24283         * sysdeps/i386/i686/cacheinfo.c
24284         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
24285         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
24286         * sysdeps/i386/i686/multiarch/Versions: Removed.
24287         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
24288         Removed.
24289         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
24290         * sysdeps/unix/sysv/linux/x86/Makefile
24291         (libpthread-sysdep_routines): Remove init-arch.
24292         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
24293         <sysdeps/x86_64/dl-procinfo.c> instead of
24294         sysdeps/generic/dl-procinfo.c>.
24295         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
24296         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
24297         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
24298         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
24299         [$(subdir) == elf] (tests-static): Add
24300         tst-get-cpu-features-static.
24301         * sysdeps/x86/Versions: New file.
24302         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
24303         * sysdeps/x86/cpu-features.c: Likewise.
24304         * sysdeps/x86/cpu-features.h: Likewise.
24305         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
24306         * sysdeps/x86/libc-start.c: Likewise.
24307         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
24308         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
24309         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
24310         * sysdeps/x86_64/dl-procinfo.c: Likewise.
24311         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
24312         Assume USE_MULTIARCH is defined and don't check it.
24313         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
24314         (is_amd): Likewise.
24315         (max_cpuid): Likewise.
24316         (intel_check_word): Likewise.
24317         (__cache_sysconf): Don't call __init_cpu_features.
24318         (__x86_preferred_memory_instruction): Removed.
24319         (init_cacheinfo): Don't call __init_cpu_features. Replace
24320         __cpu_features with GLRO(dl_x86_cpu_features).
24321         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
24322         (dl_platform_init): Call init_cpu_features.
24323         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
24324         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
24325         * sysdeps/x86_64/multiarch/Versions: Removed.
24326         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
24327         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
24328         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
24329         Removed.
24330         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
24332 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24334         [BZ #18820]
24335         * libio/Makefile (test-fmemopen-mem): New test.
24336         * libio/test-fmemopen.c (do_bz18820): New test.
24337         * libio/fmemopen.c (__fmemopen): Fix memory leak.
24338         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
24340 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
24342         [BZ #16734]
24343         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
24344         (FREE_BUF): Delete.
24345         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
24346         * libio/genops.c (_IO_setb): Use malloc and free directly.
24347         (_IO_default_doallocate, _IO_default_finish): Likewise.
24348         ( _IO_unbuffer_all): Likewise.
24349         ( libc_freeres_fn): Likewise.
24350         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24351         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
24352         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
24353         (_IO_wdefault_doallocate): Likewise.
24355 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24357         [BZ #18086]
24358         * sysdeps/posix/nice.c (nice): Restore old errno.
24359         * posix/tst-nice.c (do_test): Add test for BZ #18086.
24361 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
24363         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
24365 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24367         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
24368         __bcopy and add a weak_alias to bcopy.
24369         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
24370         for static build.
24372         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
24373         cleanup macro usage.
24374         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
24375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
24376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
24378         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24379         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
24380         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
24381         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24382         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24383         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
24384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24385         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
24386         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24387         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
24388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
24390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
24391         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
24392         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
24394         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
24395         libc_hidden_def.
24396         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
24398         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
24399         (sysdep_routines): Add strstr-ppc64.
24400         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
24402 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
24404         [BZ #18778]
24405         * elf/Makefile (tests): Add Add tst-nodelete2.
24406         (modules-names): Add tst-nodelete2mod.
24407         (tst-nodelete2mod.so-no-z-defs): New.
24408         ($(objpfx)tst-nodelete2): Likewise.
24409         ($(objpfx)tst-nodelete2.out): Likewise.
24410         (LDFLAGS-tst-nodelete2): Likewise.
24411         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
24412         out of loop through all loaded libraries.
24413         * elf/tst-nodelete2.c: New file.
24414         * elf/tst-nodelete2mod.c: Likewise.
24415         * elf/tst-znodelete-zlib.cc: Delete.
24417 2015-08-11  Andreas Schwab  <schwab@suse.de>
24419         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
24420         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
24421         (__openat64_nocancel): Likewise.
24423 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
24425         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
24426         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
24427         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
24428         * math/auto-libm-test-out: Regenerated.
24429         * sysdeps/i386/fpu/libm-test-ulps: Update.
24430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24432 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24434         [BZ #18790]
24435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
24436         threshold for returning +/- 1.
24437         * math/auto-libm-test-in: Add more tests of tanh.
24438         * math/auto-libm-test-out: Regenerated.
24439         * sysdeps/i386/fpu/libm-test-ulps: Update.
24441 2015-08-10  Andreas Schwab  <schwab@suse.de>
24443         [BZ #18781]
24444         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
24445         MORE_OFLAGS to oflag.
24446         * io/test-lfs.c (do_test): Test openat64.
24448 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
24450         [BZ #18789]
24451         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
24452         smaller threshold for returning the argument.
24453         * math/auto-libm-test-in: Add more tests of sinh.
24454         * math/auto-libm-test-out: Regenerated.
24455         * sysdeps/i386/fpu/libm-test-ulps: Update.
24457 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24459         [BZ #18674]
24460         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
24461         break.
24463 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
24465         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
24466         (generated): Don't add $(addprefix z.,$(tzfiles)).
24468 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24470         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
24471         * scripts/sysd-rules.awk: Likewise.
24473 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24475         * iconvdata/tst-tables.sh: Change echo -n to printf.
24476         * nss/db-Makefile: Likewise.
24477         * posix/tst-getconf.sh: Likewise.
24478         * stdio-common/tst-unbputc.sh: Likewise.
24480 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
24482         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
24483         MADV_*_PAGES defines behind this feature check.
24485 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
24487         [BZ #18480]
24488         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
24489         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
24490         Define.
24491         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
24492         LOAD_REGS_5, LOAD_REGS_6): Update.
24493         (INTERNAL_SYSCALL): Update using new LOAD defines.
24494         (INTERNAL_SYSCALL_NCS): Likewise.
24495         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
24497 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24499         [BZ #16734]
24500         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
24502 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24504         [BZ #17905]
24505         * catgets/Makefile (tst-catgets-mem): New test.
24506         * catgets/catgets.c (catopen): Don't use unbounded alloca.
24507         * catgets/open_catalog.c (__open_catalog): Likewise.
24508         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
24510 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
24512         [BZ #18787]
24513         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
24514         clobber registers.
24515         (atomic_compare_and_exchange_val_acq): Use register asms to assign
24516         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
24517         Cast return to __typeof (oldval).
24519 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
24521         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
24522         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
24523         and delete sys/syscall.h include.
24525 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
24527         [BZ #16517]
24528         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
24529         (tan): Force underflow exception for arguments with small absolute
24530         value.
24531         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
24532         (__kernel_tanf): Force underflow exception for arguments with
24533         small absolute value.
24534         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
24535         (__kernel_tanl): Force underflow exception for arguments with
24536         small absolute value.
24537         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
24538         (__kernel_tanl): Force underflow exception for arguments with
24539         small absolute value.
24540         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
24541         (__kernel_tanl): Force underflow exception for arguments with
24542         small absolute value.
24543         * math/auto-libm-test-in: Add more tests of tan.
24544         * math/auto-libm-test-out: Regenerated.
24546 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24548         Fix sysdeps/i386/fpu/s_scalbn.S build
24550         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
24552 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
24554         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24556 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24558         Fix gcrt0.o compilation
24560         When static-start-installed-name is different from
24561         start-installed-name, we must not use the shared objects.
24563         * csu/Makefile
24564         (extra-objs): Add gmon-start.o when building shared library and
24565         $(static-start-installed-name) is different from
24566         $(start-installed-name).
24567         $(objpfx)g$(static-start-installed-name): When building shared
24568         library and $(static-start-installed-name) is different from
24569         $(static-start-installed-name), revert to non-shared rule,
24570         i.e. using $(objpfx)% and gmon-start.o.
24572 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
24574         [BZ #16519]
24575         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
24576         (__ieee754_sinh): Force underflow exception for arguments with
24577         small absolute value.
24578         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
24579         (__ieee754_sinhf): Force underflow exception for arguments with
24580         small absolute value.
24581         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
24582         (__ieee754_sinhl): Force underflow exception for arguments with
24583         small absolute value.
24584         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
24585         (__ieee754_sinhl): Force underflow exception for arguments with
24586         small absolute value.
24587         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
24588         (__ieee754_sinhl): Force underflow exception for arguments with
24589         small absolute value.
24590         * math/auto-libm-test-in: Add more tests of sinh.
24591         * math/auto-libm-test-out: Regenerated.
24592         * sysdeps/i386/fpu/libm-test-ulps: Update.
24594 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24596         * libio/oldfileops.c: Include unistd.h.
24598 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
24600         * stdlib/isomac.c: Include ctype.h.
24602 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
24604         * dirent/tst-seekdir.c (main): Converted to ...
24605         (do_test): ... this.
24606         (TEST_FUNCTION): New macro.
24607         Include test-skeleton.c.
24608         * elf/tst-dlmodcount.c (main): Converted to ...
24609         (do_test): ... this.
24610         (TEST_FUNCTION): New macro.
24611         Include test-skeleton.c.
24612         * elf/tst-order-main.c (main): Converted to ...
24613         (do_test): ... this.
24614         (TEST_FUNCTION): New macro.
24615         Include test-skeleton.c.
24616         * elf/tst-pie2.c (main): Converted to ...
24617         (do_test): ... this.
24618         (TEST_FUNCTION): New macro.
24619         Include test-skeleton.c.
24620         * inet/tst-ether_aton.c (main): Converted to ...
24621         (do_test): ... this.
24622         (TEST_FUNCTION): New macro.
24623         Include test-skeleton.c.
24624         * misc/tst-mntent.c (main): Converted to ...
24625         (do_test): ... this.
24626         (TEST_FUNCTION): New macro.
24627         Include test-skeleton.c.
24628         * misc/tst-tsearch.c (main): Converted to ...
24629         (do_test): ... this.
24630         (TEST_FUNCTION): New macro.
24631         Include test-skeleton.c.
24632         * posix/tst-regexloc.c (main): Converted to ...
24633         (do_test): ... this.
24634         (TEST_FUNCTION): New macro.
24635         Include test-skeleton.c.
24636         * resolv/tst-aton.c (main): Converted to ...
24637         (do_test): ... this.
24638         (TEST_FUNCTION): New macro.
24639         Include test-skeleton.c.
24640         * stdio-common/test-fwrite.c (main): Converted to ...
24641         (do_test): ... this.
24642         (TEST_FUNCTION): New macro.
24643         Include test-skeleton.c.
24644         * stdio-common/tst-ferror.c (main): Converted to ...
24645         (do_test): ... this.
24646         (TEST_FUNCTION): New macro.
24647         Include test-skeleton.c.
24648         * stdio-common/tst-printf.c (main): Converted to ...
24649         (do_test): ... this.
24650         (TEST_FUNCTION): New macro.
24651         Include test-skeleton.c.
24652         * stdio-common/tst-printfsz.c (main): Converted to ...
24653         (do_test): ... this.
24654         (TEST_FUNCTION): New macro.
24655         Include test-skeleton.c.
24656         * stdlib/tst-strtod.c (main): Converted to ...
24657         (do_test): ... this.
24658         (TEST_FUNCTION): New macro.
24659         Include test-skeleton.c.
24660         * string/tst-strlen.c (main): Converted to ...
24661         (do_test): ... this.
24662         (TEST_FUNCTION): New macro.
24663         Include test-skeleton.c.
24664         * string/tst-svc.c (main): Converted to ...
24665         (do_test): ... this.
24666         (TEST_FUNCTION): New macro.
24667         Include test-skeleton.c.
24668         * time/tst-strptime.c (main): Converted to ...
24669         (do_test): ... this.
24670         (TEST_FUNCTION): New macro.
24671         Include test-skeleton.c.
24672         * timezone/tst-timezone.c (main): Converted to ...
24673         (do_test): ... this.
24674         (TEST_FUNCTION): New macro.
24675         Include test-skeleton.c.
24677 2015-08-05  Zack Weinberg  <zackw@panix.com>
24679         * misc/regexp.h: Update comments.
24681 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
24683         [BZ #18635]
24684         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
24685         before return label.
24687 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24689         [BZ #18661]
24690         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
24691         when calling __errno_location.
24692         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
24693         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
24695 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24697         [BZ #18661]
24698         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
24699         (__lll_timedwait_tid): Align stack to 16 bytes when calling
24700         __gettimeofday.
24702 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24704         [BZ #18661]
24705         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24706         (__start_context): Don't use pop to restore %rdi so that stack
24707         is aligned to 16 bytes when calling __setcontext.
24709 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24711         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
24712         only for libc.
24713         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24715 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24717         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
24718         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
24719         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
24721 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24723         * string/memccpy.c (memccpy):
24724         Improve performance by using memchr/memcpy/__mempcpy.
24726 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24728         * string/strncpy.c (strncpy):
24729         Improve performance by using __strnlen/memcpy.
24731 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24733         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24734         Optimize to avoid an unnecessary FPCR read.
24736 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
24738         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24739         Optimize to reduce FPCR/FPSR accesses.
24741 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
24743         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
24744         dead->data[category] != NULL.
24746 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
24748         [BZ #18647]
24749         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
24750         and |x| close to 1, use absolute value of x when computing log.
24751         * math/auto-libm-test-in: Add more tests of pow.
24752         * math/auto-libm-test-out: Regenerated.
24754 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24756         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
24757         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
24758         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
24760 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
24762         [BZ #18525]
24763         * locales/km_KH: Remove timezone definition.
24764         * locales/lo_LA: Likewise.
24765         * locales/my_MM: Likewise.
24766         * locales/nan_TW@latin: Likewise.
24767         * locales/th_TH: Likewise.
24768         * locales/uk_UA: Likewise.
24770 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24772         [BZ #18265]
24773         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
24774         (wcsncat): Likewise.
24775         (wcscmp): Likewise.
24776         (wcsncmp): Likewise.
24778 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24780         * test-skeleton.c (usage): New function.
24781         (main): Call usage when opt is '?'.
24783 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24785         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
24786         before first use.
24788 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
24790         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
24791         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
24792         in there too.
24794 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
24796         * version.h (RELEASE): Set to "development".
24797         (VERSION): Set to "2.22.90"
24799         * version.h (RELEASE): Set to "stable".
24800         (VERSION): Set to "2.22"
24801         * include/features.h (__GLIBC_MINOR__): Set to 22.
24803 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
24805         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
24806         Restructure macro to avoid "value computed is not used" warning.
24807         (atomic_compare_and_exchange_val_acq): Likewise.
24809 2015-08-04  Andreas Schwab  <schwab@suse.de>
24811         [BZ #18635]
24812         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
24813         ret.
24814         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
24816 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
24818         * po/pl.po: Updated translation.
24819         * po/uk.po: Likewise.
24820         * po/fi.po: Likewise.
24821         * po/ko.po: Likewise.
24822         * po/ru.po: Likewise.
24823         * po/vi.po: Likewise.
24825 2015-07-31  Zack Weinberg  <zackw@panix.com>
24827         [BZ #18681]
24828         * regexp.h: Add unconditional #warning stating that this header
24829         will be removed soon.  Revise banner comment to match.
24830         (compile): Consistently use ERROR instead of RETURN to report
24831         errors (partial fix for bz#18681).
24832         * regexp.c: Don't include regexp.h. Remove some unnecessary
24833         declarations.
24835 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
24837         * po/libc.pot: Regenerated.
24839 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24841         [BZ #18740]
24842         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
24843         float-vlen4-arch-ext-cflags): Removed.
24844         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
24845         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
24847 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24849         [BZ #14113]
24850         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
24851         aligned to __aligned__.
24852         (pthread_cond_t, pthread_rwlock_t): Likewise.
24854 2015-07-30  Torvald Riegel  <triegel@redhat.com>
24856         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
24858 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24860         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
24861         (struct sigaction): Change sa_flags from a long to an int, and add
24862         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
24864 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24866         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
24867         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
24868         sysdeps/generic/sysdep.h include.
24869         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
24870         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
24871         sysdeps/hppa/sysdep.h.
24872         (ENTRY, PSEUDO): Undefine before defining.
24874 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
24876         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
24877         from scratch to use INTERNAL_SYSCALL.
24879 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
24881         [BZ #18078]
24882         * scripts/check-localplt.awk: Support alternate relocations.
24883         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
24884         sections.
24885         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
24886         malloc entries with + REL R_386_GLOB_DAT.
24887         * sysdeps/x86_64/localplt.data: New file.
24889 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
24891         [BZ #18731]
24892         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
24893         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24894         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24896 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24898         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
24900 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24902         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
24903         directly in terms of __sync_fetch_and_add and delete (int) cast.
24905 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24907         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
24908         the -D_ASM_IA64_CURRENT_H flag.
24910 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
24912         [BZ #18641]
24913         * pwd/pwd.h (putpwent): Delete __nonnull markings.
24915 2015-07-27  Andreas Schwab  <schwab@suse.de>
24917         * conform/conformtest.pl (checknamespace): Filter out string
24918         literals while tokenizing.
24920 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24922         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24923         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
24924         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24926 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
24928         * nptl/tst-join7mod.c: Add #include <string.h>.
24930 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24932         * sysdeps/nios2/libm-test-ulps: Update.
24934 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
24936         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
24937         Fix order of arguments to the rt_sigprocmask syscall.
24938         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
24939         Likewise.
24941 2015-07-24  Roland McGrath  <roland@hack.frob.com>
24943         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
24945 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24947         [BZ #18457]
24948         * nptl/Makefile (tests): New test case tst-join7.
24949         (modules-names): New test case module tst-join7mod.
24950         * nptl/tst-join7.c: New file.
24951         * nptl/tst-join7mod.c: New file.
24952         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
24953         all translation units in libc.so, libpthread.so and rtld.
24955 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24959 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
24962         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
24963         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
24964         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
24965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
24966         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
24967         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
24968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
24969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
24970         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
24971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
24972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
24973         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
24974         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
24975         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
24976         implementation.
24978 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24980         [BZ #17711]
24981         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24982         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
24983         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24984         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24985         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
24986         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
24988 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24990         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
24991         instead of just saying load lock in the comments.
24993 2015-07-23  Roland McGrath  <roland@hack.frob.com>
24995         * sysdeps/unix/Subdirs: Moved ...
24996         * sysdeps/posix/Subdirs: ... here.
24997         * login/pty.h (struct termios, struct winsize): Add forward decls.
24998         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
24999         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
25000         * sysdeps/arm/nacl/libc.abilist: Updated.
25001         * sysdeps/nacl/libutil.abilist: New file.
25003         * bits/signum.h: Update comments to mention 1003.1-2013 too.
25004         (SIGWINCH): New macro.
25006         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
25007         * sysdeps/arm/nacl/libc.abilist: Add it.
25009 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25011         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
25013 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
25015         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25016         Swap __glibc_reserved0 and sa_flags order.
25018 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25020         [BZ #18657]
25021         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
25022         are pending TLS destructor calls.
25023         * include/link.h (struct link_map): Add concurrency note for
25024         L_TLS_DTOR_COUNT.
25025         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25026         Don't touch the link map flag.  Atomically increment
25027         l_tls_dtor_count.
25028         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
25029         Avoid taking the load lock and don't touch the link map flag.
25030         * stdlib/tst-tls-atexit-nodelete.c: New test case.
25031         * stdlib/Makefile (tests): Use it.
25032         * stdlib/tst-tls-atexit.c (do_test): dlopen
25033         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
25034         to allow tst-tls-atexit-nodelete test case to use it.
25036 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25038         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
25039         to bits/types.h.
25040         (msgqnum_t): New typedef.
25041         (msglen_t): Likewise.
25042         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
25043         and msg_qbytes type to msglen_t.
25045 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25047         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
25048         pad0 to __glibc_reserved0.
25049         (struct stat64): Likewise.
25051 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25053         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
25054         Change sa_flags from a long to an int and add __glibc_reserved0 before
25055         it for padding.
25057 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
25059         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25060         anonymous by deleting "siginfo" name.
25062 2015-07-21  Roland McGrath  <roland@hack.frob.com>
25064         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
25065         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
25066         rather than __nacl_irt_filename.
25067         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25069         * NEWS: New item for arm-nacl port.
25070         * sysdeps/arm/nacl/libc.abilist: New file.
25071         * sysdeps/nacl/ld.abilist: New file.
25072         * sysdeps/nacl/libBrokenLocale.abilist: New file.
25073         * sysdeps/nacl/libanl.abilist: New file.
25074         * sysdeps/nacl/libcrypt.abilist: New file.
25075         * sysdeps/nacl/libdl.abilist: New file.
25076         * sysdeps/nacl/libm.abilist: New file.
25077         * sysdeps/nacl/libpthread.abilist: New file.
25078         * sysdeps/nacl/libresolv.abilist: New file.
25079         * sysdeps/nacl/librt.abilist: New file.
25081 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
25083         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
25084         __startcontext to initialize the new context.
25085         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
25086         up CFI directive to forbid further backtracing.
25088 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
25090         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
25091         reference.
25092         * charmaps/ANSI_X3.4-1968: Likewise.
25093         * charmaps/BS_4730: Likewise.
25094         * charmaps/BS_VIEWDATA: Likewise.
25095         * charmaps/CP1250: Likewise.
25096         * charmaps/CP1251: Likewise.
25097         * charmaps/CP1252: Likewise.
25098         * charmaps/CP1253: Likewise.
25099         * charmaps/CP1254: Likewise.
25100         * charmaps/CP1255: Likewise.
25101         * charmaps/CP1256: Likewise.
25102         * charmaps/CSN_369103: Likewise.
25103         * charmaps/EBCDIC-DK-NO: Likewise.
25104         * charmaps/GB_1988-80: Likewise.
25105         * charmaps/GREEK-CCITT: Likewise.
25106         * charmaps/GREEK7: Likewise.
25107         * charmaps/INIS-8: Likewise.
25108         * charmaps/ISIRI-3342: Likewise.
25109         * charmaps/ISO_2033-1983: Likewise.
25110         * charmaps/ISO_5427-EXT: Likewise.
25111         * locales/POSIX: Likewise.
25112         * locales/ar_SA: Likewise.
25113         * locales/be_BY: Likewise.
25114         * locales/be_BY@latin: Likewise.
25115         * locales/ca_ES: Likewise.
25116         * locales/cs_CZ: Likewise.
25117         * locales/da_DK: Likewise.
25118         * locales/de_BE: Likewise.
25119         * locales/de_CH: Likewise.
25120         * locales/de_LU: Likewise.
25121         * locales/en_AU: Likewise.
25122         * locales/en_BW: Likewise.
25123         * locales/en_CA: Likewise.
25124         * locales/en_DK: Likewise.
25125         * locales/en_GB: Likewise.
25126         * locales/en_IE: Likewise.
25127         * locales/en_NZ: Likewise.
25128         * locales/en_ZA: Likewise.
25129         * locales/en_ZW: Likewise.
25130         * locales/es_AR: Likewise.
25131         * locales/es_BO: Likewise.
25132         * locales/es_CL: Likewise.
25133         * locales/es_CO: Likewise.
25134         * locales/es_DO: Likewise.
25135         * locales/es_EC: Likewise.
25136         * locales/es_ES: Likewise.
25137         * locales/es_HN: Likewise.
25138         * locales/es_MX: Likewise.
25139         * locales/es_PA: Likewise.
25140         * locales/es_PE: Likewise.
25141         * locales/es_PY: Likewise.
25142         * locales/es_SV: Likewise.
25143         * locales/es_US: Likewise.
25144         * locales/es_UY: Likewise.
25145         * locales/es_VE: Likewise.
25146         * locales/et_EE: Likewise.
25147         * locales/fa_IR: Likewise.
25148         * locales/fo_FO: Likewise.
25149         * locales/fr_CA: Likewise.
25150         * locales/fr_CH: Likewise.
25151         * locales/gv_GB: Likewise.
25152         * locales/he_IL: Likewise.
25153         * locales/hr_HR: Likewise.
25154         * locales/id_ID: Likewise.
25155         * locales/is_IS: Likewise.
25156         * locales/it_CH: Likewise.
25157         * locales/iw_IL: Likewise.
25158         * locales/kl_GL: Likewise.
25159         * locales/ko_KR: Likewise.
25160         * locales/kw_GB: Likewise.
25161         * locales/lg_UG: Likewise.
25162         * locales/lt_LT: Likewise.
25163         * locales/lv_LV: Likewise.
25164         * locales/mi_NZ: Likewise.
25165         * locales/nhn_MX: Likewise.
25166         * locales/nl_BE: Likewise.
25167         * locales/pl_PL: Likewise.
25168         * locales/sk_SK: Likewise.
25169         * locales/sl_SI: Likewise.
25170         * locales/sv_FI: Likewise.
25171         * locales/tl_PH: Likewise.
25172         * locales/tr_TR: Likewise.
25173         * locales/vi_VN: Likewise.
25175 2015-07-21  Khem Raj  <raj.khem@gmail.com>
25177         [BZ #17475]
25178         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
25179         of tu_IN and bh_IN.
25181 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
25183         [BZ #18694]
25184         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
25185         bits/wordsize.h.
25186         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
25188 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25190         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
25191         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
25192         (spawn_thread): New function.
25193         (load): Rename to reg_dtor_and_close.  Move dlopen to...
25194         (do_test): ... here.  Use IS_LOADED to test for its
25195         availability.
25197 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
25199         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25201 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
25203         [BZ #18696]
25204         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
25205         si_addr_bnd.
25206         (si_lower): New.
25207         (si_upper): Likewise.
25209 2015-07-16  David S. Miller  <davem@davemloft.net>
25211         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
25213 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25215         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
25216         buffer.
25217         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
25218         fail output information.
25220 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
25223         and strstr-ppc64..
25224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25225         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
25226         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
25227         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
25228         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
25230 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25232         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25233         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25234         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
25235         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25237 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
25239         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25240         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
25241         rtld_hidden_proto.
25242         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
25244 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25246         * tst-nodelete-opened.c (do_test): Add comment to clarify how
25247         the test can fail.
25249         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
25251         [BZ #18676]
25252         * elf/tst-nodelete-opened.c: New test case.
25253         * elf/tst-nodelete-opened-lib.c: New test case module.
25254         * elf/Makefile (tests, modules-names): Use them.
25255         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
25256         early.
25258 2015-07-15  David S. Miller  <davem@davemloft.net>
25260         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
25261         futex-intenal.h
25262         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
25263         * sysdeps/sparc/sparc64/Makefile: Likewise.
25264         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25265         Remove space from macro define.
25266         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
25268 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
25270         [BZ #17475]
25271         * locale/iso-639.def: Update Bhili and Tulu language codes as
25272         per iso639-3.
25274 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
25276         * elf/tst-leaks1.c (main): Converted to ...
25277         (do_test): ... this.
25278         (TEST_FUNCTION): New macro.
25279         Include test-skeleton.c.
25280         * localedata/tst-langinfo.c (main): Converted to ...
25281         (do_test): ... this.
25282         (TEST_FUNCTION): New macro.
25283         Include test-skeleton.c.
25284         * math/test-fpucw.c (main): Converted to ...
25285         (do_test): ... this.
25286         (TEST_FUNCTION): New macro.
25287         Include test-skeleton.c.
25288         * math/test-tgmath.c (main): Converted to ...
25289         (do_test): ... this.
25290         (TEST_FUNCTION): New macro.
25291         Include test-skeleton.c.
25292         * math/test-tgmath2.c (main): Converted to ...
25293         (do_test): ... this.
25294         (TEST_FUNCTION): New macro.
25295         Include test-skeleton.c.
25296         * setjmp/tst-setjmp.c (main): Converted to ...
25297         (do_test): ... this.
25298         (TEST_FUNCTION): New macro.
25299         Include test-skeleton.c.
25300         * stdio-common/tst-sscanf.c (main): Converted to ...
25301         (do_test): ... this.
25302         (TEST_FUNCTION): New macro.
25303         Include test-skeleton.c.
25304         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
25305         (do_test): ... this.
25306         (TEST_FUNCTION): New macro.
25307         Include test-skeleton.c.
25309         * elf/tst-audit9.c (main): Converted to ...
25310         (do_test): ... this.
25311         (TEST_FUNCTION): New macro.
25312         Include test-skeleton.c.
25314 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
25316         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
25318 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25320         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
25321         New variable.
25323 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
25325         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25327 2015-07-14  Roland McGrath  <roland@hack.frob.com>
25329         * sysdeps/generic/dl-fileid.h: New file.
25330         * sysdeps/posix/dl-fileid.h: New file.
25331         * sysdeps/nacl/dl-fileid.h: New file.
25332         * include/link.h: Include <dl-fileid.h>.
25333         (struct link_map): Replace l_dev and l_ino with l_file_id.
25334         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
25335         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
25336         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
25338 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25340         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
25342 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25344         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
25345         Add iff $CXX is set.
25346         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
25347         Likewise.
25348         (tst-nodelete-zmodiff): Likewise.
25349         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
25351 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25353         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
25355 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25357         * sysdeps/aarch64/fpu/math_private.h
25358         (define math_opt_barrier): Add AArch64 version.
25359         (math_force_eval): Likewise.
25361 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
25363         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
25365 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
25367         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
25368         %ld with %jd and cast to intmax_t.
25369         (do_test_length_zero): Likewise.
25371 2015-07-10  Roland McGrath  <roland@hack.frob.com>
25373         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
25375 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
25377         * sysdeps/tile/libm-test-ulps: Regenerated.
25379         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
25380         Comment out the whole function, not just its body.
25382 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25384         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
25385         locks.
25387         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
25389 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25391         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
25392         (sem_assume_only_signals_cause_futex_EINTR): Remove.
25394 2015-07-10  Torvald Riegel  <triegel@redhat.com>
25396         * sysdeps/nptl/futex-internal.h: New file.
25397         * sysdeps/nacl/futex-internal.h: New file.
25398         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
25399         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
25400         error checking.
25401         (setxid_unmark_thread): Likewise.
25402         (__nptl_setxid): Likewise.
25403         (__wait_lookup_done): Likewise.
25404         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
25405         * nptl/nptl-init.c (sighandler_setxid): Likewise.
25406         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25407         * nptl/pthread_once.c (clear_once_control): Likewise.
25408         (__pthread_once_slow): Likewise.
25409         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25410         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
25411         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
25412         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25413         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
25414         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
25415         Likewise.
25416         (__pthread_rwlock_rdlock): Likewise.
25417         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25418         Likewise.
25419         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25420         Likewise.
25421         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25422         Likewise.
25423         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
25424         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
25425         Likewise.
25426         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
25427         __ASSUME_PRIVATE_FUTEX check.
25428         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
25429         Check that shared futexes are supported.
25430         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
25431         wrappers with error checking.
25432         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
25433         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
25434         * nptl/pthread_barrierattr_setpshared.c
25435         (pthread_barrierattr_setpshared): Check that shared futexes are
25436         supported.
25437         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
25438         Likewise.
25439         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
25440         Likewise.
25441         * nptl/sem_init.c (futex_private_if_supported): Remove.
25442         (__new_sem_init): Adapt and check that shared futexes are supported.
25443         * nptl/sem_open.c (sem_open): Likewise.
25444         * nptl/sem_post.c (futex_wake): Remove.
25445         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
25446         (do_futex_wait): Use futex wrappers with error checking.
25447         * nptl/sem_wait.c: Include lowlevellock.h.
25448         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
25449         Use futex_supports_pshared.
25450         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
25451         Use futex wrappers with error checking.
25452         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
25453         Likewise.
25454         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
25455         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
25456         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
25457         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
25458         (futex_wake): Likewise.
25459         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
25460         (do_futex_wait): Use futex wrappers with error checking.
25461         (__new_sem_wait_slow): Update EINTR handling.
25462         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
25464 2015-07-09  Martin Sebor  <msebor@redhat.com>
25466         [BZ #18435]
25467         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25468         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
25469         * nptl/Makefile (test-xfail-tst-once5): Define.
25471 2015-07-09  Roland McGrath  <roland@hack.frob.com>
25473         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
25474         * elf/dl-minimal.c: For readability, reorder some definitions and
25475         introduce more page breaks.  Include <stdio.h>.
25476         (__libc_fatal): New function.
25478         * include/unistd.h: Add rtld_hidden_proto for _exit.
25479         * posix/_exit.c: Add rtld_hidden_def.
25480         * sysdeps/mach/hurd/_exit.c: Likewise.
25481         * sysdeps/nacl/_exit.c: Likewise.
25482         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
25483         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
25485 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
25487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
25488         bndmov encoding with zero displacement.
25490 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25491             H.J. Lu  <hongjiu.lu@intel.com>
25493         [BZ #18134]
25494         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
25495         * sysdeps/i386/configure: Regenerated.
25496         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25497         (_dl_runtime_profile): Save and restore Intel MPX return bound
25498         registers when calling _dl_call_pltexit.  Add
25499         PRESERVE_BND_REGS_PREFIX before return.
25500         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
25501         (LRV_BND1_OFFSET): Likewise.
25502         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
25503         lrv_bnd1.
25504         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
25505         typo in bndmov encoding.
25506         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
25507         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
25508         branch instructions to preserve bounds.
25510 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
25513         [GLIBC_2.22]: Add fmemopen.
25515 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25517         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
25518         returns an error, also try to use host port from __mach_host_self for
25519         the __vm_wire call.
25520         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
25522 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25524         [BZ #18400]
25525         [BZ #18648]
25526         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
25527         Fix pr_uid and pr_gid members.
25528         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
25529         definition to elf_greg_t.
25531 2015-07-08  Roland McGrath  <roland@hack.frob.com>
25533         [BZ #18383]
25534         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
25535         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
25536         * sysdeps/arm/configure: Regenerated.
25537         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
25538         (test-xfail-tst-tlsalign-static): Variable removed.
25540         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
25541         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
25542         rather than explicit 'ln -s'.
25544         * resolv/rpc/netdb.h: New file.
25545         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
25547 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25549         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
25550         length buffers.
25551         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25552         test-skeleton.c.
25554         [BZ #6544]
25555         [BZ #11216]
25556         [BZ #12836]
25557         [BZ #13151]
25558         [BZ #13152]
25559         [BZ #14292]
25560         * include/stdio.h (fmemopen): Remove hidden prototype.
25561         (__fmemopen): Add new hidden prototype.
25562         * libio/Makefile: Add oldfmemopen object.
25563         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
25564         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
25565         compliance.
25566         * libio/oldfmemopen.c: New file: old fmemopen implementation for
25567         symbol compatibility.
25568         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
25569         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
25570         fmemopen.
25571         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
25572         on append and read mode.
25573         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
25574         fmemopen.
25575         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
25576         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
25577         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
25578         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
25579         Likewise.
25580         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
25581         [GLIBC_2.22]: Likewise.
25582         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
25583         Likewise.
25584         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
25585         Likewise.
25586         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
25587         [GLIBC_2.22]: Likewise.
25588         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
25589         [GLIBC_2.22]: Likewise.
25590         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
25591         [GLIBC_2.22]: Likewise.
25592         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
25593         [GLIBC_2.22]: Likewise.
25594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
25595         [GLIBC_2.22]: Likewise.
25596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
25597         [GLIBC_2.22]: Likewise.
25598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
25599         [GLIBC_2.22]: Likewise.
25600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
25601         Likewise.
25602         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
25603         Likewise.
25604         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
25605         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
25606         [GLIBC_2.22]: Likewise.
25607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
25608         [GLIBC_2.22]: Likewise.
25609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
25610         [GLIBC_2.22]: Likewise.
25611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
25612         [GLIBC_2.22]: Likewise.
25613         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
25614         Likewise.
25615         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
25616         Likewise.
25617         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
25618         Likewise.
25619         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
25620         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
25622 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25624         [BZ #18643]
25625         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
25626         IPV6_PATHMTU, and IPV6_DONTFRAG.
25628 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
25630         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
25631         and _IO_UNBUFFERED.
25632         * libio/oldfileops.c: Likewise.
25633         * libio/wfileops.c: Likewise.
25635 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25637         * nscd/selinux.c: Delete selinux/flask.h include.
25639 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
25641         [BZ #18641]
25642         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
25643         (putpwent): Likewise.
25644         (getpwnam): Likewise.
25645         (getpwent_r): Likewise.
25646         (getpwuid_r): Likewise.
25647         (getpwnam_r): Likewise.
25648         (fgetpwent_r): Likewise.
25650 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
25652         [BZ #18557]
25653         * inet/rcmd.c (__validuser2_sa): Check user first to
25654         short-circuit host check.
25656 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
25657             Mikhail Ilin  <m.ilin@samsung.com>
25659         [BZ #17833]
25660         * elf/Makefile (tests): Add tst-nodelete.
25661         (modules-names): Add tst-nodelete-uniquemod.
25662         (tst-nodelete-uniquemod.so-no-z-defs): New.
25663         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
25664         (tst-nodelete-zmod.so-no-z-defs): Likewise.
25665         ($(objpfx)tst-nodelete): Likewise.
25666         ($(objpfx)tst-nodelete.out): Likewise.
25667         (LDFLAGS-tst-nodelete): Likewise.
25668         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
25669         * elf/dl-close.c (_dl_close_worker): Add a parameter to
25670         implement forced object deletion.
25671         (_dl_close): Pass false to _dl_close_worker.
25672         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
25673         * elf/tst-nodelete.cc: New file.
25674         * elf/tst-nodeletelib.cc: Likewise.
25675         * elf/tst-znodeletelib.cc: Likewise.
25676         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
25678 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25680         [BZ #18508]
25681         * stdlib/Makefile ($(objpfx)tst-makecontext3):
25682         Depend on $(libdl).
25683         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
25684         is not called infinitely times.
25685         (backtrace_helper): New function.
25686         (trace_arg): New struct.
25687         (st1): Enlarge stack size.
25688         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25689         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
25690         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25691         Likewise.
25693 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25695         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25697 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
25699         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
25700         Include sys/types.h instead of bits/types.h.
25701         Remove inclusion of bits/wordsize.h.
25703 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25705         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
25706         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
25707         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
25708         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
25709         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
25710         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
25712 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25714         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
25715         link-defines.sym.
25716         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
25717         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
25718         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
25719         and LR_SIZE.
25720         * sysdeps/i386/link-defines.sym: New file.
25722 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
25724         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
25725         (modules-names): Add tst-auditmod3a tst-auditmod3b.
25726         ($(objpfx)tst-audit3): New rule.
25727         ($(objpfx)tst-audit3.out): Likewise.
25728         * sysdeps/i386/tst-audit3.c: New file.
25729         * sysdeps/i386/tst-audit3.h: Likewise.
25730         * sysdeps/i386/tst-auditmod3a.c: Likewise.
25731         * sysdeps/i386/tst-auditmod3b.c: Likewise.
25733 2015-07-07  Torvald Riegel  <triegel@redhat.com>
25735         [BZ #18633]
25736         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
25737         pointer in C code.
25738         (__strcat_c): Likewise.
25739         (__strcat_g): Likewise.
25741 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
25743         [BZ #18592]
25744         * misc/sbrk.c: Set errno to ENOMEM on overflow.
25746 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25748         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
25749         New function.  (__ieee754_sqrtf): New function.
25750         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
25751         New function.
25752         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
25753         New function.
25755 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
25757         * sysdeps/ieee754/support.c: Remove unused file.
25759 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25761         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
25762         registers instead of d ones so the layout is kernel abi compatible.
25763         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
25764         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
25765         Likewise.
25767 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25769         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25771 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25773         [BZ #18619]
25774         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
25775         and return argument in case of subnormal argument.
25777 2015-07-01  Martin Sebor  <msebor@redhat.com>
25779         [BZ #18435]
25780         * nptl/Makefile: Add tst-once5.cc.
25781         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
25782         Remove macro redefinitions.
25783         * nptl/tst-once5.cc: New test.
25785 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
25787         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25789         * sysdeps/arm/libm-test-ulps: Regenerated.
25791         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25792         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25794 2015-06-30  Torvald Riegel  <triegel@redhat.com>
25796         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
25797         lll_lock_wait_private and lll_futex_wake probes.
25799         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25800         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
25801         Likewise.
25802         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
25803         atomic_spin_nop.
25804         * sysdeps/x86_64/bits/atomic.h: Likewise.
25805         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
25806         to atomic_spin_nop and move ...
25807         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
25808         ... here and ...
25809         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
25810         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
25811         atomic_spin_nop instead of BUSY_WAIT_NOP.
25812         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
25813         Likewise.
25814         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
25815         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
25816         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
25817         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
25818         instead of atomic_delay.
25820 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
25822         [BZ #18613]
25823         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
25824         X_ADJ not X when adjusting exponent.
25825         (__ieee754_gamma_r): Do intermediate computations in
25826         round-to-nearest then adjust overflowing and underflowing results
25827         as needed.
25828         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
25829         of X_ADJ not X when adjusting exponent.
25830         (__ieee754_gammaf_r): Do intermediate computations in
25831         round-to-nearest then adjust overflowing and underflowing results
25832         as needed.
25833         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
25834         log of X_ADJ not X when adjusting exponent.
25835         (__ieee754_gammal_r): Do intermediate computations in
25836         round-to-nearest then adjust overflowing and underflowing results
25837         as needed.  Use 1.0L not 1.0f as numerator of division.
25838         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
25839         log of X_ADJ not X when adjusting exponent.
25840         (__ieee754_gammal_r): Do intermediate computations in
25841         round-to-nearest then adjust overflowing and underflowing results
25842         as needed.  Use 1.0L not 1.0f as numerator of division.
25843         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
25844         of X_ADJ not X when adjusting exponent.
25845         (__ieee754_gammal_r): Do intermediate computations in
25846         round-to-nearest then adjust overflowing and underflowing results
25847         as needed.  Use 1.0L not 1.0f as numerator of division.
25848         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
25849         to auto-libm-test-in.
25850         (tgamma_test): Use ALL_RM_TEST.
25851         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
25852         tests of tgamma with spurious-overflow.
25853         * math/auto-libm-test-out: Regenerated.
25854         * math/gen-libm-have-vector-test.sh: Do not check for START.
25855         * sysdeps/i386/fpu/libm-test-ulps: Update.
25856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25858         [BZ #18612]
25859         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
25860         arguments, just return 0.5 times the argument, with underflow
25861         forced as needed.
25862         * math/auto-libm-test-in: Add more tests of j1.
25863         * math/auto-libm-test-out: Regenerated.
25865         [BZ #16559]
25866         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
25867         (__ieee754_j1): Force underflow exception for small results.
25868         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25869         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
25870         (__ieee754_j1f): Force underflow exception for small results.
25871         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25872         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25874         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
25875         (__ieee754_j1l): Force underflow exception for small results.
25876         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25877         * math/auto-libm-test-in: Add more tests of j1 and jn.
25878         * math/auto-libm-test-out: Regenerated.
25880         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
25881         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
25882         (PF_MPLS): Likewise.
25883         (AF_IB): Likewise.
25884         (AF_MPLS): Likewise.
25885         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
25886         value and macro.
25887         (MS_RMT_MASK): Include MS_LAZYTIME.
25889 2015-06-26  Mel Gorman  <mgorman@suse.de>
25891         [BZ #18502]
25892         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
25893         already minimal.
25895 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
25897         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
25898         (DT_MIPS_NUM): Update.
25899         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
25900         DT_MIPS_RLD_MAP_REL.
25902 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
25904         [BZ #16559]
25905         [BZ #18602]
25906         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
25907         round-to-nearest internally then recompute results that
25908         underflowed to zero in the original rounding mode.
25909         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25910         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25912         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25913         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
25914         * sysdeps/i386/fpu/libm-test-ulps: Update.
25915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25917 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25919         * NEWS: Fixed description of link with vector math library.
25921 2015-06-25  Andreas Schwab  <schwab@suse.de>
25923         [BZ #18549]
25924         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
25925         * libio/test-fmemopen.c (do_test): Add test for it.
25927 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
25929         [BZ #17841]
25930         * Makeconfig (no-pie-ldflag): New.
25931         (+link): Set to $(+link-pie) if default to PIE.
25932         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
25933         * config.make.in (build-pie-default): New.
25934         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
25935         is default.  AC_SUBST.
25936         * configure: Regenerated.
25937         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
25939 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25941         * nptl/descr.h (struct pthread): Change type of field setxid_futex
25942         to 'unsigned int'.
25944         * resolv/gai_misc.h (struct waitlist): Change type of field
25945         counterp to 'volatile unsigned int *'.
25946         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
25947         FUTEXADDR and OLDVAL.
25948         * resolv/getaddrinfo_a.c (getaddrinfo_a):
25949         Give local variable TOTAL type 'volatile unsigned int'.
25950         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25951         * resolv/gai_suspend.c (gai_suspend):
25952         Give local variable CNTR type 'unsigned int'.
25954         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
25955         counterp to 'volatile unsigned int *'.
25956         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
25957         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
25958         (aio_suspend): Give local variable CNTR type 'unsigned int'.
25959         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
25960         Give local variable TOTAL type 'volatile unsigned int'.
25961         (struct async_waitlist): Change type of field counter to 'unsigned int'.
25963 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25965         [BZ #18383]
25966         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
25967         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
25968         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
25969         comment for i386/x86-64.
25970         (test-xfail-tst-tlsalign-extern-static): Removed.
25972 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25974         * math/test-double.h: New file.
25975         * math/test-float.h: Likewise.
25976         * math/test-ldouble.h: Likewise.
25977         * math/test-math-inline.h: Likewise.
25978         * math/test-math-no-inline.h: Likewise.
25979         * math/test-math-scalar.h: Likewise.
25980         * math/test-math-vector.h: Likewise.
25981         * math/test-vec-loop.h: Remove file.  Contents moved into
25982         test-math-vector.h.
25983         * math/libm-test.inc (MATHCONST): Do not document macro.
25984         * math/test-double.c: Include test-double.h, test-math-no-inline.h
25985         and test-math-scalar.h.
25986         (FUNC): Remove macro.
25987         (FUNC_TEST): Likewise.
25988         (FLOAT): Likewise.
25989         (MATHCONST): Likewise.
25990         (PRINTF_EXPR): Likewise.
25991         (PRINTF_XEXPR): Likewise.
25992         (PRINTF_NEXPR): Likewise.
25993         (TEST_DOUBLE): Likewise.
25994         (TEST_MATHVEC): Likewise.
25995         (__NO_MATH_INLINES): Likewise.
25996         * math/test-float.c: Include test-float.h, test-math-no-inline.h
25997         and test-math-scalar.h.
25998         (FUNC): Remove macro.
25999         (FUNC_TEST): Likewise.
26000         (FLOAT): Likewise.
26001         (MATHCONST): Likewise.
26002         (PRINTF_EXPR): Likewise.
26003         (PRINTF_XEXPR): Likewise.
26004         (PRINTF_NEXPR): Likewise.
26005         (TEST_FLOAT): Likewise.
26006         (TEST_MATHVEC): Likewise.
26007         (__NO_MATH_INLINES): Likewise.
26008         * math/test-idouble.c: Include test-double.h, test-math-inline.h
26009         and test-math-scalar.h.
26010         (FUNC): Remove macro.
26011         (FUNC_TEST): Likewise.
26012         (FLOAT): Likewise.
26013         (MATHCONST): Likewise.
26014         (PRINTF_EXPR): Likewise.
26015         (PRINTF_XEXPR): Likewise.
26016         (PRINTF_NEXPR): Likewise.
26017         (TEST_DOUBLE): Likewise.
26018         (TEST_MATHVEC): Likewise.
26019         (TEST_INLINE): Likewise.
26020         (__NO_MATH_INLINES): Likewise.
26021         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
26022         test-math-scalar.h.
26023         (FUNC): Remove macro.
26024         (FUNC_TEST): Likewise.
26025         (FLOAT): Likewise.
26026         (MATHCONST): Likewise.
26027         (PRINTF_EXPR): Likewise.
26028         (PRINTF_XEXPR): Likewise.
26029         (PRINTF_NEXPR): Likewise.
26030         (TEST_FLOAT): Likewise.
26031         (TEST_MATHVEC): Likewise.
26032         (TEST_INLINE): Likewise.
26033         (__NO_MATH_INLINES): Likewise.
26034         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
26035         and test-math-scalar.h.
26036         (FUNC): Remove macro.
26037         (FUNC_TEST): Likewise.
26038         (FLOAT): Likewise.
26039         (MATHCONST): Likewise.
26040         (PRINTF_EXPR): Likewise.
26041         (PRINTF_XEXPR): Likewise.
26042         (PRINTF_NEXPR): Likewise.
26043         (TEST_LDOUBLE): Likewise.
26044         (TEST_MATHVEC): Likewise.
26045         (TEST_INLINE): Likewise.
26046         (__NO_MATH_INLINES): Likewise.
26047         * math/test-ldouble.c: Include test-ldouble.h,
26048         test-math-no-inline.h and test-math-scalar.h.
26049         (FUNC): Remove macro.
26050         (FUNC_TEST): Likewise.
26051         (FLOAT): Likewise.
26052         (MATHCONST): Likewise.
26053         (PRINTF_EXPR): Likewise.
26054         (PRINTF_XEXPR): Likewise.
26055         (PRINTF_NEXPR): Likewise.
26056         (TEST_LDOUBLE): Likewise.
26057         (TEST_MATHVEC): Likewise.
26058         (__NO_MATH_INLINES): Likewise.
26059         * math/test-double-vlen2.h: Include test-double.h,
26060         test-math-no-inline.h and test-math-vector.h.
26061         (FLOAT): Remove macro.
26062         (FUNC): Likewise.
26063         (MATHCONST): Likewise.
26064         (PRINTF_EXPR): Likewise.
26065         (PRINTF_XEXPR): Likewise.
26066         (PRINTF_NEXPR): Likewise.
26067         (TEST_DOUBLE): Likewise.
26068         (TEST_MATHVEC): Likewise.
26069         (__NO_MATH_INLINES): Likewise.
26070         (CNCT): Likewise.
26071         (CONCAT): Likewise.
26072         (WRAPPER_NAME): Likewise.
26073         (WRAPPER_DECL): Likewise.
26074         (WRAPPER_DECL_ff): Likewise.
26075         (WRAPPER_DECL_fFF): Likewise.
26076         (VECTOR_WRAPPER): Likewise.
26077         (VECTOR_WRAPPER_ff): Likewise.
26078         (VECTOR_WRAPPER_fFF): Likewise.
26079         (VEC_LEN): New macro.
26080         * math/test-double-vlen4.h: Include test-double.h,
26081         test-math-no-inline.h and test-math-vector.h.
26082         (FLOAT): Remove macro.
26083         (FUNC): Likewise.
26084         (MATHCONST): Likewise.
26085         (PRINTF_EXPR): Likewise.
26086         (PRINTF_XEXPR): Likewise.
26087         (PRINTF_NEXPR): Likewise.
26088         (TEST_DOUBLE): Likewise.
26089         (TEST_MATHVEC): Likewise.
26090         (__NO_MATH_INLINES): Likewise.
26091         (CNCT): Likewise.
26092         (CONCAT): Likewise.
26093         (WRAPPER_NAME): Likewise.
26094         (WRAPPER_DECL): Likewise.
26095         (WRAPPER_DECL_ff): Likewise.
26096         (WRAPPER_DECL_fFF): Likewise.
26097         (VECTOR_WRAPPER): Likewise.
26098         (VECTOR_WRAPPER_ff): Likewise.
26099         (VECTOR_WRAPPER_fFF): Likewise.
26100         (VEC_LEN): New macro.
26101         * math/test-double-vlen8.h: Include test-double.h,
26102         test-math-no-inline.h and test-math-vector.h.
26103         (FLOAT): Remove macro.
26104         (FUNC): Likewise.
26105         (MATHCONST): Likewise.
26106         (PRINTF_EXPR): Likewise.
26107         (PRINTF_XEXPR): Likewise.
26108         (PRINTF_NEXPR): Likewise.
26109         (TEST_DOUBLE): Likewise.
26110         (TEST_MATHVEC): Likewise.
26111         (__NO_MATH_INLINES): Likewise.
26112         (CNCT): Likewise.
26113         (CONCAT): Likewise.
26114         (WRAPPER_NAME): Likewise.
26115         (WRAPPER_DECL): Likewise.
26116         (WRAPPER_DECL_ff): Likewise.
26117         (WRAPPER_DECL_fFF): Likewise.
26118         (VECTOR_WRAPPER): Likewise.
26119         (VECTOR_WRAPPER_ff): Likewise.
26120         (VECTOR_WRAPPER_fFF): Likewise.
26121         (VEC_LEN): New macro.
26122         * math/test-float-vlen4.h: Include test-float.h,
26123         test-math-no-inline.h and test-math-vector.h.
26124         (FLOAT): Remove macro.
26125         (FUNC): Likewise.
26126         (MATHCONST): Likewise.
26127         (PRINTF_EXPR): Likewise.
26128         (PRINTF_XEXPR): Likewise.
26129         (PRINTF_NEXPR): Likewise.
26130         (TEST_FLOAT): Likewise.
26131         (TEST_MATHVEC): Likewise.
26132         (__NO_MATH_INLINES): Likewise.
26133         (CNCT): Likewise.
26134         (CONCAT): Likewise.
26135         (WRAPPER_NAME): Likewise.
26136         (WRAPPER_DECL): Likewise.
26137         (WRAPPER_DECL_ff): Likewise.
26138         (WRAPPER_DECL_fFF): Likewise.
26139         (VECTOR_WRAPPER): Likewise.
26140         (VECTOR_WRAPPER_ff): Likewise.
26141         (VECTOR_WRAPPER_fFF): Likewise.
26142         (VEC_LEN): New macro.
26143         * math/test-float-vlen8.h: Include test-float.h,
26144         test-math-no-inline.h and test-math-vector.h.
26145         (FLOAT): Remove macro.
26146         (FUNC): Likewise.
26147         (MATHCONST): Likewise.
26148         (PRINTF_EXPR): Likewise.
26149         (PRINTF_XEXPR): Likewise.
26150         (PRINTF_NEXPR): Likewise.
26151         (TEST_FLOAT): Likewise.
26152         (TEST_MATHVEC): Likewise.
26153         (__NO_MATH_INLINES): Likewise.
26154         (CNCT): Likewise.
26155         (CONCAT): Likewise.
26156         (WRAPPER_NAME): Likewise.
26157         (WRAPPER_DECL): Likewise.
26158         (WRAPPER_DECL_ff): Likewise.
26159         (WRAPPER_DECL_fFF): Likewise.
26160         (VECTOR_WRAPPER): Likewise.
26161         (VECTOR_WRAPPER_ff): Likewise.
26162         (VECTOR_WRAPPER_fFF): Likewise.
26163         (VEC_LEN): New macro.
26164         * math/test-float-vlen16.h: Include test-float.h,
26165         test-math-no-inline.h and test-math-vector.h.
26166         (FLOAT): Remove macro.
26167         (FUNC): Likewise.
26168         (MATHCONST): Likewise.
26169         (PRINTF_EXPR): Likewise.
26170         (PRINTF_XEXPR): Likewise.
26171         (PRINTF_NEXPR): Likewise.
26172         (TEST_FLOAT): Likewise.
26173         (TEST_MATHVEC): Likewise.
26174         (__NO_MATH_INLINES): Likewise.
26175         (CNCT): Likewise.
26176         (CONCAT): Likewise.
26177         (WRAPPER_NAME): Likewise.
26178         (WRAPPER_DECL): Likewise.
26179         (WRAPPER_DECL_ff): Likewise.
26180         (WRAPPER_DECL_fFF): Likewise.
26181         (VECTOR_WRAPPER): Likewise.
26182         (VECTOR_WRAPPER_ff): Likewise.
26183         (VECTOR_WRAPPER_fFF): Likewise.
26184         (VEC_LEN): New macro.
26185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
26186         test-vec-loop.h.
26187         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26189         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26190         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26191         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26192         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26193         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26195 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26197         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
26198         (__getlogin_r): ... this.
26200 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26202         [BZ #18594]
26203         * math/s_ccosh.c (__ccosh): Compare with least normal value
26204         instead of comparing class with FP_SUBNORMAL.
26205         * math/s_ccoshf.c (__ccoshf): Likewise.
26206         * math/s_ccoshl.c (__ccoshl): Likewise.
26207         * math/s_cexp.c (__cexp): Likewise.
26208         * math/s_cexpf.c (__cexpf): Likewise.
26209         * math/s_cexpl.c (__cexpl): Likewise.
26210         * math/s_csin.c (__csin): Likewise.
26211         * math/s_csinf.c (__csinf): Likewise.
26212         * math/s_csinh.c (__csinh): Likewise.
26213         * math/s_csinhf.c (__csinhf): Likewise.
26214         * math/s_csinhl.c (__csinhl): Likewise.
26215         * math/s_csinl.c (__csinl): Likewise.
26216         * math/s_ctan.c (__ctan): Likewise.
26217         * math/s_ctanf.c (__ctanf): Likewise.
26218         * math/s_ctanh.c (__ctanh): Likewise.
26219         * math/s_ctanhf.c (__ctanhf): Likewise.
26220         * math/s_ctanhl.c (__ctanhl): Likewise.
26221         * math/s_ctanl.c (__ctanl): Likewise.
26222         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
26223         csin, csinh, ctan and ctanh.
26224         * math/auto-libm-test-out: Regenerated.
26225         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
26226         * sysdeps/i386/fpu/libm-test-ulps: Update.
26227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26229 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26231         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
26232         return value is wrong, print the expected value too.
26234 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26236         [BZ #18585]
26237         * elf/readlib.c (is_gdb_python_file): New.
26238         (process_file): Don't issue errors on filenames with -gdb.py
26239         suffix.
26241 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26243         * math/auto-libm-test-in: Add more tests of csin and csinh.
26244         * math/auto-libm-test-out: Regenerated.
26245         * math/libm-test.inc (csin_test_data): Remove tests moved to
26246         auto-libm-test-in.
26247         (csinh_test_data): Likewise.
26249         [BZ #18593]
26250         * math/s_csin.c (__csin): Negate before rather than after possibly
26251         overflowing multiplication.
26252         * math/s_csinf.c (__csinf): Likewise.
26253         * math/s_csinh.c (__csinh): Likewise.
26254         * math/s_csinhf.c (__csinhf): Likewise.
26255         * math/s_csinhl.c (__csinhl): Likewise.
26256         * math/s_csinl.c (__csinl): Likewise.
26257         * math/auto-libm-test-in: Add some tests of csin and csinh.
26258         * math/auto-libm-test-out: Regenerated.
26259         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
26260         (csinh_test_data): Likewise.
26261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26263         [BZ #18586]
26264         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
26265         underflow exception for small results.
26267 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
26271         variable and included header.
26272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
26273         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
26274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
26275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
26276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
26277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
26278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
26279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
26280         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
26281         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
26282         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
26283         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
26284         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
26285         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
26286         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
26287         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
26289 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26291         [BZ #16526]
26292         [BZ #16538]
26293         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
26294         (__sin): Force underflow exception for arguments with small
26295         absolute value.
26296         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
26297         (__kernel_sinf): Force underflow exception for arguments with
26298         small absolute value.
26299         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
26300         (__kernel_sincosl): Force underflow exception for arguments with
26301         small absolute value.
26302         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
26303         (__kernel_sinl): Force underflow exception for arguments with
26304         small absolute value.
26305         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
26306         (__kernel_sincosl): Force underflow exception for arguments with
26307         small absolute value.
26308         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
26309         (__kernel_sinl): Force underflow exception for arguments with
26310         small absolute value.
26311         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
26312         (__kernel_sinl): Force underflow exception for arguments with
26313         small absolute value.
26314         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
26315         (__kernel_sinf): Force underflow exception for arguments with
26316         small absolute value.
26317         * math/auto-libm-test-in: Add more tests of sin and sincos.
26318         * math/auto-libm-test-out: Regenerated.
26320         [BZ #18245]
26321         [BZ #18583]
26322         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
26323         (__kernel_standard_l): Use feholdexcept and fesetenv around
26324         conversion to double instead of special-casing overflow and
26325         underflow.
26326         * math/libm-test.inc (fmod_test_data): Add more tests.
26327         (remainder_test_data): Likewise.
26328         (sqrt_test_data): Likewise.
26330 2015-06-23  Torvald Riegel  <triegel@redhat.com>
26332         [BZ #17403]
26333         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
26334         atomic_read_barrier, atomic_write_barrier): Define.
26335         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
26336         atomic_read_barrier, atomic_write_barrier): Define.
26338 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26340         * math/Makefile [$(PERL) != no]
26341         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
26342         dependency on libm-test.stmp below the inclusion of Rules.
26344 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
26346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
26347         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
26348         and included header.
26349         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
26350         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
26351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
26352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
26353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
26354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
26355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
26356         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
26357         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
26358         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
26359         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
26360         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
26361         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
26362         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
26363         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
26364         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
26365         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
26366         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
26367         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
26369 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
26371         [BZ #18371]
26372         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
26373         intermediate but not final result might underflow.
26374         * math/s_csqrtf.c (__csqrtf): Likewise.
26375         * math/s_csqrtl.c (__csqrtl): Likewise.
26376         * math/auto-libm-test-in: Add more tests of csqrt.
26377         * math/auto-libm-test-out: Regenerated.
26378         * sysdeps/i386/fpu/libm-test-ulps: Update.
26380         [BZ #18219]
26381         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
26382         threshold on absolute value of exponent for which scaling is used.
26383         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26384         * math/auto-libm-test-in: Add more tests of exp2.
26385         * math/auto-libm-test-out: Regenerated.
26387 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
26389         [BZ #17977]
26390         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
26391         when initializing interface list, based on the bug analysis
26392         and the patch proposed by Eric Newton.
26393         * resolv/tst-res_hconf_reorder.c: New test.
26394         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
26395         tst-res_hconf_reorder.
26396         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
26397         and $(shared-thread-library).
26398         (tst-res_hconf_reorder-ENV): New variable.
26400         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
26401         in comment.
26403 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
26405         [BZ #16353]
26406         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
26407         (__expm1): Force underflow exception for arguments with small
26408         absolute value.
26409         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
26410         (__expm1f): Force underflow exception for arguments with small
26411         absolute value.
26412         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
26413         (__expm1): Force underflow exception for arguments with small
26414         absolute value.
26415         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
26416         (__expm1f): Force underflow exception for arguments with small
26417         absolute value.
26418         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26419         Check for small arguments before calling __expm1.
26420         * math/auto-libm-test-in: Do not mark underflow exceptions as
26421         possibly missing for bug 16353.
26422         * math/auto-libm-test-out: Regenerated.
26424 2015-06-22  Andreas Schwab  <schwab@suse.de>
26426         [BZ #18513]
26427         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
26428         PTR queries.
26430 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
26432         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
26434         * string/strcoll_l.c: Remove unused struct element idxnow.
26436 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
26438         [BZ #18569]
26439         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
26440         underflow and return argument in case of subnormal argument.
26441         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26442         Likewise.
26443         * math/auto-libm-test-in: Add more tests of expm1.
26444         * math/auto-libm-test-out: Regenerated.
26446         [BZ #16361]
26447         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26448         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26449         tiny results.
26450         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
26451         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
26452         tiny results.
26453         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
26454         mark underflow exceptions as possibly missing for bug 16361.
26455         * math/auto-libm-test-out: Regenerated.
26457 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
26459         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
26460         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
26461         Remove variable.
26462         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26463         (test-xfail-XOPEN2K8/utmpx.h/conform).
26465         * conform/conformtest.pl ($xerrors): New variable.
26466         (note_error): New function.
26467         (compiletest): New argument $xfail.  Use not_error.
26468         (runtest): Likewise.
26469         (top level): Handle xfail- lines.  Update calls to compiletest and
26470         runtest.  Handle xfail- and optional- in headers listed with
26471         allow-header.
26472         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
26473         (O_EXEC): Likewise.
26474         (O_SEARCH): Likewise.
26475         * conform/data/stropts.h-data (ioctl): Likewise.
26476         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
26477         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
26478         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
26479         (msghdr.msg_controllen): Likewise.
26480         (cmsghdr.cmsg_len): Likewise.
26481         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
26482         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
26483         variable.
26484         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
26485         (test-xfail-XPG4/stropts.h/conform): Likewise.
26486         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
26487         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
26488         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
26489         (test-xfail-UNIX98/stropts.h/conform): Likewise.
26490         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26491         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26492         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26493         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26494         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26495         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26496         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26497         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26498         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26499         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26500         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26501         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26502         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26503         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26504         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26506 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26508         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
26509         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
26510         definitions for proper unfolding of __MATHDECL_VEC.
26512 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26514         * benchtests/bench-strcoll.c:
26515         Include string.h.
26516         (main): Remove unused variable res.
26518 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26520         * timezone/Makefile (%/UTC %/Universal):
26521         Generate test-result files for UTC and Universal.
26523 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
26525         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26527 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
26529         [BZ #16350]
26530         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
26531         for arguments with small absolute value.
26532         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
26533         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
26534         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
26535         (__asinh): Force underflow exception for arguments with small
26536         absolute value.
26537         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
26538         (__asinhf): Force underflow exception for arguments with small
26539         absolute value.
26540         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
26541         (__asinhl): Force underflow exception for arguments with small
26542         absolute value.
26543         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
26544         (__asinhl): Force underflow exception for arguments with small
26545         absolute value.
26546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
26547         (__asinhl): Force underflow exception for arguments with small
26548         absolute value.
26549         * math/auto-libm-test-in: Do not mark underflow exceptions as
26550         possibly missing for bug 16350.
26551         * math/auto-libm-test-out: Regenerated.
26553         * include/bits/ipc.h: Remove file.
26554         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
26555         variable.
26556         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
26557         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
26558         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
26559         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26560         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26561         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26562         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26563         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26564         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26566         * math/auto-libm-test-in: Remove spurious underflow allowance for
26567         tests of cexp.
26568         * math/auto-libm-test-out: Regenerated.
26570         [BZ #18558]
26571         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
26572         unconditional definition.
26573         (MCAST_BLOCK_SOURCE): Likewise.
26574         (MCAST_UNBLOCK_SOURCE): Likewise.
26575         (MCAST_LEAVE_GROUP): Likewise.
26576         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26577         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26578         (MCAST_MSFILTER): Likewise.
26579         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
26580         Remove variable.
26581         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26582         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26583         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26584         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26585         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26587 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26589         * NEWS: Mention addition of x86_64 vector sincosf.
26590         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
26591         * math/test-float-vlen4.h: Likewise.
26592         * math/test-float-vlen8.h: Likewise.
26593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26594         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
26595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26596         * sysdeps/x86_64/fpu/Versions: New versions added.
26597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
26601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
26602         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
26603         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
26604         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
26605         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
26606         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
26607         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
26608         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
26609         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
26610         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
26611         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
26612         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
26613         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
26614         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
26615         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26616         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26619         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26620         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26622         * NEWS: Mention addition of x86_64 vector sincos.
26623         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
26624         * math/math.h (__MATHDECL_VEC): New macro.
26625         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
26626         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
26627         declaration under condition.
26628         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
26629         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
26630         TEST_VEC_LOOP change.
26631         * math/test-double-vlen4.h: Likewise.
26632         * math/test-double-vlen8.h: Likewise.
26633         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
26634         * math/test-float-vlen4.h: Likewise.
26635         * math/test-float-vlen8.h: Likewise.
26636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26637         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
26638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26639         * sysdeps/x86_64/fpu/Versions: New versions added.
26640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26641         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26642         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
26644         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
26645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
26646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
26647         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
26648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
26649         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
26650         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
26651         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
26652         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
26653         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
26654         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
26655         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
26656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
26657         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26660         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26661         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26662         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26663         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26665         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26666         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26667         redirections for powf.
26668         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26669         * sysdeps/x86_64/fpu/Versions: New versions added.
26670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26671         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26672         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26673         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
26674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
26675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
26676         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
26677         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
26678         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
26679         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
26680         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
26681         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
26682         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
26683         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
26684         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
26685         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
26686         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
26687         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26688         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26689         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26692         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26693         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26694         * math/test-float-vlen16.h: Fixed 2 argument macro.
26695         * math/test-float-vlen4.h: Likewise.
26696         * math/test-float-vlen8.h: Likewise.
26697         * NEWS: Mention addition of x86_64 vector powf.
26699 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
26701         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26702         and redefine.
26703         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26704         and redefine.
26705         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
26706         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26707         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26709         [BZ #18553]
26710         * resource/getpriority.c (getpriority): Rename to __getpriority
26711         and define as weak alias of __getpriority.
26712         * resource/setpriority.c (setpriority): Rename to __setpriority
26713         and define as weak alias of __setpriority.
26714         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
26715         __getpriority and define as weak alias of __getpriority.
26716         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
26717         __setpriority and define as weak alias of __setpriority.
26718         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
26719         strong name.
26720         (setpriority): Use __setpriority as strong name.
26721         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
26722         __getpriority and define as weak alias of __getpriority.
26723         * include/sys/resource.h (__getpriority): Declare.  Use
26724         libc_hidden_proto.
26725         (__setpriority): Likewise.
26726         (getpriority): Don't use libc_hidden_proto.
26727         (setpriority): Likewise.
26728         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
26729         getpriority.  Call __setpriority instead of setpriority.
26730         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
26731         Remove variable.
26733         [BZ #18547]
26734         * misc/getttyent.c (getttynam): Rename to __getttynam and define
26735         as weak alias of __getttynam.  Use prototype function definition.
26736         Call __setttyent, __getttyent and __endttyent instead of
26737         setttyent, getttyent and endttyent.
26738         (getttyent): Rename to __getttyent and define as weak alias of
26739         __getttyent.  Call __setttyent instead of setttyent.  Call
26740         __fgets_unlocked instead of fgets_unlocked.
26741         (setttyent): Rename to __setttyent and define as weak alias of
26742         __setttyent.
26743         (endttyent): Rename to __endttyent and define as weak alias of
26744         __endttyent.
26745         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
26746         (__setttyent): Likewise.
26747         (__endttyent): Likewise.
26748         (getttyent): Don't use libc_hidden_proto.
26749         (setttyent): Likewise.
26750         (endttyent): Likewise.
26751         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
26752         __endttyent instead of setttyent, getttyent and endttyent.
26753         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
26754         Remove variable.
26756         [BZ #18546]
26757         * socket/recv.c (__recv): Use libc_hidden_def.
26758         * socket/socket.c (__socket): Likewise.
26759         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26760         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26761         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
26762         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
26763         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
26764         libc_hidden_def.
26765         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
26766         libc_hidden_weak.
26767         * include/sys/socket.h (__socket): Do not use attribute_hidden.
26768         Use libc_hidden_proto.
26769         (__recv): Likewise.
26770         * socket/Versions (libc): Export __recv and __socket at version
26771         GLIBC_PRIVATE.
26772         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
26773         instead of recv.
26774         (init_mq_netlink): Call __socket instead of socket.
26775         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
26776         Remove variable.
26778         [BZ #18545]
26779         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
26780         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
26781         hidden_weak.
26782         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
26783         define as alias of __mq_timedsend.  Use hidden_weak.
26784         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
26785         __mq_timedsend as strong name.
26786         (mq_timedreceive): Use __mq_timedreceive as strong name.
26787         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
26788         (__mq_timedreceive): Likewise.
26789         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
26790         __mq_timedreceive instead of mq_timedreceive.
26791         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
26792         instead of mq_timedsend.
26793         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
26794         Remove variable.
26796         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
26797         hidden_def and hidden_weak instead of libc_hidden_def and
26798         libc_hidden_weak.
26799         (top level): Refer to hidden_def in comment.
26800         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26801         macro.  Use it instead of libc_hidden_def.
26802         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
26803         specify __GI_* name explicitly.
26804         (mq_timedreceive): Likewise.
26805         (mq_setattr): Likewise.
26807         [BZ #18544]
26808         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
26809         __pthread_barrier_init and define as weak alias of
26810         __pthread_barrier_init.
26811         * sysdeps/sparc/nptl/pthread_barrier_init.c
26812         (pthread_barrier_init): Likewise.
26813         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
26814         __pthread_barrier_wait and define as weak alias of
26815         __pthread_barrier_wait.
26816         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26817         (pthread_barrier_wait): Likewise.
26818         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26819         (pthread_barrier_wait): Likewise.
26820         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
26821         (pthread_barrier_wait): Likewise.
26822         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
26823         (pthread_barrier_wait): Likewise.
26824         * nptl/Versions (libpthread): Export __pthread_barrier_init and
26825         __pthread_barrier_wait at version GLIBC_PRIVATE.
26826         * include/pthread.h (__pthread_barrier_init): Declare.
26827         (__pthread_barrier_wait): Likewise.
26828         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
26829         Call __pthread_barrier_wait instead of pthread_barrier_wait.
26830         (helper_thread): Likewise.
26831         (init_mq_netlink): Call __pthread_barrier_init instead of
26832         pthread_barrier_init.
26834         [BZ #18542]
26835         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
26836         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
26837         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
26838         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
26839         vswscanf.
26840         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
26841         Remove variable.
26843         [BZ #18540]
26844         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
26845         strong alias of _IO_fflush.  Use libc_hidden_def.
26846         * libio/iofflush_u.c (fflush_unlocked): Rename to
26847         __fflush_unlocked and define as weak alias of __fflush_unlocked.
26848         Use libc_hidden_weak.
26849         * include/stdio.h (__fflush_unlocked): Declare.  Use
26850         libc_hidden_proto.
26851         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
26852         fflush_unlocked.
26853         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
26854         Remove variable.
26856         [BZ #18539]
26857         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
26858         define as weak alias of __addseverity.
26859         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
26860         Remove variable.
26861         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26862         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26863         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26865         [BZ #18536]
26866         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
26867         (__tfind): Likewise.
26868         (__tdelete): Likewise.
26869         (__twalk): Likewise.
26870         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
26871         __twalk to GLIBC_PRIVATE.
26872         * include/search.h (__tsearch): Use libc_hidden_proto.
26873         (__tfind): Likewise.
26874         (__tdelete): Likewise.
26875         (__twalk): Likewise.
26876         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
26877         Call __tdelete instead of tdelete.
26878         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
26879         tfind.  Call __tsearch instead of tsearch.
26880         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
26881         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
26882         Remove variable.
26883         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26885         [BZ #18534]
26886         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
26887         (dprintf): Define as a weak alias of __dprintf, not a strong
26888         alias.
26889         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
26890         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
26891         dprintf.
26892         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
26893         Remove variable.
26894         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26895         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26897         [BZ #18533]
26898         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
26899         not a strong alias.
26900         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
26901         Remove variable.
26903         [BZ #18532]
26904         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
26905         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
26906         (in6addr_loopback): Rename to __in6addr_loopback and define as
26907         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
26908         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
26909         libc_hidden_proto.
26910         (__in6addr_any): Likewise.
26911         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
26912         in6addr_any.
26913         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
26914         variable.
26915         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26917 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
26919         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
26920         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
26921         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26922         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26923         redirections for pow.
26924         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26925         * sysdeps/x86_64/fpu/Versions: New versions added.
26926         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26927         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26928         build of SSE, AVX2 and AVX512 IFUNC versions.
26929         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
26930         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
26931         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
26932         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
26933         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
26934         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
26935         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
26936         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
26937         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
26938         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
26939         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
26940         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
26941         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
26942         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
26943         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26944         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26945         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26946         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26947         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26948         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26949         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26950         * NEWS: Mention addition of x86_64 vector pow.
26952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
26953         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26954         redirections for expf.
26955         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26956         * sysdeps/x86_64/fpu/Versions: New versions added.
26957         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26958         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26959         build of SSE, AVX2 and AVX512 IFUNC versions.
26960         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
26961         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
26962         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
26963         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
26964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
26965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
26966         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
26967         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
26968         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
26969         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
26970         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
26971         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
26972         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
26973         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
26974         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
26975         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
26976         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
26977         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
26978         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
26979         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26980         * NEWS: Mention addition of x86_64 vector expf.
26982         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
26983         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
26984         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26985         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
26986         redirections for exp.
26987         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26988         * sysdeps/x86_64/fpu/Versions: New versions added.
26989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26990         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
26991         build of SSE, AVX2 and AVX512 IFUNC versions.
26992         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
26993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
26994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
26995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
26996         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
26997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
26998         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
26999         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
27000         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
27001         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
27002         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
27003         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
27004         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
27005         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27007         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27008         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27009         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27010         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27011         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27012         * NEWS: Mention addition of x86_64 vector exp.
27014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27015         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27016         redirections for logf.
27017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27018         * sysdeps/x86_64/fpu/Versions: New versions added.
27019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27021         build of SSE, AVX2 and AVX512 IFUNC versions.
27022         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
27023         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
27024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
27025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
27026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
27027         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
27028         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
27029         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
27030         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
27031         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
27032         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
27033         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
27034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
27035         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27036         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27037         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27039         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27040         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27041         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27042         * NEWS: Mention addition of x86_64 vector logf.
27044         * bits/libm-simd-decl-stubs.h: Added stubs for log.
27045         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
27046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27047         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27048         redirections for log.
27049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27050         * sysdeps/x86_64/fpu/Versions: New versions added.
27051         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27053         build of SSE, AVX2 and AVX512 IFUNC versions.
27054         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
27055         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
27056         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
27057         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
27058         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
27059         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
27060         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
27061         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
27062         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
27063         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
27064         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
27065         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
27066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
27067         test.
27068         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27070         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27071         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27072         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27073         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27074         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27075         * NEWS: Mention addition of x86_64 vector log.
27077 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27079         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
27080         cfi_adjust_cfa_offset argument.
27081         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
27082         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
27084         [BZ #18034]
27085         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
27086         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
27087         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
27088         ordering using ldar.
27089         (_dl_tlsdesc_dynamic): Likewise.
27090         (_dl_tlsdesc_return_lazy): Likewise.
27091         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
27092         relaxed atomics instead of volatile and synchronize with release store.
27093         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
27094         volatile.
27095         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27097 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
27099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27100         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
27101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27102         * sysdeps/x86_64/fpu/Versions: New versions added.
27103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27105         build of SSE, AVX2 and AVX512 IFUNC versions.
27106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
27107         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
27108         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
27109         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
27110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
27111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
27112         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
27113         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
27114         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
27115         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
27116         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
27117         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
27118         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
27119         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27120         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27121         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27122         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27124         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27125         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27126         * NEWS: Mention addition of x86_64 vector sinf.
27128 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
27130         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
27131         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
27132         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
27133         Remove variable.
27134         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27135         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27137 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27139         [BZ #18530]
27140         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
27141         strong alias of _IO_fputs.  Use libc_hidden_def.
27142         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
27143         and define as weak alias of __fputs_unlocked.  Use
27144         libc_hidden_weak.
27145         * include/stdio.h (__fputs_unlocked): Declare.  Use
27146         libc_hidden_proto.
27147         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
27148         fputs_unlocked.
27150         [BZ #18529]
27151         * resolv/netdb.h [__USE_POSIX]: Change condition to
27152         [__USE_XOPEN2K].
27153         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
27154         not expect.
27155         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
27156         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
27157         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
27158         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
27159         [XPG4 || UNIX98] (AI_ALL): Likewise.
27160         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
27161         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
27162         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
27163         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
27164         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
27165         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
27166         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
27167         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
27168         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
27169         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
27170         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
27171         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
27172         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
27173         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
27174         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
27175         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27176         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
27177         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
27178         [XPG4 || UNIX98] (gai_strerror): Likewise.
27179         [XPG4 || UNIX98] (getaddrinfo): Likewise.
27180         [XPG4 || UNIX98] (getnameinfo): Likewise.
27182         [BZ #18528]
27183         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
27184         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
27185         __USE_XOPEN2K8].
27186         (getgrent): Likewise.
27187         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
27188         expect.
27189         [XPG3 || POSIX2008] (endgrent): Likewise.
27190         [XPG3] (setgrent): Likewise.
27191         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
27192         variable.
27193         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27195         [BZ #18527]
27196         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
27197         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
27198         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
27199         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
27200         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
27201         * include/unistd.h (__getlogin_r): Declare.  Use
27202         libc_hidden_proto.
27203         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
27204         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
27205         variable.
27206         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27207         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27208         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27210 2015-06-12  Martin Sebor  <msebor@redhat.com>
27212         [BZ #18512]
27213         * Makerules (check-install-supported): New target.
27214         (install): Add check-install-supported as a dependency.
27215         * manual/install.texi (Installing the C Library): Document
27216         that overriding prefix and exec_prefix is not supported.
27217         Mention DESTDIR.
27218         * INSTALL: Regenerate from the above.
27220 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
27222         [BZ #18519]
27223         * posix/Versions (libc): Export __libc_pread at version
27224         GLIBC_PRIVATE.
27225         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
27226         instead of pread.
27227         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
27228         variable.
27230         [BZ #18522]
27231         * misc/efgcvt_r.c
27232         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
27233         (cvt_symbol): Use weak_alias instead of strong_alias.
27234         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
27235         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
27236         Remove variable.
27237         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27238         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27240         [BZ #18520]
27241         * inet/herrno.c (h_errno): Rename to __h_errno.
27242         (__libc_h_errno): Define as alias of __h_errno not h_errno.
27243         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
27244         to __h_errno instead of h_errno.
27245         * nptl/herrno.c (h_errno): Rename to __h_errno.
27246         (__h_errno_location): Refer to __h_errno not h_errno.
27247         * resolv/Versions (h_errno): Rename to __h_errno.
27248         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
27249         Remove variable.
27250         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27252 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
27254         * configure.ac: More strict check for AVX512 assembler support.
27255         * configure: Regenerated.
27257         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
27258         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
27259         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27260         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
27261         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27262         * sysdeps/x86_64/fpu/Versions: New versions added.
27263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27264         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27265         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27266         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
27267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
27268         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
27269         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
27270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
27271         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
27272         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
27273         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
27274         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
27275         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
27276         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
27277         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
27278         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
27279         test.
27280         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27281         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27283         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27284         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27285         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27286         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27287         * NEWS: Mention addition of x86_64 vector sin.
27289 2015-06-11  Florian Weimer  <fweimer@redhat.com>
27291         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
27292         comment.
27294 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
27296         [BZ #18479]
27297         * nptl/pt-interp.c: New file.
27298         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
27299         Add pt-interp.
27300         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
27301         $(common-objpfx)runtime-linker.h.
27303 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
27305         * Makeconfig (+interp): Remove unused variable.
27306         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
27307         only.  Depend on $(common-objpfx)runtime-linker.h instead of
27308         $(elf-objpfx)runtime-linker.h.
27309         ($(elf-objpfx)runtime-linker.h): Rename to
27310         $(common-objpfx)runtime-linker.h and move ...
27311         * Makerules [$(build-shared) = yes]: ... here.
27312         * elf/interp.c: Include <runtime-linker.h> instead of
27313         <elf/runtime-linker.h>.
27315 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27317         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
27318         (__gettimeofday_syscall): Remove vsyscall fallback.
27319         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
27320         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
27321         Add syscall fallback function.
27322         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
27323         if vDSO is not present.
27324         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
27325         fallback function.
27326         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
27327         present.
27328         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
27329         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27331 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
27333         [BZ #18497]
27334         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
27335         of wcscmp.
27336         (wcscmp): Define as weak alias of WCSCMP.
27337         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
27338         wcscoll.
27339         (USE_HIDDEN_DEF): Define.
27340         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
27341         __wcscoll.  Don't use libc_hidden_weak.
27342         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
27343         wcscmp.
27344         * sysdeps/i386/i686/multiarch/wcscmp-c.c
27345         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
27346         __GI_wcscmp.
27347         (weak_alias): Undefine and redefine.
27348         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
27349         __wcscmp and define as weak alias of __wcscmp.
27350         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
27351         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
27352         (__wcscoll): Likewise.
27353         (wcscmp): Don't use libc_hidden_proto.
27354         (wcscoll): Likewise.
27355         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
27356         wcscoll.
27357         * posix/regexec.c (check_node_accept_bytes): Likewise.
27358         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
27359         variable.
27360         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27361         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27363         [BZ #18507]
27364         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
27365         __fstatvfs and define as weak alias of __fstatvfs.  Use
27366         libc_hidden_weak.
27367         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
27368         and define as weak alias of __statvfs.  Use libc_hidden_weak.
27369         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
27370         Define as alias of __fstatvfs, not fstatvfs.
27371         (fstatvfs64): Likewise.
27372         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
27373         Define as alias of __statvfs, not statvfs.
27374         (statvfs64): Likewise.
27375         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
27376         Remove variable.
27378 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27381         (HAVE_GETCPU_VSYSCALL): Define.
27382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27383         (HAVE_GETCPU_VSYSCALL): Likewise.
27384         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
27385         * sysdeps/unix/sysv/linux/sched_getcpu.c
27386         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
27387         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
27388         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
27389         prototype.
27390         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27391         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
27392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
27393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
27394         Define.
27395         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
27396         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27397         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
27398         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27400 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
27402         * sysdeps/x86_64/fpu/Makefile: New file.
27403         * sysdeps/x86_64/fpu/Versions: New file.
27404         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
27405         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
27406         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
27407         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
27408         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
27409         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
27410         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
27411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
27412         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
27413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
27414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
27415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
27416         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
27417         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27418         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27419         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
27420         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
27421         * sysdeps/x86_64/configure.ac: Options for libmvec build.
27422         * sysdeps/x86_64/configure: Regenerated.
27423         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
27424         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
27425         * manual/install.texi (Configuring and compiling): Document
27426         --disable-mathvec.
27427         * INSTALL: Regenerated.
27428         * NEWS: Mention addition of libmvec and x86_64 vector cos.
27430         * math/Makefile: Added rules for vector tests.
27431         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
27432         declaration under condition.
27433         * math/test-double-vlen2.h: New file.
27434         * math/test-double-vlen4.h: New file.
27435         * math/test-double-vlen8.h: New file.
27436         * math/test-vec-loop.h: Added initialization macro.
27437         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
27438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
27439         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
27440         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
27441         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
27442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
27443         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
27444         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
27445         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
27446         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
27447         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
27449         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27450         * sysdeps/x86_64/fpu/Versions: New versions added.
27451         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
27452         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
27453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
27454         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
27455         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
27456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
27457         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
27458         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
27459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
27460         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
27461         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
27462         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
27463         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
27464         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27465         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27466         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27467         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
27468         * NEWS: Mention addition of x86_64 vector cosf.
27470         * math/Makefile: Added CFLAGS for new tests.
27471         * math/test-float-vlen16.h: New file.
27472         * math/test-float-vlen4.h: New file.
27473         * math/test-float-vlen8.h: New file.
27474         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
27475         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
27476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27477         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
27478         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
27479         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
27480         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
27481         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
27482         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
27483         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
27484         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
27486 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
27488         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
27489         * locale/programs/ld-ctype.c: Likewise.
27491 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
27493         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
27494         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
27495         bit_ZMM16_31_state): New macro.
27496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27497         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
27499 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
27501         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
27503 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
27505         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
27507 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
27509         [BZ #18498]
27510         * libio/memstream.c (open_memstream): Rename to __open_memstream
27511         and define as weak alias of __open_memstream.
27512         * include/stdio.h (__open_memstream): Declare.  Use
27513         libc_hidden_proto.
27514         (open_memstream): Don't use libc_hidden_proto.
27515         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
27516         open_memstream.
27517         * posix/getopt.c (_getopt_internal_r): Likewise.
27518         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
27519         variable.
27520         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27521         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27522         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27524         [BZ #18496]
27525         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
27526         instead of wcrtomb.
27528         [BZ #18483]
27529         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
27530         [__USE_XOPEN2K8].  Remove redundant #endif.
27531         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
27532         Remove redundant #if.
27533         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
27534         Remove variable.
27535         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27536         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27538         [BZ #18495]
27539         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
27540         (__iswlower): Likewise.
27541         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
27542         (__iswlower): Likewise.
27543         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
27544         instead of towlower.
27545         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
27546         instead of iswlower.  Call __towupper instead of towupper.
27547         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
27548         instead of iswalnum.
27550 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27552         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
27553         errors to stderr.
27555 2015-06-05  Florian Weimer  <fweimer@redhat.com>
27557         [BZ #15661]
27558         [BZ #17322]
27559         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
27560         Check for overflow properly.  Check for O_APPEND.  Ignore large
27561         file system block sizes.  Add comments about problems.
27562         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
27563         * manual/filesys.texi (Storage Allocation): New node.
27565 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27567         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
27568         cancellable syscalls.
27569         (SYS_ify): Add guard to no redefine it.
27570         (INLINE_SYSCALL): Likewise.
27571         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
27572         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
27573         SYSCALL_CANCEL instead.
27574         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
27575         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27576         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27577         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27578         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27579         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
27580         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
27581         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
27582         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
27583         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
27584         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
27585         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
27586         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
27587         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
27588         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
27589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27590         Likewise.
27591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27592         (__libc_pread64): Likewise.
27593         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
27594         (__libc_preadv): Likewise.
27595         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
27596         (__libc_readv64): Likewise.
27597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27598         (__libc_pwrite): Likewise.
27599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27600         (__libc_pwrite64): Likewise.
27601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
27602         (__libc_pwritev): Likewise.
27603         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
27604         (__libc_pwritev64): Likewise.
27605         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
27606         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27607         (sync_file_range): Likewise.
27608         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
27609         Likewise.
27610         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
27611         Likewise.
27612         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27613         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27614         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27615         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27616         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27617         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27618         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
27619         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
27620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27621         Likewise.
27622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27623         (__libc_read64): Likewise.
27624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
27625         Likewise.
27626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
27627         Likewise.
27628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
27629         Likewise.
27630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
27631         Likewise.
27632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27633         (__libc_pread64): Likewise.
27634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
27635         Likewise.
27636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27637         (__libc_pwrite64): Likewise.
27638         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
27639         (sync_file_range): Likewise.
27640         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
27641         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27642         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27643         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
27644         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
27645         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27646         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27647         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
27648         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
27649         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
27650         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27651         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27652         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27653         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27654         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
27655         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27656         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27657         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27658         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27659         Likewise.
27660         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
27661         Likewise.
27662         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
27663         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
27664         Likewise.
27665         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
27666         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
27667         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
27668         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
27669         Likewise.
27670         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
27671         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
27672         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
27673         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
27674         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
27676 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
27678         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
27679         Include dl-vdso.
27680         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
27681         Use VDSO routines for gettimeofday, clock_gettime if
27682         available.
27683         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
27684         Declare VDSO symbols.
27685         * sysdeps/unix/sysv/linux/arm/sysdep.h:
27686         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
27687         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
27688         * sysdeps/unix/sysv/linux/arm/Versions: Add
27689         __vdso_clock_gettime.
27691 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27693         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
27694         be an inline implementation regardless of library is built within.
27695         (open_not_cancel_2): Likewise.
27696         (__read_nocancel): Likewise.
27697         (__write_nocancel): Likewise.
27698         (openat_not_cancel): Likewise.
27699         (openat_not_cancel_3): Likewise.
27700         (openat64_not_cancel): Likewise.
27701         (openat64_not_cancel_3): Likewise.
27702         (__close_nocancel): Likewise.
27703         (pause_not_cancel): Likewise.
27704         (nanosleep_not_cancel): Likewise.
27705         (sigsuspend_not_cancel): Likewise.
27707 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27709         [BZ #14958]
27710         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
27711         wake-up.
27712         (__pthread_rwlock_rdlock_slow): Likewise.
27713         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27714         Likewise.
27715         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27716         Likewise.
27717         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
27718         * nptl/tst-rwlock16.c: New file.
27719         * nptl/Makefile (tests): Add new test.
27721 2015-06-04  Torvald Riegel  <triegel@redhat.com>
27723         [BZ #18324]
27724         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
27725         missing wake-up of readers.
27726         * nptl/tst-rwlock15.c: New file.
27727         * nptl/Makefile (tests): Add new test.
27729 2015-06-03  Roland McGrath  <roland@hack.frob.com>
27731         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
27732         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
27733         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
27734         and __nacl_supply_interface_rtld.
27735         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
27736         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
27737         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
27738         Add __nacl_supply_interface_rtld.
27739         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
27741 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27743         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
27744         isfinite.
27745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27746         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
27748 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
27750         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
27751         __signbit* with standard C99 macros.
27752         * math/e_exp10l.c: Likewise.
27753         * math/e_exp2l.c: Likewise.
27754         * math/e_scalb.c: Likewise.
27755         * math/e_scalbf.c: Likewise.
27756         * math/e_scalbl.c: Likewise.
27757         * math/s_ldexp.c: Likewise.
27758         * math/s_ldexpf.c: Likewise.
27759         * math/s_ldexpl.c: Likewise.
27760         * math/w_atan2.c: Likewise.
27761         * math/w_atan2f.c: Likewise.
27762         * math/w_atan2l.c: Likewise.
27763         * math/w_cosh.c: Likewise.
27764         * math/w_coshf.c: Likewise.
27765         * math/w_coshl.c: Likewise.
27766         * math/w_exp10.c: Likewise.
27767         * math/w_exp10f.c: Likewise.
27768         * math/w_exp10l.c: Likewise.
27769         * math/w_exp2.c: Likewise.
27770         * math/w_exp2f.c: Likewise.
27771         * math/w_exp2l.c: Likewise.
27772         * math/w_fmod.c: Likewise.
27773         * math/w_fmodf.c: Likewise.
27774         * math/w_fmodl.c: Likewise.
27775         * math/w_hypot.c: Likewise.
27776         * math/w_hypotf.c: Likewise.
27777         * math/w_hypotl.c: Likewise.
27778         * math/w_jnl.c: Likewise.
27779         * math/w_lgamma.c: Likewise.
27780         * math/w_lgamma_r.c: Likewise.
27781         * math/w_lgammaf.c: Likewise.
27782         * math/w_lgammaf_r.c: Likewise.
27783         * math/w_lgammal.c: Likewise.
27784         * math/w_lgammal_r.c: Likewise.
27785         * math/w_pow.c: Likewise.
27786         * math/w_powf.c: Likewise.
27787         * math/w_powl.c: Likewise.
27788         * math/w_remainder.c: Likewise.
27789         * math/w_remainderf.c: Likewise.
27790         * math/w_remainderl.c: Likewise.
27791         * math/w_scalb.c: Likewise.
27792         * math/w_scalbf.c: Likewise.
27793         * math/w_scalbl.c: Likewise.
27794         * math/w_scalbln.c: Likewise.
27795         * math/w_scalblnf.c: Likewise.
27796         * math/w_scalblnl.c: Likewise.
27797         * math/w_sinh.c: Likewise.
27798         * math/w_sinhf.c: Likewise.
27799         * math/w_sinhl.c: Likewise.
27800         * math/w_tgamma.c: Likewise.
27801         * math/w_tgammaf.c: Likewise.
27802         * math/w_tgammal.c: Likewise.
27803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27804         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
27805         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27807         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27809         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27810         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27811         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27812         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27813         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27814         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27815         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27816         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27818         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27819         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27820         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27821         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27822         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27824         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27825         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27826         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27827         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27828         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27829         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
27830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27831         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27832         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27833         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
27834         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
27835         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
27836         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
27837         * stdio-common/printf_fp.c: Likewise.
27838         * stdio-common/printf_fphex.c: Likewise.
27839         * stdio-common/printf_size.c: Likewise.
27841 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
27843         [BZ #18470]
27844         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
27845         strnlen.
27846         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
27847         Remove variable.
27848         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27849         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27850         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27851         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27852         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27853         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27854         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27855         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27856         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27857         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27859         [BZ #18468]
27860         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
27861         weak alias of __wmemchr.  Use libc_hidden_weak.
27862         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
27863         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
27864         instead of wmemchr.
27866 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27868         [BZ #18383]
27869         * elf/tst-tlsalign-extern.c: New file.
27870         * elf/tst-tlsalign-extern-static.c: New file.
27871         * elf/tst-tlsalign-vars.c: New file.
27872         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
27873         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
27874         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
27875         ($(objpfx)tst-tlsalign-extern-static): Likewise.
27876         (test-xfail-tst-tlsalign-extern-static): New variable.
27878 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
27880         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
27881         Use variable name _sc_err instead of err.
27882         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
27883         instead of ret.
27884         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
27885         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
27886         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
27887         (INLINE_SYSCALL): Likewise.
27889         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
27890         * include/string.h (__strnlen): Use libc_hidden_proto.
27891         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
27892         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
27893         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
27894         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
27895         (libc_hidden_def): Undefine and redefine.
27896         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
27897         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
27898         __GI_strnlen.
27899         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
27900         libc_hidden_def.
27901         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
27903         [BZ #18469]
27904         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
27905         weak alias of __towlower.  Use libc_hidden_weak.
27906         (towupper): Rename to __towupper and define as weak alias of
27907         __towupper.  Use libc_hidden_weak.
27908         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
27909         (__towupper): Likewise.
27910         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
27911         __towlower instead of towlower.
27913 2015-06-02  Roland McGrath  <roland@hack.frob.com>
27915         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
27916         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
27918 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27920         * sysdeps/aarch64/libm-test-ulps: Update.
27922 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27924         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
27925         Define.
27926         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27927         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27928         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
27929         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
27930         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
27931         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
27932         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
27934 2015-06-01  Martin Sebor  <msebor@redhat.com>
27936         [BZ #18116]
27937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27938         (__setcontext): Use extended four-operand version of mtsf whenever
27939         possible.
27940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27941         (__novec_swapcontext): Likewise.
27943 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27945         * benchtests/scripts/compare_bench.py: New file.
27946         * benchtests/scripts/import_bench.py (mean): New function.
27947         (split_list): Likewise.
27948         (do_for_all_timings): Likewise.
27949         (compress_timings): Likewise.
27951         * benchtests/scripts/import_bench.py: New file.
27952         * benchtests/scripts/validate_benchout.py: Import import_bench
27953         instead of jsonschema.
27954         (validate_bench): Remove function.
27955         (main): Use import_bench.
27957 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
27959         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
27960         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
27962 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27966 2015-05-28  Roland McGrath  <roland@hack.frob.com>
27968         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
27969         set THREAD_SELF->tid to a magic value and futex-wake it.
27970         Pass its address to the thread_exit system call.
27971         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
27972         bit is clear.
27973         * sysdeps/nacl/lowlevellock.h: New file.
27974         * sysdeps/nacl/lll_timedwait_tid.c: New file.
27976         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
27977         Add TIMEOUT to current time, don't subtract it.
27979 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
27981         [BZ #2981]
27982         [BZ #18422]
27983         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
27984         ($(objpfx)tst-audit2.out): Also depend on
27985         $(objpfx)tst-auditmod9b.so.
27986         * elf/tst-audit2.c: Include <dlfcn.h>.
27987         (calloc_called): New.
27988         (calloc): Allow to be called more than once.
27989         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
27991 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
27993         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
27994         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
27996 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
27998         * stdlib/monetary.h: Fix comment.
28000 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
28002         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
28003         Avoid using variables in #defines that might cause shadowing.
28004         (INTERNAL_VSYSCALL_CALL): Likewise.
28006 2015-05-26  Roland McGrath  <roland@hack.frob.com>
28008         * sysdeps/nacl/lll_timedlock_wait.c: New file.
28010         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
28011         * nptl/lll_timedlock_wait.c: ... to this new file.
28012         * nptl/Makefile (libpthread-routines): Add it.
28013         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
28014         * nptl/lll_timedwait_tid.c: ... to this new file.
28015         * nptl/Makefile (libpthread-routines): Add it.
28016         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
28017         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
28018         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
28019         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
28020         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
28021         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
28022         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
28023         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
28024         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
28025         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
28027 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28029         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
28030         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28031         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28032         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
28033         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
28034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28035         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28037         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28038         * sysdeps/unix/sysv/linux/tile/sysdep.h
28039         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28040         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
28041         using vDSO syscall macro.
28043 2015-05-26  Andriy Rysin  <arysin@gmail.com>
28045         [BZ #17293]
28046         * uk_UA: Fix sorting order for Ukrainian locale
28048 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
28050         * stdlib/monetary.h: Fix comment.
28052 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28054         [BZ #18234]
28055         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
28056         st_mtim and st_ctim members.
28057         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
28058         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
28059         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
28060         (struct stat64): Likewise.
28061         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
28062         (struct stat64): Likewise.
28063         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
28064         (struct stat64): Likewise.
28066 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28068         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
28069         Define and include sysdep-vdso.h.
28070         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
28071         Likewise.
28072         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
28073         Likewise.
28074         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
28075         Define with VDSO_SYMBOL and use PTR_MANGLE.
28076         (__vdso_clock_gettime): Likewise.
28077         (__vdso_clock_getres): Likewise.
28078         (_libc_vdso_platform_setup): Likewise.
28079         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28080         Likewise.
28081         (_libc_vdso_platform_setup): Likewise.
28082         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
28083         Likewise.
28084         (__vdso_clock_gettime): Likewise.
28085         (__vdso_clock_getres): Likewise.
28086         (__vdso_get_tbfreq): Likewise.
28087         (__vdso_getcpu): Likewise.
28088         (__vdso_time): Likewise.
28089         (__vdso_sigtramp_rt64): Likewise.
28090         (__vdso_signtramp32): Likewise.
28091         (__vdso_sigtramp_rt32): Likewise.
28092         (_libc_vdso_platform_setup): Likewise.
28093         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
28094         Likewise.
28095         (__vdso_clock_gettime): Likewise.
28096         (__vdso_clock_getres): Likewise.
28097         (_libc_vdso_platform_setup): Likewise.
28098         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
28099         Likewise.
28100         (__vdso_clock_gettime): Likewise.
28101         (_libc_vdso_platform_setup): Likewise.
28102         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
28103         Likewise.
28104         (__vdso_getcpu): Likewise.
28105         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
28106         Use VDSO_SYMBOL macro to define.
28107         (__vdso_clock_gettime): Likewise.
28108         (__vdso_clock_getres): Likewise.
28109         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
28110         Likewise.
28111         (__vdso_clock_gettime): Likewise.
28112         (__vdso_clock_getres): Likewise.
28113         (__vdso_get_tbfreq): Likewise.
28114         (__vdso_getcpu): Likewise.
28115         (__vdso_time): Likewise.
28116         (__vdso_sigtramp_rt64): Likewise.
28117         (__vdso_signtramp32): Likewise.
28118         (__vdso_sigtramp_rt32): Likewise.
28119         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
28120         Likewise.
28121         (__vdso_clock_gettime): Likewise.
28122         (__vdso_clock_getres): Likewise.
28123         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
28124         Likewise.
28125         (__vdso_clock_gettime): Likewise.
28126         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28127         Likewise.
28128         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
28129         macro.
28130         (INTERNAL_VSYSCALL): Likewise.
28131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
28132         Remove macro.
28133         (INTERNAL_VSYSCALL): Likewise.
28134         (INTERNAL_VSYSCALL_NCS): Likewise.
28135         (INTERNAL_VSYSCALL_CALL): New macro.
28136         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
28138         Likewise.
28139         (INTERNAL_VSYSCALL): Likewise.
28140         (INTERNAL_VSYSCALL_NCS): Likewise.
28141         (INTERNAL_VSYSCALL_CALL): New macro.
28142         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
28143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28144         (INLINE_VSYSCALL): Remove macro.
28145         (INTERNAL_VSYSCALL): Remove macro.
28146         (INTERNAL_VSYSCALL_NCS): Remove macro.
28147         (INTERNAL_VSYSCALL_CALL): New macro.
28148         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
28149         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
28150         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28151         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
28152         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28154         (INLINE_VSYSCALL): Remove macro.
28155         (INTERNAL_VSYSCALL): Likewise.
28156         (INTERNAL_VSYSCALL_NCS): Likewise.
28157         (INTERNAL_VSYSCALL_CALL): New macro.
28158         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
28159         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
28160         PTR_DEMANGLE on vDSO pointer.
28161         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
28162         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
28163         macro.
28164         (INTERNAL_SYSCALL): Likewise.
28165         (INTERNAL_VSYSCALL_NCS): Remove macro.
28166         (INTERNAL_VSYSCALL_CALL): New macro.
28167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
28168         Remove macro.
28169         (INTERNAL_VSYSCALL): Likewise.
28170         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
28171         sysdep-vdso.h instead of libc-vdso.h.
28172         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
28173         definition.
28174         (INLINE_VSYSCALL): Likewise.
28175         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
28176         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
28177         definition.
28178         (INLINE_VSYSCALL): Likewise.
28179         (INTERNAL_VSYSCALL): Likewise.
28180         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28181         * sysdeps/unix/sysv/linux/timespec_get.c
28182         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28183         (timespec_get): Use ANSI prototype.
28184         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
28185         and definition for Linux.
28187 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28189         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
28190         * include/libc-symbols.h: libmvec_hidden_* macro series added.
28192 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
28194         [BZ #2981]
28195         [BZ #18410]
28196         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
28197         for missing DT_PLTRELSZ.
28199 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
28201         Remove obsolete aliases that broke 'locale -a'
28202         [BZ #18412]
28203         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
28204         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
28205         breaking some applications that use 'locale -a' output.
28206         Change the encoding of this file from Latin-1 to ASCII to avoid
28207         other potential problems with people grepping this file.
28209 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28211         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
28212         -fasynchronous-unwind-tables.
28213         (CFLAGS-sendto.c): Likewise.
28214         (CFLAGS-sendmsg.c): Likewise.
28215         (CFLAGS-connect.c): Likewise.
28216         (CFLAGS-recvmsg.c): Likewise.
28217         (CFLAGS-recvfrom.c): Likewise.
28218         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
28219         (SOCKETCALL): New macro: non-cancellable socketcall.
28220         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
28221         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
28222         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
28223         * sysdeps/unix/sysv/linux/accept.c: New file.
28224         * sysdeps/unix/sysv/linux/bind.c: Likewise.
28225         * sysdeps/unix/sysv/linux/connect.c: Likewise.
28226         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
28227         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
28228         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
28229         * sysdeps/unix/sysv/linux/listen.c: Likewise.
28230         * sysdeps/unix/sysv/linux/recv.c: Likewise.
28231         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
28232         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
28233         * sysdeps/unix/sysv/linux/send.c: Likewise.
28234         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
28235         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
28236         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
28237         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
28238         * sysdeps/unix/sysv/linux/socket.c: Likewise.
28239         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
28240         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
28241         prototype.
28242         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
28243         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28244         instead of __internal_xxx function.
28245         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
28246         prototype.
28247         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
28248         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28249         instead of __internal_xxx function.
28250         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
28251         prototype.
28252         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
28253         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
28254         instead of __internal_xxx function.
28255         * sysdeps/unix/sysv/linux/accept.S: Remove file.
28256         * sysdeps/unix/sysv/linux/bind.S: Likewise.
28257         * sysdeps/unix/sysv/linux/connect.S: Likewise.
28258         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
28259         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
28260         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
28261         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
28262         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
28263         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
28264         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
28265         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
28266         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28267         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
28268         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
28269         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
28270         * sysdeps/unix/sysv/linux/listen.S: Likewise.
28271         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
28272         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
28273         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
28274         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
28275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
28276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
28277         * sysdeps/unix/sysv/linux/recv.S: Likewise.
28278         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
28279         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
28280         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
28281         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28282         * sysdeps/unix/sysv/linux/send.S: Likewise.
28283         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
28284         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
28285         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
28286         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
28287         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
28288         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
28289         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
28290         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
28291         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
28292         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
28293         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
28294         socketcall is implemented in GLIBC.
28296 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28298         * soft-fp/fmadf4.c: Include <libc-internal.h>.
28299         (__fma): Ignore uninitialized warnings around packing.
28300         * soft-fp/fmasf4.c: Include <libc-internal.h>.
28301         (__fmaf): Ignore uninitialized warnings around packing.
28302         * soft-fp/fmatf4.c: Include <libc-internal.h>.
28303         (__fmal): Ignore uninitialized warnings around packing.
28305         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
28306         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28307         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
28308         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28310         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
28311         switch statement into default case.
28312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
28314         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
28315         a conditional in forcing "inexact".
28316         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28317         Likewise.
28319 2015-05-22  Roland McGrath  <roland@hack.frob.com>
28321         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28322         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
28323         for each INTERNAL_SYSCALL use.
28325 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
28327         [BZ #438]
28328         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
28329         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
28330         variable.
28332         [BZ #18444]
28333         * string/basename.c (basename): Rename to __basename and define as
28334         weak alias of __basename.  Use libc_hidden_weak.
28335         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
28336         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
28337         __basename instead of basename.
28338         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
28339         Remove variable.
28340         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28342 2015-05-18  Florian Weimer  <fweimer@redhat.com>
28344         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
28345         (_IO_JUMPS_FILE_plus): New.
28346         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
28347         _IO_CAST_FIELD_ACCESS.
28348         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
28349         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
28350         * libio/freopen.c (freopen): Likewise.
28351         * libio/freopen64.c (freopen64): Likewise.
28352         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
28353         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
28354         * libio/iofwide.c (_IO_fwide): Likewise.
28355         * libio/memstream.c (open_memstream): Likewise.
28356         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28357         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28358         * libio/oldiopopen.c (_IO_old_popen): Likewise.
28360 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
28362         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
28363         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
28364         NADJ.
28365         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
28366         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
28367         NADJ.
28368         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
28369         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
28370         NADJ.
28372         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
28373         (p == 4) case.
28375         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
28376         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
28377         Remove variable.
28378         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28379         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28380         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28382 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28384         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
28385         Adjust jump table label generation macros.
28387 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28389         * stdio-common/vfprintf.c (vfprintf): Move local variables
28390         args_malloced, specs, specs_malloced, and the code after
28391         do_positional to the printf_positional function.
28392         (printf_positional): New function.
28394 2015-05-21  Florian Weimer  <fweimer@redhat.com>
28396         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
28397         function.
28398         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
28399         STEP4_TABLE, process_arg): Move macro definitions
28400         out of the vfprintf function.  (Cosmetic change only.)
28402 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
28404         * benchtests/Makefile (stdio-common-bench): Define.
28405         (benchset): Add stdio-common-bench.
28406         * sprintf-inputs: New file.
28407         * sprintf-source.c: New file.
28409 2015-05-21  Andreas Schwab  <schwab@suse.de>
28411         [BZ #13028]
28412         [BZ #17053]
28413         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
28414         of struct __res_state.
28415         * resolv/res_send.c (__libc_res_nsend): Likewise.
28416         (get_nsaddr): New function.
28417         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
28418         statp directly.
28420 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
28422         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
28423         -D_POSIX_C_SOURCE=199506L.
28425         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
28427         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
28428         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
28429         Do not mention otherwise.
28430         [POSIX] (_XOPEN_VERSION): Do not expect.
28431         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
28432         [POSIX] (_POSIX2_C_BIND): Likewise.
28433         [POSIX] (_POSIX2_VERSION): Likewise.
28434         [POSIX] (_XOPEN_XPG2): Likewise.
28435         [POSIX] (_XOPEN_XPG3): Likewise.
28436         [POSIX] (_XOPEN_XPG4): Likewise.
28437         [POSIX] (_XOPEN_UNIX): Likewise.
28438         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
28439         [POSIX] (_POSIX_BARRIERS): Likewise.
28440         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
28441         [POSIX] (_POSIX_CPUTIME): Likewise.
28442         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
28443         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
28444         [POSIX] (_POSIX_SHELL): Likewise.
28445         [POSIX] (_POSIX_SPAWN): Likewise.
28446         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28447         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
28448         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
28449         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
28450         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
28451         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28452         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
28453         [POSIX] (_XBS5_LP64_OFF64): Likewise.
28454         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
28455         [POSIX] (_POSIX_TIMEOUTS): Likewise.
28456         [POSIX] (_POSIX2_PBS): Likewise.
28457         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
28458         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
28459         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
28460         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
28461         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
28462         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
28463         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
28464         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
28465         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
28466         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
28467         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
28468         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
28469         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
28470         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
28471         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
28472         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
28473         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
28474         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
28475         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
28476         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
28477         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
28478         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
28479         [POSIX] (_SC_2_C_BIND): Likewise.
28480         [POSIX] (_SC_2_C_VERSION): Likewise.
28481         [POSIX] (_SC_2_PBS): Likewise.
28482         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
28483         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
28484         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
28485         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
28486         [POSIX] (_SC_2_PBS_TRACK): Likewise.
28487         [POSIX] (_SC_ATEXIT_MAX): Likewise.
28488         [POSIX] (_SC_BARRIERS): Likewise.
28489         [POSIX] (_SC_BASE): Likewise.
28490         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
28491         [POSIX] (_SC_DEVICE_IO): Likewise.
28492         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
28493         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
28494         [POSIX] (_SC_FD_MGMT): Likewise.
28495         [POSIX] (_SC_FIFO): Likewise.
28496         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
28497         [POSIX] (_SC_FILE_LOCKING): Likewise.
28498         [POSIX] (_SC_FILE_SYSTEM): Likewise.
28499         [POSIX] (_SC_IOV_MAX): Likewise.
28500         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
28501         [POSIX] (_SC_NETWORKING): Likewise.
28502         [POSIX] (_SC_PAGE_SIZE): Likewise.
28503         [POSIX] (_SC_PASS_MAX): Likewise.
28504         [POSIX] (_SC_PIPE): Likewise.
28505         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
28506         [POSIX] (_SC_REGEXP): Likewise.
28507         [POSIX] (_SC_SHELL): Likewise.
28508         [POSIX] (_SC_SIGNALS): Likewise.
28509         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
28510         [POSIX] (_SC_SPIN_LOCKS): Likewise.
28511         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
28512         [POSIX] (_SC_USER_GROUPS): Likewise.
28513         [POSIX] (_SC_USER_GROUPS_R): Likewise.
28514         [POSIX] (_SC_STREAMS): Likewise.
28515         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
28516         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
28517         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
28518         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
28519         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
28520         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
28521         [POSIX] (_PC_FILESIZEBITS): Likewise.
28522         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
28523         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
28524         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
28525         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
28526         [POSIX] (uid_t): Likewise.
28527         [POSIX] (gid_t): Likewise.
28528         [POSIX] (off_t): Likewise.
28529         [POSIX] (pid_t): Likewise.
28530         [POSIX] (cuserid): Allow.
28531         (_SC_2_CHAR_TERM): Require constant.
28532         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
28533         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
28534         variable.
28536 2015-05-20  Roland McGrath  <roland@hack.frob.com>
28538         * sysdeps/nacl/pthread-pids.h: New file.
28539         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
28540         (create_thread): Use __nacl_get_tid to initialize PD->tid.
28542         * nptl/pthread-pids.h: New file.
28543         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
28544         * nptl/nptl-init.c: Include <pthread-pids.h>.
28545         (__pthread_initialize_minimal_internal):
28546         Call __pthread_initialize_pids instead of set_tid_address syscall.
28548         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
28549         * sysdeps/posix/usleep.c: ... here.
28551 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28553         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
28554         call_pselect6 object.
28555         [$(subdir) = io]: Remove call_sync_file_range object.
28556         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
28557         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
28558         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
28559         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
28561 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
28563         * math/s_cproj.c: Add include "math_private.h".
28564         * math/s_cprojf.c: Likewise.
28565         * math/s_cprojl.c: Likewise.
28567 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
28569         [BZ #18244]
28570         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
28571         high mantissa bit when testing whether P is a NaN.
28572         * math/libm-test.inc (remainder_test_data): Add more tests.
28573         (remquo_test_data): Likewise.
28575         [BZ #18049]
28576         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
28577         below -32, return the argument, with underflow if subnormal.
28578         * math/auto-libm-test-in: Add more tests of atanh.
28579         * math/auto-libm-test-out: Regenerated.
28581 2015-05-19  Roland McGrath  <roland@hack.frob.com>
28583         [BZ #18434]
28584         * nptl/tst-sem15.c: New file.
28585         * nptl/Makefile (tests): Add it.
28586         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
28587         s/<</>>/ to fix typo in EOVERFLOW check.
28588         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
28590 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28592         * manual/strings.texi (envz_remove): Fix typo in safety
28593         annotations.
28595 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
28596             Steve Ellcey  <sellcey@imgtec.com>
28598         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
28599         in order to avoid strict alias warnings.
28600         (iruserok_af): Ditto for ra.
28602 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
28604         [BZ #17581]
28605         * malloc/hooks.c
28606         (magicbyte): Convert to a function and avoid returning 0x01.
28607         (mem2mem_check): Avoid using a length byte equal to the magic byte.
28608         (mem2chunk_check): Fix unsigned comparisons to zero.
28609         Hoist defs of sz and magic.
28611 2015-05-19  Richard Henderson  <rth@redhat.com>
28613         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
28615         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28617 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28619         [BZ #16159]
28620         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
28621         * malloc/arena.c (arena_lock): Check if arena is corrupt.
28622         (reused_arena): Find a non-corrupt arena.
28623         (heap_trim): Pass arena to unlink.
28624         * malloc/hooks.c (malloc_check_get_size): Pass arena to
28625         malloc_printerr.
28626         (top_check): Likewise.
28627         (free_check): Likewise.
28628         (realloc_check): Likewise.
28629         * malloc/malloc.c (malloc_printerr): Add arena argument.
28630         (unlink): Likewise.
28631         (munmap_chunk): Adjust.
28632         (ARENA_CORRUPTION_BIT): New macro.
28633         (arena_is_corrupt): Likewise.
28634         (set_arena_corrupt): Likewise.
28635         (sysmalloc): Use mmap if there are no usable arenas.
28636         (_int_malloc): Likewise.
28637         (__libc_malloc): Don't fail if arena_get returns NULL.
28638         (_mid_memalign): Likewise.
28639         (__libc_calloc): Likewise.
28640         (__libc_realloc): Adjust for additional argument to
28641         malloc_printerr.
28642         (_int_free): Likewise.
28643         (malloc_consolidate): Likewise.
28644         (_int_realloc): Likewise.
28645         (_int_memalign): Don't touch corrupt arenas.
28646         * malloc/tst-malloc-backtrace.c: New test case.
28648         * Makefile (summarize-tests): Fix return value on success.
28650         * manual/string.texi (Envz Functions): Add envz_remove.
28652 2015-05-18  Roland McGrath  <roland@hack.frob.com>
28654         * sysdeps/posix/opendir.c: Include <stdbool.h>.
28655         (invalid_name): New function, broken out of ...
28656         (__opendirat): ... here.  Call it.
28657         (need_isdir_precheck): New function, broken out of ...
28658         (__opendirat): ... here.  Call it.
28659         Use __fxstatat64, not __xstatat64.
28660         (opendir_oflags): New function, broken out of ...
28661         (__opendirat): ... here.  Call it.
28662         (opendir_tail): New function, broken out of ...
28663         (__opendirat): ... here.  Call it.
28664         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
28665         opendir_tail, rather than punting to __opendirat.
28666         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
28668 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28670         * .gitignore: Ignore generated *.pyc.
28672 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
28674         * include/stdio.h: Define __need_wint_t.
28675         * test-skeleton.c: Avoid `for' loop initial declaration.
28676         * nptl/tst-initializers1.c: Use test-skeleton.c.
28678 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28680         [BZ #18418]
28681         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
28683 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28685         [BZ #16352]
28686         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
28687         (__ieee754_atanh): Force underflow exception for results with
28688         small absolute value.
28689         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
28690         (__ieee754_atanhf): Force underflow exception for results with
28691         small absolute value.
28692         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
28693         (__ieee754_atanh): Force underflow exception for results with
28694         small absolute value.
28695         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
28696         (__ieee754_atanhf): Force underflow exception for results with
28697         small absolute value.
28698         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
28699         (__ieee754_atanhl): Force underflow exception for results with
28700         small absolute value.
28701         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
28702         (__ieee754_atanhl): Force underflow exception for results with
28703         small absolute value.
28704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
28705         (__ieee754_atanhl): Force underflow exception for results with
28706         small absolute value.
28707         * math/auto-libm-test-in: Do not allow missing underflow
28708         exceptions from atanh.
28709         * math/auto-libm-test-out: Regenerated.
28711         [BZ #18221]
28712         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
28713         2**-28 as threshold for returning x or +/- 1/x.
28714         * math/auto-libm-test-in: Add more tests of tan.
28715         * math/auto-libm-test-out: Regenerated.
28717         [BZ #18220]
28718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28719         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
28720         * math/auto-libm-test-in: Add another test of lgamma.
28721         * math/auto-libm-test-out: Regenerated.
28723 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
28725         * stdio-common/printf_fp.c (___printf_fp): Use abs.
28726         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
28727         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
28728         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
28729         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
28730         (ADD2A): Use fabs.  (SUB2A): Use fabs.
28731         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
28732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
28733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
28734         (log1): Use fabs.  (my_log2): Use fabs.
28735         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
28736         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
28737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
28738         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
28739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
28740         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
28741         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
28742         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
28743         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
28744         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
28745         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
28747 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
28749         [BZ #18217]
28750         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
28751         as threshold for returning 1 - x.
28752         * math/auto-libm-test-in: Add more tests of erfc.
28753         * math/auto-libm-test-out: Regenerated.
28755 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
28757         [BZ #18196]
28758         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
28759         threshold for large arguments.
28760         * math/auto-libm-test-in: Add another test of atan.
28761         * math/auto-libm-test-out: Regenerated.
28763         [BZ #16339]
28764         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
28765         (__log1p): Force underflow exception for results with small
28766         absolute value.
28767         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
28768         (__log1pf): Force underflow exception for results with small
28769         absolute value.
28770         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
28771         (__log1p): Force underflow exception for results with small
28772         absolute value.
28773         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
28774         (__log1pf): Force underflow exception for results with small
28775         absolute value.
28776         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
28777         (__log1pl): Force underflow exception for results with small
28778         absolute value.
28779         * math/auto-libm-test-in: Do not allow missing underflow
28780         exceptions from log1p.
28781         * math/auto-libm-test-out: Regenerated.
28783 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
28784             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28786         [BZ #16704]
28787         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
28789 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
28791         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
28792         (libmvec): New variable.
28793         * configure.ac: Added option for mathvec build.
28794         * configure: Regenerated.
28795         * mathvec/Depend: New file.
28796         * mathvec/Makefile: New file.
28797         * shlib-versions: Added libmvec.
28798         * math/Makefile: Added rule for libm.so installation.
28800         * bits/math-vector.h: New file.
28801         * bits/libm-simd-decl-stubs.h: New header.
28802         * math/Makefile (headers): Added new header
28803         libm-simd-decl-stubs.h.
28804         * math/math.h (__MATHCALL_VEC): New macro.
28806         * math/gen-libm-have-vector-test.sh: Script generates series of macros
28807         for conditions in testing functions.
28808         * math/Makefile: Added call of libm-have-vector-test.sh.
28809         * math/libm-test.inc (HAVE_VECTOR): New macros.
28811         * math/libm-test.inc: START refactored.
28812         * math/test-double.c (TEST_MATHVEC): Add define.
28813         * math/test-float.c: Likewise.
28814         * math/test-idouble.c: Likewise.
28815         * math/test-ifloat.c: Likewise.
28816         * math/test-ildoubl.c: Likewise.
28817         * math/test-ldouble.c: Likewise.
28818         * sysdeps/generic/math-tests-arch.h
28819         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
28820         architecture check.
28822         * math/test-double.c (FUNC_TEST): New macro.
28823         * math/test-float.c: Likewise.
28824         * math/test-idouble.c: Likewise.
28825         * math/test-ifloat.c: Likewise.
28826         * math/test-ildoubl.c: Likewise.
28827         * math/test-ldouble.c: Likewise.
28828         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
28830 2015-05-13  Roland McGrath  <roland@hack.frob.com>
28832         * sysdeps/nacl/fdopendir.c: New file.
28834         * dirent/scandir-tail.c: New file.
28835         * dirent/scandir64-tail.c: New file.
28836         * dirent/Makefile (routines): Add them.
28837         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
28838         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
28839         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
28840         [!SCANDIR] (SCANDIR_TAIL): New macro.
28841         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
28842         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
28843         (SCANDIRAT): Macro removed.
28844         (SCANDIR_TAIL): New macro.
28845         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
28846         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
28847         (SCANDIRAT): Just call __opendirat and __scandir_tail.
28848         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
28849         (READDIR): Macro removed.
28850         (SCANDIR_TAIL): New macro.
28851         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
28852         (SCANDIR_TAIL): New macro.
28854         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
28855         * dirent/scandir-cancel.c: ... to this new file.
28856         * dirent/Makefile (routines): Add it.
28857         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
28858         * sysdeps/unix/sysv/linux/i386/scandir64.c
28859         (SKIP_SCANDIR_CANCEL): Macro removed.
28860         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
28862         * dirent/tst-scandir.c: New file.
28863         * dirent/tst-scandir64.c: New file.
28864         * dirent/Makefile (tests): Add them.
28866 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
28868         [BZ #18409]
28869         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
28871 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28873         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
28874         list.
28876 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
28878         * benchtests/bench-strcoll.c: New benchmark.
28879         * benchtests/Makefile: Generate locales and run benchmark.
28880         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
28881         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
28882         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
28883         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
28884         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
28885         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
28886         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
28887         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
28888         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
28889         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
28890         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
28891         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
28892         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
28893         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
28894         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
28895         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
28896         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
28897         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
28898         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
28899         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
28900         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
28901         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
28902         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
28903         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
28905 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
28907         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
28908         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28910 2015-05-12  Roland McGrath  <roland@hack.frob.com>
28912         * posix/uname-values.h: New file.
28913         * posix/uname.c: Include that instead of <config-name.h>.
28914         * sysdeps/nacl/uname-values.h: New file.
28915         * sysdeps/arm/nacl/uname-values.h: New file.
28917 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
28919         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
28920         splitting into fields.
28922 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
28924         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
28925         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
28926         * locale/localeinfo.h: Add enum collation_encoding_type.
28927         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
28928         * programs/ld-collate.c (collate_output): Add encoding type info.
28929         * string/strcoll_l.c (STRDIFF): New function.
28930         * (STRCOLL): Use STRDIFF to skip over equal prefix.
28931         * wcsmbs/wcscoll_l.c: Define STRDIFF.
28933 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
28935         [BZ #18397]
28936         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
28937         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
28938         <fpu_control.h> instead of <math/fpu_control.c>.
28939         * sysdeps/mips/mips32/fpu/Makefile: New file.
28941 2015-05-11  Andreas Schwab  <schwab@suse.de>
28943         [BZ #18007]
28944         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
28945         nss_endgrent.
28946         (_nss_compat_endgrent): Call nss_endgrent.
28947         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
28948         nss_endpwent.
28949         (_nss_compat_endpwent): Call nss_endpwent.
28950         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
28951         needent, call nss_setspent only if non-zero.
28952         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
28953         (internal_endspent): Don't call nss_endspent.
28954         (_nss_compat_endspent): Call nss_endspent.
28955         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
28956         Remove.  All uses removed.
28957         (internal_setent): Remove parameter stayopen, add parameter
28958         stream.  Use it instead of global variable.
28959         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
28960         (internal_endent, internal_getent): Add parameter stream.  Use it
28961         instead of global variable.
28962         (CONCAT(_nss_files_end,ENTNAME))
28963         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
28964         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
28965         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
28966         uses removed.
28967         (internal_setent, internal_endent): Add parameter stream.  Use it
28968         instead of global variable.
28969         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
28970         stream.
28971         (get_next_alias): Add parameter stream.
28972         (_nss_files_getaliasent_r): Pass global stream.
28973         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
28974         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
28975         (_nss_files_gethostbyname4_r): Pass local stream to
28976         internal_setent, internal_getent and internal_endent.  Remove
28977         locking.
28979 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28981         * tst-strfmon1.c (tests): Update expected currency symbol.
28983 2015-05-08  Roland McGrath  <roland@hack.frob.com>
28985         * sysdeps/nacl/gethostname.c: New file.
28987 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
28989         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
28990         and sinh.
28991         * math/auto-libm-test-out: Regenerated.
28992         * sysdeps/i386/fpu/libm-test-ulps: Update.
28993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28995 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
28997         [BZ #18125]
28998         * stdlib/tst-setcontext3.c: New file.
28999         * stdlib/tst-setcontext3.sh: New file.
29000         * stdlib/Makefile (tests): Add tst-setcontext3.
29001         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
29002         to verify test program created output file.
29003         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
29004         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
29005         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
29006         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
29008 2015-05-06  Roland McGrath  <roland@hack.frob.com>
29010         [BZ #18383]
29011         * elf/tst-tlsalign.c: New file.
29012         * elf/tst-tlsalign-static.c: New file.
29013         * elf/tst-tlsalign-lib.c: New file.
29014         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29015         (tests-static): Add tst-tlsalign-static.
29016         (modules-names): Add tst-tlsalign-lib.
29017         (test-xfail-tst-tlsalign): New variable.
29018         (test-xfail-tst-tlsalign-static): New variable.
29020         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
29021         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
29023 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
29025         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
29026         csqrt, erfc, sin and sincos.
29027         * math/auto-libm-test-out: Regenerated.
29028         * sysdeps/i386/fpu/libm-test-ulps: Update.
29029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29031 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29033         * sysdeps/aarch64/libm-test-ulps: Update.
29035 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
29037         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
29038         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
29039         * math/auto-libm-test-out: Regenerated.
29040         * sysdeps/i386/fpu/libm-test-ulps: Update.
29041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29043 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
29045         [BZ #18265]
29046         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
29047         (wcsncpy): Likewise.
29049 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29051         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29052         Assume __ASSUME_FALLOCATE is always true.
29053         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29054         (__posix_fallocate64_l64): Likewise.
29055         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
29056         (posix_fallocate): Likewise.
29057         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
29058         (__posix_fallocate64_l64): Likewise.
29059         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29060         [!__ASSUME_FALLOCATE]: Add comment.
29062 2015-05-05  Florian Weimer  <fweimer@redhat.com>
29064         * sysdeps/unix/sysv/linux/i386/Makefile
29065         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
29066         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
29067         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
29068         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29069         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29070         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29071         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
29073 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
29075         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
29076         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
29077         tgamma.
29078         * math/auto-libm-test-out: Regenerated.
29079         * sysdeps/i386/fpu/libm-test-ulps: Update.
29080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29082 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29084         * math/auto-libm-test-in: Add more tests of tgamma.
29085         * math/auto-libm-test-out: Regenerated.
29086         * sysdeps/i386/fpu/libm-test-ulps: Update.
29087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29089         * math/auto-libm-test-in: Add more tests of tanh.
29090         * math/auto-libm-test-out: Regenerated.
29091         * sysdeps/i386/fpu/libm-test-ulps: Update.
29092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29094         * math/auto-libm-test-in: Add more tests of tan.
29095         * math/auto-libm-test-out: Regenerated.
29096         * sysdeps/i386/fpu/libm-test-ulps: Update.
29097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29099         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
29100         * math/auto-libm-test-out: Regenerated.
29101         * sysdeps/i386/fpu/libm-test-ulps: Update.
29102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29104         * math/auto-libm-test-in: Add another test of pow.
29105         * math/auto-libm-test-out: Regenerated.
29106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29108         * math/auto-libm-test-in: Add more tests of lgamma.
29109         * math/auto-libm-test-out: Regenerated.
29110         * sysdeps/i386/fpu/libm-test-ulps: Update.
29111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29113         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
29114         log1p.
29115         * math/auto-libm-test-out: Regenerated.
29116         * sysdeps/i386/fpu/libm-test-ulps: Update.
29117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29119 2015-05-01  Mark Wielaard  <mjw@redhat.com>
29121         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
29122         Elf64_Chdr structs and ELFCOMPRESS constants.
29124 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
29126         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
29127         expm1.
29128         * math/auto-libm-test-out: Regenerated.
29129         * sysdeps/i386/fpu/libm-test-ulps: Update.
29130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29132         * math/auto-libm-test-in: Add more tests of erf and erfc.
29133         * math/auto-libm-test-out: Regenerated.
29134         * sysdeps/i386/fpu/libm-test-ulps: Update.
29135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29137 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29139         * config.h.in (HAVE_AARCH64_BE): Add.
29141 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
29143         * math/auto-libm-test-in: Add more tests of csqrt.
29144         * math/auto-libm-test-out: Regenerated.
29145         * sysdeps/i386/fpu/libm-test-ulps: Update.
29146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29148         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29149         * math/auto-libm-test-out: Regenerated.
29150         * sysdeps/i386/fpu/libm-test-ulps: Update.
29151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29153         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
29155 2015-04-29  Roland McGrath  <roland@hack.frob.com>
29157         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29158         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
29160         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
29161         (euidaccess, eaccess): Define as weak aliases.
29163         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
29164         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
29165         but __suseconds_t is often 'long int' so some sources assume that
29166         type is being used (e.g. they use %ld to print tv_usec).
29168 2015-04-29  Florian Weimer  <fweimer@redhat.com>
29170         [BZ #18007]
29171         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
29172         (CVE-2014-8121)
29173         * nss/tst-nss-getpwent.c: New file.
29174         * nss/Makefile (tests): Add new test.
29176 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
29178         [BZ #18346]
29179         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
29180         exponents less than 48 as cases where high part of mantissa needs
29181         examining to determine whether argument is integral.
29182         * math/libm-test.inc (round_test_data): Add more tests.
29184 2015-04-28  Mark Wielaard  <mjw@redhat.com>
29186         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
29188 2015-04-27  David S. Miller  <davem@davemloft.net>
29190         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
29191         __tls_get_addr.
29192         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29194 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
29196         [BZ#18333]
29197         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
29199 2015-04-27  Florian Weimer  <fweimer@redhat.com>
29201         [BZ#18333]
29202         * time/tzset.c (parse_tzname): Return error on memory allocation
29203         failure.
29204         * test-skeleton.c (struct temp_name_list): Change type of name
29205         member to non-const.
29206         (add_temp_file): Create a copy of the file name.
29207         (delete_temp_files): Deallocate memory.
29208         (create_temp_file): Add comment.
29210 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29212         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
29213         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
29215 2015-04-24  Roland McGrath  <roland@hack.frob.com>
29217         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
29218         * sysdeps/arm/configure: Regenerated.
29220 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29222         [BZ #17715]
29223         * time/tzfile.c (__tzfile_read): Check for large values of
29224         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
29225         * time/tzset.c (__tzstring_len): New function, based on the old
29226         __tzstring function.
29227         (__tzstring): Call __tzstring_len.
29228         (parse_tzname): New helper function extracted from
29229         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
29230         the input string.
29231         (parse_offset): New helper function extracted from
29232         __tzset_parse_tz.  Replace switch with fallthrough with
29233         initialization before sscanf.
29234         (parse_rule): Likewise.
29235         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
29236         new-style function definition.
29237         * timezone/Makefile (tests): Add tst-tzset.
29238         (tst-tzset.out): Dependencies on time zone files.
29239         (tst-tzset-ENV): Set TZDIR.
29240         (testdata/XT%): Copy crafted time zone files.
29241         * timezone/README: Mention crafted time zone files.
29242         * timezone/testdata/XT1, timezone/testdata/XT2,
29243         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
29244         files.
29245         * timezone/tst-tzset.c: New test.
29247 2015-04-24  Florian Weimer  <fweimer@redhat.com>
29249         * Makeconfig (+gccwarn): Remove -Winline.
29251 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29253         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
29255 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29257         * NEWS: Mention sysconf() cache information support for s390.
29258         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
29260 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
29262         * math/k_casinh.c (__kernel_casinh): Use __copysign.
29263         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
29264         (__nearbyint): Likewise.
29265         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
29266         (copysignl): Likewise.
29268 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
29270         [BZ #18287]
29271         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
29272         based on padding.  (CVE-2015-1781)
29274 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29276         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
29277         libc-vdso.h.
29278         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
29279         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
29280         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
29281         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29282         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29283         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
29284         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
29285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29286         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29287         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
29288         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29289         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29290         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29291         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
29292         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29293         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
29294         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
29295         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
29296         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
29297         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
29298         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
29299         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
29300         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
29302 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
29304         * stdlib/setenv.c (__add_to_environ):
29305         Dump core quickly if setenv (..., NULL, ...) is called.
29306         This time, do it the right way, and pacify GCC with a pragma.
29308 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29310         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
29311         IMAP->l_prev cannot be null, and #if out the code for the contrary
29312         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
29313         believe that NS (&_dl_ns[NSID]) could point outside the array.
29315         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
29316         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
29317         before using NSID as an index.
29319 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
29321         [BZ #17825]
29322         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
29323         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
29324         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29326 2015-04-17  Roland McGrath  <roland@hack.frob.com>
29328         Add preliminary port to Google Native Client on ARM.
29329         * abi-tags (.*-.*-nacl.*): New entry.
29330         * sysdeps/arm/nacl: New directory.
29331         * sysdeps/nacl: New directory.
29333 2015-04-16  David S. Miller  <davem@davemloft.net>
29335         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
29336         lowlevellock-futex.h
29338 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
29340         * sysdeps/tile/configure.ac: New file.
29341         * sysdeps/tile/configure: Regenerated.
29343 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29345         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
29346         conditionals for weak_alias and libc_hidden_weak.
29347         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
29348         libc_hidden_weak and weak_alias.
29349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
29350         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
29351         and weak_alias for static one.
29353 2015-04-15  David S. Miller  <davem@davemloft.net>
29355         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29357 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29359         [BZ #18206]
29360         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
29361           Use signed comparision instead of substraction to avoid
29362           overflow bug.
29363         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
29364           Take the sign of ret.
29365         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
29366           Do not expect precise return values. Only the sign matters.
29367         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
29368         * wcsmbs/test-wcsncmp.c: New File.
29369         * string/test-strncmp.c: Add wcsncmp support.
29371 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29373         [BZ #6792]
29374         * math/w_log1p.c: New file.
29375         * math/w_log1pf.c: Likewise.
29376         * math/w_log1pl.c: Likewise.
29377         * math/Makefile (libm-calls): Add w_log1p.
29378         * math/s_log1pl.c (log1pl): Remove weak_alias.
29379         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
29380         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
29381         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
29382         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
29383         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
29384         [NO_LONG_DOUBLE] (log1pl): Likewise.
29385         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
29386         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
29387         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
29388         (log1p): Remove long_double_symbol.
29389         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
29390         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
29391         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
29392         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
29393         remove weak_alias for corresponding log1p function.
29394         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
29395         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
29396         * sysdeps/ia64/fpu/w_log1p.c: New file.
29397         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
29398         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
29399         * math/libm-test.inc (log1p_test_data): Add errno expectations.
29401 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
29403         [BZ #18247]
29404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
29405         decimal exponent by 1.
29406         * stdlib/tst-strtod-round-data: Add more tests.
29407         * stdlib/tst-strtod-round.c (tests): Regenerated.
29409 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
29411         * math/auto-libm-test-in: Add more tests of clog and clog10.
29412         * math/auto-libm-test-out: Regenerated.
29413         * sysdeps/i386/fpu/libm-test-ulps: Update.
29414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29416 2015-04-09  Roland McGrath  <roland@hack.frob.com>
29418         * Makeconfig (module-cppflags): Exclude all .v.i files.
29419         (skip-module-cppflags): Variable removed.
29421         * configure.ac (libc_config_ok): Initialize before reading
29422         preconfigure scripts, not after.
29423         * configure: Regenerated.
29425         * test-skeleton.c (TIMEOUT): Move #define to top level.
29426         (main): Grok environment variable TEST_DIRECT.  If set, print
29427         test expectation details into that file and then behave as if
29428         given --direct.
29430 2015-04-09  Florian Weimer  <fweimer@redhat.com>
29432         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
29433         warning on 32-bit.
29435 2015-04-08  David S. Miller  <davem@davemloft.net>
29437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29439 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29441         * math/auto-libm-test-in: Add more tests of atanh.
29442         * math/auto-libm-test-out: Regenerated.
29443         * sysdeps/i386/fpu/libm-test-ulps: Update.
29444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29446         * math/auto-libm-test-in: Add more tests of atan.
29447         * math/auto-libm-test-out: Regenerated.
29448         * sysdeps/i386/fpu/libm-test-ulps: Update.
29449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29451 2015-04-08  Florian Weimer  <fweimer@redhat.com>
29453         * elf/pldd.c (main): Rewrite to use struct
29454         scratch_buffer instead of extend_alloca.
29455         * elf/pldd-xx.c (find_maps): Likewise.
29456         * grp/initgroups.c: Include <scratch_buffer.h> instead of
29457         <alloca.h>.
29458         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
29459         scratch_buffer instead of extend_alloca.
29460         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
29461         grp/compat-initgroups.c.
29462         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
29463         Rewrite to use struct scratch_buffer instead of extend_alloca.
29464         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
29465         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29467 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
29469         * math/auto-libm-test-in: Add more tests of cbrt.
29470         * math/auto-libm-test-out: Regenerated.
29471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29473         * math/auto-libm-test-in: Add more tests of cabs.
29474         * math/auto-libm-test-out: Regenerated.
29475         * sysdeps/i386/fpu/libm-test-ulps: Update.
29476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29478         [BZ #18210]
29479         [BZ #18211]
29480         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29481         (__ieee754_atan2): Set FE_TONEAREST mode for internal
29482         computations.
29483         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
29484         clog10.
29485         * math/auto-libm-test-out: Regenerated.
29486         * sysdeps/i386/fpu/libm-test-ulps: Update.
29487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29489         [BZ #18197]
29490         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
29491         (atan): Set FE_TONEAREST mode for internal computations.
29492         * math/auto-libm-test-in: Add more tests of atan.
29493         * math/auto-libm-test-out: Regenerated.
29495 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
29497         [BZ #17930]
29498         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
29500 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29502         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
29504 2015-04-07  Florian Weimer  <fweimer@redhat.com>
29506         * include/scratch_buffer.h: New file.
29507         * malloc/scratch_buffer_grow.c: Likewise.
29508         * malloc/scratch_buffer_grow_preserve.c: Likewise.
29509         * malloc/scratch_buffer_set_array_size.c: Likewise.
29510         * malloc/tst-scratch_buffer.c: Likewise.
29511         * malloc/Makefile (routines): Add scratch_buffer_grow.
29512         (tests): Add test case.
29513         * malloc/Versions (GLIBC_PRIVATE): Export
29514         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
29515         __libc_scratch_buffer_set_array_size.
29517 2015-04-06  Richard Henderson  <rth@redhat.com>
29519         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
29520         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29522         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29523         unsigned int before printing.
29525 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29527         [BZ #17596]
29528         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
29529         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29531 2015-04-02  Florian Weimer  <fweimer@redhat.com>
29533         * include/libc-internal.h (libc_max_align_t): Define.
29535 2015-04-02  Andreas Schwab  <schwab@suse.de>
29537         [BZ #16850]
29538         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
29540 2015-04-02  Mel Gorman  <mgorman@suse.de>
29542         [BZ #17195]
29543         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
29544         as well as the main arena.
29546 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29548         [BZ #18185]
29549         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
29550         sharing L2 cache to 2 for Silvermont/Knights Landing.
29552 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29554         [BZ #17711]
29555         * config.make.in (have-protected-data): New.
29556         * configure.ac: Check linker support for protected data symbol.
29557         * configure: Regenerated.
29558         * elf/Makefile (modules-names): Add tst-protected1moda and
29559         tst-protected1modb if $(have-protected-data) is yes.
29560         (tests): Add tst-protected1a and tst-protected1b if
29561         $(have-protected-data) is yes.
29562         ($(objpfx)tst-protected1a): New.
29563         ($(objpfx)tst-protected1b): Likewise.
29564         (tst-protected1modb.so-no-z-defs): Likewise.
29565         * elf/tst-protected1a.c: New file.
29566         * elf/tst-protected1b.c: Likewise.
29567         * elf/tst-protected1mod.h: Likewise.
29568         * elf/tst-protected1moda.c: Likewise.
29569         * elf/tst-protected1modb.c: Likewise.
29571 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
29573         [BZ #17711]
29574         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
29575         indicates it is called from do_lookup_x on relocation against
29576         protected data, skip the data definion in the executable from
29577         copy reloc.
29578         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
29579         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
29580         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
29581         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
29582         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
29583         otherwise to 0.
29584         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29585         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
29586         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
29587         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
29588         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
29589         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
29591 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
29593         * sysdeps/nptl/pthread.h: Remove duplicate definition of
29594         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
29596 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
29598         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
29599         THREAD_SETMEM_NC.
29600         * sysdeps/x86_64/nptl/tls.h: Ditto.
29602 2015-03-27  Roland McGrath  <roland@hack.frob.com>
29604         * dlfcn/tststatic.c (main): Converted to ...
29605         (do_test): ... this.
29606         (TEST_FUNCTION): New macro.
29607         Include test-skeleton.c.
29609 2015-03-26  Alan Modra  <amodra@gmail.com>
29611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
29612         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
29613         zero for undefined weak.
29614         (elf_machine_plt_conflict): Similarly.
29616 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29618         * math/auto-libm-test-in: Add more tests of acosh, asinh and
29619         atanh.
29620         * math/auto-libm-test-out: Regenerated.
29621         * sysdeps/i386/fpu/libm-test-ulps: Update.
29622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29624         * math/auto-libm-test-in: Add another test of asin.
29625         * math/auto-libm-test-out: Regenerated.
29626         * sysdeps/i386/fpu/libm-test-ulps: Update.
29627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29629         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
29630         Remove macro.
29631         (LLL_EBX_REG): Likewise.
29632         (LLL_ENTER_KERNEL): Likewise.
29634         * math/auto-libm-test-in: Add more tests of asin.
29635         * math/auto-libm-test-out: Regenerated.
29636         * sysdeps/i386/fpu/libm-test-ulps: Update.
29637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29639         [BZ #18138]
29640         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
29641         libc_do_syscall_args): New structure.
29642         (INTERNAL_SYSCALL_MAIN_0): New macro.
29643         (INTERNAL_SYSCALL_MAIN_1): Likewise.
29644         (INTERNAL_SYSCALL_MAIN_2): Likewise.
29645         (INTERNAL_SYSCALL_MAIN_3): Likewise.
29646         (INTERNAL_SYSCALL_MAIN_4): Likewise.
29647         (INTERNAL_SYSCALL_MAIN_5): Likewise.
29648         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
29649         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29650         Replace conditional definitions by conditional definitions of ....
29651         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
29652         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
29653         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
29654         (libpthread-sysdep_routines): Add libc-do-syscall.
29655         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
29656         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
29657         to __NR_futex not 240.
29659 2015-03-25  Alan Modra  <amodra@gmail.com>
29661         * NEWS: Advertise TLS optimization.
29662         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
29663         (DT_PPC_NUM): Increment.
29664         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
29665         (CHECK_STATIC_TLS): Use here.
29666         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
29667         TLS descriptors.
29668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29669         * sysdeps/powerpc/dl-tls.c: New file.
29670         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
29671         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
29672         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
29673         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
29674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
29675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
29676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
29678 2015-03-25  Alan Modra  <amodra@gmail.com>
29680         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
29681         for overlapping .opd entries" to "support...".
29682         * sysdeps/powerpc/powerpc64/configure: Regenerate
29684 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
29686         * math/auto-libm-test-in: Add more tests of acos.
29687         * math/auto-libm-test-out: Regenerated.
29688         * sysdeps/i386/fpu/libm-test-ulps: Update.
29689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29691         * math/auto-libm-test-in: Add more tests of expm1.
29692         * math/auto-libm-test-out: Regenerated.
29693         * sysdeps/i386/fpu/libm-test-ulps: Update.
29694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29696 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
29698         * math/auto-libm-test-in: Add more tests of cosh and sinh.
29699         * math/auto-libm-test-out: Regenerated.
29700         * sysdeps/i386/fpu/libm-test-ulps: Update.
29701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29703         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29706         * math/auto-libm-test-in: Add more tests of log2.
29707         * math/auto-libm-test-out: Regenerated.
29708         * sysdeps/i386/fpu/libm-test-ulps: Update.
29709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29711 2015-03-23  Roland McGrath  <roland@hack.frob.com>
29713         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
29714         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
29715         _IO_IS_APPENDING bit in READ_WRITE instead.
29717 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29719         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
29720         (__determine_cpumask_size): Replace extend_alloca with a
29721         variable-length array.  Do not treat res == 0 as an error.
29723 2015-03-23  Florian Weimer  <fweimer@redhat.com>
29725         [BZ #18100]
29726         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
29727         and integer overflow.
29728         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
29729         (main): Add integer overflow tests.
29730         * manual/pattern.texi (Calling Wordexp): Document additional use
29731         for WRDE_SYNTAX.
29733 2015-03-23  Alan Modra  <amodra@gmail.com>
29735         * config.h.in: Remove HAVE_ASM_PPC_REL16.
29736         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
29737         and false branch of conditional.
29738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29739         Likewise.
29741 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
29743         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
29744         libc-modules.h
29745         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
29746         unused declaration of _hurd_intr_rpc_msg_in_trap.
29747         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
29748         defined instead of whether it is non-zero.
29749         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
29750         input constraint instead of both input and output constraint.  Use ecx
29751         clobber instead of %ecx.
29752         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
29753         mutex_unlock): Use a statement expression instead of an expression list.
29754         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
29755         type to vm_size_t instead of vm_address_t.
29756         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
29757         defined instead of whether it is non-zero.
29758         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
29759         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
29760         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
29761         comparisons with mapaddr.
29762         * nscd/nscd-client.h: Include <time.h>.
29763         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
29764         9th parameter to __vm_region instead of int.
29765         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
29766         * scripts/check-local-headers.sh (exclude): Add device/,
29767         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
29768         cthreads.h.
29770 2015-03-19  Roland McGrath  <roland@hack.frob.com>
29772         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29773         to account for alignment padding.
29774         * sysdeps/arm/memmove.S: Likewise.
29776 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
29778         * sysdeps/unix/sysv/linux/generic/README: New file.
29780 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
29782         [BZ #18138]
29783         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
29784         (futex_abstimed_wait)
29785         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
29786         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
29787         of lll_futex_timed_wait.
29789 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
29791         [BZ #17542]
29792         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
29794 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
29796         [BZ #17090]
29797         [BZ #17620]
29798         [BZ #17621]
29799         [BZ #17628]
29800         * NEWS: Update.
29801         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
29802         entries with Static TLS too.  Skip entries past the end of the
29803         allocated DTV, from Alan Modra.
29804         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
29805         Static TLS DTV entry set up from...
29806         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
29807         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
29808         * nptl/allocatestack.c (init_one_static_tls): ... and here...
29809         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
29810         for Static TLS.
29811         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
29812         that the slot we find is associated with the given map before
29813         using its generation count.
29814         * nptl_db/db_info.c: Include ldsodefs.h.
29815         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
29816         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29817         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
29818         (link_map::l_tls_offset): New struct field.
29819         (dtv_t::counter): Likewise.
29820         (rtld_global): New struct.
29821         (_rtld_global): New rtld variable.
29822         (dl_tls_dtv_slotinfo_list): New rtld global field.
29823         (dtv_slotinfo_list): New struct.
29824         (dtv_slotinfo): Likewise.
29825         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
29826         (td_lookup): Rename to...
29827         (td_mod_lookup): ... this.  Use new mod parameter instead of
29828         LIBPTHREAD_SO.
29829         * nptl_db/td_thr_tlsbase.c: Include link.h.
29830         (dtv_slotinfo_list, dtv_slotinfo): New functions.
29831         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
29832         addresses even if the DTV is out of date or missing them.
29833         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
29834         index zero-length arrays.
29835         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
29836         (td_lookup): Make it a macro implemented in terms of...
29837         (td_mod_lookup): ... this declaration.
29838         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
29839         (DB_MAIN_VARIABLE): Likewise.
29841 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29843         [BZ #18134]
29844         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
29846 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
29848         * stdlib/setenv.c (__add_to_environ): Revert previous change.
29850 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
29852         [BZ #18128]
29853         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
29854         (atomic_add, atomic_increment_and_test)
29855         (atomic_decrement_and_test): Fix 64-bit arithmetic.
29857 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
29859         * stdlib/setenv.c (__add_to_environ):
29860         Dump core quickly if setenv (..., NULL, ...) is called.
29862 2015-03-13  Roland McGrath  <roland@hack.frob.com>
29864         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
29865         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
29866         all the necessary asm magic in one place.
29867         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
29868         using those.
29870 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
29872         [BZ #14906]
29873         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
29874         traced file mtime. Use consistent log message.
29875         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
29876         (register_traced_file): Call install_watches. Always set mtime.
29877         (invalidate_cache): Iterate over all trace files. Call install_watches.
29878         (inotify_check_files): Don't inline. Handle watching parent
29879         directories and configuration file movement in and out.
29880         (handle_inotify_events): New function.
29881         (main_loop_poll): Call handle_inotify_events.
29882         (main_loop_epoll): Likewise.
29883         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
29884         (struct traced_file): Use array of inotify fds. Add parent directory,
29885         and basename.
29886         (struct database_dyn): Remove unused file_mtime.
29887         (init_traced_file): New inline function.
29888         (define_traced_file): New macro.
29889         * nss/nss_db/db-init.c: Use define_traced_file.
29890         (_nss_db_init): Use init_traced_file.
29891         * nss/nss_files/files-init.c: Use define_traced_file.
29892         (_nss_files_init): Use init_traced_file.
29894 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
29896         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
29897         [_LIBC]: Do not include <stdlib.h>.
29898         [!_LIBC] (abort): Remove declaration.
29899         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
29900         _FP_STATIC_ASSERT instead of conditionally calling abort.
29901         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
29902         (_FP_EXTEND_CNAN): Likewise.
29903         (FP_TRUNC): Likewise.
29904         (__FP_CLZ): Likewise.
29905         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
29907 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
29909         * manual/string.texi (XPG basename): Fix prototype.
29911 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29913         [BZ #18080]
29914         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
29915         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29916         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
29917         (__setcontext): Likewise.
29918         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
29919         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
29920         Call rt_sigprocmask syscall one time to set new signal mask
29921         and retrieve the current signal mask instead of two calls.
29922         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
29923         (__swapcontext): Likewise.
29924         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
29925         * stdlib/tst-setcontext2.c: New file.
29927 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29929         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29931 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
29933         [BZ #18093]
29934         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
29935         the wrong size.
29937 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29939         [BZ #18043]
29940         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
29942 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29944         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
29945         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
29946         Remove define.
29947         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
29948         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
29949         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
29950         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
29951         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
29952         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
29953         define.
29954         * nptl_db/td_symbol_list.c (td_lookup): Remove
29955         HAVE_ASM_GLOBAL_DOT_NAME code.
29956         * sysdeps/powerpc/powerpc64/configure.ac: Remove
29957         HAVE_ASM_GLOBAL_DOT_NAME check.
29958         * sysdeps/powerpc/powerpc64/configure: Regenerate.
29959         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
29960         (DOT_LABEL): Remove define.
29961         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
29962         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
29963         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
29964         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
29965         (__TLS_GET_ADDR): Likewise.
29966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
29967         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
29969 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
29971         [BZ #18111]
29972         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
29973         (_FPU_SETCW): Initialize cw from fpsr before storing.
29974         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
29975         (fesetexceptflag): Rewrite using fpu_control.h.
29976         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
29978 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
29980         [BZ #18110]
29981         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
29982         asms.
29983         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29985 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
29987         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
29988         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
29989         abort.
29990         (_FP_FMA): Likewise.
29991         (_FP_DIV): Likewise.
29993 2015-03-10  Roland McGrath  <roland@hack.frob.com>
29995         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
29996         with 0 in that case.
29997         * Makefile (summarize-tests): New canned sequence, factored out of
29998         commands for targets tests and xtests.  Display summary lines that
29999         don't start with PASS: or XFAIL: rather than ones that do start with
30000         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
30001         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
30002         do start with ERROR: or FAIL:.
30003         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
30004         (except for [$(build-shared) = yes]).
30005         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
30006         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
30007         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
30008         * nptl/Makefile: Revert 2015-03-04 changes.
30009         [$(CXX) empty] (tests-unsupported): New variable.
30010         * debug/Makefile: Likewise.
30012         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
30013         gnulib file.  Replace __attribute with __attribute__ throughout.
30015 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
30017         * sysdeps/hppa/fpu/libm-test-ulps: Update.
30019 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30021         [BZ #18104]
30022         * math/auto-libm-test-in: Add another test of pow.
30023         * math/auto-libm-test-out: Regenerated.
30025 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30027         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
30028         $(config-cflags-nofma).
30030 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
30032         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
30033         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
30034         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
30035         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
30036         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
30037         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
30038         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
30039         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
30040         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
30041         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
30042         Add comment on closing #endif.
30044 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30046         * posix/wordexp.c (CHAR_IN_SET): New macro.
30047         (parse_param): Use it.
30049 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30051         * sysdeps/powerpc/fpu/libm-test-ulps: update.
30053 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30055         [BZ #18043]
30056         * posix/wordexp.c (parse_param): Fix buffer overflow.
30057         * posix/wordexp-test.c (test_case): Add test case.
30059 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30061         [BZ #18042]
30062         * posix/wordexp.c (parse_backtick): Fix off-by-one.
30063         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
30065 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
30067         [BZ #18043]
30068         * posix/wordexp-test.c (test_case): Add test for BZ #18043
30069         (do_bz18043): Delete.
30070         (at_page_end): New.
30071         (testit): Refactor to have words at the edge of unreadable page.
30073 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30075         [BZ #16734]
30076         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
30077         Cleanup read-only streams as well.
30078         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
30080 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30082         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
30083         <bits/libc-lockP.h>
30085 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
30087         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
30088         on [__KERNEL__].
30089         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
30090         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
30091         * soft-fp/op-common.h (_FP_DECL): Likewise.
30093 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
30095         * elf/ifuncdep2.c (global): Replace
30096         __attribute__((visibility("protected"))) with
30097         asm (".protected global").
30098         * elf/ifuncmod1.c (global): Likewise.
30099         * elf/ifuncmod5.c (global): Likewise.
30101 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
30103         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
30104         <asm/sfp-machine.h> instead of <sfp-machine.h>.
30106 2015-03-06  Roland McGrath  <roland@hack.frob.com>
30108         * manual/install.texi (Configuring and compiling):
30109         Document test-wrapper-env-only.
30110         * INSTALL: Regenerated.
30112 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30114         [BZ #18043]
30115         * posix/wordexp.c (parse_param): Fix buffer overflow.
30116         * posix/wordexp-test.c (do_bz18043): Add test case.
30118 2015-03-06  Vincent Bernat  <vincent@bernat.im>
30120         * time/tst-strptime2.c (do_test): Ensure failing tests are
30121         reported correctly.
30122         * time/tst-strptime3.c (do_test): Likewise.
30124 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
30126         Fix aio_error thread-safety.
30127         * sysdeps/pthread/aio_error.c: New file
30128         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
30129         synchronization.
30131 2015-03-06  Florian Weimer  <fweimer@redhat.com>
30133         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
30134         (group_number, vfprintf): Use it.
30135         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
30136         (JUMP, REF): Use it.
30137         (WORK_BUFFER_SIZE): New enum constant.
30138         (process_arg, vfprintf): Use it.
30140 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
30142         * manual/errno.texi (Error Messages): Complete example function
30143         by adding missing #define.
30144         (program_invocation_name): Add statement indicating GNU
30145         extension and reference which header file declares the variable.
30146         (program_invocation_short_name): Likewise.
30148 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
30150         * manual/errno.texi (Error Messages): Delete strerror ISO C89
30151         compatibility note.
30153 2015-03-05  Roland McGrath  <roland@hack.frob.com>
30155         * Makeconfig (test-wrapper-env-only): New variable.
30156         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
30157         then use that with $(test-wrapper-env-only) rather than using
30158         $(test-wrapper-env) $(run-program-env) $($*-ENV).
30160 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30162         [BZ #18082]
30163         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
30164         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
30165         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
30166         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
30167         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
30168         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
30169         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
30170         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
30171         Likewise.
30172         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
30173         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
30174         Likewise.
30175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
30176         Likewise.
30177         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
30178         Likewise.
30179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
30180         Likewise.
30181         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
30182         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
30183         Likewise.
30184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
30185         Likewise.
30186         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
30187         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
30189 2015-03-04  Roland McGrath  <roland@hack.frob.com>
30191         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
30192         (ETH_ALEN): New macro.
30193         (struct ether_addr): Use it for length of ether_addr_octet.
30195         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
30196         (setdb): Don't call __nss_configure_lookup for "rpc".
30197         (do_test): Don't call test_rpc.
30198         (output_rpcent, test_rpc): Functions moved ...
30199         * sunrpc/test-rpcent.c: ... to this new file.
30200         * sunrpc/Makefile (tests): Add it.
30202         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
30203         __xpg_sigpause.
30204         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
30205         * nptl/tst-signal6.c: Likewise.
30206         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
30207         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
30209         * configure.ac (libc_cv_cxx_link_ok): New check.
30210         Reset CXX to empty if it fails to link.
30211         * configure: Regenerated.
30212         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
30213         bug-atexit3-lib only if $(CXX) is nonempty.
30214         * nptl/Makefile (tests): Likewise for tst-cancel24.
30215         (tests, tests-static): Likewise for tst-cancel24-static.
30216         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
30217         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
30218         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
30219         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
30221 2015-03-04  Andreas Schwab  <schwab@suse.de>
30223         [BZ #17631]
30224         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
30225         for non-GCC compilers.
30226         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30227         Likewise.
30229 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30231         [BZ #17776]
30232         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
30233         integer before bitwise and assembly operations.
30234         (feclearexcept): Likewise.
30235         * math/test-fenvinline.c: New file.
30236         * math/Makefile: Add test-fenvinline test.
30238 2015-03-03  Alan Modra  <amodra@gmail.com>
30240         [BZ #16512]
30241         * scripts/localplt.awk: Strip off symbol version.
30242         * NEWS: Mention bug fix.
30244 2015-03-02  Roland McGrath  <roland@hack.frob.com>
30246         * sysdeps/pthread/timer_routines.c
30247         (timer_free_list, thread_free_list, thread_active_list): Make static.
30249 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
30251         [BZ #17779]
30252         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30253         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30254         Undefine.
30255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30256         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30257         Likewise.
30258         * sysdeps/unix/sysv/linux/sh/kernel-features.h
30259         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
30260         Likewise.
30262 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
30264         [BZ #18036]
30265         * posix/fnmatch_loop.c (END): Detect invalid pattern.
30266         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
30268 2015-03-02  Andreas Schwab  <schwab@suse.de>
30270         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
30271         variable name.
30273 2015-03-02  Florian Weimer  <fweimer@redhat.com>
30275         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
30276         Return error status.
30278 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
30280         [BZ #15969]
30281         * locale/findlocale.c (_nl_find_locale): Introduce const
30282         version of loc_name and drop unsafe type casts.
30284 2015-02-27  Roland McGrath  <roland@hack.frob.com>
30286         * dlfcn/tststatic2.c (main): Converted to ...
30287         (do_test): ... this.
30288         (TEST_FUNCTION): New macro.
30289         Include test-skeleton.c.
30291 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
30293         [BZ #17711]
30294         * elf/Makefile (tests): Add vismain only if PIE is enabled.
30295         (tests-pie): Add vismain.
30296         (CFLAGS-vismain.c): New.
30297         * elf/vismain.c: Add comments for PIE requirement.
30299 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30301         [BZ #18046]
30302         [BZ #18047]
30303         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
30304         0x1p-56L as threshold for just returning the argument.
30305         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
30306         0x1p-32L as threshold for just returning the argument.
30307         * math/auto-libm-test-in: Add more tests of atanh.
30308         * math/auto-libm-test-out: Regenerated.
30309         * sysdeps/i386/fpu/libm-test-ulps: Update.
30310         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
30312 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30314         * string/bcopy.c (bcopy): Call memmove for performance.
30316 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
30318         * string/bzero.c (__bzero): Call memset for performance.
30320 2015-02-27  John David Anglin  <dave.anglin@bell.net>
30322         [BZ #18068]
30323         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
30324         to 00100000.
30326 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
30328         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
30330 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30332         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
30333         (__kernel_standard): Use CSTR macro when setting exc.name.
30334         * sysdeps/ieee754/Makefile [$(subdir) = math]
30335         (CFLAGS-k_standard.c): Remove variable.
30337         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
30338         setting p and q from "else if" to "else".
30339         (qzero): Likewise.
30340         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
30341         (qone): Likewise.
30342         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
30343         (qzerof): Likewise.
30344         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
30345         (qonef): Likewise.
30346         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
30347         (qzero): Likewise.
30348         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
30349         (qone): Likewise.
30351         [BZ #18038]
30352         [BZ #18039]
30353         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
30354         return pi/2 for arguments below 0x1p-113L.
30355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
30356         return pi/2 for arguments below 0x1p-106L.
30357         * math/auto-libm-test-in: Add more tests of acos.
30358         * math/auto-libm-test-out: Regenerated.
30360         [BZ #16351]
30361         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
30362         (MO): New macro.
30363         (__ieee754_asin): Force underflow exception for results with small
30364         absolute value.
30365         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
30366         (MO): New macro.
30367         (__ieee754_asinf): Force underflow exception for results with
30368         small absolute value.
30369         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
30370         (__ieee754_asin): Force underflow exception for results with small
30371         absolute value.
30372         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
30373         (__ieee754_asinf): Force underflow exception for results with
30374         small absolute value.
30375         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
30376         (__ieee754_asinl): Force underflow exception for results with
30377         small absolute value.
30378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
30379         (__ieee754_asinl): Force underflow exception for results with
30380         small absolute value.
30381         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
30382         (__ieee754_asinl): Force underflow exception for results with
30383         small absolute value.
30384         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30385         Include <math.h>.
30386         * math/auto-libm-test-in: Do not mark underflow exceptions as
30387         possibly missing for bug 16351.
30388         * math/auto-libm-test-out: Regenerated.
30390         [BZ #18030]
30391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
30392         of power of 2 down when low part has opposite sign.
30393         * math/libm-test.inc (logb_test_data): Add more tests.
30395 2015-02-26  Andreas Schwab  <schwab@suse.de>
30397         [BZ #18032]
30398         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
30399         over collating symbol inside a bracket expression.  Minor cleanup.
30400         * posix/tst-fnmatch3.c (do_test): Add test case.
30402 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
30404         [BZ #18029]
30405         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
30406         Adjust exponent of power of 2 down when low part has opposite
30407         sign.
30408         * math/libm-test.inc (ilogb_test_data): Add more tests.
30410 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
30412         [BZ #15969]
30413         * locale/findlocale.c (_nl_find_locale): Fix constness error in
30414         the previous change.
30416         [BZ #15969]
30417         * locale/findlocale.c (_nl_find_locale): Retry archive search
30418         after alias expansion.
30420 2015-02-25  Roland McGrath  <roland@hack.frob.com>
30422         * iconv/tst-iconv3.c (main): Converted to ...
30423         (do_test): ... this.
30424         (TEST_FUNCTION): New macro.
30425         Include test-skeleton.c.
30427         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
30428         (convert): Make function static.
30429         (test_unalign): Likewise.  Add const to argument pointee types.
30430         (main): Replace with static function do_test.
30431         Print "Succeeded." only if RET is zero.
30432         (TEST_FUNCTION): New macro.
30433         Include test-skeleton.c.
30435         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
30436         returns a null pointer.
30438 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30440         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
30441         to __memcpy_ppc only for static builds.
30443 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
30445         [BZ #18020]
30446         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
30447         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
30448         * math/auto-libm-test-in: Add more tests of asinh.
30449         * math/auto-libm-test-out: Regenerated.
30450         * sysdeps/i386/fpu/libm-test-ulps: Update.
30451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30453 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
30455         [BZ #15850]
30456         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
30457         and ip6_mtuinfo definitions here.
30458         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
30459         in this define too.  Update comment.
30461 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
30463         * elf/sprof.c (load_shobj): Tweak error message to match others.
30465 2015-02-24  Kevin Easton  <kevin@guarana.org>
30467         [BZ #16145] (partial fix)
30468         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
30469         to reduce lock contention.
30471 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
30473         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
30474         (struct timex): Update time comment.
30475         (ADJ_SETOFFSET): Define.
30477 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30479         [BZ #18019]
30480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30481         2**56 not 2**28 as threshold for log (2x) formula.
30482         * math/auto-libm-test-in: Add more tests of acosh.
30483         * math/auto-libm-test-out: Regenerated.
30484         * sysdeps/i386/fpu/libm-test-ulps: Update.
30485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30487 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30489         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
30490         parenthesis around the buf assignment.
30491         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
30493 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
30495         [BZ #16783]
30496         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
30497         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
30498         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
30499         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30500         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
30501         * math/libm-test.inc (scalb_test_data): Add more tests.
30503 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30505         [BZ #17916]
30506         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
30507         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
30509 2015-02-24  Eric Rannaud  <e@nanocritical.com>
30511         [BZ #17523]
30512         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
30513         * io/bits/fcntl2.h (open): Use it.
30514         (openat): Likewise.
30515         * io/open.c (__libc_open): Likewise.
30516         * io/open64.c (__libc_open64): Likewise.
30517         * io/open64_2.c (__open64_2): Likewise.
30518         * io/open_2.c (__open_2): Likewise.
30519         * io/openat.c (__openat): Likewise.
30520         * io/openat64.c (__openat64): Likewise.
30521         * io/openat64_2.c (__openat64_2): Likewise.
30522         * io/openat_2.c (__openat_2): Likewise.
30523         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
30524         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
30525         * sysdeps/posix/open64.c (__libc_open64): Likewise.
30526         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
30527         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30528         (__open_nocancel): Likewise.
30529         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30530         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30531         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
30533 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30535         [BZ #14841]
30536         * resolv/gethnamaddr.c (getanswer): Skip logging if
30537         RES_USE_DNSSEC is set.
30538         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30540 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
30542         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
30544 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
30546         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
30547         201304L, for Unicode 7.
30549 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
30551         [BZ #17836]
30552         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
30553         shared library.  Add gmon-start.os otherwise.
30554         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
30555         $(objpfx)gmon-start.os if builing shared library.
30556         ($(objpfx)g$(static-start-installed-name)): Likewise.
30558 2015-02-23  Andreas Schwab  <schwab@suse.de>
30560         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
30562 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30564         [BZ #17269]
30565         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
30566         (enlarge_userbuf): Likewise.
30568 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
30570         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
30571         * math/atest-exp.c (TIMEOUT): Adjust to 200.
30572         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
30573         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
30575 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
30577         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
30578         expression inside statement expression.
30580 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
30583         <sysdeps/nptl/lowlevellock.h> and remove macros and
30584         functions that are now defined there.
30585         (SYS_futex): Remove.
30586         (lll_compare_and_swap): Remove.
30587         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
30589 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
30591         [BZ #17999]
30592         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
30593         instead of scandirat.
30594         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
30595         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
30596         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
30597         __scandirat.
30598         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
30599         (__scandirat): Declare.  Use libc_hidden_proto.
30600         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
30601         Remove variable.
30602         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30604 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30606         [BZ #15319]
30607         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
30608         (MO): New macro.
30609         (__ieee754_atan2): For results with small absolute value, force
30610         underflow exception and remove excess range and precision from
30611         return value.
30612         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
30613         (MO): New macro.
30614         (__ieee754_atan2f): For results with small absolute value, force
30615         underflow exception and remove excess range and precision from
30616         return value.
30617         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
30618         (MO): New macro.
30619         (__atan): For results with small absolute value, force underflow
30620         exception and remove excess range and precision from return value.
30621         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
30622         (MO): New macro.
30623         (__atanf): For results with small absolute value, force underflow
30624         exception and remove excess range and precision from return value.
30625         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
30626         <math.h>.
30627         (__ieee754_atan2): Force underflow exception for results with
30628         small absolute value.
30629         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
30630         <math_private.h>.
30631         (atan): Force underflow exception for results with small absolute
30632         value.
30633         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
30634         (__atanf): Force underflow exception for results with small
30635         absolute value.
30636         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
30637         <math.h>.
30638         (__atanl): Force underflow exception for results with small
30639         absolute value.
30640         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
30641         (__atanl): Force underflow exception for results with small
30642         absolute value.
30643         * sysdeps/x86/fpu/bits/mathinline.h
30644         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
30645         (__ieee754_atan2): Only define inline for long double.
30646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30647         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
30648         * math/auto-libm-test-in: Do not mark underflow exceptions as
30649         possibly missing for bug 15319.  Add more tests of atan2.
30650         * math/auto-libm-test-out: Regenerated.
30651         * math/libm-test.inc (casin_test_data): Do not mark underflow
30652         exceptions as possibly missing for bug 15319.
30653         (casinh_test_data): Likewise.
30654         * sysdeps/i386/fpu/libm-test-ulps: Update.
30656 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
30658         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
30659         * sysdeps/mips/bits/endian.h: Fix comments.
30661 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
30663         [BZ #17996]
30664         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
30665         (hdestroy_r): Likewise.
30666         (hsearch_r): Likewise.
30667         (__hcreate_r): Declare and use libc_hidden_proto.
30668         (__hdestroy_r): Likewise.
30669         (__hsearch_r): Likewise.
30670         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
30671         (hcreate): Call __hcreate_r instead of hcreate_r.
30672         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
30673         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
30674         as weak alias of __hcreate_r.
30675         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
30676         __hdestroy_r.
30677         (hsearch_r): Rename to __hsearch_r and define as weak alias of
30678         __hsearch_r.
30679         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
30680         Remove variable.
30681         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30682         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30683         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30684         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30686 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30688         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
30689         arena_lock into a single arena_get.
30691 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
30693         * dl-reloc.c: Inlucde libc-internal.h.
30694         (_dl_try_allocate_static_tls): Call ALIGN_UP.
30695         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
30696         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
30697         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
30698         (grow_heap): Likewise.
30699         * malloc/malloc.c: Include libc-internal.h.
30700         (do_check_malloc): Call powerof2.
30701         (sysmalloc): Use pagesize. Call ALIGN_UP.
30702         (systrim): Use pagesize.
30703         (mremap_chunk): Use pagesize. Call ALIGN_UP.
30704         (__libc_valloc): Use pagesize.
30705         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
30707 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30709         [BZ #17991]
30710         * include/sys/resource.h (__getrlimit64): Declare.  Use
30711         libc_hidden_proto.
30712         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
30713         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
30714         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30715         getrlimit64.
30716         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
30717         __getrlimit64.
30718         [!getrlimit64] (getrlimit64): Define as weak alias of
30719         __getrlimit64.  Use libc_hidden_weak.
30720         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
30721         using __getrlimit64 not __new_getrlimit64.
30722         (__GI_getrlimit64): Likewise.
30723         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
30724         Likewise.
30725         (__GI_getrlimit64): Likewise.
30726         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
30727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
30728         (getrlimit): Add __getrlimit64 alias.
30729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
30730         Likewise.
30731         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
30732         Remove variable.
30733         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30734         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30736 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
30738         * libio/fileops.c: Add missing sys/mman.h
30739         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
30741 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
30743         * manual/math.texi (Errors in Math Functions): Clarify goals
30744         regarding inexact and underflow exceptions.
30746 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30748         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
30749         * sysdeps/mips/memset.S: Ditto.
30751 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
30753         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
30755 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30757         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
30758         (__v1longjmp): Remove versioned symbol.
30759         (__v1siglongjmp): Remove alias and versioned symbol.
30760         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
30761         (__v2siglongjmp): Likewise.
30763 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30765         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
30767 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
30769         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
30771 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30773         [BZ #17987]
30774         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
30775         zero result does not depend on the sign resulting from
30776         subtraction.
30777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30778         Likewise.
30779         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30780         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30782         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30783         * math/libm-test.inc (remquo_test_data): Add more tests.
30785 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
30787         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
30788         Problem reported by J William Piggott.
30790 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
30792         [BZ #17978]
30793         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
30794         products 4 * y and 2 * y where those would overflow.
30795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30796         Likewise.
30797         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30798         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30799         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30800         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30801         * math/libm-test.inc (remquo_test_data): Add more tests.
30803         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
30805         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
30806         [defined _COMPILING_NEWLIB].
30807         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
30808         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
30810         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
30811         [!defined __mips_isa_rev || __mips_isa_rev < 6].
30813 2015-02-16  Torvald Riegel  <triegel@redhat.com>
30815         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
30816         acquired.
30818 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
30820         [BZ #17792]
30821         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
30822         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
30823         HOST_STACK_END_ADDR): Likewise.
30825 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
30827         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
30828         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
30829         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
30831 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30833         * sysdeps/generic/c++-types.data: New file.
30834         * sysdeps/generic/ld.abilist: New file.
30835         * sysdeps/generic/libBrokenLocale.abilist: New file.
30836         * sysdeps/generic/libanl.abilist: New file.
30837         * sysdeps/generic/libc.abilist: New file.
30838         * sysdeps/generic/libcrypt.abilist: New file.
30839         * sysdeps/generic/libdl.abilist: New file.
30840         * sysdeps/generic/libm.abilist: New file.
30841         * sysdeps/generic/libpthread.abilist: New file.
30842         * sysdeps/generic/libresolv.abilist: New file.
30843         * sysdeps/generic/librt.abilist: New file.
30845 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30847         [BZ #17569]
30848         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
30849         Compute absolute value of x as modified by fmod, not original
30850         value of x.
30851         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
30852         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
30853         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
30854         RUN_TEST_ffI_f1_mod8.
30855         (remquo_test_data): Add more tests.
30857 2015-02-13  Roland McGrath  <roland@hack.frob.com>
30859         * sysdeps/init_array/pt-crti.S: New file.
30861 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
30863         [BZ #17967]
30864         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
30865         __builtin_fmaf instead of relying on contraction of a * b + c.
30867 2015-02-12  J William Piggott  <elseifthen@gmx.com>
30869         [BZ #17969]
30870         * manual/time.texi: correct the zoneinfo path in the TZ Variable
30871         node.
30873 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30875         [BZ #17964]
30876         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
30877         __builtin_fma instead of relying on contraction of a * b + c.
30879 2015-02-12  Roland McGrath  <roland@hack.frob.com>
30881         * Makeconfig (ASFLAGS): Add -Werror=undef.
30882         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
30883         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
30884         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
30886         * Makeconfig (after-link): New variable.
30887         (+link-pie, +link-pie-tests): Use it.
30888         (+link-static, +link-static-tests): Likewise.
30889         (+link, +link-tests): Likewise.
30890         * Makerules (build-module, build-module-asneeded): Likewise.
30891         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
30892         Likewise.
30893         * elf/Makefile ($(objpfx)ld.so): Likewise.
30895 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
30897         [BZ #17965]
30898         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
30899         both struct timeval and struct timespec.
30901 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
30903         [BZ #16560]
30904         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30905         and redefine.
30906         (__ieee754_exp2l): Do not multiply small fractional parts by
30907         M_LN2l.
30908         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
30909         small argument.
30910         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30911         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30912         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
30913         * math/auto-libm-test-in: Add more tests of exp2.
30914         * math/auto-libm-test-out: Regenerated.
30916 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30918         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
30919         unaligned path.
30921 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30923         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
30924         little endian.
30926 2015-02-12  Andreas Schwab  <schwab@suse.de>
30928         [BZ #15790]
30929         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
30930         Filter out elision flags from value returned in kind.
30931         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
30932         * nptl/tst-pthread-mutexattr.c: New file.
30934 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30936         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
30937         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
30938         into gnu-gnu, and update comment to refer to abi-tags.
30940 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
30942         [BZ #15467]
30943         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
30944         (__sincos): Set errno to EDOM for infinite argument.
30945         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
30946         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
30947         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
30948         (__sincosl): Set errno to EDOM for infinite argument.
30949         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
30950         (__sincosl): Set errno to EDOM for infinite argument.
30951         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
30952         (__sincosl): Set errno to EDOM for infinite argument.
30953         * math/libm-test.inc (sincos_test_data): Test errno setting.
30955 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
30957         * string/strxfrm_l.c: Remove #define STRCMP.
30958         * string/strcoll_l.c: Remove #define STRLEN.
30959         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
30960         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
30962 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
30964         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
30965         * sysdeps/mips/mips32/sfp-machine.h: ... here.
30966         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
30967         * sysdeps/mips/mips64/Makefile: ... here.
30968         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
30969         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
30970         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
30971         * sysdeps/mips/mips64/sfp-machine.h: ... here.
30972         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
30973         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
30974         * sysdeps/mips/mips64/n64/Implies: Likewise.
30976 2015-02-10  Roland McGrath  <roland@hack.frob.com>
30978         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
30979         <sys/time.h>, <string.h>, and <errno.h>.
30980         (dest_offset, dest_address, value, zero): Remove unused variables.
30981         (ldouble): Remove typedef.
30982         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
30983         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
30984         1).  Fix code style.
30985         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
30986         (check): Function removed.
30987         (CHECK): New macro.
30988         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
30989         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
30990         Don't call set_sigaction_FP and remove_sigaction_FP here.
30991         (ldouble_test): Just use 'long double' as macro argument, no need for
30992         the 'ldouble' typedef.
30993         (do_test): Set up SIGFPE handler at start, using plain signal rather
30994         than sigaction.  Fix code style.
30996 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
30998         [BZ #17949]
30999         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
31000         jump label.
31002 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31004         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
31005         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31007         * sysdeps/powerpc/configure.ac: Remove file.
31008         * sysdeps/powerpc/configure: Likewise.
31010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31011         [sysdep_routines]: Remove wordcopy-power6 object.
31012         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31013         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
31014         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
31015         (__memmove_ppc32): Likewise.
31016         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
31017         file.
31018         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
31019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
31020         Remove preprocessor.
31022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
31023         [sysdep_routines]: Remove wide chars objects.
31024         [wcsmbs]: New rule for wide char objects.
31026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31027         Remove wordcopy-power6 obejct.
31028         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
31029         Use local call for wordcopy and memcpy symbols.
31030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
31031         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
31032         implementation for loader.
31033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
31035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31036         Remove wordcopy-power7 object.
31037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
31038         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
31039         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
31040         (_wordcopy_fwd_dest_aligned): Likewise.
31041         (_wordcopy_bwd_aligned): Likewise.
31042         (_wordcopy_bwd_dest_aligned): Likewise.
31044         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
31045         Rewrite to call __memmove_ppc instead of include default
31046         implementation.
31048         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31049         Remove wide chars objects.
31050         [wcsmbs]: New rule for wide char objects.
31052 2015-02-09  Andreas Schwab  <schwab@suse.de>
31054         [BZ #17912]
31055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31056         in terms of __O_DIRECTORY.
31058 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31060         * time/getdate.c: Include <stdbool.h>.
31061         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
31062         call PTR_MANGLE.
31063         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
31064         PTR_DEMANGLE.
31066 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
31068         Add ersatz _Static_assert on older C hosts
31069         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
31070         pre-C11 C platform that is not known to support _Static_assert.
31072 2015-02-07  Richard Braun  <rbraun@sceen.net>
31074         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
31075         sigstate.
31076         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
31078 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31080         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
31081         priority against unexistent AIO_PRIO_DELTA_MAX.
31082         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
31083         instead of int.
31084         * misc/fchflags.c (fchflags): Likewise.
31085         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
31086         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
31087         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
31088         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
31089         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
31090         Declare macros.
31091         [__USE_MISC] (chflags, fchflags): Declare functions.
31092         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
31093         EINVAL when nfds is greater than FD_SETSIZE.
31094         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
31095         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
31096         45.
31097         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
31098         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
31099         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
31100         MACH_RCV_TIMED_OUT.
31101         * hurd/hurd/signal.h (_hurd_self_sigstate,
31102         _hurd_critical_section_lock, _hurd_critical_section_unlock):
31103         Explicit casts from void *.
31104         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
31105         * abi-tags: Rename gnu-gnu os into gnu.
31107         [BZ #4719]
31108         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
31109         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
31110         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
31111         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
31112         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
31113         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
31115         [BZ #17944]
31116         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
31117         duplicates ADDR->sun_path with sockaddr LEN limitation.
31118         * sysdeps/mach/hurd/connect.c: Include <string.h>
31119         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
31120         * sysdeps/mach/hurd/sendmsg.c: Likewise.
31121         * sysdeps/mach/hurd/sendto.c: Likewise.
31122         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
31123         implementing it by hand.
31125 2015-02-06  Roland McGrath  <roland@hack.frob.com>
31127         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
31128         Use sfi_breg on ldr.
31129         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
31130         Likewise.
31132         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
31133         it's defined.
31134         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
31135         Test SIGSETXID only if it's defined.
31137         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
31139         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
31140         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
31142         * nptl/tst-align2.c: Moved ...
31143         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
31144         * nptl/Makefile (tests): Remove tst-align2.
31145         * sysdeps/unix/sysv/linux/Makefile
31146         [$(subdir) = nptl] (tests): Add tst-align-clone.
31147         * nptl/tst-getpid1.c: Moved ...
31148         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
31149         * nptl/tst-getpid2.c: Moved ...
31150         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
31151         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
31152         * sysdeps/unix/sysv/linux/Makefile
31153         [$(subdir) = nptl] (tests): ... here.
31154         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31155         * sysdeps/unix/sysv/linux/Makefile
31156         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
31158         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
31159         Drop trailing \n from perror argument.  Use return rather than exit.
31161         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
31162         on [SA_SIGINFO].
31163         * nptl/tst-cancel21.c (do_test): Likewise.
31164         * debug/tst-backtrace6.c: Include <signal.h> first thing.
31165         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
31166         [!SA_SIGINFO]: Make it a stub test.
31168         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
31169         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
31171         * posix/tst-getlogin.c: Move to ...
31172         * login/tst-getlogin.c: ... here.
31173         * posix/Makefile (tests): Move tst-getlogin to ...
31174         * login/Makefile (tests): ... here.
31176         * libio/tst-atime.c (do_test): Move local variables SV and E
31177         inside [ST_NOATIME] conditional.
31179         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
31181         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
31183         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
31184         (wait_code): New function replaces macro.
31185         Call nanosleep rather than syscall.
31187         * nptl/pt-system.c: Rewritten.  Put everything under
31188         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31189         Use IFUNC to redirect when possible.
31191         * nptl/pt-longjmp.c: Rewritten.  Put everything under
31192         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31193         Use IFUNC to redirect when possible.
31195         * nptl/pt-fork.c: Rewritten.  Put everything under
31196         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
31197         Use IFUNC to redirect when possible.
31198         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
31200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
31201         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
31202         unconditionally nowadays.  This included the only reference to
31203         __vdso_clock_gettime that appears outside libc proper.
31204         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
31205         Remove version set (containing only __vdso_clock_gettime).
31206         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31207         Add attribute_hidden.
31208         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31209         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
31210         libc_hidden_data_def.
31211         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31212         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31214         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
31215         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
31216         setrpcent, and getrpcport to ...
31217         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
31218         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
31219         getrpcbynumber_r, and getrpcent_r to ...
31220         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
31221         * inet/getrpcbyname.c: Moved ...
31222         * sunrpc/getrpcbyname.c: ... here.
31223         * inet/getrpcbyname_r.c: Moved ...
31224         * sunrpc/getrpcbyname_r.c: ... here.
31225         * inet/getrpcbynumber.c: Moved ...
31226         * sunrpc/getrpcbynumber.c: ... here.
31227         * inet/getrpcbynumber_r.c: Moved ...
31228         * sunrpc/getrpcbynumber_r.c: ... here.
31229         * inet/getrpcent.c: Moved ...
31230         * sunrpc/getrpcent.c: ... here.
31231         * inet/getrpcent_r.c: Moved ...
31232         * sunrpc/getrpcent_r.c: ... here.
31233         * inet/Makefile (routines): Move those to ...
31234         * sunrpc/Makefile (routines): ... here.
31235         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
31236         the $(subdirs) list.
31237         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
31238         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
31239         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
31240         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
31242         * elf/Makefile (routines): Include $(all-dl-routines), not just
31243         $(dl-routines).
31244         (rtld-routines): Likewise.  Use = rather than :=.
31245         * sysdeps/aarch64/Makefile [$(subdir) = elf]
31246         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
31247         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
31248         * sysdeps/arm/Makefile: Likewise.
31249         * sysdeps/i386/Makefile: Likewise.
31250         * sysdeps/x86_64/Makefile: Likewise.
31251         * sysdeps/hppa/Makefile [$(subdir) = elf]
31252         (sysdep_routines, sysdep-rtld-routines): Don't add
31253         $(sysdep-dl-routines) to these.
31254         * sysdeps/ia64/Makefile: Likewise.
31255         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
31256         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
31257         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
31258         Don't add dl-static to these; sysdep-dl-routines alone is enough.
31259         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
31260         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
31261         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
31262         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
31263         * sysdeps/powerpc/Makefile [$(subdir) = elf]
31264         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
31265         these; sysdep-dl-routines alone is enough.
31267 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
31269         [BZ #17932]
31270         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
31271         where multiplication results in zero and third argument is finite
31272         and nonzero.
31273         * math/auto-libm-test-in: Add more tests of fma.
31274         * math/auto-libm-test-out: Regenerated.
31276         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
31277         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
31278         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
31279         (_FP_CMP_EQ): Likewise.
31280         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
31282         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
31283         extra argument CHECK_NAN.  Redefine as wrapper around
31284         _FP_EXTEND_CNAN.
31286 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
31288         * version.h (RELEASE): Set to "stable".
31289         (VERSION): Set to "2.21"
31290         * include/features.h (__GLIBC_MINOR__): Set to 21.
31292         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
31294 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31295             Paul Eggert  <eggert@cs.ucla.edu>
31297         [BZ #16618]
31298         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
31299         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31300         size in bytes. Store needed elements in wpmax. Use needed size
31301         in bytes for extend_alloca.
31303 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
31305         * manual/install.texi: Latest tested versions are GCC 4.9.2,
31306         binutls 2.25, and texinfo 5.2.
31307         * INSTALL: Regenerate.
31308         * sysdeps/nios2/configure: Regenerate.
31309         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
31310         * manual/contrib.texi: Update.
31311         * po/be.po: Update.
31312         * po/bg.po: Update.
31313         * po/ca.po: Update.
31314         * po/cs.po: Update.
31315         * po/da.po: Update.
31316         * po/de.po: Update.
31317         * po/el.po: Update.
31318         * po/eo.po: Update.
31319         * po/es.po: Update.
31320         * po/fi.po: Update.
31321         * po/fr.po: Update.
31322         * po/gl.po: Update.
31323         * po/hr.po: Update.
31324         * po/hu.po: Update.
31325         * po/ia.po: Update.
31326         * po/id.po: Update.
31327         * po/it.po: Update.
31328         * po/ja.po: Update.
31329         * po/ko.po: Update.
31330         * po/lt.po: Update.
31331         * po/nb.po: Update.
31332         * po/nl.po: Update.
31333         * po/pl.po: Update.
31334         * po/pt_BR.po: Update.
31335         * po/ru.po: Update.
31336         * po/rw.po: Update.
31337         * po/sk.po: Update.
31338         * po/sl.po: Update.
31339         * po/sv.po: Update.
31340         * po/tr.po: Update.
31341         * po/uk.po: Update.
31342         * po/vi.po: Update.
31343         * po/zh_CN.po: Update.
31344         * po/zh_TW.po: Update.
31346         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
31347         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
31348         * sysdeps/hppa/dl-irel.h: Remove #warning.
31349         * sysdeps/hppa/entry.h: Provide prototype for
31350         __canonicalize_funcptr_for_compare and cast argument.
31351         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
31352         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
31353         * sysdeps/hppa/sotruss-lib.c: New file.
31354         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
31355         (atomic_compare_and_exchange_val_acq): Use __typeof__.
31356         (atomic_compare_and_exchange_bool_acq): Likewise.
31357         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
31358         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
31360         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
31361         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
31362         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
31364 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
31366         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
31367         called function in non-PIC case.
31369 2015-01-31  David S. Miller  <davem@davemloft.net>
31371         * sysdeps/sparc/sparc32/bits/atomic.h
31372         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
31373         unlock not after it.
31374         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
31375         volatile register usage warnings from the compiler.
31377         * sysdeps/sparc/nptl/sem_init.c: Delete.
31378         * sysdeps/sparc/nptl/sem_post.c: Delete.
31379         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
31380         * sysdeps/sparc/nptl/sem_wait.c: Delete.
31381         * sysdeps/sparc/sparc32/sem_init.c: New file.
31382         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
31383         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
31384         padding explicitly initialized.
31385         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
31386         padding for in-semaphore spinlock.
31387         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
31388         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
31389         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
31390         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
31391         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
31392         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
31393         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
31394         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
31395         version.
31396         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
31397         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
31399 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
31401         [BZ #17801]
31402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31403         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
31404         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
31405         New.
31406         (index_AVX_Fast_Unaligned_Load): Likewise.
31407         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
31408         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
31409         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
31410         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
31411         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
31412         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
31413         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
31414         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
31415         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
31417 2015-01-29  Andreas Schwab  <schwab@suse.de>
31419         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
31421 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
31423         [BZ #17892]
31424         * nscd/nscd_stat.c (send_stats): Initialize DATA.
31426 2015-01-28  Martin Sebor  <msebor@redhat.com>
31428         * math/README.libm-test: Clarify. Add "How to read the test output."
31430 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
31432         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
31433         Define to 0.
31435 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
31437         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
31438         (__HAVE_64B_ATOMICS): Define to 0.
31440 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31442         [BZ #17885]
31443         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
31444         value to set as new flag.
31446         [BZ #16576]
31447         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
31448         and use _ARCH_PPCSQ instead.
31449         (__ieee754_sqrt): Likewise.
31450         (__ieee754_sqrtf): Likewise.
31451         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
31452         _ARCH_PPCSQ is defined.
31453         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
31454         fsqrt instruction.
31455         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
31456         _ARCH_PPCSQ is defined.
31457         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
31458         fsqrts instruction.
31459         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
31461 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31463         * iconv/loop.c: Suppress array out of bound warning caused by GCC
31464         bug (GCC BZ #64739).
31466 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
31468         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
31469         Mark _retval as used.
31470         (lll_futex_wake_unlock): Likewise.
31471         (lll_futex_timed_wait_requeue_pi): Likewise.
31473         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
31474         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
31475         register variables.
31477         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
31478         libm_hidden_def.
31480         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
31481         (__bswap_64): Mark as __always_inline.
31483 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
31485         [BZ #15378]
31486         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
31487         when none of the search directories exist.
31489 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31491         [BZ #17869]
31492         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
31493         power8 in .machine directive.
31495         [BZ #17868]
31496         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
31497         set dependency from opd value.
31499 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31502         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
31503         architecture.
31505 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
31507         [BZ #17870]
31508         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
31509         with uint64_t.
31510         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
31511         (uint64_t) 1.
31512         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
31513         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
31514         Replace 1UL with (uint64_t) 1.
31515         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
31516         int with uint64_t.
31518 2015-01-23  Roland McGrath  <roland@hack.frob.com>
31520         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
31521         (if_freenameindex): Likewise.
31523         * resource/getrlimit64.c: Add missing libc_hidden_def.
31525 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
31527         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
31528         __label__.
31529         (_FP_FMA): Likewise.
31530         (_FP_TO_INT_ROUND): Likewise.
31531         (_FP_FROM_INT): Likewise.
31533 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31535         [BZ #16418]
31536         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
31537         Make code racy and cancel safe.
31539 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
31541         * sysdeps/arm/unwind-resume.h: Fix copyright year.
31542         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
31543         attribution.
31545         * pwd/tst-getpw.c: Rewrite.
31547         [BZ #17702]
31548         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
31549         (modules-names): Add moddummy1 and moddummy2.
31550         ($(objpfx)tst-rec-dlopen): Define.
31551         * dlfcn/moddummy1.c: New file.
31552         * dlfcn/moddummy2.c: New file.
31553         * dlfcn/tst-rec-dlopen.c: New file.
31554         * elf/dl-cache.c (_dl_load_cache_lookup):
31555         Return char*. Copy result with alloca/strcpy/strdup.
31556         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
31557         returns char*. Free cached. If not saving realname
31558         free cached.
31559         * elf/dl-open.c (dl_open_worker): Do not assert that
31560         _r_debug->r_state is RT_CONSISTENT.
31561         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
31562         returns char*.
31564 2015-01-21  Torvald Riegel  <triegel@redhat.com>
31565             Carlos O'Donell  <carlos@redhat.com>
31567         [BZ #12674]
31568         * nptl/sem_waitcommon.c: New file.
31569         * nptl/sem_wait.c: Include sem_waitcommon.c.
31570         (__sem_wait_cleanup, do_futex_wait): Remove.
31571         (__new_sem_wait): Adapt.
31572         (__new_sem_trywait): New function.
31573         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
31574         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31575         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
31576         (sem_timedwait): Adapt.
31577         * nptl/sem_post.c (__new_sem_post): Adapt.
31578         (futex_wake): New function.
31579         (__old_sem_post): Add release MO fence.
31580         * nptl/sem_open.c (sem_open): Adapt.
31581         * nptl/sem_init.c (__new_sem_init): Adapt.
31582         (futex_private_if_supported): New function.
31583         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
31584         (__old_sem_getvalue): Add using previous code.
31585         * sysdeps/nptl/internaltypes.h: Adapt.
31586         * nptl/tst-sem13.c (do_test): Adapt.
31587         * nptl/tst-sem11.c (main): Adapt.
31588         * nptl/sem_trywait.c: Remove.
31589         * nptl/DESIGN-sem.txt: Remove.
31590         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
31591         (gen-as-const-headers): Remove structsem.sym.
31592         * nptl/structsem.sym: Remove.
31593         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
31594         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
31595         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
31596         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
31597         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
31598         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
31599         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
31600         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
31601         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
31602         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
31603         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
31604         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
31605         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
31606         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
31607         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
31608         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
31609         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
31610         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
31611         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
31612         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
31613         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
31614         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
31616 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
31618         * INSTALL: Regenerated.
31620         * po/libc.pot: Regenerated.
31622 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
31623             Sandra Loosemore  <sandra@codesourcery.com>
31624             Andrew Jenner  <andrew@codesourcery.com>
31625             Joseph Myers  <joseph@codesourcery.com>
31626             Nathan Sidwell  <nathan@codesourcery.com>
31628         * NEWS: Mention new Nios II port.
31629         * sysdeps/nios2/Implies: New file.
31630         * sysdeps/nios2/Makefile: New file.
31631         * sysdeps/nios2/Subdirs: New file.
31632         * sysdeps/nios2/Versions: New file.
31633         * sysdeps/nios2/__longjmp.S: New file.
31634         * sysdeps/nios2/abort-instr.h: New file.
31635         * sysdeps/nios2/backtrace.c: New file.
31636         * sysdeps/nios2/bits/endian.h: New file.
31637         * sysdeps/nios2/bits/fenv.h: New file.
31638         * sysdeps/nios2/bits/link.h: New file.
31639         * sysdeps/nios2/bits/setjmp.h: New file.
31640         * sysdeps/nios2/bsd-_setjmp.S: New file.
31641         * sysdeps/nios2/bsd-setjmp.S: New file.
31642         * sysdeps/nios2/configure: New generated file.
31643         * sysdeps/nios2/configure.ac: New file.
31644         * sysdeps/nios2/crti.S: New file.
31645         * sysdeps/nios2/crtn.S: New file.
31646         * sysdeps/nios2/dl-init.c: New file.
31647         * sysdeps/nios2/dl-machine.h: New file.
31648         * sysdeps/nios2/dl-sysdep.h: New file.
31649         * sysdeps/nios2/dl-tls.h: New file.
31650         * sysdeps/nios2/dl-trampoline.S: New file.
31651         * sysdeps/nios2/gccframe.h: New file.
31652         * sysdeps/nios2/gmp-mparam.h: New file.
31653         * sysdeps/nios2/jmpbuf-offsets.h: New file.
31654         * sysdeps/nios2/jmpbuf-unwind.h: New file.
31655         * sysdeps/nios2/ldsodefs.h: New file.
31656         * sysdeps/nios2/libc-tls.c: New file.
31657         * sysdeps/nios2/libm-test-ulps: New file.
31658         * sysdeps/nios2/machine-gmon.h: New file.
31659         * sysdeps/nios2/math-tests.h: New file.
31660         * sysdeps/nios2/math_private.h: New file.
31661         * sysdeps/nios2/memusage.h: New file.
31662         * sysdeps/nios2/nptl/Makefile: New file.
31663         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
31664         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
31665         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
31666         * sysdeps/nios2/nptl/pthreaddef.h: New file.
31667         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
31668         * sysdeps/nios2/nptl/tls.h: New file.
31669         * sysdeps/nios2/preconfigure: New file.
31670         * sysdeps/nios2/s_fma.c: New file.
31671         * sysdeps/nios2/s_fmaf.c: New file.
31672         * sysdeps/nios2/setjmp.S: New file.
31673         * sysdeps/nios2/sfp-machine.h: New file.
31674         * sysdeps/nios2/sotruss-lib.c: New file.
31675         * sysdeps/nios2/stackguard-macros.h: New file.
31676         * sysdeps/nios2/stackinfo.h: New file.
31677         * sysdeps/nios2/start.S: New file.
31678         * sysdeps/nios2/sysdep.h: New file.
31679         * sysdeps/nios2/tls-macros.h: New file.
31680         * sysdeps/nios2/tst-audit.h: New file.
31681         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
31682         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
31683         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
31684         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
31685         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
31686         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
31687         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
31688         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
31689         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
31690         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
31691         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
31692         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
31693         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
31694         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
31695         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
31696         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
31697         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
31698         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
31699         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
31700         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
31701         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
31702         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
31703         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
31704         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
31705         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
31706         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
31707         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
31708         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
31709         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
31710         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
31711         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
31712         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
31713         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
31714         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
31715         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
31716         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
31717         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
31718         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
31719         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
31720         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
31721         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
31722         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
31723         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
31724         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
31726 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31728         [BZ #17844]
31729         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
31730         (getutent): Use weak_alias in non SHARED case
31731         and default_symbol_version in SHARED case.
31732         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
31733         (getutent_r, pututline): Likewise.
31734         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
31735         (getutid): Likewise.
31736         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
31737         (getutid_r): Likewise.
31738         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
31739         (getutline): Likewise.
31740         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
31741         (getutline_r): Likewise.
31742         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
31743         (updwtmp): Likewise.
31745 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31747         [BZ #17848]
31748         * sysdeps/s390/s390-32/memcmp.S
31749         (memcmp_g5): Rename to __memcmp_g5.
31750         * sysdeps/s390/s390-32/memcpy.S
31751         (memcpy_g5): Rename to __memcpy_g5.
31752         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31753         (memcpy_mvcle) Rename to __memcpy_mvcle.
31754         * sysdeps/s390/s390-32/memset.S
31755         (memset_g5): Rename to __memset_g5.
31756         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31757         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31758         and use prefixed functions.
31759         * sysdeps/s390/s390-32/multiarch/memcmp.S
31760         (memcmp_z196): Rename to __memcmp_z196.
31761         (memcmp_z10): Rename to __memcmp_z10.
31762         (memcmp): Set alias to __memcmp_g5.
31763         (bcmp): Set alias to __memcmp_g5.
31764         * sysdeps/s390/s390-32/multiarch/memcpy.S
31765         (memcpy_z196): Rename to __memcpy_z196.
31766         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31767         (memcpy_z10): Rename to __memcpy_z10.
31768         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31769         (memcpy): Set alias to __memcpy_g5.
31770         * sysdeps/s390/s390-32/multiarch/memset.S
31771         (memset_z196): Rename to __memset_z196.
31772         Jump to __memset_mvcle instead of memset_mvcle.
31773         (memset_z10): Rename to __memset_z10.
31774         Jump to __memset_mvcle instead of memset_mvcle.
31775         (memset_mvcle) Rename to __memset_mvcle.
31776         (memset): Set alias to __memset_g5.
31777         * sysdeps/s390/s390-64/memcmp.S
31778         (memcmp_z900): Rename to __memcmp_z900.
31779         * sysdeps/s390/s390-64/memcpy.S
31780         (memcpy_z900): Rename to __memcpy_z900.
31781         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31782         (memcpy_mvcle) Rename to __memcpy_mvcle.
31783         * sysdeps/s390/s390-64/memset.S
31784         (memset_z900): Rename to __memset_z900.
31785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
31786         (IFUNC_RESOLVE): Prefix ifunc-resolve function
31787         and use prefixed functions.
31788         * sysdeps/s390/s390-64/multiarch/memcmp.S
31789         (memcmp_z196): Rename to __memcmp_z196.
31790         (memcmp_z10): Rename to __memcmp_z10.
31791         (memcmp): Set alias to __memcmp_z900.
31792         (bcmp): Set alias to __memcmp_z900.
31793         * sysdeps/s390/s390-64/multiarch/memcpy.S
31794         (memcpy_z196): Rename to __memcpy_z196.
31795         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31796         (memcpy_z10): Rename to __memcpy_z10.
31797         Jump to __memcpy_mvcle instead of memcpy_mvcle.
31798         (memcpy): Set alias to __memcpy_z900.
31799         * sysdeps/s390/s390-64/multiarch/memset.S
31800         (memset_z196): Rename to __memset_z196.
31801         Jump to __memset_mvcle instead of memset_mvcle.
31802         (memset_z10): Rename to __memset_z10.
31803         Jump to __memset_mvcle instead of memset_mvcle.
31804         (memset_mvcle) Rename to __memset_mvcle.
31805         (memset): Set alias to __memset_z900.
31807 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
31809         [BZ #17748]
31810         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
31811         __fesetenv instead of fesetenv.
31813 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31815         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
31816         macro.
31818 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31820         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
31821         regression on LE.
31823         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
31824         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
31825         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31826         strncmp-power8 object.
31827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31828         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
31829         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
31830         * NEWS: Update.
31832 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31835         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
31836         trailing byte check.
31838 2015-01-13  David S. Miller  <davem@davemloft.net>
31840         * include/signal.h (__sigreturn): Guard with __USE_MISC.
31842 2015-01-13  Roland McGrath  <roland@hack.frob.com>
31844         * login/logout.c (logout): Use memset rather than bzero.
31845         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
31846         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
31847         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
31848         (_gethtbyaddr): Likewise.
31849         * locale/programs/simple-hash.c (bcopy): Macro removed.
31851 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31854         Add strcmp-power8 object.
31855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31856         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
31857         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
31858         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
31859         __strcmp_power8 implementation.
31860         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
31861         * NEWS: Update.
31863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31864         Add strncpy-power8 and stpncpy-power8 objects.
31865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31866         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
31867         implementations.
31868         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
31869         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
31870         __stpncpy_power8 implementation.
31871         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
31872         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
31873         __strncpy_power8 implementation.
31874         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
31875         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
31876         * NEWS: Update.
31878         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
31879         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
31880         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
31882         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31883         strncat-power8 object.
31884         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
31885         __strcat_power8 implementation.
31886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31887         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
31888         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
31889         optimized strcat for power8.
31891         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
31892         strcpy-power8 and stpcpy-power8 objects.
31893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31894         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
31895         implementations.
31896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
31897         multiarch stpcpy implementation for POWER8.
31898         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
31899         multiarch strcpy implementation for POWER8.
31900         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
31901         __strcpy_power8 function.
31902         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
31903         stpcpy for POWER8.
31904         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
31905         strcpy for POWER8.
31906         * NEWS: Update.
31908 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
31910         [BZ #16009]
31911         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
31912         weights and rules. Use do_xfrm_cached if data fits in cache,
31913         do_xfrm otherwise.  Moved former main loop to...
31914         * (do_xfrm_cached): New function.
31915         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
31916         find_idx, find_position and stack_push.
31917         * (find_idx): New function.
31918         * (find_position): Likewise.
31919         * localedata/sort-test.sh: Added test run for do_xfrm.
31920         * localedata/xfrm-test.c (main): Added command line option
31921         -nocache to run the test with strings that are too large for
31922         the STRXFRM cache.
31924 2015-01-13  Torvald Riegel  <triegel@redhat.com>
31926         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
31927         variable to lll_futex_wake call, not the value itself.
31929 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
31931         [BZ #17803]
31932         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
31933         twom64.  Adjust value to 0x1p-64L.
31934         (__scalblnl): Only return standard underflowing result for K <=
31935         -64 not K <= -63; adjust exponent for underflowing result by 64
31936         not 63.
31937         * math/libm-test.inc (scalbn_test_data): Add more tests.
31938         (scalbln_test_data): Likewise.
31940         [BZ #17834]
31941         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
31942         0x1p63L.
31943         (__scalblnl): Get new exponent of adjusted subnormal value from ES
31944         not HX.
31945         * math/libm-test.inc (scalbn_test_data): Add more tests.
31946         (scalbln_test_data): Likewise.
31948 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31949             Stefani Seibold  <stefani@seibold.net>
31951         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
31952         (sysdep_routines): Add dl-vdso here, ...
31953         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
31954         (sysdep_routines): ... not here.
31955         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
31956         fallback when vDSO is not presented.
31957         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31958         Define with libc_hidden_proto/libc_hidden_data_def definitions.
31959         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
31960         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
31961         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
31962         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
31963         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
31964         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
31965         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
31966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
31967         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
31968         fallback configurable symbol when vDSO is not available.
31969         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
31970         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
31971         be able to redefine fallback symbol when vDSO is not available.
31972         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
31973         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
31975 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31977         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
31978         (TLS_INIT_TP): Add tm_capable initialization.
31979         (TLS_DEFINE_INIT_TP): Likewise.
31980         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
31981         TCB.
31982         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
31983         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
31984         calculation.
31985         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
31986         transactoion is lock elision is built and TCB tm_capable is set.
31987         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
31988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31989         (INTERNAL_SYSCALL_NCS): Likewise.
31990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31991         (INTERNAL_SYSCALL_NCS): Likewise.
31992         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
31994         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
31995         for powerpc.
31996         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31997         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
31998         and remove it for 32 bits case.
31999         [pthread_rwlock_t] (__rwelision): New field for lock elision.
32000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
32001         initialization.
32002         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
32003         Disable lock elision with rdlocks if elision is not available.
32005         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
32006         (sysdep_routines): Add lock elision objects.
32007         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32008         [pthread_mutex_t] (__spins): Rework to add lock elision field.
32009         [pthread_mutex_t] (__elision): Add field.
32010         [__PTHREAD_SPINS]: Adjust to init lock elision field.
32011         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
32012         elision definitions for powerpc.
32013         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
32014         implementation of lock elision for powerpc.
32015         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
32016         implementation of timed lock elision for powerpc.
32017         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
32018         implementation of trylock with lock elision for powerpc.
32019         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
32020         implementaion of unlock for lock elision for powerpc.
32021         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
32022         automatic enable lock elision for mutexes.
32023         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
32024         transaction execution definitions for powerpc.
32025         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
32026         definitions.
32027         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
32028         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
32029         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
32030         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
32031         * NEWS: Update.
32033 2015-01-09  Roland McGrath  <roland@hack.frob.com>
32035         * sysdeps/posix/shm-directory.c: Use <> rather than ""
32036         for #include of <shm-directory.h>.
32038 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
32040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
32041         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
32043 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
32045         [BZ #17791]
32046         * NEWS: Mention bug fix.
32047         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
32048         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
32049         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
32051 2015-01-09  Torvald Riegel <triegel@redhat.com>
32053         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
32055 2015-01-09  Torvald Riegel <triegel@redhat.com>
32057         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
32059 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32061         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
32062         pointer and cast to uintptr_t.
32064 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32066         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
32067         removed.
32068         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
32070 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
32072         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
32073         of 0.
32075 2015-01-08  Roland McGrath  <roland@hack.frob.com>
32077         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
32078         <nptl/pthreadP.h> instead.
32079         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
32081         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
32082         already defined.
32083         [__SIGRTMIN] (init): Function removed.
32084         [__SIGRTMIN] (initialized): Variable removed.
32085         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
32086         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
32087         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
32088         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
32089         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
32090         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
32091         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
32092         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
32093         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
32094         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32095         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
32096         * sysdeps/nptl/allocrtsig.c: New file.
32097         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
32098         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
32099         * sysdeps/generic/testrtsig.h: File removed.
32101         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
32102         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
32104         * nptl/nptl-init.c (pthread_functions): Conditionalize
32105         .ptr__nptl_setxid initialization on [SIGSETXID].
32107         * sysdeps/nptl/sys/procfs.h: New file.
32108         * nptl_db/Makefile (headers): Add it.
32109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
32111         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
32112         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
32113         * nptl/pthread_attr_setaffinity.c: Include it.
32114         * nptl/pthread_setattr_default_np.c: Likewise.
32115         * nptl/check-cpuset.h: New file.
32117 2015-01-08  Richard Henderson  <rth@redhat.com>
32119         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
32120         (CFLAGS-tst-execstack-prog.c): Likewise.
32121         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
32123 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
32124             Sandra Loosemore  <sandra@codesourcery.com>
32125             Andrew Jenner  <andrew@codesourcery.com>
32126             Joseph Myers  <joseph@codesourcery.com>
32127             Nathan Sidwell  <nathan@codesourcery.com>
32129         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
32130         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
32131         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
32132         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
32133         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
32134         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
32135         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
32136         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
32137         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
32138         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
32139         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
32140         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
32141         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
32142         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
32143         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
32144         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
32145         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
32147 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32149         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
32150         timespec struct member in syscall macro.
32151         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
32152         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
32153         first timeval struct member in syscall macro.
32154         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
32156 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
32158         [BZ #17748]
32159         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
32160         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
32161         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
32162         __feupdateenv and define as weak alias of __feupdateenv.  Use
32163         libm_hidden_weak.
32164         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
32165         libm_hidden_def.
32166         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
32167         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
32168         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32169         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
32170         libm_hidden_def.
32171         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
32172         __feupdateenv and define as weak alias of __feupdateenv.  Use
32173         libm_hidden_weak.
32174         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
32175         libm_hidden_def.
32176         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
32177         __feupdateenv and define as weak alias of __feupdateenv.  Use
32178         libm_hidden_weak.
32179         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
32180         libm_hidden_def.
32181         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32182         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32183         (__feupdateenv): Likewise.
32184         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
32185         __feupdateenv and define as weak alias of __feupdateenv.  Use
32186         libm_hidden_weak.
32187         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32188         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
32189         libm_hidden_def.
32190         * sysdeps/tile/math_private.h (__feupdateenv): New inline
32191         function.
32192         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
32193         libm_hidden_def.
32194         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
32195         __feupdateenv instead of feupdateenv.
32196         (default_libc_feupdateenv_test): Likewise.
32197         (libc_feresetround_ctx): Likewise.
32199 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32201         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
32202         prototype.
32204 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
32206         * posix/regcomp.c (parse_bracket_exp): Initialize type to
32207         COLL_SYM in a couple of places to avoid uninitialized variable
32208         wanings on tilegx gcc 4.8.2.
32210 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32212         * sysdeps/aarch64/strcpy.S: New file.
32213         * sysdeps/aarch64/stpcpy.S: New file.
32214         * NEWS: Updated.
32216 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
32218         * sysdeps/aarch64/strrchr.S: New file.
32219         * NEWS: Updated.
32221 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
32223         [BZ #17658]
32224         * stdlib/setenv.c: Fix memory leak when setting large,
32225         duplicate string.
32227 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
32229         [BZ #17273]
32230         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
32231         and tabs from buffer before parsing fstab entry.
32232         * misc/tst-mntent.c (main): Add test for mount entry with
32233         trailing spaces and tabs.
32235 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
32237         [BZ #17748]
32238         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
32239         * math/fesetround.c (fesetround): Rename to __fesetround and
32240         define as weak alias of __fesetround.  Use libm_hidden_weak.
32241         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
32242         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
32243         * sysdeps/arm/fesetround.c (fesetround): Likewise.
32244         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
32245         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
32246         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
32247         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
32248         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
32249         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
32250         __fesetround_inline.
32251         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
32252         __fesetround_inline instead of __fesetround.
32253         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
32254         __fesetround and define as weak alias of __fesetround.  Use
32255         libm_hidden_weak.  Call __fesetround_inline instead of
32256         __fesetround.
32257         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
32258         __fesetround and define as weak alias of __fesetround.  Use
32259         libm_hidden_weak.
32260         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
32261         Likewise.
32262         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
32263         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32264         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
32265         * sysdeps/tile/math_private.h (__fesetround): New inline function.
32266         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
32267         __fesetround and define as weak alias of __fesetround.  Use
32268         libm_hidden_weak.
32269         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
32270         __fesetround instead of fesetround.
32271         (default_libc_feholdexcept_setround): Likewise.
32272         (libc_feholdsetround_ctx): Likewise.
32273         (libc_feholdsetround_noex_ctx): Likewise.
32275         [BZ #17748]
32276         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
32277         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
32278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32279         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32280         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32281         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
32282         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32283         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32284         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32285         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32286         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32287         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32288         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32289         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32290         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
32291         libm_hidden_def.
32292         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
32293         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
32294         Likewise.
32295         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
32296         define as weak alias of __fesetenv.  Use libm_hidden_weak.
32297         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32298         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
32299         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
32300         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
32301         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
32302         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
32303         __fesetenv instead of fesetenv.
32304         (libc_feresetround_noex_ctx): Likewise.
32305         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32306         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
32307         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
32308         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32309         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32310         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32311         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
32312         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
32313         (__feupdateenv): Likewise.
32314         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32315         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32316         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32317         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
32319 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32321         [BZ #17806]
32322         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
32323         addresses have been freed.
32325 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
32327         * resolv/res_init.c (__res_vinit): Improve comments about nserv
32328         and nservall.
32330 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
32332         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
32333         Clean up check_pf allocation pattern. addresses
32335 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32337         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
32338         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
32339         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
32340         * nptl/pthread_exit.c (__pthread_exit): Likewise.
32341         * nptl/pthread_join.c (pthread_join): Likewise.
32342         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
32343         * sysdeps/posix/waitid.c (__waitid): Likewise.
32344         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
32345         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
32346         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
32347         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
32348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
32349         Likewise.
32350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
32351         (__libc_pread64): Likewise.
32352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
32353         (__libc_pwrite): Likewise.
32354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32355         (__libc_pwrite64): Likewsie.
32356         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
32357         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
32358         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
32359         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
32360         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
32361         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
32362         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
32364         Likewise.
32365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32366         (__libc_pread64): Likewise.
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
32368         Likewise.
32369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32370         (__libc_pwrite64): Likewise.
32371         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
32372         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
32373         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
32374         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
32375         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
32376         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
32377         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
32378         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
32379         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
32380         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
32381         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
32382         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
32383         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
32384         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
32385         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
32386         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
32387         Likewise.
32389 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
32391         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
32392         (CFLAGS-test-double.c): Likewise.
32393         (CFLAGS-test-ldouble.c): Likewise.
32394         (CPPFLAGS-test-ifloat.c): Likewise.
32395         (CPPFLAGS-test-idouble.c): Likewise.
32396         (CPPFLAGS-test-ildoubl.c): Likewise.
32397         (CFLAGS-test-test-fenv.c): Remove variable.
32398         (CFLAGS-test-misc.c): Likewise.
32400 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
32402         [BZ #17797]
32403         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
32404         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
32405         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
32406         CLOCKS_PER_SEC == 1000000.
32407         * time/clocktest.c (main): Replace %ld with %jd and cast to
32408         intmax_t.
32410 2015-01-05  Roland McGrath  <roland@hack.frob.com>
32412         * sysdeps/generic/unwind-resume.h: New file.
32413         * sysdeps/gnu/unwind-resume.c: Include it.
32414         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
32415         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
32416         argument list.
32417         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
32418         global rather than static.
32419         (_Unwind_Resume): Update user.
32420         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
32421         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
32422         rather than static.  Add __attribute__ ((cold)).
32423         (_Unwind_Resume, __gcc_personality_v0): Update callers.
32424         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
32425         * sysdeps/arm/arm-unwind-resume.S: New file.
32426         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
32427         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
32428         * sysdeps/arm/Makefile [$(subdir) = csu]
32429         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
32430         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32431         Add rt-arm-unwind-resume.
32432         [$(subdir) = nptl]
32433         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32434         Add pt-arm-unwind-resume.
32435         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
32436         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
32438 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32440         [BZ #17748]
32441         * include/fenv.h (__feholdexcept): Declare.  Use
32442         libm_hidden_proto.
32443         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
32444         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
32445         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32446         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
32447         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
32448         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
32449         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
32450         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32451         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
32452         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
32453         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32454         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
32455         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
32456         (feholdexcept): Likewise.
32457         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32458         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32459         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32460         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32461         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
32462         __feholdexcept instead of feholdexcept.
32463         (default_libc_feholdexcept_setround): Likewise.
32465 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32467         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
32468         to avoid using stl/str to align destination.
32470 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32472         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
32474 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32476         [BZ #17796]
32477         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
32478         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
32479         Define as weak alias not strong alias.
32481 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
32483         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
32484         bltzal with addiupc.
32485         (RTLD_START): Ditto.
32487 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
32489         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
32490         for __vdso_* functions in declarations.
32491         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
32492         definitions.
32493         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
32494         INTERNAL_VSYSCALL): Use struct return types to check for error.
32496         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
32497         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
32498         function with cast from llround().
32499         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
32500         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32501         Define.
32503 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
32505         [BZ #17793]
32506         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
32507         Define as weak alias not strong alias.
32509         [BZ #17635]
32510         * ctype/ctype-c99.c: New file.  isblank implementation moved from
32511         ...
32512         * ctype/ctype-extn.c: ... here.
32513         (__isblank_l): Move to ...
32514         * ctype/ctype-c99_l.c: ... here.  New file.
32515         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
32516         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
32517         Remove variable.
32518         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32519         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32520         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
32521         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
32522         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
32524         [BZ #17777]
32525         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
32526         (posix_fadvise64): Define as weak alias not strong alias.
32527         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32528         (posix_fallocate64): Likewise.
32529         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
32530         Remove variable.
32531         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
32532         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
32533         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
32534         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
32535         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
32537 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
32539         [BZ #16191]
32540         * NEWS: Mention bug fix.
32541         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
32542         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
32543         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
32544         (HOST_STACK_END_ADDR): Likewise.
32546 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32548         [BZ #17748]
32549         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
32550         * math/fegetround.c (fegetround): Rename to __fegetround and
32551         define as weak alias of __fegetround.  Use libm_hidden_weak.
32552         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
32553         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
32554         * sysdeps/arm/fegetround.c (fegetround): Likewise.
32555         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
32556         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
32557         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
32558         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
32559         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
32560         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
32561         Undefine after rather than before function definition; use
32562         parentheses around function name in definition.
32563         (__fegetround): Also undefine macro after function definition.
32564         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
32565         __fegetround and define as weak alias of __fegetround.  Use
32566         libm_hidden_weak.  Do not undefine as macro.
32567         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
32568         Likewise.
32569         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
32570         __fegetround and define as weak alias of __fegetround.  Use
32571         libm_hidden_weak.
32572         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32573         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
32574         * sysdeps/tile/math_private.h (__fegetround): New inline function.
32575         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
32576         __fegetround and define as weak alias of __fegetround.  Use
32577         libm_hidden_weak.
32578         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
32579         __fegetround instead of fegetround.
32581         [BZ #17782]
32582         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
32583         Condition macro definition on [__USE_MISC].
32585         [BZ #17781]
32586         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
32587         (struct sigaction): Change type of sa_flags field to int.
32589         [BZ #17780]
32590         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
32591         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
32592         __glibc_reserved0.
32594         * nptl/version.c (banner): Use single year in copyright notice.
32596         * NEWS: Update copyright dates.
32597         * catgets/gencat.c (print_version): Likewise.
32598         * csu/version.c (banner): Likewise.
32599         * debug/catchsegv.sh: Likewise.
32600         * debug/pcprofiledump.c (print_version): Likewise.
32601         * debug/xtrace.sh (do_version): Likewise.
32602         * elf/ldconfig.c (print_version): Likewise.
32603         * elf/ldd.bash.in: Likewise.
32604         * elf/pldd.c (print_version): Likewise.
32605         * elf/sotruss.sh: Likewise.
32606         * elf/sprof.c (print_version): Likewise.
32607         * iconv/iconv_prog.c (print_version): Likewise.
32608         * iconv/iconvconfig.c (print_version): Likewise.
32609         * locale/programs/locale.c (print_version): Likewise.
32610         * locale/programs/localedef.c (print_version): Likewise.
32611         * login/programs/pt_chown.c (print_version): Likewise.
32612         * malloc/memusage.sh (do_version): Likewise.
32613         * malloc/memusagestat.c (print_version): Likewise.
32614         * malloc/mtrace.pl: Likewise.
32615         * manual/libc.texinfo: Likewise.
32616         * nptl/version.c (banner): Likewise.
32617         * nscd/nscd.c (print_version): Likewise.
32618         * nss/getent.c (print_version): Likewise.
32619         * nss/makedb.c (print_version): Likewise.
32620         * posix/getconf.c (main): Likewise.
32621         * scripts/test-installation.pl: Likewise.
32622         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
32624 2015-01-02  Will Newton  <will.newton@linaro.org>
32626         * sysdeps/arm/armv7/configure: Removed.
32627         * sysdeps/arm/armv7/configure.ac: Likewise.
32629 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
32631         * All files with FSF copyright notices: Update copyright dates
32632         using scripts/update-copyrights.
32633         * intl/plural.c: Regenerated.
32634         * locale/programs/charmap-kw.h: Likewise.
32635         * locale/programs/locfile-kw.h: Likewise.
32637 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32639         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
32641 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32643         [BZ #17748]
32644         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
32645         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
32646         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32647         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32648         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32649         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
32650         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32651         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
32652         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32653         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32654         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32655         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32656         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32657         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32658         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32659         libm_hidden_def.
32660         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
32661         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
32662         Likewise.
32663         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
32664         define as weak alias of __fegetenv.  Use libm_hidden_weak.
32665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32666         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
32667         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
32668         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
32669         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
32670         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
32671         __fegetenv instead of fegetenv.
32672         (libc_feholdsetround_noex_ctx): Likewise.
32674 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
32676         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
32677         (Elf_MIPS_ABIFlags_v0): New structure.
32678         (EF_MIPS_FP64): Define.
32679         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
32680         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
32681         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
32682         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
32683         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
32684         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
32685         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
32686         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
32687         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
32688         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
32689         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
32690         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
32691         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
32692         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
32693         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
32694         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
32695         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
32696         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
32697         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
32698         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
32699         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
32700         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
32701         field.
32702         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
32703         EF_MIPS_FP64.
32704         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
32705         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
32706         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
32707         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
32708         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
32709         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
32710         * sysdeps/mips/tst-abi-interlink.c: Likewise.
32711         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
32712         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
32713         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
32714         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
32715         record the current FP ABI extension.
32716         (mips-mode-switch): Define to show if kernel headers support mode
32717         switching.
32718         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
32719         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
32720         supported SYSV ABI version to 3.
32721         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
32722         feature.
32724 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32725             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32727         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
32728         path.
32729         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
32731 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
32733         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
32734         __fegetround and redefine to call __fegetround.  Remove condition
32735         on [!__NO_MATH_INLINES].
32736         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
32737         function.
32738         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
32739         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
32740         Remove macro.
32741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
32742         instead of <fenv_libc.h>.
32743         (__llrintl): Call fegetround instead of __fegetround.
32744         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
32745         instead of <fenv_libc.h>.
32746         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32747         (__lrintl): Call fegetround instead of __fegetround.
32748         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
32749         instead of <fenv_libc.h>.
32750         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32751         (__rintl): Call fegetround instead of __fegetround.
32753 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32755         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
32756         arrays.
32758 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32760         [BZ #17775]
32761         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
32762         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
32763         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
32765 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32767         * sysdeps/i386/tls-macros.h: Include <features.h>.
32768         (TLS_LE): Use non-PIC version for GCC >= 5.0.
32769         (TLS_IE): Likewise.
32770         (TLS_LD): Likewise.
32771         (TLS_GD): Likewise.
32772         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
32773         define for GCC >= 5.0.
32775 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
32777         * math/test-fenv.c (test_single_exception, set_single_exc,
32778         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
32779         feexcp_mask_test, feenable_test, fe_single_test): Add
32780         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
32781         case where they are not used.
32782         * math/libm-test.inc: Likewise.
32783         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32784         unused in the absence of FP rounding/exception support.
32785         * stdio-common/tst-printf-round.c: Likewise.
32786         * stdlib/tst-strtod-round.c: Likewise.
32787         * stdlib/tst-strtod-underflow.c: Likewise.
32789 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
32791         [BZ #17723]
32792         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
32793         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
32794         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32795         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32796         libm_hidden_weak.
32797         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
32798         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32799         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
32800         libm_hidden_def.
32801         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32802         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32803         libm_hidden_weak.
32804         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
32805         Likewise.
32806         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
32807         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32808         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32809         libm_hidden_weak.
32810         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32811         libm_hidden_def.
32812         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
32813         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
32814         (__feraiseexcept): Likewise.
32815         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
32816         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
32817         libm_hidden_weak.
32818         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
32819         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32820         libm_hidden_def.
32821         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
32822         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
32823         Use libm_hidden_def.
32824         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
32825         libm_hidden_def.
32826         (feraiseexcept): Define as weak not strong alias.  Use
32827         libm_hidden_weak.
32828         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
32829         New inline function.  Factored out of ...
32830         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
32831         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
32832         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
32833         feraiseexcept.
32834         * math/w_acos.c (__acos): Likewise.
32835         * math/w_asin.c (__asin): Likewise.
32836         * math/w_ilogb.c (__ilogb): Likewise.
32837         * math/w_j0.c (y0): Likewise.
32838         * math/w_j1.c (y1): Likewise.
32839         * math/w_jn.c (yn): Likewise.
32840         * math/w_log.c (__log): Likewise.
32841         * math/w_log10.c (__log10): Likewise.
32842         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
32843         * sysdeps/aarch64/fpu/math_private.h
32844         (libc_feupdateenv_test_aarch64): Likewise.
32845         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
32846         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
32847         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
32848         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
32849         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
32850         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
32851         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
32852         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32853         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32854         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
32856 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
32858         [BZ #17732]
32859         * io/test-utime.c (main): Replace %ld with %jd and cast to
32860         intmax_t.
32861         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
32862         * nptl/tst-mutex5.c: Include <stdint.h>.
32863         (do_test): Replace %ld with %jd and cast to intmax_t.
32864         * posix/tst-regex.c (run_test): Likewise.
32865         (run_test_backwards): Likewise.
32866         * rt/tst-clock.c: Include <stdint.h>.
32867         (clock_test): Replace %ld with %jd and cast to intmax_t.
32868         * rt/tst-cpuclock1.c: Include <stdint.h>.
32869         (do_test): Replace %lu with %ju and cast to uintmax_t.
32870         * rt/tst-cpuclock2.c: Include <stdint.h>.
32871         (do_test): Replace %lu with %ju and cast to uintmax_t.
32872         * rt/tst-mqueue1.c: Include <stdint.h>.
32873         (check_attrs): Replace %ld with %jd and cast to intmax_t.
32874         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
32875         intmax_t.
32876         * rt/tst-mqueue4.c (do_test): Likewise.
32877         * rt/tst-timer4.c: Include <stdint.h>.
32878         (check_ts): Replace %ld with %jd and cast to intmax_t.
32879         (do_test): Likewise.
32880         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
32881         and cast to intmax_t.
32882         * sysdeps/pthread/tst-timer.c (main): Likewise.
32883         * time/clocktest.c (main): Likewise.
32884         * time/tst-posixtz.c (do_test): Likewise.
32885         * timezone/tst-timezone.c (main): Likewise.
32887 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32888             H.J. Lu  <hongjiu.lu@intel.com>
32890         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
32891         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
32892         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
32893         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
32894         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
32895         version if bit_Fast_Unaligned_Load is set.
32896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32903         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
32904         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
32905         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
32906         to 4.
32907         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
32908         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
32909         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
32910         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
32912 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
32914         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
32915         instead of #if to avoid a Wundef warning.
32916         * stdlib/tst-limits.c (do_test): Likewise.
32918         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
32919         parallel other exception macros.
32920         (fegetenv): Convert from macro to extern inline so that it applies
32921         retroactively to inline functions already seen by the compiler.
32922         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
32924         * posix/Makefile (before-compile): Use $(objpfx) for
32925         posix-conf-vars-def.h.
32927 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32929         * posix/getconf.c (main): Use size_t for type of I.
32930         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
32931         NSPEC.
32933         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
32934         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
32935         * posix/posix-envs.def: Likewise.
32936         * sysdeps/posix/sysconf.c: Likewise.
32937         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
32938         (specs): Remove array.
32939         * scripts/gen-posix-conf-vars.awk: Support generation of specs
32940         array.
32942         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
32943         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
32944         (__sysconf): Use CONF_IS_* macros.
32946         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
32947         ($(objpfx)posix-conf-vars-def.h): New target.
32948         * posix/posix-conf-vars.list: New file.
32949         * posix/posix-conf-vars.h: New file.
32950         * posix/confstr.c: Include posix-conf-vars.h.
32951         (confstr): Use CONF_IS_* macros.
32952         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
32953         CONF_IS_* macros.
32954         * scripts/gen-posix-conf-vars.awk: New file.
32956 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
32958         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
32959         fegetround): Add no-op macros to avoid linknamespace issues.
32961         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
32962         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
32964         * sysdeps/unix/sysv/linux/tile/sysdep.h
32965         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
32966         assembly-specific section to avoid a redefinition warning.
32968         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
32969         long before casting to pointer to avoid a cast warning.
32971 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
32973         * sysdeps/tile/tilegx/Implies: New file.
32975 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
32977         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
32979 2014-12-23  Florian Weimer  <fweimer@redhat.com>
32981         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
32983 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
32985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
32986         not define.
32987         * sysdeps/unix/sysv/linux/utimes.c: Do not include
32988         <kernel-features.h>.
32989         (__utimes) [__NR_utimes]: Make code unconditional.
32990         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
32991         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32992         (__ASSUME_UTIMES): Do not undefine.
32993         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32994         (__ASSUME_UTIMES): Likewise.
32995         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32996         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
32997         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
32998         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
33000 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33002         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
33004 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
33006         [BZ #17747]
33007         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
33008         alias to weak alias for j0l, y0l.
33009         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
33010         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
33012         [BZ #17746]
33013         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
33014         conversion.
33016 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
33018         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
33019         to zero if not already defined.
33021 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33023         [BZ #17724]
33024         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
33025         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
33026         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
33027         (char *) casts added.
33028         * sysdeps/ieee754/k_standardf.c: New file.
33029         * sysdeps/ieee754/k_standardl.c: Likewise.
33030         * math/Makefile (libm-support): Remove k_standard.
33031         (libm-calls): Add k_standard.
33033 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33035         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33036         Optimize to avoid an unnecessary FPCR read.
33038 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33040         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33041         Optimize to reduce FPCR/FPSR accesses.
33043 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33045         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
33046         Call libc_fetestexcept_aarch64.
33048 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
33050         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
33051         Call libc_fesetround_aarch64.
33053 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33055         [BZ #17733]
33056         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
33057         (__bind): Do not define as weak alias.
33058         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
33059         define.
33060         (__getsockname): Do not define as weak alias.
33062 2014-12-22  Will Newton  <will.newton@linaro.org>
33064         * manual/install.texi: Document that we require bison 2.7
33065         or above.
33066         * INSTALL: Regenerate.
33067         * configure.ac: Use AC_CHECK_PROG_VER instead of
33068         AC_PATH_PROG when checking for bison and check for
33069         version 2.7 or above.
33070         * configure: Regenerate.
33072 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
33074         [BZ #17745]
33075         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
33076         * sysdeps/tile/ffsll.c (ffsll): To here.
33078         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
33080 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33082         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
33083         if not defined.
33084         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
33085         definition.
33086         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33087         hidden ___tls_get_addr.
33088         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
33089         hidden __tls_get_addr.
33090         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
33091         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
33092         Likewise.
33094 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
33096         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
33097         _dl_init call.
33099 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
33101         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
33102         from "call _dl_init@PLT".
33103         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
33105 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
33107         * manual/search.texi: (Array Sort Function): Clarify stable sorting
33108         guarantees.
33110 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
33112         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
33114 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33116         [BZ #17744]
33117         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
33118         strnlen.
33120 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33122         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
33123         of multu on MIPSr6.
33124         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
33125         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
33126         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
33127         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
33128         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
33130 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
33132         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
33133         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
33134         (PTR_SUBU): Use subu for mips32r6/mips64r6.
33135         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
33136         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
33137         mips32r6/mips64r6.
33138         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
33140 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
33142         * string/strncat.c (STRNCAT): Simplify implementation.
33144 2014-12-19  David S. Miller  <davem@davemloft.net>
33146         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
33147         access the quad as both a long double and as a series of 4 words.
33149         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
33150         link_map->l_info array access.
33152 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
33154         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
33156         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
33157         * math/atest-exp2.c (TIMEOUT): Likewise.
33158         * math/atest-sincos.c (TIMEOUT): Likewise.
33160 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33162         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
33163         -Wno-error with -fno-builtin-lround.
33165 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33167         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
33168         Contains futex constants and functions moved over from ...
33169         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
33170         <lowlevellock-futex.h>.
33171         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33172         (lll_timedwait_tid): Add comments and parentheses around macro
33173         arguments.
33175 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
33178         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
33179         (__lll_private_flag): Remove.
33180         (lll_futex_wait): Likewise.
33181         (lll_futex_timed_wait): Likewise.
33182         (lll_futex_wake): Likewise.
33183         (lll_futex_requeue): Likewise.
33184         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
33185         (__lll_timedwait_tid): Spell out argument names.
33186         (lll_timedwait_tid): Add comments and parentheses around macro
33187         arguments.
33188         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
33189         LLL_SHARED and LLL_PRIVATE usable from assembly code.
33191 2014-12-19  Torvald Riegel  <triegel@redhat.com>
33193         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
33194         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33195         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33196         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
33197         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
33198         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
33199         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
33200         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
33201         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
33202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
33203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
33204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
33205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
33206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
33207         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
33208         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
33209         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
33210         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
33211         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
33213 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33215         * sysdeps/x86_64/x32/Makefile: New file.
33217 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
33219         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
33220         1L with (mp_limb_t) 1.
33222 2014-12-17  Roland McGrath  <roland@hack.frob.com>
33224         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
33225         * nptl/libc_pthread_init.c: ... here.
33226         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
33227         * nptl/register-atfork.c: ... here.
33229         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
33230         Use pthread_sigmask rather than INTERNAL_SYSCALL.
33231         Use assert_perror to check its return value.
33232         (__gai_create_helper_thread): Likewise.
33234         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
33236         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
33238 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
33240         [BZ #17725]
33241         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
33242         __profil_counter.
33243         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
33244         Likewise.
33245         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
33246         Likewise.
33247         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
33248         Likewise.
33249         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
33250         (profil_counter): Likewise.
33251         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
33252         (profil_counter): Likewise.
33253         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
33254         Likewise.
33255         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
33256         Likewise.
33257         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
33258         (profil_counter): Likewise.
33259         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
33260         Likewise.
33261         [!__profil_counter] (profil_counter): Define as weak alias of
33262         __profil_counter.
33263         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
33264         (profil_counter): Rename to __profil_counter.
33265         [!__profil_counter] (profil_counter): Define as weak alias of
33266         __profil_counter.
33267         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
33268         (profil_counter): Rename to __profil_counter.
33269         [!__profil_counter] (profil_counter): Define as weak alias of
33270         __profil_counter.
33271         * sysdeps/posix/profil.c: Update comment referring to
33272         profil_counter.
33273         (__profil): Use __profil_counter instead of profil_counter.
33274         * sysdeps/posix/sprofil.c (profil_counter): Rename to
33275         __profil_counter.  Use __profil_counter_ushort and
33276         __profil_counter_uint in definitions.
33277         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
33278         instead of profil_counter_uint and profil_counter_ushort.
33280         [BZ #17722]
33281         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
33282         define as weak alias of __inet_makeaddr.
33283         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
33284         as weak alias of __inet_addr.
33285         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
33286         as weak alias of __inet_pton.  Use libc_hidden_weak.
33287         * include/arpa/inet.h (__inet_pton): Declare.  Use
33288         libc_hidden_proto.
33289         (inet_makeaddr): Don't use libc_hidden_proto.
33290         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
33291         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
33292         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
33293         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
33294         Remove variable.
33295         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33296         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33298 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
33300         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
33302 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33304         * stdio-common/bug-vfprintf-nargs.c (do_test):
33305         Cast value to intptr_t to avoid format warning
33306         for usage with PRIdPTR printing macro.
33308 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33310         * libio/tst-widetext.c (do_test):
33311         Use format type %td instead of %Zd for ptrdiff_t
33312         in order to avoid format warning.
33314 2014-12-17  Andreas Schwab  <schwab@suse.de>
33316         * nscd/mem.c (gc): Add size_t cast to match printf format.
33318 2014-12-16  Roland McGrath  <roland@hack.frob.com>
33320         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
33321         (init): Apply PTR_MANGLE to pointers before storing them.
33322         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
33323         before using them.
33325 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
33327         [BZ #17719]
33328         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
33329         define as weak alias of __memrchr.
33330         (__memrchr): Do not define as strong alias of memrchr.
33331         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
33332         Remove variable.
33333         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33334         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33335         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33337         [BZ #17717]
33338         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
33339         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
33340         (if_indextoname): Rename to __if_indextoname and define as weak
33341         alias of __if_indextoname.  Use libc_hidden_weak.
33342         (if_freenameindex): Rename to __if_freenameindex and define as
33343         weak alias of __if_freenameindex.
33344         (if_nameindex): Rename to __if_nameindex and define as weak alias
33345         of __if_nameindex.
33346         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
33347         __if_nametoindex and define as weak alias of __if_nametoindex.
33348         Use libc_hidden_weak.
33349         (if_freenameindex): Rename to __if_freenameindex and define as
33350         weak alias of __if_freenameindex.
33351         (if_nameindex): Rename to __if_nameindex and define as weak alias
33352         of __if_nameindex.
33353         (if_indextoname): Rename to __if_indextoname and define as weak
33354         alias of __if_indextoname.  Use libc_hidden_weak.
33355         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
33356         __if_nametoindex and define as weak alias of __if_nametoindex.
33357         Use libc_hidden_weak.
33358         (if_freenameindex): Rename to __if_freenameindex and define as
33359         weak alias of __if_freenameindex.  Use libc_hidden_weak.
33360         (if_nameindex_netlink): Use __if_freenameindex instead of
33361         if_freenameindex.
33362         (if_nameindex): Rename to __if_nameindex and define as weak alias
33363         of __if_nameindex.  Use libc_hidden_weak.
33364         (if_indextoname): Rename to __if_indextoname and define as weak
33365         alias of __if_indextoname.  Use libc_hidden_weak.
33366         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
33367         libc_hidden_proto.
33368         [!_ISOMAC] (__if_freenameindex): Likewise.
33369         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
33370         if_nametoindex.
33371         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
33372         variable.
33373         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33374         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33375         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33376         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33377         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33378         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33379         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33381         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
33382         Remove variable.
33383         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33384         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33386 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33388         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
33389         subscript above bounds'
33391         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
33392         bounds.
33394 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
33396         * libio/tst-fopenloc.c: Use test-skeleton.c.
33398         * stdlib/tst-bsearch.c: Use test-skeleton.c.
33399         (entry): Rename to ITEM.
33400         (do_test, comp): Adjust.
33402         * stdio-common/tst-fseek.c: Use test-skeleton.c.
33404 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33406         * string/tester.c: Include <libc-internal.h>.
33407         (test_memset): Ignore -Wmemset-transposed-args.
33409 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33411         * misc/tst-mntent2.c (do_test): Fix warning.
33413 2014-12-16  Torvald Riegel  <triegel@redhat.com>
33415         * elf/tst-unique4lib.cc(a): Mark as used.
33417 2014-12-16  Florian Weimer  <fweimer@redhat.com>
33419         [BZ #17630]
33420         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
33421         names.
33423 2014-12-16  Allan McRae  <allan@archlinux.org>
33425         * stdio-common/Makefile (tests): Re-add bug26.
33427 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
33429         [BZ #17657]
33430         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
33431         static array.
33433 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
33435         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
33436         (__lll_lock_wait): Likewise.
33437         (__lll_timedlock_wait): Likewise.
33438         (__lll_timedwait_tid): Likewise.
33439         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
33440         (__lll_robust_timedlock_wait): Likewise.
33441         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
33442         (lll_cond_trylock): Likewise.
33443         (__lll_lock): Likewise.
33444         (__lll_robust_lock): Likewise.
33445         (__lll_cond_lock): Likewise.
33446         (lll_robust_cond_lock): Likewise.
33447         (__lll_timedlock): Likewise.
33448         (__lll_robust_timedlock): Likewise.
33449         (__lll_unlock): Likewise.
33450         (__lll_robust_unlock): Likewise.
33451         (lll_wait_tid): Likewise.
33452         (lll_timedwait_tid): Likewise.
33454 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33456         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
33458 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33460         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
33462 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33464         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
33465         * stdio-common/tst-sprintf.c: Likewise.
33467 2014-12-15  Torvald Riegel  <triegel@redhat.com>
33469         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
33471 2014-12-15  Jeff Law  <law@redhat.com>
33473         [BZ #16617]
33474         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
33475         on the heap.  (CVE-2012-3406)
33476         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
33477         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
33478         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
33480 2014-12-15  Will Newton  <will.newton@linaro.org>
33482         * manual/install.texi: Bump required version of texinfo
33483         to 4.7 from 4.5.
33484         * INSTALL: Regenerated.
33485         * configure.ac: Check for makeinfo version 4.7 and above.
33486         * configure: Regenerated.
33488 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33490         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
33491         PREFIX, string constant to insert between directory and name.
33492         * sysdeps/posix/shm_open.c: Update caller.
33493         * sysdeps/posix/shm_unlink.c: Likewise.
33494         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
33495         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
33496         (SEM_SHM_PREFIX): New macro.
33497         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
33498         [$(have-thread-library) = no].
33499         * nptl/Makefile (libpthread-routines): Add shm-directory.
33500         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
33501         * sysdeps/nptl/shm-directory.h: New file.
33502         * sysdeps/posix/shm-directory.c
33503         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
33504         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
33505         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
33506         INTERNAL_SYSCALL.
33507         (__where_is_shmfs): Function removed.
33508         (mountpoint, defaultmount, defaultdir, __namedsem_once):
33509         Variables removed.
33510         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
33511         Use SHM_GET_NAME.
33512         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
33514         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
33515         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
33516         unconditional for use inside libpthread.
33517         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
33519 2014-12-12  Roland McGrath  <roland@hack.frob.com>
33521         * nptl/pthread_getaffinity.c: New file.
33522         * nptl/pthread_setaffinity.c: New file.
33523         * nptl/pthread_getname.c: New file.
33524         * nptl/pthread_setname.c: New file.
33526         * nptl/pthread_create.c (START_THREAD_DEFN)
33527         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
33529 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33530             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33532         * resolv/res_send.c (send_vc): Disable warning resplen may
33533         be used uninitialized.
33535 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33537         * nptl/tst-mutex6.c
33538         (ATTR_NULL): New define checks ATTR against NULL.
33539         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
33540         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
33542 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
33544         [BZ #17581]
33545         * malloc/hooks.c
33546         (mem2mem_check): Revert my previous change.
33547         (malloc_check_get_size): Revert my previous change.
33548         (mem2chunk_check): Revert my previous change.
33550 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33552         * sysdeps/posix/shm-directory.c: New file.
33553         * sysdeps/posix/shm-directory.h: New file.
33554         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
33555         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
33556         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
33557         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
33558         Transmute EPERM to EACCES.
33559         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
33560         from ...
33561         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
33562         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
33564 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33566         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
33567         pointer and cast to uintptr_t.
33568         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
33569         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
33570         Add cast to avoid warning.
33571         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
33573 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33575         * nptl/semaphore.h: Move to ...
33576         * sysdeps/pthread/semaphore.h: ... here.
33577         * Makefile (installed-headers): Change nptl/semaphore.h to
33578         sysdeps/pthread/semaphore.h.
33580 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33582         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
33583         generated error format strings.
33585         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
33586         -Wformat-extra-args warnings for scanf formats.
33587         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
33588         test of zero-length format (duh).
33589         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
33590         corner-case scanf format test.
33591         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
33592         generated fprintf format string.
33593         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
33594         corner-case sprintf format tests.
33595         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
33596         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
33597         -Wformat-extra-args warnings throughout.
33598         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
33599         (CFLAGS-scanf4.c): Likewise.
33600         (CFLAGS-scanf7.c): Likewise.
33601         (CFLAGS-tst-sprintf.c): Likewise.
33602         (CFLAGS-tst-printf.c): Likewise.
33603         (CFLAGS-tst-printfsz.c): Likewise.
33605 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
33607         * include/cpio.h: New file.
33608         * include/fmtmsg.h: Likewise.
33610         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
33611         corresponding format argument to size_t.
33612         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
33613         arguments.
33614         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
33615         corresponding format argument to size_t.
33616         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
33617         arguments.
33618         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
33619         corresponding format argument to size_t.
33620         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
33621         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
33622         (CFLAGS-tst-mbswcs2.c): Likewise.
33623         (CFLAGS-tst-mbswcs3.c): Likewise.
33624         (CFLAGS-tst-mbswcs4.c): Likewise.
33625         (CFLAGS-tst-mbswcs5.c): Likewise.
33626         (CFLAGS-tst-trans.c): Likewise.
33628 2014-12-11  Roland McGrath  <roland@hack.frob.com>
33630         * posix/regexbug1.c (main): Use "%s" format with regerror results,
33631         rather than assuming they won't contain any '%'s.
33633 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
33635         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
33636         inhibit_loop_to_libcall to avoid recursive calls.
33637         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
33638         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
33640 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
33642         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
33643         prototype.
33645 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33647         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
33648         integer value instead of boolean.
33650 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
33652         * malloc/malloc.c: Fix powerof2 check.
33654 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33656         * locale/programs/locfile.h (maybe_swap_uint32):
33657         Remove inline and add unused attribute.
33659 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33662         Truncating assembler expression to a .long expression.
33664 2014-12-11  Andreas Schwab  <schwab@suse.de>
33666         * elf/rtld.c (struct map_args): Constify str member.
33667         (do_preload): Constify fname argument.
33669 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33671         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
33672         constants definition.
33674 2014-12-11  Andreas Schwab  <schwab@suse.de>
33676         [BZ #16657]
33677         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
33678         FORCE_ELISION instead of DO_ELISION.
33679         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
33680         Remove.
33681         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
33682         Likewise.
33684         * iconvdata/gconv-modules: Remove duplicate entry.
33686 2014-12-11  Will Newton  <will.newton@linaro.org>
33688         Merge gettext 0.19.3 into intl/.
33690         This involves a number of cosmetic changes to comments
33691         and ANSI function definitions and prototypes throughout
33692         all the files. The gettext copyright header is used but
33693         with the date ranges taken from the glibc copy.
33695         * NEWS: Add gettext merge to 2.21.
33696         * intl/bindtextdom.c: Switch to gettext copyright.
33697         Use ANSI definitions and prototypes.
33698         Use gl_* locking primitives rather than __libc_* ones.
33699         Use __builtin_expect rather than __glibc_likely/unlikely.
33700         * intl/dcgettext.c: Switch to gettext copyright.
33701         Use ANSI definitions and prototypes.
33702         * intl/dcigettext.c: Switch to gettext copyright.
33703         Use ANSI definitions and prototypes.
33704         (INTDIV0_RAISES_SIGFPE): New define.
33705         Use gl_* locking primitives rather than __libc_* ones.
33706         Include eval-plural.h instead of plural-eval.c.
33707         Use __builtin_expect rather than __glibc_likely/unlikely.
33708         * intl/dcngettext.c: Switch to gettext copyright.
33709         Use ANSI definitions and prototypes.
33710         * intl/dgettext.c: Likewise.
33711         * intl/dngettext.c: Likewise.
33712         * intl/plural-eval.c: Renamed to...
33713         * intl/eval-plural.h: ...this.
33714         * intl/explodename.c: Switch to gettext copyright.
33715         Use ANSI definitions and prototypes.
33716         (_nl_explode_name): Use strchr instead of __rawmemchr.
33717         * intl/finddomain.c: Switch to gettext copyright.
33718         Use ANSI definitions and prototypes.
33719         Use gl_* locking primitives rather than __libc_* ones.
33720         (_nl_find_domain): Use malloc rather than alloca for
33721         allocation of temporary locale name.
33722         * intl/gettext.c: Switch to gettext copyright.
33723         Use ANSI definitions and prototypes.
33724         * intl/gettextP.h: Switch to gettext copyright.
33725         Use ANSI definitions and prototypes.
33726         Use gl_* locking primitives rather than __libc_* ones.
33727         * intl/gmo.h: Switch to gettext copyright.
33728         (struct sysdep_string): Move struct segment_pair outside of
33729         struct definition.
33730         * intl/hash-string.c: Use ANSI definitions and prototypes.
33731         * intl/hash-string.h: Switch to gettext copyright.
33732         Use ANSI definitions and prototypes.
33733         * intl/l10nflist.c: Switch to gettext copyright.
33734         Use ANSI definitions and prototypes.
33735         (_nl_normalize_codeset): Avoid integer overflow.
33736         * intl/loadinfo.h: Switch to gettext copyright.
33737         Use ANSI definitions and prototypes.
33738         (LIBINTL_DLL_EXPORTED): New define.
33739         (PATH_SEPARATOR): New define.
33740         * intl/loadmsgcat.c: Switch to gettext copyright.
33741         * intl/localealias.c: Switch to gettext copyright.
33742         Use ANSI definitions and prototypes.
33743         (_nl_expand_alias): Use PATH_SEPARATOR.
33744         * intl/ngettext.c: Switch to gettext copyright.
33745         Use ANSI definitions and prototypes.
33746         * intl/plural-exp.c: Likewise.
33747         * intl/plural-exp.h: Switch to gettext copyright.
33748         Use ANSI definitions and prototypes.
33749         (struct expression): Move definition of enum operator outside
33750         of struct definition.
33751         * intl/plural.c: Regenerate.
33752         * intl/plural.y: Switch to gettext copyright.
33753         Use ANSI definitions and prototypes.
33754         Port to bison 3.0.
33755         * intl/textdomain.c: Switch to gettext copyright.
33756         Use ANSI definitions and prototypes.
33757         Use gl_* locking primitives rather than __libc_* ones.
33759 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
33761         * debug/warning-nop.c: Add used atrribute.
33763 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33765         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
33767         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
33768         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
33769         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
33771 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33772             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33774         [BZ #17634]
33775         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
33776         Undefine after defining function.  Define as weak alias of
33777         __wcschr.  Use libc_hidden_weak.
33778         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
33779         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
33780         (libc_hidden_def): Also define __GI___wcschr alias.
33781         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
33782         __wcschr and define as weak alias of __wcschr.
33783         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
33784         __wcschr.
33785         [!WCSCHR] (DEFAULT_WCSCHR): Define.
33786         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
33787         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
33788         libc_hidden_weak.  Do not use libc_hidden_def.
33789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
33790         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33791         __GI___wcschr alias.
33792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
33793         [IS_IN (libc)] (wcschr): Define as macro expanding to
33794         __redirect_wcschr.
33795         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
33796         [IS_IN (libc)] (__wcschr_power6): Likewise.
33797         [IS_IN (libc)] (__wcschr_power7): Likewise.
33798         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
33799         instead of wcschr.
33800         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
33801         __libc_wcschr.
33802         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
33803         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
33804         __wcschr and define as weak alias of __wcschr.  Use
33805         libc_hidden_builtin_def.
33806         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
33807         as weak alias of __wcschr.  Use libc_hidden_weak.
33808         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
33809         wcschr.
33810         * time/era.c (_nl_init_era_entries): Likewise.
33811         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
33812         variable.
33813         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33814         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33816 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33818         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
33819         format for long int variable.
33821 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
33823         [BZ #10672]
33824         * manual/search.texi: (Array Sort Function): Remove claim how to make
33825         qsort stable.
33827 2014-12-10  Andreas Schwab  <schwab@suse.de>
33829         [BZ #12847]
33830         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
33831         user-controlled locks.
33833 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
33835         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
33836         register.
33838 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
33840         * configure.ac (--disable-werror): New configure option.
33841         (enable_werror): New AC_SUBST.
33842         * configure: Regenerated.
33843         * config.make.in (enable-werror): New variable.
33844         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
33845         -Wno-error=undef.
33846         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
33847         * manual/install.texi (Configuring and compiling): Document
33848         --disable-werror.
33849         * INSTALL: Regenerated.
33850         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
33851         (CFLAGS-tst-chk2.c): Likewise.
33852         (CFLAGS-tst-chk3.c): Likewise.
33853         (CFLAGS-tst-chk4.cc): Likewise.
33854         (CFLAGS-tst-chk5.cc): Likewise.
33855         (CFLAGS-tst-chk6.cc): Likewise.
33856         (CFLAGS-tst-lfschk1.c): Likewise.
33857         (CFLAGS-tst-lfschk2.c): Likewise.
33858         (CFLAGS-tst-lfschk3.c): Likewise.
33859         (CFLAGS-tst-lfschk4.cc): Likewise.
33860         (CFLAGS-tst-lfschk5.cc): Likewise.
33861         (CFLAGS-tst-lfschk6.cc): Likewise.
33863         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
33864         (main): Disable -Wdeprecated-declarations around calls to
33865         register_printf_function.
33867         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
33868         (do_test): Disable -Wdiv-by-zero around some calls to
33869         fwrite_unlocked and fread_unlocked.
33871         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
33872         (DIAG_POP_NEEDS_COMMENT): Likewise.
33873         (_DIAG_STR1): Likewise.
33874         (_DIAG_STR): Likewise.
33875         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
33876         * stdio-common/bug21.c: Include <libc-internal.h>.
33877         (do_test): Disable -Wformat around call to sscanf.
33878         * stdio-common/scanf14.c: Include <libc-internal.h>.
33879         (main): Disable -Wformat around some calls to scanf functions.
33881 2014-12-09  Torvald Riegel  <triegel@redhat.com>
33883         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
33885 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33887         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
33888         stack variable alignment.
33890 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
33892         [BZ #17682]
33893         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
33894         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
33895         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
33896         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
33897         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
33898         __getrlimit instead of getrlimit.
33899         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
33900         __gettimeofday instead of gettimeofday.
33901         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33902         Likewise.
33903         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33904         Likewise.
33905         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33906         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
33907         Remove variable.
33908         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33909         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33911 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33913         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
33914         for wide-character tests.
33916 2014-12-04  Roland McGrath  <roland@hack.frob.com>
33918         * io/openat64.c: #include <libc-internal.h>
33919         (__openat64): Prototypify.  Use ignore_value on MODE.
33920         * io/openat.c: Likewise.
33921         * misc/reboot.c: #include <libc-internal.h>
33922         (reboot): Prototypify.  Use ignore_value on HOWTO.
33923         * misc/ptrace.c: #include <libc-internal.h>
33924         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
33926 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
33928         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
33929         XPG4, UNIX98 and XOPEN2K.
33930         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
33931         Remove variable.
33932         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33934 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33936         * libio/fileops.c: Use ISO C style for function definitions.
33937         * libio/iofopen.c: Likewise.
33938         * libio/wfileops.c: Likewise.
33940         [BZ #17653]
33941         * libio/fileops.c (_IO_new_file_underflow): Unset cached
33942         offset on EOF.
33943         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
33944         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
33945         (fgets_func): Function pointer to fgets and fgetws.
33946         (do_ftell_test): Add test to verify ftell value after read
33947         EOF.
33948         (do_test): Set fgets_func.
33950         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
33951         O_TRUNC flag for w and w+ modes.
33952         (do_rewind_test): Likewise.
33953         (do_ftell_test): Likewise.
33954         (do_write_test): Likewise.
33956         [BZ #17647]
33957         * libio/fileops.c (do_ftell): Seek only when there are
33958         unflushed writes.
33959         * libio/wfileops.c (do_ftell_wide): Likewise.
33960         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
33961         test case.
33962         (do_one_test): Call it.
33964 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
33966         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
33967         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
33968         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
33969         Remove variable.
33970         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33971         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33972         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33974 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
33976         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
33977         Remove variable.
33978         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33980         [BZ #17668]
33981         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
33982         as weak alias of __getifaddrs.  Use libc_hidden_weak.
33983         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33984         __freeifaddrs.  Use libc_hidden_weak.
33985         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
33986         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
33987         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33988         __freeifaddrs.  Use libc_hidden_weak.
33989         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
33990         __getifaddrs and define as weak alias of __getifaddrs.  Use
33991         libc_hidden_weak.
33992         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
33993         __freeifaddrs.  Use libc_hidden_weak.
33994         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
33995         Remove variable.
33996         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33997         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33999 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
34001         [BZ #17601]
34002         * sysdeps/mips/start.S (__start): Use indirect jump to call
34003         __libc_start_main.
34005 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34007         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
34009         * nptl/tst-mutex1.c: Include <stdbool.h>.
34010         [!ATTR] (ATTR_NULL): New macro.
34011         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
34012         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
34013         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
34015         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
34016         to char *.
34018         [BZ #17665]
34019         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
34020         Change conditional to [__USE_MISC].
34022         [BZ #17664]
34023         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
34024         fgets_unlocked.
34025         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
34026         __fgets_unlocked.
34027         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
34028         fgets_unlocked.
34029         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
34030         Remove variable.
34031         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34032         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34033         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34034         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34035         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34036         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34037         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34038         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34039         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34041         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
34043 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34045         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34046         Remove strpbrk objects.
34047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34048         (__libc_ifunc_impl_list): Remove strpbrk implementation.
34049         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
34050         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
34051         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
34052         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
34054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34055         Remove strcspn objects.
34056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34057         (__libc_ifunc_impl_list): Remove strcspn implementation.
34058         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
34059         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
34060         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
34061         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
34063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34064         Remove strspn objetcs.
34065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34066         (__libc_ifunc_impl_list): Remove strspn implementation.
34067         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
34068         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34069         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
34070         * sysdeps/powerpc/powerpc64/strspn.S: New file.
34072 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
34074         [BZ #17581]
34075         * malloc/hooks.c
34076         (mem2mem_check): Add a terminator to the chain of checking blocks.
34077         (malloc_check_get_size): Use it here.
34078         (mem2chunk_check): Ditto.
34080 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34082         * sysdeps/powerpc/powerpc64/strtok.S: New file.
34083         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
34085 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
34087         * bits/ioctl-types.h: Indent preprocessor directives correctly.
34089         * nptl/nptl-init.c: Include libc-internal.h.
34090         (__pthread_initialize_minimal_internal): Use ROUND_UP.
34092         * elf/ldconfig.c (search_dir): Expand comment.
34094 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
34096         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
34097         variable.
34098         (linknamespace-symlist-stdlibs-tests): Likewise.
34099         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
34100         instead of $(objpfx)symlist-stdlibs.
34101         (linknamespace-libs-isoc): New variable.
34102         (linknamespace-libs): Use $(linknamespace-libs-isoc).
34103         (linknamespace-libs-ISO): New variable.
34104         (linknamespace-libs-ISO99): Likewise.
34105         (linknamespace-libs-ISO11): Likewise.
34106         (linknamespace-libs-XPG3): Likewise.
34107         (linknamespace-libs-XPG4): Likewise.
34108         (linknamespace-libs-POSIX): Likewise.
34109         (linknamespace-libs-UNIX98): Likewise.
34110         (linknamespace-libs-XOPEN2K): Likewise.
34111         (linknamespace-libs-POSIX2008): Likewise.
34112         (linknamespace-libs-XOPEN2K8): Likewise.
34113         ($(objpfx)symlist-stdlibs): Replace by
34114         $(linknamespace-symlist-stdlibs-tests).  Use
34115         $(linknamespace-libs-$*) as set of libraries.
34116         ($(linknamespace-header-tests)): Update dependencies.  Use
34117         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
34118         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
34119         * conform/linknamespace.pl: Remove comment about considering
34120         definitions of symbols from irrelevant libraries.
34122 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
34124         [BZ #13862]
34125         * elf/dl-tls.c: Include <atomic.h>.
34126         (oom): Remove #ifdef SHARED/#endif.
34127         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
34128         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
34129         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
34130         big enough.
34131         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
34132         * nptl/Makefile (tests): Add tst-stack4.
34133         (modules-names): Add tst-stack4mod.
34134         ($(objpfx)tst-stack4): New.
34135         (tst-stack4mod.sos): Likewise.
34136         ($(objpfx)tst-stack4.out): Likewise.
34137         ($(tst-stack4mod.sos)): Likewise.
34138         (clean): Likewise.
34139         * nptl/tst-stack4.c: New file.
34140         * nptl/tst-stack4mod.c: Likewise.
34142 2014-11-27  J. Brown  <jb999@gmx.de>
34144         * sysdeps/x86/bits/string.h: Add recent CPUs.
34146 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34148         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
34149         sigblock.
34151         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
34152         feof.
34154         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
34155         variable.
34157 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
34159         * nscd/connections.c: Include libc-internal.h because of macro
34160         usage ignore_value.
34162 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34164         * string/bits/string3.h (__warn_memset_zero_len): Don't
34165         declare for gcc newer than 5.0.
34166         (memset): Don't test for zero-length __LEN for gcc newer than
34167         5.0.
34169 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
34171         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
34172         size_t for %zu format.
34174         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
34175         difference, not %ju.
34177 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34179         * include/libc-internal.h (ignore_value): New macro.
34180         * nscd/connections.c (restart): Wrap calls to setuid and setgid
34181         with ignore_value.
34183         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
34184         definition.
34186         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
34187         pthread_cleanup_push to void *.
34189         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
34190         Undefine.
34192         [BZ #16619]
34193         [BZ #16740]
34194         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
34195         instead of 1L << 52.
34197         * libio/bug-rewind.c (do_test): Check fwscanf return values.
34198         * libio/bug-rewind2.c (do_test): Likewise.
34200         * debug/test-stpcpy_chk-ifunc.c: Remove file.
34201         * debug/test-strcpy_chk-ifunc.c: Likewise.
34202         * wcsmbs/test-wcschr-ifunc.c: Likewise.
34203         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34204         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34205         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34206         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34207         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34208         * Rules [$(multi-arch) = no] (tests): Do not filter out
34209         $(tests-ifunc).
34210         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
34211         * debug/Makefile (tests-ifunc): Remove variable.
34212         (tests): Do not add $(tests-ifunc).
34213         * wcsmbs/Makefile (tests-ifunc): Remove variable.
34214         (tests): Do not add $(tests-ifunc).
34215         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
34216         [TEST_IFUNC]: Remove conditionals.
34217         * string/test-string.h (TEST_IFUNC): Remove macro.
34218         [TEST_IFUNC]: Remove conditionals.
34220         * string/test-strchr.c [!WIDE] (L): New macro.
34221         [WIDE] (L): Likewise.
34222         (check1): Use CHAR instead of char.  Use L on string and character
34223         constants.
34225 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
34227         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
34228         tests.
34229         * sysdeps/powerpc/bits/atomic.h
34230         (__arch_atomic_exchange_and_add_32_acq): Add definition.
34231         (__arch_atomic_exchange_and_add_32_rel): Likewise.
34232         (atomic_exchange_and_add_acq): Likewise.
34233         (atomic_exchange_and_add_rel): Likewise.
34234         * sysdeps/powerpc/powerpc32/bits/atomic.h
34235         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34236         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34237         * sysdeps/powerpc/powerpc64/bits/atomic.h
34238         (__arch_atomic_exchange_and_add_64_acq): Add definition.
34239         (__arch_atomic_exchange_and_add_64_rel): Likewise.
34241 2014-11-26  Torvald Riegel  <triegel@redhat.com>
34243         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
34244         Change synchronization of __sched_fifo_min_prio and
34245         __sched_fifo_max_prio.
34246         * nptl/pthread_mutexattr_getprioceiling.c
34247         (pthread_mutexattr_getprioceiling): Likewise.
34248         * nptl/pthread_mutexattr_setprioceiling.c
34249         (pthread_mutexattr_setprioceiling): Likewise.
34250         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34251         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
34252         Likewise.
34254 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
34256         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
34257         void.
34259 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34261         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
34262         third argument const.
34264 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
34266         fnmatch: work around GCC compiler warning bug with uninit var
34267         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
34268         This works around a bug with x86-64 GCC 4.9.2 and earlier
34269         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
34270         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
34271         used uninitialized in this function [-Wmaybe-uninitialized]".
34273 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
34275         * posix/bug-regex31.c (main): Return RES not 0.
34277 2014-11-25  Anton Blanchard <anton@samba.org>
34279         * sysdeps/powerpc/bits/atomic.h
34280         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
34282 2014-11-24  Sterling Augustine  <saugustine@google.com>
34284         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
34286 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
34288         [BZ #17608]
34289         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
34291 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
34293         [BZ #17633]
34294         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
34295         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
34296         variable.
34297         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34298         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34300 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34302         * string/strncpy.c (strncpy): Improve performance by using memset.
34304 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
34306         * string/strcpy.c (strcpy):
34307         Improve performance by using strlen and memcpy.
34309 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
34311         * string/strcoll_l.c (get_next_seq): __always_inline.
34312         * string/strcoll_l.c (do_compare): __always_inline.
34314 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34316         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
34317         defined.
34318         * include/mqueue.h: Likewise.
34319         * include/stdlib.h: Likewise.
34321         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
34322         (get_null_defines): Adjust.
34323         * sunrpc/Makefile: Adjust comment.
34324         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
34325         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
34326         (CFLAGS-interp.c): Likewise.
34327         (CFLAGS-ldconfig.c): Likewise.
34328         (CPPFLAGS-.os): Likewise.
34329         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34330         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34331         * extra-modules.mk (extra-modules.mk): Likewise.
34332         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
34333         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
34334         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
34335         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
34336         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
34337         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
34338         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
34339         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
34340         * iconvdata/Makefile (CPPFLAGS): Likewise.
34341         (cpp-srcs-left): Add libof for all iconvdata routines.
34342         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
34343         * include/assert.h: Likewise.
34344         * include/ctype.h: Likewise.
34345         * include/errno.h: Likewise.
34346         * include/libc-symbols.h: Likewise.
34347         * include/math.h: Likewise.
34348         * include/netdb.h: Likewise.
34349         * include/resolv.h: Likewise.
34350         * include/stdio.h: Likewise.
34351         * include/stdlib.h: Likewise.
34352         * include/string.h: Likewise.
34353         * include/sys/stat.h: Likewise.
34354         * include/wctype.h: Likewise.
34355         * intl/l10nflist.c: Likewise.
34356         * libidn/idn-stub.c: Likewise.
34357         * libio/libioP.h: Likewise.
34358         * nptl/libc_multiple_threads.c: Likewise.
34359         * nptl/pthreadP.h: Likewise.
34360         * posix/regex_internal.h: Likewise.
34361         * resolv/res_hconf.c: Likewise.
34362         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
34363         * sysdeps/arm/memmove.S: Likewise.
34364         * sysdeps/arm/sysdep.h: Likewise.
34365         * sysdeps/generic/_itoa.h: Likewise.
34366         * sysdeps/generic/symbol-hacks.h: Likewise.
34367         * sysdeps/gnu/errlist.awk: Likewise.
34368         * sysdeps/gnu/errlist.c: Likewise.
34369         * sysdeps/i386/i586/memcpy.S: Likewise.
34370         * sysdeps/i386/i586/memset.S: Likewise.
34371         * sysdeps/i386/i686/memcpy.S: Likewise.
34372         * sysdeps/i386/i686/memmove.S: Likewise.
34373         * sysdeps/i386/i686/mempcpy.S: Likewise.
34374         * sysdeps/i386/i686/memset.S: Likewise.
34375         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34376         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34377         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
34378         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
34379         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34380         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34381         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
34382         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34383         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34384         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34385         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34386         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34387         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34388         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34389         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34390         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34391         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
34392         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
34393         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
34394         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34395         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34396         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34397         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34398         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34399         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34400         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34401         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
34402         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34403         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
34404         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34405         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34406         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34408         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34409         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34410         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34411         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34412         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34414         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34415         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34416         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34417         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34418         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34419         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34420         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34421         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
34422         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
34423         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34424         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34425         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34426         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
34427         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
34428         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34429         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34430         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
34431         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34432         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
34433         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
34434         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34435         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34436         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34437         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
34438         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34439         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34440         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
34441         * sysdeps/posix/closedir.c: Likewise.
34442         * sysdeps/posix/opendir.c: Likewise.
34443         * sysdeps/posix/readdir.c: Likewise.
34444         * sysdeps/posix/rewinddir.c: Likewise.
34445         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
34446         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
34447         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34448         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34449         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
34451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
34452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
34453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
34454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
34455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
34456         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
34457         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
34458         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
34459         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
34460         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
34461         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
34462         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
34463         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
34464         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
34465         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
34466         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
34467         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
34468         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
34469         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
34470         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
34471         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
34472         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
34473         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
34474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
34475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
34476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
34477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
34478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
34479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
34480         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
34481         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34482         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34483         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
34484         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
34485         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
34486         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
34487         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
34488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
34489         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
34490         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
34491         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
34492         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
34493         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
34494         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
34495         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
34496         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
34497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
34498         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
34499         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
34500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
34501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
34502         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
34503         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
34504         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
34505         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
34506         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
34507         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
34508         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
34509         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
34510         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
34511         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
34512         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
34513         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
34514         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
34515         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
34516         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
34517         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
34518         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
34519         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
34520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
34521         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
34522         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
34523         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
34524         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
34525         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
34526         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
34527         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
34528         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
34529         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
34531         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
34532         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34533         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34535         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
34536         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
34537         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
34538         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
34541         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34543         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
34544         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
34545         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34546         * sysdeps/unix/alpha/sysdep.S: Likewise.
34547         * sysdeps/unix/alpha/sysdep.h: Likewise.
34548         * sysdeps/unix/make-syscalls.sh: Likewise.
34549         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34551         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34552         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
34553         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34554         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
34555         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
34556         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34557         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34558         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
34559         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34560         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34562         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34563         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34564         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34565         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34566         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34567         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34568         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34569         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
34570         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34571         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34572         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34573         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34574         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34575         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34578         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
34579         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34583         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34587         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34588         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34589         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34590         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34592         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34593         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34596         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34598         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34599         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34600         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34601         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34602         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
34604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34605         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34607         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
34608         * sysdeps/x86_64/memcpy.S: Likewise.
34609         * sysdeps/x86_64/memmove.c: Likewise.
34610         * sysdeps/x86_64/memset.S: Likewise.
34611         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
34612         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34613         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34614         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
34615         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
34616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34617         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34618         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34619         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34620         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34621         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34622         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34623         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
34624         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34625         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34626         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
34627         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34628         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34629         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34630         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34631         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
34632         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34635         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34636         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34637         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34638         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
34639         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
34640         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34641         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
34642         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34643         * sysdeps/x86_64/strcmp.S: Likewise.
34645         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
34647         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
34648         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
34649         * elf/rtld-Rules: Likewise.
34650         * elf/setup-vdso.h: Likewise.
34651         * include/assert.h: Likewise.
34652         * include/bits/stdlib-float.h: Likewise.
34653         * include/errno.h: Likewise.
34654         * include/sys/stat.h: Likewise.
34655         * include/unistd.h: Likewise.
34656         * sysdeps/aarch64/setjmp.S: Likewise.
34657         * sysdeps/alpha/setjmp.S: Likewise.
34658         * sysdeps/arm/__longjmp.S: Likewise.
34659         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
34660         * sysdeps/arm/setjmp.S: Likewise.
34661         * sysdeps/arm/sysdep.h: Likewise.
34662         * sysdeps/generic/_itoa.h: Likewise.
34663         * sysdeps/generic/dl-sysdep.h: Likewise.
34664         * sysdeps/generic/ldsodefs.h: Likewise.
34665         * sysdeps/i386/dl-tls.h: Likewise.
34666         * sysdeps/i386/setjmp.S: Likewise.
34667         * sysdeps/m68k/setjmp.c: Likewise.
34668         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
34669         * sysdeps/mach/hurd/opendir.c: Likewise.
34670         * sysdeps/posix/getcwd.c: Likewise.
34671         * sysdeps/posix/opendir.c: Likewise.
34672         * sysdeps/posix/profil.c: Likewise.
34673         * sysdeps/powerpc/dl-procinfo.h: Likewise.
34674         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34675         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34676         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34677         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34678         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
34679         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
34680         * sysdeps/s390/dl-tls.h: Likewise.
34681         * sysdeps/s390/s390-32/setjmp.S: Likewise.
34682         * sysdeps/s390/s390-64/setjmp.S: Likewise.
34683         * sysdeps/sh/sh3/setjmp.S: Likewise.
34684         * sysdeps/sh/sh4/setjmp.S: Likewise.
34685         * sysdeps/unix/alpha/sysdep.h: Likewise.
34686         * sysdeps/unix/arm/sysdep.S: Likewise.
34687         * sysdeps/unix/i386/sysdep.S: Likewise.
34688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34689         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34690         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34691         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34692         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34693         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
34694         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
34695         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34696         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
34697         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
34698         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
34699         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34703         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34706         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34707         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34708         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34709         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34710         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34711         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34712         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34713         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34715         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34716         * sysdeps/x86_64/setjmp.S: Likewise.
34718         * include/math.h: Use IS_IN instead of IS_IN_libm.
34719         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
34720         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34721         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34722         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
34723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34724         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34725         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34726         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34727         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34728         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34729         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
34730         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
34731         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
34732         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
34733         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
34734         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
34735         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
34736         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
34737         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
34738         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
34739         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
34740         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
34741         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
34742         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
34743         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
34744         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
34745         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
34746         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
34747         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
34748         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
34749         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
34750         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
34751         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
34753         Likewise.
34754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
34755         Likewise.
34756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
34757         Likewise.
34758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
34759         Likewise.
34760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
34761         Likewise.
34762         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
34763         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
34764         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
34765         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34766         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34767         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
34769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
34770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
34771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
34772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
34773         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
34774         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
34775         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34776         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34777         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34778         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34780         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34781         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
34782         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
34783         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
34784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
34785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
34786         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
34787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34788         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
34790         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
34791         * nptl/pthreadP.h: Likewise.
34792         * nptl_db/structs.def: Likewise.
34793         * sysdeps/arm/sysdep.h: Likewise.
34794         * sysdeps/nptl/bits/libc-lock.h: Likewise.
34795         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
34796         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
34797         * sysdeps/unix/alpha/sysdep.h: Likewise.
34798         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
34800         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34801         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34802         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34803         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34804         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34805         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34806         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34807         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34808         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34809         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34810         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34811         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
34813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
34814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34816         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34819         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34820         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
34821         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34822         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
34823         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34825         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
34826         * nptl/pthreadP.h: Likewise.
34827         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
34828         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
34829         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
34830         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
34831         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
34832         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
34833         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
34834         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
34835         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
34836         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
34837         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
34838         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
34839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34840         Likewise.
34841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34842         Likewise.
34843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
34844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
34845         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
34846         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
34847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
34848         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
34849         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
34850         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
34852         * dlfcn/dladdr.c: Use IS_IN.
34853         * dlfcn/dladdr1.c: Likewise.
34854         * dlfcn/dlclose.c: Likewise.
34855         * dlfcn/dlerror.c: Likewise.
34856         * dlfcn/dlinfo.c: Likewise.
34857         * dlfcn/dlmopen.c: Likewise.
34858         * dlfcn/dlopen.c: Likewise.
34859         * dlfcn/dlsym.c: Likewise.
34860         * dlfcn/dlvsym.c: Likewise.
34862         * include/ifaddrs.h: Use IS_IN.
34863         * inet/check_pf.c: Likewise.
34864         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34865         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
34867         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
34868         IS_IN_ldconfig.
34869         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
34870         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
34872         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
34873         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
34874         IS_IN (libc).
34876         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
34878         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
34879         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34880         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
34881         * include/libc-symbols.h (IS_IN_LIB): New macro.
34882         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
34883         * include/netdb.h: Likewise.
34884         * include/stap-probe.h: Remove all uses of IN_LIB.
34886         * Makeconfig (module-cppflags-real): Define MODULE_NAME
34887         instead of IN_MODULE.
34888         * include/libc-symbols.h (IN_MODULE): Define using
34889         MODULE_NAME.
34890         (PASTE_NAME, PASTE_NAME1): New macros.
34891         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
34892         of IN_LIB.
34893         (STAP_PROBE_ASM): Likewise.
34895 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34897         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
34898         __mach_init in dlopened libc.
34900 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
34902         * sysdeps/arm/preconfigure.ac: Delete EABI check.
34903         * sysdeps/arm/preconfigure: Regenerate.
34905 2014-11-21  Roland McGrath  <roland@hack.frob.com>
34907         * nptl/pthread_create.c (__pthread_create_2_1): Set
34908         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
34909         when copying values from IATTR into PD.
34911 2014-11-21  Will Newton  <will.newton@linaro.org>
34912             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
34914         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
34915         Refactor inline-asm.  Also add comment.
34917         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
34918         ElfW macro instead of hardcoded Elf64 types.
34919         (la_aarch64_gnu_pltenter): Likewise.
34920         * sysdeps/aarch64/dl-machine.h
34921         (elf_machine_runtime_setup): Use ElfW(Addr).
34923         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
34924         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
34925         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
34926         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
34927         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
34928         (R_AARCH64_TLS_DTPMOD64): Rename to ..
34929         (R_AARCH64_TLS_DTPMOD): This.
34930         (R_AARCH64_TLS_DTPREL64): Rename to ...
34931         (R_AARCH64_TLS_DTPREL): This.
34932         (R_AARCH64_TLS_TPREL64): Rename to ...
34933         (R_AARCH64_TLS_TPREL): This.
34934         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
34935         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
34936         R_AARCH64_TLS_TPREL64.
34937         (elf_machine_rela): Likewise.
34939 2014-11-21  Torvald Riegel  <triegel@redhat.com>
34941         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
34942         by setting it to 0.  64b atomics are not supported currently.
34944 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34946         [BZ #16469]
34947         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
34948         search domain names.
34950 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34952         [BZ #16469]
34953         * NEWS: Update.
34954         * resolv/res_query.c (__libc_res_nquerydomain): Retain
34955         trailing dot.
34956         * posix/tst-getaddrinfo5.c: New.
34957         * posix/Makefile (tests): Add it.
34959 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34961         [BZ #14498]
34962         * NEWS: Fixed.
34963         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
34964         after parsing line but before break_if_match.
34965         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
34966         if there is a protocol mismatch.
34968 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
34970         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
34971         because the potential race is on the user-supplied stream.
34973 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34975         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
34976         string literal if not passed a buffer.
34977         * manual/job.texi (ctermid): Update reasoning, note deviation
34978         from posix, suggest mtasurace when not passed a buffer, for
34979         future non-preliminary safety notes.
34981 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34983         * manual/users.texi (cuserid): Fix MT-Safety note for the case
34984         of not passing it a buffer.
34985         Reported by Peng Haitao.
34987 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
34989         * manual/Makefile ($(objpfx)stamp-summary): Require
34990         check-safety.sh to pass.
34991         * manual/check-safety.sh: Wish for verification that every
34992         @deftypefn and @deftypefun is followed by a @safety remark.
34994 2014-11-20  Roland McGrath  <roland@hack.frob.com>
34996         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
34998         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
34999         PTHREAD_CANCEL_ASYNCHRONOUS.
35000         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
35001         send SIGCANCEL.
35003         * nptl/default-sched.h: New file.
35004         * sysdeps/unix/sysv/linux/default-sched.h: New file.
35005         * nptl/pthread_create.c: Include it.
35006         (__pthread_create_2_1): Use collect_default_sched instead of making
35007         Linux syscalls here directly.
35009 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35011         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
35012         __pthread_once): Use C11 atomics.
35014 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35016         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
35018 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35020         * include/atomic.h (__atomic_link_error, __atomic_check_size,
35021         atomic_thread_fence_acquire, atomic_thread_fence_release,
35022         atomic_thread_fence_seq_cst, atomic_load_relaxed,
35023         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
35024         atomic_compare_exchange_weak_relaxed,
35025         atomic_compare_exchange_weak_acquire,
35026         atomic_compare_exchange_weak_release,
35027         atomic_exchange_acquire, atomic_exchange_release,
35028         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
35029         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
35030         atomic_fetch_and_acquire,
35031         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
35033 2014-11-20  Torvald Riegel  <triegel@redhat.com>
35035         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
35036         USE_ATOMIC_COMPILER_BUILTINS): Define.
35037         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
35038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35039         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
35040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35041         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
35042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35043         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
35044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35045         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
35046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35047         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
35048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35049         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
35050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35051         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35053         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35055         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35057         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
35058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35059         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
35060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35061         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
35062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35063         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
35064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35065         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
35066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35067         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
35068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35069         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
35070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35071         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
35072         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35073         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
35074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35075         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
35076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
35078 2014-11-19  Roland McGrath  <roland@hack.frob.com>
35080         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
35081         the sched_priority value here.  It was already checked when the user
35082         called pthread_attr_setschedparam.
35084         * nptl/tst-bad-schedattr.c: New file.
35085         * nptl/Makefile (tests): Add it.
35087 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
35088             Florian Weimer  <fweimer@redhat.com>
35089             Joseph Myers  <joseph@codesourcery.com>
35090             Adam Conrad  <adconrad@0c3.net>
35091             Andreas Schwab  <schwab@suse.de>
35092             Brooks  <bmoses@google.com>
35094         [BZ #17625]
35095         * wordexp-test.c (__dso_handle): Add prototype.
35096         (__register_atfork): Likewise.
35097         (__app_register_atfork): New function.
35098         (registered_forks): New global.
35099         (register_fork): New function.
35100         (test_case): Add 3 new tests for WRDE_CMDSUB.
35101         (main): Call __app_register_atfork.
35102         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
35103         fork count is non-zero fail the test.
35104         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
35105         is set.
35106         (parse_dollars): Remove check for WRDE_NOCMD.
35107         (parse_dquote): Likewise.
35109 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35111         * Makeconfig (built-modules): List non-library modules to be
35112         built.
35113         (module-cppflags): Include libc-modules.h for
35114         everything except shlib-versions.v.i.
35115         (CPPFLAGS): Use it.
35116         (before-compile): Add libc-modules.h.
35117         ($(common-objpfx)libc-modules.h,
35118         $(common-objpfx)libc-modules.stmp): New targets.
35119         (common-generated): Add libc-modules.h and libc-modules.stmp.
35120         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
35121         * include/libc-symbols.h: Don't include libc-modules.h.
35122         * include/libc-modules.h: Remove file.
35123         * scripts/gen-libc-modules.awk: New script to generate
35124         libc-modules.h.
35125         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
35126         Depend on libc-modules.stmp.
35128         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
35130         * Makeconfig (in-module): Get value of libof set for the
35131         translation unit.
35132         (CPPFLAGS): Use $(in-module).
35133         * Makerules: Don't suffix routine names for nonlib.
35134         * include/libc-modules.h: New file.
35135         * include/libc-symbols.h: Include libc-modules.h
35136         (IS_IN): New macro to replace IS_IN_* macros.
35137         * elf/Makefile: Set libof-* for each routine.
35138         * elf/rtld-Rules: Likewise.
35139         * extra-modules.mk: Likewise.
35140         * iconv/Makefile: Likewise.
35141         * iconvdata/Makefile: Likewise.
35142         * locale/Makefile: Likewise.
35143         * malloc/Makefile: Likewise.
35144         * nss/Makefile: Likewise.
35145         * sysdeps/gnu/Makefile: Likewise.
35146         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
35147         * sysdeps/unix/sysv/linux/Makefile: Likewise.
35148         * sysdeps/s390/s390-64/Makefile: Likewise.
35149         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
35150         CPPFLAGS for nscd instead of nonlib.
35152 2014-11-18  Roland McGrath  <roland@hack.frob.com>
35154         * nptl/createthread.c: New file.
35156         * nptl/createthread.c: Moved ...
35157         * sysdeps/unix/sysv/linux/createthread.c: ... here.
35159         * nptl/createthread.c: Add proper top-line comment.
35160         (do_clone): Folded into ...
35161         (create_thread): ... here.  Take new arguments STOPPED_START and
35162         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
35163         increment __nptl_threads, do event-reporting logic, do
35164         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
35165         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
35166         resource cleanup if sched_setaffinity or sched_setscheduler fails,
35167         just send SIGCANCEL.
35168         * nptl/pthread_create.c: Forward-declare create_thread before
35169         including createthread.c.
35170         (start_thread): Use new macro START_THREAD_DEFN to replace defining
35171         declaration, and new macro START_THREAD_SELF to replace argument.
35172         Remove return statement.
35173         (report_thread_creation): New function.
35174         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
35175         synchronization logic, and __nptl_nthreads increment here, around
35176         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
35177         PD->parent_cancelhandling here, before create_thread.  When
35178         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
35179         __deallocate_stack, and ENOMEM translation here.
35181 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
35183         [BZ #17616]
35184         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
35185         (mptwo): Rename to __mptwo.
35186         (__inv): Use __mptwo instead of mptwo.
35187         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
35188         (mptwo): Rename to __mptwo.
35189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
35190         of mpone and __mptwo instead of mptwo.
35191         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
35192         instead of mpone.
35193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35194         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
35195         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
35196         of mpone and __mptwo instead of mptwo.
35197         (__mpranred): Use __mpone instead of mpone.
35198         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
35199         variable.
35200         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35201         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35202         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35203         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35204         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35205         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35206         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35207         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35208         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35209         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35210         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35211         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35212         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35213         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35214         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35215         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35216         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35217         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35218         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35220 2014-11-18  Tom de Vries  <tom@codesoucery.com>
35222         * manual/signal.texi (Primitives Interrupted by Signals): In section,
35223         replace BSD Handler xref with BSD Signal Handling.
35225 2014-11-17  Richard Henderson  <rth@redhat.com>
35227         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
35228         (_FP_PACK_RAW_2): Remove.
35229         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
35230         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
35231         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
35232         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
35233         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
35234         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
35235         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
35236         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
35237         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
35238         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
35239         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
35240         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
35241         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
35242         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
35243         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
35244         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
35246 2014-11-14  Roland McGrath  <roland@hack.frob.com>
35248         * signal/signal.h [__USE_MISC]
35249         (struct sigvec): Remove type.
35250         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
35251         (sigvec): Remove declaration.
35252         * sysdeps/posix/sigvec.c: Moved ...
35253         * signal/sigvec.c: ... here, replacing old file.
35254         (struct sigvec): New type, copied from old signal.h definition.
35255         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
35256         (__sigvec): Convert definition to prototype.
35257         (sigvec): Replace weak_alias with compat_symbol.
35258         * signal/Versions (libc: GLIBC_2.21): New version set.
35259         * include/signal.h: Remove __sigvec declaration.
35260         * sysdeps/unix/bsd/sigvec.c: Remove file.
35261         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
35262         * manual/signal.texi (BSD Handler): Remove subsection.
35263         Move siginterrupt up to ...
35264         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
35265         (Blocking in BSD): Fold subsection into its parent.
35266         * NEWS: Mention sigvec removal.
35268 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35270         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
35271         (DLA_FMS): Make definition conditional only on [__FMA4__].
35272         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
35273         definition.
35275         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
35276         Make definition conditional only on [PROF].
35277         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
35278         definition.
35279         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35280         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
35282         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
35283         !__GNUC__].
35284         * include/signal.h (__sigpause): Move declaration above call to
35285         libc_hidden_proto.
35286         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
35287         variable.
35288         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35289         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35291 2014-11-14  David S. Miller  <davem@davemloft.net>
35293         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
35294         Define before including <string/memcpy.c> and <string/mempcpy.c>.
35296 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
35298         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
35299         * configure: Regenerated.
35300         * manual/install.texi (Tools for Compilation): Document a
35301         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
35302         compiler verified to work.
35303         * INSTALL: Regenerated.
35305         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
35306         redeclare with asm name.
35307         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
35308         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
35309         including <string.h>.
35310         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35311         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
35312         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35313         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35314         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
35316         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
35318 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
35320         * stdlib/strtol.c (__strtol): Use prototype definition.
35322         [BZ #17594]
35323         * stdlib/strtol.c (SYM__): New macro.
35324         (SYM__1): Likewise.
35325         (__strtol): Likewise.
35326         (strtol): Rename to __strtol and define as weak alias of
35327         __strtol.  Use libc_hidden_weak.
35329 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35331         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
35332         Use numbered labels in inline assembly.
35334 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35336         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
35337         Add setjmp LIBC_PROBE.
35338         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
35339         Likewise.
35340         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
35341         Add longjmp, longjmp_target LIBC_PROBE.
35342         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
35343         Likewise.
35345 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35348         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
35349         to get rid of unused variable warning.
35351 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35353         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
35354         Check for unwind_backtrace ==  NULL only in SHARED case.
35355         (__backchain_backtrace): Compile only in SHARED case.
35356         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
35357         Likewise.
35358         (__backchain_backtrace): Declare as static.
35360 2014-11-12  Roland McGrath  <roland@hack.frob.com>
35362         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
35363         (__libc_multiple_threads_ptr): Variable moved ...
35364         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
35366 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
35368         * conform/GlibcConform.pm: New file.
35369         * conform/conformtest.pl: Use GlibcConform module.
35370         * conform/linknamespace.pl: New file.
35371         * conform/list-header-symbols.pl: Likewise.
35372         * conform/Makefile (linknamespace-symlists-base): New variable.
35373         (linknamespace-symlists-tests): Likewise.
35374         (linknamespace-header-base): Likewise.
35375         (linknamespace-header-tests): Likewise.
35376         (tests-special): Add new tests.
35377         ($(linknamespace-symlists-tests)): New rule.
35378         (linknamespace-libs): New variable.
35379         ($(objpfx)symlist-stdlibs): New rule.
35380         ($(linknamespace-header-tests)): Likewise.
35381         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
35382         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
35383         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
35384         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
35385         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
35386         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
35387         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
35388         (test-xfail-ISO/math.h/linknamespace): Likewise.
35389         (test-xfail-ISO/signal.h/linknamespace): Likewise.
35390         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
35391         (test-xfail-ISO/time.h/linknamespace): Likewise.
35392         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
35393         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
35394         (test-xfail-ISO99/math.h/linknamespace): Likewise.
35395         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
35396         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35397         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
35398         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
35399         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35400         (test-xfail-ISO11/math.h/linknamespace): Likewise.
35401         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
35402         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35403         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
35404         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35405         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
35406         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
35407         (test-xfail-XPG3/math.h/linknamespace): Likewise.
35408         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
35409         (test-xfail-XPG3/search.h/linknamespace): Likewise.
35410         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
35411         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35412         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
35413         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35414         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35415         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
35416         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35417         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35418         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
35419         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
35420         (test-xfail-XPG4/math.h/linknamespace): Likewise.
35421         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
35422         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35423         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35424         (test-xfail-XPG4/search.h/linknamespace): Likewise.
35425         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35426         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
35427         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
35428         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
35429         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
35430         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35431         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
35432         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35433         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
35434         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35435         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35436         (test-xfail-POSIX/math.h/linknamespace): Likewise.
35437         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
35438         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
35439         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35440         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35441         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
35442         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35443         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35444         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
35445         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35446         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35447         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35448         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35449         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35450         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35451         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35452         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35453         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
35454         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
35455         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35456         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35457         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35458         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
35459         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35460         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
35461         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
35462         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35463         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35464         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35465         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35466         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35467         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35468         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
35469         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
35470         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35471         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
35472         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
35473         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
35474         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35475         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35476         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35477         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
35478         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35479         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
35480         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35481         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
35482         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
35483         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
35484         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35485         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35486         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
35487         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35488         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
35489         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
35490         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35491         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35492         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35493         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35494         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35495         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
35496         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35497         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35498         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35499         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35500         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
35501         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
35502         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35503         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
35504         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35505         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35506         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
35507         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35508         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35509         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35510         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35511         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35512         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35513         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
35514         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35515         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35516         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
35517         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35518         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
35519         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35520         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
35521         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
35522         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35523         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35524         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
35525         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35526         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
35527         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35528         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35529         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35530         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35531         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35532         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35533         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
35534         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35535         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
35536         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35537         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35538         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
35539         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
35540         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35541         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35543         [BZ #17589]
35544         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
35545         of fgets_unlocked.
35547         [BZ #17585]
35548         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
35549         (memmem): Rename to __memmem and define as weak alias of
35550         __memmem.  Use libc_hidden_weak.
35551         (__memmem): Use libc_hidden_def.
35552         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
35553         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
35554         memmem.
35556         [BZ #17582]
35557         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
35558         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
35559         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
35560         and define as weak alias of __fgets_unlocked.  Use
35561         libc_hidden_weak.
35562         (__fgets_unlocked): Use libc_hidden_def.
35563         * include/stdio.h (__fgets_unlocked): Declare.  Use
35564         libc_hidden_proto.
35565         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
35566         __fgets_unlocked instead of fgets_unlocked.
35567         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
35568         (GET_NPROCS_CONF_PARSER): Likewise.
35569         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
35570         (GET_NPROCS_CONF_PARSER): Likewise.
35572         [BZ #17574]
35573         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
35574         weak alias of __wmemset.  Use libc_hidden_weak.
35575         (__wmemset): Use libc_hidden_def.
35576         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
35577         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
35578         of wmemset.
35580         [BZ #17573]
35581         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
35582         with asm name __mempcpy.
35583         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
35585         [BZ #17572]
35586         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
35587         and define as weak alias of __rawmemchr.
35588         (__rawmemchr): Do not define as strong alias of rawmemchr.
35590         [BZ #17571]
35591         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
35592         alias of __qsort_r.
35593         (qsort): Call __qsort_r instead of qsort_r.
35594         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
35595         (__qsort_r): Declare.  Call libc_hidden_proto.
35596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
35597         instead of qsort_r.
35598         * nscd/gai.c (__qsort_r): Define to qsort_r.
35599         * posix/tst-rfc3484.c (__qsort_r): Likewise.
35600         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
35601         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
35603         [BZ #17570]
35604         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
35605         define as weak alias of __malloc_info.
35607         [BZ #17584]
35608         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
35609         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35610         (__rewinddir): Use libc_hidden_def.
35611         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
35612         as weak alias of __rewinddir.  Don't use libc_hidden_def.
35613         (__rewinddir): Use libc_hidden_def.
35614         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
35615         weak alias of __rewinddir.  Don't use libc_hidden_def.
35616         (__rewinddir): Use libc_hidden_def.
35617         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
35618         (__rewinddir): Use libc_hidden_proto.
35619         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
35620         rewinddir.
35621         (__getcwd): Use __rewinddir instead of rewinddir.
35623         [BZ #17583]
35624         * libio/fileno.c (fileno): Rename to __fileno and define as weak
35625         alias of __fileno.  Use libc_hidden_weak.
35626         (__fileno): Use libc_hidden_def.
35627         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
35628         * libio/ftello.c (ftello): Rename to __ftello and define as weak
35629         alias of __ftello.
35630         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
35631         __ftello.
35632         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
35633         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
35634         libc_hidden_def.
35635         (fread_unlocked): Don't use libc_hidden_ver.
35636         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
35637         and define as weak alias of __fread_unlocked.  Don't use
35638         libc_hidden_def.
35639         (__fread_unlocked): Use libc_hidden_def.
35640         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
35641         (ftello): Don't use libc_hidden_proto.
35642         (__ftello): Declare.  Use libc_hidden_proto.
35643         (fread_unlocked): Don't use libc_hidden_proto.
35644         (__fread_unlocked): Declare.  Use libc_hidden_proto.
35645         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
35646         and __ftello instead of fileno, fread_unlocked and ftello.
35648 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35650         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
35651         GOT12.
35652         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35653         Likewise.
35654         (_dl_start_user): Likewise.
35655         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
35657 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
35658             Siddhesh Poyarekar  <siddhesh@redhat.com>
35660         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
35661         Move argv and envp down instead of moving argc up.
35662         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
35664 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
35666         [BZ #17506]
35667         * test-skeleton.c (main): Return successful if one of
35668         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
35669         * string/tst-strcoll-overflow.c: Define expected status.
35671 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
35673         [BZ #17475]
35674         * locale/iso-639.def: Define Bhili and Tulu language codes.
35676 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
35678         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
35680 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
35682         [BZ #17555]
35683         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
35685 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35687         * configure.ac: Updated check of minimal required version to
35688         2.22.
35689         * manual/install.texi (Tools for Compilation): Updated version
35690         number.
35691         * configure: Regenerated.
35692         * INSTALL: Likewise.
35694 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
35696         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
35697         __tls_get_addr.
35699 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
35701         * include/sys/wait.h (__libc_waitpid): Remove declaration.
35702         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
35703         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35704         libc_hidden_weak.
35705         (waitpid): Define as alias of __waitpid.
35706         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
35707         __waitpid.
35708         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35709         libc_hidden_weak.
35710         (waitpid): Define as alias of __waitpid.
35711         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
35712         __libc_waitpid alias.
35713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
35714         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
35715         Likewise.
35716         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
35717         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
35718         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
35719         alias.
35720         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
35721         __waitpid.
35722         (__waitpid): Don't define as alias.  Use libc_hidden_def not
35723         libc_hidden_weak.
35724         (waitpid): Define as alias of __waitpid.
35726 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
35728         * manual/llio.texi: Add comment that write safety has been
35729         fixed in Linux.
35731         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
35732         (localplt-build-dso): Add elf/ld.so.
35733         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
35734         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
35735         and free for ld.so.
35736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
35737         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
35738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
35739         Likewise.
35740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35741         Likewise.
35742         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
35743         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
35744         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
35745         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
35746         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
35747         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
35748         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
35749         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
35750         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
35751         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
35752         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35754 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
35756         [BZ #14132]
35757         * include/libc-symbols.h (INTUSE): Remove macro.
35758         (INTDEF): Likewise.
35759         (INTVARDEF): Likewise.
35760         (_INTVARDEF): Likewise.
35761         (INTDEF2): Likewise.
35762         (INTVARDEF2): Likewise.
35763         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
35764         rtld_hidden_def instead of INTVARDEF.
35765         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
35766         (_dl_starting_up_internal): Remove declaration.
35767         (_dl_starting_up): Use rtld_hidden_proto.
35768         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
35769         declaration.
35770         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
35771         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
35772         _dl_starting_up.
35773         * elf/dl-writev.h (_dl_writev): Likewise.
35774         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
35775         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
35776         _dl_starting_up_internal.
35778 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35780         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
35781         test-skeleton.c.
35783 2014-11-05  Will Newton  <will.newton@linaro.org>
35785         * benchtests/Makefile: (bench-malloc): Add malloc thread
35786         scalability benchmark.
35787         * benchtests/bench-malloc-threads.c: New file.
35789 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
35791         * sysdeps/aarch64/strchrnul.S: New file.
35793 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35795         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
35796         definition.
35797         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35798         Likewise.
35799         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35800         Likewise.
35801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35802         Likewise.
35803         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35804         Likewise.
35805         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35806         Likewise.
35808 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
35810         * catgets/test-gencat.c: Use test-skeleton.c.
35811         * catgets/tst-catgets.c: Likewise.
35812         * csu/tst-empty.c: Likewise.
35813         * elf/tst-audit2.c: Likewise.
35814         * elf/tst-global1.c: Likewise.
35815         * elf/tst-pathopt.c: Likewise.
35816         * elf/tst-piemod1.c: Likewise.
35817         * elf/tst-tls10.c: Likewise.
35818         * elf/tst-tls11.c: Likewise.
35819         * elf/tst-tls12.c: Likewise.
35820         * gnulib/tst-gcc.c: Likewise.
35821         * iconvdata/tst-e2big.c: Likewise.
35822         * iconvdata/tst-loading.c: Likewise.
35823         * iconv/tst-iconv1.c: Likewise.
35824         * iconv/tst-iconv2.c: Likewise.
35825         * inet/test-inet6_opt.c: Likewise.
35826         * inet/tst-gethnm.c: Likewise.
35827         * inet/tst-network.c: Likewise.
35828         * inet/tst-ntoa.c: Likewise.
35829         * intl/tst-codeset.c: Likewise.
35830         * intl/tst-gettext2.c: Likewise.
35831         * intl/tst-gettext3.c: Likewise.
35832         * intl/tst-ngettext.c: Likewise.
35833         * intl/tst-translit.c: Likewise.
35834         * io/test-stat.c: Likewise.
35835         * libio/test-fmemopen.c: Likewise.
35836         * libio/tst-freopen.c: Likewise.
35837         * libio/tst-sscanf.c: Likewise.
35838         * libio/tst-ungetwc1.c: Likewise.
35839         * libio/tst-ungetwc2.c: Likewise.
35840         * libio/tst-widetext.c: Likewise.
35841         * localedata/tst-ctype.c: Likewise.
35842         * localedata/tst-digits.c: Likewise.
35843         * localedata/tst-leaks.c: Likewise.
35844         * localedata/tst-mbswcs1.c: Likewise.
35845         * localedata/tst-mbswcs2.c: Likewise.
35846         * localedata/tst-mbswcs3.c: Likewise.
35847         * localedata/tst-mbswcs4.c: Likewise.
35848         * localedata/tst-mbswcs5.c: Likewise.
35849         * localedata/tst-setlocale.c: Likewise.
35850         * localedata/tst-trans.c: Likewise.
35851         * localedata/tst-wctype.c: Likewise.
35852         * localedata/tst-xlocale1.c: Likewise.
35853         * login/tst-grantpt.c: Likewise.
35854         * malloc/tst-calloc.c: Likewise.
35855         * malloc/tst-malloc.c: Likewise.
35856         * malloc/tst-mallocstate.c: Likewise.
35857         * malloc/tst-mcheck.c: Likewise.
35858         * malloc/tst-mtrace.c: Likewise.
35859         * malloc/tst-obstack.c: Likewise.
35860         * math/atest-exp2.c: Likewise.
35861         * math/atest-exp.c: Likewise.
35862         * math/atest-sincos.c: Likewise.
35863         * math/test-matherr.c: Likewise.
35864         * math/test-misc.c: Likewise.
35865         * math/test-powl.c: Likewise.
35866         * math/tst-definitions.c: Likewise.
35867         * misc/tst-dirname.c: Likewise.
35868         * misc/tst-efgcvt.c: Likewise.
35869         * misc/tst-fdset.c: Likewise.
35870         * misc/tst-hsearch.c: Likewise.
35871         * misc/tst-mntent2.c: Likewise.
35872         * nptl/tst-sem7.c: Likewise.
35873         * nptl/tst-sem8.c: Likewise.
35874         * nptl/tst-sem9.c: Likewise.
35875         * nss/test-netdb.c: Likewise.
35876         * posix/tst-fnmatch.c: Likewise.
35877         * posix/tst-getlogin.c: Likewise.
35878         * posix/tst-gnuglob.c: Likewise.
35879         * posix/tst-mmap.c: Likewise.
35880         * pwd/tst-getpw.c: Likewise.
35881         * resolv/tst-inet_ntop.c: Likewise.
35882         * rt/tst-timer.c: Likewise.
35883         * stdio-common/test-fseek.c: Likewise.
35884         * stdio-common/test-popen.c: Likewise.
35885         * stdio-common/test-vfprintf.c: Likewise.
35886         * stdio-common/tst-cookie.c: Likewise.
35887         * stdio-common/tst-fileno.c: Likewise.
35888         * stdio-common/tst-gets.c: Likewise.
35889         * stdio-common/tst-obprintf.c: Likewise.
35890         * stdio-common/tst-perror.c: Likewise.
35891         * stdio-common/tst-sprintf2.c: Likewise.
35892         * stdio-common/tst-sprintf3.c: Likewise.
35893         * stdio-common/tst-sprintf.c: Likewise.
35894         * stdio-common/tst-swprintf.c: Likewise.
35895         * stdio-common/tst-tmpnam.c: Likewise.
35896         * stdio-common/tst-unbputc.c: Likewise.
35897         * stdio-common/tst-wc-printf.c: Likewise.
35898         * stdlib/tst-environ.c: Likewise.
35899         * stdlib/tst-fmtmsg.c: Likewise.
35900         * stdlib/tst-limits.c: Likewise.
35901         * stdlib/tst-rand48-2.c: Likewise.
35902         * stdlib/tst-rand48.c: Likewise.
35903         * stdlib/tst-random2.c: Likewise.
35904         * stdlib/tst-random.c: Likewise.
35905         * stdlib/tst-strtol.c: Likewise.
35906         * stdlib/tst-strtoll.c: Likewise.
35907         * stdlib/tst-tls-atexit.c: Likewise.
35908         * stdlib/tst-xpg-basename.c: Likewise.
35909         * string/test-ffs.c: Likewise.
35910         * string/tst-bswap.c: Likewise.
35911         * string/tst-inlcall.c: Likewise.
35912         * string/tst-strtok.c: Likewise.
35913         * string/tst-strxfrm.c: Likewise.
35914         * sysdeps/x86_64/tst-audit10.c: Likewise.
35915         * sysdeps/x86_64/tst-audit3.c: Likewise.
35916         * sysdeps/x86_64/tst-audit4.c: Likewise.
35917         * sysdeps/x86_64/tst-audit5.c: Likewise.
35918         * time/tst-ftime_l.c: Likewise.
35919         * time/tst-getdate.c: Likewise.
35920         * time/tst-mktime3.c: Likewise.
35921         * time/tst-mktime.c: Likewise.
35922         * time/tst-posixtz.c: Likewise.
35923         * time/tst-strptime2.c: Likewise.
35924         * time/tst-strptime3.c: Likewise.
35925         * wcsmbs/tst-btowc.c: Likewise.
35926         * wcsmbs/tst-mbrtowc.c: Likewise.
35927         * wcsmbs/tst-mbsrtowcs.c: Likewise.
35928         * wcsmbs/tst-wchar-h.c: Likewise.
35929         * wcsmbs/tst-wcpncpy.c: Likewise.
35930         * wcsmbs/tst-wcrtomb.c: Likewise.
35931         * wcsmbs/tst-wcsnlen.c: Likewise.
35932         * wcsmbs/tst-wcstof.c: Likewise.
35934 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
35936         [BZ #14132]
35937         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
35938         INTDEF.
35939         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
35940         declaration.
35941         (_dl_mcount): Use rtld_hidden_proto.
35942         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
35943         _dl_mcount.
35944         * elf/rtld.c (_rtld_global_ro): Likewise.
35946         [BZ #14132]
35947         * elf/dl-init.c (_dl_init): Don't use INTDEF.
35948         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
35949         of _dl_init_internal.
35950         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
35951         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
35952         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
35953         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
35954         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
35955         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
35956         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
35957         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
35958         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
35959         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
35960         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
35961         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
35962         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35963         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35964         * sysdeps/tile/dl-start.S (_start): Likewise.
35965         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
35966         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
35968         [BZ #14132]
35969         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
35970         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
35971         (rtld_progname): Make macro definition unconditional.
35972         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
35973         INTDEF.
35974         (dlmopen_doit): Do not use INTUSE with _dl_argv.
35975         (dl_main): Likewise.
35976         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35977         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
35978         instead of _dl_argv_internal.
35979         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35980         __GI__dl_argv instead of INTUSE(_dl_argv).
35981         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
35982         __GI__dl_argv instead of _dl_argv_internal.
35984         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
35985         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
35986         macro.
35987         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
35988         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
35989         New macro.
35990         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
35991         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
35992         macro.
35993         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
35994         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
35996 2014-11-04  Andreas Schwab  <schwab@suse.de>
35998         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
36000 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36002         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
36003         mtvsrd instruction in binary form.
36005 2014-11-03  Andreas Schwab  <schwab@suse.de>
36007         [BZ #17522]
36008         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
36009         for less than MB_LEN_MAX use a local buffer of that size.
36010         * libio/tst-fputws.c: New file.
36011         * libio/Makefile (tests): Add tst-fputws.
36013 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
36015         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
36016         the size of the fpu_fr.fpu_dregs[] array.
36018 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
36020         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
36021         (__nanosleep): Do not define as alias.
36022         (nanosleep): Define as alias of __nanosleep.
36023         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
36024         __libc_nanosleep name.
36026 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36028         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
36029         install.texi in comment.
36031 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36033         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
36034         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36035         ... add here and use lwsync or sync ...
36036         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
36037         ... and add here using lwsync.
36039 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
36041         * elf/dl-machine-reject-phdr.h: New file.
36042         * elf/dl-load.c: #include that.
36043         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
36044         if that returned true.
36046 2014-10-31  Roland McGrath  <roland@hack.frob.com>
36048         [BZ #17496]
36049         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
36050         gen-as-const-headers chunk.  Add a big scare comment after the last
36051         safe place to touch before-compile.
36053 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
36055         * manual/install.texi (Tools for Compilation): Update autoconf
36056         version requirements.
36057         * INSTALL: Regenerated.
36059         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
36060         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
36061         (__libc_pselect): Likewise.
36063         [BZ #14138]
36064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
36065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36069 2014-10-31  Torvald Riegel  <triegel@redhat.com>
36071         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
36072         correct barrier instruction.
36073         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
36074         Likewise.
36075         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
36076         Likewise.
36078 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36080         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
36081         after defining inlines.  Instead, just use parens to defeat macro
36082         expansion of __isctype in its declaration.
36084 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36086         * include/sys/uio.h (__libc_readv): Remove declaration.
36087         (__libc_writev): Likewise.
36088         * misc/readv.c (__libc_readv): Rename to __readv.
36089         (__readv): Do not define as alias.
36090         (readv): Define as alias of __readv.
36091         * misc/writev.c (__libc_writev): Rename to __writev.
36092         (__writev): Do not define as alias.
36093         (writev): Define as alias of __writev.
36094         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
36095         (__readv): Do not define as alias.
36096         (readv): Define unconditionally as alias of __readv.
36097         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
36098         (__writev): Do not define as alias.
36099         (writev): Define unconditionally as alias of __writev.
36100         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
36101         name.
36102         (writev): Do not define __libc_writev name.
36104 2014-10-30  Roland McGrath  <roland@hack.frob.com>
36106         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
36107         (convert_charseq): New function, broken out of ...
36108         (use_from_charmap): ... here.  Call it.
36109         (use_to_charmap): Use convert_charseq and free instead of duplicating
36110         its code with a variable-length stack struct.
36112 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
36114         * include/fcntl.h (__libc_creat): Remove declaration.
36115         * io/creat.c (__libc_creat): Rename to creat.
36116         (creat): Do not define as alias.
36117         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
36118         of creat instead of __libc_creat.
36119         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
36120         to creat.
36121         (creat): Do not define as alias.
36122         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
36123         __libc_creat.
36124         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
36125         __libc_creat name.
36126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
36127         Likewise.
36129 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
36131         * manual/llio.texi: Add comments discussing why write() may be
36132         considered MT-unsafe on Linux.
36134 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
36136         * dl-load.c (local_strdup): Remove.
36137         (expand_dynamic_string_token): Use __strdup.
36138         (decompose_rpath): Likewise.
36139         (_dl_map_object): Likewise.
36141 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
36143         [BZ #14132]
36144         * sysdeps/generic/unwind-dw2-fde.c
36145         (__register_frame_info_bases_internal): Do not declare.
36146         (__register_frame_info_table_bases_internal): Likewise.
36147         (__deregister_frame_info_bases_internal): Likewise.
36148         (__register_frame_info_bases): Declare and use hidden_proto before
36149         definition.  Use hidden_def instead of INTDEF.
36150         (__register_frame_info_table_bases): Likewise.
36151         (__deregister_frame_info_bases): Likewise.
36152         (__register_frame_info): Do not use INTUSE.
36153         (__register_frame): Likewise.
36154         (__register_frame_info_table): Likewise.
36155         (__register_frame_table): Likewise.
36156         (__deregister_frame_info): Likewise.
36157         (__deregister_frame): Likewise.
36159 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
36161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36162         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
36163         not undefine.
36164         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
36165         Likewise.
36166         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
36167         Likewise.
36169 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
36171         [BZ #14138]
36172         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
36173         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
36174         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
36175         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
36176         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
36177         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
36178         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
36179         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
36180         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
36181         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
36182         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
36183         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
36184         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
36185         syscall.
36186         (setfsuid): Likewise.
36187         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
36188         (setfsuid): Likewise.
36189         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
36190         (setfsuid): Likewise.
36191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
36192         Likewise.
36193         (setfsuid): Likewise.
36194         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
36195         (setfsuid): Likewise.
36196         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
36197         Likewise.
36198         (setfsuid): Likewise.
36200 2014-10-27  Andreas Schwab  <schwab@suse.de>
36202         [BZ #17501]
36203         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
36204         check for Slow_SSE4_2 feature bit.
36205         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
36206         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36207         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
36208         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
36210 2014-10-24  Roland McGrath  <roland@hack.frob.com>
36212         * configure.ac: Validate compiler version with a empirical test of
36213         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
36214         $CC -v output.
36215         * configure: Regenerated.
36217         * inet/htons.c (htons): Prototypify.
36218         * inet/htonl.c (htonl): Likewise.
36220 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36222         * string/strncat.c (strncat): Improve performance by using strlen.
36224 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36226         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
36228 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36230         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
36231         Call libc_fetestexcept_aarch64.
36233 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36235         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
36236         Call libc_feholdexcept_aarch64.
36238 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36240         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
36241         Call get_rounding_mode.
36243 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36245         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36246         Simplify logic.
36248 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
36250         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
36251         Simplify logic.
36253 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
36255         [BZ #14138]
36256         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
36257         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
36258         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
36259         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
36260         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
36261         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
36262         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
36263         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
36264         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
36265         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
36266         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36267         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
36268         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
36269         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
36270         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
36271         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
36272         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
36273         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
36274         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
36275         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
36276         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
36277         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
36278         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
36279         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
36280         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
36281         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
36282         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
36283         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
36284         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
36285         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
36286         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
36287         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
36288         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
36289         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
36290         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
36291         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
36292         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
36293         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
36294         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
36295         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
36296         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
36297         syscall.
36298         (geteuid): Likewise.
36299         (getgid): Likewise.
36300         (getuid): Likewise.
36301         (getresgid): Likewise.
36302         (getresuid): Likewise.
36303         (getgroups): Likewise.
36304         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
36305         (geteuid): Likewise.
36306         (getgid): Likewise.
36307         (getuid): Likewise.
36308         (getresgid): Likewise.
36309         (getresuid): Likewise.
36310         (getgroups): Likewise.
36311         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
36312         (geteuid): Likewise.
36313         (getgid): Likewise.
36314         (getuid): Likewise.
36315         (getresgid): Likewise.
36316         (getresuid): Likewise.
36317         (getgroups): Likewise.
36318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
36319         Likewise.
36320         (geteuid): Likewise.
36321         (getgid): Likewise.
36322         (getuid): Likewise.
36323         (getresgid): Likewise.
36324         (getresuid): Likewise.
36325         (getgroups): Likewise.
36326         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
36327         (geteuid): Likewise.
36328         (getgid): Likewise.
36329         (getuid): Likewise.
36330         (getresgid): Likewise.
36331         (getresuid): Likewise.
36332         (getgroups): Likewise.
36333         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
36334         Likewise.
36335         (geteuid): Likewise.
36336         (getgid): Likewise.
36337         (getuid): Likewise.
36338         (getgroups): Likewise.
36340         [BZ #14138]
36341         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
36342         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
36343         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
36344         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36345         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
36346         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
36347         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
36348         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
36349         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
36350         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
36351         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
36352         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
36353         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
36354         __chown.
36355         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
36356         (lchown): Likewise.
36357         (fchown): Likewise.
36358         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
36359         Likewise.
36360         (lchown): Likewise.
36361         (fchown): Likewise.
36362         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
36363         (lchown): Likewise.
36364         (fchown): Likewise.
36365         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
36366         Likewise.
36367         (lchown): Likewise.
36368         (fchown): Likewise.
36370 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36372         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
36373         Simplify logic.
36375 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36377         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36378         Cleanup logic.
36380 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36382         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
36383         Remove unused include.
36385 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
36387         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
36388         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
36389         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
36390         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
36392 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
36393             Helge Deller <deller@gmx.de>
36395         [BZ #17508]
36396         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
36397         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
36398         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
36400 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
36402         [BZ #14132]
36403         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
36404         Remove macro definition.
36405         (__ashrdi3_v_glibc20): Likewise.
36406         (__lshrdi3_v_glibc20): Likewise.
36407         (__cmpdi2_v_glibc20): Likewise.
36408         (__ucmpdi2_v_glibc20): Likewise.
36409         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
36410         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36411         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36412         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36413         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36414         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
36416 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36418         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
36419         old GNU extension [0] syntax.
36420         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
36421         alloca rather than an array member with variable length.
36422         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
36423         * nscd/nscd.c (invalidate_db): New function, broken out of ...
36424         (parse_opt): ... here.  Likewise use alloca there.
36425         Validate the -i argument before checking for rootness.
36426         (send_shutdown): New function, broken out of ...
36427         (parse_opt): ... here.
36429 2014-10-22  Roland McGrath  <roland@hack.frob.com>
36431         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
36432         macro to get at the _rt_local_ro field.
36433         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
36434         ([PIC] case) or _dl_hwcap ([!PIC] case).
36435         * sysdeps/arm/setjmp.S: Likewise.
36437         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
36438         * sysdeps/arm/configure.ac: New check to define it.
36439         * sysdeps/arm/configure: Regenerated.
36440         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
36441         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
36442         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
36443         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
36444         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
36445         Use move/movt pair instead of a load.
36446         (LDST_GLOBAL): Macro removed.
36447         (LDR_GLOBAL): New macro replaces it.
36448         (LDR_HIDDEN): New macro.
36449         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
36450         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
36452         * setjmp/tst-setjmp-static.c: New file.
36453         * setjmp/Makefile (tests): Add it.
36454         (tests-static): New variable.
36456 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
36458         [BZ #17485]
36459         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
36461 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
36463         [BZ #14132]
36464         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
36466 2014-10-21  Roland McGrath  <roland@hack.frob.com>
36468         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
36470 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36472         * io/fts.c (dirent_not_directory): New function.
36473         (fts_build): Call it.
36475 2014-10-20  Roland McGrath  <roland@hack.frob.com>
36477         * nptl/version.c (__nptl_main): Use normal __write rather than
36478         INTERNAL_SYSCALL.
36479         (banner): Update copyright years.
36481         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
36482         gettimeofday.
36483         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36484         * nptl/pthread_cond_timedwait.c: Likewise.
36485         * nptl/pthread_mutex_timedlock.c: Likewise.
36486         * nptl/sem_timedwait.c: Likewise.
36488         * sysdeps/nptl/bits/libc-lock.h
36489         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36490         (__libc_lock_init_recursive): Return void, not 0.
36491         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
36492         (__libc_rwlock_init): Likewise.
36493         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
36495 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36497         [BZ #15215]
36498         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
36499         (__pthread_once_slow): ... here.
36500         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
36501         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
36503 2014-10-20  Torvald Riegel  <triegel@redhat.com>
36505         [BZ #15215]
36506         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
36507         __PTHREAD_ONCE_FORK_GEN_INCR): New.
36508         * sysdeps/nptl/fork.c (__libc_fork): Use them.
36509         * nptl/pthread_once.c (__pthread_once): Likewise.
36510         Update comments.
36512 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
36514         [BZ #14138]
36515         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
36516         name.
36517         (writev): Use __libc_writev as strong name.
36518         * sysdeps/unix/sysv/linux/readv.c: Remove file.
36519         * sysdeps/unix/sysv/linux/writev.c: Likewise.
36521 2014-10-17  Roland McGrath  <roland@hack.frob.com>
36523         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
36525         * sysdeps/i386/nptl/tls.h
36526         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
36527         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
36528         New macros.
36529         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
36530         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
36531         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
36532         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
36533         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
36534         Call CHECK_THREAD_SYSINFO instead of doing an assert.
36536         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36537         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36538         on [__NR_futex].
36539         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
36540         broken out of ...
36541         (__pthread_mutex_init): ... here.  Call it.
36542         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
36543         Conditionalize PI cases on [__NR_futex].
36544         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
36545         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
36546         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
36548         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
36549         conditional on [SIGSETXID].
36550         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
36551         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
36552         is defined.  Likewise for SIGSETXID.
36553         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
36554         Conditionalize definitions on [SIGSETXID].
36555         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
36556         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
36557         unblocking on [SIGCANCEL].
36559         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
36560         [__NR_set_robust_list].
36562 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36564         * string/strcoll_l.c (get_next_seq): Fix up formatting.
36565         (do_compare): Likewise.
36567 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
36569         [BZ #15884]
36570         * string/strcoll_l.c: Don't include stdio.h.
36571         (coll_seq): Remove members idxarr and rulearr.
36572         (get_next_seq_cached): Remove function.
36573         (get_next_seq): Likewise.
36574         (get_next_seq_nocache): Rename to get_next_seq.
36575         (do_compare): Remove function.
36576         (do_compare_nocache): Rename to do_compare.
36577         (STRCOLL): Remove weight and rules cache.
36579 2014-10-16  Roland McGrath  <roland@hack.frob.com>
36581         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
36582         * sysdeps/arm/sfp-machine.h: ... to here.
36583         * sysdeps/arm/Implies: Remove arm/soft-fp.
36585 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
36587         * conform/data/sys/utsname.h-data (*_t): Allow.
36588         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
36589         [POSIX] (WEXITED): Do not expect constant.
36590         [POSIX] (WSTOPPED): Likewise.
36591         [POSIX] (WNOHANG): Likewise.
36592         [POSIX] (WNOWAIT): Likewise.
36593         [POSIX] (siginfo_t): Do not expect type or elements.
36594         [POSIX] (pid_t): Do not expect type.
36595         [POSIX] (signal.h): Do not allow header.
36596         [POSIX] (sys/resource.h): Likewise.
36597         [POSIX] (si_*): Do not allow pattern.
36598         [POSIX] (W*): Likewise.
36599         [POSIX] (P_*): Likewise.
36600         [POSIX] (BUS_*): Likewise.
36601         [POSIX] (CLD_*): Likewise.
36602         [POSIX] (FPE_*): Likewise.
36603         [POSIX] (ILL_*): Likewise.
36604         [POSIX] (POLL_*): Likewise.
36605         [POSIX] (SEGV_*): Likewise.
36606         [POSIX] (SI_*): Likewise.
36607         [POSIX] (TRAP_*): Likewise.
36608         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
36609         variable.
36611 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
36613         [BZ #12926]
36614         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
36615         infinite loop when __recvmsg returns 0.
36617 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
36619         * CANCEL-FCT-WAIVE: Remove file.
36620         * CANCEL-FILE-WAIVE: Likewise.
36622         [BZ #14132]
36623         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
36624         instead of INTVARDEF.
36625         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36626         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
36627         rtld_hidden_data_def instead of INTVARDEF.
36628         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
36629         * elf/dl-deps.c (expand_dst): Likewise.
36630         * elf/dl-load.c (_dl_dst_count): Likewise.
36631         (_dl_dst_substitute): Likewise.
36632         (decompose_rpath): Likewise.
36633         (_dl_init_paths): Likewise.
36634         (open_path): Likewise.
36635         (_dl_map_object): Likewise.
36636         * elf/rtld.c (dl_main): Likewise.
36637         (process_dl_audit): Likewise.
36638         (process_envvars): Likewise.
36639         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
36640         Remove declaration.
36641         (__libc_enable_secure): Use rtld_hidden_proto.
36643 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36645         * elf/dl-load.c
36646         (add_path): New function broken out of _dl_rtld_di_serinfo.
36647         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
36649 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36651         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
36652         parentheses around macro arguments.
36653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
36654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
36655         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
36656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
36657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
36658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
36661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
36662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
36663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
36664         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
36665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
36666         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
36667         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
36668         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
36669         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
36670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
36671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
36672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
36673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
36674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
36675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
36676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
36677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
36678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
36679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
36680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
36681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
36682         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
36683         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
36684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
36685         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
36686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
36687         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
36688         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
36689         Likewise.
36690         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
36691         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36692         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36693         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
36694         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
36695         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
36696         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
36697         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
36698         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
36699         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
36700         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
36701         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
36702         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
36703         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
36704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
36705         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
36706         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
36707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
36708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
36709         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
36710         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
36711         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
36712         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
36713         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
36714         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
36715         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
36716         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
36717         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
36718         (_FP_FRAC_SRS_1): Likewise.
36719         (_FP_FRAC_CLZ_1): Likewise.
36720         (_FP_MUL_MEAT_1_imm): Likewise.
36721         (_FP_MUL_MEAT_1_wide): Likewise.
36722         (_FP_MUL_MEAT_1_hard): Likewise.
36723         (_FP_SQRT_MEAT_1): Likewise.
36724         (_FP_FRAC_ASSEMBLE_1): Likewise.
36725         (_FP_FRAC_DISASSEMBLE_1): Likewise.
36726         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
36727         (__FP_CLZ_2): Likewise.
36728         (_FP_MUL_MEAT_2_wide): Likewise.
36729         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36730         (_FP_MUL_MEAT_2_gmp): Likewise.
36731         (_FP_MUL_MEAT_2_120_240_double): Likewise.
36732         (_FP_SQRT_MEAT_2): Likewise.
36733         (_FP_FRAC_ASSEMBLE_2): Likewise.
36734         (_FP_FRAC_DISASSEMBLE_2): Likewise.
36735         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
36736         (_FP_FRAC_CLZ_4): Likewise.
36737         (_FP_MUL_MEAT_4_wide): Likewise.
36738         (_FP_MUL_MEAT_4_gmp): Likewise.
36739         (_FP_SQRT_MEAT_4): Likewise.
36740         (_FP_FRAC_ASSEMBLE_4): Likewise.
36741         (_FP_FRAC_DISASSEMBLE_4): Likewise.
36742         * soft-fp/op-common.h (_FP_CMP): Likewise.
36743         (_FP_CMP_EQ): Likewise.
36744         (_FP_CMP_UNORD): Likewise.
36745         (_FP_TO_INT): Likewise.
36746         (_FP_FROM_INT): Likewise.
36747         [!__FP_CLZ] (__FP_CLZ): Likewise.
36748         (_FP_DIV_HELP_imm): Likewise.
36749         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
36750         Likewise.
36751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
36752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
36753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
36754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
36755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
36756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
36759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
36760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
36761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
36762         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
36763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
36764         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
36765         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
36766         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
36767         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
36768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
36769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
36770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
36771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
36772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
36773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
36774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
36775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
36776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
36777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
36778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
36779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
36780         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
36781         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
36782         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
36783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
36784         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
36785         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
36786         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
36787         (FP_UNPACK_RAW_SP): Likewise.
36788         (FP_PACK_RAW_S): Likewise.
36789         (FP_PACK_RAW_SP): Likewise.
36790         (FP_UNPACK_S): Likewise.
36791         (FP_UNPACK_SP): Likewise.
36792         (FP_UNPACK_SEMIRAW_S): Likewise.
36793         (FP_UNPACK_SEMIRAW_SP): Likewise.
36794         (FP_PACK_S): Likewise.
36795         (FP_PACK_SP): Likewise.
36796         (FP_PACK_SEMIRAW_S): Likewise.
36797         (FP_PACK_SEMIRAW_SP): Likewise.
36798         (_FP_SQRT_MEAT_S): Likewise.
36799         (FP_CMP_S): Likewise.
36800         (FP_CMP_EQ_S): Likewise.
36801         (FP_CMP_UNORD_S): Likewise.
36802         (FP_TO_INT_S): Likewise.
36803         (FP_FROM_INT_S): Likewise.
36805         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
36807         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
36808         (FP_EX_INVALID_IMZ): Likewise.
36809         (FP_EX_INVALID_IMZ_FMA): Likewise.
36810         (FP_EX_INVALID_ISI): Likewise.
36811         (FP_EX_INVALID_ZDZ): Likewise.
36812         (FP_EX_INVALID_IDI): Likewise.
36813         (FP_EX_INVALID_SQRT): Likewise.
36814         (FP_EX_INVALID_CVI): Likewise.
36815         (FP_EX_INVALID_VC): Likewise.
36816         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
36817         "invalid" exceptions.
36818         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
36819         (_FP_ADD_INTERNAL): Likewise.
36820         (_FP_MUL): Likewise.
36821         (_FP_FMA): Likewise.
36822         (_FP_DIV): Likewise.
36823         (_FP_CMP_CHECK_NAN): Likewise.
36824         (_FP_SQRT): Likewise.
36825         (_FP_TO_INT): Likewise.
36826         (FP_EXTEND): Likewise.
36828 2014-10-09  Allan McRae  <allan@archlinux.org>
36830         * po/fr.po: Update French translation from translation project.
36832 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
36834         [BZ #14132]
36835         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
36836         of INTDEF.
36837         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
36838         (__cxa_atexit): Use libc_hidden_proto.
36839         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
36841         [BZ #14132]
36842         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
36843         declaration.
36844         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
36845         [!_ISOMAC] (__iswspace_l_internal): Likewise.
36846         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
36847         [!_ISOMAC] (__iswctype_internal): Likewise.
36848         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
36849         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
36850         alias.
36851         (fcntl): Remove __fcntl_internal alias.
36852         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
36853         __connect_internal alias.
36854         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
36855         Likewise.
36857         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
36858         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
36859         FP_DENORM_ZERO.
36860         (_FP_CHECK_FLUSH_ZERO): New macro.
36861         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
36862         (_FP_CMP): Likewise.
36863         (_FP_CMP_EQ): Likewise.
36864         (_FP_TO_INT): Do not set inexact for subnormal arguments if
36865         FP_DENORM_ZERO.
36866         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
36867         (FP_TRUNC): Likewise.
36869         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
36870         treated as invalid conversion, not as normal exponent.
36872         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
36873         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
36874         (_FP_CMP_EQ): Likewise.
36875         (_FP_CMP_UNORD): Likewise.
36876         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
36877         (FP_CMP_EQ_D): Likewise.
36878         (FP_CMP_UNORD_D): Likewise.
36879         * soft-fp/extended.h (FP_CMP_E): Likewise.
36880         (FP_CMP_EQ_E): Likewise.
36881         (FP_CMP_UNORD_E): Likewise.
36882         * soft-fp/quad.h (FP_CMP_Q): Likewise.
36883         (FP_CMP_EQ_Q): Likewise.
36884         (FP_CMP_UNORD_Q): Likewise.
36885         * soft-fp/single.h (FP_CMP_S): Likewise.
36886         (FP_CMP_EQ_S): Likewise.
36887         (FP_CMP_UNORD_S): Likewise.
36888         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
36889         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
36890         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
36891         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
36892         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
36893         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
36894         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
36895         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
36896         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
36897         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
36898         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
36899         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
36900         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
36901         to FP_CMP_Q.
36902         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
36903         FP_CMP_Q.
36904         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
36905         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
36906         FP_CMP_EQ_Q.
36907         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
36908         FP_CMP_Q.
36909         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
36910         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
36911         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
36912         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
36913         FP_CMP_EQ_Q.
36914         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
36915         FP_CMP_Q.
36916         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
36917         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
36918         FP_CMP_EQ_Q.
36919         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
36920         FP_CMP_Q.
36921         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
36922         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
36923         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
36924         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
36925         FP_CMP_EQ_Q.
36927         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
36928         a subnormal result, set the underflow exception if trapping on
36929         underflow is enabled.
36930         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
36931         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
36932         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
36933         redefine to 0.
36934         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
36935         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36936         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
36937         * soft-fp/extendxftf2.c (__extendxftf2): Use
36938         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
36940         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
36941         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
36942         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36943         FP_HANDLE_EXCEPTIONS.
36944         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
36945         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36946         FP_HANDLE_EXCEPTIONS.
36947         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
36948         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36949         FP_HANDLE_EXCEPTIONS.
36950         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
36951         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
36952         FP_HANDLE_EXCEPTIONS.
36954 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
36956         [BZ #14132]
36957         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
36958         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
36959         use INTUSE.
36960         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
36961         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
36962         Remove alias.
36963         (__adjtimex): Define using libc_hidden_ver.
36964         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
36965         Remove declaration.
36966         (ntp_gettime): Call __adjtimex directly.
36967         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
36968         Remove declaration.
36969         (ntp_gettimex): Call __adjtimex directly.
36970         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
36971         __adjtimex_internal alias.
36973 2014-10-08  Roland McGrath  <roland@hack.frob.com>
36975         [BZ #17460]
36976         * nscd/nscd.c (more_help): Rewrite list of tables collection
36977         using xstrdup and asprintf.
36979         * nscd/nscd_conf.c: Remove local xstrdup declaration.
36981 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36982             Roland McGrath  <roland@hack.frob.com>
36984         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
36985         (do_lookup_unique): ... local function 'enter' here; update callers.
36987 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
36989         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
36990         compat_symbol calls on [SHARED].
36991         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
36992         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
36993         Remove.
36994         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36995         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
36996         (oldsetrlimit): Remove.
36997         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
36998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36999         (lchown): New syscall entry.
37000         (oldsetrlimit): Remove.
37001         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37002         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
37003         (oldsetrlimit): Remove.
37004         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37006         [BZ #14138]
37007         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
37008         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
37009         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
37010         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
37011         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37012         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
37013         (fchown): Likewise.
37014         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
37015         (fchown): Likewise.
37016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
37017         Likewise.
37019 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
37022         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
37023         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
37024         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
37025         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
37026         Likewise.
37027         (__old_sem_post): Likewise.
37029 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
37031         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
37032         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
37033         HAVE_CLOCK_GETTIME_VSYSCALL macros.
37034         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
37035         Use INLINE_VSYSCALL macro.
37036         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
37037         __vdso_clock_gettime.
37038         * sysdeps/unix/sysv/linux/tile/init-first.c
37039         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
37040         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
37041         __vdso_clock_gettime.
37043         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
37044         to set up frame more cleanly.
37046         * sysdeps/tile/memcmp.c: New file.
37048         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
37050         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
37051         * sysdeps/tile/tilegx/strcasestr.c: New file.
37052         * sysdeps/tile/tilegx/strnlen.c: New file.
37053         * sysdeps/tile/tilegx/strstr.c: New file.
37055         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
37057 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
37059         * nptl/tst-setuid3.c: Write errors to stdout.
37061 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37063         * elf/dl-deps.c
37064         (preload): New functions broken out of _dl_map_object_deps.
37065         (_dl_map_object_deps):  Remove a nested function. Update call sites.
37067 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
37069         [BZ #14138]
37070         * sysdeps/unix/sysv/linux/execve.c: Remove file.
37071         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
37073 2014-10-01  Steve Ellcey  <sellcey@mips.com>
37075         * sysdeps/mips/strcmp.S: New.
37077 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
37079         [BZ #14138]
37080         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
37081         (linkat): Likewise.
37082         (mkdirat): Likewise.
37083         (readlinkat): Likewise.
37084         (renameat): Likewise.
37085         (symlinkat): Likewise.
37086         (unlinkat): Likewise.
37087         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
37088         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
37089         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
37090         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
37091         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
37092         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
37093         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
37095 2014-09-30  Will Newton  <will.newton@linaro.org>
37097         * math/math.h: Define long double math functions if
37098         _LIBC_TEST is defined.
37099         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
37101         * localedata/Makefile: Move assignment to tests-special
37102         into an ifdef testing run-built-tests.
37103         * timezone/Makefile: Likewise.
37105 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
37107         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
37108         with $(BASH) not $(SHELL).
37110 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
37111             Matthew LeGendre  <legendre1@llnl.gov>
37113         [BZ #17411]
37114         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
37115         l_reloc_result.
37117 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37119         * stdio-common/printf_fp.c
37120         (hack_digit): New function, broken out of ...
37121         (__printf_fp): ... local function here.  Update call sites.
37122         hack_digit now takes an additional parameter that is a pointer
37123         to a struct of the referenced locals.  Those locals moved inside
37124         the struct and references updated.
37126 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
37128         * aclocal.m4: Require autoconf 2.69.
37129         * configure: Regenerated.
37130         * sysdeps/aarch64/configure: Likewise.
37131         * sysdeps/alpha/configure: Likewise.
37132         * sysdeps/arm/armv7/configure: Likewise.
37133         * sysdeps/arm/configure: Likewise.
37134         * sysdeps/ia64/configure: Likewise.
37135         * sysdeps/mach/configure: Likewise.
37136         * sysdeps/mips/configure: Likewise.
37137         * sysdeps/s390/configure: Likewise.
37138         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
37139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
37141         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
37142         file.
37143         * sysdeps/ia64/configure.ac: Likewise.
37145 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
37147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
37148         specify symbol version for ld.so.  Do not include entry for
37149         libpthread.
37150         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37151         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37152         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37154         [BZ #14171]
37155         * Makeconfig [$(build-shared) = yes]
37156         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
37157         makefiles.
37158         [$(build-shared) = yes && $(soversions.mk-done) = t]
37159         ($(common-objpfx)gnu/lib-names.h): Remove rule.
37160         [$(build-shared) = yes && $(soversions.mk-done) = t]
37161         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
37162         to Makerules.
37163         [$(build-shared) = yes && $(soversions.mk-done) = t]
37164         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
37165         here.
37166         [$(build-shared) = yes && $(soversions.mk-done) = t]
37167         (common-generated): Don't append gnu/lib-names.h and
37168         gnu/lib-names.stmp here.
37169         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
37170         (lib-names-h-abi): New variable.
37171         [$(build-shared) = yes && $(soversions.mk-done) = t]
37172         (lib-names-stmp-abi): Likewise.
37173         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37174         abi-variants] (before-compile): Append
37175         $(common-objpfx)$(lib-names-h-abi).
37176         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37177         abi-variants] (common-generated): Append gnu/lib-names.h.
37178         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37179         abi-variants] (install-others-nosubdir): Depend on
37180         $(inst_includedir)/$(lib-names-h-abi).
37181         [$(build-shared) = yes && $(soversions.mk-done) = t &&
37182         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
37183         [$(build-shared) = yes && $(soversions.mk-done) = t]
37184         ($(common-objpfx)$(lib-names-h-abi)): New rule.
37185         [$(build-shared) = yes && $(soversions.mk-done) = t]
37186         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
37187         [$(build-shared) = yes && $(soversions.mk-done) = t]
37188         (common-generated): Append $(lib-names-h-abi) and
37189         $(lib-names-stmp-abi).
37190         * scripts/lib-names.awk: Do not handle multi being set.
37191         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
37192         Remove variable.
37193         (abi-lp64_be-ld-soname): Likewise.
37194         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
37195         Likewise.
37196         (abi-hard-ld-soname): Likewise.
37197         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
37198         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
37199         Remove variable.
37200         (abi-o32_hard-ld-soname): Likewise.
37201         (abi-o32_soft_2008-ld-soname): Likewise.
37202         (abi-o32_hard_2008-ld-soname): Likewise.
37203         (abi-n32_soft-ld-soname): Likewise.
37204         (abi-n32_hard-ld-soname): Likewise.
37205         (abi-n32_soft_2008-ld-soname): Likewise.
37206         (abi-n32_hard_2008-ld-soname): Likewise.
37207         (abi-n64_soft-ld-soname): Likewise.
37208         (abi-n64_hard-ld-soname): Likewise.
37209         (abi-n64_soft_2008-ld-soname): Likewise.
37210         (abi-n64_hard_2008-ld-soname): Likewise.
37211         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
37212         Likewise.
37213         (abi-64-v2-ld-soname): Likewise.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
37215         ld.so entries.
37216         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
37217         variable.
37218         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
37219         entry.
37220         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
37221         variable.
37222         (abi-64-ld-soname): Likewise.
37223         (abi-x32-ld-soname): Likewise.
37224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
37225         entry.
37226         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37228 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
37230         [BZ #14138]
37231         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
37232         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
37233         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
37234         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
37235         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
37236         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
37237         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
37238         syscall entry for GLIBC_2.2 symbol version.
37239         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
37240         Likewise.
37241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37242         (setrlimit): Likewise.
37243         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
37244         Likewise.
37246 2014-09-23  Will Newton  <will.newton@linaro.org>
37248         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
37249         _LINUX_ARM_SYSDEP_H include guard too.
37250         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
37251         define.
37253 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37255         * sysdeps/unix/sysv/linux/eventfd.c:
37256         Make first argument unsigned.
37257         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
37258         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
37260 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
37262         [BZ #16852]
37263         * socket/recvmmsg.c (recvmmsg): Drop const argument.
37264         * socket/sys/socket.h: Likewise.
37265         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
37267 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37269         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
37271 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
37273         * time/tst-ftime.c: New test.
37274         * time/Makefile (tests): Add tst-ftime.
37276 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
37278         * soft-fp/extended.h: Fix comment formatting.
37279         * soft-fp/op-1.h: Likewise.
37280         * soft-fp/op-2.h: Likewise.
37281         * soft-fp/op-4.h: Likewise.
37282         * soft-fp/op-8.h: Likewise.
37283         * soft-fp/op-common.h: Likewise.
37284         * soft-fp/soft-fp.h: Likewise.
37286         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
37288 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
37290         [BZ #6652]
37291         * Makeconfig (soversions-default-setname): Remove variable.
37292         ($(common-objpfx)soversions.i): Don't pass default_setname to
37293         soversions.awk.
37294         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
37295         oldest_abi to abi-versions.awk.
37296         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
37297         * config.make.in (oldest-abi): Remove variable.
37298         * configure.ac (--enable-oldest-abi): Remove configure option.
37299         * configure: Regenerated.
37300         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
37301         text.
37302         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
37303         * scripts/soversions.awk: Do not handle default_setname variable.
37304         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
37305         variable.
37306         * sysdeps/mach/hurd/configure: Regenerated.
37307         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
37308         variable.
37309         * sysdeps/unix/sysv/linux/configure: Regenerated.
37311 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37313         * elf/Makefile (CFLAGS-interp.c): Remove.
37314         ($(elf-objpfx)runtime-linker.h): Generate header with linker
37315         path string.
37316         * elf/interp.c: Include generated runtime-linker.h
37318         * Makerules (lib%.so): Don't include $(+interp) in
37319         prerequisites.
37320         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
37321         * dlfcn/eval.c: Remove file.
37323         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
37324         macros.
37326         [BZ #17266]
37327         * misc/sys/cdefs.h: Define __extern_always_inline for clang
37328         4.2 and newer.
37330         [BZ #17370]
37331         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
37333 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37334             Jakub Jelinek  <jakub@redhat.com>
37336         [BZ #17266]
37337         * libio/stdio.h: Check definition of __fortify_function
37338         instead of __extern_always_inline to include bits/stdio2.h.
37339         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
37340         check if __extern_always_inline is defined.
37341         [__USE_MISC || __USE_XOPEN]: Likewise.
37342         [__USE_ISOC99] Likewise.
37343         * misc/sys/cdefs.h (__fortify_function): Define only if
37344         __extern_always_inline is defined.
37345         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
37346         __extern_always_inline and __extern_inline only for g++-4.3
37347         and newer or a compatible gcc.
37349 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
37351         [BZ #17371]
37352         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37353         last change to handle zero prefix length.
37355 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37357         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
37358         _SC_REGEX_VERSION.
37360         * posix/getconf.c (vars): Add _POSIX_IPV6 and
37361         _POSIX_RAW_SOCKETS.
37363 2014-09-13  Allan McRae  <allan@archlinux.org>
37365         * po/ru.po: Update Russian translation from translation project.
37367 2014-09-12  Roland McGrath  <roland@hack.frob.com>
37369         * locale/programs/locale.c (show_locale_vars): Inline local function
37370         into its sole call site.  Clean up some style nits.
37371         (print_item): New function, broken out of ...
37372         (show_info): ... local function here.  Clean up style nits.
37374         * locale/programs/ld-ctype.c (set_one_default): New function, broken
37375         out of ...
37376         (set_class_defaults): ... local function set_default here.
37377         Define set_default as a macro locally to pass constant parameters.
37378         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
37379         rather than a shared local.
37381         * stdlib/rpmatch.c (try): New function, broken out of ...
37382         (rpmatch): ... local function here.  Also, prototypify definition.
37384 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
37386         * scripts/soversions.awk: Do not handle configuration names.
37387         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
37388         vendor and os variables to soversions.awk.
37389         * configure.ac: Do not modify gnu-* host_os.
37390         * configure: Regenerated
37391         * shlib-versions: Remove first column with configuration names.
37392         * nptl/shlib-versions: Likewise.
37393         * nptl_db/shlib-versions: Likewise.
37394         * sysdeps/hppa/shlib-versions: Likewise.
37395         * sysdeps/m68k/shlib-versions: Likewise.
37396         * sysdeps/mach/hurd/shlib-versions: Likewise.
37397         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
37398         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
37399         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
37400         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
37401         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
37402         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37403         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
37404         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
37405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37406         Likewise.
37407         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37408         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37409         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37410         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37411         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37412         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
37413         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
37414         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
37416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37417         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
37418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37419         Regenerated.
37420         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
37421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
37422         Condition symbol version definitions on [HAVE_ELFV2_ABI].
37424         * shlib-versions: Remove OS-specific entries.  Moved to files in
37425         sysdeps.
37426         * sysdeps/mach/hurd/shlib-versions: New file.
37427         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
37429         * nptl/shlib-versions: Remove architecture-specific entries.
37430         Moved to files in sysdeps.
37431         * shlib-versions: Likewise.
37432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
37433         file.
37434         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
37435         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
37436         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
37437         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
37439         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
37440         (UDP_NO_CHECK6_RX): Likewise.
37442 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444         * sysdeps/posix/sysconf.c (__sysconf): Spell
37445         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
37447 2014-08-12  Florian Weimer  <fweimer@redhat.com>
37449         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37450         loading.
37451         * iconv/Versions (__gconv_transliterate): Export for use from
37452         gconv modules.
37453         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
37454         (struct __gconv_trans_data, __gconv_trans_fct,
37455         __gconv_trans_context_fct, __gconv_trans_query_fct,
37456         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
37457         definitions.
37458         (struct __gconv_step_data): Remove __trans member.
37459         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
37460         longer hidden.  Remove unused trans_data argument.
37461         * iconv/gconv_int.h (struct trans_struct): Remove definition.
37462         (__gconv_translit_find): Remove declaration.
37463         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
37464         prototype.
37465         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
37466         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
37467         trans_data argument.  Add hidden definition.
37468         (__gconv_translit_find): Remove.
37469         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
37470         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
37471         * iconv/skeleton.c: Remove transliteration initialization.
37472         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37473         __gconv_step_data initialization.
37474         * libio/iofwide.c (__libio_translit_): Remove.
37475         (_IO_fwide): Adjust struct __gconv_step_data initialization.
37476         * wcsmbs/btowc.c (__btowc): Likewise.
37477         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37478         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37479         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
37480         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
37481         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
37482         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
37483         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
37484         * wcsmbs/wctob.c (wctob): Likewise.
37486 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37488         [BZ #16194]
37489         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
37490         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
37491         register usage.
37492         * sysdeps/x86/Makefile: Adjust.
37494 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37495             Roland McGrath  <roland@hack.frob.com>
37497         * locale/weight.h: Add include guard.
37498         (findidx): Make static rather than auto; take new parameters
37499         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
37500         * locale/weightwc.h: Likewise.
37501         * posix/fnmatch_loop.c
37502         (FCT): Change type of EXTRA from int32_t to wint_t.
37503         Don't include either header inside the function.
37504         Call FINDIDX rather than findidx, and pass new arguments.
37505         #undef FINDIDX at the end of the file.
37506         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
37507         FINDIDX before including fnmatch_loop.c for the non-wide version.
37508         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
37509         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
37510         for the wide version.
37511         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
37512         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
37513         Pass new arguments to findidx.
37514         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
37515         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
37516         Don't #include it inside the function.  Pass new arguments to findidx.
37517         * posix/regex_internal.h
37518         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
37519         (re_string_elem_size_at): Don't #include it inside the function.
37520         Pass new arguments to findidx.
37521         * string/strcoll_l.c: #include WEIGHT_H at top level.
37522         (get_next_seq): Don't #include it inside the function.
37523         Pass new arguments to findidx.
37524         (get_next_seq_nocache): Likewise.
37525         * string/strxfrm_l.c: #include WEIGHT_H at top level.
37526         (STRXFRM): Don't #include it inside the function.
37527         Pass new arguments to findidx.
37529 2014-09-11  Florian Weimer  <fweimer@redhat.com>
37531         [BZ #17344]
37532         * malloc/malloc.c (unlink): Turn asserts into a call to
37533         malloc_printerr.
37535 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
37537         [BZ #17370]
37538         * libio/wfileops (do_ftell_wide): Free OUT.
37540 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
37542         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
37544 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37546         [BZ #17363]
37547         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
37548         group if the current group is empty.
37550 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37552         * benchtests/bench-memset.c (test_main): Add more test from size
37553         from 32 to 512 bytes.
37554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37555         Add POWER8 memset object.
37556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37557         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
37558         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
37559         implementation.
37560         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
37561         Likewise.
37562         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
37563         multiarch POWER8 memset optimization.
37564         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
37565         POWER8 memset optimization.
37567         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37568         Remove bzero multiarch objects.
37569         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
37570         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
37571         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
37572         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
37573         Remove define.
37574         [__bzero]: Redefine to specific name.
37575         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
37576         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
37577         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
37578         define.
37579         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37580         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37582 2014-09-10  Florian Weimer  <fweimer@redhat.com>
37584         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
37585         warnings into errors.
37587         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
37588         __cxa_thread_atexit_impl prototype.
37590 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37592         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
37593         Fix capitalization of error message.
37595 2014-09-09  Steve Ellcey  <sellcey@mips.com>
37597         * sysdeps/mips/preconfigure: Modify ABI tests.
37599 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
37601         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
37603 2014-09-07  Roland McGrath  <roland@hack.frob.com>
37604             Carlos O'Donell  <carlos@systemhalted.org>
37606         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
37607         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
37608         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
37609         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
37610         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
37611         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
37612         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
37613         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
37614         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
37615         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
37616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
37617         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
37618         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
37619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
37620         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
37621         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
37622         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
37623         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
37624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
37625         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
37626         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
37627         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
37628         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
37629         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
37630         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
37631         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
37632         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
37633         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
37634         Deconditionalize the code that was previously under [RESET_PID].
37635         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
37636         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
37637         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
37638         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
37639         include sysdep.h.
37641 2014-09-08  Allan McRae  <allan@archlinux.org>
37643         * version.h (RELEASE): Set to "development".
37644         (VERSION): Set to "2.20.90"
37646 2014-09-07  Allan McRae  <allan@archlinux.org
37648         * version.h (RELEASE): Set to "stable".
37649         (VERSION): Set to "2.20"
37650         * include/features.h (__GLIBC_MINOR__): Set to 20.
37652         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
37653         Liebler.
37655         * po/ko.po: Update Korean translation from translation project.
37657 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
37659         [BZ #17354]
37660         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
37661         macro for handling signed relocations.
37663 2014-09-03  Florian Weimer  <fweimer@redhat.com>
37665         [BZ #17325]
37666         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
37667         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
37668         assert.
37669         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
37670         * iconvdata/ibm935.c (BODY): Likewise.
37671         * iconvdata/ibm937.c (BODY): Likewise.
37672         * iconvdata/ibm939.c (BODY): Likewise.
37673         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
37674         assert.
37675         * iconvdata/Makefile (iconv-test.out): Pass module list to test
37676         script.
37677         * iconvdata/run-iconv-test.sh: New test loop for checking for
37678         decoder crashers.
37680 2014-09-02  Khem Raj  <raj.khem@gmail.com>
37682         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
37683         libm_hidden_ver.
37685 2014-09-01  Allan McRae  <allan@archlinux.org>
37687         * po/eo.po: Update Esperanto translation from translation project.
37689         * po/ca.po: Update Catalan translation from translation project.
37691 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37693         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
37694         __proc_dostop call.
37696 2014-08-27  Mark Wielaard  <mjw@redhat.com>
37698         [BZ #17319]
37699         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
37700         to call set_thread_area instead of hand written asm.
37701         (__NR_set_thread_area): Removed define.
37702         (TLS_FLAG_WRITABLE): Likewise.
37703         (__ASSUME_SET_THREAD_AREA): Remove check.
37704         (TLS_EBX_ARG): Remove define.
37705         (TLS_LOAD_EBX): Likewise.
37707 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37709         Simplify atomicity of socket creation in bind.
37711         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
37712         looking up the name after linking the file.
37714 2014-08-27  Allan McRae  <allan@archlinux.org>
37716         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37718 2014-08-26  Florian Weimer  <fweimer@redhat.com>
37720         [BZ #17187]
37721         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
37722         trans_compare, open_translit, __gconv_translit_find):
37723         Remove module loading code.
37725 2014-08-26  Allan McRae  <allan@archlinux.org>
37727         * po/vi.po: Update Vietnamese translation from translation project.
37729         * po/uk.po: Update Ukrainian translation from translation project.
37731         * po/fr.po: Update French translation from translation project.
37733         * po/ru.po: Update Russian translation from translation project.
37735         * po/pl.po: Update Polish translation from translation project.
37737         * po/cs.po: Update Czech translation from translation project.
37739         * po/de.po: Update German translation from translation project.
37741         * po/bg.po: Update Bulgarian translation from translation project.
37743         * po/sv.po: Update Sweedish translation from translation project.
37745         * po/nl.po: Update Dutch translation from translation project.
37747         * po/es.po: Update Spanish translation from translation project.
37749 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37751         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
37753         * catgets/Makefile (CPPFLAGS-gencat): Remove.
37754         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
37755         (CPPFLAGS-iconvconfig): Likewise.
37756         * timezone/Makefile (CPPFLAGS-zic): Likewise.
37758         * include/libc-symbols.h: Remove unnecessary check for
37759         NOT_IN_libc.
37760         * nptl/pthreadP.h: Likewise.
37761         * sysdeps/aarch64/setjmp.S: Likewise.
37762         * sysdeps/alpha/setjmp.S: Likewise.
37763         * sysdeps/arm/sysdep.h: Likewise.
37764         * sysdeps/i386/setjmp.S: Likewise.
37765         * sysdeps/m68k/setjmp.c: Likewise.
37766         * sysdeps/posix/getcwd.c: Likewise.
37767         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37769         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37770         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37771         * sysdeps/sh/sh3/setjmp.S: Likewise.
37772         * sysdeps/sh/sh4/setjmp.S: Likewise.
37773         * sysdeps/unix/alpha/sysdep.h: Likewise.
37774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37775         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37776         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37777         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37782         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37785         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37787         * sysdeps/x86_64/setjmp.S: Likewise.
37789 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
37791         [BZ #17263]
37792         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
37793         <stdint.h>.
37794         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
37795         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
37797 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37799         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
37801         [BZ #17262]
37802         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
37803         and __x86_64__ when disabling x87 inline functions.
37805 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37807         [BZ #17259]
37808         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
37809         asm statement with __cpuid_count.
37811 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
37813         * configure.ac: Change __ehdr_start code to dereference the struct.
37814         Run readelf on the output to look for relocations.
37815         * configure: Regenerated.
37817 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
37819         [BZ #17261]
37820         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
37821         value to 0.
37822         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
37824 2014-08-12  Roland McGrath  <roland@hack.frob.com>
37826         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
37828 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
37830         [BZ #16892]
37831         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
37832         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
37834 2014-08-12  Sean Anderson  <seanga2@gmail.com>
37836         * malloc/malloc.c: Fix typo in comment.
37838 2014-08-09  Allan McRae  <allan@archlinux.org>
37840         * Regenerate libc.po.
37842 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
37844         * intl/tst-gettext2.sh: Check every lang file for creation.
37846 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37848         * sysdeps/aarch64/fpu/math_private.h
37849         (libc_feholdsetround_noex_aarch64_ctx): New function.
37851 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
37853         * sysdeps/arm/armv6/strcpy.S (strcpy):
37854         Fix performance issue in misaligned cases.
37856 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37858         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
37859         Move definition from termios.h.
37860         (struct termio): Likewise.
37861         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37862         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37863         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37864         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37865         Likewise.
37866         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
37867         Move definition to ioctl-types.h
37868         (struct termio): Likewise.
37869         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37870         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
37871         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
37872         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
37873         Likewise.
37875 2014-08-05  Richard Henderson  <rth@redhat.com>
37877         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
37878         exceptions.
37879         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
37880         Add fraiseexcpt.
37881         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
37882         Use __feraiseexcept.
37883         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
37884         Protect libm symbols with IS_IN_libm.
37886         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
37888 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
37890         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
37892 2014-08-04  Will Newton  <will.newton@linaro.org>
37894         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
37895         file.
37897 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
37899         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
37900         variants for each function.
37902 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37904         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
37905         appended ...
37906         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
37907         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
37908         appended ...
37909         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
37910         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
37911         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
37912         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
37913         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
37914         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
37915         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
37916         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
37917         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
37918         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
37919         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
37920         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
37921         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
37922         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
37923         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
37924         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
37925         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
37926         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
37927         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
37928         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
37929         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
37930         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
37931         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
37932         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
37933         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
37934         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
37935         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
37936         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
37937         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
37938         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
37939         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
37940         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
37941         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
37942         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
37943         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
37944         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
37945         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
37946         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
37947         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
37948         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
37949         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
37950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
37951         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
37952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
37953         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
37954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
37955         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
37956         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
37957         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
37958         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
37959         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
37960         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
37961         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
37962         Update #include.
37963         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
37964         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
37966 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37968         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
37969         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
37970         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
37971         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
37972         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
37973         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
37975 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37977         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
37978         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
37979         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37980         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
37982 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37984         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
37985         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
37986         (__libc_vfork): Define function under this name.
37987         (__vfork): Define as an alias.
37988         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
37989         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
37991 2014-08-04  Roland McGrath  <roland@hack.frob.com>
37993         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
37994         that was previously under [RESET_PID].
37995         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
37997 2014-08-04  Andreas Schwab  <schwab@suse.de>
37999         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
38001 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
38003         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
38004         (main): Likewise.
38006 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38008         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
38010 2014-08-01  Richard Henderon  <rth@redhat.com>
38012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
38013         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
38014         typo in exact zero test.
38015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38016         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38019 2014-08-01  Roland McGrath  <roland@hack.frob.com>
38021         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
38022         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
38023         * sysdeps/arm/sysdep.h: ... here.
38024         [!__ASSEMBLER__]: Include <stdint.h>.
38026 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38028         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
38029         (HAVE_WCTYPE_H): Likewise.
38030         (HAVE_ISWCTYPE): Likewise.
38031         (ENABLE_NLS): Likewise.
38032         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
38033         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
38035         * posix/regex_internal.c: Check if DEBUG is defined and is
38036         set.
38038         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
38039         (HAVE_MBSRTOWCS): Likewise.
38040         * posix/fnmatch.c: Include string.h unconditionally.
38042 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
38044         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
38045         reversal.
38047 2014-07-31  Roland McGrath  <roland@hack.frob.com>
38049         * sysdeps/generic/safe-fatal.h: New file.
38050         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
38051         * nptl/forward.c: Include it.
38052         (__pthread_unwind): Use __safe_fatal as default action, rather
38053         than a bogus use of INTERNAL_SYSCALL that could never work.
38055         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
38056         * configure.ac (libc_cv_builtin_trap): New test.
38057         * configure: Regenerated.
38058         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
38059         (ABORT_INSTRUCTION): Define using __builtin_trap.
38061         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
38062         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
38063         * sysdeps/nptl/nptl-signals.h: New file.
38064         * nptl/pthreadP.h: Include <nptl-signals.h>.
38066 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38068         * sysdeps/s390/s390-64/utf16-utf32-z9.c
38069         (ONE_DIRECTION): Define.
38070         * sysdeps/s390/s390-64/utf8-utf16-z9.c
38071         (ONE_DIRECTION): Define.
38072         * sysdeps/s390/s390-64/utf8-utf32-z9.c
38073         (ONE_DIRECTION): Define.
38075 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
38077         * sysdeps/s390/Makefile: Delete file.
38078         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
38079         * sysdeps/s390/__longjmp.c: Delete file.
38080         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
38081         Remove fields __flags and __reserved.
38082         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
38083         and add versioning.
38084         * sysdeps/s390/rtld-__longjmp.c: Delete file.
38085         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
38086         * sysdeps/s390/rtld-setjmp.S: Likewise.
38087         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
38088         * sysdeps/s390/s390-32/__longjmp.c: ... here.
38089         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
38090         * sysdeps/s390/s390-32/setjmp.S: ... here.
38091         Add versioning.
38092         (__sigsetjmp): Remove setting __flags field.
38093         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
38094         * sysdeps/s390/s390-64/__longjmp.c: ... here.
38095         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
38096         * sysdeps/s390/s390-64/setjmp.S: ... here.
38097         Add versioning.
38098         (__sigsetjmp): Remove setting __flags field.
38099         * sysdeps/s390/setjmp.S: Delete file.
38100         * sysdeps/s390/sigjmp.c: Likewise.
38101         * sysdeps/s390/v1-longjmp.c: Likewise.
38102         * sysdeps/s390/v1-setjmp.h: Likewise.
38103         * sysdeps/s390/v1-sigjmp.c: Likewise.
38104         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
38105         Remove v1-longjmp_chk.
38106         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
38107         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
38108         Include debug/longjmp_chk.c and add versioning.
38109         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
38110         Include nptl/pt-longjmp.c and add versioning.
38111         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
38112         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
38113         Include __longjmp.c.
38114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38115         Move to ...
38116         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
38117         (__getcontext): Remove setting __flags field.
38118         Add versioning.
38119         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38120         Don't restore upper high grps.
38121         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
38122         Likewise.
38123         (__swapcontext): Remove setting uc_flags field.
38124         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
38125         Delete file.
38126         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38127         Include __longjmp.c.
38128         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38129         Move to ...
38130         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
38131         (__getcontext): Remove setting __flags field.
38132         Add versioning.
38133         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
38134         (__swapcontext): Remove setting uc_flags field.
38135         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
38136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
38137         Remove fields uc_high_gprs and __reserved.
38138         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
38139         New file with reverted content.
38140         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
38141         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
38142         Regenerated.
38143         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
38144         Regenerated.
38146 2014-07-31  Andreas Schwab  <schwab@suse.de>
38148         * config.h.in (HAVE_IFUNC): Define to 0.
38149         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
38150         definedness.
38152 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
38154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38155         memmove-avx-unaligned, memcpy-avx-unaligned and
38156         mempcpy-avx-unaligned.
38157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38158         Add tests for AVX memcpy functions.
38159         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
38160         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
38161         memcpy_chk.
38162         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
38163         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
38164         memmove_chk.
38165         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
38166         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
38167         mempcpy_chk.
38168         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
38169         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
38170         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
38172 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38174         [BZ #17213]
38175         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
38176         powerpc64le.
38178 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
38180         [BZ #16839]
38181         * manual/llio.texi: Add section about open file description locks.
38182         * manual/examples/ofdlocks.c: Example of open file description
38183         lock usage.
38184         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
38185         F_OFD_SETLK, and F_OFD_SETLKW.
38187 2014-07-23  Allan McRae  <allan@archlinux.org>
38189         * po/es.po: Update Spanish translation from translation project.
38191 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
38193         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
38195 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
38197         [BZ #17078]
38198         * sysdeps/arm/dl-machine.h (elf_machine_rela)
38199         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
38200         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
38202 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
38204         [BZ #17088]
38205         * math/fesetenv.c (__fesetenv)
38206         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
38207         * math/feupdateenv.c (__feupdateenv)
38208         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
38210         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
38211         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38212         (__ASSUME_SOCKETCALL): Do not define.
38214         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
38215         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
38216         (__ASSUME_SOCKETCALL): Do not define.
38217         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
38218         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38220         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
38221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38222         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
38223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38224         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38226         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
38227         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
38228         (__ASSUME_SOCKETCALL): Do not define.
38229         (__ASSUME_IPC64): Define unconditionally.
38230         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38231         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38232         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
38233         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38234         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
38235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38236         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
38237         Likewise.
38239         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
38240         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
38241         (__ASSUME_SOCKETCALL): Do not define.
38242         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
38243         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38244         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38245         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38246         (__ASSUME_REQUEUE_PI): Define unconditionally.
38247         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
38248         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
38249         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38250         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
38251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38252         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38254         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
38255         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
38256         (__ASSUME_SOCKETCALL): Do not define.
38257         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
38258         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38259         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38260         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
38261         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38262         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38264         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
38265         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
38266         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
38267         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
38268         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38269         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
38270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
38271         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
38272         (__ASSUME_GETCPU_SYSCALL): Likewise.
38274         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
38275         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
38276         cases for individual architectures.
38277         * sysdeps/gnu/configure: Regenerated.
38278         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
38279         LIBC_SLIBDIR_RTLDDIR.
38280         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
38281         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
38282         LIBC_SLIBDIR_RTLDDIR.
38283         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
38284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
38285         LIBC_SLIBDIR_RTLDDIR.
38286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38287         Regenerated.
38288         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
38289         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
38290         file.
38291         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
38292         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
38293         file.
38294         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
38295         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
38296         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
38297         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
38299         * sysdeps/aarch64/shlib-versions: Move to ...
38300         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
38301         * sysdeps/alpha/shlib-versions: Move to ...
38302         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
38303         * sysdeps/arm/shlib-versions: Move to ...
38304         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
38305         * sysdeps/hppa/shlib-versions: Move all contents except for
38306         libgcc_s entry to ...
38307         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
38308         entry from ...
38309         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
38310         * sysdeps/ia64/shlib-versions: Move to ...
38311         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
38312         entry from ...
38313         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
38314         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
38315         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
38316         * sysdeps/microblaze/shlib-versions: Move to ...
38317         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
38318         * sysdeps/mips/shlib-versions: Move to ...
38319         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
38320         entry from ...
38321         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
38322         * sysdeps/tile/shlib-versions: Move to ...
38323         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
38324         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
38325         from ...
38326         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
38327         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
38328         entry from ...
38329         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
38331 2014-07-17  Will Newton  <will.newton@linaro.org>
38333         * sysdeps/arm/bits/atomic.h
38334         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
38335         (__arch_compare_and_exchange_bool_16_int): Likewise.
38336         (__arch_compare_and_exchange_bool_64_int): Likewise.
38338         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
38339         into an #else block.
38341 2014-07-16  Roland McGrath  <roland@hack.frob.com>
38343         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
38344         just Linux configurations.  Test empirically that the compiler sets
38345         __ARM_EABI__, rather than using the tuple to decide.
38346         * sysdeps/arm/preconfigure: Regenerated.
38347         * sysdeps/unix/sysv/linux/arm/configure: File removed.
38348         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
38349         contents appended ...
38350         * sysdeps/arm/configure.ac: ... here.
38351         * sysdeps/arm/configure: Regenerated.
38353 2014-07-15  Roland McGrath  <roland@hack.frob.com>
38355         * nptl/pthread_kill.c: New file.
38356         * nptl/pthread_sigmask.c: New file.
38357         * nptl/pthread_sigqueue.c: New file.
38359         * sysdeps/nptl/lowlevellock.h: New file.
38360         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
38361         * sysdeps/nptl/lowlevellock-futex.h: New file.
38363         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
38364         Remove dead declarations.
38366 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
38368         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
38369         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
38370         config-cflags-avx2.
38371         * sysdeps/x86_64/configure.ac: Likewise.
38372         * sysdeps/i386/configure: Regenerated.
38373         * sysdeps/x86_64/configure: Likewise.
38374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38375         memset-avx2 only if config-cflags-avx2 is yes.
38376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38377         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
38378         defined.
38379         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
38380         only if HAVE_AVX2_SUPPORT is defined.
38381         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38383 2014-07-14  Alan Modra  <amodra@gmail.com>
38385         [BZ #17153]
38386         * elf/elf.h (DT_PPC64_NUM): Correct value.
38387         * NEWS: Add to fixed bug list.
38389 2014-07-13  Jim Meyering  <meyering@fb.com>
38391         [BZ 17150]
38392         regex: don't deref NULL upon heap allocation failure
38393         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
38394         failure in one more place.
38395         To trigger the segfault, configure grep -with-included-regex,
38396         build it, and run these commands:
38397         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
38399 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
38401         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38403 2014-07-11  Richard Henderson  <rth@redhat.com>
38405         * sysdeps/aarch64/libm-test-ulps: Update.
38407 2014-07-10  Florian Weimer  <fweimer@redhat.com>
38409         [BZ #17135]
38410         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
38411         * nptl/allocatestack.c (__nptl_setxid_error): New function.
38412         (__nptl_setxid): Initialize error member.  Call
38413         __nptl_setxid_error.
38414         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
38415         * nptl/descr.h (struct xid_command): Add error member.
38416         * nptl/tst-setuid3.c: New file.
38417         * nptl/Makefile (tests): Add it.
38419 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
38422         New define.
38423         (__lll_trylock): Use __lll_base_trylock.
38424         (__lll_cond_trylock): Likewise.
38426 2014-07-10  Roland McGrath  <roland@hack.frob.com>
38428         * nptl/pthread_create.c (start_thread): Use atomic_or and
38429         lll_futex_wake directly rather than lll_robust_dead.
38430         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38431         (lll_robust_dead): Macro removed.
38432         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
38433         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38434         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38435         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38436         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38437         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38438         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38439         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38440         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38441         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38442         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38443         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38444         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38445         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38448         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
38449         Use atomic_compare_and_exchange_val_acq directly rather than
38450         lll_robust_trylock.
38451         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
38452         (__lll_robust_trylock, lll_robust_trylock): Removed.
38453         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
38454         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
38455         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
38456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
38457         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
38458         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
38459         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
38460         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
38461         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
38462         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
38463         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38464         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
38465         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
38466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
38468 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38470         * manual/locale.texi (Locale Names): New section documenting
38471         locale name syntax.  Adjust menu and node chaining accordingly.
38472         (Choosing Locale): Reference Locale Names, Locale Categories.
38473         Mention setting LC_ALL=C.  Reflect that name syntax is now
38474         documented.
38475         (Locale Categories): New section title.  Reference Locale Names.
38476         LC_ALL is an environment variable, but not a category.
38477         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
38478         description, now in Locale Name.  Reference that section.  Locale
38479         name syntax is now documented.
38481 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38483         [BZ #17137]
38484         * locale/findlocale.c (name_present, valid_locale_name): New
38485         functions.
38486         (_nl_find_locale): Use the loc_name variable to store name
38487         candidates.  Call name_present and valid_locale_name to check and
38488         validate locale names.  Return an error if the locale is invalid.
38490 2014-07-02  Florian Weimer  <fweimer@redhat.com>
38492         * locale/setlocale.c (setlocale): Use strdup for allocating
38493         composite name copy.
38495 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38497         Sync up with gnulib.
38498         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
38499         [!_LIBC && ENABLE_NLS]: Include gettext.h.
38500         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
38501         and _GL_ARG_NONNULL.
38502         [USE_UNLOCKED_IO]: Include unlocked-io.h.
38503         [!_LIBC]: Include code for Windows and Cygwin.
38504         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
38505         Include prototype for int strerror_r.
38506         [!_LIBC] (is_open): New function.
38507         (flush_stdout): New function.
38508         (print_errno_message): Use it.
38509         (error): Likewise.
38510         (error_at_line): Likewise.
38511         (error_tail) Add function attribute macros.  Use
38512         __builtin_expect.
38514         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
38516         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
38518         * io/ftw.c: Include sys/param.h unconditionally.
38520         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
38522         [BZ #17125]
38523         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
38524         libc_freeres_ptr.
38525         (freecache): New function to free CACHE on exit.
38527         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
38528         initialization.
38530 2014-07-09  David S. Miller  <davem@davemloft.net>
38532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38534         * sysdeps/sparc/nptl/internaltypes.h: Delete.
38535         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
38536         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
38537         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
38538         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
38539         * sysdeps/sparc/nptl/sem_init.c: Likewise.
38540         * sysdeps/sparc/nptl/sem_post.c: Likewise.
38541         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
38542         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
38543         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
38544         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
38545         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
38546         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
38548 2014-07-09  Andreas Schwab  <schwab@suse.de>
38550         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
38551         output.
38552         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
38553         (do_test): Likewise.
38555         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38557 2014-07-09  Will Newton  <will.newton@linaro.org>
38559         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
38560         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
38561         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
38562         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
38563         * sysdeps/hppa/start.S (_start): Likewise.
38565 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38567         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
38569         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
38570         defined.
38572 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38574         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
38575         after checking that it is non-NULL.
38577         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
38579 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38581         * sysdeps/powerpc/memmove.c: Remove file.
38582         * sysdeps/powerpc/powerpc32/power4/memcopy.h
38583         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
38584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38585         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
38586         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
38587         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
38588         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
38589         string memmove instead of removed powerpc one.
38591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38592         [weak_alias]: Fix compiler warning due trailing data.
38593         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
38594         [weak_alias]: Likewise.
38595         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
38596         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
38598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38599         (__libc_ifunc_impl_list): Add memmove functions.
38601 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38603         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
38604         Remove code.
38605         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
38606         Likewise.
38607         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
38608         Likewise.
38609         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
38610         Likewise.
38611         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
38612         Likewise.
38613         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
38614         Likewise.
38615         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
38616         Likewise.
38617         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
38618         Likewise.
38619         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
38620         Likewise.
38621         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
38622         Likewise.
38623         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
38624         Likewise.
38625         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
38626         Likewise.
38627         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
38628         Likewise.
38629         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
38630         Likewise.
38631         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
38632         Likewise.
38633         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
38634         Likewise.
38635         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
38636         Likewise.
38638 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38640         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38641         to avoid alignment traps in non-cacheable memory.
38642         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
38645         multiarch objects.
38646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
38647         file: multiarch power7 memmove.
38648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
38649         multiarch default memmove.
38650         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
38651         multiarch memove for powerpc32/power4.
38653         * string/bcopy.c: Use full path to include memmove.c.
38654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
38655         multiarch objects.
38656         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
38657         bcopy for powerpc64.
38658         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
38659         bcopy for powerpc64.
38660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
38661         and memmove implementations.
38662         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
38663         optimized multiarch memmove for POWER7/powerpc64.
38664         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
38665         default multiarch memmove for powerpc64.
38666         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
38667         multiarch for powerpc64.
38668         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
38669         for POWER7/powerpc64.
38670         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
38671         memmove for POWER7/powerpc64.
38673         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
38674         glibc default one.
38676         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
38677         __ELF_NATIVE_CLASS equal to 64.
38679 2014-07-07  Roland McGrath  <roland@hack.frob.com>
38681         * sysdeps/nptl/lowlevellock.h: File removed.
38683         * NEWS: NPTL is no longer an add-on!
38684         * nptl/internaltypes.h: Moved ...
38685         * sysdeps/nptl/internaltypes.h: ... here.
38686         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
38687         * sysdeps/nptl/fork.c: Likewise.
38688         * sysdeps/nptl/gai_misc.h: Likewise.
38689         * sysdeps/nptl/librt-cancellation.c: Likewise.
38690         * sysdeps/nptl/jmp-unwind.c: Likewise.
38691         * sysdeps/nptl/setxid.h: Likewise.
38692         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
38693         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
38694         * sysdeps/unix/sysv/linux/arm/Implies: New file.
38695         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
38696         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
38697         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
38698         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
38699         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
38700         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
38701         * sysdeps/unix/sysv/linux/mips/Implies: New file.
38702         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
38703         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
38704         * sysdeps/unix/sysv/linux/sh/Implies: New file.
38705         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
38706         * sysdeps/unix/sysv/linux/tile/Implies: New file.
38707         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
38708         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
38709         * nptl/Makeconfig: Moved ...
38710         * sysdeps/nptl/Makeconfig: ... here.
38711         * nptl/configure: File removed.
38712         * nptl/ANNOUNCE: File removed.
38713         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
38714         * sysdeps/unix/sysv/linux/configure: Regenerated.
38716         * nptl/Makefile (routines): Add libc_pthread_init,
38717         libc_multiple_threads, register-atfork and unregister-atfork.
38718         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
38719         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
38720         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
38721         pthread-pi-defines.sym, structsem.sym.
38722         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
38723         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
38724         [$(subdir) = nptl] (tests): Add tst-setgetname.
38725         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
38726         * sysdeps/unix/sysv/linux/sigaction.c: Just include
38727         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
38728         [!LIBC_SIGACTION]: Remove aliases.
38729         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38730         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38731         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38732         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
38733         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38734         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
38735         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38736         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38737         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38738         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
38739         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
38740         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
38741         __libc_allocate_rtsig_private.
38742         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
38743         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
38744         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
38745         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
38746         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
38747         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
38748         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
38749         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
38750         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
38751         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
38752         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
38753         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
38754         * nptl/internaltypes.h: ... here.
38755         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
38756         * sysdeps/nptl/jmp-unwind.c: ... here.
38757         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
38758         * nptl/libc-lowlevellock.c: ... here.
38759         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
38760         * nptl/libc_multiple_threads.c: ... here.
38761         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
38762         * nptl/libc_pthread_init.c: ... here.
38763         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
38764         * nptl/lowlevelbarrier.sym: ... here.
38765         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
38766         * nptl/lowlevelcond.sym: ... here.
38767         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
38768         * nptl/lowlevellock.c: ... here.
38769         * nptl/lowlevellock.h: Moved ...
38770         * sysdeps/nptl/lowlevellock.h: ... here.
38771         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
38772         * nptl/lowlevelrobustlock.c: ... here.
38773         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
38774         * nptl/lowlevelrobustlock.sym: ... here.
38775         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
38776         * nptl/lowlevelrwlock.sym: ... here.
38777         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
38778         * nptl/pt-fork.c: ... here.
38779         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
38780         * nptl/pthread-pi-defines.sym: ... here.
38781         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
38782         * nptl/pthread_attr_getaffinity.c: ... here.
38783         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
38784         * nptl/pthread_attr_setaffinity.c: ... here.
38785         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
38786         * nptl/pthread_mutex_cond_lock.c: ... here.
38787         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38788         Update #include.
38789         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
38790         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
38791         * nptl/pthread_once.c: ... here, replacing old file.
38792         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
38793         * nptl/pthread_yield.c: ... here.
38794         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
38795         * nptl/register-atfork.c: ... here.
38796         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
38797         * nptl/sem_post.c: ... here.
38798         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
38799         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
38800         * nptl/sem_timedwait.c: ... here.
38801         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
38802         * nptl/sem_trywait.c: ... here.
38803         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
38804         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
38805         * nptl/sem_wait.c: ... here.
38806         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
38807         * nptl/structsem.sym: ... here.
38808         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
38809         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
38810         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
38811         * nptl/unregister-atfork.c: ... here.
38812         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
38813         * nptl/unwindbuf.sym: ... here.
38814         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
38815         * sysdeps/nptl/fork.c: ... here.
38816         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
38817         * sysdeps/nptl/fork.h: ... here.
38818         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
38819         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
38820         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
38821         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
38822         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
38823         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
38824         * sysdeps/unix/sysv/linux/getpid.c: ... here.
38825         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
38826         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
38827         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
38828         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
38829         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
38830         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
38831         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
38832         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
38833         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
38834         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
38835         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
38836         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
38837         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
38838         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
38839         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
38840         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
38841         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
38842         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
38843         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
38844         * sysdeps/unix/sysv/linux/raise.c: ... here.
38845         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
38846         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
38847         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
38848         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
38849         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
38850         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
38851         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
38852         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
38853         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
38854         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
38855         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
38856         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
38857         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
38858         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
38859         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
38861 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38863         * sysdeps/generic/memcopy.h: Add comment for
38864         MEMCPY_OK_FOR_FWD_MEMMOVE.
38866 2014-07-04  Will Newton  <will.newton@linaro.org>
38868         * string/memchr.c: Merge from gnulib.
38869         [_LIBC]: Remove conditionals.
38870         (__ptr_t): Remove define.
38871         (LONG_MAX_32_BITS): Likewise.
38872         (LONG_MAX): Likewise.
38873         (MEMCHR): Use ANSI prototype and optimize algorithm.
38875         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
38877 2014-07-03  Roland McGrath  <roland@hack.frob.com>
38879         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
38880         (lll_futex_timed_wait_bitset): Fix syscall argument count.
38882         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
38883         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
38884         in a bare environment with no <stdlib.h> installed.
38885         * sysdeps/nptl/configure: Regenerated.
38887         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
38889         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
38890         AC_EGREP_CPP for kernel header checks, so they only succeed if
38891         including <linux/version.h> actually works right.
38892         * sysdeps/unix/sysv/linux/configure: Regenerated.
38894         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
38895         value so it's not diagnosed as unused.
38897         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
38898         thing) with "ifeq ($(subdir),rt)".
38900 2014-07-03  Richard Henderson  <rth@redhat.com>
38902         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
38903         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
38904         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
38906         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
38907         (math_force_eval): New.
38909         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
38910         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
38912         * sysdeps/alpha/fpu/s_round.c: Remove file.
38913         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
38915         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
38916         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
38917         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
38918         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
38919         (_dl_start, print_statistics): Likewise.
38920         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
38921         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
38923         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38924         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38925         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38926         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38927         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38928         (HP_SMALL_TIMING_AVAIL): Define.
38929         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38930         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38931         (HP_SMALL_TIMING_AVAIL): Define.
38932         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38933         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
38935         * sysdeps/aarch64/hp-timing.h: New file.
38937         * sysdeps/generic/hp-timing.h: Remove dead comment.
38938         * sysdeps/generic/hp-timing-common.h: New file.
38939         * sysdeps/alpha/hp-timing.h: Include it.
38940         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
38941         * sysdeps/i386/i686/hp-timing.h: Likewise.
38942         * sysdeps/ia64/hp-timing.h: Likewise.
38943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38944         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38945         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38946         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38947         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
38948         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
38949         (hp_timing_t): New.
38951         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
38952         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
38953         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
38954         * elf/rtld.c (_dl_start_final): Likewise.
38955         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
38956         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38957         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38958         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38959         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38961         (HP_TIMING_DIFF_INIT): Remove.
38962         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38963         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
38964         (HP_TIMING_DIFF_INIT): Remove.
38965         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
38966         * sysdeps/i386/i686/hp-timing.c: Remove file.
38967         * sysdeps/x86_64/hp-timing.c: Remove file.
38968         * sysdeps/ia64/hp-timing.c: Remove file.
38969         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
38970         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
38971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
38972         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
38974         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
38975         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
38976         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
38977         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
38979         (HP_TIMING_ACCUM): Remove.
38980         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38981         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
38982         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
38984         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
38985         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
38986         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
38987         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
38988         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
38989         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
38991         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
38993         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
38995 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
38997         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
38999 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39001         Sync up with gettext.
39002         * intl/loadmsgcat.c: Define O_BINARY if not defined.
39003         [_MSC_VER]: Include malloc.h
39004         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
39005         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
39006         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
39007         TEMP_FAILURE_RETRY.  Cast return of alloca.
39008         [!_LIBC] Call gl_rwlock_init.
39009         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
39011 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39013         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
39014         before checking its value.
39016 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39018         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
39020         * debug/memcpy_chk.c: Don't include pagecopy.h.
39021         * debug/mempcpy_chk.c: Likewise.
39022         * string/memcpy.c: Likewise.
39023         * string/memmove.c: Likewise.
39024         * sysdeps/powerpc/memmove.c: Likewise.
39025         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
39026         definition of PAGE_COPY_FWD_MAYBE here...
39027         * sysdeps/generic/pagecopy.h: ... from here.
39028         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
39030 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39031             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
39034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
39035         optimizations.
39036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39037         (__libc_ifunc_impl_list): Likewise.
39038         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
39039         multiarch strcat for PPC64.
39040         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
39041         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
39043 2014-07-02  Roland McGrath  <roland@hack.frob.com>
39045         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
39047 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39049         * intl/loadmsgcat.c: Remove declaration of
39050         get_sysdep_segment_value.
39051         (get_sysdep_segment_value): Use ISO C style.
39052         (_nl_load_domain): Use ISO C style.  Get rid of redundant
39053         semicolon.  Fix typo and formatting in comment.
39054         (_nl_unload_domain): Use ISO C style.
39056         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
39058 2014-07-02  Will Newton  <will.newton@linaro.org>
39060         * malloc/obstack.c: Merge from gnulib master.
39061         [HAVE_CONFIG_H]: Remove conditional code.
39062         [!_LIBC]: Include config.h.
39063         [!ELIDE_CODE]: Don't include inttypes.h, include
39064         stdint.h unconditionally.
39065         (print_and_abort): Mark as _Noreturn.
39066         (_obstack_allocated_p): Mark as __attribute_pure__.
39067         (obstack_free): Rename to __obstack_free.
39068         [!__attribute__]: Remove conditional code.
39069         * malloc/obstack.h: Merge from gnulib master.
39070         [__cplusplus]: Move conditional down.
39071         [!__attribute_pure__]: Define __attribute_pure__ here
39072         if it is not already defined.
39073         (_obstack_memory_used): Mark as __attribute_pure__.
39074         [!__obstack_free]: Define as obstack_free.
39075         [__GNUC__]: Remove check for ancient NeXT gcc.
39077 2014-07-02  Will Newton  <will.newton@linaro.org>
39078             Paul Eggert  <eggert@cs.ucla.edu>
39080         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
39082 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39084         * resolv/gethnamaddr.c: Add comment warning that the file is
39085         not maintained.
39087 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
39089         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
39090         entries.
39092         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
39093         entry for aio_cancel and aio_cancel64.
39094         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
39095         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
39096         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
39097         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
39098         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
39099         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
39100         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
39101         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
39102         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
39103         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
39104         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
39105         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
39106         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
39108 2014-07-01  Roland McGrath  <roland@hack.frob.com>
39110         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
39111         * nptl/pthread_mutex_lock.c: Likewise.
39112         * nptl/pthread_mutex_timedlock.c: Likewise.
39113         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
39115 2014-07-01  Richard henderson  <rth@redhat.com>
39117         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
39118         (__isnan, __isnanl): Remove.
39119         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
39121         * sysdeps/alpha/fpu/libm-test-ulps: Update.
39123 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39125         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39127 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39129         * resolv/nss_dns/dns-host.c (getanswer_r)
39130         [MULTI_PTRS_ARE_ALIASES]: Remove code.
39132 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
39134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39135         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
39136         undefine.
39137         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
39138         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
39140 2014-07-01  Roland McGrath <roland@hack.frob.com>
39142         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
39143         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
39145         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39146         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
39148         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
39149         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
39150         ... here.
39151         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
39152         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
39154         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
39155         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
39156         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39157         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
39159         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
39160         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
39161         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
39162         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
39163         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
39164         Moved ...
39165         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
39166         ... here.
39167         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
39168         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
39169         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39170         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
39171         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
39172         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
39173         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
39174         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
39175         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
39176         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
39177         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
39178         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
39179         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
39180         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
39181         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
39182         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
39183         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
39184         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
39185         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
39186         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
39187         ... here.
39188         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
39189         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
39190         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
39191         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
39192         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
39193         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
39194         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
39195         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
39197 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
39199         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
39200         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
39201         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
39202         Add sysdep.
39204 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39208 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39210         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
39211         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39213         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39215         * sysdeps/arm/libm-test-ulps: Regenerated.
39217 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39218             Roland McGrath <roland@hack.frob.com>
39220         * test-skeleton.c (signal_handler): Kill the whole process group
39221         before killing the child individually.
39222         (main): Report any failure on `setpgid'.
39224 2014-06-30  Roland McGrath  <roland@hack.frob.com>
39226         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
39227         from _TLS_H to _ARM_NPTL_TLS_H.
39228         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
39229         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
39231 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
39233         [BZ #16539]
39234         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
39235         (__expm1l): Return argument unchanged when small but not
39236         subnormal.
39238         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
39239         include macro name.
39240         (_FP_UNPACK_RAW_1_P): Likewise.
39241         (_FP_PACK_RAW_1): Likewise.
39242         (_FP_PACK_RAW_1_P): Likewise.
39243         (_FP_MUL_MEAT_1_wide): Likewise.
39244         (_FP_MUL_MEAT_DW_1_hard): Likewise.
39245         (_FP_MUL_MEAT_1_hard): Likewise.
39246         (_FP_DIV_MEAT_1_imm): Likewise.
39247         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
39248         (_FP_DIV_MEAT_1_udiv): Likewise.
39249         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
39250         (_FP_UNPACK_RAW_2): Likewise.
39251         (_FP_UNPACK_RAW_2_P): Likewise.
39252         (_FP_PACK_RAW_2): Likewise.
39253         (_FP_PACK_RAW_2_P): Likewise.
39254         (_FP_MUL_MEAT_DW_2_wide): Likewise.
39255         (_FP_MUL_MEAT_2_wide): Likewise.
39256         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
39257         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39258         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
39259         (_FP_MUL_MEAT_2_gmp): Likewise.
39260         (_FP_DIV_MEAT_2_udiv): Likewise.
39261         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
39262         (_FP_FRAC_SRL_4): Likewise.
39263         (_FP_FRAC_SRST_4): Likewise.
39264         (_FP_FRAC_SRS_4): Likewise.
39265         (_FP_UNPACK_RAW_4): Likewise.
39266         (_FP_UNPACK_RAW_4_P): Likewise.
39267         (_FP_PACK_RAW_4): Likewise.
39268         (_FP_PACK_RAW_4_P): Likewise.
39269         (_FP_MUL_MEAT_DW_4_wide): Likewise.
39270         (_FP_MUL_MEAT_4_wide): Likewise.
39271         (_FP_MUL_MEAT_4_gmp): Likewise.
39272         (umul_ppppmnnn): Likewise.
39273         (_FP_DIV_MEAT_4_udiv): Likewise.
39274         (__FP_FRAC_ADD_4): Likewise.
39275         (__FP_FRAC_SUB_3): Likewise.
39276         (__FP_FRAC_SUB_4): Likewise.
39277         (__FP_FRAC_DEC_3): Likewise.
39278         (__FP_FRAC_DEC_4): Likewise.
39279         (__FP_FRAC_ADDI_4): Likewise.
39280         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
39281         (_FP_FRAC_SRL_8): Likewise.
39282         (_FP_FRAC_SRS_8): Likewise.
39284         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
39285         include macro name.
39286         (FP_UNPACK_RAW_EP): Likewise.
39287         (FP_PACK_RAW_E): Likewise.
39288         (FP_PACK_RAW_EP): Likewise.
39289         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
39290         (_FP_ISSIGNAN): Likewise.
39291         (_FP_ADD_INTERNAL): Likewise.
39292         (_FP_FMA): Likewise.
39293         (_FP_CMP): Likewise.
39294         (_FP_SQRT): Likewise.
39295         (_FP_TO_INT): Likewise.
39296         (_FP_FROM_INT): Likewise.
39297         (FP_EXTEND): Likewise.
39298         (_FP_DIV_MEAT_N_loop): Likewise.
39300 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
39302         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
39303         throughout.
39305 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
39307         [BZ #17097]
39308         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
39309         result with correct sign in case of exponents that produce
39310         overflow except for X very close to 1.
39312 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
39314         mktime: merge #if/#ifdef usage from glibc
39315         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
39316         as that works with both Glibc's and Gnulib's style.
39317         See thread starting at Siddhesh Poyarekar's bug report at:
39318         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39320 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39322         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
39323         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
39324         * sysdeps/tile/tilegx/memmove.c: Remove file.
39326 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39328         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
39329         abi-name definition.
39330         * scripts/soversions.awk: Do not handle or generate ABI lines.
39331         * shlib-versions: Remove ABI entries.
39332         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
39333         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
39335 2014-06-27  Roland McGrath  <roland@hack.frob.com>
39337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
39338         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
39339         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
39340         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
39341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
39342         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
39343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
39344         Moved ...
39345         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
39346         ... here.
39347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
39348         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
39349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
39350         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
39351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
39352         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
39353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
39354         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
39355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
39356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
39357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
39358         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
39359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
39360         Moved ...
39361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
39362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
39363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
39364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
39365         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
39366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
39367         Moved ...
39368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
39369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
39370         Moved ...
39371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
39372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
39373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
39374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
39375         Moved ...
39376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
39377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
39378         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
39379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
39380         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
39381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
39382         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
39383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
39384         Moved ...
39385         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
39386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
39387         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
39388         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
39389         Moved ...
39390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
39391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
39392         Moved ...
39393         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
39394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
39395         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
39396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
39397         Moved ...
39398         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
39399         ... here.
39400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
39401         Identical file removed.
39402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
39403         Moved ...
39404         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
39405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
39406         Identical file removed.
39407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
39408         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
39409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
39410         Moved ...
39411         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
39412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
39413         Identical file removed.
39414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
39415         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
39416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
39417         Identical file removed.
39418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
39419         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
39420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
39421         Identical file removed.
39422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
39423         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
39424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
39425         Identical file removed.
39426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
39427         Moved ...
39428         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
39429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
39430         Identical file removed.
39431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
39432         Moved ...
39433         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
39434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
39435         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
39436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
39437         Identical file removed.
39438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
39439         Moved ...
39440         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
39441         ... here.
39442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
39443         Identical file removed.
39444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
39445         Moved ...
39446         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
39447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39448         Identical file removed.
39449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
39450         Moved ...
39451         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
39452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
39453         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
39454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
39455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
39456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
39457         Moved ...
39458         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
39459         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
39460         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
39462         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
39463         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
39464         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
39465         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
39466         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
39468 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
39470         [BZ #17092]
39471         * nscd/nscd.c (monitor_child): Return exit status of child
39472         instead of return value from wait syscall.
39474 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
39476         * configure.ac (libc_commonpagesize): Remove variable.
39477         (libc_relro_required): Likewise.
39478         (libc_cv_z_relro): Remove configure test.
39479         * configure: Regenerated.
39480         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
39481         variable.
39482         (libc_relro_required): Likewise.
39483         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
39484         (libc_relro_required): Likewise.
39485         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
39486         (libc_relro_required): Likewise.
39487         * sysdeps/arm/preconfigure: Regenerated.
39488         * sysdeps/ia64/preconfigure: Remove file.
39489         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
39490         variable.
39491         (libc_relro_required): Likewise.
39493         [BZ #16561]
39494         [BZ #16562]
39495         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
39496         (__ieee754_yn): Set FE_TONEAREST mode internally and then
39497         recompute overflowing results in original rounding mode.
39498         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
39499         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
39500         recompute overflowing results in original rounding mode.
39501         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
39502         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39503         recompute overflowing results in original rounding mode.
39504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
39505         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39506         recompute overflowing results in original rounding mode.
39507         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
39508         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
39509         recompute overflowing results in original rounding mode.
39510         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
39511         (libc_feholdsetround_ctx): New macro.
39512         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
39513         * sysdeps/i386/fpu/libm-test-ulps: Update.
39514         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
39516 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39518         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
39519         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
39520         corresponding .cpsetup call.
39522 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39524         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
39525         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
39526         * sysdeps/arm/Makefile [$(subdir) = csu]
39527         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
39528         (static-only-routines): Add aeabi_read_tp here.
39529         (shared-only-routines): Add libc-aeabi_read_tp here.
39530         (CFLAGS-libc-start.c): Add -fexceptions here.
39531         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
39532         (sysdep_routines, static-only-routines, shared-only-routines):
39533         Don't add to these here.
39534         (CFLAGS-libc-start.c): Likewise.
39536         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
39537         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39538         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
39539         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39540         * sysdeps/arm/Makefile [$(subdir) = rt]
39541         (librt-sysdep_routines, librt-shared-only-routines):
39542         Append rt-aeabi_unwind_cpp_pr1 here.
39543         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
39544         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
39545         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
39546         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39547         Append nptl-aeabi_unwind_cpp_pr1 here.
39548         (tests): Filter out tst-cleanupx4 here.
39549         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
39550         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
39551         Don't do those here.
39553 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39555         * scripts/list-sources.sh: Do not handle ports specially.
39557 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39559         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39560         * sysdeps/arm/feupdateenv.c: Likewise.
39562         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
39564 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39566         * manual/texinfo.tex: Update to version 2014-05-05.10 with
39567         trailing whitespace removed.
39568         * scripts/config.guess: Update to version 2014-03-23.
39569         * scripts/config.sub: Update to version 2014-05-01
39570         * scripts/install-sh: Update to version 2013-12-25.23.
39571         * scripts/move-if-change: Update from gnulib.
39573 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39575         * debug/memmove_chk.c: Remove pagecopy.h include.
39577 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
39579         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
39580         identical to gnulib mktime.
39582 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
39584         * configure.ac: Do not test for machine being rs6000.  Do not test
39585         for powerpc*-*soft.
39586         * configure: Regenerated.
39588         [BZ #11505]
39589         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
39590         test.
39591         * configure: Regenerated.
39592         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
39593         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
39594         Remove configure test.
39595         * sysdeps/arm/configure: Regenerated.
39596         * sysdeps/nptl/configure.ac: Do not check
39597         libc_cv_asm_cfi_directives.
39598         * sysdeps/nptl/configure: Regenerated.
39599         * sysdeps/x86_64/nptl/configure.ac: Remove file.
39600         * sysdeps/x86_64/nptl/configure: Remove generated file.
39601         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
39602         unconditional.
39603         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
39605 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39607         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
39608         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
39609         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
39610         it is defined.
39612         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
39613         instead of whether it is defined.
39614         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
39615         * sysdeps/hppa/dl-machine.h: Likewise.
39616         * sysdeps/ia64/dl-machine.h: Likewise.
39617         * sysdeps/m68k/dl-machine.h: Likewise.
39618         * sysdeps/microblaze/dl-machine.h: Likewise.
39619         * sysdeps/mips/dl-machine.: Likewise.
39620         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39621         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39622         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39623         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39624         * sysdeps/sh/dl-machine.h: Likewise.
39625         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39626         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39627         * sysdeps/tile/dl-machine.h: Likewise.
39628         * sysdeps/x86_64/dl-machine.h: Likewise.
39630         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
39631         code.
39632         (verify_persistent_db): Likewise.
39634 2014-06-26  Roland McGrath  <roland@hack.frob.com>
39636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
39637         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
39638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
39639         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
39640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39641         Moved ...
39642         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39643         ... here.
39644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
39645         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
39646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
39647         Identical file removed.
39648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
39649         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
39650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
39651         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
39652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
39653         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
39654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
39655         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
39656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
39657         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
39658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39659         Moved ...
39660         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
39661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
39662         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
39663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
39664         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
39665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39666         Moved ...
39667         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
39668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
39669         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
39670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
39671         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
39672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39673         Identical file removed.
39674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
39675         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
39676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
39677         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
39678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39679         Moved ...
39680         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
39681         ... here.
39682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
39683         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
39684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
39685         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
39686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
39687         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
39688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
39689         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
39690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
39691         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
39692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39693         Moved ...
39694         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
39695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
39696         Moved ...
39697         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
39698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
39699         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
39700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39701         Moved ...
39702         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
39703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
39704         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
39706         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
39707         folded into ...
39708         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
39709         * sysdeps/unix/sysv/linux/s390/Versions
39710         (libpthread: GLIBC_2.19): New version set.
39711         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
39712         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
39713         (librt: GLIBC_2.3.3): New version set.
39714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
39715         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
39716         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
39717         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
39718         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
39719         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
39720         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
39721         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
39722         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
39723         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
39724         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
39725         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
39726         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
39727         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
39728         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
39729         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
39730         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
39731         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
39732         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
39733         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
39734         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
39735         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
39736         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
39737         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
39738         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
39739         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
39740         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
39741         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
39742         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
39743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
39744         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
39745         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
39746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
39747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
39748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
39749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
39750         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
39751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
39752         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
39753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
39754         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
39755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
39756         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
39757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
39758         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
39760         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
39761         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
39762         (__libc_vfork): Define the function under this name.
39763         [!NOT_IN_libc] (__vfork): Make this an alias.
39764         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
39766         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
39767         (__libc_vfork): Define the function under this name.
39768         [!NOT_IN_libc] (__vfork): Make this an alias.
39769         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
39770         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
39771         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
39772         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
39773         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
39774         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39776         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
39777         code that was previously under [RESET_PID].
39778         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
39779         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
39780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
39782         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
39783         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
39784         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
39785         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
39786         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
39787         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
39788         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
39789         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
39790         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
39791         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
39792         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
39793         Moved ...
39794         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
39795         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
39796         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
39797         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
39798         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
39799         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
39800         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
39801         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
39802         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
39803         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
39804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
39805         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
39806         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
39807         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
39808         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
39809         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
39810         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
39811         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
39812         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
39813         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
39814         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
39815         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
39816         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
39817         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
39818         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
39819         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
39820         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
39821         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
39822         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
39824 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39826         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
39827         that was previously under [RESET_PID].
39828         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
39830 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
39832         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
39833         not undefine and redefine.
39834         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
39835         [O_CLOEXEC]: Make code unconditional.
39836         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
39837         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
39838         <kernel-features.h>.
39839         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
39840         conditional variable definition.
39841         (shm_open) [O_CLOEXEC]: Make code unconditional.
39842         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
39843         code.
39845         * configure.ac (USE_REGPARMS): Don't define here.
39846         * configure: Regenerated.
39847         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
39848         * sysdeps/i386/configure: Regenerated.
39850         * nptl/createthread.c: Don't include kernel-features.h.
39851         * nptl/pthread_cancel.c: Likewise.
39852         * nptl/pthread_condattr_setclock.c: Likewise.
39853         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
39854         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
39855         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
39856         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
39857         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
39858         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
39859         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
39860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
39861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
39862         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
39863         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
39864         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
39865         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
39866         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
39867         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
39868         * nscd/gai.c: Likewise.
39869         * nss/nss_db/db-open.c: Likewise.
39870         * sysdeps/generic/ldsodefs.h: Likewise.
39871         * sysdeps/sh/nptl/tls.h: Likewise.
39872         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39873         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
39874         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
39875         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
39876         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
39877         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39878         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
39879         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39881         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
39882         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
39883         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39884         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
39885         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
39886         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
39887         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
39888         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
39889         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
39890         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
39891         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
39892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
39893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
39894         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
39895         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
39896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
39897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
39898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
39899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
39900         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
39901         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
39902         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
39903         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
39904         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
39905         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39906         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39907         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39908         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39909         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
39910         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
39911         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
39912         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39913         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
39914         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
39915         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39916         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
39917         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
39918         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
39919         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
39920         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
39921         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
39922         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
39923         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
39924         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
39925         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39926         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
39927         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39928         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39929         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
39930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
39932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
39933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
39934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
39935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
39936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
39937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
39938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
39941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
39942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
39943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
39944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
39950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
39951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
39952         * sysdeps/unix/sysv/linux/pread.c: Likewise.
39953         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
39954         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
39955         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
39956         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
39957         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
39958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
39959         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
39960         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
39961         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
39962         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
39963         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
39964         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
39965         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
39966         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
39967         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
39968         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39969         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
39970         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
39971         * sysdeps/unix/sysv/linux/system.c: Likewise.
39972         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
39973         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
39974         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39975         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39976         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39977         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39978         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39980         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
39981         * configure: Regenerated.
39982         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
39984         * configure.ac (base_machine): Do not set specially for particular
39985         machines here.
39986         * configure: Regenerated.
39987         * sysdeps/powerpc/preconfigure: Move machine and base_machine
39988         settings from configure.ac.
39989         * sysdeps/i386/preconfigure: New file.
39990         * sysdeps/s390/preconfigure: Likewise.
39991         * sysdeps/sh/preconfigure: Likewise.
39992         * sysdeps/sparc/preconfigure: Likewise.
39994 2014-06-25  Roland McGrath  <roland@hack.frob.com>
39996         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
39997         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
39998         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
39999         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
40000         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
40001         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
40002         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
40003         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
40004         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
40005         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
40006         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
40007         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
40008         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
40009         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
40010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
40011         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
40012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
40013         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
40014         * sysdeps/sparc/sparc64/Makefile: ... appended here.
40016         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
40017         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
40018         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
40019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
40020         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
40021         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
40022         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
40023         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
40024         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
40025         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
40026         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
40027         * sysdeps/sparc/sparc32/sem_post.c: ... here.
40028         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
40029         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
40030         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
40031         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
40032         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
40033         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
40034         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
40035         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
40036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
40037         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
40038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
40039         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
40040         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
40041         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
40042         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
40043         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
40044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
40045         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
40046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
40047         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
40048         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
40049         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
40050         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
40051         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
40052         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
40053         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
40055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
40056         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
40057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
40058         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
40059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40060         Moved ...
40061         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
40062         ... here.
40063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
40064         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
40065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
40066         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
40067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
40068         Moved ...
40069         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
40070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
40071         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
40072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
40073         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
40074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
40075         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
40076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40077         Moved ...
40078         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
40079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40080         Moved ...
40081         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
40082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
40083         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
40084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40085         Moved ...
40086         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
40087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
40088         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
40089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
40090         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
40091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
40092         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
40093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
40094         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
40095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40096         Moved ...
40097         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
40098         ... here.
40099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
40100         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
40101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
40102         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
40103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
40104         Moved ...
40105         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
40106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
40107         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
40108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
40109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
40110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
40111         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
40112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40113         Moved ...
40114         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
40115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40116         Moved ...
40117         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
40118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
40119         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
40120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40121         Moved ...
40122         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
40123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
40124         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
40125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
40126         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
40128 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40130         * timezone/checktab.awk: Update from tzcode 2014e.
40131         * timezone/private.h: Likewise.
40132         * timezone/tzfile.h: Likewise.
40133         * timezone/zdump.c: Likewise.
40134         * timezone/zic.c: Likewise.
40136         * sysdeps/unix/sysv/linux/kernel-features.h
40137         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
40138         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
40139         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
40140         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
40141         Remove conditional code.
40143 2014-06-25  Will Newton  <will.newton@linaro.org>
40145         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
40146         (_dl_arm_cap_flags): Add HWCAP2 values.
40147         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
40148         (_DL_HWCAP_COUNT): Increase to 37.
40149         (_DL_HWCAP_LAST): New define.
40150         (_DL_HWCAP2_LAST): New define.
40151         (_dl_procinfo): Add support for printing
40152         AT_HWCAP2 entries.
40153         (_dl_string_hwcap): Use _dl_hwcap_string.
40155 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40159 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40161         * README: Do not mention ports directory.
40163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
40164         Remove macro.
40165         * sysdeps/unix/sysv/linux/futimes.c: Do not include
40166         <kernel-features.h>.
40167         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
40168         conditional variable definition.
40169         (__futimes): Update comment.
40170         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
40171         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
40173         [BZ #16560]
40174         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
40175         arguments close to 0.
40176         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
40177         Likewise.
40178         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
40179         Likewise.
40180         * math/auto-libm-test-in: Add more tests of exp10.
40181         * math/auto-libm-test-out: Regenerated.
40182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40184         * sysdeps/unix/sysv/linux/kernel-features.h
40185         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
40186         * sysdeps/unix/sysv/linux/readv.c: Do not include
40187         <kernel-features.h>.
40188         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40189         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40190         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40191         unconditional.
40192         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40193         conditional code.
40194         * sysdeps/unix/sysv/linux/writev.c: Do not include
40195         <kernel-features.h>.
40196         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
40197         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
40198         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
40199         unconditional.
40200         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
40201         conditional code.
40203 2014-06-25  Will Newton  <will.newton@linaro.org>
40205         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
40206         comment changes throughout the file.  Remove checks
40207         for HAVE_*_H definitions that are not required.
40208         (__gen_tempname): Call abort if an unknown kind value is
40209         passed.
40211 2014-06-25  Andreas Schwab  <schwab@suse.de>
40213         [BZ #17086]
40214         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
40215         scalbln, scalblnf, scalblnl in libc.
40217 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40219         [BZ #17086]
40220         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
40221         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
40222         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
40224 2014-06-24  Roland McGrath  <roland@hack.frob.com>
40226         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
40227         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
40228         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
40229         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
40230         Update #include.
40231         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
40232         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
40233         Update #include.
40234         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
40235         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
40236         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
40237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
40238         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
40239         * sysdeps/x86/bits/pthreadtypes.h: ... here.
40240         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
40241         * sysdeps/x86/bits/semaphore.h: ... here.
40242         * sysdeps/x86/nptl/elide.h: Moved ...
40243         * sysdeps/x86/elide.h: ... here.
40244         * sysdeps/x86_64/nptl/Implies: File removed.
40245         * sysdeps/i386/nptl/Implies: File removed.
40247 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
40249         [BZ #16539]
40250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
40251         return the argument for normal arguments with exponent below -64.
40252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40253         Likewise.
40254         * math/auto-libm-test-in: Add another test of expm1.
40255         * math/auto-libm-test-out: Regenerated.
40257         [BZ #16287]
40258         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
40259         calling __erfcl for arguments at least 16.
40260         * math/auto-libm-test-in: Add more tests of erf.
40261         * math/auto-libm-test-out: Regenerated.
40263         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
40264         individual architectures.
40265         * sysdeps/unix/sysv/linux/configure: Regenerated.
40266         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
40267         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
40268         * sysdeps/unix/sysv/linux/powerpc/configure.ac
40269         (ldd_rewrite_script): Define variable.
40270         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
40272         file.
40273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
40274         generated file.
40275         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
40276         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
40277         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
40278         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
40279         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
40280         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
40281         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
40282         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
40284 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40286         [BZ #17084]
40287         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
40288         Rename member __data.d to __data.__elision_data.
40290 2014-06-24  Wilco  <wdijkstr@arm.com>
40292         * NEWS: Add 16918 to fixed bug list.
40294 2014-06-24  Wilco  <wdijkstr@arm.com>
40296         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
40298 2014-06-24  Wilco  <wdijkstr@arm.com>
40300         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
40301         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
40302         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
40303         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
40304         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
40305         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
40306         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
40307         Use _FPU_MASK_RM.
40309 2014-06-24  Wilco  <wdijkstr@arm.com>
40311         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
40313 2014-06-24  Wilco  <wdijkstr@arm.com>
40315         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
40316         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
40317         * sysdeps/arm/fesetround.c (fesetround): Remove space.
40318         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
40320 2014-06-24  Wilco  <wdijkstr@arm.com>
40322         [BZ #16918]
40323         * sysdeps/arm/feupdateenv.c (feupdateenv):
40324         Rewrite to reduce FPSCR accesses and fix return value.
40326 2014-06-24  Wilco  <wdijkstr@arm.com>
40328         * sysdeps/arm/fclrexcpt.c (feclearexcept):
40329         Optimize to avoid unnecessary FPSCR writes.
40330         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
40331         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
40332         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
40333         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
40335 2014-06-24  Wilco  <wdijkstr@arm.com>
40337         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
40338         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
40339         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
40340         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
40341         Call libc_fetestexcept_vfp.
40342         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
40343         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
40344         __SOFTFP__ ifdef so that they can be built for softfp.
40346 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40348         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
40349         argument type signed char.
40351         * Makerules (check-abi): Dump diff of symlist if the test
40352         fails.
40354 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40356         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
40357         using abort.
40359         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40360         Remove unused variable ST.
40362 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40364         [BZ #16354]
40365         [BZ #17061]
40366         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
40367         small arguments before calling __expm1.
40368         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
40369         small arguments before calling __expm1f.
40370         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
40371         small arguments before calling __expm1l.
40372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40373         Likewise.
40374         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
40375         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
40376         spurious underflow for some cosh tests.
40377         * math/auto-libm-test-out: Regenerated.
40378         * sysdeps/i386/fpu/libm-test-ulps: Update.
40380         [BZ #17050]
40381         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
40382         (__ieee754_y1): Set errno if return value overflows.
40383         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
40384         (__ieee754_y1f): Set errno if return value overflows.
40385         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
40386         (__ieee754_y1l): Set errno if return value overflows.
40387         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
40388         (__ieee754_y1l): Set errno if return value overflows.
40389         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
40390         * math/auto-libm-test-out: Regenerated.
40392         * math/gen-auto-libm-tests.c: Document use of
40393         ignore-zero-inf-sign.
40394         (input_flag_type): Add value flag_ignore_zero_inf_sign.
40395         (input_flags): Add ignore-zero-inf-sign.
40396         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
40397         * math/gen-libm-test.pl (generate_testfile): Handle
40398         ignore-zero-inf-sign.
40399         * math/auto-libm-test-in: Mark some cpow tests with
40400         ignore-zero-inf-sign and some with xfail-rounding.
40401         * math/auto-libm-test-out: Regenerated.
40402         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
40403         * sysdeps/i386/fpu/libm-test-ulps: Update.
40404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40406         [BZ #16315]
40407         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
40408         overflowing or underflowing operations take place with sign of
40409         result.
40410         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40411         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40412         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
40413         (__ieee754_pow): Recompute overflowing and underflowing results in
40414         original rounding mode.
40415         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
40416         (__powl_helper): Allow negative argument X and scale negated value
40417         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
40418         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
40419         overflowing or underflowing operations take place with sign of
40420         result.
40421         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
40422         Include <math.h>.
40423         * math/auto-libm-test-in: Add more tests of pow.
40424         * math/auto-libm-test-out: Regenerated.
40425         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
40426         (pow_tonearest_test_data): Remove.
40427         (pow_test_tonearest): Likewise.
40428         (pow_towardzero_test_data): Likewise.
40429         (pow_test_towardzero): Likewise.
40430         (pow_downward_test_data): Likewise.
40431         (pow_test_downward): Likewise.
40432         (pow_upward_test_data): Likewise.
40433         (pow_test_upward): Likewise.
40434         (main): Don't call removed functions.
40435         * sysdeps/i386/fpu/libm-test-ulps: Update.
40436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40438 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
40441         Moved ...
40442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
40443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40444         Moved ...
40445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
40446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40447         Moved ...
40448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
40449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40450         Moved ...
40451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
40452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40453         File removed.
40454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40455         File removed.
40456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
40457         File removed.
40458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
40459         File removed.
40460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
40461         File removed.
40462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
40463         File removed.
40464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
40465         File removed.
40466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40467         File removed.
40468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
40469         File removed.
40470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40471         File removed.
40472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
40473         File removed.
40474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
40475         File removed.
40476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
40477         Moved ...
40478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
40479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
40480         Moved ...
40481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
40482         ... here.
40483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
40484         Moved ...
40485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
40487         Moved ...
40488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
40489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
40490         Moved ...
40491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
40492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
40493         Moved ...
40494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
40495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
40496         Moved ...
40497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
40498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
40499         Moved ...
40500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
40501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
40502         Moved ...
40503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
40504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
40505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
40506         ... here.
40507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
40508         Moved ...
40509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
40510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40511         Moved ...
40512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
40513         ... here.
40514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
40515         Moved ...
40516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
40517         ... here.
40518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40519         Moved ...
40520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
40521         ... here.
40522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40523         Moved ...
40524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
40525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40526         Moved ...
40527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
40528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
40529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
40530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40531         Moved ...
40532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
40533         ... here.
40534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40535         Moved ...
40536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
40537         ... here.
40538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40539         Moved ...
40540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
40541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40542         Moved ...
40543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
40544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40545         Moved ...
40546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
40547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40548         Moved ...
40549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
40550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40551         Moved ...
40552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
40553         ... here.
40554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40555         Moved ...
40556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
40557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40558         Moved ...
40559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
40560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40561         Moved ...
40562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
40563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40564         Moved ...
40565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
40566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
40567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
40568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40569         Moved ...
40570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
40571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40572         Moved ...
40573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
40574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40575         Moved ...
40576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
40577         ... here.
40578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40579         Moved ...
40580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
40581         ... here.
40582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40583         Moved ...
40584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
40585         ... here.
40586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40587         Moved ...
40588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
40589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40590         Moved ...
40591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
40592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40593         Moved ...
40594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
40595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40596         Moved ...
40597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
40598         ... here.
40599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40600         Moved ...
40601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
40602         ... here.
40603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40604         Moved ...
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
40606         ... here.
40607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40608         Moved ...
40609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
40610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40611         Moved ...
40612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
40614 2014-06-23  Will Newton  <will.newton@linaro.org>
40615             Wilco  <wdijkstr@arm.com>
40617         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
40618         implementation.  Include get-rounding-mode.h.
40619         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
40620         [!libc_feholdsetround_noex_ctx]: Define
40621         libc_feholdsetround_noex_ctx.
40622         [!libc_feholdsetround_noexf_ctx]: Define
40623         libc_feholdsetround_noexf_ctx.
40624         [!libc_feholdsetround_noexl_ctx]: Define
40625         libc_feholdsetround_noexl_ctx.
40626         (libc_feholdsetround_ctx): New function.
40627         (libc_feresetround_ctx): New function.
40628         (libc_feholdsetround_noex_ctx): New function.
40629         (libc_feresetround_noex_ctx): New function.
40631 2014-06-23  Roland McGrath  <roland@hack.frob.com>
40633         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
40634         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
40635         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
40636         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
40637         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
40638         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
40640         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
40641         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
40642         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
40643         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
40644         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
40645         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
40646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
40647         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
40648         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
40649         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
40650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
40651         Moved ...
40652         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
40653         ... here.
40654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
40655         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
40656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
40657         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
40658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
40659         Moved ...
40660         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
40661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
40662         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
40663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
40664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
40665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
40666         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
40667         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
40668         Moved ...
40669         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
40670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
40671         Moved ...
40672         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
40673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
40674         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
40675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
40676         Moved ...
40677         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
40678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
40679         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
40680         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
40681         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
40682         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
40683         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
40684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
40685         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
40686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
40687         Moved ...
40688         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
40689         ... here.
40690         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
40691         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
40692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
40693         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
40694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
40695         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
40696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
40697         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
40698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
40699         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
40700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
40701         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
40702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
40703         Moved ...
40704         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
40705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
40706         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
40707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
40708         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
40709         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
40710         Moved ...
40711         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
40712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
40713         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
40714         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
40715         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
40717         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
40718         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
40719         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
40720         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
40721         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
40722         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
40723         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
40724         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
40725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
40726         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
40727         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
40728         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
40729         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
40730         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
40731         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
40732         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
40733         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
40734         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
40735         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
40736         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
40737         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
40738         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
40739         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
40740         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
40741         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
40742         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
40743         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
40744         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
40746 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
40748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
40749         (FALLOC_FL_COLLAPSE_RANGE): New macro.
40750         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
40751         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
40752         (IPV6_PMTUDISC_INTERFACE): Likewise.
40753         (IPV6_PMTUDISC_OMIT): Likewise.
40755 2014-06-23  Andreas Schwab  <schwab@suse.de>
40757         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
40758         Remove unused errout label.
40760 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40762         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
40763         macro: hardware supports Vector Crypto instructions.
40765 2014-06-23  Will Newton  <will.newton@linaro.org>
40767         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
40768         rather than __builtin_expect.
40770         * elf/dl-lookup.c (undefined_msg): Remove variable.
40771         (_dl_lookup_symbol_x): Replace undefined_msg with string
40772         literal.
40774         * elf/dl-lookup.c (do_lookup_unique): New function.
40775         (do_lookup_x): Move STB_GNU_UNIQUE handling code
40776         to a separate function.
40778 2014-06-23  Andreas Schwab  <schwab@suse.de>
40780         [BZ #17079]
40781         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
40782         before reading the next line.
40784 2014-06-23  Will Newton  <will.newton@linaro.org>
40786         * test-skeleton.c (signal_handler): Use printf and %m
40787         rather than perror.  Use printf rather than fprintf to
40788         stderr.  Use puts rather than fputs to stderr.
40789         (main): Likewise.
40791 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
40793         * nscd/nscd.c (thread_info_t): Remove typedef.
40794         (thread_info): Remove variable.
40796 2014-06-21  Allan McRae  <allan@archlinux.org>
40798         * NEWS: Mention CVE-2014-4043.
40800 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40802         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
40803         * nptl/smp.h: ... here.
40805         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40807         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
40808         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
40809         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
40810         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
40812         * nptl/allocatestack.c: Include <stack-aliasing.h>.
40813         * nptl/stack-aliasing.h: New file.
40814         * sysdeps/i386/i686/stack-aliasing.h: New file.
40815         * sysdeps/i386/i686/nptl/Makefile: File removed.
40816         * sysdeps/x86_64/stack-aliasing.h: New file.
40817         * sysdeps/x86_64/nptl/Makefile
40818         (CFLAGS-pthread_create.c): Variable removed.
40820         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
40821         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
40822         old file.
40823         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
40824         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
40825         old file.
40827 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
40829         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40830         (__ASSUME_SIGFRAME_V2): Remove macro.
40831         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
40832         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
40833         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
40834         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
40835         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
40836         Declare as function.  Remove conditional macro definitions.
40837         (__default_rt_sa_restorer): Likewise.
40838         (__default_sa_restorer_v1): Remove declaration.
40839         (__default_sa_restorer_v2): Likewise.
40840         (__default_rt_sa_restorer_v1): Likewise.
40841         (__default_rt_sa_restorer_v2): Likewise.
40842         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
40843         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
40844         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
40846 2014-06-20  Roland McGrath  <roland@hack.frob.com>
40848         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
40849         (libpthread-routines): Add sysdep.
40850         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
40851         * sysdeps/unix/sysv/linux/sparc/Versions
40852         (libpthread: GLIBC_2.3.3): New version set.
40853         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
40854         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
40855         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
40856         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40857         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
40858         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
40859         Moved ...
40860         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
40861         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
40862         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
40863         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
40864         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
40865         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
40866         * sysdeps/sparc/nptl/sem_init.c: ... here.
40867         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
40868         * sysdeps/sparc/nptl/sem_post.c: ... here.
40869         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
40870         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
40871         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
40872         * sysdeps/sparc/nptl/sem_wait.c: ... here.
40873         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
40874         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
40875         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
40876         (libpthread-routines): Add cpu_relax.
40877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
40878         File removed.
40879         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
40880         (librt: GLIBC_2.3.3): New version set.
40881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
40882         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
40883         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
40884         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
40886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
40887         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
40888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
40889         Moved ...
40890         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
40891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
40892         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
40893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
40894         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
40895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
40896         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
40897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
40898         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
40899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
40900         Moved ...
40901         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
40902         Update #include.
40903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
40904         Moved ...
40905         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
40906         Update #include.
40907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
40908         Moved ...
40909         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
40910         Update #include.
40911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
40912         Moved ...
40913         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
40914         Update #include.
40915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
40916         Moved ...
40917         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
40918         Update #include.
40919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
40920         Moved ...
40921         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
40922         Update #include.
40923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
40924         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
40925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
40926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
40927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
40928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
40929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
40930         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
40931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
40932         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
40933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
40934         Moved ...
40935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
40936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
40937         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
40938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
40939         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
40941 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40943         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
40944         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
40945         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
40946         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
40947         * nscd/nscd.c: Likewise.
40948         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
40949         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
40950         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
40951         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
40953         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
40954         <kernel-features.h>.
40955         (init_mq_netlink): Remove conditional have_sock_cloexec
40956         definitions.  Remove code conditional on have_sock_cloexec < 0.
40957         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
40958         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
40959         * sysdeps/unix/sysv/linux/opensock.c: Do not include
40960         <kernel-features.h>.
40961         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
40962         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
40964 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
40966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40967         Add tests for memset_chk and memset.
40969         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
40970         with AVX2_Usable.
40972 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
40974         [BZ #16046]
40975         * elf/tst-dl-iter-static.c: New file.
40976         * elf/Makefile (tests-static): Add tst-dl-iter-static.
40978         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
40979         error.
40981 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
40983         * sysdeps/unix/sysv/linux/kernel-features.h
40984         (__ASSUME_F_GETOWN_EX): Remove macro.
40985         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
40986         <kernel-features.h>.
40987         (miss_F_GETOWN_EX): Remove variable or macro.
40988         (do_fcntl): Do not check miss_F_GETOWN_EX.
40989         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
40991         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
40992         Remove macro.
40993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
40994         [!__ASSUME_AT_RANDOM]: Remove conditional code.
40995         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
40997         * sysdeps/unix/sysv/linux/kernel-features.h
40998         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
40999         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
41000         [ADJ_OFFSET_SS_READ]: Make code unconditional.
41001         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
41003 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41005         [BZ #17075]
41006         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
41007         Fix calculation of the symbol's value.
41008         * sysdeps/arm/tst-armtlsdescloc.c: New file.
41009         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
41010         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
41011         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
41012         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
41013         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
41014         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
41015         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
41016         (modules-names): Add `tst-armtlsdescmod',
41017         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
41018         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
41019         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41020         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
41021         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
41022         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
41023         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
41024         ($(objpfx)tst-armtlsdescloc): New dependency.
41025         ($(objpfx)tst-armtlsdescextnow): Likewise.
41026         ($(objpfx)tst-armtlsdescextlazy): Likewise.
41027         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
41028         TLS scheme support.
41029         * sysdeps/arm/configure: Regenerate.
41031 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41033         * include/fcntl.h (__atfct_seterrno): Remove prototype.
41034         (__atfct_seterrno_2): Likewise.
41035         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
41036         <kernel-features.h>.
41037         (__ASSUME_ATFCTS): Do not undefine and redefine.
41038         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
41039         (__have_atfcts): Remove conditional definition.
41040         (__fxstatat([__NR_fstatat64]: Make code unconditional.
41041         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
41042         unreachable if [__ASSUME_ATFCTS].
41043         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
41044         not undefine and redefine.
41045         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
41046         <kernel-features.h>.
41047         (faccessat) [__NR_faccessat]: Make code unconditional.
41048         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
41049         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
41050         <kernel-features.h>.
41051         (fchmodat) [__NR_fchmodat]: Make code unconditional.
41052         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41053         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
41054         <kernel-features.h>.
41055         (fchownat) [__NR_fchownat]: Make code unconditional.
41056         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
41057         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
41058         <kernel-features.h>.
41059         (futimesat) [__NR_futimesat]: Make code unconditional.
41060         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
41061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41062         <kernel-features.h>.
41063         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41064         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41065         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41066         <kernel-features.h>.
41067         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
41068         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41069         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
41070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41071         <kernel-features.h>.
41072         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
41073         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41074         * sysdeps/unix/sysv/linux/linkat.c: Do not include
41075         <kernel-features.h>.
41076         (linkat) [__NR_linkat]: Make code unconditional.
41077         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41078         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
41079         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
41080         <kernel-features.h>.
41081         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
41082         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
41083         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
41084         <kernel-features.h>.
41085         (mkdirat) [__NR_mkdirat]: Make code unconditional.
41086         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
41087         * sysdeps/unix/sysv/linux/openat.c: Do not include
41088         <kernel-features.h>.
41089         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
41090         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
41091         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
41092         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
41093         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
41094         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
41095         <kernel-features.h>.
41096         (readlinkat) [__NR_readlinkat]: Make code unconditional.
41097         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
41098         result of INLINE_SYSCALL directly, not via int variable.
41099         * sysdeps/unix/sysv/linux/renameat.c: Do not include
41100         <kernel-features.h>.
41101         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
41102         (renameat) [__NR_renameat]: Make code unconditional.
41103         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
41104         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
41105         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
41106         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
41107         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
41108         (__ASSUME_ATFCTS): Do not undefine and redefine.
41109         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
41110         <kernel-features.h>.
41111         (symlinkat) [__NR_symlinkat]: Make code unconditional.
41112         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41113         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
41114         <kernel-features.h>.
41115         (unlinkat) [__NR_unlinkat]: Make code unconditional.
41116         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
41117         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
41118         (__ASSUME_ATFCTS): Do not undefine and redefine.
41119         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
41120         <kernel-features.h>.
41121         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
41122         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
41123         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
41124         <kernel-features.h>.
41125         (__xmknodat) [__NR_mknodat]: Make code unconditional.
41126         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
41128 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41130         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
41132 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
41134         [BZ #17069]
41135         * posix/regcomp.c (parse_reg_exp): Deallocate partially
41136         constructed tree before returning error.
41137         * posix/bug-regexp36.c: Expand test case.
41139 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
41141         [BZ #6803]
41142         * math/libm-test.inc (scalbln_test_date):
41143         Add errno expectations.
41144         * math/w_scalblnf.c: New File.
41145         Add wrapper which checks for setting errno to ERANGE.
41146         Add weak_alias for corresponding scalbln function.
41147         * math/w_scalbln.c: Likewise.
41148         * math/w_scalblnl.c: Likewise.
41149         * math/Makefile (libm-calls): Add w_scalbln.
41150         * sysdeps/ieee754/flt-32/s_scalblnf.c:
41151         Remove weak_alias for corresponding scalbln function.
41152         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41154         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41155         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41156         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
41157         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41158         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
41159         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41160         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
41161         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
41162         Remove long_double_symbol for scalblnl function in libm, libc.
41163         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
41164         Add wrapper which checks for setting errno to ERANGE.
41165         Add long_double_symbol for scalblnl function in libm, libc.
41166         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
41167         Remove long_double_symbol for scalblnl in libm.
41168         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
41169         Add wrapper which checks for setting errno to ERANGE.
41170         Add long_double_symbol for scalblnl function in libm.
41171         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
41172         Do not use wrapper because of own implementation.
41174 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
41176         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
41177         3 bytes for __pad1 for x32.
41178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
41180 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
41181             H.J. Lu  <hongjiu.lu@intel.com>
41183         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
41184         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
41185         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41186         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41187         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
41189 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
41191         [BZ #17069]
41192         * posix/regcomp.c (parse_expression): Deallocate partially
41193         constructed tree before returning error.
41194         * posix/Makefile.c (tests): Add bug-regex36.
41195         (generated): Add bug-regex36.mtrace.
41196         (tests-special): Add $(objpfx)bug-regex36-mem.out
41197         (bug-regex36-ENV): New variable.
41198         ($(objpfx)bug-regex36-mem.out): New rule.
41199         * posix/bug-regex36.c: New file.
41201 2014-06-19  Will Newton  <will.newton@linaro.org>
41203         * malloc/malloc.c (systrim): If extra is zero then return
41204         early.
41206 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41208         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
41210 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
41212         * sysdeps/aarch64/strchr.S: New file.
41214 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41216         [BZ #17022]
41217         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
41218         from arguments -2 or below.
41219         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41220         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
41222 2014-06-18  Andreas Schwab  <schwab@suse.de>
41224         [BZ #17062]
41225         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
41226         of a bracket expr not to run off the end of the string.
41227         * posix/Makefile (tests): Add tst-fnmatch3.
41228         * posix/tst-fnmatch3.c: New file.
41230 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
41232         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
41233         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41234         [$(cross-compiling) = no]: Likewise.
41235         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41236         [$(cross-compiling) = no]: Likewise.
41238 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41240         [BZ #17031]
41241         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
41242         double, adjusted for any remainder from the high double.
41243         * math/libm-test.inc (nearbyint): Add tests.
41244         (rint): Likewise.
41246 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41248         * nptl/sysdeps/powerpc/Makefile: Moved ...
41249         * sysdeps/powerpc/nptl/Makefile: ... here.
41250         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
41251         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
41252         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
41253         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
41254         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
41255         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
41256         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
41257         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
41258         * nptl/sysdeps/powerpc/tls.h: Moved ...
41259         * sysdeps/powerpc/nptl/tls.h: ... here.
41261 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
41263         [BZ #16681]
41264         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
41265         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
41266         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
41267         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
41268         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
41269         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
41270         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
41271         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
41272         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
41274 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
41276         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41278 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
41280         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
41281         defined operator.
41283         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
41284         $TIMEOUTFACTOR.
41286 2014-06-16  Florian Weimer  <fweimer@redhat.com>
41288         [BZ #17058]
41289         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
41290         non-executed part of the test.
41292 2014-06-16  Andreas Schwab  <schwab@suse.de>
41294         * string/bits/string2.h (strdup, strndup): Update feature guard.
41296 2014-06-14  David S. Miller  <davem@davemloft.net>
41298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41300 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
41302         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
41303         that was previously under [RESET_PID].
41304         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
41306         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
41307         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
41308         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
41309         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41310         (__libc_vfork): New strong alias.
41311         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
41313 2014-06-14 Andi Kleen  <ak@linux.intel.com>
41315         * sysdeps/generic/elide.h: New file.
41317 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41319         * Makefile (installed-headers): Adjust path of pthread.h header.
41321 2014-06-13  Roland McGrath  <roland@hack.frob.com>
41323         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
41324         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
41325         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41326         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
41328         * nptl/sysdeps/s390/Makefile: Moved ...
41329         * sysdeps/s390/nptl/Makefile: ... here.
41330         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
41331         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41332         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
41333         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
41334         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
41335         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
41336         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
41337         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
41338         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
41339         * sysdeps/s390/nptl/pthreaddef.h: ... here.
41340         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
41341         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
41342         * nptl/sysdeps/s390/tls.h: Moved ...
41343         * sysdeps/s390/nptl/tls.h: ... here.
41345         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
41346         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
41348 2014-06-13  David S. Miller  <davem@davemloft.net>
41350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
41351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
41352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41353         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
41354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
41355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
41356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41357         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
41358         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
41359         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
41360         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41361         Remove RESET_PID cpp guards.
41362         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
41363         Remove RESET_PID cpp guards.
41364         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
41366 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
41368         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
41369         __sp to uintptr_t.
41371 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41373         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
41374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
41375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
41376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
41377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
41378         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
41379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
41380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
41381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
41382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41383         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
41384         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
41385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
41386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
41387         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
41388         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
41389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
41390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
41391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
41392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
41394         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
41395         (pthread_rwlock_rdlock): Add elision.
41396         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
41397         (pthread_rwlock_wrlock): Add elision.
41398         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
41399         (pthread_rwlock_trywrlock): Add elision.
41400         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
41401         (pthread_rwlock_tryrdlock): Add elision.
41402         * nptl/pthread_rwlock_unlock.c: Include elide.h.
41403         (pthread_rwlock_tryrdlock): Add elision unlock.
41404         * nptl/sysdeps/pthread/pthread.h:
41405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
41406         (PTHREAD_RWLOCK_INITIALIZER,
41407         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
41408         Handle new elision field.
41409         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
41410         * sysdeps/arm/nptl/bits/pthreadtypes.h
41411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41412         * sysdeps/sh/nptl/bits/pthreadtypes.h
41413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41414         * sysdeps/tile/nptl/bits/pthreadtypes.h
41415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41416         * sysdeps/a/nptl/bits/pthreadtypes.h
41417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41418         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
41419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
41421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41422         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
41423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41424         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
41425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41426         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
41427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41428         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
41429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41430         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
41431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41432         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
41433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41434         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
41435         (elision_init): Set try_xbegin to zero when no RTM.
41436         * sysdeps/x86/nptl/bits/pthreadtypes.h
41437         (pthread_rwlock_t): Change __pad1 to __rwelision.
41438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
41440 2014-06-13  Andi Kleen  <ak@linux.intel.com>
41442         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
41443         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
41444         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
41445         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
41447 2014-06-13  Meador Inge  <meadori@codesourcery.com>
41449         [BZ #16996]
41450         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
41451         that the cached result has been set before returning it.
41453 2014-06-12  Roland McGrath  <roland@hack.frob.com>
41455         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
41456         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
41457         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
41458         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
41459         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
41460         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
41462         * nptl/sysdeps/sparc/Makefile: Moved ...
41463         * sysdeps/sparc/nptl/Makefile: ... here.
41464         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
41465         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
41466         * nptl/sysdeps/sparc/tls.h: Moved ...
41467         * sysdeps/sparc/nptl/tls.h: ... here.
41468         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
41469         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
41470         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
41471         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
41472         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
41473         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
41474         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
41475         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
41476         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
41477         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
41478         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
41479         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
41480         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
41481         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
41482         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
41483         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
41484         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
41485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
41486         Update #include.
41487         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
41488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
41489         Update #include.
41490         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
41491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
41492         Update #include.
41493         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
41494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
41495         Update #include.
41497         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41499         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41500         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
41502         * sysdeps/pthread/posix-timer.h: Include <list.h>.
41503         (struct list_links): Type removed.
41504         (struct thread_node, struct timer_node): Replace struct list_links
41505         with struct list_head.
41506         (list_unlink_ip): Likewise.
41507         * sysdeps/pthread/timer_routines.c
41508         (timer_free_list, thread_free_list, thread_active_list): Likewise.
41509         (list_append, list_insbefore): Likewise.
41510         (list_init): Function removed.
41511         (thread_init, init_module): Use INIT_LIST_HEAD instead.
41512         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
41513         * sysdeps/pthread/Makefile: ... here, new file.
41515         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
41516         * sysdeps/nptl/Implies: ... here.
41517         * sysdeps/unix/sysv/linux/Implies: Add nptl.
41518         * nptl/sysdeps/pthread/list.h: Moved ...
41519         * include/list.h: ... here.
41520         * nptl/sysdeps/pthread/createthread.c: Moved ...
41521         * nptl/createthread.c: ... here.
41522         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
41523         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
41524         * nptl/pt-longjmp.c: ... here.
41525         * nptl/sysdeps/pthread/Makefile: Moved ...
41526         * sysdeps/nptl/Makefile: ... here.
41527         * nptl/sysdeps/pthread/Subdirs: Moved ...
41528         * sysdeps/nptl/Subdirs: ... here.
41529         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
41530         * sysdeps/nptl/aio_misc.h: ... here.
41531         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
41532         * sysdeps/nptl/bits/libc-lock.h: ... here.
41533         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
41534         * sysdeps/nptl/bits/libc-lockP.h: ... here.
41535         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
41536         * sysdeps/nptl/bits/stdio-lock.h: ... here.
41537         * nptl/sysdeps/pthread/configure: Moved ...
41538         * sysdeps/nptl/configure: ... here.
41539         * nptl/sysdeps/pthread/configure.ac: Moved ...
41540         * sysdeps/nptl/configure.ac: ... here.
41541         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
41542         * sysdeps/nptl/gai_misc.h: ... here.
41543         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
41544         * sysdeps/nptl/librt-cancellation.c: ... here.
41545         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
41546         * sysdeps/nptl/malloc-machine.h: ... here.
41547         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
41548         * sysdeps/nptl/pthread-functions.h: ... here.
41549         * nptl/sysdeps/pthread/pthread.h: Moved ...
41550         * sysdeps/nptl/pthread.h: ... here.
41551         * nptl/sysdeps/pthread/setxid.h: Moved ...
41552         * sysdeps/nptl/setxid.h: ... here.
41553         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
41554         * sysdeps/nptl/sigfillset.c: ... here.
41555         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
41556         * sysdeps/nptl/tcb-offsets.h: ... here.
41557         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
41558         * sysdeps/nptl/tst-mqueue8x.c: ... here.
41559         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
41560         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
41561         * nptl/sysdeps/pthread/allocalim.h: Moved ...
41562         * sysdeps/pthread/allocalim.h: ... here.
41563         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
41564         * sysdeps/pthread/bits/sigthread.h: ... here.
41565         * nptl/sysdeps/pthread/flockfile.c: Moved ...
41566         * sysdeps/pthread/flockfile.c: ... here.
41567         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
41568         * sysdeps/pthread/ftrylockfile.c: ... here.
41569         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
41570         * sysdeps/pthread/funlockfile.c: ... here.
41571         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
41572         * sysdeps/pthread/posix-timer.h: ... here.
41573         * nptl/sysdeps/pthread/timer_create.c: Moved ...
41574         * sysdeps/pthread/timer_create.c: ... here.
41575         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
41576         * sysdeps/pthread/timer_delete.c: ... here.
41577         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
41578         * sysdeps/pthread/timer_getoverr.c: ... here.
41579         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
41580         * sysdeps/pthread/timer_gettime.c: ... here.
41581         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
41582         * sysdeps/pthread/timer_routines.c: ... here.
41583         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
41584         * sysdeps/pthread/timer_settime.c: ... here.
41585         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
41586         * sysdeps/pthread/tst-timer.c: ... here.
41587         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
41588         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
41590         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
41591         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
41593         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
41594         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
41595         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
41596         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
41597         Update #include target.
41598         * nptl/sysdeps/i386/i686/Makefile: Moved ...
41599         * sysdeps/i386/i686/nptl/Makefile: ... here.
41600         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
41601         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
41602         Update #include target.
41603         * nptl/sysdeps/i386/i686/tls.h: Moved ...
41604         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
41605         * nptl/sysdeps/i386/Makefile: Moved ...
41606         * sysdeps/i386/nptl/Makefile: ... here.
41607         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
41608         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
41609         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
41610         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
41611         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
41612         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
41613         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
41614         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
41615         * sysdeps/i386/nptl/pthreaddef.h: ... here.
41616         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
41617         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
41618         * nptl/sysdeps/i386/tls.h: Moved ...
41619         * sysdeps/i386/nptl/tls.h: ... here.
41621         * sysdeps/sh/Makefile [$(subdir) = csu]
41622         (gen-as-const-headers): Add tcb-offsets.sym.
41623         * nptl/sysdeps/sh/Makefile: File removed.
41624         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
41625         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
41626         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
41627         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
41628         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
41629         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
41630         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
41631         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
41632         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
41633         * sysdeps/sh/nptl/pthreaddef.h: ... here.
41634         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
41635         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
41636         * nptl/sysdeps/sh/tls.h: Moved ...
41637         * sysdeps/sh/nptl/tls.h: ... here.
41638         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
41639         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
41640         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
41641         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
41642         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
41643         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
41644         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
41645         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
41646         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
41647         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
41648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
41649         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
41650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
41651         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
41652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
41653         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
41654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
41655         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
41656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
41657         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
41658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
41659         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
41660         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
41661         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
41662         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
41663         Moved ...
41664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
41665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
41666         Moved ...
41667         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
41668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
41669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
41671         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
41673         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
41674         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
41675         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
41676         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
41677         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
41678         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
41679         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
41681         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
41683         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
41684         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
41685         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
41687 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41689         * posix/spawn_faction_addopen.c: Include string.h.
41691 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41693         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
41694         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
41695         * nptl/sysdeps/x86_64/Makefile: Moved ...
41696         * sysdeps/x86_64/nptl/Makefile: ... here.
41697         * nptl/sysdeps/x86_64/configure: Moved ...
41698         * sysdeps/x86_64/nptl/configure: ... here.
41699         * nptl/sysdeps/x86_64/configure.ac: Moved ...
41700         * sysdeps/x86_64/nptl/configure.ac: ... here.
41701         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
41702         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
41703         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
41704         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
41705         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
41706         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
41707         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
41708         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
41709         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
41710         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
41711         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
41712         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
41713         * nptl/sysdeps/x86_64/tls.h: Moved ...
41714         * sysdeps/x86_64/nptl/tls.h: ... here.
41715         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
41716         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
41717         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
41718         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
41720         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
41722 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41726 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
41728         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
41729         type.
41730         [POSIX] (off_t): Likewise.
41731         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
41732         [POSIX] (S_ISBLK): Require macro.
41733         [POSIX] (S_ISCHR): Likewise.
41734         [POSIX] (S_ISDIR): Likewise.
41735         [POSIX] (S_ISFIFO): Likewise.
41736         [POSIX] (S_ISREG): Likewise.
41737         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
41738         optional-macro.
41739         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
41740         type.
41741         [POSIX] (time_t): Likewise.
41742         [POSIX] (timer_t): Likewise.
41744 2014-06-11  Florian Weimer  <fweimer@redhat.com>
41746         [BZ #17048]
41747         * posix/spawn_int.h (struct __spawn_action): Make the path string
41748         non-const to support deallocation.
41749         * posix/spawn_faction_addopen.c
41750         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
41751         * posix/spawn_faction_destroy.c
41752         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
41753         path in all spawn_do_open actions.
41754         * posix/tst-spawn.c (do_test): Exercise the copy operation in
41755         posix_spawn_file_actions_addopen.
41757 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
41759         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
41760         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
41761         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
41762         conditional code always true.
41763         (__libc_vfork): New alias.
41765 2014-06-11  Roland McGrath  <roland@hack.frob.com>
41767         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41768         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
41770         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
41772         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41773         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
41775         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
41776         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
41778         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41779         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
41781 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41783         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
41784         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
41785         multiarch strcmp for PPC64.
41786         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
41787         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
41788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
41789         multiarch optimizations.
41790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41791         (__libc_ifunc_impl_list): Likewise.
41793 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41795         * benchtests/scripts/validate_benchout.py: New script.
41796         * benchtests/Makefile (bench-func): Call it.
41797         * benchtests/scripts/benchout.schema.json: New file.
41799 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
41801         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
41802         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
41803         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
41804         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
41805         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
41806         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
41807         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
41808         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
41809         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
41810         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
41811         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
41812         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
41813         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
41814         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
41815         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
41816         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
41817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
41818         Moved ...
41819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
41820         ... here.
41821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
41822         Moved ...
41823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
41824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
41825         Moved ...
41826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
41827         ... here.
41828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
41829         Moved ...
41830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
41831         ... here.
41832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
41833         Moved ...
41834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
41835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
41836         Moved ...
41837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
41838         ... here.
41839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
41840         Moved ...
41841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
41842         ... here.
41843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
41844         Moved ...
41845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
41846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
41847         Moved ...
41848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
41849         ... here.
41850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
41851         Moved ...
41852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
41853         ... here.
41854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
41855         Moved ...
41856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
41857         ... here.
41858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
41859         Moved ...
41860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
41861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
41862         Moved ...
41863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
41864         ... here.
41865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
41866         Moved ...
41867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
41868         ... here.
41869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
41870         Moved ...
41871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
41872         ... here.
41873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
41874         Moved ...
41875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
41876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
41877         Moved ...
41878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
41879         ... here.
41880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
41881         Moved ...
41882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
41883         ... here.
41884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
41885         Moved ...
41886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
41887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
41888         Moved ...
41889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
41890         ... here.
41891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
41892         Moved ...
41893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
41894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
41895         Moved ...
41896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
41897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
41898         Moved ...
41899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
41900         ... here.
41901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
41902         Moved ...
41903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
41904         ... here.
41905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
41906         Moved ...
41907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
41908         ... here.
41909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
41910         Moved ...
41911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
41912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
41913         Moved ...
41914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
41915         ... here.
41916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
41917         Moved ...
41918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
41919         ... here.
41920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
41921         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
41922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
41923         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
41924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
41925         Moved ...
41926         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
41927         ... here.
41928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
41929         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
41930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
41931         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
41932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
41933         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
41934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
41935         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
41936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
41937         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
41938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
41939         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
41940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
41941         Moved ...
41942         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
41943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
41944         Moved ...
41945         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
41946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
41947         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
41948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
41949         Moved ...
41950         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
41951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
41952         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
41953         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
41954         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
41955         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
41956         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
41958 2014-06-10  Wilco  <wdijkstr@arm.com>
41960         * math/test-fenv-return.c: New file.
41961         * math/Makefile: Add new test test-fenv-return.
41963 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
41965         [BZ #17042]
41966         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
41967         when x - 1 is zero.
41968         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
41969         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
41970         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
41971         0.0L for an argument of 1.0L.
41972         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
41973         Likewise.
41974         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
41975         value when x - 1 is zero.
41976         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
41977         * sysdeps/i386/fpu/libm-test-ulps: Update.
41978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41980 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
41982         [BZ #15119]
41983         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
41985 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41987         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
41988         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
41990 2014-06-09  Roland McGrath  <roland@hack.frob.com>
41992         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41993         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
41995         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41996         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
41998         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41999         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
42001         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42002         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
42004         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
42005         if not already defined.
42006         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
42007         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
42008         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
42009         (TLS_INIT_TP): Use it.
42010         (TLS_DEFINE_INIT_TP): New macro.
42011         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
42013 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
42015         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
42016         constant.
42017         [POSIX] (IXANY): Likewise.
42018         [POSIX] (OLCUC): Likewise.
42019         [POSIX || POSIX2008] (CBAUD): Do not allow.
42020         [POSIX || POSIX2008] (DEFECHO): Likewise.
42021         [POSIX || POSIX2008] (ECHOCTL): Likewise.
42022         [POSIX || POSIX2008] (ECHOKE): Likewise.
42023         [POSIX || POSIX2008] (ECHOPRT): Likewise.
42024         [POSIX || POSIX2008] (EXTA): Likewise.
42025         [POSIX || POSIX2008] (EXTB): Likewise.
42026         [POSIX || POSIX2008] (FLUSHO): Likewise.
42027         [POSIX || POSIX2008] (LOBLK): Likewise.
42028         [POSIX || POSIX2008] (PENDIN): Likewise.
42029         [POSIX || POSIX2008] (SWTCH): Likewise.
42030         [POSIX || POSIX2008] (VDISCARD): Likewise.
42031         [POSIX || POSIX2008] (VDSUSP): Likewise.
42032         [POSIX || POSIX2008] (VLNEXT): Likewise.
42033         [POSIX || POSIX2008] (VREPRINT): Likewise.
42034         [POSIX || POSIX2008] (VSTATUS): Likewise.
42035         [POSIX || POSIX2008] (VWERASE): Likewise.
42036         (B*): Change to B[0123456789]*.
42037         * conform/data/time.h-data [POSIX || UNIX98]
42038         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
42039         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42040         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
42041         [POSIX] (tm_*): Do not allow.
42043 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
42045         * Makefile (install): Don't set LANGUAGE.
42046         * Makefile.in (install): Likewise.
42047         * assert/Makefile (test-assert-ENV): Remove variable.
42048         (test-assert-perr-ENV): Likewise.
42049         * elf/Makefile (neededtest4-ENV): Likewise.
42050         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42051         [$(cross-compiling) = no]: Don't set LANGUAGE.
42052         * io/ftwtest-sh (LANG): Remove variable.
42053         * libio/Makefile (tst-widetext-ENV): Likewise.
42054         * manual/install.texi (Running make install): Don't refer to
42055         environment settings for make install.
42056         * INSTALL: Regenerated.
42057         * nptl/tst-tls6.sh: Don't set LANG.
42058         * posix/globtest.sh (LANG): Remove variable.
42059         * string/Makefile (tester-ENV): Likewise.
42060         (inl-tester-ENV): Likewise.
42061         (noinl-tester-ENV): Likewise.
42062         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42063         [$(cross-compiling) = no]: Don't set LANGUAGE.
42064         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
42065         without explicit environment settings.
42067 2014-06-06  Roland McGrath  <roland@hack.frob.com>
42069         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
42070         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
42071         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
42072         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
42074 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
42076         * crypt/crypt-private.h [DOS]: Add some includes taken from the
42077         other files in the crypt directory.
42078         * crypt/crypt.c: Remove duplicate includes.
42079         * crypt/crypt-entry.c: Likewise.
42080         * crypt/crypt_util.c: Likewise.
42082 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
42084         * Makeconfig (run-program-env): New variable.
42085         (run-program-prefix-before-env): Likewise.
42086         (run-program-prefix-after-env): Likewise.
42087         (run-program-prefix): Define in terms of new variables.
42088         (built-program-cmd-before-env): New variable.
42089         (built-program-cmd-after-env): Likewise.
42090         (built-program-cmd): Define in terms of new variables.
42091         (test-program-prefix-before-env): New variable.
42092         (test-program-prefix-after-env): Likewise.
42093         (test-program-prefix): Define in terms of new variables.
42094         (test-program-cmd-before-env): New variable.
42095         (test-program-cmd-after-env): Likewise.
42096         (test-program-cmd): Define in terms of new variables.
42097         * Rules (make-test-out): Use $(run-program-env).
42098         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
42099         (help): Do not mention environment variables.  Mention
42100         --timeoutfactor option.
42101         (timeoutfactor): New variable.
42102         (blacklist_exports): Remove function.
42103         (exports): Remove variable.
42104         (command): Do not include ${exports}.
42105         * manual/install.texi (Configuring and compiling): Do not mention
42106         test wrappers preserving environment variables.  Mention that last
42107         assignment to a variable must take precedence.
42108         * INSTALL: Regenerated.
42109         * benchtests/Makefile (run-bench): Use $(run-program-env).
42110         * catgets/Makefile ($(objpfx)test1.cat): Use
42111         $(built-program-cmd-before-env), $(run-program-env) and
42112         $(built-program-cmd-after-env).
42113         ($(objpfx)test2.cat): Do not specify environment variables
42114         explicitly.
42115         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
42116         $(run-program-env) and $(built-program-cmd-after-env).
42117         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
42118         $(run-program-env) and $(test-program-cmd-after-env).
42119         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
42120         explicitly.
42121         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
42122         run_program_env and test_program_cmd_after_env arguments.
42123         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
42124         * elf/tst-pathopt.sh: Use run_program_env argument.
42125         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
42126         $(test-wrapper-env) and $(run-program-env).
42127         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
42128         run_program_env arguments.
42129         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
42130         * intl/Makefile ($(objpfx)tst-gettext.out): Use
42131         $(test-program-prefix-before-env), $(run-program-env) and
42132         $(test-program-prefix-after-env).
42133         ($(objpfx)tst-gettext2.out): Likewise.
42134         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
42135         run_program_env and test_program_prefix_after_env arguments.
42136         * intl/tst-gettext2.sh: Likewise.
42137         * intl/tst-gettext4.sh: Do not set environment variables
42138         explicitly.
42139         * intl/tst-gettext6.sh: Likewise.
42140         * intl/tst-translit.sh: Likewise.
42141         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
42142         $(test-program-prefix-before-env), $(run-program-env) and
42143         $(test-program-prefix-after-env).
42144         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
42145         run_program_env and test_program_prefix_after_env arguments.
42146         * math/Makefile (run-regen-ulps): Use $(run-program-env).
42147         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
42148         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
42149         explicitly with each use of ${test_wrapper_env}.
42150         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
42151         $(test-program-prefix-before-env), $(run-program-env) and
42152         $(test-program-prefix-after-env).
42153         * posix/tst-getconf.sh: Do not set environment variables
42154         explicitly.
42155         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
42156         run_program_env and test_program_prefix_after_env arguments.
42157         * stdio-common/tst-printf.sh: Do not set environment variables
42158         explicitly.
42159         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
42160         $(test-program-prefix-before-env), $(run-program-env) and
42161         $(test-program-prefix-after-env).
42162         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
42163         run_program_env and test_program_prefix_after_env arguments.
42164         Split $test calls into $test_pre and $test.
42165         * timezone/Makefile (build-testdata): Use
42166         $(built-program-cmd-before-env), $(run-program-env) and
42167         $(built-program-cmd-after-env).
42169 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42171         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
42172         strlen for non SHARED builds.
42174 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42176         * nptl/allocatestack.c (check_list): Inlined function...
42177         (__reclaim_stacks): ... here.
42179 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42181         [BZ #15698]
42182         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42183         memory overrun.
42185 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
42187         * Rules (make-test-out): Include
42188         LOCPATH=$(common-objpfx)localedata in default environment.
42189         * debug/Makefile (tst-chk1-ENV): Remove variable.
42190         (tst-chk2-ENV): Likewise.
42191         (tst-chk3-ENV): Likewise.
42192         (tst-chk4-ENV): Likewise.
42193         (tst-chk5-ENV): Likewise.
42194         (tst-chk6-ENV): Likewise.
42195         (tst-lfschk1-ENV): Likewise.
42196         (tst-lfschk2-ENV): Likewise.
42197         (tst-lfschk3-ENV): Likewise.
42198         (tst-lfschk4-ENV): Likewise.
42199         (tst-lfschk5-ENV): Likewise.
42200         (tst-lfschk6-ENV): Likewise.
42201         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
42202         (tst-iconv7-ENV): Likewise.
42203         * intl/Makefile (LOCPATH-ENV): Likewise.
42204         (tst-codeset-ENV): Likewise.
42205         (tst-gettext3-ENV): Likewise.
42206         (tst-gettext5-ENV): Likewise.
42207         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
42208         (tst-fopenloc-ENV): Likewise.
42209         (tst-fgetws-ENV): Remove variable.
42210         (tst-ungetwc1-ENV): Likewise.
42211         (tst-ungetwc2-ENV): Likewise.
42212         (bug-ungetwc2-ENV): Likewise.
42213         (tst-swscanf-ENV): Likewise.
42214         (bug-ftell-ENV): Likewise.
42215         (tst-fgetwc-ENV): Likewise.
42216         (tst-fseek-ENV): Likewise.
42217         (tst-ftell-partial-wide-ENV): Likewise.
42218         (tst-ftell-active-handler-ENV): Likewise.
42219         (tst-ftell-append-ENV): Likewise.
42220         * posix/Makefile (tst-fnmatch-ENV): Likewise.
42221         (tst-regexloc-ENV): Likewise.
42222         (bug-regex1-ENV): Likewise.
42223         (tst-regex-ENV): Likewise.
42224         (tst-regex2-ENV): Likewise.
42225         (bug-regex5-ENV): Likewise.
42226         (bug-regex6-ENV): Likewise.
42227         (bug-regex17-ENV): Likewise.
42228         (bug-regex18-ENV): Likewise.
42229         (bug-regex19-ENV): Likewise.
42230         (bug-regex20-ENV): Likewise.
42231         (bug-regex22-ENV): Likewise.
42232         (bug-regex23-ENV): Likewise.
42233         (bug-regex25-ENV): Likewise.
42234         (bug-regex26-ENV): Likewise.
42235         (bug-regex30-ENV): Likewise.
42236         (bug-regex32-ENV): Likewise.
42237         (bug-regex33-ENV): Likewise.
42238         (bug-regex34-ENV): Likewise.
42239         (bug-regex35-ENV): Likewise.
42240         (tst-rxspencer-ENV): Likewise.
42241         (tst-rxspencer-no-utf8-ENV): Likewise.
42242         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
42243         (tst-sscanf-ENV): Likewise.
42244         (tst-swprintf-ENV): Likewise.
42245         (tst-swscanf-ENV): Likewise.
42246         (test-vfprintf-ENV): Likewise.
42247         (scanf13-ENV): Likewise.
42248         (bug14-ENV): Likewise.
42249         (tst-grouping-ENV): Likewise.
42250         * stdlib/Makefile (tst-strtod-ENV): Likewise.
42251         (tst-strtod3-ENV): Likewise.
42252         (tst-strtod4-ENV): Likewise.
42253         (tst-strtod5-ENV): Likewise.
42254         (testmb2-ENV): Likewise./
42255         * string/Makefile (tst-strxfrm-ENV): Likewise.
42256         (tst-strxfrm2-ENV): Likewise.
42257         (bug-strcoll1-ENV): Likewise.
42258         (test-strcasecmp-ENV): Likewise.
42259         (test-strncasecmp-ENV): Likewise.
42260         * time/Makefile (tst-strptime-ENV): Likewise.
42261         (tst-ftime_l-ENV): Likewise.
42262         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
42263         (tst-mbrtowc-ENV): Likewise.
42264         (tst-wcrtomb-ENV): Likewise.
42265         (tst-mbrtowc2-ENV): Likewise.
42266         (tst-c16c32-1-ENV): Likewise.
42267         (tst-mbsnrtowcs-ENV): Likewise.
42269 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
42271         * manual/resource.texi (How to get information about the memory
42272         subsystem?): Fix typo.
42273         Reported by Peon de la Parra Ivan <peon@keba.com>
42275 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
42277         [BZ #16882]
42278         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
42279         (pthread_spin_lock): Branch out of spin loop to proper location.
42280         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
42281         (pthread_spin_lock): Likewise.
42283         * nptl/tst-spin4.c: New test.
42284         * nptl/Makefile (tests): Add tst-spin4.
42286 2014-06-03  Andreas Schwab  <schwab@suse.de>
42288         [BZ #15946]
42289         * resolv/res_send.c (send_dg): Reload file descriptor after
42290         calling reopen.
42292 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
42294         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42296 2014-06-03  Richard Henderson  <rth@redhat.com>
42298         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
42299         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
42300         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
42301         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
42302         in the SAVE_PID block.
42303         (__libc_vfork): New alias.
42304         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
42306         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
42307         child in registers, not on the stack.  Remove RESET_PID conditionals.
42308         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42310 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42312         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42314 2014-06-03  Wilco  <wdijkstr@arm.com>
42316         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
42317         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
42318         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42319         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
42320         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
42321         Likewise.
42323 2014-06-03  Wilco  <wdijkstr@arm.com>
42325         * sysdeps/aarch64/fpu/math_private.h
42326         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
42327         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
42328         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
42329         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
42330         Fix declarations.
42332 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42334         * crypt/crypt-private.h: Include ufc-crypt.h.
42335         (__b64_from_24bit): Declare extern.
42336         * crypt/crypt_util.c(__b64_from_24bit): New function.
42337         (b64t): New static const variable.
42338         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
42339         (b64t): Remove variable.
42340         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
42341         * crypt/sha256-crypt.c: Include crypt-private.h.
42342         (b64t): Remove variable.
42343         (__sha256_crypt_r): Remove b64_from_24bit and replace
42344         with __b64_from_24bit.
42345         * crypt/sha512-crypt.c: Likewise.
42347 2014-06-02  Roland McGrath  <roland@hack.frob.com>
42349         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
42350         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42351         Label the code __libc_vfork rather than __vfork.
42352         [!NOT_IN_libc] (vfork): Define as weak alias.
42353         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
42354         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
42355         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
42357 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42359         * malloc/malloc.c (malloc_info): Fix format specifier for
42360         n_mmaps.
42362 2014-06-02  Wilco  <wdijkstr@arm.com>
42364         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
42365         FPCR write.
42367 2014-06-02  Wilco  <wdijkstr@arm.com>
42369         [BZ #17009]
42370         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
42371         Rewrite to reduce FPCR/FPSR accesses.
42373 2014-06-01  David S. Miller  <davem@davemloft.net>
42375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42377 2014-05-31  David S. Miller  <davem@davemloft.net>
42379         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
42380         to occur in round to nearest mode when |x| >= 2.0
42382 2014-05-30  Richard Henderson  <rth@twiddle.net>
42384         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
42385         (PSEUDO_RET_NOERRNO): Remove.
42386         (ret): Don't redefine.
42387         (ret_NOERRNO): Define in terms of ret.
42388         (ret_ERRVAL): Likewise.
42390         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
42391         use of PSEUDO_RET; perform the error check directly.
42393 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
42395         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
42396         with __int128_t.
42398 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42400         * malloc/malloc (malloc_info): Fix formatting.
42402 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42403             Roland McGrath  <roland@hack.frob.com>
42405         * malloc/malloc (malloc_info): Also print mmapped statistics.
42407 2014-05-30  Roland McGrath  <roland@hack.frob.com>
42409         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
42410         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
42412 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
42414         * malloc/malloc.c (malloc_info): Inline mi_arena.
42416 2014-05-29  Richard Henderson  <rth@twiddle.net>
42418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
42419         Remove comma before expanding ASM_ARGS_##nr.
42420         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
42421         Make _x0 a strict output; make _x8 a strict input; adjust expansion
42422         of ASM_ARGS_##nr.
42423         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
42424         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
42425         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
42426         (ASM_ARGS_1): Add leading comma.
42428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
42429         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
42430         to __errno_location.
42431         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
42432         Remove the expected plt for __errno_location.
42434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42435         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
42436         call to __read_tp.
42438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42439         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
42440         it and break it down.
42441         (DOCARGS_0, DOCARGS_1): Do nothing.
42442         (DOCARGS_2): Update to store into the new stack frame.
42443         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
42444         (UNDOCARGS_1): Update to restore from the new stack frame.
42445         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
42446         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
42448         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42449         (SINGLE_THREAD_P): New parameter for result regno.
42450         (PSEUDO): Update to match; use cbz instead of beq.
42452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42453         Use ENTRY to define the _nocancel entry point.  Share the syscall
42454         and syscall error check paths with the cancel path.
42455         (PSEUDO_END): New.
42457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
42458         whitespace; tabs before and after asm mnemonics.
42460 2014-05-29  Eric Wong  <normalperson@yhbt.net>
42462         [BZ #15132]
42463         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42464         Call fstat64 or stat64 internally, depending on arguments passed.
42465         Replace stat buffer argument with file descriptor argument.
42466         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
42467         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42468         Pass fd to __internal_statvfs instead of calling fstat64.
42469         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
42470         Pass fd to __internal_statvfs64 instead of calling fstat64.
42471         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
42472         Pass -1 to __internal_statvfs instead of calling stat64.
42473         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
42474         Pass -1 to __internal_statvfs64 instead of calling stat64.
42476 2014-05-28  Roland McGrath  <roland@hack.frob.com>
42478         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
42479         that was previously under [RESET_PID].
42480         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
42482         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
42483         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
42485 2014-05-27  Roland McGrath  <roland@hack.frob.com>
42487         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
42489         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
42490         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
42492 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
42494         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
42496 2014-05-27  Andreas Schwab  <schwab@suse.de>
42498         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
42499         TLS_INIT_TP macro.
42500         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
42501         * elf/rtld.c (init_tls, dl_main): Likewise.
42502         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
42503         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
42504         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
42505         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
42506         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
42507         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
42508         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
42509         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
42510         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
42511         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
42512         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
42513         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
42514         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
42515         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
42516         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
42517         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
42518         * sysdeps/generic/tls.h: Update description.
42520 2014-05-27  Will Newton  <will.newton@linaro.org>
42522         [BZ #16990]
42523         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
42524         and restore r2 rather than just restoring.
42526 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42528         [BZ #16724]
42529         * libio/tst-ftell-append.c: New test case.
42530         * libio/Makefile (tests): Add test case.
42531         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
42532         append mode.
42533         * libio/wfileops.c (do_ftell_wide): Likewise.
42535 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42539         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
42540         ...
42541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
42542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42543         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
42544         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
42545         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
42546         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
42547         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
42548         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
42549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42550         Moved ...
42551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
42552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42553         Moved ...
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
42555         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
42556         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
42557         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
42558         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
42559         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
42560         ...
42561         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
42562         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
42563         Moved ...
42564         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
42565         here.
42566         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
42567         ...
42568         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
42569         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
42570         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
42572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
42573         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
42574         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
42575         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
42577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
42578         merge into ...
42579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
42580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
42581         ...
42582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
42583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
42584         ...
42585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
42586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42587         Moved ...
42588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
42589         here.
42590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42591         Moved ...
42592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
42593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42594         Moved ...
42595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
42597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
42598         conditional [RESET_PID].
42599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
42600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
42601         removed.
42602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
42603         removed.
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
42606         <tcb-offsets.h>.
42607         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42608         (__libc_vfork): New strong alias.
42609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42610         removed.
42611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
42612         Removed.
42614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
42615         <tcb-offsets.h>.
42616         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
42617         (__libc_vfork): New strong alias.
42618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
42619         removed.
42620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
42621         removed.
42623 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
42625         * malloc/malloc.c (mi_arena): New function.
42626         (malloc_info): Remove nested function mi_arena. Call non-nosted
42627         function mi_arena.
42629 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42631         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
42632         by insrwi.
42633         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
42634         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
42635         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
42636         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42637         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
42638         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
42639         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
42641 2014-05-26  Andreas Schwab  <schwab@suse.de>
42643         [BZ #16984]
42644         * locale/programs/repertoire.c (repertoire_read): Add slash
42645         between I18NPATH element and file name.
42646         * locale/programs/locfile.c (locfile_read): Likewise.
42648 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42650         * nptl/pthread_mutexattr_settype.c
42651         (__pthread_mutexattr_settype):
42652         Disable lock elision for PTHREAD_MUTEX_NORMAL.
42654 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
42656         * nptl/tst-mutex5 (do_test):
42657         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
42659 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42661         * benchtests/README: Document 'init' directive.
42662         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
42663         BENCH_INIT.
42664         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
42665         (parse_file): Recognize 'init' directive.
42667 2014-05-26  Kyle McMartin  <kyle@redhat.com>
42669         [BZ #16796]
42670         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
42671         alignment of struct pthread.
42673 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42675         [BZ #16878]
42676         * nscd/netgroupcache.c (addgetnetgrentX): Look for
42677         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42678         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
42679         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
42681 2014-05-25  Richard Henderson  <rth@twiddle.net>
42683         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42684         (SINGLE_THREAD_P_PIC): Remove.
42685         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
42686         (SINGLE_THREAD_P_PIC): Remove.
42688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
42689         branch to syscall error ...
42690         (PSEUDO): ... here.
42691         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
42692         from __local_syscall_error to .Lsyscall_error.
42693         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
42694         (SYSCALL_ERROR): Update label name.
42696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42697         Do not use DOARGS/UNDOARGS.
42698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
42699         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
42700         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
42701         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
42702         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
42704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
42705         block comment.
42707         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
42708         define if !NOT_IN_libc.
42709         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
42710         define with non-default symbol versions.
42712 2014-05-23  Richard Henderson  <rth@twiddle.net>
42714         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
42715         (vfork, __vfork): Define via compat_symbol.
42717         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
42718         [!HAVE_IFUNC] (vfork_compat): Remove.
42719         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
42721 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42723         [BZ #16978]
42724         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
42725         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
42726         variable.
42728 2014-05-23  Richard Henderson  <rth@twiddle.net>
42730         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
42731         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
42732         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
42733         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
42735         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
42736         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
42737         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
42738         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
42739         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
42740         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
42741         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
42742         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
42743         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
42744         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
42745         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
42746         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
42747         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
42748         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
42749         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
42750         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
42751         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
42752         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
42753         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
42754         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
42755         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
42756         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
42757         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
42758         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
42759         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
42760         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
42761         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
42762         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
42763         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
42764         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
42765         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
42766         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
42767         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
42768         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42769         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
42770         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
42771         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
42772         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
42773         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
42774         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
42775         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
42776         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
42777         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
42778         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
42779         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
42780         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
42781         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
42782         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
42783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
42784         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
42785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
42786         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
42787         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
42788         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
42789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
42790         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
42792         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
42793         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
42794         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
42795         before exiting on error.
42796         (__libc_vfork): New strong alias.
42797         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
42798         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
42800         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
42801         that was previously under [RESET_PID].
42802         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
42804         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
42806 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
42808         [BZ #16977]
42809         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
42810         value when x - 1 is zero.
42811         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
42812         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
42813         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
42814         0.0L for an argument of 1.0L.
42815         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
42816         Likewise.
42817         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
42818         value when x - 1 is zero.
42819         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
42820         * sysdeps/i386/fpu/libm-test-ulps: Update.
42821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42823 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42825         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
42826         alphasort and versionsort.
42828 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42830         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
42831         macro.
42832         [copysignf]: Likewise.
42834 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42836         * crypt/md5-crypt.c: Fix formatting.
42838 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42840         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
42841         (b64_from_24bit): New function.
42843 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42845         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
42846         libc_hidden_builtin_def to ifunc.
42847         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42848         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
42850 2014-05-21  Roland McGrath  <roland@hack.frob.com>
42852         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
42853         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
42855 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
42857         * nscd/Depend (linuxthreads): Remove.
42858         (nptl): Add.
42859         * resolv/Depend (linuxthreads): Remove.
42860         * rt/Depend (linuxthreads): Remove.
42862         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
42863         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
42864         $(common-objpfx)elf/.
42865         (link-libc-before-gnulib): Likewise.
42866         (elfobjdir): Remove variable.
42867         * Makefile (install): Use $(elf-objpfx) instead of
42868         $(common-objpfx)elf/.
42869         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
42870         $(elfobjdir)/.
42871         (link-libc-deps): Likewise.
42872         ($(common-objpfx)libc.so): Likewise.
42873         ($(common-objpfx)linkobj/libc.so): Likewise.
42874         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
42875         instead of $(common-objpfx)elf/.
42876         (symbolic-link-list): Likewise.
42877         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42878         [$(cross-compiling) = no]: Likewise.
42879         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
42880         $(elfobjdir)/.
42881         (static-gnulib-arch): Likewise.
42882         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42883         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
42884         $(common-objpfx)elf/.
42886 2014-05-21  Richard Henderson  <rth@redhat.com>
42888         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
42889         (SINGLE_THREAD_P): Use the correct width load.  Fold
42890         into the ldr offset.
42892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
42893         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
42895 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
42897         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
42898         (libgcc_s_resume): Use __attribute_used__.
42899         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
42900         Likewise.
42902 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42904         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
42905         optimization when used with float constants.
42907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42909 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
42911         [BZ #16915]
42912         * locale/nl_langinfo_l.c: Make direct reference to every
42913         _nl_current_CATEGORY symbol.
42914         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
42915         (tests-static): Add tst-langinfo-static.
42916         (tests-special): Add tst-langinfo-static.out.
42917         ($(objpfx)tst-langinfo.out): Redirect output.
42918         ($(objpfx)tst-langinfo-static.out): New.
42919         * localedata/tst-langinfo.sh: Send output to stdout.
42920         * localedata/tst-langinfo-static.c: New file.
42922         [BZ #16965]
42923         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
42924         when the shift amount is modulo the limb size.
42926 2014-05-20  Richard Henderson  <rth@redhat.com>
42928         [BZ #16967]
42929         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
42930         Change type of sa_flags from unsigned int to int.
42932         [BZ #16966]
42933         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
42935         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
42937 2014-05-20  Will Newton  <will.newton@linaro.org>
42939         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
42940         Test the return value of the system call in the nocancel case.
42942 2014-05-20  Will Newton  <will.newton@linaro.org>
42943             Yvan Roux  <yvan.roux@linaro.org>
42945         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
42946         #include of asm/ptrace.h.
42947         (PTRACE_GET_THREAD_AREA): Remove #undef.
42948         (PTRACE_GETHBPREGS): Likewise.
42949         (PTRACE_SETHBPREGS): Likewise.
42950         (struct user_regs_struct): New structure.
42951         (struct user_fpsimd_struct): New structure.
42952         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
42953         #include of asm/ptrace.h and second #include of sys/user.h.
42954         (PTRACE_GET_THREAD_AREA): Remove #undef.
42955         (PTRACE_GETHBPREGS): Likewise.
42956         (PTRACE_SETHBPREGS): Likewise.
42957         (ELF_NGREG): Use new struct user_regs_struct.
42958         (elf_fpregset_t): Use new struct user_fpsimd_struct.
42960 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
42963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
42965 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
42967         [BZ #16958]
42968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
42969         membar to avoid block loads/stores to overlap previous stores.
42971 2014-05-17  Richard Henderson  <rth@redhat.com>
42973         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
42974         Create the __##syscall_name##_nocancel entry point.
42975         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
42976         Remove; let the sysdep-cancel.h code create it.
42978 2014-05-17  David S. Miller  <davem@davemloft.net>
42980         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
42981         Protect with __USE_GNU.
42982         (TIOCSET_TEMPT): Likewise.
42983         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
42984         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
42985         these are already provided in bits/ioctl-types.h
42987 2014-05-16  Roland McGrath  <roland@hack.frob.com>
42989         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
42990         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
42992         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
42993         Use wait4 regardless of [__NR_waitpid].
42995 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
42997         PR libgcc/60166
42998         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42999         (_FP_NANSIGN_Q): Set the quiet bit.
43001 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
43003         * benchtests/Makefile
43004         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
43005         not $(common-objpfx)math/libm.so.
43006         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
43007         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
43008         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
43009         $(common-objpfx)dlfcn/libdl.so.
43010         ($(objpfx)tst-audit8): Depend on $(libm), not
43011         $(common-objpfx)math/libm.so.
43012         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
43013         not $(common-objpfx)dlfcn/libdl.so.
43014         * math/Makefile
43015         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43016         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
43017         [$(build-shared) = yes].
43018         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
43019         $(common-objpfx)nptl/libpthread.so.
43020         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
43021         $(common-objpfx)math/libm.so$(libm.so-version) or
43022         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
43023         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
43024         $(common-objpfx)dlfcn/libdl.so.
43025         * setjmp/Makefile (link-libm): Remove variable.
43026         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
43027         * stdio-common/Makefile (link-libm): Remove variable.
43028         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
43029         * stdlib/Makefile (link-libm): Remove variable.
43030         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
43031         ($(objpfx)tst-strtod-round): Likewise.
43032         ($(objpfx)tst-tininess): Likewise.
43033         ($(objpfx)tst-strtod-underflow): Likewise.
43034         ($(objpfx)tst-strtod6): Likewise.
43035         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
43036         $(libdl), not $(common-objpfx)nptl/libpthread.so and
43037         $(common-objpfx)dlfcn/libdl.so.
43039 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43041         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
43042         BSD terminal modes definitions.
43044 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43046         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
43047         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
43049         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
43050         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
43051         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
43052         Don't do #include_next.
43053         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
43054         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
43055         Don't do #include_next.
43056         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
43057         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
43058         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
43059         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
43061 2014-05-16  Allan McRae  <allan@archlinux.org>
43063         * po/sv.po: Update Swedish translation from translation project.
43065         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
43066         in sed expression.
43068 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
43070         [BZ #16917]
43071         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
43072         errno if the TIOCGPTN ioctl fails with an error different than
43073         EINVAL.
43074         * login/tst-ptsname.c: New file.
43075         * login/Makefile (tests): Add tst-ptsname.
43077         [BZ #16943]
43078         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
43079         and prlimit64.
43081 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43083         [BZ #16849]
43084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
43085         herrno to return EAI_AGAIN.
43087 2014-05-14  Roland McGrath  <roland@hack.frob.com>
43089         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43090         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
43091         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
43092         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
43093         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
43094         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
43095         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
43096         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
43097         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
43098         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
43099         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
43100         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
43101         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
43102         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
43103         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
43104         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
43105         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
43106         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
43107         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
43108         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
43109         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
43110         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
43111         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
43112         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
43113         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
43114         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
43115         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
43116         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
43117         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
43118         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
43119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
43120         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
43121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
43122         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
43123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43124         Moved ...
43125         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
43126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
43127         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
43128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
43129         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
43130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
43131         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
43132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
43133         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
43134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
43135         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
43136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
43137         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
43138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
43139         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
43140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
43141         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
43142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
43143         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
43144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
43145         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
43146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
43147         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
43148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
43149         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
43150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
43151         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
43152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43153         Moved ...
43154         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
43155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
43156         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
43157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
43158         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
43159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
43160         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
43161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
43162         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
43163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
43164         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
43165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
43166         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
43167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
43168         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
43169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
43170         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
43171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
43172         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
43173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43174         Moved ...
43175         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
43176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
43177         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
43179         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
43180         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
43181         (libpthread-sysdep_routines): Add elision-related stuff here instead.
43182         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
43183         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
43184         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
43185         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
43186         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
43187         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
43188         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
43189         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
43190         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
43191         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
43192         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
43193         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
43194         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
43195         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
43196         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
43197         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
43198         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
43199         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
43200         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
43201         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
43202         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
43203         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
43204         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
43205         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
43206         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
43207         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
43208         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
43209         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
43211         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
43212         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
43214         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
43215         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
43216         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
43217         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
43218         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
43219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
43220         Moved ...
43221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
43222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
43223         Moved ...
43224         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
43225         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
43226         Moved ...
43227         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
43228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
43229         Moved ...
43230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
43231         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
43232         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
43233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
43234         Moved ...
43235         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
43236         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
43237         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
43238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
43239         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
43240         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
43241         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
43242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
43243         Moved ...
43244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
43245         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43246         Moved ...
43247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
43248         ... here.
43249         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
43250         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
43251         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
43252         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
43253         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43254         Moved ...
43255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43256         ... here.
43257         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
43258         Moved ...
43259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
43260         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
43261         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
43262         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
43263         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
43264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
43265         Moved ...
43266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
43267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
43268         Moved ...
43269         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
43270         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
43271         Moved ...
43272         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
43273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
43274         Moved ...
43275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
43276         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
43277         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
43278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
43279         Moved ...
43280         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
43281         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
43282         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
43283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
43284         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
43285         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
43286         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
43287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
43288         Moved ...
43289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
43290         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43291         Moved ...
43292         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
43293         ... here.
43294         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
43295         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
43296         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
43297         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
43298         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43299         Moved ...
43300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
43301         ... here.
43302         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
43303         Moved ...
43304         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
43305         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
43306         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
43307         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
43308         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
43309         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
43310         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
43311         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
43312         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
43313         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
43314         Moved ...
43315         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
43316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
43317         Moved ...
43318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
43319         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
43320         Moved ...
43321         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
43322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
43323         Moved ...
43324         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
43325         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
43326         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
43327         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
43328         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
43329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
43330         Moved ...
43331         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
43332         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
43333         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
43334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
43335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
43336         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
43337         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
43338         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
43339         Moved ...
43340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
43341         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43342         Moved ...
43343         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
43344         ... here.
43345         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
43346         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
43347         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
43348         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
43349         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43350         Moved ...
43351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
43352         ... here.
43353         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
43354         Moved ...
43355         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
43356         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
43357         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
43358         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
43359         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
43360         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
43361         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
43362         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
43363         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
43364         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
43365         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
43367         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
43368         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
43370         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
43371         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
43373         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
43374         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
43375         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
43376         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
43377         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
43378         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
43379         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
43380         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
43381         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
43382         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
43383         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
43384         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
43385         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
43386         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
43387         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
43388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
43389         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
43390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
43391         Moved ...
43392         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
43393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
43394         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
43395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
43396         Moved ...
43397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
43398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
43399         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
43400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
43401         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
43402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
43403         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
43404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
43405         Moved ...
43406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
43407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
43408         Moved ...
43409         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
43410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
43411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
43412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
43413         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
43414         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
43415         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
43416         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
43417         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
43418         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
43419         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
43420         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
43421         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
43422         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
43423         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
43424         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
43425         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
43427         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
43428         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
43429         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
43430         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
43431         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
43433         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
43434         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
43435         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
43436         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
43437         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
43438         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
43439         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
43440         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
43441         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
43442         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
43444         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
43445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
43447         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
43448         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
43449         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
43450         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
43451         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
43452         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
43453         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
43454         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
43455         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
43456         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
43457         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
43458         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
43459         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
43460         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
43461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
43462         Update #include.
43463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
43464         Likewise.
43465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43466         Likewise.
43467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43468         Likewise.
43469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43470         Likewise.
43471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43472         Likewise.
43473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
43474         Likewise.
43475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43476         Likewise.
43477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
43478         Likewise.
43479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
43480         Likewise.
43481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
43482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
43483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
43484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
43485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
43486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
43487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
43488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
43489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
43490         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
43491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
43492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
43493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
43494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
43495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
43497         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
43498         that was previously under [RESET_PID].
43499         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43500         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
43501         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
43503         * sysdeps/i386/nptl/Implies: New file.
43504         * sysdeps/x86_64/nptl/Implies: New file.
43505         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
43506         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
43507         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
43508         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
43510         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
43511         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43512         (__libc_vfork): New strong alias.
43513         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
43514         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
43516         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
43517         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43518         (__libc_vfork): New strong alias.
43519         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
43520         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
43522         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
43523         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43524         (__libc_vfork): New strong alias.
43525         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
43526         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
43527         * nptl/pt-vfork.c: New file.
43528         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
43529         (libpthread: GLIBC_2.20): New version set (empty).
43531 2014-05-14  Will Newton  <will.newton@linaro.org>
43533         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
43534         rather than #if.
43536 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43538         [BZ #16564]
43539         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
43540         arguments with exponent 65 or above.
43541         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
43542         arguments 0x1p113L or above.
43543         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
43544         to arguments 0x1p107L or above.
43545         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
43546         positive arguments with exponent 65 or above.
43547         * math/auto-libm-test-in: Add more tests of log1p.
43548         * math/auto-libm-test-out: Regenerated.
43550         [BZ #16928]
43551         * math/s_cacos.c (__cacos): Ensure zero real part of result from
43552         non-finite arguments is +0.
43553         * math/s_cacosf.c (__cacosf): Likewise.
43554         * math/s_cacosl.c (__cacosl): Likewise.
43555         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
43556         * sysdeps/i386/fpu/libm-test-ulps: Update.
43557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43559         [BZ #16927]
43560         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
43561         value.
43562         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
43563         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
43564         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
43565         for explicit high bit of mantissa when testing for argument equal
43566         to 1.
43567         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
43568         * sysdeps/i386/fpu/libm-test-ulps: Update.
43569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43571         [BZ #16516]
43572         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
43573         (__erf): Scale by 16 instead of 8 in potentially underflowing
43574         case.  Ensure exception if result actually underflows.
43575         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
43576         (__erff): Scale by 16 instead of 8 in potentially underflowing
43577         case.  Ensure exception if result actually underflows.
43578         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
43579         (efx8): Remove variable.
43580         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43581         case.  Ensure exception if result actually underflows.
43582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
43583         (efx8): Remove variable.
43584         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43585         case.  Ensure exception if result actually underflows.
43586         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
43587         (efx8): Remove variable.
43588         (__erfl): Scale by 16 instead of 8 in potentially underflowing
43589         case.  Ensure exception if result actually underflows.
43590         * math/auto-libm-test-in: Add more tests of erf.
43591         * math/auto-libm-test-out: Regenerated.
43593 2014-05-14  Andreas Schwab  <schwab@suse.de>
43595         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
43596         Remove code conditionalized on USE___THREAD.
43598         * config.h.in (HAVE_PT_CHOWN): Define as 0.
43599         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
43600         not definedness.
43602 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
43604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
43605         Define unconditionally.
43606         (__ASSUME_O_CLOEXEC): Likewise.
43607         (__ASSUME_SOCK_CLOEXEC): Likewise.
43608         (__ASSUME_IN_NONBLOCK): Likewise.
43609         (__ASSUME_PIPE2): Likewise.
43610         (__ASSUME_EVENTFD2): Likewise.
43611         (__ASSUME_SIGNALFD4): Likewise.
43612         (__ASSUME_DUP3): Likewise.
43613         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43614         (__ASSUME_DUP3): Do not define.
43615         (__ASSUME_EVENTFD2): Likewise.
43616         (__ASSUME_IN_NONBLOCK): Likewise.
43617         (__ASSUME_O_CLOEXEC): Likewise.
43618         (__ASSUME_PIPE2): Likewise.
43619         (__ASSUME_SIGNALFD4): Likewise.
43620         (__ASSUME_SOCK_CLOEXEC): Likewise.
43621         (__ASSUME_UTIMES): Undefine.
43622         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43623         (__ASSUME_UTIMES): Do not define.
43624         (__ASSUME_O_CLOEXEC): Likewise.
43625         (__ASSUME_SOCK_CLOEXEC): Likewise.
43626         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
43627         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
43628         0x020621].
43629         (__ASSUME_PIPE2): Likewise.
43630         (__ASSUME_EVENTFD2): Likewise.
43631         (__ASSUME_SIGNALFD4): Likewise.
43632         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
43633         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
43634         Do not define.
43635         (__ASSUME_EVENTFD2): Likewise.
43636         (__ASSUME_SIGNALFD4): Likewise.
43637         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
43638         (__ASSUME_32BITUIDS): Likewise.
43639         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43640         (__ASSUME_IPC64): Likewise.
43641         (__ASSUME_ST_INO_64_BIT): Likewise.
43642         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
43643         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
43644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43645         (__ASSUME_UTIMES): Do not define.
43646         (__ASSUME_PSELECT): Likewise.
43647         (__ASSUME_PPOLL): Likewise.
43648         (__ASSUME_O_CLOEXEC): Likewise.
43649         (__ASSUME_SOCK_CLOEXEC): Likewise.
43650         (__ASSUME_IN_NONBLOCK): Likewise.
43651         (__ASSUME_PIPE2): Likewise.
43652         (__ASSUME_EVENTFD2): Likewise.
43653         (__ASSUME_SIGNALFD4): Likewise.
43654         (__ASSUME_DUP3): Likewise.
43655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43656         (__ASSUME_UTIMES): Likewise.
43657         (__ASSUME_O_CLOEXEC): Likewise.
43658         (__ASSUME_SOCK_CLOEXEC): Likewise.
43659         (__ASSUME_IN_NONBLOCK): Likewise.
43660         (__ASSUME_PIPE2): Likewise.
43661         (__ASSUME_EVENTFD2): Likewise.
43662         (__ASSUME_SIGNALFD4): Likewise.
43663         (__ASSUME_DUP3): Likewise.
43664         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43665         (__ASSUME_UTIMES): Likewise.
43666         (__ASSUME_O_CLOEXEC): Likewise.
43667         (__ASSUME_SOCK_CLOEXEC): Likewise.
43668         (__ASSUME_IN_NONBLOCK): Likewise.
43669         (__ASSUME_PIPE2): Likewise.
43670         (__ASSUME_EVENTFD2): Likewise.
43671         (__ASSUME_SIGNALFD4): Likewise.
43672         (__ASSUME_DUP3): Likewise.
43673         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
43674         Likewise.
43675         (__ASSUME_UTIMES): Likewise.
43676         (__ASSUME_EVENTFD2): Likewise.
43677         (__ASSUME_SIGNALFD4): Likewise.
43678         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43679         (__ASSUME_O_CLOEXEC): Likewise.
43680         (__ASSUME_SOCK_CLOEXEC): Likewise.
43681         (__ASSUME_IN_NONBLOCK): Likewise.
43682         (__ASSUME_PIPE2): Likewise.
43683         (__ASSUME_EVENTFD2): Likewise.
43684         (__ASSUME_SIGNALFD4): Likewise.
43685         (__ASSUME_DUP3): Likewise.
43686         (__ASSUME_UTIMES): Undefine.
43688         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
43689         feclearexcept.  Remove symbol versioning code.
43690         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
43691         symbol versioning code.
43692         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
43693         symbol versioning code.
43694         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
43695         feupdateenv.  Remove symbol versioning code.
43696         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
43697         fegetexceptflag.  Remove symbol versioning code.
43698         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
43699         fesetexceptflag.  Remove symbol versioning code.
43700         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
43701         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
43702         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
43703         (__posix_fadvise64_l32): Remove prototype.
43704         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
43705         code.
43707 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43709         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
43710         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
43711         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
43712         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
43714 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
43716         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
43717         current working directory
43719 2014-05-13  Roland McGrath  <roland@hack.frob.com>
43721         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
43722         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
43723         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
43724         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
43725         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
43726         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
43727         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
43728         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
43729         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
43730         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
43731         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
43732         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
43733         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
43734         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
43735         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
43736         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
43737         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
43738         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
43739         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
43740         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
43741         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
43742         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
43743         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
43744         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
43745         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
43746         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
43747         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
43748         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
43749         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
43750         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
43751         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
43752         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
43753         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
43754         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
43755         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
43756         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
43757         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
43758         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
43759         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
43760         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
43761         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
43762         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
43764         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
43765         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
43767         * sysdeps/unix/sysv/linux/arm/Makefile
43768         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
43769         Add rt-aeabi_unwind_cpp_pr1.
43770         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
43771         Add nptl-aeabi_unwind_cpp_pr1.
43772         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
43773         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
43774         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
43775         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
43776         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
43777         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
43779         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
43780         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
43781         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
43782         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
43784         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
43785         Deconditionalize the code that was previously under [RESET_PID].
43786         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
43788         * sysdeps/generic/exit-thread.h: New file.
43789         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
43790         * include/unistd.h (__exit_thread): Remove declaration.
43791         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
43792         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
43793         * csu/libc-start.c: Include <exit-thread.h>.
43794         (LIBC_START_MAIN): Pass no argument to __exit_thread.
43795         * nptl/pthread_create.c: Include <exit-thread.h>.
43796         (start_thread): Call __exit_thread in place of __exit_thread_inline.
43797         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
43798         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
43799         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
43800         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
43801         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
43802         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
43803         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
43804         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
43805         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
43806         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
43807         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
43808         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
43809         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
43810         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
43811         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
43812         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
43814 2014-05-13  Andreas Schwab  <schwab@suse.de>
43816         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
43818 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
43820         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43821         (__ASSUME_UTIMES): Do not condition on kernel version.
43822         (__ASSUME_PSELECT): Define unconditionally.
43823         (__ASSUME_PPOLL): Likewise.
43824         (__ASSUME_ATFCTS): Likewise.
43825         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
43826         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
43827         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
43828         (__ASSUME_UTIMENSAT): Define unconditionally.
43829         (__ASSUME_PRIVATE_FUTEX): Likewise.
43830         (__ASSUME_FALLOCATE): Likewise.
43831         (__ASSUME_O_CLOEXEC): Likewise.
43832         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
43833         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
43834         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
43835         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
43836         (__ASSUME_IN_NONBLOCK): Likewise.
43837         (__ASSUME_PIPE2): Likewise.
43838         (__ASSUME_EVENTFD2): Likewise.
43839         (__ASSUME_SIGNALFD4): Likewise.
43840         (__ASSUME_DUP3): Likewise.
43841         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43842         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
43843         (__ASSUME_AT_RANDOM): Likewise.
43844         (__ASSUME_PREADV): Likewise.
43845         (__ASSUME_PWRITEV): Likewise.
43846         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
43847         (__ASSUME_F_GETOWN_EX): Define unconditionally.
43848         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
43849         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43850         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
43851         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43852         (__ASSUME_O_CLOEXEC): Define unconditionally.
43853         (__ASSUME_PSELECT): Do not undefine conditionally.
43854         (__ASSUME_PPOLL): Likewise.
43855         (__ASSUME_ATFCTS): Likewise.
43856         (__ASSUME_SET_ROBUST_LIST): Likewise.
43857         (__ASSUME_UTIMENSAT): Likewise.
43858         (__ASSUME_FDATASYNC): Define unconditionally.
43859         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43860         (__ASSUME_SIGFRAME_V2): Likewise.
43861         )__ASSUME_EVENTFD2): Likewise.
43862         (__ASSUME_SIGNALFD4): Likewise.
43863         (__ASSUME_PSELECT): Do not undefine conditionally.
43864         (__ASSUME_PPOLL): Likewise.
43865         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43866         (__ASSUME_PSELECT): Define unconditionally.
43867         (__ASSUME_PPOLL): Likewise.
43868         (__ASSUME_O_CLOEXEC): Likewise.
43869         (__ASSUME_SOCK_CLOEXEC): Likewise.
43870         (__ASSUME_IN_NONBLOCK): Likewise.
43871         (__ASSUME_PIPE2): Likewise.
43872         (__ASSUME_EVENTFD2): Likewise.
43873         (__ASSUME_SIGNALFD4): Likewise.
43874         (__ASSUME_DUP3): Likewise.
43875         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43876         (__ASSUME_O_CLOEXEC): Likewise.
43877         (__ASSUME_SOCK_CLOEXEC): Likewise.
43878         (__ASSUME_IN_NONBLOCK): Likewise.
43879         (__ASSUME_PIPE2): Likewise.
43880         (__ASSUME_EVENTFD2): Likewise.
43881         (__ASSUME_SIGNALFD4): Likewise.
43882         (__ASSUME_DUP3): Likewise.
43883         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43884         (__ASSUME_EVENTFD2): Likewise.
43885         (__ASSUME_SIGNALFD4): Likewise.
43886         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43888 2014-05-12  Andreas Schwab  <schwab@suse.de>
43890         [BZ #16932]
43891         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
43892         (_nss_nis_gethostbyname4_r): Return error if item length is larger
43893         than maximum RPC packet size.
43894         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
43895         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
43896         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
43897         (_nss_nis_getservbyport_r): Likewise.
43899 2014-05-12  Will Newton  <will.newton@linaro.org>
43901         * malloc/Makefile (tests): Add tst-mallopt.
43902         * malloc/tst-mallopt.c: New file.
43904 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43906         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
43907         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
43909 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43911         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
43912         (tst-tlsmod6.so): Likewise.
43914 2014-05-09  Roland McGrath  <roland@hack.frob.com>
43916         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
43918 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
43920         [BZ #16064]
43921         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
43922         and <dl-procinfo.h>.
43923         (__fegetenv): Save SSE state in envp->__eip if supported.
43924         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
43925         envp->__eip if supported.
43926         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
43927         and <dl-procinfo.h>.
43928         (__fesetenv): Always set __eip, __cs_selector, __opcode,
43929         __data_offset and __data_selector in environment to 0.  Set SSE
43930         state if supported.
43931         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
43932         test-fenv-sse.
43933         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
43934         -mfpmath=sse.
43935         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
43937 2014-05-09  Will Newton  <will.newton@linaro.org>
43939         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
43940         and libc_relro_required for ARM.
43941         * sysdeps/arm/preconfigure: Regenerate.
43943 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
43944             Stefan Liebler  <stli@linux.vnet.ibm.com>
43946         * config.make.in (enable-lock-elision): New Makefile variable.
43947         * configure.ac: Likewise.
43948         * configure: Regenerate.
43949         * sysdeps/s390/configure.ac:
43950         Add check for gcc transactions support.
43951         * sysdeps/s390/configure: Regenerate.
43952         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
43953         Build elision files if enabled.
43954         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
43955         Add lock elision support for s390.
43956         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
43957         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
43958         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
43959         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
43960         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
43961         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
43962         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
43963         Likewise.
43964         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
43965         Likewise.
43966         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
43967         Likewise.
43968         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
43969         Likewise.
43970         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
43971         (__lll_timedlock_elision, __lll_lock_elision)
43972         (__lll_unlock_elision, __lll_trylock_elision)
43973         (lll_timedlock_elision, lll_lock_elision)
43974         (lll_unlock_elision, lll_trylock_elision): Add.
43975         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43976         (pthread_mutex_t): Add lock elision support for s390.
43978 2014-05-14  Wilco  <wdijkstr@arm.com>
43980         * sysdeps/arm/fclrexcpt.c: Cleanup.
43981         * sysdeps/arm/fedisblxcpt.c: Cleanup.
43982         * sysdeps/arm/feenablxcpt.c: Cleanup.
43983         * sysdeps/arm/fegetenv.c: Cleanup.
43984         * sysdeps/arm/fegetexcept.c: Cleanup.
43985         * sysdeps/arm/fegetround.c: Cleanup.
43986         * sysdeps/arm/feholdexcpt.c: Cleanup.
43987         * sysdeps/arm/fesetenv.c: Cleanup.
43988         * sysdeps/arm/fesetround.c: Cleanup.
43989         * sysdeps/arm/feupdateenv.c: Cleanup.
43990         * sysdeps/arm/fgetexcptflg.c: Cleanup.
43991         * sysdeps/arm/fraiseexcpt.c: Cleanup.
43992         * sysdeps/arm/fsetexcptflg.c: Cleanup.
43993         * sysdeps/arm/ftestexcept.c: Cleanup.
43994         * sysdeps/arm/get-rounding-mode.h: Cleanup.
43995         * sysdeps/arm/setfpucw.c: Cleanup.
43997 2014-05-09  Will Newton  <will.newton@linaro.org>
43999         * sysdeps/arm/armv7/strcmp.S: New file.
44000         * NEWS: Mention addition of ARMv7 optimized strcmp.
44002 2014-05-08  Roland McGrath  <roland@hack.frob.com>
44004         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
44005         look for %.ac rather than %.in.
44007         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
44008         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
44009         * sysdeps/mach/hurd/configure: Regenerated.
44010         * sysdeps/unix/sysv/linux/configure: Regenerated.
44012         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
44014 2014-05-07  Steve Ellcey  <sellcey@mips.com>
44016         [BZ# 16922]
44017         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
44018         (LONG_SUB): Ditto.
44019         (PTR_SUB): Ditto.
44021 2014-05-07  Andreas Schwab  <schwab@suse.de>
44023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
44024         when skipping over non-matching result from nscd.
44026 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
44028         [BZ #16876]
44029         * nptl/sockperf.c (client): Check socket return value.
44031         [BZ #16877]
44032         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
44033         nscd security class.
44035 2014-05-06  Roland McGrath  <roland@hack.frob.com>
44037         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
44038         * sysdeps/arm/unwind.h: ... here.
44040 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
44042         [BZ# 16916]
44043         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
44044         Define.
44046 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44048         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
44049         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
44050         multiarch strncpy for PPC64.
44051         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
44052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
44053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
44054         multiarch optimizations.
44055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44056         (__libc_ifunc_impl_list): Likewise.
44057         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
44058         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
44059         multiarch stpncpy for PPC64.
44060         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
44061         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
44063 2014-05-06  Andreas Schwab  <schwab@suse.de>
44065         [BZ #16912]
44066         * gmon/mcount.c (_MCOUNT_DECL): Use
44067         atomic_compare_and_exchange_bool_acq instead of
44068         catomic_compare_and_exchange_bool_acq.
44070 2014-05-05  Roland McGrath  <roland@hack.frob.com>
44072         * elf/Makefile (others, install-bin): Remove pldd.
44073         (pldd-modules): Variable removed.
44074         ($(objpfx)pldd): Target removed.
44075         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
44076         (others, install-bin): Append pldd here.
44077         ($(objpfx)pldd): New target.
44079         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
44080         to 0, so the first #if test emitted later doesn't see it undefined.
44081         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
44082         * sysdeps/gnu/errlist.c: Regenerated.
44084 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44087         [libc_hidden_builtin_def]: Define to empty value.
44088         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
44089         [libc_hidden_builtin_def]: Likewise.
44090         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
44091         [libc_hidden_builtin_def]: Likewise.
44092         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
44093         [libc_hidden_builtin_def]: Likewise.
44094         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
44095         __redirect_memcpy and define ifunc as default hidden symbol.
44096         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
44097         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
44099 2014-05-04  Adam Conrad  <adconrad@0c3.net>
44101         * locale/iso-4217.def: Reintroduce XDR currency.
44103 2014-05-04  Allan McRae  <allan@archlinux.org>
44105         * po/eo.po: Update Esperanto translation from translation project.
44107 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
44109         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
44110         and FEATURE_INDEX_MAX to 1.
44111         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
44113 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44115         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
44116         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
44117         * iconvdata/big5.c (ONE_DIRECTION): Define.
44118         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
44119         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
44120         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
44121         * iconvdata/cp932.c (ONE_DIRECTION): Define.
44122         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
44123         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
44124         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
44125         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
44126         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
44127         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
44128         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
44129         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
44130         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
44131         * iconvdata/gbk.c (ONE_DIRECTION): Define.
44132         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
44133         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
44134         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
44135         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
44136         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
44137         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
44138         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
44139         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
44140         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
44141         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
44142         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
44143         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
44144         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
44145         * iconvdata/iso646.c (ONE_DIRECTION): Define.
44146         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
44147         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
44148         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
44149         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
44150         * iconvdata/johab.c (ONE_DIRECTION): Define.
44151         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
44152         * iconvdata/sjis.c (ONE_DIRECTION): Define.
44153         * iconvdata/t.61.c (ONE_DIRECTION): Define.
44154         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
44155         * iconvdata/tscii.c (ONE_DIRECTION): Define.
44156         * iconvdata/uhc.c (ONE_DIRECTION): Define.
44157         * iconvdata/unicode.c (ONE_DIRECTION): Define.
44158         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
44159         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
44160         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
44162 2014-05-01  Roland McGrath  <roland@hack.frob.com>
44164         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
44165         (_IO_JUMPS_OFFSET): Define to 0.
44167         * nptl/sysdeps/pthread/bits/libc-lock.h
44168         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44169         (__libc_lock_define_initialized_recursive): Always define using
44170         initializer.  Modern compilers treat uninitialized (implicit zero) and
44171         explicit zero initializers the same (i.e. put the datum in bss).
44173 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44175         * nscd/nscd-client.h: Include <string.h>.
44177 2014-05-01  David S. Miller  <davem@davemloft.net>
44179         [BZ #16885]
44180         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
44181         multiple zero bytes exist at the end of a string.
44182         Reported by Aurelien Jarno <aurelien@aurel32.net>
44184         * string/test-strcmp.c (check): Add explicit test for situations where
44185         there are multiple zero bytes after the first.
44187 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44189         [BZ #16890]
44190         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
44191         when compiling wprintf.
44192         * stdio-common/tstdiomisc.c (t3): New function.
44193         (main): Call it.
44195 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44197         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
44198         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
44199         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
44200         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
44202 2014-05-01  Steve Ellcey  <sellcey@mips.com>
44204         * stdlib/longlong.h: Updated from GCC.
44206 2014-05-01  Will Newton  <will.newton@linaro.org>
44207             Bernard Ogden  <bernie.ogden@linaro.org>
44209         * NEWS: Update fixed bug list.
44211         [BZ #15119]
44212         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
44214 2014-04-30  David S. Miller  <davem@davemloft.net>
44216         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
44217         (libc_feholdexcept_setround_sparc_ctx): New function.
44218         (libc_fesetenv_sparc_ctx): Likewise.
44219         (libc_feupdateenv_sparc_ctx): Likewise.
44220         (libc_feholdsetround_sparc_ctx): Likewise.
44221         (libc_feholdexcept_setround_ctx): Define.
44222         (libc_feholdexcept_setroundf_ctx): Likewise.
44223         (libc_feholdexcept_setroundl_ctx): Likewise.
44224         (libc_fesetenv_ctx): Likewise.
44225         (libc_fesetenvf_ctx): Likewise.
44226         (libc_fesetenvl_ctx): Likewise.
44227         (libc_feupdateenv_ctx): Likewise.
44228         (libc_feupdateenvf_ctx): Likewise.
44229         (libc_feupdateenvl_ctx): Likewise.
44230         (libc_feresetround_ctx): Likewise.
44231         (libc_feresetroundf_ctx): Likewise.
44232         (libc_feresetroundl_ctx): Likewise.
44233         (libc_feholdsetround_ctx): Likewise.
44234         (libc_feholdsetroundf_ctx): Likewise.
44235         (libc_feholdsetroundl_ctx): Likewise.
44237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44238         with __USE_GNU instead of XOPEN cpp guards.
44240         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
44241         0.
44243         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
44244         with XOPEN cpp guards.
44246 2014-04-30  Julian Brown  <julian@codesourcery.com>
44248         [BZ #16888]
44249         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
44250         handling.
44252 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
44254         [BZ #9894]
44255         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
44256         Change to 2.6.32.
44257         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
44258         * sysdeps/unix/sysv/linux/configure: Regenerated.
44259         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
44260         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
44261         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
44262         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
44263         * README: Update reference to required Linux kernel version.
44264         * manual/install.texi (Linux): Update reference to required Linux
44265         kernel headers version.
44266         * INSTALL: Regenerated.
44268         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
44269         header inclusion.
44270         [POSIX] (limits.h): Likewise.
44271         [POSIX] (math.h): Likewise.
44272         [POSIX] (sys/wait.h): Likewise.
44273         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
44274         function.
44275         [POSIX] (stddef.h): Do not allow header inclusion.
44277 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44279         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
44281 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
44283         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
44284         Return immediately after lll_futex_wake.
44286 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44288         [BZ #16791]
44289         * nscd/nscd-client.h (datahead_init_common): Initialize entire
44290         structure.
44291         (datahead_init_pos): Call datahead_init_common early.
44292         (datahead_init_neg): Likewise.
44294         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
44295         datahead_init_neg): New functions.
44296         * nscd/aicache.c (addhstaiX): Use them.
44297         * nscd/grpcache.c (cache_addgr): Likewise.
44298         * nscd/hstcache.c (cache_addhst): Likewise.
44299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44300         * nscd/netgroupcache.c (do_notfound): Likewise.
44301         (addgetnetgrentX): Likewise.
44302         (addinnetgrX): Likewise.
44303         * nscd/pwdcache.c (cache_addpw): Likewise.
44304         * nscd/servicescache.c (cache_addserv): Likewise.
44306 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44307             Atsushi Onoe  <atsushi@onoe.org>
44309         [BZ #14308]
44310         [BZ #12994]
44311         [BZ #13651]
44312         * resolv/res_query.c (__libc_res_nsearch): Return if at least
44313         one response is valid.
44314         * resolv/res_send.c (send_dg): Check for validity of other
44315         response if the current response is a referral.
44317 2014-04-29  Steve Ellcey  <sellcey@mips.com>
44319         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
44321 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
44323         [BZ #16823]
44324         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
44325         Always divide by positive zero when computing -Inf result.
44326         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44327         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
44329 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44331         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
44332         FPSCR if value do not change.
44333         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44334         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
44335         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
44336         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44337         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
44338         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
44339         function.
44341 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
44343         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
44344         * sysdeps/unix/sysv/linux/hppa: Move directory from
44345         ports/systeps/unix/sysv/linux/hppa.
44346         * README: Update listing for hppa-*-linux-gnu.
44348 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
44350         [BZ #16754]
44351         * manual/stdio.texi (Hook functions): Fix types of stream hook
44352         functions.
44353         [BZ #16854]
44354         * socket/sys/socket.h: Fix typo in comment.
44356 2014-04-28  Wilco  <wdijkstr@arm.com>
44358         * sysdeps/arm/fenv_private.h: New file.
44359         * sysdeps/arm/math_private.h: New file.
44360         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
44362 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
44364         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
44365         with __int128_t.
44366         (La_x86_64_retval): Likewise.
44368 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
44370         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
44371         fpsr if value didn't change.
44372         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
44373         to fpcr if value didn't change.
44374         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
44375         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
44376         fpsr or fpcr if value didn't change.
44377         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44378         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
44379         fpcr if value didn't change.
44380         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
44381         to fpsr if value didn't change.
44383 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44385         * nptl/tst-sem3.c: Use test-skeleton.c
44386         (main): Rename to do_test.  Use return instead of
44387         exit.
44388         * nptl/tst-sem4.c: Use test-skeleton.c
44389         (main): Rename to do_test.
44391 2014-04-22  David S. Miller  <davem@davemloft.net>
44393         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
44394         (struct sigaction): New struct member __glibc_reserved0, change
44395         type of sa_flags to int.
44397 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
44399         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
44400         (COUNT_LEADING_ZEROS_0): Define for AArch64.
44402 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44404         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
44405         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
44407 2014-04-22  Will Newton  <will.newton@linaro.org>
44408             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
44410         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
44411         (__longjmp): Add longjmp and longjmp_target SystemTap
44412         probes.
44413         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
44414         (__sigsetjmp): Add setjmp SystemTap probe.
44416 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
44418         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
44419         match manual order.
44421 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44423         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
44425         * sysdeps/powerpc/fpu/fenv_private.h
44426         (libc_feholdexcept_setroundl_ctx): Define to
44427         libc_feholdexcept_setround_ppc_ctx.
44428         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
44429         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
44430         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
44431         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
44433 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44435         * sysdeps/aarch64/math-tests.h: New file.
44437 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
44439         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
44440         New.
44441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44442         Check and set bit_AVX2_Usable.
44443         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
44444         macro.
44445         (bit_AVX2): Likewise.
44446         (index_AVX2_Usable): Likewise.
44447         (CPUID_AVX2): Likewise.
44448         (HAS_AVX2): Likewise.
44450 2014-04-17  Will Newton  <will.newton@linaro.org>
44452         * manual/setjmp.texi (System V contexts): Add note that
44453         calling setcontext on a context created by a call to a
44454         signal handler is undefined.  Update text to note that
44455         setcontext from a signal handler is possible but not
44456         recommended.
44458         [BZ #16629]
44459         * stdlib/tst-setcontext.c: Include signal.h.
44460         (main): Check that the signal stack before and
44461         after swapcontext is the same.
44463         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
44464         Re-implement to restore registers in user code and avoid
44465         rt_sigreturn system call.
44467 2014-04-17  Wilco  <wdijkstr@arm.com>
44469         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
44470         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
44471         * math/test-fenv.c: Skip exception trap tests on targets which only
44472         support non-stop mode.
44474 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
44475             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44477         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
44478         (libc_feholdsetround_aarch64_ctx)
44479         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
44480         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
44481         (libc_feresetround_ctx, libc_feresetroundf_ctx)
44482         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
44483         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
44484         (libc_feresetround_noexl_ctx): Define.
44486 2014-04-16  Richard Henderson  <rth@redhat.com>
44488         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
44490         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
44491         unwind tables.
44493         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
44494         const from the non-libc, non-ldso copy.
44496         * sysdeps/alpha/libm-test-ulps: Regenerate.
44498 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
44499             Wilco Dijkstra  <wilco.dijkstra@arm.com>
44501         * sysdeps/aarch64/fpu/math_private.h: New file.
44503 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44505         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44507 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
44509         [BZ #16275]
44510         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
44511         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
44512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
44513         Intel MPX bound registers before _dl_profile_fixup.
44514         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
44515         registers after _dl_profile_fixup.  Save and restore bound
44516         registers bnd0/bnd1 when calling _dl_call_pltexit.
44517         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
44518         (LR_BND_OFFSET): Likewise.
44519         (LRV_BND0_OFFSET): Likewise.
44520         (LRV_BND1_OFFSET): Likewise.
44522 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44524         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
44525         to...
44526         * sysdeps/mach/hurd/i386/tls.h: ... here.
44527         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
44528         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
44529         fields.
44531 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44533         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
44535 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44539 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
44541         [BZ #14770]
44542         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
44543         * sysdeps/s390/configure: Regenerate.
44545         [BZ #16824]
44546         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
44547         Set round-to-nearest internally to reduce error accumulation.
44549 2014-04-16  Alan Modra  <amodra@gmail.com>
44551         [BZ #16740]
44552         [BZ #16619]
44553         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
44554         * math/libm-test.inc (frexp_test_data): Add tests.
44555         * NEWS: Update fixed bug list.
44557 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44559         * benchtests/Makefile: Depend on libraries in build directory.
44560         (bench-math): Separate out math tests.
44561         (bench-pthread): Separate out pthread tests.
44562         (bench): Include math and pthread tests.
44564 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
44566         [BZ #16831]
44567         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
44568         _dl_debug_initialize.
44570         * configure.ac: Remove SELinux header check.
44571         * configure: Regenerate.
44572         * nscd/selinux.c (perms): Array of const char* to permission names.
44573         (nscd_request_avc_has_perm): Call security_deny_unknown to find
44574         default policy. Call string_to_security_class and string_to_av_perm to
44575         translate strings. Enforce default policy and call avs_has_perm with
44576         results of translated strings.
44578 2014-04-13  David S. Miller  <davem@davemloft.net>
44580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44582 2014-04-12  Allan McRae  <allan@archlinux.org>
44584         [BZ #16838]
44585         * manual/string.texi (Collation Functions): Fix qsort argument
44586         order in example.
44587         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44589 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
44591         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
44592         Make the test a no-op if there are no exceptions defined.
44594 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
44596         * elf/Makefile (tests): make tst-dlopen-aout conditional on
44597         enable-hardcoded-path-in-tests
44599 2014-04-11  Will Newton  <will.newton@linaro.org>
44601         * benchtests/Makefile (extra-objs): Add json-lib.o.
44602         (bench-func): Tidy up JSON output.
44603         * benchtests/bench-skeleton.c: Include json-lib.h.
44604         (main): Use JSON library functions to do output of
44605         benchmark results.
44606         * benchtests/bench-timing-type.c (main): Output the
44607         timing type simply, leaving formatting to the user.
44608         * benchtests/json-lib.c: New file.
44609         * benchtests/json-lib.h: Likewise.
44611 2014-04-11  Torvald Riegel  <triegel@redhat.com>
44613         [BZ #15215]
44614         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
44615         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
44616         memory barriers.  Add comments.
44617         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
44618         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
44619         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
44620         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44621         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
44622         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
44624 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44626         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
44627         * sysdeps/s390/s390-64/configure.ac: ... this ...
44628         * sysdeps/s390/configure.ac: ... to here.
44629         * sysdeps/s390/s390-32/configure: Delete file.
44630         * sysdeps/s390/s390-64/configure: Delete file.
44631         * sysdeps/s390/configure: Regenerate.
44633 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
44635         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
44637 2014-04-11  Will Newton  <will.newton@linaro.org>
44639         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
44640         to zero if it is not defined elsewhere.  (mtrim): Test
44641         the value of MALLOC_DEBUG with #if rather than #ifdef.
44643 2014-04-10 Torvald Riegel  <triegel@redhat.com>
44645         * benchtests/pthread_once-inputs: New file.
44646         * benchtests/pthread_once-source.c: New file.
44647         * benchtests/README: Update documentation.
44649 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
44650             H.J. Lu  <hongjiu.lu@intel.com>
44652         [BZ #16275]
44653         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
44654         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
44655         * sysdeps/x86_64/configure: Regenerated.
44656         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
44657         macro.
44658         (REGISTER_SAVE_RAX): Likewise.
44659         (REGISTER_SAVE_RCX): Likewise.
44660         (REGISTER_SAVE_RDX): Likewise.
44661         (REGISTER_SAVE_RSI): Likewise.
44662         (REGISTER_SAVE_RDI): Likewise.
44663         (REGISTER_SAVE_R8): Likewise.
44664         (REGISTER_SAVE_R9): Likewise.
44665         (REGISTER_SAVE_BND0): Likewise.
44666         (REGISTER_SAVE_BND1): Likewise.
44667         (REGISTER_SAVE_BND2): Likewise.
44668         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
44669         bound registers when calling _dl_fixup.
44671 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44673         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
44674         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
44675         of its definition.
44676         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
44677         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
44678         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
44679         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
44680         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
44681         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
44682         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
44684 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
44686         [BZ #15514]
44687         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
44688         pathconf(_PC_NAME_MAX).
44690 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44692         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
44693         Remove macro usage.
44694         (__PTHREAD_SPINS): Move definition to ...
44695         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
44696         (__PTHREAD_SPINS): ... here.
44697         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44698         (__PTHREAD_SPIN): Likewise.
44699         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
44700         (__PTHREAD_SPIN): Likewise.
44701         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
44702         (__PTHREAD_SPIN): Likewise.
44703         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
44704         (__PTHREAD_SPIN): Likewise.
44705         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44706         (__PTHREAD_SPIN): Likewise.
44707         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44708         (__PTHREAD_SPIN): Likewise.
44709         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
44710         (__PTHREAD_SPIN): Likewise.
44711         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44712         (__PTHREAD_SPIN): Likewise.
44713         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44714         (__PTHREAD_SPIN): Likewise.
44715         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44716         (__PTHREAD_SPIN): Likewise.
44717         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44718         (__PTHREAD_SPIN): Likewise.
44719         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
44720         (__PTHREAD_SPIN): Likewise.
44722         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
44723         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
44724         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
44725         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
44726         imply folder.
44727         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
44728         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
44729         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
44730         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
44731         correct imply path.
44732         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
44733         strlen symbol for non multi-arch builds.
44734         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44735         missing hidden_def and weak_alias.
44737 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
44739         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
44741 2014-04-07  Will Newton  <will.newton@linaro.org>
44743         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
44744         and contents.  [!_LIBC] Remove #ifndef and contents.
44745         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
44746         * string/memccpy.c (__memccpy): Use ANSI prototype.
44747         * string/memfrob.c (memfrob): Likewise.
44748         * string/strcoll.c (STRCOLL): Likewise.
44749         * string/strlen.c (strlen): Likewise.
44750         * string/strtok.c (STRTOK): Likewise.
44751         * string/strcat.c: Remove unused #include of memcopy.h.
44752         (strcat): Use ANSI prototype.
44753         * string/strchr.c: Remove unused #include of memcopy.h.
44754         (strchr): Use ANSI prototype.
44755         * string/strcmp.c: Remove unused #include of memcopy.h.
44756         (strcmp): Use ANSI prototype.
44757         * string/strcpy.c: Remove unused #include of memcopy.h.
44758         (strcpy): Use ANSI prototype.
44760 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44762         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
44763         * config.make.in (config-extra-cppflags): Set it from
44764         libc_extra_cppflags.
44765         * configure.ac (libc_extra_cflags): Make it accumulate over
44766         configure fragments.
44767         (libc_extra_cppflags): New flag.
44768         * configure. Regenerate.
44769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44770         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
44771         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
44772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
44774         [BZ #16815]
44775         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
44776         result for FE_DOWNWARD rounding mode.
44777         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
44778         Likewise.
44779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44781 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
44783         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
44784         in function argument name.
44786 2014-04-03  David Svoboda  <svoboda@cert.org>
44788         [BZ #5666]
44789         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
44790         explicitly.
44792 2014-04-03  Roland McGrath  <roland@hack.frob.com>
44794         * elf/dl-unmap-segments.h: New file.
44795         * sysdeps/generic/ldsodefs.h
44796         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
44797         * elf/dl-close.c: Include <dl-unmap-segments.h>.
44798         * elf/dl-fptr.c: Likewise.
44799         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
44800         * sysdeps/aarch64/tlsdesc.c: Likewise.
44801         * sysdeps/arm/tlsdesc.c: Likewise.
44802         * sysdeps/i386/tlsdesc.c: Likewise.
44803         * sysdeps/tile/dl-runtime.c: Likewise.
44804         * sysdeps/x86_64/tlsdesc.c: Likewise.
44805         * elf/dl-load.h: New file.
44806         * elf/dl-load.c: Include it.
44807         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
44808         Macros moved to dl-load.h.
44809         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
44810         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
44811         Use _dl_unmap_segments in place of __munmap.
44812         Break out segment-mapping loop into ...
44813         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
44815 2014-04-03  Will Newton  <will.newton@linaro.org>
44817         * elf/dl-lookup.c (do_lookup_x): Remove comment
44818         referring to nested function and move variable
44819         declarations down to before first use.
44821 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
44823         [BZ #16799]
44824         [BZ #16800]
44825         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
44826         with 0 numerator.
44827         * math/s_catanf.c (__catanf): Likewise.
44828         * math/s_catanh.c (__catanh): Likewise.
44829         * math/s_catanhf.c (__catanhf): Likewise.
44830         * math/s_catanhl.c (__catanhl): Likewise.
44831         * math/s_catanl.c (__catanl): Likewise.
44832         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
44833         by positive zero when computing -Inf result.
44834         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
44835         (catanh_test): Likewise.
44836         * sysdeps/i386/fpu/libm-test-ulps: Update.
44837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44839         [BZ #16789]
44840         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
44841         instead of using underflowing value in computing result.
44842         * math/s_clog10.c (__clog10): Likewise.
44843         * math/s_clog10f.c (__clog10f): Likewise.
44844         * math/s_clog10l.c (__clog10l): Likewise.
44845         * math/s_clogf.c (__clogf): Likewise.
44846         * math/s_clogl.c (__clogl): Likewise.
44847         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
44848         (clog10_test): Likewise.
44849         * sysdeps/i386/fpu/libm-test-ulps: Update.
44850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44852 2014-04-02  Alan Modra  <amodra@gmail.com>
44854         [BZ #16739]
44855         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
44856         output when value is near a power of two.  Use int64_t for lx and
44857         remove casts.  Use decimal rather than hex exponent constants.
44858         Don't use long double multiplication when double will suffice.
44859         * math/libm-test.inc (nextafter_test_data): Add tests.
44860         * NEWS: Add 16739 and 16786 to bug list.
44862         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
44864         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
44866 2014-04-01  Will Newton  <will.newton@linaro.org>
44868         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
44869         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
44871 2014-04-01  Florian Weimer  <fweimer@redhat.com>
44873         [BZ #13347]
44874         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
44875         * nptl/tst-setuid2.c: New file.
44876         * nptl/Makefile (xtests): Add tst-setuid2.
44878 2014-04-01  Alan Modra  <amodra@gmail.com>
44880         [BZ #16786]
44881         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
44883 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44885         [BZ #6803]
44886         [BZ #6804]
44887         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
44888         set errno as appropriate.
44889         * math/w_scalbf.c (__scalbf): Likewise.
44890         * math/w_scalbl.c (__scalbl): Likewise.
44891         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
44892         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
44893         * math/libm-test.inc (scalb_test_data): Add errno expectations.
44894         Add more NaN tests.
44896         [BZ #16349]
44897         * math/w_atan2.c: Include <errno.h>.
44898         (__atan2): Set errno for result underflowing to zero.
44899         * math/w_atan2f.c: Include <errno.h>.
44900         (__atan2f): Set errno for result underflowing to zero.
44901         * math/w_atan2l.c: Include <errno.h>.
44902         (__atan2l): Set errno for result underflowing to zero.
44903         * math/auto-libm-test-in: Don't allow missing errno for some atan2
44904         tests.
44905         * math/auto-libm-test-out: Regenerated.
44907 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44909         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44910         Encode instruction correctly in little endian.
44911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44912         Likewise.
44913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44914         Likewise.
44915         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44916         Likewise.
44917         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44918         Likewise.
44920 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
44922         [BZ #9894]
44923         * sysdeps/unix/sysv/linux/kernel-features.h
44924         [__sparc__ && !__arch64__ && !__sparc_v9__]
44925         (__ASSUME_SET_ROBUST_LIST): Do not define.
44926         [__sparc__ && !__arch64__ && !__sparc_v9__]
44927         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44928         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
44929         Likewise.
44930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44931         (__ASSUME_FUTEX_LOCK_PI): Undefine.
44932         (__ASSUME_REQUEUE_PI): Likewise.
44933         (__ASSUME_SET_ROBUST_LIST): Likewise.
44934         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44935         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
44936         Undefine.
44937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44938         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
44939         Likewise.
44940         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
44941         Likewise.
44942         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
44943         Likewise.
44944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44945         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
44946         Undefine.
44947         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
44948         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
44949         Likewise.
44951         [BZ #16648]
44952         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44953         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
44954         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
44956 2014-03-31  Will Newton  <will.newton@linaro.org>
44958         * benchtests/Makefile (bench): Add ffs and ffsll to list
44959         of tests.
44960         * benchtests/ffs-inputs: New file.
44961         * benchtests/ffsll-inputs: Likewise.
44963 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
44965         [BZ #16770]
44966         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
44967         too large before casting to int.
44968         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
44969         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
44970         * math/libm-test.inc (scalb_test_data): Add more tests.
44972 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44974         * benchtests/Makefile (DETAILED_OPT): New make option.
44975         (bench-func): Run benchmark program with -d if DETAILED_OPT is
44976         set.
44977         * benchtests/bench-skeleton.c: Include stdbool.h.
44978         (main): Store and print timings per input.
44979         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
44980         member to each argument value.
44981         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
44982         (_print_arg_data): Initialize per-input timing to 0.
44984         * benchtests/Makefile (timing-type): New binary.
44985         (bench-clean): Also remove bench-timing-type.
44986         (bench): New target for timing-type.
44987         (bench-func): Print output in JSON format.
44988         * benchtests/bench-skeleton.c (main): Print output in JSON
44989         format.
44990         * benchtests/bench-timing-type.c: New file.
44991         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
44992         (TIMING_PRINT_STATS): Remove.
44993         * benchtests/scripts/bench.py (_print_arg_data): Store variant
44994         name separately.
44996         * benchtests/bench-modf.c: Remove.
44997         * benchtests/modf-inputs: New inputs file.
44999 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
45001         [BZ #16362]
45002         * math/s_clog10.c (M_PI_LOG10E): New macro.
45003         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
45004         imaginary parts are 0.
45005         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
45006         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
45007         imaginary parts are 0.
45008         * math/s_clog10l.c (M_PI_LOG10El): New macro.
45009         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
45010         imaginary parts are 0.
45011         * math/libm-test.inc (clog10_test_data): Update expected results
45012         for when real and imaginary parts are 0.
45014 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
45016         * elf/dl-load.c: Finish conversion of __builtin_expect into
45017         __glibc_{un}likely.
45019 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
45021         [BZ #16348]
45022         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
45023         1+x for argument with exponent below -67.
45024         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
45025         Likewise.
45026         * math/auto-libm-test-in: Add more tests of exp.
45027         * math/auto-libm-test-out: Regenerated.
45029 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45031         [BZ #16759]
45032         * inet/getnetgrent_r.c (get_nonempty_val): New function.
45033         (nscd_getnetgrent): Use it.
45035         [BZ #16760]
45036         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
45037         of stpcpy.
45039 2014-03-27  Andi Kleen  <ak@linux.intel.com>
45041         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
45042         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45043         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45044         (lll_robust_unlock): Remove out of line section. Use cfi
45045         intrinsics.
45046         (LLL_STUB_UNWIND_INFO*): Remove.
45047         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
45048         (lll_robust_lock, lll_cond_lock, lll_timedlock)
45049         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
45050         (lll_robust_unlock): Remove out of line section. Use cfi
45051         intrinsics.
45052         (LLL_STUB_UNWIND_INFO*): Remove.
45054 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45056         [BZ #16758]
45057         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
45058         blank values.
45060 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
45062         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
45064 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
45066         [BZ #16198]
45067         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
45068         fnstenv.
45069         * math/test-fenv-preserve.c: New file.
45070         * math/Makefile (tests): Add test-fenv-preserve.
45072 2014-03-26  Will Newton <will.newton@linaro.org>
45074         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
45076 2014-03-25  Roland McGrath  <roland@hack.frob.com>
45078         * scripts/versionlist.awk: Partition the version sets and emit all
45079         GLIBC_* (sorted) before all others (sorted).
45081 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45083         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
45084         GLIBC_2.2.5 version.
45086 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45088         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
45089         calls.
45091         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
45092         previous change.
45094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45096 2014-03-25  Andreas Schwab  <schwab@suse.de>
45098         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
45099         label to be used after in6ailist is initialized.
45101 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45103         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45104         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45106 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
45108         [BZ #16357]
45109         [BZ #16599]
45110         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
45111         min_plus_half.
45112         (fp_formats): Update initializers.
45113         (init_fp_formats): Initialize new field.
45114         (output_for_one_input_case): Allow underflow for results up to
45115         min_plus_half.
45116         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
45117         * math/auto-libm-test-in: Don't mark some underflows from asin and
45118         atanh as spurious.
45119         * math/auto-libm-test-out: Regenerated.
45120         * sysdeps/i386/fpu/libm-test-ulps: Update.
45121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45123 2014-03-25  Andreas Schwab  <schwab@suse.de>
45125         * libio/Makefile (tst-ftell-partial-wide-ENV)
45126         (tst-ftell-active-handler-ENV): Define.
45128 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
45130         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
45132 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45134         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
45136 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45138         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
45139         * sysdeps/x86_64/fpu/multiarch/e_exp.c
45140         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
45142 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
45144         [BZ #16634]
45145         * elf/dl-load.c (open_verify): Add mode parameter.
45146         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
45147         (open_path): Change from boolean 'secure' to complete flag 'mode'
45148         (_dl_map_object): Adjust.
45149         * elf/Makefile (tests): Add tst-dlopen-aout.
45150         * elf/tst-dlopen-aout.c: New test.
45152 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
45154         [BZ #16714]
45155         * sysdeps/unix/sysv/linux/s390/bits/stat.h
45156         (struct stat): Rename member pad0 to __glibc_reserved0.
45158         [BZ #16712]
45159         * sysdeps/s390/s390-32/bits/wordsize.h
45160         (__WORDSIZE32_SIZE_ULONG): New define.
45161         * sysdeps/s390/s390-64/bits/wordsize.h
45162         (__WORDSIZE32_SIZE_ULONG): Likewise.
45163         * sysdeps/generic/stdint.h (SIZE_MAX):
45164         Define as UL if __WORDSIZE32_SIZE_ULONG.
45166         [BZ #16713]
45167         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
45168         (__glibc_reserved0): New variable.
45169         (sa_flags): Change type to int.
45171         * posix/Makefile (before-compile): Use += before-compile instead
45172         of a :=.
45174         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45175         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
45177 2014-03-20  Andreas Schwab  <schwab@suse.de>
45179         [BZ #16743]
45180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
45181         non-matching result from nscd.
45183 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45185         * scripts/bench.py: Moved to ...
45186         * benchtests/scripts/bench.py: ... here.
45187         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
45189 2014-03-24  Andreas Schwab  <schwab@suse.de>
45191         [BZ #16002]
45192         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
45193         alloca_account and account alloca use for struct in6ailist.
45195 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
45197         [BZ #16284]
45198         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
45199         rounding mode to recompute results that overflow to infinity or
45200         underflow to zero.
45201         * math/auto-libm-test-in: Don't mark tests as expected to fail for
45202         bug 16284.
45203         * math/auto-libm-test-out: Regenerated.
45204         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
45205         (ccosh_test): Likewise.
45206         (csin_test_data): Use plus_oflow.
45207         (csin_test): Use ALL_RM_TEST.
45208         (csinh_test_data): Use plus_oflow.
45209         (csinh_test): Use ALL_RM_TEST.
45210         * sysdeps/i386/fpu/libm-test-ulps: Update.
45211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45213 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
45215         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
45216         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
45217         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
45219         [BZ #16731]
45220         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
45221         when x - 1 is zero.
45222         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
45223         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
45224         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
45225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
45226         argument is 1.
45227         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
45228         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
45229         zero.
45230         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
45231         * sysdeps/i386/fpu/libm-test-ulps: Update.
45232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45234 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45236         * scripts/bench.pl: Remove file.
45237         * scripts/bench.py: New benchmark script.
45238         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
45239         * benchtests/README: Mention python dependency.
45240         * scripts/pylintrc: New file.
45241         * scripts/pylint: New file.
45243         * bits/mathdef.h: Use #ifdef instead of #if.
45244         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
45245         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45246         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
45247         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45248         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
45249         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
45251 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45252             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45254         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
45255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
45256         and strpbrk-ppc64 objects.
45257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45258         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
45259         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
45260         multiarch strpbrk for POWER7.
45261         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
45262         multiarch strpbrk for PPC64.
45263         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
45264         ifunc selector.
45265         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
45266         strpbrk for POWER7.
45268 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45270         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
45271         (atan_test): Likewise.
45272         (atanh_test_data): Use NO_TEST_INLINE for two tests.
45273         (atanh_test): Use ALL_RM_TEST.
45274         (atan2_test_data): Likewise.
45275         (cabs_test): Likewise.
45276         (cacosh_test): Likewise.
45277         (carg_test): Likewise.
45278         (casin_test): Likewise.
45279         (casinh_test): Likewise.
45280         (cbrt_test): Likewise.
45281         (csqrt_test): Likewise.
45282         (erf_test): Likewise.
45283         (erfc_test): Likewise.
45284         (pow10_test): Likewise.
45285         (exp2_test): Likewise.
45286         (hypot_test): Likewise.
45287         (j0_test): Likewise.
45288         (j1_test): Likewise.
45289         (lgamma_test): Likewise.
45290         (gamma_test): Likewise.
45291         (sincos_test): Likewise.
45292         (tanh_test): Likewise.
45293         (y0_test): Likewise.
45294         (y1_test): Likewise.
45295         * sysdeps/i386/fpu/libm-test-ulps: Update.
45296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45298 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45300         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
45301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
45302         and strcspn-ppc64 objects.
45303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45304         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
45305         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
45306         multiarch strcspn for POWER7.
45307         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
45308         multiarch strcspn for PPC64.
45309         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
45310         ifunc selector.
45311         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45312         strcspn for POWER7.
45314 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
45316         * math/gen-libm-test.pl (generate_testfile): Expect only function
45317         name as argument to AUTO_TESTS_* and pass results for all rounding
45318         modes to parse_args.
45319         (parse_auto_input): Separate inputs of automatic tests from
45320         outputs before storing in %auto_tests.
45321         * math/libm-test.inc (acos_test_data): Update call to
45322         AUTO_TESTS_f_f.
45323         (acos_test): Use ALL_RM_TEST.
45324         (acos_tonearest_test_data): Remove.
45325         (acos_test_tonearest): Likewise.
45326         (acos_towardzero_test_data): Likewise.
45327         (acos_test_towardzero): Likewise.
45328         (acos_downward_test_data): Likewise.
45329         (acos_test_downward): Likewise.
45330         (acos_upward_test_data): Likewise.
45331         (acos_test_upward): Likewise.
45332         (acosh_test_data): Update call to AUTO_TESTS_f_f.
45333         (asin_test_data): Likewise.
45334         (asin_test): Use ALL_RM_TEST.
45335         (asin_tonearest_test_data): Remove.
45336         (asin_test_tonearest): Likewise.
45337         (asin_towardzero_test_data): Likewise.
45338         (asin_test_towardzero): Likewise.
45339         (asin_downward_test_data): Likewise.
45340         (asin_test_downward): Likewise.
45341         (asin_upward_test_data): Likewise.
45342         (asin_test_upward): Likewise.
45343         (asinh_test_data): Update call to AUTO_TESTS_f_f.
45344         (atan_test_data): Likewise.
45345         (atanh_test_data): Likewise.
45346         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
45347         (cabs_test_data): Update call to AUTO_TESTS_c_f.
45348         (carg_test_data): Likewise.
45349         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
45350         (ccos_test_data): Update call to AUTO_TESTS_c_c.
45351         (ccosh_test_data): Likewise.
45352         (cexp_test_data): Likewise.
45353         (clog_test_data): Likewise.
45354         (clog10_test_data): Likewise.
45355         (cos_test_data): Update call to AUTO_TESTS_f_f.
45356         (cos_test): Use ALL_RM_TEST.
45357         (cos_tonearest_test_data): Remove.
45358         (cos_test_tonearest): Likewise.
45359         (cos_towardzero_test_data): Likewise.
45360         (cos_test_towardzero): Likewise.
45361         (cos_downward_test_data): Likewise.
45362         (cos_test_downward): Likewise.
45363         (cos_upward_test_data): Likewise.
45364         (cos_test_upward): Likewise.
45365         (cosh_test_data): Update call to AUTO_TESTS_f_f.
45366         (cosh_test): Use ALL_RM_TEST.
45367         (cosh_tonearest_test_data): Remove.
45368         (cosh_test_tonearest): Likewise.
45369         (cosh_towardzero_test_data): Likewise.
45370         (cosh_test_towardzero): Likewise.
45371         (cosh_downward_test_data): Likewise.
45372         (cosh_test_downward): Likewise.
45373         (cosh_upward_test_data): Likewise.
45374         (cosh_test_upward): Likewise.
45375         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
45376         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
45377         (ctan_test_data): Likewise.
45378         (ctan_test): Use ALL_RM_TEST.
45379         (ctan_tonearest_test_data): Remove.
45380         (ctan_test_tonearest): Likewise.
45381         (ctan_towardzero_test_data): Likewise.
45382         (ctan_test_towardzero): Likewise.
45383         (ctan_downward_test_data): Likewise.
45384         (ctan_test_downward): Likewise.
45385         (ctan_upward_test_data): Likewise.
45386         (ctan_test_upward): Likewise.
45387         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
45388         (ctanh_test): Use ALL_RM_TEST.
45389         (ctanh_tonearest_test_data): Remove.
45390         (ctanh_test_tonearest): Likewise.
45391         (ctanh_towardzero_test_data): Likewise.
45392         (ctanh_test_towardzero): Likewise.
45393         (ctanh_downward_test_data): Likewise.
45394         (ctanh_test_downward): Likewise.
45395         (ctanh_upward_test_data): Likewise.
45396         (ctanh_test_upward): Likewise.
45397         (erf_test_data): Update call to AUTO_TESTS_f_f.
45398         (erfc_test_data): Likewise.
45399         (exp_test_data): Likewise.
45400         (exp_test): Use ALL_RM_TEST.
45401         (exp_tonearest_test_data): Remove.
45402         (exp_test_tonearest): Likewise.
45403         (exp_towardzero_test_data): Likewise.
45404         (exp_test_towardzero): Likewise.
45405         (exp_downward_test_data): Likewise.
45406         (exp_test_downward): Likewise.
45407         (exp_upward_test_data): Likewise.
45408         (exp_test_upward): Likewise.
45409         (exp10_test_data): Update call to AUTO_TESTS_f_f.
45410         (exp10_test): Use ALL_RM_TEST.
45411         (exp10_tonearest_test_data): Remove.
45412         (exp10_test_tonearest): Likewise.
45413         (exp10_towardzero_test_data): Likewise.
45414         (exp10_test_towardzero): Likewise.
45415         (exp10_downward_test_data): Likewise.
45416         (exp10_test_downward): Likewise.
45417         (exp10_upward_test_data): Likewise.
45418         (exp10_test_upward): Likewise.
45419         (exp2_test_data): Update call to AUTO_TESTS_f_f.
45420         (expm1_test_data): Likewise.
45421         (expm1_test): Use ALL_RM_TEST.
45422         (expm1_tonearest_test_data): Remove.
45423         (expm1_test_tonearest): Likewise.
45424         (expm1_towardzero_test_data): Likewise.
45425         (expm1_test_towardzero): Likewise.
45426         (expm1_downward_test_data): Likewise.
45427         (expm1_test_downward): Likewise.
45428         (expm1_upward_test_data): Likewise.
45429         (expm1_test_upward): Likewise.
45430         (fma_test_data): Update call to AUTO_TESTS_fff_f.
45431         (fma_test): Use ALL_RM_TEST.
45432         (fma_towardzero_test_data): Remove.
45433         (fma_test_towardzero): Likewise.
45434         (fma_downward_test_data): Likewise.
45435         (fma_test_downward): Likewise.
45436         (fma_upward_test_data): Likewise.
45437         (fma_test_upward): Likewise.
45438         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
45439         (j0_test_data): Update call to AUTO_TESTS_f_f.
45440         (j1_test_data): Likewise.
45441         (jn_test_data): Update call to AUTO_TESTS_if_f.
45442         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
45443         (log_test_data): Update call to AUTO_TESTS_f_f.
45444         (log10_test_data): Likewise.
45445         (log1p_test_data): Likewise.
45446         (log2_test_data): Likewise.
45447         (pow_test_data): Update call to AUTO_TESTS_ff_f.
45448         (pow_tonearest_test_data): Likewise.
45449         (sin_test_data): Update call to AUTO_TESTS_f_f.
45450         (sin_test): Use ALL_RM_TEST.
45451         (sin_tonearest_test_data): Remove.
45452         (sin_test_tonearest): Likewise.
45453         (sin_towardzero_test_data): Likewise.
45454         (sin_test_towardzero): Likewise.
45455         (sin_downward_test_data): Likewise.
45456         (sin_test_downward): Likewise.
45457         (sin_upward_test_data): Likewise.
45458         (sin_test_upward): Likewise.
45459         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
45460         (sinh_test_data): Update call to AUTO_TESTS_f_f.
45461         (sinh_test): Use ALL_RM_TEST.
45462         (sinh_tonearest_test_data): Remove.
45463         (sinh_test_tonearest): Likewise.
45464         (sinh_towardzero_test_data): Likewise.
45465         (sinh_test_towardzero): Likewise.
45466         (sinh_downward_test_data): Likewise.
45467         (sinh_test_downward): Likewise.
45468         (sinh_upward_test_data): Likewise.
45469         (sinh_test_upward): Likewise.
45470         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
45471         (sqrt_test): Use ALL_RM_TEST.
45472         (sqrt_tonearest_test_data): Remove.
45473         (sqrt_test_tonearest): Likewise.
45474         (sqrt_towardzero_test_data): Likewise.
45475         (sqrt_test_towardzero): Likewise.
45476         (sqrt_downward_test_data): Likewise.
45477         (sqrt_test_downward): Likewise.
45478         (sqrt_upward_test_data): Likewise.
45479         (sqrt_test_upward): Likewise.
45480         (tan_test_data): Update call to AUTO_TESTS_f_f.
45481         (tan_test): Use ALL_RM_TEST.
45482         (tan_tonearest_test_data): Remove.
45483         (tan_test_tonearest): Likewise.
45484         (tan_towardzero_test_data): Likewise.
45485         (tan_test_towardzero): Likewise.
45486         (tan_downward_test_data): Likewise.
45487         (tan_test_downward): Likewise.
45488         (tan_upward_test_data): Likewise.
45489         (tan_test_upward): Likewise.
45490         (tanh_test_data): Update call to AUTO_TESTS_f_f.
45491         (tgamma_test_data): Likewise.
45492         (y0_test_data): Likewise.
45493         (y1_test_data): Likewise.
45494         (yn_test_data): Update call to AUTO_TESTS_if_f.
45495         (main): Do not call removed functions.
45497 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45499         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
45500         (ldexp_test_data): Remove.
45501         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
45502         scalbn_test_data.
45503         (scalb_test): Use ALL_RM_TEST.
45505 2014-03-19  Andreas Schwab  <schwab@suse.de>
45507         * nscd/nscd.service: Also invalidate netgroup cache on reload.
45509 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
45511         [BZ #16649]
45512         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45513         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
45514         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
45515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45516         (__ASSUME_PREADV): Undefine.
45517         (__ASSUME_PWRITEV): Likewise.
45519 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45521         * bits/mman-linux.h: Add comment about non-Linux use.
45522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
45523         bits/mman-linux.h resting place.
45525         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
45526         * bits/mman-linux.h: ... here.
45528 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45530         * conform/conformtest.pl: Add standard definition when calling C
45531         preprocessor on data files.
45532         (checknamespace): Remove unused variable.
45534 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45536         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
45537         minus_oflow, plus_uflow and minus_uflow in expected results.
45538         * math/libm-test.inc (scalbn_test_data): Add more tests of
45539         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
45540         minus_uflow.
45541         (scalbn_test): Use ALL_RM_TEST.
45542         (scalbln_test_data): Add more tests of negative arguments.  Use
45543         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
45544         (scalbln_test): Use ALL_RM_TEST.
45546 2014-03-18  Roland McGrath  <roland@hack.frob.com>
45548         * scripts/abilist.awk: Ignore symbols marked with .hidden.
45550 2014-03-18  Will Newton  <will.newton@linaro.org>
45552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45553         inaccurate comment.
45555 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
45557         * Makerules [!subdir] (check-abi): Exit with error status if a
45558         test failed.
45560 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45562         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45563         for rint.  Include results for all rounding modes.
45564         (nearbyint_test): Use ALL_RM_TEST.
45565         (rint_test_data): Include all tests used for nearbyint.
45567 2014-03-17  Will Newton  <will.newton@linaro.org>
45569         * nptl/sysdeps/pthread/pthread.h: Revert previous
45570         change.
45572         * sysdeps/generic/ldsodefs.h: Revert previous
45573         change.
45575         * libio/genops.c: Revert previous change.
45576         * libio/libioP.h: Likewise.
45577         * stdio-common/vfprintf.c: Likewise.
45579         * sysdeps/generic/math_private.h: Revert previous
45580         change.
45582         * sysdeps/generic/math_private.h: Check whether
45583         HAVE_RM_CTX is defined with #ifdef rather
45584         than #if.
45586         * argp/argp-fmtstream.h: Check whether
45587         __STRICT_ANSI__ is defined with #ifdef rather
45588         than #if.
45589         * argp/argp.h: Likewise.
45591         * libio/genops.c: Check whether
45592         _IO_JUMPS_OFFSET is defined with #ifdef rather
45593         than #if.
45594         * libio/libioP.h: Likewise.
45595         * stdio-common/vfprintf.c: Likewise.
45597         * sysdeps/generic/ldsodefs.h: Check whether
45598         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
45599         than #if.
45601         * nptl/sysdeps/pthread/pthread.h: Check
45602         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
45603         its value.
45605 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45607         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
45608         setting O_APPEND.
45609         * libio/tst-ftell-active-handler.c (do_append_test): Add a
45610         test case.
45612         [BZ #16680]
45613         * libio/fileops.c (_IO_file_open): Seek to end of file but
45614         don't cache the offset.
45615         (get_file_offset): Remove function.
45616         (do_ftell): Use cached offset when available.
45617         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
45618         don't cache the offset.
45619         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
45620         case.
45621         (do_one_test): Call it.
45622         (do_ftell_test): Fix up expected old offset for a+ mode.
45623         * libio/wfileops.c (do_ftell_wide): Used cached offset when
45624         available.
45626         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
45627         up test status with function return status.
45628         (do_write_test): Likewise.
45629         (do_append_test): Likewise.
45631         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
45632         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
45633         Remove.
45635 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
45637         * math/gen-libm-test.pl (parse_args): Handle results specified for
45638         each rounding mode separately.
45639         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
45640         tests and results from lrint_tonearest_test_data,
45641         lrint_towardzero_test_data, lrint_downward_test_data and
45642         lrint_upward_test_data.
45643         (lrint_test): Use ALL_RM_TEST.
45644         (lrint_tonearest_test_data): Remove.
45645         (lrint_test_tonearest): Likewise.
45646         (lrint_towardzero_test_data): Likewise.
45647         (lrint_test_towardzero): Likewise.
45648         (lrint_downward_test_data): Likewise.
45649         (lrint_test_downward): Likewise.
45650         (lrint_upward_test_data): Likewise.
45651         (lrint_test_upward): Likewise.
45652         (llrint_test_data): Merge in per-rounding-mode tests and results
45653         from llrint_tonearest_test_data, llrint_towardzero_test_data,
45654         llrint_downward_test_data and llrint_upward_test_data.
45655         (llrint_test): Use ALL_RM_TEST.
45656         (llrint_tonearest_test_data): Remove.
45657         (llrint_test_tonearest): Likewise.
45658         (llrint_towardzero_test_data): Likewise.
45659         (llrint_test_towardzero): Likewise.
45660         (llrint_downward_test_data): Likewise.
45661         (llrint_test_downward): Likewise.
45662         (llrint_upward_test_data): Likewise.
45663         (llrint_test_upward): Likewise.
45664         (rint_test_data): Merge in per-rounding-mode tests and results
45665         from rint_tonearest_test_data, rint_towardzero_test_data,
45666         rint_downward_test_data and rint_upward_test_data.  Add
45667         per-rounding-mode results for tests not in those arrays.
45668         (rint_test): Use ALL_RM_TEST.
45669         (rint_tonearest_test_data): Remove.
45670         (rint_test_tonearest): Likewise.
45671         (rint_towardzero_test_data): Likewise.
45672         (rint_test_towardzero): Likewise.
45673         (rint_downward_test_data): Likewise.
45674         (rint_test_downward): Likewise.
45675         (rint_upward_test_data): Likewise.
45676         (rint_test_upward): Likewise.
45677         (main): Don't call removed functions.
45679 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45681         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
45682         "Compiled on ..." crapola.  It is anti-useful.
45684 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
45686         * scripts/evaluate-test.sh: Handle fourth argument to determine
45687         whether test run should stop on failure.
45688         * Makeconfig (stop-on-test-failure): New variable.
45689         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
45690         $(stop-on-test-failure).
45691         * Makefile (tests): Give a summary of results from testing and
45692         exit with failure status if they include an ERROR or FAIL.
45693         (xtests): Likewise.
45694         * manual/install.texi (Configuring and compiling): Mention
45695         stop-on-test-failure=y.
45696         * INSTALL: Regenerated.
45698 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45700         * scripts/versionlist.awk: New file.
45701         * Makerules [$(build-shared) = yes]
45702         (postclean-generated): Add Versions.def, not Versions.def.v and
45703         Versions.def.v.i.
45704         ($(common-objpfx)Versions.def.v.i): Target removed.
45705         ($(common-objpfx)Versions.def): New target.
45706         ($(common-objpfx)Versions.all): Depend on that rather that
45707         $(common-objpfx)Versions.def.v.
45708         * Versions.def: File removed.
45710         * Makeconfig (+gccwarn): Add -Wundef.
45711         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
45712         a dl-sysdep.h breaking its contract.
45713         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
45714         * include/stackinfo.h: New file.
45715         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
45716         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
45717         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
45718         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
45719         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
45720         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
45721         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45722         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45723         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45724         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45725         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45726         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
45727         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45728         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45729         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
45731 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45733         [BZ #16707]
45734         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
45735         implementation.
45736         * math/libm-test.inc (round_test_data): Add more tests.
45738         [BZ #16706]
45739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45740         implementation.
45741         * math/libm-test.inc (nearbyint_test_data): Add more tests.
45743         [BZ #16701]
45744         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
45745         implementation.
45746         * math/libm-test.inc (ceil_test_data): Add more tests.
45748         * math/libm-test.inc (trunc_test_data): Add more tests related to
45749         BZ#16414.
45751 2014-03-14  Roland McGrath  <roland@hack.frob.com>
45753         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
45754         with #if rather than #ifdef.
45755         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
45757 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
45759         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
45760         first.  Disable AVX-512 GCC support if assembler doesn't support
45761         it.
45762         * sysdeps/x86_64/configure: Regenerated.
45764 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
45766         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
45767         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
45768         (__old_pthread_attr_setstack): Likewise.
45769         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
45770         [!_STACK_GROWS_DOWN]: Likewise.
45772 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
45774         * config.make.in (have-bash2): Delete.
45775         * configure.ac (libc_cv_have_bash2): Delete.
45776         * configure: Regenerate.
45777         * elf/Makefile (common-ldd-rewrite): Rename to ...
45778         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
45779         (sh-ldd-rewrite): Delete.
45780         (bash-ldd-rewrite): Delete.
45781         (have-bash2): Delete checks.
45782         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
45783         ldd-rewrite.
45785         * config.make.in (have-ksh): Delete.
45786         (KSH): Delete.
45787         * configure.ac (libc_cv_have_ksh): Delete.
45788         * configure: Regenerate.
45790         * elf/Makefile: Delete $(have-ksh) check.
45791         ($(objpfx)sotruss): Change KSH to BASH.
45792         * elf/sotruss.ksh: Rename to ...
45793         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
45794         function style to match POSIX.  Drop ksh vim mode setting.
45796         * manual/time.texi (Specifying the Time Zone with TZ): Change
45797         Tuesday to Thursday.
45799         * debug/tst-longjmp_chk2.c: Update header comment.
45800         (stackoverflow_handler): Add comment.  Call assert on pass value.
45802 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
45804         [BZ #16194]
45805         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
45806         (HAVE_AVX512_ASM_SUPPORT): Likewise.
45807         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
45808         (La_x86_64_vector): Add zmm.
45809         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45810         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
45811         ($(objpfx)tst-audit10): New target.
45812         ($(objpfx)tst-audit10.out): Likewise.
45813         (tst-audit10-ENV): New.
45814         (AVX512-CFLAGS): Likewise.
45815         (CFLAGS-tst-audit10.c): Likewise.
45816         (CFLAGS-tst-auditmod10a.c): Likewise.
45817         (CFLAGS-tst-auditmod10b.c): Likewise.
45818         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
45819         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
45820         * sysdeps/x86_64/configure: Regenerated.
45821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45822         AVX-512 zmm register support.
45823         (_dl_x86_64_save_sse): Likewise.
45824         (_dl_x86_64_restore_sse): Likewise.
45825         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
45826         size vector registers.
45827         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
45828         (ZMM_SIZE): Likewise.
45829         * sysdeps/x86_64/tst-audit10.c: New file.
45830         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
45831         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
45833 2014-03-13  Roland McGrath  <roland@hack.frob.com>
45835         * configure.ac (HAVE_EHDR_START): New check.
45836         * configure: Regenerated.
45837         * config.h.in (HAVE_EHDR_START): New #undef.
45838         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
45839         assuming the lowest-addressed segment maps the start of the file.
45841 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
45843         * INSTALL: Regenerated.
45845 2014-03-13  Will Newton  <will.newton@linaro.org>
45847         * manual/setjmp.texi (System V contexts): Improve
45848         clarity and grammar of documentation.
45850 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
45852         [BZ #16381]
45853         * elf/Makefile (tests): Add tst-pie2.
45854         (tests-pie): Add tst-pie2.
45855         * elf/tst-pie2.c: New file.
45856         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
45857         for ET_EXEC.
45858         * elf/rtld.c (map_doit): Load executable as lt_executable.
45859         (dl_main): Likewise.
45861 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
45863         [BZ #16642]
45864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45865         (__ASSUME_PSELECT): Undefine.
45867 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45869         [BZ #16689]
45870         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
45871         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
45872         static build.
45873         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
45874         selector for static builds.
45876 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45878         [BZ #16695]
45879         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
45880         key in the buffer.
45882 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45884         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
45885         IFUNC selector for static builds.
45887 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
45889         * sysdeps/mips/math_private.h [__mips_hard_float]
45890         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
45891         libc_feresetround_mips_ctx.
45892         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
45893         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
45894         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
45896         [BZ #16677]
45897         * math/s_nextafter.c (__nextafter): Do not return value from
45898         overflowing computation.
45899         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
45900         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
45901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
45902         Likewise.
45903         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
45904         Likewise.
45905         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
45906         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
45908 2014-03-11  Roland McGrath  <roland@hack.frob.com>
45910         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
45911         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
45912         Move sfi_sp use from the load-multiple (that no longer sets sp) to
45913         the new mov targetting sp.
45915 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45917         [BZ #16683]
45918         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
45919         Define it for static builds as well.
45920         (NO_BZERO_IMPL): Likewise.
45922 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45924         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
45925         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
45926         multiarch strspn for PPC64.
45927         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
45928         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
45929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45930         (__libc_ifunc_impl_list): Likewise.
45931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
45932         multiarch optimizations
45933         * string/strspn.c (strspn): Using macro to redefine symbol name.
45935 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45938         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
45939         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
45940         multiarch strncat for PPC64.
45941         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
45942         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
45943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45944         (__libc_ifunc_impl_list): Likewise.
45945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
45946         multiarch optimizations
45948 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45950         [BZ #16639]
45951         * nscd/nscd.service: Make service type forking.
45953 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45955         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
45956         sign in non default rounding modes.
45957         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
45959 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
45961         * math/libm-test.inc (ALL_RM_TEST): New macro.
45962         (ceil_test): Use ALL_RM_TEST.
45963         (cimag_test): Likewise.
45964         (conj_test): Likewise.
45965         (copysign_test): Likewise.
45966         (cproj_test): Likewise.
45967         (creal_test): Likewise.
45968         (fabs_test): Likewise.
45969         (floor_test): Likewise.
45970         (fmax_test): Likewise.
45971         (fmin_test): Likewise.
45972         (fmod_test): Likewise.
45973         (fpclassify_test): Likewise.
45974         (frexp_test): Likewise.
45975         (ilogb_test): Likewise.
45976         (isfinite_test): Likewise.
45977         (finite_test): Likewise.
45978         (isgreater_test): Likewise.
45979         (isgreaterequal_test): Likewise.
45980         (isinf_test): Likewise.
45981         (isless_test): Likewise.
45982         (islessequal_test): Likewise.
45983         (islessgreater_test): Likewise.
45984         (isnan_test): Likewise.
45985         (isnormal_test): Likewise.
45986         (issignaling_test): Likewise.
45987         (isunordered_test): Likewise.
45988         (logb_test): Likewise.
45989         (logb_downward_test_data): Remove.
45990         (logb_test_downward): Likewise.
45991         (lround_test): Use ALL_RM_TEST.
45992         (llround_test): Likewise.
45993         (modf_test): Likewise.
45994         (nexttoward_test): Likewise.
45995         (remainder_test): Likewise.
45996         (drem_test): Likewise.
45997         (remainder_tonearest_test_data): Likewise.
45998         (remainder_test_tonearest): Likewise.
45999         (drem_test_tonearest): Likewise.
46000         (remainder_towardzero_test_data): Likewise.
46001         (remainder_test_towardzero): Likewise.
46002         (drem_test_towardzero): Likewise.
46003         (remainder_downward_test_data): Likewise.
46004         (remainder_test_downward): Likewise.
46005         (drem_test_downward): Likewise.
46006         (remainder_upward_test_data): Likewise.
46007         (remainder_test_upward): Likewise.
46008         (drem_test_upward): Likewise.
46009         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
46010         (round_test): Use ALL_RM_TEST.
46011         (signbit_test): Likewise.
46012         (trunc_test): Likewise.
46013         (significand_test): Likewise.
46014         (main): Don't call removed functions.
46016 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46018         [BZ #16674]
46019         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
46020         || __USE_XOPEN2K8].
46021         (ILL_ILLOPN): Likewise.
46022         (ILL_ILLADR): Likewise.
46023         (ILL_ILLTRP): Likewise.
46024         (ILL_PRVOPC): Likewise.
46025         (ILL_PRVREG): Likewise.
46026         (ILL_COPROC): Likewise.
46027         (ILL_BADSTK): Likewise.
46028         (FPE_INTDIV): Likewise.
46029         (FPE_INTOVF): Likewise.
46030         (FPE_FLTDIV): Likewise.
46031         (FPE_FLTOVF): Likewise.
46032         (FPE_FLTUND): Likewise.
46033         (FPE_FLTRES): Likewise.
46034         (FPE_FLTINV): Likewise.
46035         (FPE_FLTSUB): Likewise.
46036         (SEGV_MAPERR): Likewise.
46037         (SEGV_ACCERR): Likewise.
46038         (BUS_ADRALN): Likewise.
46039         (BUS_ADRERR): Likewise.
46040         (BUS_OBJERR): Likewise.
46041         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46042         (TRAP_TRACE): Likewise.
46043         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46044         __USE_XOPEN2K8].
46045         (CLD_KILLED): Likewise.
46046         (CLD_DUMPED): Likewise.
46047         (CLD_TRAPPED): Likewise.
46048         (CLD_STOPPED): Likewise.
46049         (CLD_CONTINUED): Likewise.
46050         (POLL_IN): Likewise.
46051         (POLL_OUT): Likewise.
46052         (POLL_MSG): Likewise.
46053         (POLL_ERR): Likewise.
46054         (POLL_PRI): Likewise.
46055         (POLL_HUP): Likewise.
46056         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
46057         Likewise.
46058         (ILL_ILLOPN): Likewise.
46059         (ILL_ILLADR): Likewise.
46060         (ILL_ILLTRP): Likewise.
46061         (ILL_PRVOPC): Likewise.
46062         (ILL_PRVREG): Likewise.
46063         (ILL_COPROC): Likewise.
46064         (ILL_BADSTK): Likewise.
46065         (FPE_INTDIV): Likewise.
46066         (FPE_INTOVF): Likewise.
46067         (FPE_FLTDIV): Likewise.
46068         (FPE_FLTOVF): Likewise.
46069         (FPE_FLTUND): Likewise.
46070         (FPE_FLTRES): Likewise.
46071         (FPE_FLTINV): Likewise.
46072         (FPE_FLTSUB): Likewise.
46073         (SEGV_MAPERR): Likewise.
46074         (SEGV_ACCERR): Likewise.
46075         (BUS_ADRALN): Likewise.
46076         (BUS_ADRERR): Likewise.
46077         (BUS_OBJERR): Likewise.
46078         (BUS_MCEERR_AR): Likewise.
46079         (BUS_MCEERR_AO): Likewise.
46080         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46081         (TRAP_TRACE): Likewise.
46082         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46083         __USE_XOPEN2K8].
46084         (CLD_KILLED): Likewise.
46085         (CLD_DUMPED): Likewise.
46086         (CLD_TRAPPED): Likewise.
46087         (CLD_STOPPED): Likewise.
46088         (CLD_CONTINUED): Likewise.
46089         (POLL_IN): Likewise.
46090         (POLL_OUT): Likewise.
46091         (POLL_MSG): Likewise.
46092         (POLL_ERR): Likewise.
46093         (POLL_PRI): Likewise.
46094         (POLL_HUP): Likewise.
46095         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
46096         (ILL_ILLOPN): Likewise.
46097         (ILL_ILLADR): Likewise.
46098         (ILL_ILLTRP): Likewise.
46099         (ILL_PRVOPC): Likewise.
46100         (ILL_PRVREG): Likewise.
46101         (ILL_COPROC): Likewise.
46102         (ILL_BADSTK): Likewise.
46103         (FPE_INTDIV): Likewise.
46104         (FPE_INTOVF): Likewise.
46105         (FPE_FLTDIV): Likewise.
46106         (FPE_FLTOVF): Likewise.
46107         (FPE_FLTUND): Likewise.
46108         (FPE_FLTRES): Likewise.
46109         (FPE_FLTINV): Likewise.
46110         (FPE_FLTSUB): Likewise.
46111         (SEGV_MAPERR): Likewise.
46112         (SEGV_ACCERR): Likewise.
46113         (BUS_ADRALN): Likewise.
46114         (BUS_ADRERR): Likewise.
46115         (BUS_OBJERR): Likewise.
46116         (BUS_MCEERR_AR): Likewise.
46117         (BUS_MCEERR_AO): Likewise.
46118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46119         (TRAP_TRACE): Likewise.
46120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46121         __USE_XOPEN2K8].
46122         (CLD_KILLED): Likewise.
46123         (CLD_DUMPED): Likewise.
46124         (CLD_TRAPPED): Likewise.
46125         (CLD_STOPPED): Likewise.
46126         (CLD_CONTINUED): Likewise.
46127         (POLL_IN): Likewise.
46128         (POLL_OUT): Likewise.
46129         (POLL_MSG): Likewise.
46130         (POLL_ERR): Likewise.
46131         (POLL_PRI): Likewise.
46132         (POLL_HUP): Likewise.
46133         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
46134         Likewise.
46135         (ILL_ILLOPN): Likewise.
46136         (ILL_ILLADR): Likewise.
46137         (ILL_ILLTRP): Likewise.
46138         (ILL_PRVOPC): Likewise.
46139         (ILL_PRVREG): Likewise.
46140         (ILL_COPROC): Likewise.
46141         (ILL_BADSTK): Likewise.
46142         (ILL_BADIADDR): Likewise.
46143         (ILL_BREAK): Likewise.
46144         (FPE_INTDIV): Likewise.
46145         (FPE_INTOVF): Likewise.
46146         (FPE_FLTDIV): Likewise.
46147         (FPE_FLTOVF): Likewise.
46148         (FPE_FLTUND): Likewise.
46149         (FPE_FLTRES): Likewise.
46150         (FPE_FLTINV): Likewise.
46151         (FPE_FLTSUB): Likewise.
46152         (FPE_DECOVF): Likewise.
46153         (FPE_DECDIV): Likewise.
46154         (FPE_DECERR): Likewise.
46155         (FPE_INVASC): Likewise.
46156         (FPE_INVDEC): Likewise.
46157         (SEGV_MAPERR): Likewise.
46158         (SEGV_ACCERR): Likewise.
46159         (SEGV_PSTKOVF): Likewise.
46160         (BUS_ADRALN): Likewise.
46161         (BUS_ADRERR): Likewise.
46162         (BUS_OBJERR): Likewise.
46163         (BUS_MCEERR_AR): Likewise.
46164         (BUS_MCEERR_AO): Likewise.
46165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46166         (TRAP_TRACE): Likewise.
46167         (TRAP_BRANCH): Likewise.
46168         (TRAP_HWBKPT): Likewise.
46169         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46170         __USE_XOPEN2K8].
46171         (CLD_KILLED): Likewise.
46172         (CLD_DUMPED): Likewise.
46173         (CLD_TRAPPED): Likewise.
46174         (CLD_STOPPED): Likewise.
46175         (CLD_CONTINUED): Likewise.
46176         (POLL_IN): Likewise.
46177         (POLL_OUT): Likewise.
46178         (POLL_MSG): Likewise.
46179         (POLL_ERR): Likewise.
46180         (POLL_PRI): Likewise.
46181         (POLL_HUP): Likewise.
46182         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
46183         (ILL_ILLOPN): Likewise.
46184         (ILL_ILLADR): Likewise.
46185         (ILL_ILLTRP): Likewise.
46186         (ILL_PRVOPC): Likewise.
46187         (ILL_PRVREG): Likewise.
46188         (ILL_COPROC): Likewise.
46189         (ILL_BADSTK): Likewise.
46190         (FPE_INTDIV): Likewise.
46191         (FPE_INTOVF): Likewise.
46192         (FPE_FLTDIV): Likewise.
46193         (FPE_FLTOVF): Likewise.
46194         (FPE_FLTUND): Likewise.
46195         (FPE_FLTRES): Likewise.
46196         (FPE_FLTINV): Likewise.
46197         (FPE_FLTSUB): Likewise.
46198         (SEGV_MAPERR): Likewise.
46199         (SEGV_ACCERR): Likewise.
46200         (BUS_ADRALN): Likewise.
46201         (BUS_ADRERR): Likewise.
46202         (BUS_OBJERR): Likewise.
46203         (BUS_MCEERR_AR): Likewise.
46204         (BUS_MCEERR_AO): Likewise.
46205         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46206         (TRAP_TRACE): Likewise.
46207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46208         __USE_XOPEN2K8].
46209         (CLD_KILLED): Likewise.
46210         (CLD_DUMPED): Likewise.
46211         (CLD_TRAPPED): Likewise.
46212         (CLD_STOPPED): Likewise.
46213         (CLD_CONTINUED): Likewise.
46214         (POLL_IN): Likewise.
46215         (POLL_OUT): Likewise.
46216         (POLL_MSG): Likewise.
46217         (POLL_ERR): Likewise.
46218         (POLL_PRI): Likewise.
46219         (POLL_HUP): Likewise.
46220         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
46221         (ILL_ILLOPN): Likewise.
46222         (ILL_ILLADR): Likewise.
46223         (ILL_ILLTRP): Likewise.
46224         (ILL_PRVOPC): Likewise.
46225         (ILL_PRVREG): Likewise.
46226         (ILL_COPROC): Likewise.
46227         (ILL_BADSTK): Likewise.
46228         (FPE_INTDIV): Likewise.
46229         (FPE_INTOVF): Likewise.
46230         (FPE_FLTDIV): Likewise.
46231         (FPE_FLTOVF): Likewise.
46232         (FPE_FLTUND): Likewise.
46233         (FPE_FLTRES): Likewise.
46234         (FPE_FLTINV): Likewise.
46235         (FPE_FLTSUB): Likewise.
46236         (SEGV_MAPERR): Likewise.
46237         (SEGV_ACCERR): Likewise.
46238         (BUS_ADRALN): Likewise.
46239         (BUS_ADRERR): Likewise.
46240         (BUS_OBJERR): Likewise.
46241         (BUS_MCEERR_AR): Likewise.
46242         (BUS_MCEERR_AO): Likewise.
46243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46244         (TRAP_TRACE): Likewise.
46245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46246         __USE_XOPEN2K8].
46247         (CLD_KILLED): Likewise.
46248         (CLD_DUMPED): Likewise.
46249         (CLD_TRAPPED): Likewise.
46250         (CLD_STOPPED): Likewise.
46251         (CLD_CONTINUED): Likewise.
46252         (POLL_IN): Likewise.
46253         (POLL_OUT): Likewise.
46254         (POLL_MSG): Likewise.
46255         (POLL_ERR): Likewise.
46256         (POLL_PRI): Likewise.
46257         (POLL_HUP): Likewise.
46258         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
46259         (ILL_ILLOPN): Likewise.
46260         (ILL_ILLADR): Likewise.
46261         (ILL_ILLTRP): Likewise.
46262         (ILL_PRVOPC): Likewise.
46263         (ILL_PRVREG): Likewise.
46264         (ILL_COPROC): Likewise.
46265         (ILL_BADSTK): Likewise.
46266         (FPE_INTDIV): Likewise.
46267         (FPE_INTOVF): Likewise.
46268         (FPE_FLTDIV): Likewise.
46269         (FPE_FLTOVF): Likewise.
46270         (FPE_FLTUND): Likewise.
46271         (FPE_FLTRES): Likewise.
46272         (FPE_FLTINV): Likewise.
46273         (FPE_FLTSUB): Likewise.
46274         (SEGV_MAPERR): Likewise.
46275         (SEGV_ACCERR): Likewise.
46276         (BUS_ADRALN): Likewise.
46277         (BUS_ADRERR): Likewise.
46278         (BUS_OBJERR): Likewise.
46279         (BUS_MCEERR_AR): Likewise.
46280         (BUS_MCEERR_AO): Likewise.
46281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46282         (TRAP_TRACE): Likewise.
46283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46284         __USE_XOPEN2K8].
46285         (CLD_KILLED): Likewise.
46286         (CLD_DUMPED): Likewise.
46287         (CLD_TRAPPED): Likewise.
46288         (CLD_STOPPED): Likewise.
46289         (CLD_CONTINUED): Likewise.
46290         (POLL_IN): Likewise.
46291         (POLL_OUT): Likewise.
46292         (POLL_MSG): Likewise.
46293         (POLL_ERR): Likewise.
46294         (POLL_PRI): Likewise.
46295         (POLL_HUP): Likewise.
46296         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
46297         (ILL_ILLOPN): Likewise.
46298         (ILL_ILLADR): Likewise.
46299         (ILL_ILLTRP): Likewise.
46300         (ILL_PRVOPC): Likewise.
46301         (ILL_PRVREG): Likewise.
46302         (ILL_COPROC): Likewise.
46303         (ILL_BADSTK): Likewise.
46304         (ILL_DBLFLT): Likewise.
46305         (ILL_HARDWALL): Likewise.
46306         (FPE_INTDIV): Likewise.
46307         (FPE_INTOVF): Likewise.
46308         (FPE_FLTDIV): Likewise.
46309         (FPE_FLTOVF): Likewise.
46310         (FPE_FLTUND): Likewise.
46311         (FPE_FLTRES): Likewise.
46312         (FPE_FLTINV): Likewise.
46313         (FPE_FLTSUB): Likewise.
46314         (SEGV_MAPERR): Likewise.
46315         (SEGV_ACCERR): Likewise.
46316         (BUS_ADRALN): Likewise.
46317         (BUS_ADRERR): Likewise.
46318         (BUS_OBJERR): Likewise.
46319         (BUS_MCEERR_AR): Likewise.
46320         (BUS_MCEERR_AO): Likewise.
46321         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46322         (TRAP_TRACE): Likewise.
46323         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46324         __USE_XOPEN2K8].
46325         (CLD_KILLED): Likewise.
46326         (CLD_DUMPED): Likewise.
46327         (CLD_TRAPPED): Likewise.
46328         (CLD_STOPPED): Likewise.
46329         (CLD_CONTINUED): Likewise.
46330         (POLL_IN): Likewise.
46331         (POLL_OUT): Likewise.
46332         (POLL_MSG): Likewise.
46333         (POLL_ERR): Likewise.
46334         (POLL_PRI): Likewise.
46335         (POLL_HUP): Likewise.
46336         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
46337         (ILL_ILLOPN): Likewise.
46338         (ILL_ILLADR): Likewise.
46339         (ILL_ILLTRP): Likewise.
46340         (ILL_PRVOPC): Likewise.
46341         (ILL_PRVREG): Likewise.
46342         (ILL_COPROC): Likewise.
46343         (ILL_BADSTK): Likewise.
46344         (FPE_INTDIV): Likewise.
46345         (FPE_INTOVF): Likewise.
46346         (FPE_FLTDIV): Likewise.
46347         (FPE_FLTOVF): Likewise.
46348         (FPE_FLTUND): Likewise.
46349         (FPE_FLTRES): Likewise.
46350         (FPE_FLTINV): Likewise.
46351         (FPE_FLTSUB): Likewise.
46352         (SEGV_MAPERR): Likewise.
46353         (SEGV_ACCERR): Likewise.
46354         (BUS_ADRALN): Likewise.
46355         (BUS_ADRERR): Likewise.
46356         (BUS_OBJERR): Likewise.
46357         (BUS_MCEERR_AR): Likewise.
46358         (BUS_MCEERR_AO): Likewise.
46359         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
46360         (TRAP_TRACE): Likewise.
46361         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
46362         __USE_XOPEN2K8].
46363         (CLD_KILLED): Likewise.
46364         (CLD_DUMPED): Likewise.
46365         (CLD_TRAPPED): Likewise.
46366         (CLD_STOPPED): Likewise.
46367         (CLD_CONTINUED): Likewise.
46368         (POLL_IN): Likewise.
46369         (POLL_OUT): Likewise.
46370         (POLL_MSG): Likewise.
46371         (POLL_ERR): Likewise.
46372         (POLL_PRI): Likewise.
46373         (POLL_HUP): Likewise.
46374         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
46375         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46377         [BZ #16670]
46378         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
46379         before #include of <time.h>.
46380         [!__USE_XOPEN2K] (__need_timespec): Likewise.
46381         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
46382         (test-xfail-UNIX98/sched.h/conform): Likewise.
46384 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46386         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
46387         error absence of trapping exception support.
46388         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46390 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
46392         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
46393         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
46394         * timezone/Makefile (testdata): Move definition above include of
46395         Rules.
46396         (test-zones): New variable.
46397         (tests-special): Add zone files.
46398         (build-testdata): Use $(evaluate-test).
46400         * elf/Makefile (tests-special): Rename tests to end with .out.
46401         ($(objpfx)noload-mem): Likewise.
46402         ($(objpfx)tst-leaks1-mem): Likewise.
46403         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
46404         * iconv/Makefile (xtests-special): Change test-iconvconfig to
46405         $(objpfx)test-iconvconfig.out.
46406         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
46407         set -e inside subshell and redirect output to file.
46408         * iconvdata/Makefile (generated): Rename tests to end with .out.
46409         Correct type.
46410         (tests-special): Rename tests to end with .out.
46411         ($(objpfx)mtrace-tst-loading): Likewise.
46412         * intl/Makefile (generated): Likewise.
46413         (tests-special): Likewise.
46414         ($(objpfx)mtrace-tst-gettext): Likewise.
46415         * misc/Makefile (generated): Likewise.
46416         (tests-special): Likewise.
46417         ($(objpfx)tst-error1-mem): Likewise.
46418         * nptl/Makefile (tests-special): Likewise.
46419         ($(objpfx)tst-stack3-mem): Likewise.
46420         (generated): Likewise.
46421         * posix/Makefile (generated): Likewise.
46422         (tests-special): Likewise.
46423         (xtests-special): Likewise.
46424         ($(objpfx)tst-fnmatch-mem): Likewise.
46425         ($(objpfx)bug-regex2-mem): Likewise.
46426         ($(objpfx)bug-regex14-mem): Likewise.
46427         ($(objpfx)bug-regex21-mem): Likewise.
46428         ($(objpfx)bug-regex31-mem): Likewise.
46429         ($(objpfx)tst-vfork3-mem): Likewise.
46430         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46431         ($(objpfx)tst-pcre-mem): Likewise.
46432         ($(objpfx)tst-boost-mem): Likewise.
46433         ($(objpfx)bug-ga2-mem): Likewise.
46434         ($(objpfx)bug-glob2-mem): Likewise.
46435         * resolv/Makefile (generate): Likewise.
46436         (tests-special): Likewise.
46437         (xtests-special): Likewise.
46438         (generated): Likewise.
46439         ($(objpfx)mtrace-tst-leaks): Likewise.
46440         ($(objpfx)mtrace-tst-leaks2): Likewise.
46442         * scripts/merge-test-results.sh: New file.
46443         * Makefile (tests-special-notdir): New variable.
46444         (tests): Run merge-test-results.sh.
46445         (xtests): Likewise.
46446         * Rules (tests-special-notdir): New variable.
46447         (xtests-special-notdir): Likewise.
46448         (tests): Run merge-test-results.sh
46449         (xtests): Likewise.
46451         * Makeconfig (test-xfail-name): New variable.
46452         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
46453         compute variable name for expected failures.
46454         * conform/Makefile (conformtest-headers-data): New variable.
46455         (conformtest-standards): Likewise.
46456         (conformtest-headers-ISO): Likewise.
46457         (conformtest-headers-ISO99): Likewise.
46458         (conformtest-headers-ISO11): Likewise.
46459         (conformtest-headers-POSIX): Likewise.
46460         (conformtest-headers-XPG3): Likewise.
46461         (conformtest-headers-XPG4): Likewise.
46462         (conformtest-headers-UNIX98): Likewise.
46463         (conformtest-headers-XOPEN2K): Likewise.
46464         (conformtest-headers-POSIX2008): Likewise.
46465         (conformtest-headers-XOPEN2K8): Likewise.
46466         (conformtest-header-list-base): Likewise.
46467         (conformtest-header-list-tests): Likewise.
46468         (conformtest-header-base): Likewise.
46469         (conformtest-header-tests): Likewise.
46470         (tests-special): Add $(conformtest-header-list-tests).  If
46471         [$(fast-check) && !$(cross-compiling)], add
46472         $(conformtest-header-tests) instead of
46473         $(objpfx)run-conformtest.out.
46474         (generated): Add $(conformtest-header-list-base).  If
46475         [$(fast-check) && !$(cross-compiling)], add
46476         $(conformtest-header-base).  Remove previous setting.
46477         ($(conformtest-header-list-tests)): New target.
46478         (test-xfail-run-conformtest): Remove variable.
46479         ($(objpfx)run-conformtest.out): Remove target.
46480         (test-xfail-ISO11/complex.h/conform): New variable.
46481         (test-xfail-ISO11/stdalign.h/conform): Likewise.
46482         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
46483         (test-xfail-XPG3/varargs.h/conform): Likewise.
46484         (test-xfail-XPG4/varargs.h/conform): Likewise.
46485         (test-xfail-UNIX98/varargs.h/conform): Likewise.
46486         (test-xfail-XPG4/ndbm.h/conform): Likewise.
46487         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
46488         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
46489         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
46490         (test-xfail-XPG3/fcntl.h/conform): Likewise.
46491         (test-xfail-XPG3/ftw.h/conform): Likewise.
46492         (test-xfail-XPG3/grp.h/conform): Likewise.
46493         (test-xfail-XPG3/langinfo.h/conform): Likewise.
46494         (test-xfail-XPG3/limits.h/conform): Likewise.
46495         (test-xfail-XPG3/pwd.h/conform): Likewise.
46496         (test-xfail-XPG3/search.h/conform): Likewise.
46497         (test-xfail-XPG3/signal.h/conform): Likewise.
46498         (test-xfail-XPG3/stdio.h/conform): Likewise.
46499         (test-xfail-XPG3/stdlib.h/conform): Likewise.
46500         (test-xfail-XPG3/string.h/conform): Likewise.
46501         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
46502         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
46503         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
46504         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
46505         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
46506         (test-xfail-XPG3/sys/types.h/conform): Likewise.
46507         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
46508         (test-xfail-XPG3/termios.h/conform): Likewise.
46509         (test-xfail-XPG3/time.h/conform): Likewise.
46510         (test-xfail-XPG3/unistd.h/conform): Likewise.
46511         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
46512         (test-xfail-XPG4/fcntl.h/conform): Likewise.
46513         (test-xfail-XPG4/langinfo.h/conform): Likewise.
46514         (test-xfail-XPG4/netdb.h/conform): Likewise.
46515         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
46516         (test-xfail-XPG4/signal.h/conform): Likewise.
46517         (test-xfail-XPG4/stdio.h/conform): Likewise.
46518         (test-xfail-XPG4/stdlib.h/conform): Likewise.
46519         (test-xfail-XPG4/stropts.h/conform): Likewise.
46520         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
46521         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
46522         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
46523         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
46524         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
46525         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
46526         (test-xfail-XPG4/sys/time.h/conform): Likewise.
46527         (test-xfail-XPG4/sys/types.h/conform): Likewise.
46528         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
46529         (test-xfail-XPG4/termios.h/conform): Likewise.
46530         (test-xfail-XPG4/ucontext.h/conform): Likewise.
46531         (test-xfail-XPG4/unistd.h/conform): Likewise.
46532         (test-xfail-XPG4/utmpx.h/conform): Likewise.
46533         (test-xfail-POSIX/sched.h/conform): Likewise.
46534         (test-xfail-POSIX/signal.h/conform): Likewise.
46535         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
46536         (test-xfail-POSIX/tar.h/conform): Likewise.
46537         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
46538         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
46539         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
46540         (test-xfail-UNIX98/netdb.h/conform): Likewise.
46541         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
46542         (test-xfail-UNIX98/sched.h/conform): Likewise.
46543         (test-xfail-UNIX98/signal.h/conform): Likewise.
46544         (test-xfail-UNIX98/stdio.h/conform): Likewise.
46545         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
46546         (test-xfail-UNIX98/stropts.h/conform): Likewise.
46547         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
46548         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
46549         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
46550         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
46551         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
46552         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
46553         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
46554         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
46555         (test-xfail-UNIX98/unistd.h/conform): Likewise.
46556         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
46557         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
46558         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
46559         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
46560         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
46561         (test-xfail-XOPEN2K/math.h/conform): Likewise.
46562         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
46563         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
46564         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
46565         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
46566         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
46567         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
46568         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
46569         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
46570         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
46571         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
46572         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
46573         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
46574         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
46575         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
46576         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
46577         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
46578         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
46579         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
46580         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
46581         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
46582         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
46583         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
46584         (test-xfail-POSIX2008/signal.h/conform): Likewise.
46585         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
46586         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
46587         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
46588         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
46589         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
46590         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
46591         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
46592         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
46593         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
46594         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
46595         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
46596         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
46597         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
46598         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
46599         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
46600         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
46601         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
46602         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
46603         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
46604         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
46605         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
46606         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
46607         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
46608         (conformtest-cc-flags): Likewise.
46609         ($(conformtest-header-tests): New target.
46610         * conform/check-header-lists.sh: New file.
46611         * conform/run-conformtest.sh: Remove.
46613         * conform/conformtest.pl: Allow ' and \ in values given for
46614         constants.
46615         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
46616         inclusion.
46617         [POSIX] (sys/types.h): Likewise.
46618         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
46619         inclusion.
46620         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
46621         inclusion.
46622         * conform/data/signal.h-data (SIGIO): Remove expectation.
46623         [XPG3] (SIGBUS): Do not expect.
46624         [POSIX || XPG3] (SIGPOLL): Likewise.
46625         [POSIX || XPG3] (SIGPROF): Likewise.
46626         [POSIX || XPG3] (SIGSYS): Likewise.
46627         [XPG3] (SIGTRAP): Likewise.
46628         [POSIX || XPG3] (SIGURG): Likewise.
46629         [POSIX || XPG3] (SIGVTALRM): Likewise.
46630         [POSIX || XPG3] (SIGXCPU): Likewise.
46631         [POSIX || XPG3] (SIGXFSZ): Likewise.
46632         [POSIX] (SA_SIGINFO): Expect.
46633         [XPG3] (siginfo_t): Do not expect type or contents.
46634         [POSIX] (si_pid): Do not expect element.
46635         [POSIX] (si_uid): Likewise.
46636         [POSIX] (si_addr): Likewise.
46637         [POSIX] (si_status): Likewise.
46638         [POSIX] (si_band): Likewise.
46639         [XPG4] (si_value): Likewise.
46640         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
46641         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
46642         [POSIX || XPG3] (ILL_ILLADR): Likewise.
46643         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
46644         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
46645         [POSIX || XPG3] (ILL_PRVREG): Likewise.
46646         [POSIX || XPG3] (ILL_COPROC): Likewise.
46647         [POSIX || XPG3] (ILL_BADSTK): Likewise.
46648         [POSIX || XPG3] (FPE_INTDIV): Likewise.
46649         [POSIX || XPG3] (FPE_INTOVF): Likewise.
46650         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
46651         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
46652         [POSIX || XPG3] (FPE_FLTUND): Likewise.
46653         [POSIX || XPG3] (FPE_FLTRES): Likewise.
46654         [POSIX || XPG3] (FPE_FLTINV): Likewise.
46655         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
46656         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
46657         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
46658         [POSIX || XPG3] (BUS_ADRALN): Likewise.
46659         [POSIX || XPG3] (BUS_ADRERR): Likewise.
46660         [POSIX || XPG3] (BUS_OBJERR): Likewise.
46661         [POSIX || XPG3] (CLD_EXITED): Likewise.
46662         [POSIX || XPG3] (CLD_KILLED): Likewise.
46663         [POSIX || XPG3] (CLD_DUMPED): Likewise.
46664         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
46665         [POSIX || XPG3] (CLD_STOPPED): Likewise.
46666         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
46667         [POSIX || XPG3] (POLL_IN): Likewise.
46668         [POSIX || XPG3] (POLL_OUT): Likewise.
46669         [POSIX || XPG3] (POLL_MSG): Likewise.
46670         [POSIX || XPG3] (POLL_ERR): Likewise.
46671         [POSIX || XPG3] (POLL_PRI): Likewise.
46672         [POSIX || XPG3] (POLL_HUP): Likewise.
46673         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
46674         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
46675         (SIG*): Do not allow.
46676         [XPG3] (si_*): Likewise.
46677         [XPG3] (SI_*): Likewise.
46678         [XPG3 || XPG4] (sigev_*): Likewise.
46679         [XPG3 || XPG4] (SIGEV_*): Likewise.
46680         [XPG3 || XPG4] (sival_*): Likewise.
46681         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
46682         [POSIX || XPG3] (BUS_*): Likewise.
46683         [POSIX || XPG3] (CLD_*): Likewise.
46684         [POSIX || XPG3] (FPE_*): Likewise.
46685         [POSIX || XPG3] (ILL_*): Likewise.
46686         [POSIX || XPG3] (POLL_*): Likewise.
46687         [POSIX || XPG3] (SEGV_*): Likewise.
46688         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
46689         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
46690         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
46691         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
46692         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
46693         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
46694         Specify type and value.
46695         (TVERSLEN): Likewise.
46696         (REGTYPE): Likewise.
46697         (AREGTYPE): Likewise.
46698         (LNKTYPE): Likewise.
46699         (SYMTYPE): Likewise.
46700         (CHRTYPE): Likewise.
46701         (BLKTYPE): Likewise.
46702         (DIRTYPE): Likewise.
46703         (FIFOTYPE): Likewise.
46704         (CONTTYPE): Likewise.
46705         (TSUID): Likewise.
46706         (TSGID): Likewise.
46707         (TSVTX): Likewise.
46708         (TUREAD): Likewise.
46709         (TUWRITE): Likewise.
46710         (TUEXEC): Likewise.
46711         (TGREAD): Likewise.
46712         (TGWRITE): Likewise.
46713         (TGEXEC): Likewise.
46714         (TOREAD): Likewise.
46715         (TOWRITE): Likewise.
46716         (TOEXEC): Likewise.
46717         [POSIX] (TSVTX): Expect constant.
46719 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
46721         * Makefile (tests): Change dependencies to ....
46722         (tests-special): ... additions to this variable.
46723         (tests): Depend on $(tests-special).
46724         * Makerules (check-abi-list): New variable.
46725         (check-abi): Depend on $(check-abi-list).
46726         [$(subdir) = elf] (tests-special): Add
46727         $(objpfx)check-abi-libc.out.
46728         [$(build-shared) = yes && subdir] (tests-special): Add
46729         $(check-abi-list).
46730         [$(build-shared) = yes && subdir] (tests): Do not depend on
46731         check-abi.
46732         * Rules (tests): Depend on $(tests-special).
46733         (xtests): Depend on $(xtests-special).
46734         * catgets/Makefile (tests): Change dependencies to ....
46735         (tests-special): ... additions to this variable.
46736         * conform/Makefile (tests): Change dependencies to ....
46737         (tests-special): ... additions to this variable.
46738         * elf/Makefile (tests): Change dependencies to ....
46739         (tests-special): ... additions to this variable.
46740         * grp/Makefile (tests): Change dependencies to ....
46741         (tests-special): ... additions to this variable.
46742         * iconv/Makefile (xtests): Change dependencies to ....
46743         (xtests-special): ... additions to this variable.
46744         * iconvdata/Makefile (tests): Change dependencies to ....
46745         (tests-special): ... additions to this variable.
46746         * intl/Makefile (tests): Change dependencies to ....
46747         (tests-special): ... additions to this variable.  Also add
46748         $(objpfx)tst-gettext.out.
46749         * io/Makefile (tests): Change dependencies to ....
46750         (tests-special): ... additions to this variable.
46751         * libio/Makefile (tests): Change dependencies to ....
46752         (tests-special): ... additions to this variable.
46753         * malloc/Makefile (tests): Change dependencies to ....
46754         (tests-special): ... additions to this variable.
46755         * misc/Makefile (tests): Change dependencies to ....
46756         (tests-special): ... additions to this variable.
46757         * nptl/Makefile (tests): Change dependencies to ....
46758         (tests-special): ... additions to this variable.
46759         * nptl_db/Makefile (tests): Change dependencies to ....
46760         (tests-special): ... additions to this variable.
46761         * posix/Makefile (tests): Change dependencies to ....
46762         (tests-special): ... additions to this variable.
46763         (xtests): Change dependencies to ....
46764         (xtests-special): ... additions to this variable.
46765         * resolv/Makefile (tests): Change dependencies to ....
46766         (tests-special): ... additions to this variable.
46767         (xtests): Change dependencies to ....
46768         (xtests-special): ... additions to this variable.
46769         * stdio-common/Makefile (tests): Change dependencies to ....
46770         (tests-special): ... additions to this variable.
46771         (do-tst-unbputc): Remove target.
46772         (do-tst-printf): Likewise.
46773         * stdlib/Makefile (tests): Change dependencies to ....
46774         (tests-special): ... additions to this variable.
46775         * string/Makefile (tests): Change dependencies to ....
46776         (tests-special): ... additions to this variable.
46777         * sysdeps/x86/Makefile (tests): Change dependencies to ....
46778         (tests-special): ... additions to this variable.
46780         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
46781         whole file.
46782         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
46783         whole file.
46784         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
46785         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
46787         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
46788         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
46789         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
46790         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
46791         * conform/data/libgen.h-data [XPG3]: Likewise.
46792         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
46793         * conform/data/ndbm.h-data [XPG3]: Likewise.
46794         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46795         * conform/data/netdb.h-data [XPG3]: Likewise.
46796         * conform/data/netinet/in.h-data [XPG3]: Likewise.
46797         * conform/data/poll.h-data [XPG3]: Likewise.
46798         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
46799         * conform/data/strings.h-data [XPG3]: Likewise.
46800         * conform/data/stropts.h-data [XPG3]: Likewise.
46801         * conform/data/sys/mman.h-data [XPG3]: Likewise.
46802         * conform/data/sys/resource.h-data [XPG3]: Likewise.
46803         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
46804         Likewise.
46805         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
46806         * conform/data/sys/time.h-data [XPG3]: Likewise.
46807         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
46808         * conform/data/sys/uio.h-data [XPG3]: Likewise.
46809         * conform/data/sys/un.h-data [XPG3]: Likewise.
46810         * conform/data/syslog.h-data [XPG3]: Likewise.
46811         * conform/data/ucontext.h-data [XPG3]: Likewise.
46812         * conform/data/utmpx.h-data [XPG3]: Likewise.
46813         * conform/data/varargs.h-data [UNIX98]: Enable file.
46815         * manual/Makefile (INSTALL_INFO): Remove variable setting.
46817         * math/libm-test.inc (struct test_f_f_data): Move expected results
46818         into structure for each rounding mode.
46819         (struct test_ff_f_data): Likewise.
46820         (struct test_ff_f_data_nexttoward): Likewise.
46821         (struct test_fi_f_data): Likewise.
46822         (struct test_fl_f_data): Likewise.
46823         (struct test_if_f_data): Likewise.
46824         (struct test_fff_f_data): Likewise.
46825         (struct test_c_f_data): Likewise.
46826         (struct test_f_f1_data): Likewise.
46827         (struct test_fF_f1_data): Likewise.
46828         (struct test_ffI_f1_data): Likewise.
46829         (struct test_c_c_data): Likewise.
46830         (struct test_cc_c_data): Likewise.
46831         (struct test_f_i_data): Likewise.
46832         (struct test_ff_i_data): Likewise.
46833         (struct test_f_l_data): Likewise.
46834         (struct test_f_L_data): Likewise.
46835         (struct test_fFF_11_data): Likewise.
46836         (RM_): New macro.
46837         (RM_FE_DOWNWARD): Likewise.
46838         (RM_FE_TONEAREST): Likewise.
46839         (RM_FE_TOWARDZERO): Likewise.
46840         (RM_FE_UPWARD): Likewise.
46841         (RUN_TEST_LOOP_f_f): Update references to expected results.
46842         (RUN_TEST_LOOP_2_f): Likewise.
46843         (RUN_TEST_LOOP_fff_f): Likewise.
46844         (RUN_TEST_LOOP_c_f): Likewise.
46845         (RUN_TEST_LOOP_f_f1): Likewise.
46846         (RUN_TEST_LOOP_fF_f1): Likewise.
46847         (RUN_TEST_LOOP_fI_f1): Likewise.
46848         (RUN_TEST_LOOP_ffI_f1): Likewise.
46849         (RUN_TEST_LOOP_c_c): Likewise.
46850         (RUN_TEST_LOOP_cc_c): Likewise.
46851         (RUN_TEST_LOOP_f_i): Likewise.
46852         (RUN_TEST_LOOP_f_i_tg): Likewise.
46853         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46854         (RUN_TEST_LOOP_f_b): Likewise.
46855         (RUN_TEST_LOOP_f_b_tg): Likewise.
46856         (RUN_TEST_LOOP_f_l): Likewise.
46857         (RUN_TEST_LOOP_f_L): Likewise.
46858         (RUN_TEST_LOOP_fFF_11): Likewise.
46859         * math/gen-libm-test.pl (parse_args): Output four copies of
46860         expected results for each test.
46862         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46863         (__ASSUME_UTIMES): Remove.
46864         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46865         (__ASSUME_UTIMES): Likewise.
46867         * math/gen-auto-libm-tests.c: Update comment on output format.
46868         (output_for_one_input_case): Generate before-rounding and
46869         after-rounding information as conditions on output flags not
46870         floating-point format.
46871         * math/auto-libm-test-out: Regenerated.
46872         * math/gen-libm-test.pl (cond_value): New function.
46873         (or_cond_value): Use cond_value.
46874         (generate_testfile): Handle conditional exceptions.
46876 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
46878         * math/libm-test.inc (max_valid_error): New variable.
46879         (init_max_error): Take new argument specifying whether function
46880         results are exactly determined.  Set max_valid_error and bound
46881         other variables for errors based on this argument.
46882         (set_max_error): Do not record results above max_valid_error.
46883         (check_float_internal): Only accept errors of up to 0.5ulps if
46884         also at most max_valid_error.
46885         (START): Take new argument EXACT and pass it to init_max_error.
46886         (acos_test): Update call to START.
46887         (acos_test_tonearest): Likewise.
46888         (acos_test_towardzero): Likewise.
46889         (acos_test_downward): Likewise.
46890         (acos_test_upward): Likewise.
46891         (acosh_test): Likewise.
46892         (asin_test): Likewise.
46893         (asin_test_tonearest): Likewise.
46894         (asin_test_towardzero): Likewise.
46895         (asin_test_downward): Likewise.
46896         (asin_test_upward): Likewise.
46897         (asinh_test): Likewise.
46898         (atan_test): Likewise.
46899         (atanh_test): Likewise.
46900         (atan2_test): Likewise.
46901         (cabs_test): Likewise.
46902         (cacos_test): Likewise.
46903         (cacosh_test): Likewise.
46904         (carg_test): Likewise.
46905         (casin_test): Likewise.
46906         (casinh_test): Likewise.
46907         (catan_test): Likewise.
46908         (catanh_test): Likewise.
46909         (cbrt_test): Likewise.
46910         (ccos_test): Likewise.
46911         (ccosh_test): Likewise.
46912         (ceil_test): Likewise.
46913         (cexp_test): Likewise.
46914         (cimag_test): Likewise.
46915         (clog_test): Likewise.
46916         (clog10_test): Likewise.
46917         (conj_test): Likewise.
46918         (copysign_test): Likewise.
46919         (cos_test): Likewise.
46920         (cos_test_tonearest): Likewise.
46921         (cos_test_towardzero): Likewise.
46922         (cos_test_downward): Likewise.
46923         (cos_test_upward): Likewise.
46924         (cosh_test): Likewise.
46925         (cosh_test_tonearest): Likewise.
46926         (cosh_test_towardzero): Likewise.
46927         (cosh_test_downward): Likewise.
46928         (cosh_test_upward): Likewise.
46929         (cpow_test): Likewise.
46930         (cproj_test): Likewise.
46931         (creal_test): Likewise.
46932         (csin_test): Likewise.
46933         (csinh_test): Likewise.
46934         (csqrt_test): Likewise.
46935         (ctan_test): Likewise.
46936         (ctan_test_tonearest): Likewise.
46937         (ctan_test_towardzero): Likewise.
46938         (ctan_test_downward): Likewise.
46939         (ctan_test_upward): Likewise.
46940         (ctanh_test): Likewise.
46941         (ctanh_test_tonearest): Likewise.
46942         (ctanh_test_towardzero): Likewise.
46943         (ctanh_test_downward): Likewise.
46944         (ctanh_test_upward): Likewise.
46945         (erf_test): Likewise.
46946         (erfc_test): Likewise.
46947         (exp_test): Likewise.
46948         (exp_test_tonearest): Likewise.
46949         (exp_test_towardzero): Likewise.
46950         (exp_test_downward): Likewise.
46951         (exp_test_upward): Likewise.
46952         (exp10_test): Likewise.
46953         (exp10_test_tonearest): Likewise.
46954         (exp10_test_towardzero): Likewise.
46955         (exp10_test_downward): Likewise.
46956         (exp10_test_upward): Likewise.
46957         (pow10_test): Likewise.
46958         (exp2_test): Likewise.
46959         (expm1_test): Likewise.
46960         (expm1_test_tonearest): Likewise.
46961         (expm1_test_towardzero): Likewise.
46962         (expm1_test_downward): Likewise.
46963         (expm1_test_upward): Likewise.
46964         (fabs_test): Likewise.
46965         (fdim_test): Likewise.
46966         (floor_test): Likewise.
46967         (fma_test): Likewise.
46968         (fma_test_towardzero): Likewise.
46969         (fma_test_downward): Likewise.
46970         (fma_test_upward): Likewise.
46971         (fmax_test): Likewise.
46972         (fmin_test): Likewise.
46973         (fmod_test): Likewise.
46974         (fpclassify_test): Likewise.
46975         (frexp_test): Likewise.
46976         (hypot_test): Likewise.
46977         (ilogb_test): Likewise.
46978         (isfinite_test): Likewise.
46979         (finite_test): Likewise.
46980         (isgreater_test): Likewise.
46981         (isgreaterequal_test): Likewise.
46982         (isinf_test): Likewise.
46983         (isless_test): Likewise.
46984         (islessequal_test): Likewise.
46985         (islessgreater_test): Likewise.
46986         (isnan_test): Likewise.
46987         (isnormal_test): Likewise.
46988         (issignaling_test): Likewise.
46989         (isunordered_test): Likewise.
46990         (j0_test): Likewise.
46991         (j1_test): Likewise.
46992         (jn_test): Likewise.
46993         (ldexp_test): Likewise.
46994         (lgamma_test): Likewise.
46995         (gamma_test): Likewise.
46996         (lrint_test): Likewise.
46997         (lrint_test_tonearest): Likewise.
46998         (lrint_test_towardzero): Likewise.
46999         (lrint_test_downward): Likewise.
47000         (lrint_test_upward): Likewise.
47001         (llrint_test): Likewise.
47002         (llrint_test_tonearest): Likewise.
47003         (llrint_test_towardzero): Likewise.
47004         (llrint_test_downward): Likewise.
47005         (llrint_test_upward): Likewise.
47006         (log_test): Likewise.
47007         (log10_test): Likewise.
47008         (log1p_test): Likewise.
47009         (log2_test): Likewise.
47010         (logb_test): Likewise.
47011         (logb_test_downward): Likewise.
47012         (lround_test): Likewise.
47013         (llround_test): Likewise.
47014         (modf_test): Likewise.
47015         (nearbyint_test): Likewise.
47016         (nextafter_test): Likewise.
47017         (nexttoward_test): Likewise.
47018         (pow_test): Likewise.
47019         (pow_test_tonearest): Likewise.
47020         (pow_test_towardzero): Likewise.
47021         (pow_test_downward): Likewise.
47022         (pow_test_upward): Likewise.
47023         (remainder_test): Likewise.
47024         (drem_test): Likewise.
47025         (remainder_test_tonearest): Likewise.
47026         (drem_test_tonearest): Likewise.
47027         (remainder_test_towardzero): Likewise.
47028         (drem_test_towardzero): Likewise.
47029         (remainder_test_downward): Likewise.
47030         (drem_test_downward): Likewise.
47031         (remainder_test_upward): Likewise.
47032         (drem_test_upward): Likewise.
47033         (remquo_test): Likewise.
47034         (rint_test): Likewise.
47035         (rint_test_tonearest): Likewise.
47036         (rint_test_towardzero): Likewise.
47037         (rint_test_downward): Likewise.
47038         (rint_test_upward): Likewise.
47039         (round_test): Likewise.
47040         (scalb_test): Likewise.
47041         (scalbn_test): Likewise.
47042         (scalbln_test): Likewise.
47043         (signbit_test): Likewise.
47044         (sin_test): Likewise.
47045         (sin_test_tonearest): Likewise.
47046         (sin_test_towardzero): Likewise.
47047         (sin_test_downward): Likewise.
47048         (sin_test_upward): Likewise.
47049         (sincos_test): Likewise.
47050         (sinh_test): Likewise.
47051         (sinh_test_tonearest): Likewise.
47052         (sinh_test_towardzero): Likewise.
47053         (sinh_test_downward): Likewise.
47054         (sinh_test_upward): Likewise.
47055         (sqrt_test): Likewise.
47056         (sqrt_test_tonearest): Likewise.
47057         (sqrt_test_towardzero): Likewise.
47058         (sqrt_test_downward): Likewise.
47059         (sqrt_test_upward): Likewise.
47060         (tan_test): Likewise.
47061         (tan_test_tonearest): Likewise.
47062         (tan_test_towardzero): Likewise.
47063         (tan_test_downward): Likewise.
47064         (tan_test_upward): Likewise.
47065         (tanh_test): Likewise.
47066         (tgamma_test): Likewise.
47067         (trunc_test): Likewise.
47068         (y0_test): Likewise.
47069         (y1_test): Likewise.
47070         (yn_test): Likewise.
47071         (significand_test): Likewise.
47073         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
47074         individual tests in comment.
47075         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
47076         (prev_max_error): New variable.
47077         (prev_real_max_error): Likewise.
47078         (prev_imag_max_error): Likewise.
47079         (compare_ulp_data): Don't refer to test names in comment.
47080         (find_test_ulps): Remove function.
47081         (find_function_ulps): Likewise.
47082         (find_complex_function_ulps): Likewise.
47083         (init_max_error): Take function name as argument.  Look up ulps
47084         for that function.
47085         (print_ulps): Remove function.
47086         (print_max_error): Use prev_max_error instead of calling
47087         find_function_ulps.
47088         (print_complex_max_error): Use prev_real_max_error and
47089         prev_imag_max_error instead of calling find_complex_function_ulps.
47090         (check_float_internal): Take max_ulp parameter instead of calling
47091         find_test_ulps.  Don't call print_ulps.
47092         (check_float): Update call to check_float_internal.
47093         (check_complex): Update calls to check_float_internal.
47094         (START): Pass argument to init_max_error.
47095         * math/gen-libm-test.pl (%results): Don't include "kind"
47096         information.
47097         (parse_ulps): Don't handle ulps of individual tests.
47098         (print_ulps_file): Likewise.
47099         (output_ulps): Likewise.
47100         * math/README.libm-test: Update.
47101         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
47102         individual tests.
47103         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
47104         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
47105         * sysdeps/arm/libm-test-ulps: Likewise.
47106         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
47107         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
47108         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
47109         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
47110         * sysdeps/microblaze/libm-test-ulps: Likewise.
47111         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
47112         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47113         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47114         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
47115         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47116         * sysdeps/sh/libm-test-ulps: Likewise.
47117         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47118         * sysdeps/tile/libm-test-ulps: Likewise.
47119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47121 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
47123         * math/libm-test.inc (print_complex_max_error): Check separately
47124         whether real and imaginary errors are within allowed range and
47125         pass 0 to print_complex_function_ulps instead of value within
47126         allowed range.
47128 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47130         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
47131         formatting.
47132         (get_handles_fopen): Likewise.
47133         (do_write_test): Likewise.
47135         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
47137         * libio/fileops.c (do_ftell): Use cached offset when
47138         available.
47139         * libio/iofwide.c (do_ftell_wide): Likewise.
47140         * libio/iofdopen.c (_IO_new_fdopen): Don't use
47141         _IO_file_attach.
47142         * libio/wfileops.c (_IO_fwide): Don't cache offset.
47144         [BZ #16532]
47145         * libio/libioP.h (get_file_offset): New function.
47146         * libio/fileops.c (get_file_offset): Likewise.
47147         (do_ftell): Likewise.
47148         (_IO_new_file_seekoff): Split out ftell logic.
47149         * libio/wfileops.c (do_ftell_wide): Likewise.
47150         (_IO_wfile_seekoff): Split out ftell logic.
47151         * libio/tst-ftell-active-handler.c: New test case.
47152         * libio/Makefile (tests): Add it.
47154 2014-03-03  Roland McGrath  <roland@hack.frob.com>
47156         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
47157         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
47159 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47161         [BZ #16639]
47162         * nscd/connections.c (nscd_init): Call do_exit.
47163         (start_threads): Call do_exit and notify_parent.
47164         (begin_drop_privileges): Call do_exit.
47165         (finish_drop_privileges): Likewise.
47166         * nscd/selinux.c (preserve_capabilities): Likewise.
47167         (install_real_capabilities): Likewise.
47168         (nscd_selinux_enabled): Likewise.
47169         (avc_create_thread): Likewise.
47170         (avc_alloc_lock): Likewise.
47171         (nscd_avc_init): Likewise.
47172         * nscd/nscd.c (parent_fd): New static variable.
47173         (main): Create a pipe between parent and child processes.
47174         Skip closing parent_fd.
47175         (monitor_child): New function.
47176         (do_exit): Likewise.
47177         (notify_parent): Likewise.
47178         * nscd/nscd.h (notify_parent): Likewise.
47179         (do_exit): Likewise.
47181 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
47183         * malloc/malloc.c (__libc_calloc): Revert last change.
47185 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47189 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47191         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
47192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
47193         implementation.
47194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47195         (__libc_ifunc_impl_list): Likewise.
47196         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
47197         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
47198         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
47199         * string/strrchr.c: Define STRRCHR.
47201 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
47203         * benchtest/bench-strtok.c (simple_strtok): Delete.
47204         (strtok_string): Use as benchmark.
47205         * string/strtok (STRTOK): New macro.
47207 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
47209         * manual/threads.texi: Add header and standard comments to all
47210         functions.
47212         * elf/dl-lookup.c (check_match): New function.
47213         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
47214         (do_lookup_x): Remove nested function check_match. Use non-nested
47215         function check_match.
47217 2014-02-28  Roland McGrath  <roland@hack.frob.com>
47219         * csu/Makefile (generated, before-compile): Use += rather than =.
47220         * catgets/Makefile (generated, generated-dirs): Likewise.
47221         * debug/Makefile (generated): Likewise.
47222         * dlfcn/Makefile (generated): Likewise.
47223         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
47224         * iconvdata/Makefile (before-compile, generated): Likewise.
47225         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
47226         * libio/Makefile (generated): Likewise.
47227         * malloc/Makefile (generated): Likewise.
47228         * manual/Makefile (generated, generated-dirs): Likewise.
47229         * misc/Makefile (generated): Likewise.
47230         * posix/Makefile (generated): Likewise.
47231         * resolv/Makefile (generated): Likewise.
47232         * sunrpc/Makefile (generated, generated-dirs): Likewise.
47233         * timezone/Makefile (generated, generated-dirs): Likewise.
47235         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
47237 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
47240         power8 implementation.
47241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
47242         file: POWER8 llround ifunc implementation.
47243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
47244         (__lllround): Add POWER8 implementation.
47245         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
47246         POWER8 llround implementation.
47248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
47249         power8 implementation.
47250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
47251         file: POWER8 llrint ifunc implementation.
47252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
47253         Add POWER8 implementation.
47254         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
47255         POWER8 llrint implementation.
47257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
47258         power8 implementation.
47259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
47260         file: POWER8 finite ifunc implementation.
47261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
47262         Add POWER8 implementation.
47263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
47264         Likewise.
47265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
47266         POWER8 finite implementation.
47267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
47269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
47270         power8 implementation.
47271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
47272         file: POWER8 isinf ifunc implementation.
47273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
47274         POWER8 implementation.
47275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
47276         Likewise.
47277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
47278         isinf implementation.
47279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
47281         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
47282         (INIT_ARCH): Add hwcap2 initialization.
47283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
47284         power8 implementation.
47285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
47286         file: POWER8 isnan ifunc implementation.
47287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
47288         POWER8 implementation.
47289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
47290         Likewise.
47291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
47292         isnan implementation.
47293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
47295 2014-02-27  Joey Ye  <joey.ye@arm.com>
47297         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
47298         (_FP_NANFRAC_Q): Set to zero.
47300 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47302         [BZ #16623]
47303         * math/auto-libm-test-in: New test inputs.
47304         * math/auto-libm-test-out: Regenerate.
47305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
47306         and DA.
47307         (__cos): Likewise.
47308         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47310 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
47312         * scripts/evaluate-test.sh: Take new argument indicating whether
47313         failure is expected.
47314         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
47315         indicating whether failure is expected.
47316         * conform/Makefile (test-xfail-run-conformtest): New variable.
47317         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
47318         level.
47319         * posix/Makefile (test-xfail-annexc): New variable.
47320         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
47322 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
47324         * argp/Makefile: Include Makeconfig immediately after defining
47325         subdir.
47326         * assert/Makefile: Likewise.
47327         * benchtests/Makefile: Likewise.
47328         * catgets/Makefile: Likewise.
47329         * conform/Makefile: Likewise.
47330         * crypt/Makefile: Likewise.
47331         * csu/Makefile: Likewise.
47332         (all): Remove target.
47333         * ctype/Makefile: Include Makeconfig immediately after defining
47334         subdir.
47335         * debug/Makefile: Likewise.
47336         * dirent/Makefile: Likewise.
47337         * dlfcn/Makefile: Likewise.
47338         * gmon/Makefile: Likewise.
47339         * gnulib/Makefile: Likewise.
47340         * grp/Makefile: Likewise.
47341         * gshadow/Makefile: Likewise.
47342         * hesiod/Makefile: Likewise.
47343         * hurd/Makefile: Likewise.
47344         (all): Remove target.
47345         * iconvdata/Makefile: Include Makeconfig immediately after
47346         defining subdir.
47347         * inet/Makefile: Likewise.
47348         * intl/Makefile: Likewise.
47349         * io/Makefile: Likewise.
47350         * libio/Makefile: Likewise.
47351         (all): Remove target.
47352         * locale/Makefile: Include Makeconfig immediately after defining
47353         subdir.
47354         * login/Makefile: Likewise.
47355         * mach/Makefile: Likewise.
47356         (all): Remove target.
47357         * malloc/Makefile: Include Makeconfig immediately after defining
47358         subdir.
47359         (all): Remove target.
47360         * manual/Makefile: Include Makeconfig immediately after defining
47361         subdir.
47362         * math/Makefile: Likewise.
47363         * misc/Makefile: Likewise.
47364         * nis/Makefile: Likewise.
47365         * nss/Makefile: Likewise.
47366         * po/Makefile: Likewise.
47367         (all): Remove target.
47368         * posix/Makefile: Include Makeconfig immediately after defining
47369         subdir.
47370         * pwd/Makefile: Likewise.
47371         * resolv/Makefile: Likewise.
47372         * resource/Makefile: Likewise.
47373         * rt/Makefile: Likewise.
47374         * setjmp/Makefile: Likewise.
47375         * shadow/Makefile: Likewise.
47376         * signal/Makefile: Likewise.
47377         * socket/Makefile: Likewise.
47378         * soft-fp/Makefile: Likewise.
47379         * stdio-common/Makefile: Likewise.
47380         * stdlib/Makefile: Likewise.
47381         * streams/Makefile: Likewise.
47382         * string/Makefile: Likewise.
47383         * sunrpc/Makefile: Likewise.
47384         (all): Remove target.
47385         * sysvipc/Makefile: Include Makeconfig immediately after defining
47386         subdir.
47387         * termios/Makefile: Likewise.
47388         * time/Makefile: Likewise.
47389         * timezone/Makefile: Likewise.
47390         (all): Remove target.
47391         * wcsmbs/Makefile: Include Makeconfig immediately after defining
47392         subdir.
47393         * wctype/Makefile: Likewise.
47395 2014-02-26  Steve Ellcey  <sellcey@mips.com>
47397         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
47398         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
47399         (libc_feholdexcept_setround_mips): Ditto.
47400         (libc_feholdsetround): New.
47401         (libc_feholdsetroundf): New.
47402         (libc_feholdsetroundl): New.
47403         (libc_feupdateenv_test_mips): New.
47404         (libc_feupdateenv_test): New.
47405         (libc_feupdateenv_testf): New.
47406         (libc_feupdateenv_testl): New.
47407         (libc_feresetround): New.
47408         (libc_feresetroundf): New.
47409         (libc_feresetroundl): New.
47410         (libc_fetestexcept_mips): New.
47411         (libc_fetestexcept): New.
47412         (libc_fetestexceptf): New.
47413         (libc_fetestexceptl): New.
47414         (HAVE_RM_CTX): New.
47415         (libc_feholdexcept_setround_mips_ctx): New.
47416         (libc_feholdexcept_setround_ctx): New.
47417         (libc_feholdexcept_setroundf_ctx): New.
47418         (libc_feholdexcept_setroundl_ctx): New.
47419         (libc_fesetenv_mips_ctx): New.
47420         (libc_fesetenv_ctx): New.
47421         (libc_fesetenv_ctxf): New.
47422         (libc_fesetenv_ctxl): New.
47423         (libc_feupdateenv_mips_ctx): New.
47424         (libc_feupdateenv_ctx): New.
47425         (libc_feupdateenvf_ctx): New.
47426         (libc_feupdateenvl_ctx): New.
47427         (libc_feholdsetround_mips_ctx): New.
47428         (libc_feholdsetround_ctx): New.
47429         (libc_feholdsetroundf_ctx): New.
47430         (libc_feholdsetroundl_ctx): New.
47431         (libc_feresetround_mips_ctx): New.
47432         (libc_feresetround_ctx): New.
47433         (libc_feresetroundf_ctx): New.
47434         (libc_feresetroundl_ctx): New.
47436 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
47438         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
47440         * manual/ipc.texi: New file.
47441         * manual/Makefile (chapters): Add ipc.
47442         * manual/job.texi: Add "Inter-Process Communication" to next.
47443         * manual/process.texi: Add "Inter-Process Communication" to prev.
47445 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47449 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
47451         * malloc/malloc.c (__libc_calloc): Simplify implementation.
47453         * manual/arith.texi: Fix spaces after sentences.
47454         * manual/charset.texi: Likewise.
47455         * manual/errno.texi: Likewise.
47456         * manual/install.texi: Likewise.
47457         * manual/llio.texi: Likewise.
47458         * manual/locale.texi: Likewise.
47459         * manual/maint.texi: Likewise.
47460         * manual/math.texi: Likewise.
47461         * manual/memory.texi: Likewise.
47462         * manual/message.texi: Likewise.
47463         * manual/probes.texi: Likewise.
47464         * manual/resource.texi: Likewise.
47465         * manual/signal.texi: Likewise.
47466         * manual/socket.texi: Likewise.
47467         * manual/stdio.texi: Likewise.
47468         * manual/string.texi: Likewise.
47469         * manual/time.texi: Likewise.
47470         * manual/users.texi: Likewise.
47472 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
47474         [BZ #16632]
47475         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
47476         _DEFAULT_SOURCE is defined.
47478 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
47479             Carlos O'Donell  <carlos@redhat.com>
47481         [BZ #16613]
47482         * elf/dl-tls.c (_dl_count_modids): New function.
47483         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
47484         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
47485         audit library and increment generation counter.
47486         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
47487         * elf/tst-audit9.c: New file.
47488         * elf/tst-auditmod9a.c: New file.
47489         * elf/tst-auditmod9b.c: New file.
47490         * elf/Makefile: Add rules to build and run tst-audit9.
47492 2014-02-25  Florian Weimer  <fweimer@redhat.com>
47494         [BZ #15347]
47495         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
47497 2014-02-25  Will Newton  <will.newton@linaro.org>
47499         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
47500         (__longjmp): Restore sp and lr before restoring callee
47501         saved registers.  Add longjmp and longjmp_target
47502         SystemTap probe point.
47503         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
47504         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
47505         Define to zero to match jmpbuf layout.
47506         * sysdeps/arm/setjmp.S: Include stap-probe.h.
47507         (__sigsetjmp): Save sp and lr before saving callee
47508         saved registers.  Add setjmp SystemTap probe point.
47510 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
47512         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47514 2014-02-24  Andreas Schwab  <schwab@suse.de>
47516         [BZ #15804]
47517         * elf/pldd.c (wait_for_ptrace_stop): New function.
47518         (main): Call it after attaching.
47520 2014-02-22  Roland McGrath  <roland@hack.frob.com>
47522         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
47523         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
47524         Versions files is now verboten.
47525         * hurd/Versions (libc: GLIBC_2.0):
47526         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
47527         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
47528         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
47529         * mach/Versions: Likewise.
47531         * csu/Versions: Remove unused %include.
47532         * resolv/Versions: Likewise.
47534 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
47536         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
47537         ($(objpfx)check-local-headers.out): Likewise.
47538         ($(objpfx)begin-end-check.out): Likewise.
47539         * Makerules (check-abi-%.out): Likewise.
47540         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
47541         ($(objpfx)test2.cat): Likewise.
47542         ($(objpfx)de/libc.cat): Likewise.
47543         ($(objpfx)test-gencat.out): Likewise.
47544         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
47545         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
47546         ($(objpfx)noload-mem): Likewise.
47547         ($(objpfx)tst-pathopt.out): Likewise.
47548         ($(objpfx)tst-rtld-load-self.out): Likewise.
47549         ($(objpfx)tst-array1-cmp.out): Likewise.
47550         ($(objpfx)tst-array1-static-cmp.out): Likewise.
47551         ($(objpfx)tst-array2-cmp.out): Likewise.
47552         ($(objpfx)tst-array3-cmp.out): Likewise.
47553         ($(objpfx)tst-array4-cmp.out): Likewise.
47554         ($(objpfx)tst-array5-cmp.out): Likewise.
47555         ($(objpfx)tst-array5-static-cmp.out): Likewise.
47556         ($(objpfx)check-textrel.out): Likewise.
47557         ($(objpfx)check-execstack.out): Likewise.
47558         ($(objpfx)check-localplt.out): Likewise.
47559         ($(objpfx)order2-cmp.out): Likewise.
47560         ($(objpfx)tst-leaks1-mem): Likewise.
47561         ($(objpfx)tst-leaks1-static-mem): Likewise.
47562         ($(objpfx)tst-initorder-cmp.out): Likewise.
47563         ($(objpfx)tst-initorder2-cmp.out): Likewise.
47564         ($(objpfx)tst-unused-dep.out): Likewise.
47565         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
47566         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
47567         * iconv/Makefile (test-iconvconfig): Likewise.
47568         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
47569         ($(objpfx)iconv-test.out): Likewise.
47570         ($(objpfx)tst-tables.out): Likewise.
47571         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
47572         ($(objpfx)tst-gettext.out): Likewise.
47573         ($(objpfx)tst-translit.out): Likewise.
47574         ($(objpfx)tst-gettext2.out): Likewise.
47575         ($(objpfx)tst-gettext4.out): Likewise.
47576         ($(objpfx)tst-gettext6.out): Likewise.
47577         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
47578         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
47579         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
47580         ($(objpfx)tst-fopenloc-mem.out): Likewise.
47581         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
47582         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
47583         * posix/Makefile ($(objpfx)globtest.out): Likewise.
47584         ($(objpfx)wordexp-tst.out): Likewise.
47585         ($(objpfx)annexc.out): Likewise.
47586         ($(objpfx)tst-fnmatch-mem): Likewise.
47587         ($(objpfx)bug-regex2-mem): Likewise.
47588         ($(objpfx)bug-regex14-mem): Likewise.
47589         ($(objpfx)bug-regex21-mem): Likewise.
47590         ($(objpfx)bug-regex31-mem): Likewise.
47591         ($(objpfx)tst-vfork3-mem): Likewise.
47592         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47593         ($(objpfx)tst-pcre-mem): Likewise.
47594         ($(objpfx)tst-boost-mem): Likewise.
47595         ($(objpfx)tst-getconf.out): Likewise.
47596         ($(objpfx)bug-ga2-mem): Likewise.
47597         ($(objpfx)bug-glob2-mem): Likewise.
47598         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
47599         ($(objpfx)mtrace-tst-leaks2): Likewise.
47600         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
47601         ($(objpfx)tst-printf.out): Likewise.
47602         ($(objpfx)tst-setvbuf1.out): Likewise.
47603         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
47604         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
47605         ($(objpfx)tst-fmtmsg.out): Likewise.
47606         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
47607         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
47609         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
47610         * bits/sigaction.h [__USE_MISC]: Likewise.
47611         * bits/waitstatus.h: Update #endif comments.
47612         * ctype/ctype.h: Likewise.
47613         * dirent/dirent.h: Likewise.
47614         [__USE_MISC]: Remove redundant conditionals.
47615         * grp/grp.h: Update #endif comments.
47616         [__USE_GNU]: Remove redundant conditionals.
47617         [__USE_MISC]: Likewise.
47618         * inet/netinet/in.h [__USE_GNU]: Likewise.
47619         * io/sys/stat.h [__USE_MISC]: Likewise.
47620         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
47621         * libio/bits/stdio.h: Update #endif comments.
47622         [__USE_MISC]: Remove redundant conditionals.
47623         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
47624         * libio/stdio.h: Update #endif comments.
47625         [__USE_MISC]: Remove redundant conditionals.
47626         * math/bits/math-finite.h [__USE_MISC]: Likewise.
47627         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
47628         * math/math.h: Update #else and #endif comments.
47629         [__USE_MISC]: Remove redundant conditionals.
47630         * misc/sys/uio.h: Update #endif comments.
47631         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
47632         * posix/glob.h [__USE_MISC]: Likewise.
47633         * posix/sys/types.h: Update #endif comments.
47634         [__USE_MISC]: Remove redundant conditionals.
47635         * posix/sys/wait.h: Update #endif comments.
47636         [__USE_MISC]: Remove redundant conditionals.
47637         * posix/unistd.h: Update #endif comments.
47638         [__USE_MISC]: Remove redundant conditionals.
47639         * pwd/pwd.h [__USE_GNU]: Likewise.
47640         [__USE_MISC]: Likewise.
47641         * resolv/netdb.h [__USE_GNU]: Likewise.
47642         * signal/signal.h: Update #endif comments.
47643         [__USE_MISC]: Remove redundant conditionals.
47644         * stdlib/stdlib.h: Update #else and #endif comments.
47645         [__USE_MISC]: Remove redundant conditionals.
47646         [__USE_GNU]: Likewise.
47647         * string/bits/string2.h [__USE_MISC]: Likewise.
47648         * string/string.h: Update #endif comments.
47649         [__USE_MISC]: Remove redundant conditionals.
47650         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
47651         Likewise.
47652         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
47653         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
47654         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
47655         Likewise.
47656         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
47657         Likewise.
47658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
47659         comments.
47660         [__USE_MISC]: Remove redundant conditionals.
47661         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
47662         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
47663         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
47664         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
47665         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
47666         Likewise.
47667         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
47668         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
47669         Likewise.
47670         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
47671         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
47672         Likewise.
47673         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
47674         Likewise.
47675         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
47676         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
47677         Likewise.
47678         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
47679         Likewise.
47680         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
47681         * sysdeps/x86/bits/string.h: Update #endif comments.
47682         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
47683         conditionals.
47684         * time/sys/time.h: Update #endif comments.
47685         * time/time.h: Likewise.
47686         [__USE_MISC]: Remove redundant conditionals.
47688 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
47690         [BZ #16600]
47691         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
47693 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
47695         * Versions.def (librt): Add GLIBC_2.17.
47697 2014-02-21  Adam Conrad  <adconrad@0c3.net>
47699         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
47700         synonym for _SYS_AUXV_H to allow direct inclusion.
47701         * sysdeps/sparc/bits/hwcap.h: Likewise.
47702         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
47703         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
47704         * sysdeps/sparc/sysdep.h: Likewise.
47706 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47708         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
47710 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47712         * benchtests/bench-strrchr.c: Print length instead of position.
47714 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
47716         [BZ #16611]
47717         * sysdeps/unix/sysv/linux/kernel-features.h
47718         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
47719         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
47720         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
47721         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
47722         Likewise.
47723         [__i386__ || __powerpc__ || __sh__ || __sparc__]
47724         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47725         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
47726         (__ASSUME_SENDMMSG): Define instead of using previous
47727         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
47728         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47729         (__ASSUME_SENDMMSG_SYSCALL): Define.
47730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47731         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
47732         Likewise.
47733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47734         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47735         Likewise.
47736         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47737         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47738         Likewise.
47739         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
47740         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47741         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47742         [__ASSUME_SENDMMSG]: Change conditionals to
47743         [__ASSUME_SENDMMSG_SOCKETCALL].
47744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47745         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
47746         Define.
47747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47748         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
47749         Likewise.
47750         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
47751         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
47752         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
47753         [!__ASSUME_SENDMMSG]: Change conditional to
47754         [!__ASSUME_SENDMMSG_SOCKETCALL].
47755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47756         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
47757         Define.
47759         [BZ #16610]
47760         * sysdeps/unix/sysv/linux/kernel-features.h
47761         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
47762         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
47763         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
47764         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
47765         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47766         [__i386__ || __sparc__]
47767         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47768         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
47769         (__ASSUME_RECVMMSG): Define instead of using previous
47770         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
47771         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47772         (__ASSUME_RECVMMSG_SYSCALL): Define.
47773         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47775         Likewise.
47776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47777         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47778         Likewise.
47779         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47780         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47781         Likewise.
47782         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
47783         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47784         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47785         [__ASSUME_RECVMMSG]: Change condition to
47786         [__ASSUME_RECVMMSG_SOCKETCALL].
47787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47789         Define.
47790         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47791         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
47793         Likewise.
47794         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
47795         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
47796         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
47797         [!__ASSUME_RECVMMSG]: Change condition to
47798         [!__ASSUME_RECVMMSG_SOCKETCALL].
47799         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47800         (__ASSUME_RECVMMSG_SYSCALL): Define.
47802         [BZ #16609]
47803         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
47804         __powerpc__ || __s390__ || __sh__ || __sparc__]
47805         (__ASSUME_SOCKETCALL): Define.
47806         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
47807         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
47808         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
47809         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
47810         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47811         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47812         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
47813         (__ASSUME_ACCEPT4): Define instead of using previous
47814         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
47815         __powerpc__ || __sparc__ || __s390__)] condition.
47816         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47817         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47818         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
47819         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47820         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47821         [!__ASSUME_ACCEPT4]: Change condition to
47822         [!__ASSUME_ACCEPT4_SOCKETCALL].
47823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47824         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
47825         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
47826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47827         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
47828         __ASSUME_ACCEPT4_SYSCALL.
47829         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
47830         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
47831         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47832         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
47833         __ASSUME_ACCEPT4_SYSCALL.
47834         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
47835         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
47836         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
47837         [__ASSUME_ACCEPT4]: Change condition to
47838         [__ASSUME_ACCEPT4_SOCKETCALL].
47839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47840         (__ASSUME_SOCKETCALL): Define.
47841         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
47842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47843         (__ASSUME_SOCKETCALL): Define.
47844         (__ASSUME_ACCEPT4): Remove.
47845         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
47846         Define.
47847         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47848         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
47849         Likewise.
47850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47851         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
47853         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
47854         macro.
47855         (HWCAP_ARM_LPAE): Likewise.
47856         (HWCAP_ARM_EVTSTRM): Likewise.
47857         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
47858         Add vpfd32, lpae and evtstrm.
47859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
47860         Increase to 22.
47862 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
47864         * math/auto-libm-test-in: Add tests of clog10.
47865         * math/auto-libm-test-out: Regenerated.
47866         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
47867         * sysdeps/i386/fpu/libm-test-ulps: Update.
47868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47870 2014-02-18  Andreas Schwab  <schwab@suse.de>
47872         [BZ #16574]
47873         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
47874         Store non-zero if the second buffer was newly allocated.
47875         (send_dg): Likewise.
47876         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
47877         to send_vc and send_dg.
47878         (res_nsend): Pass NULL for ansp2_malloced.
47879         * resolv/res_query.c (__libc_res_nquery): Add parameter
47880         answerp2_malloced and pass it down to __libc_res_nsend.
47881         (res_nquery): Pass additional NULL to __libc_res_nquery.
47882         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
47883         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
47884         second answer buffer if answerp2_malloced was set.
47885         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
47886         (__libc_res_nquerydomain): Add parameter
47887         answerp2_malloced and pass it down to __libc_res_nquery.
47888         (res_nquerydomain): Pass additional NULL to
47889         __libc_res_nquerydomain.
47890         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
47891         additional NULL to __libc_res_nsend and __libc_res_nquery.
47892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
47893         additional NULL to __libc_res_nsearch.
47894         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
47895         parameter of __libc_res_nsearch to check for separately allocated
47896         second buffer.
47897         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
47898         __libc_res_nquery.
47899         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
47900         additional NULL to __libc_res_nquery.
47901         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
47902         __libc_res_nsearch.
47903         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
47904         * include/resolv.h: Update prototypes of __libc_res_nquery,
47905         __libc_res_nsearch, __libc_res_nsend.
47907 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
47909         * math/auto-libm-test-in: Add tests of fma.
47910         * math/auto-libm-test-out: Regenerated.
47911         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
47912         (fma_towardzero_test_data): Likewise.
47913         (fma_downward_test_data): Likewise.
47914         (fma_upward_test_data): Likewise.
47915         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
47916         mpc_mode.
47917         (rounding_modes): Add values for new field.
47918         (func_calc_method): Add value mpfr_fff_f.
47919         (func_calc_desc): Add mpfr_fff_f union field.
47920         (test_function): Add field exact_args.
47921         (FUNC): Add macro argument EXACT_ARGS.
47922         (FUNC_mpfr_f_f): Update call to FUNC.
47923         (FUNC_mpfr_f_f): Likewise.
47924         (FUNC_mpfr_ff_f): Likewise.
47925         (FUNC_mpfr_if_f): Likewise.
47926         (FUNC_mpc_c_f): Likewise.
47927         (FUNC_mpc_c_c): Likewise.
47928         (test_functions): Add fma.  Update calls to FUNC.
47929         (handle_input_arg): Add argument exact_args.
47930         (add_test): Update call to handle_input_arg.
47931         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
47932         (output_for_one_input_case): Update call to calc_generic_results.
47933         Recalculate exact zero results in each rounding mode.
47935         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
47936         non-negative before setting low bit.
47937         * math/auto-libm-test-in: Mark one asin test possibly having
47938         spurious underflow.
47939         * math/auto-libm-test-out: Regenerated.
47940         * sysdeps/i386/fpu/libm-test-ulps: Update.
47941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47943 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
47945         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
47946         * sysdeps/unix/sysv/linux/microblaze: Move directory from
47947         ports/sysdeps/unix/sysv/linux/microblaze.
47948         * README: Add missing listing for microblaze*-*-linux-gnu.
47950 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
47952         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
47953         duplicate code
47955 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
47957         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
47958         * sysdeps/unix/sysv/linux/ia64: Move directory from
47959         ports/sysdeps/unix/sysv/linux/ia64.
47960         * README: Update listing for ia64-*-linux-gnu.
47962 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
47963             Joseph Myers  <joseph@codesourcery.com>
47965         * Makeconfig (test-name): New variable.
47966         (evaluate-test): Likewise.
47967         * Makerules (do-test-clean): Remove .test-result files.
47968         (common-mostlyclean): Likewise.
47969         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
47970         * scripts/evaluate-test.sh: New file.
47972 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
47974         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
47975         separate $(objpfx)tst-fopenloc-cmp.out and
47976         $(objpfx)tst-fopenloc-mem.out targets.
47977         (tests): Update dependencies.
47978         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
47979         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
47980         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
47981         (tst-rxspencer-no-utf8-ARGS): New variable.
47982         (tst-rxspencer-no-utf8-ENV): Likewise.
47983         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
47984         instead of $(objpfx)tst-rxspencer-mem.
47985         ($(objpfx)tst-rxspencer-mem): Change target to
47986         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
47987         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
47988         * posix/tst-rxspencer-no-utf8.c: New file.
47990         * elf/Makefile ($(objpfx)order.out): Remove rule.
47991         [$(run-built-tests) = yes] (tests): Depend on
47992         $(objpfx)order-cmp.out.
47993         ($(objpfx)order-cmp.out): New rule.
47994         [$(run-built-tests) = yes] (tests): Depend on
47995         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
47996         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
47997         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
47998         $(objpfx)tst-array5-static-cmp.out.
47999         ($(objpfx)tst-array1.out): Remove rule.
48000         ($(objpfx)tst-array1-cmp.out): New rule.
48001         ($(objpfx)tst-array1-static.out): Remove rule.
48002         ($(objpfx)tst-array1-static-cmp.out): New rule.
48003         ($(objpfx)tst-array2.out): Remove rule.
48004         ($(objpfx)tst-array2-cmp.out): New rule.
48005         ($(objpfx)tst-array3.out): Remove rule.
48006         ($(objpfx)tst-array3-cmp.out): New rule.
48007         ($(objpfx)tst-array4.out): Remove rule.
48008         ($(objpfx)tst-array4-cmp.out): New rule.
48009         ($(objpfx)tst-array5.out): Remove rule.
48010         ($(objpfx)tst-array5-cmp.out): New rule.
48011         ($(objpfx)tst-array5-static.out): Remove rule.
48012         ($(objpfx)tst-array5-static-cmp.out): New rule.
48013         [$(run-built-tests) = yes] (tests): Depend on
48014         $(objpfx)order2-cmp.out.
48015         ($(objpfx)order2.out): Remove rule.
48016         ($(objpfx)order2-cmp.out): New rule.
48017         ($(objpfx)tst-initorder.out): Remove rule.
48018         [$(run-built-tests) = yes] (tests): Depend on
48019         $(objpfx)tst-initorder-cmp.out.
48020         ($(objpfx)tst-initorder-cmp.out): New rule.
48021         ($(objpfx)tst-initorder2.out): Remove rule.
48022         [$(run-built-tests) = yes] (tests): Depend on
48023         $(objpfx)tst-initorder2-cmp.out.
48024         ($(objpfx)tst-initorder2-cmp.out): New rule.
48025         [$(run-built-tests) = yes] (tests): Depend on
48026         $(objpfx)tst-unused-dep-cmp.out.
48027         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
48028         ($(objpfx)tst-unused-dep-cmp.out): New rule.
48029         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
48030         on $(objpfx)tst-setvbuf1-cmp.out.
48031         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
48032         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
48033         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
48034         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
48035         ($(objpfx)tst-svc.out): Remove rule.
48036         ($(objpfx)tst-svc-cmp.out): New rule.
48038 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
48040         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
48041         * ctype/ctype.h [__USE_MISC]: Likewise.
48042         * dirent/dirent.h [__USE_MISC]: Likewise.
48043         * grp/grp.h [__USE_MISC]: Likewise.
48044         * io/fcntl.h [__USE_MISC]: Likewise.
48045         * io/sys/stat.h [__USE_MISC]: Likewise.
48046         * libio/stdio.h [__USE_MISC]: Likewise.
48047         * posix/unistd.h [__USE_MISC]: Likewise.
48048         * pwd/pwd.h [__USE_MISC]: Likewise.
48049         * stdlib.h [__USE_MISC]: Likewise.
48050         * string/bits/string2.h [__USE_MISC]: Likewise.
48051         * string/string.h [__USE_MISC]: Likewise.
48052         * time/time.h [__USE_MISC]: Likewise.
48054 2014-02-13  Andreas Schwab  <schwab@suse.de>
48056         [BZ #16574]
48057         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
48058         second answer buffer if it was separately allocated.
48060 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
48062         * sysdeps/mips/math-tests.h: Include <features.h>.
48063         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48064         (ROUNDING_TESTS_long_double): Do not define.
48065         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
48066         (EXCEPTION_TESTS_long_double): Likewise.
48067         * sysdeps/mips/mips64/libm-test-ulps: Update.
48069         * include/features.h (__USE_BSD): Remove macro definitions.
48070         (__USE_SVID): Likewise.
48071         (_BSD_SOURCE): Likewise.
48072         (_SVID_SOURCE): Likewise.
48073         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
48074         from definition of _DEFAULT_SOURCE.
48075         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
48076         [_DEFAULT_SOURCE].
48077         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
48078         * bits/mman.h [__USE_BSD]: Likewise.
48079         * bits/termios.h [__USE_BSD]: Likewise.
48080         * bits/waitstatus.h [__USE_BSD]: Likewise.
48081         * ctype/ctype.h [__USE_SVID]: Likewise.
48082         * dirent/dirent.h [__USE_BSD]: Likewise.
48083         * grp/grp.h [__USE_SVID]: Likewise.
48084         [__USE_BSD]: Likewise.
48085         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
48086         * io/fcntl.h [__USE_BSD]: Likewise.
48087         * io/ftw.h [__USE_BSD]: Likewise.
48088         * io/sys/stat.h [__USE_BSD]: Likewise.
48089         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
48090         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
48091         * libio/stdio.h [__USE_SVID]: Likewise.
48092         [__USE_BSD]: Likewise.
48093         * math/math.h [__USE_SVID]: Likewise.
48094         [__USE_BSD]: Likewise.
48095         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
48096         * misc/bits/syslog.h [__USE_BSD]: Likewise.
48097         * misc/search.h [__USE_SVID]: Likewise.
48098         * misc/sys/mman.h [__USE_BSD]: Likewise.
48099         * misc/sys/syslog.h [__USE_BSD]: Likewise.
48100         * misc/sys/uio.h [__USE_BSD]: Likewise.
48101         * posix/bits/unistd.h [__USE_BSD]: Likewise.
48102         * posix/glob.h [__USE_BSD]: Likewise.
48103         * posix/regex.h [__USE_BSD]: Likewise.
48104         * posix/sys/types.h [__USE_BSD]: Likewise.
48105         [__USE_SVID]: Likewise.
48106         * posix/sys/utsname.h [__USE_SVID]: Likewise.
48107         * posix/sys/wait.h [__USE_BSD]: Likewise.
48108         [__USE_SVID]: Likewise.
48109         * posix/unistd.h [__USE_BSD]: Likewise.
48110         [__USE_SVID]: Likewise.
48111         * pwd/pwd.h [__USE_SVID]: Likewise.
48112         * resolv/netdb.h [__USE_BSD]: Likewise.
48113         * setjmp/setjmp.h [__USE_BSD]: Likewise.
48114         * signal/signal.h [__USE_BSD]: Likewise.
48115         [__USE_SVID]: Likewise.
48116         * socket/sys/socket.h [__USE_BSD]: Likewise.
48117         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
48118         * stdlib/stdlib.h [__USE_BSD]: Likewise.
48119         [__USE_SVID]: Likewise.
48120         * string/bits/string2.h [__USE_BSD]: Likewise.
48121         [__USE_SVID]: Likewise.
48122         * string/bits/string3.h [__USE_BSD]: Likewise.
48123         * string/endian.h [__USE_BSD]: Likewise.
48124         * string/string.h [__USE_SVID]: Likewise.
48125         [__USE_BSD]: Likewise.
48126         * string/strings.h [__USE_BSD]: Likewise.
48127         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
48128         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
48129         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
48130         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
48131         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
48132         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
48133         Likewise.
48134         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
48135         Likewise.
48136         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
48137         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
48138         Likewise.
48139         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
48140         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
48141         Likewise.
48142         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
48143         Likewise.
48144         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
48145         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
48146         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
48147         Likewise.
48148         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
48149         Likewise.
48150         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
48151         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
48152         * termios/termios.h [__USE_BSD]: Likewise.
48153         * time/sys/time.h [__USE_BSD]: Likewise.
48154         * time/time.h [__USE_BSD]: Likewise.
48155         [__USE_SVID]: Likewise.
48157         * Makefile (subdir_targets): Remove subdir_lint.out.
48159         * stdio-common/Makefile (do-tst-unbputc): Remove target.
48160         (do-tst-printf): Likewise.
48161         (tests): Depend directly on $(objpfx)tst-unbputc.out and
48162         $(objpfx)tst-printf.out.
48164         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
48166         * Makerules (check-abi-%): Change target to
48167         $(objpfx)check-abi-%.out.
48168         (check-abi target): Update dependencies.
48169         (check-abi-pattern variable): Redirect output of diff to $@.
48170         (check-abi variable): Likewise.
48171         * elf/Makefile (check-abi): Update dependencies.
48173         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
48174         unused.
48175         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
48176         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
48177         subnormal range.
48178         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
48179         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
48180         value has largest subnormal exponent.
48181         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
48182         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
48183         * sysdeps/aarch64/soft-fp/sfp-machine.h
48184         (_FP_TININESS_AFTER_ROUNDING): New macro.
48185         * sysdeps/alpha/soft-fp/sfp-machine.h
48186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48187         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48188         Likewise.
48189         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
48190         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48191         * sysdeps/mips/soft-fp/sfp-machine.h
48192         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48193         * sysdeps/powerpc/soft-fp/sfp-machine.h
48194         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48195         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48196         Likewise.
48197         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48198         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48200         (_FP_TININESS_AFTER_ROUNDING): Likewise.
48201         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
48202         Likewise.
48204 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
48206         [BZ #16545]
48207         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
48208         model 1.
48210 2014-02-12  Richard Henderson  <rth@redhat.com>
48212         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
48213         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
48214         * sysdeps/unix/sysv/linux/alpha: Move directory from
48215         ports/sysdeps/unix/sysv/linux/alpha.
48216         * README: Update listing for alpha-*-linux-gnu.
48218 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
48220         * include/features.h: Update comment documenting feature test
48221         macros.
48222         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
48223         _DEFAULT_SOURCE.
48224         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
48225         (_SVID_SOURCE): Likewise.
48226         (_DEFAULT_SOURCE): Update description of default features.
48227         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
48228         with _GNU_SOURCE.
48229         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
48230         (S_ISVTX): Likewise.
48231         * manual/math.texi (Mathematical Constants): Likewise.
48232         * manual/signal.texi (Interrupted Primitives): Likewise.
48233         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
48234         * math/test-matherr.c (_SVID_SOURCE): Do not define.
48235         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
48236         Don't refer to _SVID_SOURCE in warning text.
48238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48240         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
48241         already defined.
48242         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
48243         * sysdeps/mips/dl-lookup.c: Remove.
48244         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
48246 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
48248         [BZ #16447]
48249         * math/auto-libm-test-in: Add testcase for expl.
48250         * math/auto-libm-test-out: Regenerate.
48251         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
48252         calculation of unsafe.
48253         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
48255 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48257         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
48258         * sysdeps/unix/sysv/linux/aarch64: Move directory from
48259         ports/sysdeps/unix/sysv/linux/aarch64.
48260         * README: Update listing for aarch64*-*-linux-gnu.
48262 2014-02-11  Will Newton  <will.newton@linaro.org>
48264         * manual/probes.texi (Mathematical Function Probes): Use
48265         "triggered" instead of "hit".
48267         * manual/probes.texi (Internal Probes): Add documentation
48268         of setjmp, longjmp and longjmp_target probes.
48270         * include/stap-probe.h: Add comment about probe argument
48271         format.
48273         * malloc/mtrace.c (attribute_hidden): Remove unused macro
48274         definition.  (tr_where, tr_freehook, tr_mallochook,
48275         tr_reallochook, tr_memalignhook): Use ANSI protoype.
48277 2014-02-11  David S. Miller  <davem@davemloft.net>
48279         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
48280         processing int_tests.
48282 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
48284         * sysdeps/mips: Move directory from ports/sysdeps/mips.
48285         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
48286         * sysdeps/unix/sysv/linux/mips: Move directory from
48287         ports/sysdeps/unix/sysv/linux/mips.
48288         * README: Update listing for mips-*-linux-gnu and
48289         mips64-*-linux-gnu.
48291 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
48293         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
48294         * sysdeps/unix/sysv/linux/m68k: Move directory from
48295         ports/sysdeps/unix/sysv/linux/m68k.
48296         * README: Update listing for m68k-*-linux-gnu.
48298 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
48300         * sysdeps/tile: Move directory from ports/sysdeps/tile.
48301         * sysdeps/unix/sysv/linux/generic: Move directory from
48302         ports/sysdeps/unix/sysv/linux/generic.
48303         * sysdeps/unix/sysv/linux/tile: Move directory from
48304         ports/sysdeps/unix/sysv/linux/tile.
48305         * README: Update listing for tile*-*-linux-gnu.
48307 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
48309         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
48310         __builtin_expect.
48311         * benchtests/bench-memmem.c (simple_memmem): Likewise.
48312         * catgets/open_catalog.c (__open_catalog): Likewise.
48313         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
48314         * debug/confstr_chk.c: Likewise.
48315         * debug/fread_chk.c (__fread_chk): Likewise.
48316         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
48317         * debug/getgroups_chk.c: Likewise.
48318         * debug/mbsnrtowcs_chk.c: Likewise.
48319         * debug/mbsrtowcs_chk.c: Likewise.
48320         * debug/mbstowcs_chk.c: Likewise.
48321         * debug/memcpy_chk.c: Likewise.
48322         * debug/memmove_chk.c: Likewise.
48323         * debug/mempcpy_chk.c: Likewise.
48324         * debug/memset_chk.c: Likewise.
48325         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48326         * debug/strcat_chk.c (__strcat_chk): Likewise.
48327         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
48328         * debug/strncat_chk.c (__strncat_chk): Likewise.
48329         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
48330         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
48331         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
48332         * debug/wcpncpy_chk.c: Likewise.
48333         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48334         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
48335         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
48336         * debug/wcsncpy_chk.c: Likewise.
48337         * debug/wcsnrtombs_chk.c: Likewise.
48338         * debug/wcsrtombs_chk.c: Likewise.
48339         * debug/wcstombs_chk.c: Likewise.
48340         * debug/wmemcpy_chk.c: Likewise.
48341         * debug/wmemmove_chk.c: Likewise.
48342         * debug/wmempcpy_chk.c: Likewise.
48343         * debug/wmemset_chk.c: Likewise.
48344         * dirent/scandirat.c (SCANDIRAT): Likewise.
48345         * dlfcn/dladdr1.c (dladdr1): Likewise.
48346         * dlfcn/dladdr.c (dladdr): Likewise.
48347         * dlfcn/dlclose.c (dlclose_doit): Likewise.
48348         * dlfcn/dlerror.c (__dlerror): Likewise.
48349         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
48350         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
48351         * dlfcn/dlopen.c (dlopen_doit): Likewise.
48352         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
48353         * dlfcn/dlsym.c (dlsym_doit): Likewise.
48354         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
48355         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
48356         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
48357         Likewise.
48358         * elf/dl-conflict.c: Likewise.
48359         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
48360         * elf/dl-dst.h: Likewise.
48361         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
48362         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
48363         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
48364         * elf/dl-init.c (call_init, _dl_init): Likewise.
48365         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
48366         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
48367         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
48368         Likewise.
48369         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
48370         Likewise.
48371         * elf/dl-minimal.c (__libc_memalign): Likewise.
48372         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
48373         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48374         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
48375         * elf/dl-sym.c (do_sym): Likewise.
48376         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
48377         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
48378         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
48379         * elf/dl-writev.h (_dl_writev): Likewise.
48380         * elf/ldconfig.c (search_dir): Likewise.
48381         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
48382         (dl_main): Likewise.
48383         * elf/setup-vdso.h (setup_vdso): Likewise.
48384         * grp/compat-initgroups.c (compat_call): Likewise.
48385         * grp/fgetgrent.c (fgetgrent): Likewise.
48386         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
48387         * grp/putgrent.c (putgrent): Likewise.
48388         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48389         Likewise.
48390         * hurd/hurdinit.c: Likewise.
48391         * iconvdata/8bit-gap.c (struct): Likewise.
48392         * iconvdata/ansi_x3.110.c : Likewise.
48393         * iconvdata/big5.c : Likewise.
48394         * iconvdata/big5hkscs.c : Likewise.
48395         * iconvdata/cp1255.c: Likewise.
48396         * iconvdata/cp1258.c : Likewise.
48397         * iconvdata/cp932.c : Likewise.
48398         * iconvdata/euc-cn.c: Likewise.
48399         * iconvdata/euc-jisx0213.c : Likewise.
48400         * iconvdata/euc-jp.c: Likewise.
48401         * iconvdata/euc-jp-ms.c : Likewise.
48402         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
48403         * iconvdata/gb18030.c : Likewise.
48404         * iconvdata/gbbig5.c (const): Likewise.
48405         * iconvdata/gbgbk.c: Likewise.
48406         * iconvdata/gbk.c : Likewise.
48407         * iconvdata/ibm1364.c : Likewise.
48408         * iconvdata/ibm930.c : Likewise.
48409         * iconvdata/ibm932.c: Likewise.
48410         * iconvdata/ibm933.c : Likewise.
48411         * iconvdata/ibm935.c : Likewise.
48412         * iconvdata/ibm937.c : Likewise.
48413         * iconvdata/ibm939.c : Likewise.
48414         * iconvdata/ibm943.c: Likewise.
48415         * iconvdata/iso_11548-1.c: Likewise.
48416         * iconvdata/iso-2022-cn.c : Likewise.
48417         * iconvdata/iso-2022-cn-ext.c : Likewise.
48418         * iconvdata/iso-2022-jp-3.c: Likewise.
48419         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
48420         * iconvdata/iso-2022-kr.c : Likewise.
48421         * iconvdata/iso646.c (gconv_end): Likewise.
48422         * iconvdata/iso_6937-2.c : Likewise.
48423         * iconvdata/iso_6937.c : Likewise.
48424         * iconvdata/iso8859-1.c: Likewise.
48425         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
48426         * iconvdata/shift_jisx0213.c : Likewise.
48427         * iconvdata/sjis.c : Likewise.
48428         * iconvdata/t.61.c : Likewise.
48429         * iconvdata/tcvn5712-1.c : Likewise.
48430         * iconvdata/tscii.c: Likewise.
48431         * iconvdata/uhc.c : Likewise.
48432         * iconvdata/unicode.c (gconv_end): Likewise.
48433         * iconvdata/utf-16.c (gconv_end): Likewise.
48434         * iconvdata/utf-32.c (gconv_end): Likewise.
48435         * iconvdata/utf-7.c (base64): Likewise.
48436         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
48437         * iconv/gconv_close.c (__gconv_close): Likewise.
48438         * iconv/gconv_open.c (__gconv_open): Likewise.
48439         * iconv/gconv_simple.c (internal_ucs4_loop_single)
48440         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
48441         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
48442         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
48443         (ucs4le_internal_loop_single): Likewise.
48444         * iconv/iconv.c (iconv): Likewise.
48445         * iconv/iconv_close.c: Likewise.
48446         * iconv/loop.c (SINGLE): Likewise.
48447         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
48448         * include/atomic.h: Likewise.
48449         * inet/inet6_option.c (option_alloc): Likewise.
48450         * intl/bindtextdom.c (set_binding_values): Likewise.
48451         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
48452         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
48453         * intl/localealias.c (read_alias_file): Likewise.
48454         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
48455         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
48456         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
48457         * libio/fmemopen.c (fmemopen): Likewise.
48458         * libio/iofgets.c (_IO_fgets): Likewise.
48459         * libio/iofgets_u.c (fgets_unlocked): Likewise.
48460         * libio/iofgetws.c (fgetws): Likewise.
48461         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
48462         * libio/iogetdelim.c (_IO_getdelim): Likewise.
48463         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
48464         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
48465         * locale/findlocale.c (_nl_find_locale): Likewise.
48466         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
48467         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
48468         Likewise.
48469         * locale/setlocale.c (setlocale): Likewise.
48470         * login/programs/pt_chown.c (main): Likewise.
48471         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
48472         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
48473         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
48474         (mmap, mmap64, mremap, munmap): Likewise.
48475         * math/e_exp2l.c: Likewise.
48476         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
48477         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
48478         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
48479         * math/s_catan.c (__catan): Likewise.
48480         * math/s_catanf.c (__catanf): Likewise.
48481         * math/s_catanh.c (__catanh): Likewise.
48482         * math/s_catanhf.c (__catanhf): Likewise.
48483         * math/s_catanhl.c (__catanhl): Likewise.
48484         * math/s_catanl.c (__catanl): Likewise.
48485         * math/s_ccosh.c (__ccosh): Likewise.
48486         * math/s_ccoshf.c (__ccoshf): Likewise.
48487         * math/s_ccoshl.c (__ccoshl): Likewise.
48488         * math/s_cexp.c (__cexp): Likewise.
48489         * math/s_cexpf.c (__cexpf): Likewise.
48490         * math/s_cexpl.c (__cexpl): Likewise.
48491         * math/s_clog10.c (__clog10): Likewise.
48492         * math/s_clog10f.c (__clog10f): Likewise.
48493         * math/s_clog10l.c (__clog10l): Likewise.
48494         * math/s_clog.c (__clog): Likewise.
48495         * math/s_clogf.c (__clogf): Likewise.
48496         * math/s_clogl.c (__clogl): Likewise.
48497         * math/s_csin.c (__csin): Likewise.
48498         * math/s_csinf.c (__csinf): Likewise.
48499         * math/s_csinh.c (__csinh): Likewise.
48500         * math/s_csinhf.c (__csinhf): Likewise.
48501         * math/s_csinhl.c (__csinhl): Likewise.
48502         * math/s_csinl.c (__csinl): Likewise.
48503         * math/s_csqrt.c (__csqrt): Likewise.
48504         * math/s_csqrtf.c (__csqrtf): Likewise.
48505         * math/s_csqrtl.c (__csqrtl): Likewise.
48506         * math/s_ctan.c (__ctan): Likewise.
48507         * math/s_ctanf.c (__ctanf): Likewise.
48508         * math/s_ctanh.c (__ctanh): Likewise.
48509         * math/s_ctanhf.c (__ctanhf): Likewise.
48510         * math/s_ctanhl.c (__ctanhl): Likewise.
48511         * math/s_ctanl.c (__ctanl): Likewise.
48512         * math/w_pow.c: Likewise.
48513         * math/w_powf.c: Likewise.
48514         * math/w_powl.c: Likewise.
48515         * math/w_scalb.c (sysv_scalb): Likewise.
48516         * math/w_scalbf.c (sysv_scalbf): Likewise.
48517         * math/w_scalbl.c (sysv_scalbl): Likewise.
48518         * misc/error.c (error_tail): Likewise.
48519         * misc/pselect.c (__pselect): Likewise.
48520         * nis/nis_callback.c (__nis_create_callback): Likewise.
48521         * nis/nis_call.c (__nisfind_server): Likewise.
48522         * nis/nis_creategroup.c (nis_creategroup): Likewise.
48523         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
48524         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
48525         * nis/nis_getservlist.c (nis_getservlist): Likewise.
48526         * nis/nis_lookup.c (nis_lookup): Likewise.
48527         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
48528         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
48529         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
48530         * nis/nis_xdr.c (xdr_endpoint): Likewise.
48531         * nis/nss_compat/compat-grp.c (getgrent_next_file)
48532         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
48533         * nis/nss_compat/compat-initgroups.c (add_group)
48534         (internal_getgrent_r): Likewise.
48535         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
48536         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
48537         * nis/nss_compat/compat-spwd.c (getspent_next_file)
48538         (internal_getspnam_r): Likewise.
48539         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
48540         (_nss_nis_getaliasbyname_r): Likewise.
48541         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
48542         (_nss_nis_getntohost_r): Likewise.
48543         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
48544         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
48545         (_nss_nis_getgrgid_r): Likewise.
48546         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
48547         (internal_nis_gethostent_r, internal_gethostbyname2_r)
48548         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
48549         (_nss_nis_gethostbyname4_r): Likewise.
48550         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
48551         (initgroups_netid): Likewise.
48552         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
48553         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
48554         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
48555         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
48556         (_nss_nis_getprotobynumber_r): Likewise.
48557         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
48558         (_nss_nis_getsecretkey): Likewise.
48559         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
48560         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
48561         (_nss_nis_getpwuid_r): Likewise.
48562         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
48563         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
48564         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
48565         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
48566         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
48567         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
48568         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
48569         Likewise.
48570         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
48571         (_nss_nisplus_getntohost_r): Likewise.
48572         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
48573         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
48574         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
48575         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
48576         Likewise.
48577         * nis/nss_nisplus/nisplus-initgroups.c
48578         (_nss_nisplus_initgroups_dyn): Likewise.
48579         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
48580         (_nss_nisplus_getnetbyaddr_r): Likewise.
48581         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
48582         (_nss_nisplus_getprotobynumber_r): Likewise.
48583         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
48584         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
48585         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
48586         Likewise.
48587         * nis/nss_nisplus/nisplus-service.c
48588         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
48589         (_nss_nisplus_getservbyport_r): Likewise.
48590         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
48591         (_nss_nisplus_getspnam_r): Likewise.
48592         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
48593         Likewise.
48594         * nscd/aicache.c (addhstaiX): Likewise.
48595         * nscd/cache.c (cache_search, prune_cache): Likewise.
48596         * nscd/connections.c (register_traced_file, send_ro_fd)
48597         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
48598         (main_loop_epoll): Likewise.
48599         * nscd/grpcache.c (addgrbyX): Likewise.
48600         * nscd/hstcache.c (addhstbyX): Likewise.
48601         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48602         * nscd/mem.c (gc, mempool_alloc): Likewise.
48603         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
48604         (addinnetgrX): Likewise.
48605         * nscd/nscd-client.h (__nscd_acquire_maplock)
48606         (__nscd_drop_map_ref): Likewise.
48607         * nscd/nscd_getai.c (__nscd_getai): Likewise.
48608         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
48609         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
48610         Likewise.
48611         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
48612         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48613         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
48614         (__nscd_get_map_ref): Likewise.
48615         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
48616         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
48617         Likewise.
48618         * nscd/pwdcache.c (addpwbyX): Likewise.
48619         * nscd/selinux.c (preserve_capabilities): Likewise.
48620         * nscd/servicescache.c (addservbyX): Likewise.
48621         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
48622         * posix/fnmatch.c (fnmatch): Likewise.
48623         * posix/getopt.c (_getopt_internal_r): Likewise.
48624         * posix/glob.c (glob, glob_in_dir): Likewise.
48625         * posix/wordexp.c (exec_comm_child): Likewise.
48626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
48627         (getanswer_r, gaih_getanswer_slice): Likewise.
48628         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
48629         * resolv/res_init.c: Likewise.
48630         * resolv/res_mkquery.c (res_nmkquery): Likewise.
48631         * resolv/res_query.c (__libc_res_nquery): Likewise.
48632         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
48633         Likewise.
48634         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
48635         * stdio-common/perror.c (perror): Likewise.
48636         * stdio-common/printf_fp.c (___printf_fp): Likewise.
48637         * stdio-common/tmpnam.c (tmpnam): Likewise.
48638         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48639         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
48640         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
48641         Likewise.
48642         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
48643         * stdlib/putenv.c (putenv): Likewise.
48644         * stdlib/setenv.c (__add_to_environ): Likewise.
48645         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48646         * stdlib/strtol_l.c (INTERNAL): Likewise.
48647         * string/memmem.c (memmem): Likewise.
48648         * string/strerror.c (strerror): Likewise.
48649         * string/strnlen.c (__strnlen): Likewise.
48650         * string/test-memmem.c (simple_memmem): Likewise.
48651         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
48652         * sunrpc/pm_getport.c (__get_socket): Likewise.
48653         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
48654         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
48655         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
48656         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
48657         Likewise.
48658         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
48659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
48660         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
48661         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
48662         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
48663         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
48664         Likewise.
48665         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
48666         Likewise.
48667         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
48668         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
48669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48670         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
48671         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
48672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
48673         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
48674         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
48675         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
48676         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
48677         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48678         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
48679         Likewise.
48680         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
48681         Likewise.
48682         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
48683         Likewise.
48684         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
48685         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48686         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
48687         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
48688         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
48689         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
48690         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48691         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
48692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
48693         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
48694         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
48695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48696         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48697         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
48698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48699         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
48700         Likewise.
48701         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
48702         Likewise.
48703         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
48704         Likewise.
48705         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
48706         Likewise.
48707         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48709         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
48710         Likewise.
48711         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
48712         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
48713         * sysdeps/posix/opendir.c (__opendirat): Likewise.
48714         * sysdeps/posix/sleep.c: Likewise.
48715         * sysdeps/posix/tempname.c: Likewise.
48716         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
48717         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48718         Likewise.
48719         * sysdeps/powerpc/powerpc32/dl-machine.h
48720         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
48721         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
48722         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48723         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
48724         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
48725         Likewise.
48726         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
48727         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
48728         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48729         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
48730         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
48731         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
48732         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
48733         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
48734         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48735         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
48736         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
48737         (elf_machine_lazy_rel): Likewise.
48738         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48739         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
48740         (elf_machine_lazy_rel): Likewise.
48741         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
48742         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
48743         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
48744         * sysdeps/unix/grantpt.c (grantpt): Likewise.
48745         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
48746         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
48747         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
48748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48749         Likewise.
48750         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
48751         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
48752         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
48753         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
48754         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48755         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48756         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
48757         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
48758         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
48759         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48760         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48761         Likewise.
48762         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
48763         (__posix_fallocate64_l64): Likewise.
48764         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
48765         (posix_fallocate): Likewise.
48766         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
48767         Likewise.
48768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48769         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
48770         (getifaddrs_internal): Likewise.
48771         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
48772         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
48773         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
48774         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
48775         * sysdeps/unix/sysv/linux/posix_fallocate64.c
48776         (__posix_fallocate64_l64): Likewise.
48777         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
48778         Likewise.
48779         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
48780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
48781         (__get_clockfreq): Likewise.
48782         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
48783         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
48784         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
48785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48787         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
48788         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
48789         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
48790         Likewise.
48791         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
48792         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
48793         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
48794         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
48795         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48796         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
48797         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
48798         Likewise.
48799         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48800         (posix_fallocate): Likewise.
48801         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48802         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
48803         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
48804         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
48805         (elf_machine_rela, elf_machine_rela_relative)
48806         (elf_machine_lazy_rel): Likewise.
48807         * time/asctime.c (asctime_internal): Likewise.
48808         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
48809         * time/tzset.c (__tzset_parse_tz): Likewise.
48810         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
48811         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
48812         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
48813         * wcsmbs/wcsmbsload.h: Likewise.
48815         [BZ #15894]
48816         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
48818         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
48819         (arena_get2): Remove THREAD_STATS conditionals.
48820         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
48821         (__malloc_stats, int): Likewise.
48823 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
48825         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
48826         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
48828         * manual/setjmp.texi: Fix typos/grammar errors.
48830         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
48831         Only return early when n is <= 0.  Delete unused return statement.
48833         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
48834         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
48835         * debug/tst-longjmp_chk3.c: New file.
48837         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
48838         (test_main): Replace code with set_fortify_handler call.
48839         * debug/test-strcpy_chk.c: Likewise.
48840         * debug/tst-chk1.c: Likewise.
48841         * debug/tst-longjmp_chk.c: Likewise.
48842         * test-skeleton.c: Include fcntl.h & paths.h
48843         (set_fortify_handler): Define.
48845         * debug/tst-longjmp_chk.c: Add header comment and include
48846         ../test-skeleton.c.
48847         (do_test): Mark static.
48848         (TEST_FUNCTION): Define.
48850         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
48851         (IP_PMTUDISC_INTERFACE): Likewise.
48852         (IP_MULTICAST_IF): Likewise.
48853         (IP_MULTICAST_TTL): Likewise.
48854         (IP_MULTICAST_LOOP): Likewise.
48855         (IP_ADD_MEMBERSHIP): Likewise.
48856         (IP_DROP_MEMBERSHIP): Likewise.
48857         (IP_UNBLOCK_SOURCE): Likewise.
48858         (IP_BLOCK_SOURCE): Likewise.
48859         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
48860         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
48861         (IP_MSFILTER): Likewise.
48862         (MCAST_JOIN_GROUP): Likewise.
48863         (MCAST_BLOCK_SOURCE): Likewise.
48864         (MCAST_UNBLOCK_SOURCE): Likewise.
48865         (MCAST_LEAVE_GROUP): Likewise.
48866         (MCAST_JOIN_SOURCE_GROUP): Likewise.
48867         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
48868         (MCAST_MSFILTER): Likewise.
48869         (IP_MULTICAST_ALL): Likewise.
48870         (IP_UNICAST_IF): Likewise.
48872         * timezone/Makefile: Delete $(have-ksh) check.
48873         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
48874         * timezone/tzselect.ksh: Add +x mode bits.
48876         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
48877         (ANON_INODE_FS_MAGIC): Likewise.
48878         (BDEVFS_MAGIC): Likewise.
48879         (BINFMTFS_MAGIC): Likewise.
48880         (BTRFS_TEST_MAGIC): Likewise.
48881         (CRAMFS_MAGIC_WEND): Likewise.
48882         (DEBUGFS_MAGIC): Likewise.
48883         (ECRYPTFS_SUPER_MAGIC): Likewise.
48884         (EXT3_SUPER_MAGIC): Likewise.
48885         (EXT4_SUPER_MAGIC): Likewise.
48886         (FUTEXFS_SUPER_MAGIC): Likewise.
48887         (HOSTFS_SUPER_MAGIC): Likewise.
48888         (HUGETLBFS_MAGIC): Likewise.
48889         (MINIX3_SUPER_MAGIC): Likewise.
48890         (MTD_INODE_FS_MAGIC): Likewise.
48891         (NILFS_SUPER_MAGIC): Likewise.
48892         (OPENPROM_SUPER_MAGIC): Likewise.
48893         (PIPEFS_MAGIC): Likewise.
48894         (PSTOREFS_MAGIC): Likewise.
48895         (QNX6_SUPER_MAGIC): Likewise.
48896         (RAMFS_MAGIC): Likewise.
48897         (REISERFS_SUPER_MAGIC_STRING): Likewise.
48898         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
48899         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
48900         (SECURITYFS_MAGIC): Likewise.
48901         (SELINUX_MAGIC): Likewise.
48902         (SMACK_MAGIC): Likewise.
48903         (SOCKFS_MAGIC): Likewise.
48904         (SQUASHFS_MAGIC): Likewise.
48905         (STACK_END_MAGIC): Likewise.
48906         (TMPFS_MAGIC): Likewise.
48907         (USBDEVICE_SUPER_MAGIC): Likewise.
48908         (V9FS_MAGIC): Likewise.
48909         (XENFS_SUPER_MAGIC): Likewise.
48910         (CRAMFS_MAGIC): Fix typo in comment.
48911         (EXT2_SUPER_MAGIC): Update comment.
48912         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
48914 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
48916         * sysdeps/arm: Move directory from ports/sysdeps/arm.
48917         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
48918         * sysdeps/unix/sysv/linux/arm: Move directory from
48919         ports/sysdeps/unix/sysv/linux/arm.
48920         * README: Update listing for arm-*-linux-gnueabi.
48922         * README: Remove mention of am33.
48924 2014-02-07  Roland McGrath  <roland@hack.frob.com>
48926         * bits/sigset.h (__sigemptyset): Use a statement expression rather
48927         than the comma operator, to avoid "rhs of comma has no effect"
48928         compiler warnings.
48929         (__sigfillset, __sigandset, __sigorset): Likewise.
48930         * include/signal.h (__sigemptyset): Likewise.
48931         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
48933 2014-02-07  Allan McRae  <allan@archlinux.org>
48935         * version.h (RELEASE): Set to "development".
48936         (VERSION): Set to "2.19.90"
48937         * NEWS: Add 2.20 section.
48939 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
48941         [BZ #16529]
48942         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
48944 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48946         * manual/contrib.texi: Update entry for Carlos O'Donell,
48947         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
48949 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
48951         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
48953         * sysdeps/unix/sysv/linux/kernel-features.h
48954         [__LINUX_KERNEL_VERSION >= 0x020621]
48955         (__ASSUME_PROC_PID_TASK_COMM): Define.
48957 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48959         [BZ #16398]
48960         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
48961         conversion when destination buffer does not have enough space.
48962         * libio/tst-ftell-partial-wide.c: New test case.
48963         * libio/Makefile (tests): Add tst-ftell-partial-wide.
48965         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
48966         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
48967         Leonard and Allan McRae.
48969 2014-02-04  David S. Miller  <davem@davemloft.net>
48971         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
48972         32-bit.
48974 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48977         New file
48978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48979         New file
48980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48981         New file.
48982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48983         New file.
48984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48985         New file.
48986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48987         New file.
48988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48989         New file.
48990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48991         New file.
48992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48993         New file.
48994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48995         New file.
48996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48997         New file.
48998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48999         New file.
49000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49001         New file.
49003 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49005         * nptl/shlib-versions: Change powerpc*le start to 2.17.
49006         * shlib-versions: Likewise.
49008 2014-02-04  Roland McGrath  <roland@hack.frob.com>
49009             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49011         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
49012         (abilist-pattern): New variable, set to %-le.abilist.
49014         * Makerules (abilist-pattern): New variable.
49015         (vpath): Use $(abilist-pattern) in place of %.abilist.
49016         (check-abi-% pattern rule): Likewise.
49017         (check-abi, update-abi): Likewise.
49019 2014-02-04  Eric Wong  <normalperson@yhbt.net>
49021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49023 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
49025         * manual/startup.texi: Add next, previous, and top entries for
49026         the `Program Arguments' and `Environment Variables' nodes.
49028 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
49030         * manual/macros.texi: Add comments before MTASC-safety macros.
49032         * manual/users.texi: Document MTASC-safety properties.
49034         * manual/threads.texi (pthread_key_create, pthread_key_delete)
49035         (pthread_getspecific, pthread_setspecific): Format with
49036         @deftypefun, and add @safety note.
49037         * manual/signal.texi: Move comments that analyze the above
49038         functions to their home place.
49040 2014-02-03  Allan McRae  <allan@archlinux.org>
49042         * po/sl.po: Update Slovenian translation from translation project.
49044 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
49046         * manual/time.texi (timegm): Add missing blank after @c.
49047         Reported by Joseph Myers <joseph@codesourcery.com>.
49049 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
49051         * manual/check-safety.sh: New.
49052         * manual/Makefile ($(objpfx)stamp-summary): Run it.
49054         * manual/terminal.texi: Document MTASC-safety properties.
49056         * manual/filesys.texi: Document MTASC-safety properties.
49058         * manual/errno.texi: Document MTASC-safety properties.
49060         * manual/intro.texi: Document safety identifiers and
49061         conditionals.
49063         * manual/string.texi (wcstok): Fix prototype.
49064         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
49066         * manual/time.texi: Document MTASC-safety properties.
49068         * manual/string.texi: Document MTASC-safety properties.
49070         * manual/threads.texi: Document MTASC-safety properties.
49072         * manual/stdio.texi: Document MTASC-safety properties.
49074         * manual/syslog.texi: Document MTASC-safety properties.
49076         * manual/sysinfo.texi: Document MTASC-safety properties.
49078         * manual/startup.texi: Document MTASC-safety properties.
49080         * manual/socket.texi: Document MTASC-safety properties.
49082         * manual/signal.texi: Document MTASC-safety properties.
49084 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
49086         * manual/setjmp.texi: Document MTASC-safety properties.
49088         * manual/search.texi: Document MTASC-safety properties.
49090         * manual/resource.texi: Document MTASC-safety properties.
49092         * manual/process.texi: Document MTASC-safety properties.
49094         * manual/platform.texi: Document MTASC-safety properties.
49096         * manual/pipe.texi: Document MTASC-safety properties.
49098         * manual/pattern.texi: Document MTASC-safety properties.
49100         * manual/message.texi: Document MTASC-safety properties.
49102         [BZ #12751]
49103         * manual/memory.texi: Document MTASC-safety properties.
49105         * manual/math.texi: Document MTASC-safety properties.
49107         * manual/locale.texi: Document MTASC-safety properties.
49109         * manual/llio.texi: Document MTASC-safety properties.
49111         * manual/libdl.texi: New.
49113         * manual/lang.texi: Document MTASC-safety properties.
49115         * manual/job.texi: Document MTASC-safety properties.
49117         * manual/getopt.texi: Document MTASC-safety properties.
49119         * manual/ctype.texi: Document MTASC-safety properties.
49121 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
49123         [BZ #16046]
49124         * csu/libc-tls.c (static_map): Remove variable.
49125         (__libc_setup_tls): Use main executable's link map for TLS data.
49126         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
49127         casing for LM_ID_BASE and GL(dl_nns).
49128         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
49129         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
49130         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
49131         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
49132         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
49133         member.
49134         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
49135         l_phnum members.
49137 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
49139         * manual/debug.texi: Document MTASC-safety properties.
49141 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
49143         [BZ #16510]
49144         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
49145         of __x86_64__ when disabling x87 inline functions.
49147 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
49149         * manual/charset.texi: Document MTASC-safety properties.
49151         * manual/crypt.texi: Document MTASC-safety properties.
49153         * manual/conf.texi: Document MTASC-safety properties.
49155         * manual/arith.texi: Document MTASC-safety properties.
49157         * manual/argp.texi: Document MTASC-safety properties.
49159         * manual/macros.texi: Introduce macros to document multi
49160         thread, asynchronous signal and asynchronous cancellation
49161         safety properties.
49162         * manual/intro.texi: Introduce the properties themselves.
49164 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49166         * sysdeps/sh/sh4/Makefile: New file.
49168 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
49170         * math/gen-libm-test.pl ($srcdir): New variable.
49171         ($auto_input): Use it.
49173 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49175         [BZ #16506]
49176         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
49177         access beyond array bounds when parsing netgroups file.
49179         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
49180         the old buffer before realloc.
49182 2014-01-27  Allan McRae  <allan@archlinux.org>
49184         * po/fr.po: Update French translation from translation project.
49186 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49188         * sysdeps/sh/libm-test-ulps: Regenerate.
49190 2014-01-24  David S. Miller  <davem@davemloft.net>
49192         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
49194 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49196         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
49197         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
49199 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49201         [BZ #16474]
49202         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
49203         string pointers after reallocation.
49205 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49207         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
49208         __SH4A__ instead of __SH_FPU_ANY__.
49210 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49212         * sysdeps/sh/fpu_control.h: New file.
49213         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
49214         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
49215         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
49216         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
49217         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
49218         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
49219         * sysdeps/sh/sys/ucontext.h: Remove.
49220         * sysdeps/sh/sys: Remove directory.
49222 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49224         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
49225         s390/sys/ucontext.h.
49226         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
49227         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
49229 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
49231         [BZ #15605]
49232         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
49234 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49236         [BZ#16431]
49237         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49238         Adjust the vDSO correctly for internal calls.
49239         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
49241 2014-01-20  Allan McRae  <allan@archlinux.org>
49243         * po/ca.po: Update Catalan translation from translation project.
49245 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
49247         * sysdeps/s390/sotruss-lib.c: New file.
49249 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49251         [BZ#16430]
49252         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
49253         (__GI___gettimeofday): Alias for a different internal symbol to avoid
49254         local calls issues by not having a PLT stub required for IFUNC calls.
49255         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
49257 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
49259         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
49260         * math/test-fpucw-static.c: Likewise.
49262 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49264         [BZ #16453]
49265         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
49267 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49269         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
49270         implementation for powerpc.
49272 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
49274         [BZ #14782]
49275         * sysdeps/posix/system.c (__libc_system): Do not enable
49276         asynchronous cancellation.
49278 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49280         [BZ #16427]
49281         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
49282         handling only for numbers special also in the IEEE case.
49284 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49286         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49288 2014-01-11  Allan McRae  <allan@archlinux.org>
49290         * po/bg.po: Update Bulgarian translation from translation project.
49292         * po/de.po: Update German translation from translation project.
49294 2014-01-10  Roland McGrath  <roland@hack.frob.com>
49296         * sysdeps/generic/gcc-compat.h: New file.
49298 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49300         * benchtests/asin-inputs: Correct slow inputs.
49301         * benchtests/acos-inputs: Likewise.
49303 2014-01-10  Allan McRae  <allan@archlinux.org>
49305         * po:sv.po: Update Swedish translation from translation project.
49307         * po/vi.po: Update Vietnamese translation from translation project.
49309         * po/eo.po: Update Esperanto translation from translation project.
49311         * po/cs.po: Update Czech translation from translation project.
49313         * po/nl.po: Update Dutch translation from translation project.
49315         * po/pl.po: Update Polish translation from translation project.
49317         * po/ru.po: Update Russian translation from translation project.
49319         * po/uk.po: Update Ukrainian translation from translation project.
49321 2014-01-08  Brooks Moses  <bmoses@google.com>
49323         * elf/dl-load.c: Fix comment typo.
49325 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
49327         * po/header.pot: Rename to...
49328         * po/pot.header: ... this.
49329         * po/Makefile: Use pot.header.
49331 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
49332             Maxim Kuvyrkov  <maxim@kugelworks.com>
49334         [BZ #16394]
49335         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
49336         SRC and DEST against LEN.
49338 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49340         [BZ #16414]
49341         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49342         implementation.
49343         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
49345 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49349 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
49351         [BZ #16408]
49352         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
49353         for large positive arguments.
49355 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
49357         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49359         * math/auto-libm-test-in: Mark various tests with
49360         xfail-rounding:ldbl-128ibm.
49361         * math/auto-libm-test-out: Regenerated.
49363         [BZ #16407]
49364         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49365         Increase overflow threshold.
49367 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
49369         [BZ #14286]
49370         * stdio-common/vfprintf.c: Check for integer overflow.
49372 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49374         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
49375         the first argument and return value of __tls_get_addr_internal.
49377 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49379         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
49380         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
49382 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49384         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
49385         * sysdeps/s390/rtld-global-offsets.sym: New file.
49386         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
49387         GLIBC_2.19 symbol.
49388         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
49389         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
49390         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
49391         ... this.
49392         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
49393         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
49394         ... this.
49395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49396         Regenerate.
49397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49398         Regenerate.
49399         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
49400         halfs of GPRs for high_gprs contexts.
49401         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
49402         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
49403         field.
49404         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
49405         uc_flags field.
49406         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
49407         64 bit versions:
49408         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49409         for high GPRs (uc_high_gprs) and for future extensions
49410         (__reserved).
49411         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
49412         for future extensions (__reserved).
49413         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
49414         64 bit versions:
49415         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
49416         SC_HIGHGPRS offset definition.
49417         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
49418         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
49420         * Versions.def: Add GLIBC_2.19 for libpthread.
49421         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
49422         siglongjmp for libpthread with GLIBC_2.19 symver.
49423         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
49424         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
49425         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
49426         * sysdeps/s390/__longjmp.c: New file.
49427         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
49428         * sysdeps/s390/longjmp.c: New file.
49429         * sysdeps/s390/setjmp.S: New file.
49430         * sysdeps/s390/sigjmp.S: New file.
49431         * sysdeps/s390/v1-longjmp.c: New file.
49432         * sysdeps/s390/v1-setjmp.h: New file.
49433         * sysdeps/s390/v1-sigjmp.c: New file.
49434         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
49435         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
49436         GLIBC_2.19 version.
49437         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
49438         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
49439         versioned symbols for ____longjmp_chk.
49440         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
49441         Likewise.
49442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49443         Regenerate.
49444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49445         Regenerate.
49446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49447         Regenerate.
49448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49449         Regenerate.
49450         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
49451         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
49452         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
49453         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
49454         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
49455         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
49456         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
49457         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
49458         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
49459         * sysdeps/s390/rtld-__longjmp.c: New file.
49460         * sysdeps/s390/rtld-setjmp.S: New file.
49462 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
49464         [BZ #16400]
49465         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49466         Return -__logl (x) for small positive arguments without evaluating
49467         a polynomial.
49469 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
49471         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
49472         Rename to ...
49473         (__ptrace_peeksiginfo_args): ... this.
49474         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49476         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49478 2014-01-06  Allan McRae  <allan@archlinux.org>
49480         * inet/netinet/in.h: Fix typo in comment.
49482 2014-01-05  Andreas Jaeger  <aj@suse.de>
49484         * sysdeps/i386/fpu/libm-test-ulps: Update.
49486 2014-01-05  Allan McRae  <allan@archlinux.org>
49488         * po/libc.pot: Regenerated.
49490         * malloc/memusagestat.c: Fix gettext call formatting.
49492 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
49494         * nscd/nscd.c: Improve usage() output.
49496 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
49498         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
49499         * sysdeps/unix/sysv/linux/configure: Regenerated.
49500         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
49501         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
49503 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49505         [BZ #16390]
49506         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49507         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
49509 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
49512         extra tokens at end of #undef directive.
49513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
49514         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
49515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
49517 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
49519         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
49521         * math/auto-libm-test-in: Mark various tests with
49522         xfail-rounding:ldbl-128ibm.
49523         * math/auto-libm-test-out: Regenerated.
49525 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
49527         [BZ #16386]
49528         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
49529         numbers with subnormal high part when calculating exponent.
49531         [BZ #16385]
49532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
49533         fabs.
49535         [BZ #16384]
49536         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
49537         M_LN2l.
49538         (__ieee754_acoshl): Use __log1pl not __log1p.
49540 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
49542         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
49543         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
49544         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
49545         (grow_heap, heap_trim, _int_new_arena, get_free_list)
49546         (reused_arena, arena_get2): Convert to GNU style.
49547         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
49548         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
49549         (memalign_check, __malloc_set_state): Likewise.
49550         * malloc/mallocbug.c (main): Likewise.
49551         * malloc/malloc.c (__malloc_assert, malloc_init_state)
49552         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
49553         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
49554         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
49555         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
49556         (__posix_memalign, malloc_info): Likewise.
49557         * malloc/malloc.h: Likewise.
49558         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
49559         (mallochook, memalignhook, reallochook, mabort): Likewise.
49560         * malloc/mcheck.h: Likewise.
49561         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
49562         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
49563         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
49564         * malloc/morecore.c (__default_morecore): Likewise.
49565         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
49566         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
49567         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
49568         (print_and_abort): Likewise.
49569         * malloc/obstack.h: Likewise.
49570         * malloc/set-freeres.c (__libc_freeres): Likewise.
49571         * malloc/tst-mallocstate.c (main): Likewise.
49572         * malloc/tst-mtrace.c (main): Likewise.
49573         * malloc/tst-realloc.c (do_test): Likewise.
49575 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49577         [BZ #16366]
49578         * nscd/netgroupcache.c (do_notfound): New function.
49579         (addgetnetgrentX): Use it.
49581         [BZ # 16365]
49582         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
49583         NSS_STATUS_NOTFOUND.
49585 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
49587         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49590 2014-01-01  Allan McRae  <allan@archlinux.org>
49592         * scripts/update-copyrights: Update configure input file suffix.
49594         * NEWS: Update copyright year.
49595         * catgets/gencat.c: Likewise.
49596         * csu/version.c: Likewise.
49597         * debug/catchsegv.sh: Likewise.
49598         * debug/pcprofiledump.c: Likewise.
49599         * debug/xtrace.sh: Likewise.
49600         * elf/ldconfig.c: Likewise.
49601         * elf/ldd.bash.in: Likewise.
49602         * elf/pldd.c: Likewise.
49603         * elf/sotruss.ksh: Likewise.
49604         * elf/sprof.c: Likewise.
49605         * iconv/iconv_prog.c: Likewise.
49606         * iconv/iconvconfig.c: Likewise.
49607         * locale/programs/locale.c: Likewise.
49608         * locale/programs/localedef.c: Likewise.
49609         * login/programs/pt_chown.c: Likewise.
49610         * malloc/memusage.sh: Likewise.
49611         * malloc/memusagestat.c: Likewise.
49612         * malloc/mtrace.pl: Likewise.
49613         * manual/libc.texinfo: Likewise.
49614         * nscd/nscd.c: Likewise.
49615         * nss/getent.c: Likewise.
49616         * nss/makedb.c: Likewise.
49617         * posix/getconf.c: Likewise.
49618         * scripts/test-installation.pl: Likewise.
49620         * All files with FSF copyright notices: Update copyright dates
49621         using scripts/update-copyrights.
49622         * intl/plural.c: Regenerated.
49623         * locale/programs/charmap-kw.h: Likewise.
49624         * locale/programs/locfile-kw.h: Likewise.
49626 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
49628         * sysdeps/unix/sysv/linux/configure: Regenerated.
49629         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
49630         the linux/fanotify.h header.
49631         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
49632         HAVE_LINUX_FANOTIFY_H is defined.
49634 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49636         * benchtests/cos-inputs: New inputs.
49637         * benchtests/sin-inputs: Likewise.
49639         * benchtests/atan-inputs: New inputs. Fix name of multiple
49640         precision fallback inputs.
49642         * benchtests/atanh-inputs: New inputs.
49643         * benchtests/tanh-inputs: Likewise.
49645         * benchtests/acosh-inputs: New inputs.
49646         * benchtests/asinh-inputs: Likewise.
49648         * benchtests/cosh-inputs: New inputs.
49649         * benchtests/sinh-inputs: Likewise.
49651         * benchtests/acos-inputs: Add more inputs.
49652         * benchtests/asin-inputs: Likewise.
49654 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
49656         [BZ #16375]
49657         * manual/arith.texi: Fix spelling.
49658         * manual/charset.texi: Likewise.
49659         * manual/errno.texi: Likewise.
49660         * manual/filesys.texi: Likewise.
49661         * manual/lang.texi: Likewise.
49662         * manual/llio.texi: Likewise.
49663         * manual/locale.texi: Likewise.
49664         * manual/message.texi: Likewise.
49665         * manual/resource.texi: Likewise.
49666         * manual/search.texi: Likewise.
49667         * manual/setjmp.texi: Likewise.
49668         * manual/stdio.texi: Likewise.
49669         * manual/string.texi: Likewise.
49670         * manual/sysinfo.texi: Likewise.
49671         * manual/time.texi: Likewise.
49673 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
49675         * po/sl.po: New file.
49677 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
49679         * .gitignore: Add core/.gdbinit/.gdb_history.
49681 2013-12-27  Allan McRae  <allan@archlinux.org>
49683         [BZ #16369]
49684         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
49685         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
49687 2013-12-24  Brooks Moses  <bmoses@google.com>
49689         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
49690         all compilers that claim C++98 compliance, not just GCC.
49691         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
49692         Likewise.
49694 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49696         * NEWS: Restore accidentally deleted bug-fix entries.
49698 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
49699             Ondřej Bílka  <neleai@seznam.cz>
49701         [BZ #15073]
49702         * malloc/malloc.c (_int_free): Perform sanity check only if we
49703         have_lock.
49705 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
49707         [BZ #12986]
49708         * manual/stdio.texi (String Input Conversions): Clarify that character
49709         classes are not supported.
49711 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49715 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
49717         [BZ #16337]
49718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
49719         Calculate results for small negative arguments directly rather
49720         than using reflection formula with special underflow handling.
49722         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
49723         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
49724         sysdeps/unix/bsd/bsd4.4/syscalls.list.
49725         (fchflags): Likewise.
49726         (revoke): Likewise.
49727         (setlogin): Likewise.
49728         (sigaltstack): Likewise.
49729         (wait4): Likewise.
49730         (sigblock): Remove.
49731         (sigsetmask): Likewise.
49732         (wait3): Likewise.
49733         (waitpid): Likewise.
49734         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
49735         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
49736         file.
49737         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
49738         * sysdeps/unix/bsd/Makefile: ... here.
49739         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
49740         * sysdeps/unix/bsd/Versions: ... here.
49741         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
49742         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
49743         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
49744         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
49745         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
49746         * sysdeps/unix/bsd/sigblock.c: ... here.
49747         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
49748         * sysdeps/unix/bsd/sigsetmask.c: ... here.
49749         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
49750         * sysdeps/unix/bsd/sigvec.c: ... here.
49751         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
49752         * sysdeps/unix/bsd/tcdrain.c: ... here.
49753         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
49754         * sysdeps/unix/bsd/tcgetattr.c: ... here.
49755         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
49756         * sysdeps/unix/bsd/tcsetattr.c: ... here.
49757         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
49758         * sysdeps/unix/bsd/wait.c: ... here.
49759         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
49760         * sysdeps/unix/bsd/wait3.c: ... here.
49761         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
49762         * sysdeps/unix/bsd/waitpid.c: ... here.
49764 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
49766         [BZ #16356]
49767         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
49768         round-to-nearest for [!USE_AS_EXPM1L].
49769         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
49770         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
49771         more tests of exp and exp10.  Expect some exp10 tests to miss
49772         exceptions or fail in directed rounding modes.
49773         * math/auto-libm-test-out: Regenerated.
49774         * math/libm-test.inc (exp10_tonearest_test_data): New array.
49775         (exp10_test_tonearest): New function.
49776         (exp10_towardzero_test_data): New array.
49777         (exp10_test_towardzero): New function.
49778         (exp10_downward_test_data): New array.
49779         (exp10_test_downward): New function.
49780         (exp10_upward_test_data): New array.
49781         (exp10_test_upward): New function.
49782         (main): Call the new functions.
49783         * sysdeps/i386/fpu/libm-test-ulps: Update.
49784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49786 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
49788         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
49789         asinh, atan, atan2, atanh, cbrt, cos and cosh.
49790         * math/auto-libm-test-out: Regenerated.
49791         * math/libm-test.inc (acosh_test_data): Add more tests.
49792         (atanh_test_data): Likewise.
49793         (ceil_test_data): Likewise.
49794         (copysign_test_data): Likewise.
49795         * sysdeps/i386/fpu/libm-test-ulps: Update.
49796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49798         * timezone/checktab.awk: Update from tzcode 2013i.
49799         * timezone/private.h: Likewise.
49800         * timezone/scheck.c: Likewise.
49801         * timezone/tzfile.h: Likewise.
49802         * timezone/tzselect.ksh: Likewise.
49803         * timezone/zdump.c: Likewise.
49804         * timezone/zic.c: Likewise.
49806         * math/auto-libm-test-in: Add tests of cpow.
49807         * math/auto-libm-test-out: Regenerated.
49808         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
49809         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49810         mpc_cc_c.
49811         (func_calc_desc): Add mpc_cc_c union field.
49812         (test_functions): Add cpow.
49813         (special_fill_2pi): New function.
49814         (special_real_inputs): Add 2pi.
49815         (calc_generic_results): Handle mpc_cc_c.
49816         * sysdeps/i386/fpu/libm-test-ulps: Update.
49817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49819         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
49820         csqrt, ctan and ctanh.
49821         * math/auto-libm-test-out: Regenerated.
49822         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49823         (TEST_COND_x86): Likewise.
49824         (ccos_test_data): Use AUTO_TESTS_c_c.
49825         (ccosh_test_data): Likewise.
49826         (cexp_test_data): Likewise.
49827         (clog_test_data): Likewise.
49828         (csqrt_test_data): Likewise.
49829         (ctan_test_data): Likewise.
49830         (ctan_tonearest_test_data): Likewise.
49831         (ctan_towardzero_test_data): Likewise.
49832         (ctan_downward_test_data): Likewise.
49833         (ctan_upward_test_data): Likewise.
49834         (ctanh_test_data): Likewise.
49835         (ctanh_tonearest_test_data): Likewise.
49836         (ctanh_towardzero_test_data): Likewise.
49837         (ctanh_downward_test_data): Likewise.
49838         (ctanh_upward_test_data): Likewise.
49839         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49840         mpc_c_c.
49841         (func_calc_desc): Add mpc_c_c union field.
49842         (FUNC_mpc_c_c): New macro.
49843         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
49844         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
49845         ctanh.
49846         (special_fill_min_subnorm_p120): New function.
49847         (special_real_inputs): Add min_subnorm_p120.
49848         (calc_generic_results): Handle mpc_c_c.
49849         * sysdeps/i386/fpu/libm-test-ulps: Update.
49850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49852 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49854         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
49855         (do_sin_slow): New functions.
49856         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
49857         (cslow2, csloww1, csloww2): Use the new functions.
49859         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
49860         Use M to change sign of result instead of X.  Assume X is
49861         positive.
49862         (csloww1): Likewise.
49863         (__sin): Adjust.
49864         (__cos): Adjust.
49866         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
49867         arguments A and DA.
49868         (__sin): Adjust.
49869         (__cos): Likewise.
49871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
49872         (__cos): Likewise.
49873         (sloww1): Don't adjust sign of DX.
49874         (csloww1): Likewise.
49875         (sloww2): Use X directly and don't adjust sign of DX.
49876         (csloww2): Likewise.
49878 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49880         * math/auto-libm-test-in: Add tests of cabs and carg.
49881         * math/auto-libm-test-out: Regenerated.
49882         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
49883         (carg_test_data): Likewise.
49884         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49885         mpc_c_f.
49886         (func_calc_desc): Add mpc_c_f union field.
49887         (test_functions): Add cabs and carg.
49888         (calc_generic_results): Handle mpc_c_f.
49890         * sysdeps/powerpc/powerpc32/libgcc-compat.S
49891         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
49892         as a macro and a compat symbol.
49893         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
49894         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
49895         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
49896         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
49897         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
49898         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
49899         not use .hidden.
49900         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
49901         Likewise.
49902         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
49903         Likewise.
49904         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
49905         Likewise.
49906         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
49907         Likewise.
49908         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
49909         Likewise.
49910         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
49911         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
49912         from GLIBC_2.3.2.
49914 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49918 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49920         * manual/texinfo.tex: Update to version 2013-11-26.10 with
49921         trailing whitespace removed.
49922         * scripts/config.guess: Update to version 2013-11-29.
49923         * scripts/config.sub: Update to version 2013-10-01.
49925         * math/auto-libm-test-in: Add tests of sincos.
49926         * math/auto-libm-test-out: Regenerated.
49927         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
49928         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49929         mpfr_f_11.
49930         (func_calc_desc): Add mpfr_f_11 union field.
49931         (test_functions): Add sincos.
49932         (calc_generic_results): Handle mpfr_f_11.
49933         * sysdeps/i386/fpu/libm-test-ulps: Update.
49934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49936 2013-12-19  Andreas Schwab  <schwab@suse.de>
49938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
49939         CALL_MCOUNT.
49940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49941         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
49942         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
49944 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
49946         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
49947         * sysdeps/i386/fpu/libm-test-ulps: Update.
49948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49950         [BZ #16293]
49951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
49952         round-to-nearest mode when using frndint.
49953         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
49954         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
49955         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49956         Likewise.
49957         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
49958         sinh test to fail.
49959         * math/auto-libm-test-out: Regenerated.
49960         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
49961         (TEST_COND_x86): Likewise.
49962         (expm1_tonearest_test_data): New array.
49963         (expm1_test_tonearest): New function.
49964         (expm1_towardzero_test_data): New array.
49965         (expm1_test_towardzero): New function.
49966         (expm1_downward_test_data): New array.
49967         (expm1_test_downward): New function.
49968         (expm1_upward_test_data): New array.
49969         (expm1_test_upward): New function.
49970         (main): Run the new test functions.
49971         * sysdeps/i386/fpu/libm-test-ulps: Update.
49972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49974         * include/features.h: Update comment documenting feature test
49975         macros.  Mention _DEFAULT_SOURCE in comment.
49976         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
49977         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
49978         _BSD_SOURCE and _SVID_SOURCE.
49979         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
49980         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
49981         !_SVID_SOURCE]: Likewise.
49982         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49983         (__USE_POSIX_IMPLICITLY): Define.
49984         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49985         (_POSIX_SOURCE): Undefine and redefine.
49986         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
49987         (_POSIX_C_SOURCE): Likewise.
49988         * manual/creature.texi (_DEFAULT_SOURCE): Document.
49989         (Feature Test Macros): Update documentation of default features.
49991 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49993         * benchtests/Makefile: Add bench-strtok.
49994         * benchtests/bench-strtok.c: New file: strtok benchtest.
49996 2013-12-19  Allan McRae  <allan@archlinux.org>
49998         * manual/install.texi: Suppress menu for plain text output.
49999         * INSTALL: Regenerated.
50001 2013-12-18  Brooks Moses  <bmoses@google.com>
50003         [BZ #15846]
50004         * misc/getauxval.c: Include errno.h.
50005         (__getauxval): Set errno to ENOENT if the requested type is not
50006         found.
50007         * misc/sys/auxv.h (getauxval): Document that it may set errno;
50008         don't declare with __attribute_const__.
50009         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
50010         * manual/startup.texi: Document that getauxval sets errno.
50012 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50014         * math/auto-libm-test-in: Add tests of jn and yn.
50015         * math/auto-libm-test-out: Regenerated.
50016         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
50017         (yn_test_data): Likewise.
50018         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50019         mpfr_if_f.
50020         (func_calc_desc): Add mpfr_if_f union field.
50021         (FUNC_mpfr_if_f): New macro.
50022         (test_functions): Add jn and yn.
50023         (calc_generic_results): Assert type of second input for
50024         mpfr_ff_f.  Handle mpfr_if_f.
50025         (output_for_one_input_case): Disable all checking for arguments
50026         fitting floating-point types in case of an integer argument.
50027         * sysdeps/i386/fpu/libm-test-ulps: Update.
50028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50031         Don't expect fegetround reference in libm.so.
50033 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50035         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
50036         $(config-cflags-nofma).
50038 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
50040         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
50041         * math/auto-libm-test-out: Regenerated.
50043         [BZ #16338]
50044         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
50045         to determine exponent and adjust argument to have exponent of -1.
50046         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
50047         log2.
50048         * math/auto-libm-test-out: Regenerated.
50049         * sysdeps/i386/fpu/libm-test-ulps: Update.
50050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50052 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
50054         * manual/probes.texi: Remove cases when per-thread arenas are
50055         disabled.
50057 2013-12-18  Andreas Schwab  <schwab@suse.de>
50059         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
50060         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
50061         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
50062         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
50063         * sysdeps/i386/i686/multiarch/Makefile: Update.
50064         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
50066 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50068         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
50069         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
50071 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
50073         [BZ #15968]
50074         Support TZ transition times < 00:00:00.
50075         This is needed for version-3 tz-format files; it supports time
50076         stamps past 2037 for America/Godthab (the only entry in the tz
50077         database for which this change is relevant).
50078         * manual/time.texi (TZ Variable): Document transition times
50079         from -167:59:59 through -00:00:01.
50080         * time/tzset.c (tz_rule): Time of day is now signed.
50081         (__tzset_parse_tz): Parse negative time of day.
50083         Document TZ transition times >= 25:00:00.
50084         * manual/time.texi (TZ Variable): Document transition times from
50085         25:00:00 through 167:59:59.  These are already supported, and this
50086         support will help with version-3 tz-format files.
50088         * manual/time.texi (TZ Variable): Modernize North America example
50089         to reflect current (i.e., 2007-and-later) daylight saving rules.
50091         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
50093 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50095         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
50096         * sysdeps/unix/bsd/bits/stat.h: Likewise.
50097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
50098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50099         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
50100         * sysdeps/unix/bsd/bsdstat.h: Likewise.
50101         * sysdeps/unix/bsd/clock.c: Likewise.
50102         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
50103         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
50104         * sysdeps/unix/bsd/init-posix.c: Likewise.
50105         * sysdeps/unix/bsd/poll.c: Likewise.
50106         * sysdeps/unix/bsd/ptsname.c: Likewise.
50107         * sysdeps/unix/bsd/seekdir.c: Likewise.
50108         * sysdeps/unix/bsd/setegid.c: Likewise.
50109         * sysdeps/unix/bsd/seteuid.c: Likewise.
50110         * sysdeps/unix/bsd/setgid.c: Likewise.
50111         * sysdeps/unix/bsd/setrgid.c: Likewise.
50112         * sysdeps/unix/bsd/setruid.c: Likewise.
50113         * sysdeps/unix/bsd/setsid.c: Likewise.
50114         * sysdeps/unix/bsd/setuid.c: Likewise.
50115         * sysdeps/unix/bsd/sigaction.c: Likewise.
50116         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
50117         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
50118         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
50119         * sysdeps/unix/bsd/telldir.c: Likewise.
50120         * sysdeps/unix/bsd/times.c: Likewise.
50121         * sysdeps/unix/bsd/usleep.c: Likewise.
50123         * misc/Makefile (install-lib): Remove libbsd-compat.a.
50124         ($(objpfx)libbsd-compat.a): Remove rule.
50126         * include/features.h (__FAVOR_BSD): Do not define.
50127         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
50128         features conflicting with POSIX.
50129         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50130         (_BSD_SOURCE): Remove description of not being a subset of other
50131         feature test macros.
50132         * manual/job.texi (getpgrp): Do not document BSD version.
50133         (getpgid): Do not document by reference to BSD getpgrp.
50134         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
50135         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
50136         * signal/signal.h [__FAVOR_BSD]: Likewise.
50137         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
50138         instead of making contents conditional on [__FAVOR_BSD].
50139         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
50141 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50145 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
50147         [BZ #16314]
50148         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
50149         values below 2**-450, not 2**-500.
50150         * math/auto-libm-test-in: Don't allow spurious underflow from
50151         hypot.
50152         * math/auto-libm-test-out: Regenerated.
50154         [BZ #16316]
50155         [BZ #16330]
50156         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
50157         values of ha and hb and sort them after adjusting subnormal
50158         arguments.
50159         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
50160         Likewise.
50161         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
50162         values of ea and eb and sort them after adjusting subnormal
50163         arguments.
50164         * math/auto-libm-test-in: Do not expect some hypot tests of
50165         subnormals to fail.  Add more hypot tests.
50166         * math/auto-libm-test-out: Regenerated.
50168 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50170         [BZ #13304]
50171         * sysdeps/sh/s_fma.c: New file.
50172         * sysdeps/sh/s_fmaf.c: New file.
50173         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
50174         version.
50175         * sysdeps/sh/Implies: Add sh/soft-fp.
50177 2013-12-16  Roland McGrath  <roland@hack.frob.com>
50179         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
50180         level of indirection to members `objname', `errstring', `malloced'.
50181         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
50182         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
50183         it as the __longjmp argument (just pass 1 instead).
50184         (_dl_catch_error): Initialize C with argument pointers and address of
50185         volatile local ERRCODE rather than copying values out of C at return.
50187 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
50189         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
50190         * math/auto-libm-test-out: Regenerated.
50191         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
50192         (hypot_test_data): Likewise.
50193         (pow_test_data): Likewise.
50194         (pow_tonearest_test_data): Likewise.
50195         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50196         mpfr_ff_f.
50197         (func_calc_desc): Add mpfr_ff_f union field.
50198         (FUNC_mpfr_ff_f): New macro.
50199         (test_functions): Add atan2, hypot and pow.
50200         (special_fill_min): New function.
50201         (special_fill_minus_min): Likewise.
50202         (special_fill_min_subnorm): Likewise.
50203         (special_fill_minus_min_subnorm): Likewise.
50204         (special_real_inputs): Add min, -min, min_subnorm and
50205         -min_subnorm.
50206         (calc_generic_results): Handle mpfr_ff_f.
50207         * sysdeps/i386/fpu/libm-test-ulps: Update.
50208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50210 2013-12-16  Will Newton  <will.newton@linaro.org>
50212         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
50213         (Aligned Memory Blocks): Add documentation for aligned_alloc
50214         and suggest it as an alternative to posix_memalign.
50215         (Hooks for Malloc): Document __memalign_hook is also called
50216         for aligned_alloc.  (Summary of Malloc): Add summary for
50217         aligned alloc.  Document __memalign_hook is also called
50218         for aligned_alloc.
50220 2013-12-16  Will Newton  <will.newton@linaro.org>
50222         * manual/memory.texi (Malloc Examples): Clarify default
50223         alignment documentation.  Suggest posix_memalign rather
50224         than memalign or valloc.
50225         (Aligned Memory Blocks): Remove suggestion to use memalign
50226         or valloc.  Remove obsolete comment about BSD.
50227         Document memalign errno values and mark the function obsolete.
50228         Document posix_memalign returned error codes.  Mark valloc
50229         as obsolete.  (Hooks for Malloc): __memalign_hook is also
50230         called for posix_memalign and valloc.
50231         (Summary of Malloc): Add posix_memalign to function summary.
50232         __memalign_hook is also called for posix_memalign and valloc.
50234 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50236         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
50237         TAYLOR_SIN.
50238         (__sin): Adjust.
50239         (__cos): Likewise.
50240         (sloww): Use mynumber union.  Expand ternary operator into
50241         if-else statements.
50242         (cslow): use mynumber union.
50244 2013-12-16  Allan McRae  <allan@archlinux.org>
50246         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
50247         * configure: Regenerated.
50249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
50251         [BZ #14120]
50252         * configure.ac: Added --enable-maintainer-mode. Check for
50253         autoconf when enabled.
50254         * configure: Regenerated.
50256         * nscd/nscd.service: New file.
50257         * nscd/nscd.tmpfiles: New file.
50259 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
50261         [BZ #12100]
50262         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
50263         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
50264         * sysdeps/x86_64/multiarch/strstr.c: ... here.
50265         (strstr): Add __strstr_sse2_unaligned ifunc.
50266         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
50267         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
50268         (strcasestr): Remove __strcasestr_sse42 ifunc.
50269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
50270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50273 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50275         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
50276         * sysdeps/sh/bits/fenv.h: ... here.
50277         * sysdeps/sh/sh4/fpu/bits: Remove directory.
50279 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50281         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
50283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
50284         hypotf multiarch implementations.
50285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
50286         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
50287         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
50288         multiarch hypot for PPC64.
50289         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
50290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
50291         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
50292         multiarch hypotf for PPC64.
50294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
50295         modff multiarch implementations.
50296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
50297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
50298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
50299         multiarch modf for PPC64.
50300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
50301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
50302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
50303         multiarch modff for PPC64.
50305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
50306         and logl multiarch implementations.
50307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
50308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
50309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
50310         multiarch logb for PPC64.
50311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
50312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
50313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
50314         multiarch logb for PPC64.
50315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
50316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
50317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
50318         multiarch logb for PPC64.
50320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
50321         isinff multiarch implementation.
50322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
50323         file.
50324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
50325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
50326         multiarch isinf for PPC64.
50327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
50328         file.
50329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
50330         multiarch isinff for PPC64.
50332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
50333         finitef multiarch implementation.
50334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
50335         file.
50336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
50337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
50338         multiarch finite for PPC64.
50339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
50340         file.
50341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
50342         multiarch finitef for PPC64.
50344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
50345         lrint multiarch implementation.
50346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
50347         file.
50348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
50349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
50350         multiarch llrint for PPC64.
50351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
50352         multiarch lrint for PPC64.
50354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
50355         copysignf multiarch implementation.
50356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
50357         file.
50358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
50359         file.
50360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
50361         multiarch copysign for PPC64.
50362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
50363         multiarch copysignf for PPC64.
50365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
50366         multiarch implementation.
50367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
50368         file.
50369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
50370         file.
50371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
50372         file.
50373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
50374         file.
50375         multiarch llround for PPC64.
50376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
50377         multiarch trunc for PPC64.
50378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
50379         multiarch truncf for PPC64.
50381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
50382         multiarch implementation.
50383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
50384         file.
50385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
50386         file.
50387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
50388         file.
50389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
50390         file.
50391         multiarch llround for PPC64.
50392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
50393         multiarch round for PPC64.
50394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
50395         multiarch roundf for PPC64.
50397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
50398         multiarch implementation.
50399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
50400         file.
50401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
50402         file.
50403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
50404         file.
50405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
50406         file.
50407         multiarch llround for PPC64.
50408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
50409         multiarch floor for PPC64.
50410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
50411         multiarch floorf for PPC64.
50413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
50414         multiarch implementation.
50415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
50416         file.
50417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
50418         file.
50419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
50420         file.
50421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
50422         file.
50423         multiarch llround for PPC64.
50424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
50425         multiarch ceil for PPC64.
50426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
50427         multiarch ceilf for PPC64.
50429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50430         multiarch implementation.
50431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
50432         file.
50433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
50434         file.
50435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
50436         file.
50437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
50438         multiarch llround for PPC64.
50439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
50440         multiarch lround for PPC64.
50442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50443         multiarch implementation.
50444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
50445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
50446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
50447         file.
50448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
50449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
50450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
50451         multiarch isnan for PPC64.
50452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
50453         multiarch isnanf for PPC64.
50455         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
50456         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
50457         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
50458         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
50459         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
50460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
50462         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
50463         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
50468         multiarch implementations.
50469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50470         (__libc_ifunc_impl_list): Likewise.
50471         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
50472         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
50473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
50474         multiarch stpcpy for PPC64.
50476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
50477         multiarch implementations.
50478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50479         (__libc_ifunc_impl_list): Likewise.
50480         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
50481         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
50482         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
50483         multiarch strcpy for PPC64.
50485         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
50486         redefine function name.
50487         (_wordcopy_fwd_dest_aligned): Likewise.
50488         (_wordcopy_bwd_aligned): Likewise.
50489         (_wordcopy_bwd_dest_aligned): Likewise.
50490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
50491         multiarch implementations.
50492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50493         (__libc_ifunc_impl_list): Likewise.
50494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
50495         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
50496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
50497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
50498         multiarch wcscpy for PPC64.
50500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
50501         multiarch implementations.
50502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50503         (__libc_ifunc_impl_list): Likewise.
50504         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
50505         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
50506         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
50507         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
50508         multiarch wcscpy for PPC64.
50510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
50511         multiarch implementations.
50512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50513         (__libc_ifunc_impl_list): Likewise.
50514         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
50515         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
50516         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
50517         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
50518         multiarch wcsrchr for PPC64.
50520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
50521         multiarch implementations.
50522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50523         (__libc_ifunc_impl_list): Likewise.
50524         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
50525         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
50526         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
50527         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
50528         multiarch wcschr for PPC64.
50530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
50531         multiarch implementations.
50532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50533         (__libc_ifunc_impl_list): Likewise.
50534         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
50535         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
50536         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
50537         multiarch strchrnul for PPC64.
50539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
50540         implementations.
50541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50542         (__libc_ifunc_impl_list): Likewise.
50543         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
50544         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
50545         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
50546         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
50547         strchr for PPC64.
50549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
50550         implementations.
50551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50552         (__libc_ifunc_impl_list): Likewise.
50553         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
50554         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
50555         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
50556         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
50557         strncmp for PPC64.
50559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
50560         multiarch implementations.
50561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50562         (__libc_ifunc_impl_list): Likewise.
50563         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
50564         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
50565         strncasecmp for PPC64.
50566         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
50567         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
50568         multiarch strncasecmp_l for PPC64.
50570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
50571         multiarch implementations.
50572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50573         (__libc_ifunc_impl_list): Likewise.
50574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
50575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
50576         multiarch strcasecmp for PPC64.
50577         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
50578         file.
50579         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
50580         multiarch strcasecmp_l for PPC64.
50582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
50583         implementations.
50584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50585         (__libc_ifunc_impl_list): Likewise.
50586         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
50587         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
50588         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
50589         strnlen for PPC64.
50591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
50592         implementations.
50593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50594         (__libc_ifunc_impl_list): Likewise.
50595         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
50596         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
50597         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
50598         strlen for PPC64.
50600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
50601         implementations.
50602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50603         (__libc_ifunc_impl_list): Likewise.
50604         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
50605         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
50606         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
50607         rawmemrchr for PPC64.
50609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
50610         implementation.
50611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50612         (__libc_ifunc_impl_list): Likewise.
50613         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
50614         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
50615         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
50616         memrchr for PPC64.
50618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
50619         implementation.
50620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50621         (__libc_ifunc_impl_list): Likewise.
50622         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
50623         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
50624         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
50625         memchr for PPC64.
50627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
50628         implementation.
50629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50630         (__libc_ifunc_impl_list): Likewise.
50631         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
50632         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
50633         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
50634         mempcpy for PPC64.
50636         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
50637         avoid cretion of __bzero symbol.
50638         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
50639         Likewise.
50640         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
50641         Likewise.
50642         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
50643         Likewise.
50644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
50645         multiarch implementations.
50646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50647         (__libc_ifunc_impl_list): Likewise.
50648         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
50649         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
50650         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
50651         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
50652         bzero for PPC32.
50653         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
50654         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
50655         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
50656         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
50657         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
50658         memset for PPC64.
50659         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
50661         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
50662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
50663         implementations.
50664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50665         (__libc_ifunc_impl_list): Likewise.
50666         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
50667         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
50668         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
50669         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
50670         memcmp for PPC64.
50672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
50673         multiarch for POWER/PPC64.
50674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
50675         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
50676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
50677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
50678         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50679         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
50680         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
50681         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
50682         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
50683         memcpy for PPC64.
50685         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
50686         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
50687         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
50688         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
50689         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
50690         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
50691         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
50692         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
50693         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
50694         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
50695         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
50696         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
50697         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
50698         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
50699         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
50700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
50701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
50702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
50703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
50704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
50705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
50706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
50708 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
50712 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50714         * benchtests/Makefile (bench): Add exp2 and log2.
50715         (LDLIBS-bench-exp2): Add -lm.
50716         (LDLIBS-bench-log2): Likewise.
50717         * benchtests/exp2-inputs: New inputs file.
50718         * benchtests/log2-inputs: New inputs file.
50719         * benchtests/log-inputs: Add new inputs.
50720         * benchtests/tan-inputs: Likewise.
50722 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50724         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
50725         definition...
50726         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
50727         (csloww2): ... from here.
50729         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
50730         instead of structures.
50731         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50732         (POLYNOMIAL): Likewise.
50733         (TAYLOR_SLOW): Likewise.
50734         (__sin): Likewise.
50735         (__cos): Likewise.
50736         (slow1): Likewise.
50737         (slow2): Likewise.
50738         (sloww): Likewise.
50739         (sloww1); Likewise.
50740         (sloww2): Likewise.
50741         (bsloww1): Likewise.
50742         (bsloww2): Likewise.
50743         (cslow2): Likewise.
50744         (csloww): Likewise.
50745         (csloww1): Likewise.
50746         (csloww2): Likewise.
50748 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
50750         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
50751         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
50752         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
50753         * malloc/hooks.c (realloc_check): Likewise.
50755         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
50756         * malloc/arena.c: Remove PER_THREAD conditional.
50757         [!PER_THREAD]: Remove code.
50758         (ptmalloc_unlock_all2): Likewise.
50759         (ptmalloc_init): Likewise.
50760         (_int_new_arena): Likewise.
50761         (arena_get2): Likewise.
50762         * malloc/hooks.c (__malloc_get_state): Likewise.
50763         (__malloc_set_state): Likewise.
50764         * malloc/malloc.c: Likewise.
50765         (struct malloc_state): Likewise.
50766         (struct malloc_par): Likewise.
50767         (__libc_realloc): Likewise.
50768         (__libc_mallopt): Likewise.
50770 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50772         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50774 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
50776         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
50777         macro to a function.  Check for zero perturb_byte.
50778         (_int_malloc, _int_free): Remove zero perturb_byte checks.
50780         * malloc/malloc.c: (force_reg): Remove.
50781         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
50782         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
50783         force_reg by atomic_forced_read.
50784         * malloc/arena.c (ptmalloc_init): Likewise.
50785         * malloc/hooks.c (top_check): Likewise.
50787 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50791 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
50793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50795 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
50797         * math/auto-libm-test-in: Add tests of lgamma.
50798         * math/auto-libm-test-out: Regenerated.
50799         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
50800         (M_LOG_2_SQRT_PIl): Likewise.
50801         (lgamma_test_data): Use AUTO_TESTS_f_f1.
50802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50803         mpfr_f_f1.
50804         (func_calc_desc): Add mpfr_f_f1 union field.
50805         (ARGS1): New macro.
50806         (ARGS2): Likewise.
50807         (ARGS3): Likewise.
50808         (ARGS4): Likewise.
50809         (RET1): Likewise.
50810         (RET2): Likewise.
50811         (CALC): Likewise.
50812         (FUNC): Likewise.
50813         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
50814         (test_functions): Add lgamma.
50815         (calc_generic_results): Handle mpfr_f_f1.
50816         * sysdeps/i386/fpu/libm-test-ulps: Update.
50817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50819 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50821         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
50822         __mpn_add_n for PowerPC64/POWER7.
50823         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
50824         __mpn_sub_n for PowerPC64/POWER7.
50826         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
50827         __mpn_addmul_1 for PowerPC64.
50828         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
50829         __mpn_submul_1 for PowerPC64.
50830         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
50831         for PowerPC64.
50832         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
50833         for PowerPC64.
50835 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
50837         [BZ #15089]
50838         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
50840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50842         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
50844         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
50845         add multiarch folders.
50846         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
50847         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
50848         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
50849         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
50850         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
50851         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
50852         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
50853         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
50854         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
50855         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
50856         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
50857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
50858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
50859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
50860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
50861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
50862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
50864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50865         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
50866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
50867         New file.
50868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
50869         New file.
50870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
50871         multiarch __ieee754_hypot for PowerPC32.
50872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
50873         New file.
50874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
50875         New file.
50876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
50877         multiarch __ieee754_hypotf for PowerPC32.
50879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
50880         long_double_symbol only if __logbl is defined.
50881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
50882         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
50883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
50884         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
50885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
50886         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
50887         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
50888         path for implementation.
50889         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
50890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
50891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
50892         logb, and logbl multiarch implementations for PowerPC32.
50893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
50894         file.
50895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
50896         file.
50897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
50898         multiarch logb for PowerPC32.
50899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
50900         file.
50901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
50902         file.
50903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
50904         multiarch logbf for PowerPC32.
50905         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
50906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
50907         file.
50908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
50909         multiarch logbl implementation for PowerPC32.
50911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
50912         and modff multiarch implementations.
50913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
50914         New file.
50915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
50916         New file.
50917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
50918         multiarch modf for PowerPC32.
50919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
50920         New file.
50921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
50922         New file.
50923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
50924         multiarch modff for PowerPC32.
50926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
50927         and lrintf multiarch implementations.
50928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
50929         New file.
50930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
50931         New file.
50932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
50933         multiarch lrint for PowerPC32.
50934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
50935         file: multiarch lrintf for PowerPC32.
50937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
50938         and lroundf multiarch implementations.
50939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
50940         New file.
50941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
50942         New file.
50943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
50944         New file.
50945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
50946         multiarch lround for PowerPC32.
50947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
50948         file: multiarch lroundf for PowerPC32.
50950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
50951         copysign and copysignf multiarch implementations.
50952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
50953         New file.
50954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
50955         New file.
50956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
50957         file: multiarch copysign for PowerPC32.
50958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
50959         file: multiarch copysignf for PowerPC32.
50961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
50962         and truncf multiarch implementations.
50963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
50964         New file.
50965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
50966         file.
50967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
50968         multiarch trunc for PowerPC32.
50969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
50970         New file.
50971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
50972         New file.
50973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
50974         multiarch truncf for PowerPC32.
50976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
50977         and roundf multiarch implementations.
50978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
50979         New file.
50980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
50981         file.
50982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
50983         multiarch round for PowerPC32.
50984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
50985         New file.
50986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
50987         New file.
50988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
50989         multiarch roundf for PowerPC32.
50991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
50992         and floorf multiarch implementations.
50993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
50994         New file.
50995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
50996         file.
50997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
50998         multiarch floor for PowerPC32.
50999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
51000         New file.
51001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
51002         New file.
51003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
51004         multiarch floorf for PowerPC32.
51006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
51007         and ceilf multiarch implementations.
51008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
51009         New file.
51010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
51011         file.
51012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
51013         multiarch ceil for PowerPC32.
51014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
51015         New file.
51016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
51017         file.
51018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
51019         multiarch ceilf for PowerPC32.
51021         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
51022         is defined.
51023         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
51024         FINITEF is defined.
51025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
51026         and finitef multiarch implementations.
51027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
51028         New file.
51029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
51030         file.
51031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
51032         multiarch finite for PowerPC32.
51033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
51034         New file.
51035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
51036         file: multiarch finitef for PowerPC32.
51038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
51039         and isinff multiarch implementations.
51040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
51041         file.
51042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
51043         file.
51044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
51045         multiarch isinf for PowerPC32.
51046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
51047         New file.
51048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
51049         multiarch isinff for PowerPC32.
51051         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
51052         alias when __isnan is defined.
51053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
51054         and isnanf multiarch implementations.
51055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
51056         file.
51057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
51058         file.
51059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
51060         file.
51061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
51062         file.
51063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
51064         multiarch isnan for PowerPC32.
51065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
51066         New file.
51067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
51068         New file.
51069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
51070         multiarch isnanf for PowerPC32.
51072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
51073         and sqrtf multiarch implementations.
51074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
51075         file.
51076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
51077         file.
51078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
51079         multiarch sqrt for PowerPC32.
51080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
51081         file.
51082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
51083         file.
51084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
51085         multiarch sqrtf for PowerPC32.
51087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
51088         and llroundf multiarch implementations.
51089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
51090         New file.
51091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
51092         New file.
51093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
51094         New file.
51095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
51096         file: multiarch llround for PowerPC32.
51097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
51098         file: multiarch llroundf for PowerPC32.
51100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
51101         multiarch PowerPC32 fpu implementations.
51102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
51103         New file.
51104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
51105         New file.
51106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
51107         multiarch llrint for PowerPC32.
51108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
51109         New file.
51110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
51111         New file.
51112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
51113         file.
51115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
51117         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
51118         file.
51119         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
51120         file.
51121         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
51122         file.
51123         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
51124         multiarch wordcopy for PPC32.
51125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51126         wordcopy objects.
51127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51128         (__libc_ifunc_impl_list): Likewise.
51129         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
51130         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
51131         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
51132         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
51133         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
51134         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
51136         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
51137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
51138         file.
51139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
51140         file.
51141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
51142         file.
51143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
51144         multiarch wcscpy for PPC32.
51145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
51146         multiarch objects.
51147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51148         (__libc_ifunc_impl_list): Likewise.
51149         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51150         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51151         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
51152         sysdeps/powerpc/power6/wcscpy.c.
51154         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
51155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
51156         file.
51157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
51158         file.
51159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
51160         file.
51161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
51162         multiarch wcsrchr for PPC32.
51163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51164         multiarch objects.
51165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51166         (__libc_ifunc_impl_list): Likewise.
51167         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
51168         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
51169         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
51170         sysdeps/powerpc/power6/wcsrchr.c.
51172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
51173         file.
51174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
51175         file.
51176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
51177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
51178         multiarch wcschr for PPc32.
51179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
51180         multiarch objects.
51181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51182         (__libc_ifunc_impl_list): Likewise.
51183         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
51184         * sysdeps/powerpc/power6/wcschr.c: ... to here.
51185         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
51186         sysdeps/powerpc/power6/wcschr.c.
51188         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
51189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
51190         file.
51191         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
51192         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
51193         file: multiarch strchr for PPC32.
51194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
51195         multiarch objects.
51196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51197         (__libc_ifunc_impl_list): Likewise.
51199         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
51200         name.
51201         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
51202         file.
51203         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
51204         file.
51205         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
51206         multiarch strchrnul for PPC32.
51207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
51208         multiarch objects.
51209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51210         (__libc_ifunc_impl_list): Likewise.
51212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
51213         file.
51214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
51215         multiarch strncasecmp for PPC32.
51216         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
51217         file.
51218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
51219         multiarch strncasecmp_l for PPC32.
51220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
51221         strncasecmp multiarch objects.
51222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51223         (__libc_ifunc_impl_list): Likewise.
51225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
51226         file.
51227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
51228         multiarch strncasecmp for PPC32.
51229         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
51230         New file.
51231         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
51232         multiarch strcasecmp_l for PPC32.
51233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
51234         multiarch objects.
51235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51236         (__libc_ifunc_impl_list): Likewise.
51238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
51239         file.
51240         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
51241         file.
51242         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
51243         multiarch strncmp for PPC32.
51244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
51245         multiarch objects.
51246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51247         (__libc_ifunc_impl_list): Likewise.
51249         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
51250         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
51251         file.
51252         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
51253         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
51254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
51255         multiarch objects.
51256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51257         (__libc_ifunc_impl_list): Likewise.
51259         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
51260         file.
51261         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
51262         file.
51263         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
51264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
51265         multiarch objects.
51266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51267         (__libc_ifunc_impl_list): Likewise.
51269         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
51270         file.
51271         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
51272         file.
51273         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
51274         multiarch rawmemchr for PPC32.
51275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
51276         multiarch objects.
51277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51278         (__libc_ifunc_impl_list): Likewise.
51280         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
51281         file.
51282         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
51283         file.
51284         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
51285         file: memrchr multiarch for PPC32.
51286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
51287         multiarch objects.
51288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
51289         (__libc_ifunc_impl_list): Likewise.
51291         * string/memchr.c (__memchr): Using macro to redefine symbol name.
51292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
51293         file.
51294         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
51295         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
51296         multiarch memchr for PPC32.
51297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
51298         multiarch objects.
51299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51300         (__libc_ifunc_impl_list): Likewise.
51302         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
51303         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
51304         file.
51305         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
51306         file.
51307         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
51308         file: multiarch mempcpy for PPC32.
51309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
51310         multiarch objects.
51311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51312         (__libc_ifunc_impl_list): Likewise.
51314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
51315         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
51316         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
51317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
51318         multiarch bzero for PPC32.
51319         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
51320         file.
51321         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
51322         file.
51323         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
51324         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
51325         file: multiarch memset for PPC32.
51326         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
51327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
51328         memset multiarch objects.
51329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51330         (__libc_ifunc_impl_list): Likewise.
51332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51333         file.
51334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
51335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
51336         memcmp for PPC32.
51337         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
51338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
51339         multiarch objects.
51340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51341         (__libc_ifunc_impl_list): Likewise.
51343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
51344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
51345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
51346         file.
51347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
51348         file.
51349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
51350         file.
51351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
51352         multiarch memcpy for PPC32.
51353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
51354         multiarch objects.
51355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
51356         (__libc_ifunc_impl_list): Likewise.
51358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
51359         support multiarch for POWER/PPC32.
51360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
51361         Likewise.
51362         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
51363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
51364         Implies file to make multiarch folder appers before the fpu and
51365         default folder for power4 configuration.
51367 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51369         * scripts/bench.pl: Append volatile keyword to type.
51371 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51373         * sysdeps/sh/sotruss-lib.c: New file.
51374         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
51376 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51380 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
51382         [BZ #6810]
51383         * math/w_tgamma.c: Include <errno.h>.
51384         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
51385         * math/w_tgammaf.c: Include <errno.h>.
51386         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
51387         * math/w_tgammal.c: Include <errno.h>.
51388         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
51389         * math/auto-libm-test-in: Do not allow missing errno on tgamma
51390         underflow.  Add more tgamma tests.
51391         * math/auto-libm-test-out: Regenerated.
51392         * sysdeps/i386/fpu/libm-test-ulps: Update.
51393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51395         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
51396         sin, sinh, tan, tanh, tgamma, y0 and y1.
51397         * math/auto-libm-test-out: Regenerated.
51398         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51399         (TEST_COND_x86): Likewise.
51400         (M_E2l): Remove macro.
51401         (M_E3l): Likewise.
51402         (M_2_SQRT_PIl): Likewise.
51403         (M_SQRT_PIl): Likewise.
51404         (M_1_DIV_El): Likewise.
51405         (log_test_data): Use AUTO_TESTS_f_f.
51406         (log10_test_data): Likewise.
51407         (log1p_test_data): Likewise.
51408         (log2_test_data): Likewise.
51409         (sin_test_data): Likewise.
51410         (sin_tonearest_test_data): Likewise.
51411         (sin_towardzero_test_data): Likewise.
51412         (sin_downward_test_data): Likewise.
51413         (sin_upward_test_data): Likewise.
51414         (sinh_test_data): Likewise.
51415         (sinh_tonearest_test_data): Likewise.
51416         (sinh_towardzero_test_data): Likewise.
51417         (sinh_downward_test_data): Likewise.
51418         (sinh_upward_test_data): Likewise.
51419         (tan_test_data): Likewise.
51420         (tan_tonearest_test_data): Likewise.
51421         (tan_towardzero_test_data): Likewise.
51422         (tan_downward_test_data): Likewise.
51423         (tan_upward_test_data): Likewise.
51424         (tanh_test_data): Likewise.
51425         (tgamma_test_data): Likewise.
51426         (y0_test_data): Likewise.
51427         (y1_test_data): Likewise.
51428         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
51429         (special_real_inputs): Add pi/4.
51430         * sysdeps/i386/fpu/libm-test-ulps: Update.
51431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51433 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51435         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
51436         "longjmp_target" static probes.
51437         (__longjmp): Rename to __longjmp_symbol.
51438         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51439         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
51440         on which longjmp to generate.
51441         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
51443         probe.
51444         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51445         (__sigjmp_save): Rename to __sigjmp_save_symbol.
51446         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
51447         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
51448         and __sigjmp_save_symbol based on which sigsetjmp to generated.
51449         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
51451         __longjmp_symbol based on which __longjmp to generate.
51452         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
51453         probe.
51454         (setjmp): Rename to setjmp_symbol.
51455         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51456         (_setjmp): Rename to _setjmp_symbol.
51457         (__sigsetjmp): Rename to __sigsetjmp_symbol.
51458         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
51459         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
51460         which setjmp to generate.
51461         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
51462         "longjmp_target" static probes.
51464 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51466         * benchtests/README: Add note about output arguments.
51467         * benchtests/bench-sincos.c: Remove file.
51468         * benchtests/sincos-inputs: New file.
51469         * scripts/bench.pl: Identify output arguments and define
51470         static variables for them.
51472         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
51474         [BZ #15941]
51475         * Makefile (INSTALL): Add install-plain.texi as the primary
51476         dependency.
51477         * manual/install-plain.texi: New file.
51478         * manual/install.texi: Include node directive only for
51479         non-plaintext output.
51481 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
51483         * stdlib/longlong.h: Update from GCC.
51485         [BZ #6807]
51486         [BZ #15901]
51487         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
51488         * math/w_j0f.c (y0f): Likewise.
51489         * math/w_j0l.c (__y0l): Likewise.
51490         * math/w_j1.c (y1): Likewise.
51491         * math/w_j1f.c (y1f): Likewise.
51492         * math/w_j1l.c (__y1l): Likewise.
51493         * math/w_jn.c (yn): Likewise.
51494         * math/w_jnf.c (ynf): Likewise.
51495         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
51496         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
51497         value for Bessel function domain errors outside _SVID_ mode.
51498         Adjust sign of return value for yn (negative integer, 0).
51499         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
51500         by zero in return for negative x and set sign appropriately for
51501         negative n.
51502         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
51503         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51504         * math/libm-test.inc (y0_test_data): Add more tests and adjust
51505         expectations in error cases.
51506         (y1_test_data): Likewise.
51507         (yn_test_data): Likewise.
51508         * sysdeps/i386/fpu/libm-test-ulps: Update.
51509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51511 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51513         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
51514         "64" to "64-v1".  Add "64-v2".
51515         (abi-64-options): Rename to ...
51516         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
51517         (abi-64-condition): Rename to ...
51518         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
51519         (abi-64-ld-soname): Rename to ...
51520         (abi-64-v1-ld-soname): ... this.
51521         (abi-64-v2-options): Define.
51522         (abi-64-v2-condition): Likewise.
51523         (abi-64-v2-ld-soname): Likewise.
51524         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
51525         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
51526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
51527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
51528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
51530 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51531             Alan Modra  <amodra@gmail.com>
51533         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
51534         New versions for use with the ELFv2 ABI.
51535         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
51536         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
51537         declaration.
51538         (struct La_ppc64v2_retval): Likewise.
51539         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
51540         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
51541         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
51542         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
51543         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
51544         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51545         Do not save or restore CR.
51546         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
51547         (_dl_profile_resolve): Do no save or restore CR.  Support extended
51548         return values for ELFv2 ABI.  Fix location of FPR return registers.
51549         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
51550         updated values for _CALL_ELF == 2.
51551         (La_regs, La_retval, int_retval): Likewise.
51553 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51555         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
51556         (FRAME_MIN_SIZE_PARM): Likewise.
51557         (FRAME_BACKCHAIN): Likewise.
51558         (FRAME_CR_SAVE): Likewise.
51559         (FRAME_LR_SAVE): Likewise.
51560         (FRAME_TOC_SAVE): Likewise.
51561         (FRAME_PARM_SAVE): Likewise.
51562         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
51563         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
51564         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51565         (call_mcount_parm_offset): New macro.
51566         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
51567         (PROF): Use symbolic stack frame offsets.
51568         (TAIL_CALL_SYSCALL_ERROR): Likewise.
51569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
51570         Redefine in terms of FRAME_MIN_SIZE.
51571         (_dl_runtime_resolve): Use symbolic stack frame offsets.
51572         (_dl_profile_resolve): Likewise.  Update comment.
51573         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
51574         symbols stack frame offsets.
51575         (__sigsetjmp): Likewise.
51576         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
51577         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
51578         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
51579         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
51581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
51582         (FRAME_BACKCHAIN): Remove.
51583         (FRAME_CR_SAVE): Likewise.
51584         (FRAME_LR_SAVE): Likewise.
51585         (FRAME_COMPILER_DW): Likewise.
51586         (FRAME_LINKER_DW): Likewise.
51587         (FRAME_TOC_SAVE): Likewise.
51588         (FRAME_PARM_SAVE): Likewise.
51589         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
51590         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
51591         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
51592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
51593         (CHECK_SP): Use symbolic stack frame offsets.
51594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
51595         zone" instead of caller's parameter save area for temp storage.
51596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51597         Likewise.  Also, use symbolic stack frame offsets.
51598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
51599         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
51600         our own stack frame instead of the caller's.
51601         (__socket): Use symbolic stack frame offsets.
51603 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51604             Alan Modra  <amodra@gmail.com>
51606         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
51607         Define.
51608         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
51609         (PPC64_LOCAL_ENTRY_OFFSET): Define.
51610         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
51611         New function.
51612         (elf_machine_fixup_plt): Call it.
51613         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
51614         reloc arguments.
51615         (elf_machine_rela): Update call to elf_machine_plt_conflict.
51616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51617         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
51618         r2 before calling target.
51620 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51621             Alan Modra  <amodra@gmail.com>
51623         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
51624         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
51625         versions of macros to support ELFv2 ABI.
51626         (LOCALENTRY): New macro.
51627         (ENTRY, EALIGN): Use it.
51628         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
51629         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
51630         fall through into ENTRY entry point.
51631         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
51632         Only define if _CALL_ELF != 2.
51634         (elf_machine_matches_host): Verify ABI version matches.
51635         (RTLD_START): Use LOCALENTRY.
51636         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
51637         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
51638         (PLT_ENTRY_WORDS): New macro.
51639         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
51640         (elf_machine_runtime_setup): Support ELFv2 ABI.
51641         (elf_machine_fixup_plt): Likewise.
51642         (elf_machine_plt_conflict): Likewise.
51643         (resolve_ifunc): Likewise.
51644         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51645         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51646         Likewise.
51647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
51648         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
51649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51650         (makecontext): Support ELFv2 ABI.
51651         * elf/elf.h (EF_PPC64_ABI): Define.
51653 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51655         * sysdeps/powerpc/powerpc64/sysdep.h
51656         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
51657         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
51658         (ENTRY) [ASSEMBLER]: ... but instead here ...
51659         (EALIGN) [ASSEMBLER]: ... and here.
51660         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
51661         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
51662         (ENTRY_2) [!ASSEMBLER]: Use it.
51663         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
51664         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
51665         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
51666         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
51667         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
51668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
51669         Use PPC64_LOAD_FUNCPTR.
51671         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
51673 2013-12-04  Alan Modra  <amodra@gmail.com>
51675         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
51676         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
51677         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
51678         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
51680         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
51681         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
51682         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
51683         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
51684         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
51685         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
51687 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
51689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51690         (__makecontext): Fix incorrect CFI when backtracing out of
51691         context created via makecontext.
51692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
51693         (__setcontext): Fix incorrect CFI during switch to new context.
51694         (__novec_setcontext): Likewise.
51696 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51698         [BZ #4772]
51699         * time/strptime_l.c (__strptime_internal): Allow modifiers
51700         in strptime.
51701         * time/tst-strptime.c (day_tests): Add testcase.
51703 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51705         * scripts/bench.pl: Skip over blank lines.
51707 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
51709         [BZ #926]
51710         * manual/time.texi (Calendar Time): Clarify what timezone functions
51711         use.
51713 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51717 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
51719         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
51720         implementation.
51721         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
51722         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
51723         * debug/memset_chk.c (__memset_chk): Likewise.
51724         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
51725         * debug/strncpy_chk.c: Likewise.
51727 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51729         [BZ #15268]
51730         [BZ #15425]
51731         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
51732         (__ieee754_exp): For possibly underflowing results, check size of
51733         result and force underflow exception if required.
51734         * math/auto-libm-test-in: Add more tests of exp.
51735         * math/auto-libm-test-out: Regenerated.
51736         * sysdeps/i386/fpu/libm-test-ulps: Update.
51737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51739         [BZ #16283]
51740         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
51741         * math/w_exp2f.c (__exp2f): Likewise.
51742         * math/w_exp2l.c (__exp2l): Likewise.
51743         * math/auto-libm-test-in: Do not allow missing errno on exp2
51744         underflow.
51745         * math/auto-libm-test-out: Regenerated.
51747 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
51749         [BZ #16274]
51750         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
51751         handle filename validation.
51752         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
51753         (do_open): Delete.
51755 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
51757         [BZ #6786]
51758         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
51759         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
51760         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
51761         <float.h>.
51762         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
51763         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
51764         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
51766         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51767         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
51768         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
51769         * math/auto-libm-test-in: Don't allow missing errno from erfc.
51770         Add more erfc tests.
51771         * math/auto-libm-test-out: Regenerated.
51772         * sysdeps/i386/fpu/libm-test-ulps: Update.
51773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51775         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
51776         exp2, expm1, j0 and j1.
51777         * math/auto-libm-test-out: Regenerated.
51778         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
51779         (erfc_test_data): Likewise.
51780         (exp_test_data): Likewise.
51781         (exp_tonearest_test_data): Likewise.
51782         (exp_towardzero_test_data): Likewise.
51783         (exp_downward_test_data): Likewise.
51784         (exp_upward_test_data): Likewise.
51785         (exp10_test_data): Likewise.
51786         (exp2_test_data): Likewise.
51787         (expm1_test_data): Likewise.
51788         (j0_test_data): Likewise.
51789         (j1_test_data): Likewise.
51790         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
51791         (input_flag_type): Add flag_xfail_rounding.
51792         (input_flags): Add xfail-rounding.
51793         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
51794         (output_for_one_input_case): Handle flag_xfail_rounding.
51795         * sysdeps/i386/fpu/libm-test-ulps: Update.
51796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51798 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
51800         [BZ #16289]
51801         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
51802         division by 0.
51804 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51806         [BZ #16195]
51807         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
51808         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
51809         (STAP_PROBE0): New macro.
51810         (STAP_PROBE1): Likewise.
51811         (STAP_PROBE2): Likewise.
51812         (STAP_PROBE3): Likewise.
51813         (STAP_PROBE4): Likewise.
51815 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
51817         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
51819 2013-12-02  Steve Ellcey  <sellcey@mips.com>
51821         * benchtests/Makefile (bench): Add sqrt.
51822         (LDLIBS-bench-sqrt): New.
51823         * benchtests/sqrt-input: New.
51825 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
51827         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
51828         (GAIH_EAI): Likewise.
51829         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
51830         (gaih_inet): Likewise.
51831         (getaddrinfo): Don't use GAIH_EAI.
51833         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
51834         (struct gaih): Remove definition.
51836 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51838         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
51839         Use HERRNOP directly.
51841 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51845 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
51847         * math/gen-auto-libm-tests.c (test_functions): Add more
51848         single-argument functions.
51849         (special_fill_pi_2): New function.
51850         (special_fill_minus_pi_2): Likewise.
51851         (special_fill_pi_6): Likewise.
51852         (special_fill_minus_pi_6): Likewise.
51853         (special_fill_pi_3): Likewise.
51854         (special_fill_2pi_3): Likewise.
51855         (special_fill_e): Likewise.
51856         (special_fill_1_e): Likewise.
51857         (special_fill_e_minus_1): Likewise.
51858         (special_real_inputs): Add more special inputs.
51859         (output_for_one_input_case): Do not require ERANGE on underflow to
51860         zero if round-to-nearest result does not underflow to zero, unless
51861         exact results required.
51862         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
51863         atan, atanh, cbrt, cos and cosh.
51864         * math/auto-libm-test-out: Regenerated.
51865         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
51866         (acos_tonearest_test_data): Likewise.
51867         (acos_towardzero_test_data): Likewise.
51868         (acos_downward_test_data): Likewise.
51869         (acos_upward_test_data): Likewise.
51870         (acosh_test_data): Likewise.
51871         (asin_test_data): Likewise.
51872         (asin_tonearest_test_data): Likewise.
51873         (asin_towardzero_test_data): Likewise.
51874         (asin_upward_test_data): Likewise.
51875         (asinh_test_data): Likewise.
51876         (atan_test_data): Likewise.
51877         (atanh_test_data): Likewise.
51878         (cbrt_test_data): Likewise.
51879         (cos_test_data): Likewise.
51880         (cos_tonearest_test_data): Likewise.
51881         (cos_towardzero_test_data): Likewise.
51882         (cos_downward_test_data): Likewise.
51883         (cos_upward_test_data): Likewise.
51884         (cosh_test_data): Likewise.
51885         (cosh_tonearest_test_data): Likewise.
51886         (cosh_towardzero_test_data): Likewise.
51887         (cosh_downward_test_data): Likewise.
51888         (cosh_upward_test_data): Likewise.
51889         * sysdeps/i386/fpu/libm-test-ulps: Update.
51890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51892 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
51894         [BZ #6787]
51895         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
51896         * math/w_exp10f.c (__exp10f): Likewise.
51897         * math/w_exp10l.c (__exp10l): Likewise.
51898         * math/libm-test.inc (exp10_test_data): Add more tests and expect
51899         errno settings in existing tests.
51901         [BZ #14032]
51902         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
51903         precision control set to double precision.
51904         * sysdeps/i386/fpu/w_sqrt.c: New file.
51905         * math/auto-libm-test-in: Add more tests.
51906         * math/auto-libm-test-out: Update.
51908         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
51909         (sqrt_test_tonearest): New function.
51910         (sqrt_towardzero_test_data): New variable.
51911         (sqrt_test_towardzero): New function.
51912         (sqrt_downward_test_data): New variable.
51913         (sqrt_test_downward): New function.
51914         (sqrt_upward_test_data): New variable.
51915         (sqrt_test_upward): New function.
51916         (main): Call the new functions.
51918         * math/gen-auto-libm-tests.c: New file.
51919         * math/auto-libm-test-in: Likewise.
51920         * math/auto-libm-test-out: New generated file.
51921         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
51922         variables.
51923         (%beautify): Add generated representations of zero.
51924         (top level): Set $auto_input and call parse_auto_input.
51925         (beautify): Remove trailing "f" from hex float constants.
51926         (parse_args): Handle XFAIL_TEST.
51927         (convert_condition): New function.
51928         (or_value): Likewise.
51929         (or_cond_value): Likewise.
51930         (generate_testfile): Handle AUTO_TESTS_* lines.
51931         (parse_auto_input): New function.
51932         * math/libm-test.inc (XFAIL_TEST): New macro.
51933         (ERRNO_UNCHANGED): Update value.
51934         (ERRNO_EDOM): Likewise.
51935         (ERRNO_ERANGE): Likewise.
51936         (IGNORE_RESULT): Likewise.
51937         (TEST_COND_flt_32): New macro.
51938         (TEST_COND_dbl_64): Likewise.
51939         (TEST_COND_ldbl_96_intel): Likewise.
51940         (TEST_COND_ldbl_96_m68k): Likewise.
51941         (TEST_COND_ldbl_128): Likewise.
51942         (TEST_COND_ldbl_128ibm): Likewise.
51943         (TEST_COND_long32): Likewise.
51944         (TEST_COND_long64): Likewise.
51945         (TEST_COND_before_rounding): Likewise.
51946         (TEST_COND_after_rounding): Likewise.
51947         (enable_test): Handle XFAIL_TEST flag.
51948         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
51949         with finite results.
51950         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
51951         auto-libm-test-out.
51953 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51954             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51956         [BZ #16214]
51957         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
51958         __tls_get_addr_internal instead of __tls_get_offset in order to
51959         avoid GOT pointer dependency.  Make rtld export
51960         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
51961         __tls_get_addr since we are a __tls_get_offset platform.
51962         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
51963         GOT pointer being set up before.
51964         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
51966 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
51968         * manual/math.texi (Errors in Math Functions): Document accuracy
51969         goals.
51971         [BZ #15004]
51972         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
51973         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
51974         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51975         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51976         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51977         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51978         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51979         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51980         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51981         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51982         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51983         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51984         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51986         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51987         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51989         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
51990         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
51991         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
51992         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
51993         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
51994         Likewise.
51995         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
51996         Likewise.
51997         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
51998         Likewise.
51999         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
52000         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
52001         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
52002         atomic-feupdateenv and flt-rounds.
52003         * sysdeps/powerpc/nofpu/Versions (libc): Add
52004         __atomic_feholdexcept, __atomic_feclearexcept,
52005         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
52006         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
52007         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
52008         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
52009         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
52010         here.
52011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
52012         Update.
52014         * manual/arith.texi (FP Exceptions): Document that exceptions may
52015         not be raised when matherr is used.
52016         (Math Error Reporting): Document overflow in directed rounding
52017         modes.  Document that errno may not be set when finite values are
52018         returned on overflow.  Document intent to set errno on underflow
52019         only for underflow to zero.
52021         [BZ #16271]
52022         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
52023         round-to-nearest then adjust result for other rounding modes.
52024         * include/fenv.h (fegetround): Use libm_hidden_proto.
52025         * math/fegetround.c (fegetround): Use libm_hidden_def.
52026         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
52027         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
52028         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52029         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
52030         Likewise.
52031         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
52032         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52033         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
52034         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
52036 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52038         [BZ #16077]
52039         * nss/Versions (libnss_files): Add
52040         _nss_files_gethostbyname3_r.
52041         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
52042         New function.
52043         (HOST_DB_LOOKUP): Remove macro.
52044         (_nss_files_gethostbyname_r): Implement function without the
52045         HOST_DB_LOOKUP macro.
52046         (_nss_files_gethostbyname2_r): Likewise.
52048 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
52050         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
52052 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
52054         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
52055         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
52056         warning.
52058 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52060         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
52061         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
52062         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52063         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
52064         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
52065         __fe_nomask_env_priv and attribute_hidden.
52066         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
52067         (libc_feupdateenv_test_ppc): Likewise.
52068         (libc_feresetround_ppc): Likewise.
52069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52070         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
52071         compat_symbol macro.
52072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52073         (__fe_nomask_env): Likewise.
52074         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
52076 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52078         * string/Makefile: Remove ifunc tests.
52079         * string/test-string.h: Define TEST_IFUNC.
52080         * string/test-bcopy-ifunc.c: Remove.
52081         * string/test-bzero-ifunc.c: Likewise.
52082         * string/test-memccpy-ifunc.c: Likewise.
52083         * string/test-memchr-ifunc.c: Likewise.
52084         * string/test-memcmp-ifunc.c: Likewise.
52085         * string/test-memcpy-ifunc.c: Likewise.
52086         * string/test-memmem-ifunc.c: Likewise.
52087         * string/test-memmove-ifunc.c: Likewise.
52088         * string/test-mempcpy-ifunc.c: Likewise.
52089         * string/test-memrchr-ifunc.c: Likewise.
52090         * string/test-memset-ifunc.c: Likewise.
52091         * string/test-rawmemchr-ifunc.c: Likewise.
52092         * string/test-stpcpy-ifunc.c: Likewise.
52093         * string/test-stpncpy-ifunc.c: Likewise.
52094         * string/test-strcasecmp-ifunc.c: Likewise.
52095         * string/test-strcasestr-ifunc.c: Likewise.
52096         * string/test-strcat-ifunc.c: Likewise.
52097         * string/test-strchr-ifunc.c: Likewise.
52098         * string/test-strchrnul-ifunc.c: Likewise.
52099         * string/test-strcmp-ifunc.c: Likewise.
52100         * string/test-strcpy-ifunc.c: Likewise.
52101         * string/test-strcspn-ifunc.c: Likewise.
52102         * string/test-strlen-ifunc.c: Likewise.
52103         * string/test-strncasecmp-ifunc.c: Likewise.
52104         * string/test-strncat-ifunc.c: Likewise.
52105         * string/test-strncmp-ifunc.c: Likewise.
52106         * string/test-strncpy-ifunc.c: Likewise.
52107         * string/test-strnlen-ifunc.c: Likewise.
52108         * string/test-strpbrk-ifunc.c: Likewise.
52109         * string/test-strrchr-ifunc.c: Likewise.
52110         * string/test-strspn-ifunc.c: Likewise.
52111         * string/test-strstr-ifunc.c: Likewise.
52113 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52115         * benchtests/Makefile: Remove ifunc tests.
52116         * benchtests/bench-string.h: Define TEST_IFUNC.
52117         * benchtests/bench-bcopy-ifunc.c: Remove.
52118         * benchtests/bench-bzero-ifunc.c: Likewise.
52119         * benchtests/bench-memccpy-ifunc.c: Likewise.
52120         * benchtests/bench-memchr-ifunc.c: Likewise.
52121         * benchtests/bench-memcmp-ifunc.c: Likewise.
52122         * benchtests/bench-memcpy-ifunc.c: Likewise.
52123         * benchtests/bench-memmem-ifunc.c: Likewise.
52124         * benchtests/bench-memmove-ifunc.c: Likewise.
52125         * benchtests/bench-mempcpy-ifunc.c: Likewise.
52126         * benchtests/bench-memrchr-ifunc.c: Likewise.
52127         * benchtests/bench-memset-ifunc.c: Likewise.
52128         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
52129         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
52130         * benchtests/bench-stpcpy-ifunc.c: Likewise.
52131         * benchtests/bench-stpncpy-ifunc.c: Likewise.
52132         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
52133         * benchtests/bench-strcasestr-ifunc.c: Likewise.
52134         * benchtests/bench-strcat-ifunc.c: Likewise.
52135         * benchtests/bench-strchr-ifunc.c: Likewise.
52136         * benchtests/bench-strchrnul-ifunc.c: Likewise.
52137         * benchtests/bench-strcmp-ifunc.c: Likewise.
52138         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
52139         * benchtests/bench-strcpy-ifunc.c: Likewise.
52140         * benchtests/bench-strcspn-ifunc.c: Likewise.
52141         * benchtests/bench-strlen-ifunc.c: Likewise.
52142         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
52143         * benchtests/bench-strncat-ifunc.c: Likewise.
52144         * benchtests/bench-strncmp-ifunc.c: Likewise.
52145         * benchtests/bench-strncpy-ifunc.c: Likewise.
52146         * benchtests/bench-strnlen-ifunc.c: Likewise.
52147         * benchtests/bench-strpbrk-ifunc.c: Likewise.
52148         * benchtests/bench-strrchr-ifunc.c: Likewise.
52149         * benchtests/bench-strsep-ifunc.c: Likewise.
52150         * benchtests/bench-strspn-ifunc.c: Likewise.
52151         * benchtests/bench-strstr-ifunc.c: Likewise.
52153 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52155         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
52157 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
52159         * resolv/netdb.h: Use __glibc_reserved instead __unused.
52160         * rt/aio.h: Likewise.
52161         * sysdeps/gnu/bits/utmp.h: Likewise.
52162         * sysdeps/gnu/bits/utmpx.h: Likewise.
52163         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52164         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
52165         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
52166         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
52167         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
52168         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
52169         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
52170         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
52171         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
52172         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
52173         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
52174         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
52175         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
52176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
52177         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52178         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
52179         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
52180         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
52181         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
52182         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
52183         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
52184         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
52185         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
52186         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52187         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
52188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52189         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
52190         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
52191         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
52192         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
52193         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
52194         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
52195         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
52196         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
52197         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
52198         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
52199         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
52200         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
52201         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
52202         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
52203         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
52204         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52206 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
52208         [BZ #16245]
52209         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
52210         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
52212 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
52214         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
52215         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
52216         Likewise.
52218 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52220         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
52221         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
52222         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
52223         (__fesetround): Remove define.
52224         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
52225         rounding and exceptions handling.
52226         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
52227         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
52228         (__fe_nomask_env): Likewise.
52229         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
52230         __fegetround instead of fegetround.
52231         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
52232         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
52234 2013-11-21  Roland McGrath  <roland@hack.frob.com>
52236         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
52237         it's there.
52239         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
52241 2013-11-21  Meador Inge  <meadori@codesourcery.com>
52243         [BZ #11157]
52244         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
52245         (encrypt_r): Likewise.
52246         * malloc/obstack.h (obstack_free): Likewise.
52247         * posix/unistd.h (encrypt): Likewise.
52249 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
52251         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
52252         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
52253         DL_CALL_DT_FINI() that call the functions directly.
52254         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
52255         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
52256         * elf/dl-fini.c: Likewise.
52258 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
52260         * malloc/hooks.c (memalign_check): Add alignment rounding.
52261         * malloc/malloc.c (_mid_memalign): New function.
52262         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
52263         Implement by calling _mid_memalign.
52264         * manual/probes.texi (Memory Allocation Probes): Remove
52265         memory_valloc_retry and memory_pvalloc_retry.
52267 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52269         * locale/programs/locarchive.c (open_archive): Add const
52270         qualifier to ARCHIVEFNAME and copy default fname to
52271         DEFAULT_FNAME.
52273         [BZ #15601]
52274         * libio/tst-widetext.input: Rename Oriya to Odia.
52275         * locale/iso-639.def: Likewise.
52277         * manual/probes.texi (Mathematical Function Probes): Add
52278         documentation for sin, cos, asin and acos probes.
52279         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
52280         (__sin32): Add slowasin probe.
52281         (__cos32): Add slowacos probe.
52282         (__mpsin): Add slowsin probe.
52283         (__mpcos): Add slowcos probe.
52285 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
52287         [BZ #15483]
52288         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
52289         thread-local __sim_exceptions_thread and global
52290         __sim_exceptions_global.
52291         (__sim_disabled_exceptions): Change to thread-local
52292         __sim_disabled_exceptions_thread and global
52293         __sim_disabled_exceptions_global.
52294         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52295         and global __sim_round_mode_global.
52296         (__simulate_exceptions): Use thread-local floating-point state and
52297         set global state from it as needed.
52298         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
52299         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
52300         __sim_round_mode_thread.
52301         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
52302         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
52303         and global __sim_exceptions_global.
52304         (__sim_disabled_exceptions): Change to thread-local
52305         __sim_disabled_exceptions_thread and global
52306         __sim_disabled_exceptions_global.
52307         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
52308         and global __sim_round_mode_global.
52309         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
52310         (SIM_SET_GLOBAL): Likewise.
52311         * sysdeps/powerpc/soft-fp/sfp-machine.h
52312         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
52313         __sim_round_mode_thread.
52314         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
52315         __sim_disabled_exceptions_thread.
52316         (__sim_exceptions): Change to __sim_exceptions_thread.
52317         (__sim_disabled_exceptions): Change to
52318         __sim_disabled_exceptions_thread.
52319         (__sim_round_mode): Change to __sim_round_mode_thread.
52320         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
52321         thread-local floating-point state and set global state from it as
52322         needed.
52323         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
52324         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
52325         (__sim_disabled_exceptions): Remove extern declaration.
52326         (feenableexcept): Use thread-local floating-point state and set
52327         global state from it as needed.
52328         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
52329         extern declaration.
52330         (__sim_disabled_exceptions): Likewise.
52331         (__sim_round_mode): Likewise.
52332         (__fegetenv): Use thread-local floating-point state.
52333         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
52334         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
52335         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
52336         floating-point state and set global state from it as needed.
52337         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
52338         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
52339         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
52340         Likewise.
52341         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
52342         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
52343         Likewise.
52344         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
52345         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
52346         Use __sim_round_mode_thread.
52347         * math/test-fenv-tls.c: New file.
52348         * math/Makefile (tests): Add test-fenv-tls.
52349         ($(objpfx)test-fenv-tls): Depend on
52350         $(common-objpfx)nptl/libpthread.so.
52352 2013-11-19  Andreas Schwab  <schwab@suse.de>
52354         * locale/programs/locale.c (show_info): Decode wordarray elements.
52355         * locale/categories.def (LC_MONETARY): Add element for
52356         _NL_MONETARY_CRNCYSTR.
52357         * locale/C-monetary.c (conversion_rate): New variable.
52358         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
52359         element.
52361 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
52363         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
52364         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
52366 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52368         * elf/Makefile (tst-auxv): New test.
52369         * elf/tst-auxv.c: New
52370         * elf/rtld.c (dl_main): Adjust AT_EXECFN
52372 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
52374         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
52375         (hidden_proto): Caller changed.
52376         (hidden_tls_proto): New macro.
52377         (libc_hidden_tls_proto): Likewise.
52378         (rtld_hidden_tls_proto): Likewise.
52379         (libm_hidden_tls_proto): Likewise.
52380         (libresolv_hidden_tls_proto): Likewise.
52381         (librt_hidden_tls_proto): Likewise.
52382         (libdl_hidden_tls_proto): Likewise.
52383         (libnss_files_hidden_tls_proto): Likewise.
52384         (libnsl_hidden_tls_proto): Likewise.
52385         (libnss_nisplus_hidden_tls_proto): Likewise.
52386         (libutil_hidden_tls_proto): Likewise.
52388 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
52390         [BZ #10253]
52391         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
52392         (decompose_rpath): Defer expansion to fillin_rpath.
52393         (_dl_init_paths): Pass linkmap to fillin_rpath.
52395 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52397         * benchtests/Makefile: Add strsep.
52398         * benchtests/bench-strsep.c: New file: strsep benchtest.
52399         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
52401 2013-11-18  Andreas Schwab  <schwab@suse.de>
52403         * locale/programs/locale.c (show_info) [case byte]: Check for
52404         '\377' instead of '\177'.
52405         * locale/C-monetary.c (not_available): Always use "\377".
52406         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
52407         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
52408         detect unavailable sign_posn locale elements.
52409         * locale/localeconv.c (__localeconv): For grouping and
52410         mon_grouping handle "\177" and "\377" like no grouping.
52411         (INT_ELEM): New macro.  Use it to set all numeric members.
52412         * locale/programs/ld-monetary.c (monetary_read)
52413         <tok_mon_grouping>: Normalize single -1 to the empty string.
52414         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
52415         Likewise.
52417 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52419         [BZ #16055]
52420         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
52421         when we match (nil).
52422         * stdio-common/tst-sscanf.c (struct test): Add testcase.
52424 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
52426         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
52427         (NO_TEST_INLINE): Update value.
52428         (ERRNO_UNCHANGED): Likewise.
52429         (ERRNO_EDOM): Likewise.
52430         (ERRNO_ERANGE): Likewise.
52431         (IGNORE_RESULT): Likewise.
52432         (check_float_internal): Check signs of NaN results if
52433         TEST_NAN_SIGN used.
52434         (check_complex): Pass TEST_NAN_SIGN flag through to second
52435         check_float_internal call.
52436         (copysign_test_data): Add tests with quiet NaNs as second
52437         argument.  Use TEST_NAN_SIGN.
52438         (fabs_test_data): Add test of negative quiet NaN argument.  Use
52439         TEST_NAN_SIGN.
52440         (signbit_test_data): Add tests of quiet NaN argument.
52441         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
52443         * math/gen-libm-test.pl (show_exceptions): Take extra argument
52444         $ignore_result.
52445         (parse_args): Handle function results specified as IGNORE.
52446         * math/libm-test.inc (IGNORE_RESULT): New macro.
52447         (check_float_internal): Do not check numerical result if flag
52448         IGNORE_RESULT set.
52449         (check_complex): Pass through IGNORE_RESULT to second
52450         check_float_internal call.
52451         (check_int): Do not check numerical result if flag IGNORE_RESULT
52452         set.
52453         (check_long): Likewise.
52454         (check_bool): Likewise.
52455         (check_longlong): Likewise.
52456         (lrint_test_data): Add tests of infinite and NaN arguments.
52457         (lrint_tonearest_test_data): Likewise.
52458         (lrint_towardzero_test_data): Likewise.
52459         (lrint_downward_test_data): Likewise.
52460         (lrint_upward_test_data): Likewise.
52461         (llrint_test_data): Likewise.
52462         (llrint_tonearest_test_data): Likewise.
52463         (llrint_towardzero_test_data): Likewise.
52464         (llrint_downward_test_data): Likewise.
52465         (llrint_upward_test_data): Likewise.
52466         (lround_test_data): Likewise.
52467         (llround_test_data): Likewise.
52469         * math/libm-test.inc (NO_TEST_INLINE): New macro.
52470         (ERRNO_UNCHANGED): Update value.
52471         (ERRNO_EDOM): Likewise.
52472         (ERRNO_ERANGE): Likewise.
52473         (NO_TEST_INLINE_FLOAT): New macro.
52474         (NO_TEST_INLINE_DOUBLE): Likewise.
52475         (enable_test): New function.
52476         (RUN_TEST_f_f): Check enable_test before running test.
52477         (RUN_TEST_2_f): Likewise.
52478         (RUN_TEST_fff_f): Likewise.
52479         (RUN_TEST_c_f): Likewise.
52480         (RUN_TEST_f_f1): Likewise.
52481         (RUN_TEST_fF_f1): Likewise.
52482         (RUN_TEST_fI_f1): Likewise.
52483         (RUN_TEST_ffI_f1): Likewise.
52484         (RUN_TEST_c_c): Likewise.
52485         (RUN_TEST_cc_c): Likewise.
52486         (RUN_TEST_f_i): Likewise.
52487         (RUN_TEST_f_i_tg): Likewise.
52488         (RUN_TEST_ff_i_tg): Likewise.
52489         (RUN_TEST_f_b): Likewise.
52490         (RUN_TEST_f_b_tg): Likewise.
52491         (RUN_TEST_f_l): Likewise.
52492         (RUN_TEST_f_L): Likewise.
52493         (RUN_TEST_fFF_11): Likewise.
52494         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
52495         conditionals.
52496         (cosh_test_data): Likewise.
52497         (exp_test_data): Likewise.
52498         (expm1_test_data): Likewise.
52499         (hypot_test_data): Likewise.
52500         (pow_test_data): Likewise.
52501         (sinh_test_data): Likewise.
52502         (tanh_test_data): Likewise.
52503         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
52504         flags argument.
52506         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
52507         tests with quiet NaN input and output.
52508         (acosh_test_data): Likewise.
52509         (asin_test_data): Likewise.
52510         (asinh_test_data): Likewise.
52511         (atan_test_data): Likewise.
52512         (atanh_test_data): Likewise.
52513         (atan2_test_data): Likewise.
52514         (cbrt_test_data): Likewise.
52515         (cos_test_data): Likewise.
52516         (cosh_test_data): Likewise.
52517         (erf_test_data): Likewise.
52518         (erfc_test_data): Likewise.
52519         (exp_test_data): Likewise.
52520         (exp10_test_data): Likewise.
52521         (exp2_test_data): Likewise.
52522         (expm1_test_data): Likewise.
52523         (hypot_test_data): Likewise.
52524         (j0_test_data): Likewise.
52525         (j1_test_data): Likewise.
52526         (jn_test_data): Likewise.
52527         (lgamma_test_data): Likewise.
52528         (log_test_data): Likewise.
52529         (log10_test_data): Likewise.
52530         (log1p_test_data): Likewise.
52531         (log2_test_data): Likewise.
52532         (pow_test_data): Likewise.
52533         (scalb_test_data): Likewise.
52534         (sin_test_data): Likewise.
52535         (sincos_test_data): Likewise.
52536         (sinh_test_data): Likewise.
52537         (tan_test_data): Likewise.
52538         (tanh_test_data): Likewise.
52539         (tgamma_test_data): Likewise.
52540         (y0_test_data): Likewise.
52541         (y1_test_data): Likewise.
52542         (yn_test_data): Likewise.
52544         [BZ #16167]
52545         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
52546         argument being NaN and avoid computations with second argument in
52547         that case.
52548         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52549         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
52550         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52552 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
52554         * locale/iso-639.def: Add Chitwani Tharu (the).
52556 2013-11-14  Andreas Schwab  <schwab@suse.de>
52558         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
52559         word instead of empty string.
52561 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52564         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
52565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52566         (__fe_nomask_env): Likewise.
52568 2013-11-13  Steve Ellcey  <sellcey@mips.com>
52570         * benchtests/bench-timing.h: Include time.h.
52572 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
52574         [BZ #15997]
52575         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
52576         to 3.4.0 for x32.
52577         * sysdeps/unix/sysv/linux/configure: Regenerated.
52579 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
52581         [BZ #16151]
52582         * stdlib/strtod_l.c (round_and_return): Do not consider
52583         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
52584         exponent one less than half the least subnormal exponent.
52585         * stdlib/test-strtod-round-data: Add more tests.
52586         * stdlib/tst-strtod-round.c (tests): Regenerated.
52588 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52590         [BZ #14143]
52591         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
52592         (__fe_mask_env): Likewise.
52593         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
52594         libm_hidden_proto and add function prototype.
52595         (__fe_mask_env): Add function prototype.
52596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52597         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
52598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52599         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
52600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52601         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
52603 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52605         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
52606         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
52608 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52610         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
52611         of htab_find_slot().
52613 2013-11-11  David S. Miller  <davem@davemloft.net>
52615         [BZ #16150]
52616         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
52617         symbol in the non-vis3 case in static builds.
52618         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
52619         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
52620         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
52621         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
52623 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
52625         [BZ #387]
52626         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
52627         it is empty.
52629 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52631         * benchtests/Makefile: Add bench-strtod.
52632         * benchtests/bench-strtod.c: New file: strtod benchtest
52634 2013-11-11  Andreas Schwab  <schwab@suse.de>
52636         [BZ #16153]
52637         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
52638         terminating NUL in key length.
52640 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52642         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52643         Add artificial ODP entry for vDSO symbol for PPC64.
52644         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
52645         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
52647 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
52649         [BZ #15374]
52650         * nss/getent.c (services_keys): Recognize services starting with digit.
52652 2013-11-06  David S. Miller  <davem@davemloft.net>
52654         [BZ #15985]
52655         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
52656         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
52658 2013-11-06  Will Newton  <will.newton@linaro.org>
52660         * manual/memory.texi (Malloc Examples): Remove register
52661         keyword from examples.
52663 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
52665         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
52667 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
52669         [BZ #6981]
52670         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
52671         depending on [__GCC_IEC_559 > 0].
52672         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
52673         depending on [__GCC_IEC_559_COMPLEX > 0].
52675 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
52677         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
52678         to iso-639.def.
52680 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
52682         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
52684 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
52686         [BZ #16112]
52687         * malloc/malloc (malloc_info): Do not handle first bin as
52688         special case.
52690 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
52692         * locale/iso-639.def: Add Central Nahuatl (nhn).
52694 2013-11-01  Bruno Haible  <bruno@clisp.org>
52696         [BZ #7003]
52697         * manual/math.texi (BSD Random): Specify range upper bound as
52698         in POSIX.
52700 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
52702         * locale/iso-639.def: Add Meadow Mari (mhr).
52704 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
52706         [BZ #14752], [BZ #15763]
52707         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
52708         Validate name.
52709         * rt/tst_shm.c: Add test for escaping directory.
52711 2013-10-31  Andreas Schwab  <schwab@suse.de>
52713         [BZ #15917]
52714         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
52715         followed by 'x' as part of digit sequence.
52716         * stdio-common/tst-sscanf.c (double_tests2): New tests.
52718 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
52720         [BZ #16037]
52721         * configure.ac: allow GNU Make 4.0 and greater.
52722         * configure: Regenerated.
52724 2013-10-30  Will Newton  <will.newton@linaro.org>
52726         [BZ #16038]
52727         * malloc/hooks.c (memalign_check): Limit alignment to the
52728         maximum representable power of two.
52729         * malloc/malloc.c (__libc_memalign): Likewise.
52730         * malloc/tst-memalign.c (do_test): Add test for very
52731         large alignment values.
52732         * malloc/tst-posix_memalign.c (do_test): Likewise.
52734 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52736         [BZ #11087]
52737         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
52738         (munmap_chunk): Likewise.
52739         (mremap_chunk): Likewise.
52741 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
52743         [BZ #15799]
52744         * stdlib/div.c (div): Remove obsolete code.
52745         * stdlib/ldiv.c (ldiv): Likewise.
52746         * stdlib/lldiv.c (lldiv): Likewise.
52748 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52750         [BZ #16071]
52751         * nss/nss_files/files-XXX.c (get_contents_ret): New
52752         enumerator.
52753         (get_contents): New function.
52754         (internal_getent): Use it.  Expand size of LINEBUFLEN.
52756 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
52758         * configure.in: Moved to ...
52759         * configure.ac: ... here. Change reference to configure.in
52760         to configure.ac.
52761         * sysdeps/arm/preconfigure.ac: ... here.
52762         configure.in to configure.ac.
52763         * sysdeps/gnu/configure.in: Moved to ...
52764         * sysdeps/gnu/configure.ac: ... here.
52765         * sysdeps/i386/configure.in: Moved to ...
52766         * sysdeps/i386/configure.ac: ... here.
52767         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
52768         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
52769         * sysdeps/mach/configure.in: Moved to ...
52770         * sysdeps/mach/configure.ac: ... here.
52771         * sysdeps/mach/hurd/configure.in: Moved to ...
52772         * sysdeps/mach/hurd/configure.ac: ... here.
52773         * sysdeps/powerpc/configure.in: Moved to ...
52774         * sysdeps/powerpc/configure.ac: ... here.
52775         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
52776         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
52777         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
52778         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
52779         * sysdeps/s390/s390-32/configure.in: Moved to ...
52780         * sysdeps/s390/s390-32/configure.ac: ... here.
52781         * sysdeps/s390/s390-64/configure.in: Moved to ...
52782         * sysdeps/s390/s390-64/configure.ac: ... here.
52783         * sysdeps/sh/configure.in: Moved to ...
52784         * sysdeps/sh/configure.ac: ... here.
52785         * sysdeps/sparc/configure.in: Moved to ...
52786         * sysdeps/sparc/configure.ac: ... here.
52787         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
52788         * sysdeps/unix/sysv/linux/configure.ac: ... here.
52789         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
52790         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
52791         * sysdeps/x86_64/configure.in: Moved to ...
52792         * sysdeps/x86_64/configure.ac: ... here.
52793         * sysdeps/x86_64/preconfigure.in: Moved to ...
52794         * sysdeps/x86_64/preconfigure.ac: ... here.
52795         * aclocal.m4: Change reference to configure.in to configure.ac.
52796         * config.h.in: Likewise.
52797         * manual/install.texi: Likewise.
52798         * manual/maint.texi: Likewise.
52799         * Makefile: Likewise.
52800         * malloc/Makefile: Likewise.
52801         * nscd/Makefile: Likewise.
52802         * Makeconfig: Change reference to configure.in and
52803         preconfigure.in to configure.ac and preconfigure.ac
52804         respectively.
52805         * INSTALL: Regenerated.
52806         * configure: Likewise.
52807         * sysdeps/gnu/configure: Likewise.
52808         * sysdeps/i386/configure: Likewise.
52809         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
52810         * sysdeps/mach/configure: Likewise.
52811         * sysdeps/mach/hurd/configure: Likewise.
52812         * sysdeps/powerpc/configure: Likewise.
52813         * sysdeps/powerpc/powerpc32/configure: Likewise.
52814         * sysdeps/powerpc/powerpc64/configure: Likewise.
52815         * sysdeps/s390/s390-32/configure: Likewise.
52816         * sysdeps/s390/s390-64/configure: Likewise.
52817         * sysdeps/sh/configure: Likewise.
52818         * sysdeps/sparc/configure: Likewise.
52819         * sysdeps/unix/sysv/linux/configure: Likewise.
52820         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
52821         * sysdeps/x86_64/configure: Likewise.
52822         * sysdeps/x86_64/preconfigure: Likewise.
52824 2013-10-29  Andreas Schwab  <schwab@suse.de>
52826         * stdio-common/Makefile (tst-swscanf-ENV): Define.
52828 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52830         * benchtests/pow-inputs: Add new inputs.
52832         * benchtests/exp-inputs: Add new inputs.
52834         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
52835         conditional check for return value.
52836         (__cos32): Likewise.
52838 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52840         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
52841         to provide a boost for large inputs with word alignment.
52842         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
52843         implementation based on optimized PPC64 strcpy.
52844         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
52845         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
52846         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
52847         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
52849 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52851         [BZ #2801]
52852         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
52854 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52856         [BZ #14876]
52857         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
52858         * time/tst-strptime.c (day_tests): Add testcase.
52860 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
52862         [BZ #14029]
52863         * manual/pattern.texi: Acknowledge that fnmatch can fail.
52865 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
52867         [BZ #16074]
52868         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
52869         MAP_FAILED on error.
52871 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52873         [BZ #16072]
52874         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
52875         heap for large requests.
52877 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
52879         [BZ #9954]
52880         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
52881         result if the result has no associated interface.
52882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
52883         interface for all 127.X.Y.Z addresses.
52885 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
52887         * locale/iso-639.def: Add Ligurian (lij)
52889 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
52891         [BZ #15825]
52892         * sunrpc/rpc_main.c: Document rpcgen -5.
52894 2013-10-19  Michael Stahl  <mstahl@redhat.com>
52896         * elf/rtld.c (do_preload): Print the reason why preloading failed.
52898 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52900         [BZ #10278]
52901         * posix/glob.c: Match only directories when trailing slash is present.
52902         * posix/tst-gnuglob.c (my_opendir): Do not open files.
52903         (main): Add testcase.
52905 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
52907         [BZ #15670]
52908         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
52910 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
52912         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
52913         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
52914         AUTH_DES and cindex for FIPS 140-2.
52915         (DES Encryption): Add cindex FIPS 46-3.
52917         * locale/locarchive.h (struct locarhandle): Add fname.
52918         * locale/programs/localedef.c (main): Pass ARGV[remaining]
52919         if an optional argument was specified to --list-archive,
52920         otherwise NULL.
52921         * locale/programs/locarchive.c (show_archive_content): Take new
52922         argument fname and pass it via ah.fname to open_archive.
52923         * locale/programs/localedef.h: Update decl.
52924         (open_archive): If AH->fname is non-null, open that file
52925         rather than the default file name, and don't ignore ENOENT.
52926         (create_archive): Set AH.fname to NULL.
52927         (delete_locales_from_archive): Likewise.
52928         (add_locales_to_archive): Likewise.
52929         * locale/programs/locfile.c (write_all_categories): Likewise.
52931 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
52932             Aldy Hernandez  <aldyh@redhat.com>
52934         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
52935         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
52936         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
52937         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
52938         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
52939         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
52940         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
52941         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
52942         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
52943         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
52944         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
52945         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
52946         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
52947         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
52948         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
52949         Likewise.
52950         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
52951         Likewise.
52952         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
52953         Likewise.
52954         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
52955         Likewise.
52956         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
52957         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
52958         Likewise.
52959         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
52960         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
52961         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
52962         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
52963         Likewise.
52964         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
52965         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
52966         * sysdeps/powerpc/preconfigure: Likewise.
52967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
52968         Likewise.
52969         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
52970         Replace contents of file by #include of <fenv_libc.h>.
52971         * sysdeps/powerpc/soft-fp/sfp-machine.h
52972         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
52973         and <sys/prctl.h>.
52974         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
52975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
52976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
52977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
52978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
52979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
52980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
52981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
52982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
52983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
52984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
52985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
52986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52987         Allow copysignl PLT reference to be missing.
52989 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
52990             Joseph Myers  <joseph@codesourcery.com
52992         [BZ #15948]
52993         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
52994         single character.
52995         (add_to_tablewc): Assert sequence of wide characters is nonempty.
52997 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52999         * elf/tst-tls-dlinfo.c: Don't include tls.h.
53000         * elf/tst-tls1.c: Likewise.
53001         * elf/tst-tls10.h: Likewise.
53002         * elf/tst-tls14.c: Likewise.
53003         * elf/tst-tls2.c: Likewise.
53004         * elf/tst-tls3.c: Likewise.
53005         * elf/tst-tls4.c: Likewise.
53006         * elf/tst-tls5.c: Likewise.
53007         * elf/tst-tls6.c: Likewise.
53008         * elf/tst-tls7.c: Likewise.
53009         * elf/tst-tls8.c: Likewise.
53010         * elf/tst-tls9.c: Likewise.
53011         * elf/tst-tlsmod1.c: Likewise.
53012         * elf/tst-tlsmod13.c: Likewise.
53013         * elf/tst-tlsmod13a.c: Likewise.
53014         * elf/tst-tlsmod14a.c: Likewise.
53015         * elf/tst-tlsmod16a.c: Likewise.
53016         * elf/tst-tlsmod16b.c: Likewise.
53017         * elf/tst-tlsmod2.c: Likewise.
53018         * elf/tst-tlsmod3.c: Likewise.
53019         * elf/tst-tlsmod4.c: Likewise.
53020         * elf/tst-tlsmod5.c: Likewise.
53021         * elf/tst-tlsmod6.c: Likewise.
53023 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
53025         [BZ #12486]
53026         * malloc/malloc.c: remove checks for statistics.
53028 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53030         [BZ #15277]
53031         * inet/inet_net.c (inet_network): Detect additional invalid strings.
53032         * inet/tst-network.c: Add testcase.
53034 2013-10-17  Andreas Schwab  <schwab@suse.de>
53036         [BZ #15218]
53037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
53038         to determine canonical name.
53040 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
53042         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
53043         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
53044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53045         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53047         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53048         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53049         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53050         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53051         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53052         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53053         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53054         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53055         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53056         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53057         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53059         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53060         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53061         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53062         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
53066         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
53067         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
53070         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
53072         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53078         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53079         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53080         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53082         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53083         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53084         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53085         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53086         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53087         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53088         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53089         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53090         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53091         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53092         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53093         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53094         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53095         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53097         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53099         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53101 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
53103         [BZ #16041]
53104         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
53105         make result into a quiet NaN.
53107 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
53109         * soft-fp/adddf3.c: Fix horizontal whitespace.
53110         * soft-fp/addsf3.c: Likewise.
53111         * soft-fp/addtf3.c: Likewise.
53112         * soft-fp/divdf3.c: Likewise.
53113         * soft-fp/divsf3.c: Likewise.
53114         * soft-fp/divtf3.c: Likewise.
53115         * soft-fp/double.h: Likewise.
53116         * soft-fp/eqdf2.c: Likewise.
53117         * soft-fp/eqsf2.c: Likewise.
53118         * soft-fp/eqtf2.c: Likewise.
53119         * soft-fp/extenddftf2.c: Likewise.
53120         * soft-fp/extended.h: Likewise.
53121         * soft-fp/extendsfdf2.c: Likewise.
53122         * soft-fp/extendsftf2.c: Likewise.
53123         * soft-fp/extendxftf2.c: Likewise.
53124         * soft-fp/fixdfdi.c: Likewise.
53125         * soft-fp/fixdfsi.c: Likewise.
53126         * soft-fp/fixdfti.c: Likewise.
53127         * soft-fp/fixsfdi.c: Likewise.
53128         * soft-fp/fixsfsi.c: Likewise.
53129         * soft-fp/fixsfti.c: Likewise.
53130         * soft-fp/fixtfdi.c: Likewise.
53131         * soft-fp/fixtfsi.c: Likewise.
53132         * soft-fp/fixtfti.c: Likewise.
53133         * soft-fp/fixunsdfdi.c: Likewise.
53134         * soft-fp/fixunsdfsi.c: Likewise.
53135         * soft-fp/fixunsdfti.c: Likewise.
53136         * soft-fp/fixunssfdi.c: Likewise.
53137         * soft-fp/fixunssfsi.c: Likewise.
53138         * soft-fp/fixunssfti.c: Likewise.
53139         * soft-fp/fixunstfdi.c: Likewise.
53140         * soft-fp/fixunstfsi.c: Likewise.
53141         * soft-fp/fixunstfti.c: Likewise.
53142         * soft-fp/floatdidf.c: Likewise.
53143         * soft-fp/floatdisf.c: Likewise.
53144         * soft-fp/floatditf.c: Likewise.
53145         * soft-fp/floatsidf.c: Likewise.
53146         * soft-fp/floatsisf.c: Likewise.
53147         * soft-fp/floatsitf.c: Likewise.
53148         * soft-fp/floattidf.c: Likewise.
53149         * soft-fp/floattisf.c: Likewise.
53150         * soft-fp/floattitf.c: Likewise.
53151         * soft-fp/floatundidf.c: Likewise.
53152         * soft-fp/floatundisf.c: Likewise.
53153         * soft-fp/floatunditf.c: Likewise.
53154         * soft-fp/floatunsidf.c: Likewise.
53155         * soft-fp/floatunsisf.c: Likewise.
53156         * soft-fp/floatunsitf.c: Likewise.
53157         * soft-fp/floatuntidf.c: Likewise.
53158         * soft-fp/floatuntisf.c: Likewise.
53159         * soft-fp/floatuntitf.c: Likewise.
53160         * soft-fp/fmadf4.c: Likewise.
53161         * soft-fp/fmasf4.c: Likewise.
53162         * soft-fp/fmatf4.c: Likewise.
53163         * soft-fp/gedf2.c: Likewise.
53164         * soft-fp/gesf2.c: Likewise.
53165         * soft-fp/getf2.c: Likewise.
53166         * soft-fp/ledf2.c: Likewise.
53167         * soft-fp/lesf2.c: Likewise.
53168         * soft-fp/letf2.c: Likewise.
53169         * soft-fp/muldf3.c: Likewise.
53170         * soft-fp/mulsf3.c: Likewise.
53171         * soft-fp/multf3.c: Likewise.
53172         * soft-fp/negdf2.c: Likewise.
53173         * soft-fp/negsf2.c: Likewise.
53174         * soft-fp/negtf2.c: Likewise.
53175         * soft-fp/op-1.h: Likewise.
53176         * soft-fp/op-2.h: Likewise.
53177         * soft-fp/op-4.h: Likewise.
53178         * soft-fp/op-8.h: Likewise.
53179         * soft-fp/op-common.h: Likewise.
53180         * soft-fp/quad.h: Likewise.
53181         * soft-fp/single.h: Likewise.
53182         * soft-fp/soft-fp.h: Likewise.
53183         * soft-fp/sqrtdf2.c: Likewise.
53184         * soft-fp/sqrtsf2.c: Likewise.
53185         * soft-fp/sqrttf2.c: Likewise.
53186         * soft-fp/subdf3.c: Likewise.
53187         * soft-fp/subsf3.c: Likewise.
53188         * soft-fp/subtf3.c: Likewise.
53189         * soft-fp/truncdfsf2.c: Likewise.
53190         * soft-fp/trunctfdf2.c: Likewise.
53191         * soft-fp/trunctfsf2.c: Likewise.
53192         * soft-fp/trunctfxf2.c: Likewise.
53193         * soft-fp/unorddf2.c: Likewise.
53194         * soft-fp/unordsf2.c: Likewise.
53195         * soft-fp/unordtf2.c: Likewise.
53197 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
53199         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
53200         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
53202 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
53204         * elf/dl-libc.c: Clear initfini list after freeing.
53206 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
53208         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
53209         * soft-fp/addsf3.c: Likewise.
53210         * soft-fp/addtf3.c: Likewise.
53211         * soft-fp/divdf3.c: Likewise.
53212         * soft-fp/divsf3.c: Likewise.
53213         * soft-fp/divtf3.c: Likewise.
53214         * soft-fp/double.h: Likewise.
53215         * soft-fp/eqdf2.c: Likewise.
53216         * soft-fp/eqsf2.c: Likewise.
53217         * soft-fp/eqtf2.c: Likewise.
53218         * soft-fp/extenddftf2.c: Likewise.
53219         * soft-fp/extended.h: Likewise.
53220         * soft-fp/extendsfdf2.c: Likewise.
53221         * soft-fp/extendsftf2.c: Likewise.
53222         * soft-fp/extendxftf2.c: Likewise.
53223         * soft-fp/fixdfdi.c: Likewise.
53224         * soft-fp/fixdfsi.c: Likewise.
53225         * soft-fp/fixdfti.c: Likewise.
53226         * soft-fp/fixsfdi.c: Likewise.
53227         * soft-fp/fixsfsi.c: Likewise.
53228         * soft-fp/fixsfti.c: Likewise.
53229         * soft-fp/fixtfdi.c: Likewise.
53230         * soft-fp/fixtfsi.c: Likewise.
53231         * soft-fp/fixtfti.c: Likewise.
53232         * soft-fp/fixunsdfdi.c: Likewise.
53233         * soft-fp/fixunsdfsi.c: Likewise.
53234         * soft-fp/fixunsdfti.c: Likewise.
53235         * soft-fp/fixunssfdi.c: Likewise.
53236         * soft-fp/fixunssfsi.c: Likewise.
53237         * soft-fp/fixunssfti.c: Likewise.
53238         * soft-fp/fixunstfdi.c: Likewise.
53239         * soft-fp/fixunstfsi.c: Likewise.
53240         * soft-fp/fixunstfti.c: Likewise.
53241         * soft-fp/floatdidf.c: Likewise.
53242         * soft-fp/floatdisf.c: Likewise.
53243         * soft-fp/floatditf.c: Likewise.
53244         * soft-fp/floatsidf.c: Likewise.
53245         * soft-fp/floatsisf.c: Likewise.
53246         * soft-fp/floatsitf.c: Likewise.
53247         * soft-fp/floattidf.c: Likewise.
53248         * soft-fp/floattisf.c: Likewise.
53249         * soft-fp/floattitf.c: Likewise.
53250         * soft-fp/floatundidf.c: Likewise.
53251         * soft-fp/floatundisf.c: Likewise.
53252         * soft-fp/floatunsidf.c: Likewise.
53253         * soft-fp/floatunsisf.c: Likewise.
53254         * soft-fp/floatuntidf.c: Likewise.
53255         * soft-fp/floatuntisf.c: Likewise.
53256         * soft-fp/floatuntitf.c: Likewise.
53257         * soft-fp/fmadf4.c: Likewise.
53258         * soft-fp/fmasf4.c: Likewise.
53259         * soft-fp/fmatf4.c: Likewise.
53260         * soft-fp/gedf2.c: Likewise.
53261         * soft-fp/gesf2.c: Likewise.
53262         * soft-fp/getf2.c: Likewise.
53263         * soft-fp/ledf2.c: Likewise.
53264         * soft-fp/lesf2.c: Likewise.
53265         * soft-fp/letf2.c: Likewise.
53266         * soft-fp/muldf3.c: Likewise.
53267         * soft-fp/mulsf3.c: Likewise.
53268         * soft-fp/multf3.c: Likewise.
53269         * soft-fp/negdf2.c: Likewise.
53270         * soft-fp/negsf2.c: Likewise.
53271         * soft-fp/negtf2.c: Likewise.
53272         * soft-fp/op-1.h: Likewise.
53273         * soft-fp/op-2.h: Likewise.
53274         * soft-fp/op-4.h: Likewise.
53275         * soft-fp/op-8.h: Likewise.
53276         * soft-fp/op-common.h: Likewise.
53277         * soft-fp/quad.h: Likewise.
53278         * soft-fp/single.h: Likewise.
53279         * soft-fp/soft-fp.h: Likewise.
53280         * soft-fp/sqrtdf2.c: Likewise.
53281         * soft-fp/sqrtsf2.c: Likewise.
53282         * soft-fp/sqrttf2.c: Likewise.
53283         * soft-fp/subdf3.c: Likewise.
53284         * soft-fp/subsf3.c: Likewise.
53285         * soft-fp/subtf3.c: Likewise.
53286         * soft-fp/truncdfsf2.c: Likewise.
53287         * soft-fp/trunctfdf2.c: Likewise.
53288         * soft-fp/trunctfsf2.c: Likewise.
53289         * soft-fp/trunctfxf2.c: Likewise.
53290         * soft-fp/unorddf2.c: Likewise.
53291         * soft-fp/unordsf2.c: Likewise.
53292         * soft-fp/unordtf2.c: Likewise.
53294 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
53296         [BZ #15672]
53297         * misc/error.c (error_tail): Fix possible buffer overflow.
53299 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
53301         [BZ #13028]
53302         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
53303         address.
53305 2013-10-14  P. J. McDermott  <pj@pehjota.net>
53307         [BZ #832]
53308         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
53309         testing pipefail option.
53311 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53313         * soft-fp/double.h: Indent preprocessor directives inside #if.
53314         * soft-fp/extended.h: Likewise.
53315         * soft-fp/op-2.h: Likewise.
53316         * soft-fp/op-4.h: Likewise.
53317         * soft-fp/op-common.h: Likewise.
53318         * soft-fp/quad.h: Likewise.
53319         * soft-fp/single.h: Likewise.
53320         * soft-fp/soft-fp.h: Likewise.
53322 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
53324         * iconv/iconv_prog.c: Fix typos.
53325         * stdio-common/psiginfo-data.h: Likewise.
53327 2013-10-12   Reuben Thomas <rrt@sc3d.org>
53329         [BZ #15764]
53330         * locale/setlocale.c: Fix typo.
53332 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
53334         [BZ #16036]
53335         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
53336         signaling NaN arguments.
53337         * soft-fp/unordsf2.c (__unordsf2): Likewise.
53338         * soft-fp/unordtf2.c (__unordtf2): Likewise.
53340         [BZ #14910]
53341         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
53342         unordered operands.
53343         * soft-fp/gesf2.c (__gesf2): Likewise.
53344         * soft-fp/getf2.c (__getf2): Likewise.
53345         * soft-fp/ledf2.c (__ledf2): Likewise.
53346         * soft-fp/lesf2.c (__lesf2): Likewise.
53347         * soft-fp/letf2.c (__letf2): Likewise.
53349         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
53350         * soft-fp/eqsf2.c (__eqsf2): Likewise.
53351         * soft-fp/eqtf2.c (__eqtf2): Likewise.
53352         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
53353         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
53354         * soft-fp/fixdfti.c (__fixdfti): Likewise.
53355         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
53356         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
53357         * soft-fp/fixsfti.c (__fixsfti): Likewise.
53358         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
53359         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
53360         * soft-fp/fixtfti.c (__fixtfti): Likewise.
53361         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
53362         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
53363         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
53364         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
53365         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
53366         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
53367         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
53368         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
53369         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
53370         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
53371         * soft-fp/floatdisf.c (__floatdisf): Likewise.
53372         * soft-fp/floatsisf.c (__floatsisf): Likewise.
53373         * soft-fp/floattidf.c (__floattidf): Likewise.
53374         * soft-fp/floattisf.c (__floattisf): Likewise.
53375         * soft-fp/floattitf.c (__floattitf): Likewise.
53376         * soft-fp/floatundidf.c (__floatundidf): Likewise.
53377         * soft-fp/floatundisf.c (__floatundisf): Likewise.
53378         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
53379         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
53380         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
53381         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
53382         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
53383         * soft-fp/gesf2.c (__gesf2): Likewise.
53384         * soft-fp/getf2.c (__getf2): Likewise.
53385         * soft-fp/ledf2.c (__ledf2): Likewise.
53386         * soft-fp/lesf2.c (__lesf2): Likewise.
53387         * soft-fp/letf2.c (__letf2): Likewise.
53389         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
53390         Undefine and redefine.
53391         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
53392         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
53393         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
53394         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
53395         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53396         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
53397         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53398         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
53399         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53400         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
53401         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53402         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
53403         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53404         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
53405         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
53407         [BZ #16032]
53408         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
53409         without decrementing exponent if mantissa >= that for the
53410         denominator, not >.
53411         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
53412         denominator, not >.  Decrement exponent in < case instead of
53413         incrementing in >= case.
53414         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
53415         without decrementing exponent if mantissa >= that for the
53416         denominator, not >.
53418         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
53419         computing saturated result for unsigned overflow.
53421 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53422             Jeff Law  <law@redhat.com>
53424         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
53425         (atan2Mp): Add systemtap probe marker.
53426         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
53427         (__ieee754_log): Add systemtap probe marker.
53428         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
53429         (atanMp): Add systemtap probe marker.
53430         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
53431         (tanMp): Add systemtap probe marker.
53432         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
53433         (__slowexp): Add systemtap probe marker.
53434         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
53435         (__slowpow): Add systemtap probe marker.
53436         * manual/probes.texi: Document probes.
53438 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
53440         [BZ #15362]
53441         * libio/fileops.c (_IO_new_file_write): Return count of bytes
53442         written.
53443         (_IO_new_file_xsputn): Don't return EOF if nothing has been
53444         written.
53445         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
53446         written to buffer but not flushed.
53447         * libio/iofwrite_u.c:  Likewise.
53448         * libio/iopadn.c:  Return bytes returned even if EOF was
53449         encountered.
53450         * libio/iowpadn.c:  Likewise.
53451         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
53452         if _IO_padn does not write the whole buffer.
53453         [!COMPILE_WPRINTF] (PAD): Likewise.
53455 2013-10-10  David S. Miller  <davem@davemloft.net>
53457         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
53458         directory block.
53460 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53462         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
53463         instead of FSF address.
53464         * soft-fp/fixdfti.c: Likewise.
53465         * soft-fp/fixsfti.c: Likewise.
53466         * soft-fp/fixtfti.c: Likewise.
53467         * soft-fp/fixunsdfti.c: Likewise.
53468         * soft-fp/fixunssfti.c: Likewise.
53469         * soft-fp/fixunstfti.c: Likewise.
53470         * soft-fp/floattidf.c: Likewise.
53471         * soft-fp/floattisf.c: Likewise.
53472         * soft-fp/floattitf.c: Likewise.
53473         * soft-fp/floatuntidf.c: Likewise.
53474         * soft-fp/floatuntisf.c: Likewise.
53475         * soft-fp/floatuntitf.c: Likewise.
53476         * soft-fp/trunctfxf2.c: Likewise.
53478         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
53479         * soft-fp/fixdfti.c: Likewise.
53480         * soft-fp/fixsfti.c: Likewise.
53481         * soft-fp/fixtfti.c: Likewise.
53482         * soft-fp/fixunsdfti.c: Likewise.
53483         * soft-fp/fixunssfti.c: Likewise.
53484         * soft-fp/fixunstfti.c: Likewise.
53485         * soft-fp/floattidf.c: Likewise.
53486         * soft-fp/floattisf.c: Likewise.
53487         * soft-fp/floattitf.c: Likewise.
53488         * soft-fp/floatuntidf.c: Likewise.
53489         * soft-fp/floatuntisf.c: Likewise.
53490         * soft-fp/floatuntitf.c: Likewise.
53491         * soft-fp/trunctfxf2.c: Likewise.
53493 2013-10-10  David S. Miller  <davem@davemloft.net>
53495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53497 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
53499         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
53500         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
53501         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
53502         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
53503         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
53504         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
53505         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
53507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
53508         for NaNs before doing comparisons on argument.
53509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
53510         Likewise.
53512 2013-10-10  Will Newton  <will.newton@linaro.org>
53514         * malloc/hooks.c (memalign_check): Ensure the value of bytes
53515         passed to _int_memalign does not overflow.
53517 2013-10-10  Torvald Riegel  <triegel@redhat.com>
53519         * scripts/bench.pl: Add include-sources directive.
53520         * benchtests/README: Update documentation.
53522 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
53524         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
53525         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
53526         instead of FP_INIT_ROUNDMODE.
53527         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
53528         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
53530         [BZ #16034]
53531         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
53532         copy class of input value.
53533         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
53534         not handle exceptions.
53535         * soft-fp/negsf2.c (__negsf2): Likewise.
53536         * soft-fp/negtf2.c (__negtf2): Likewise.
53537         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
53539 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
53541         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
53542         semicolon.  From Linux kernel.
53544 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
53546         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
53548 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
53550         [BZ #156]
53551         * manual/socket.texi: Added statement about buffer
53552         for gethostbyname2_r.
53554 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
53556         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
53557         Use .p2align directive instead, throughout.
53558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53559         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
53560         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
53561         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53562         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53563         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
53564         * sysdeps/x86_64/strchr.S: Likewise.
53565         * sysdeps/x86_64/strrchr.S: Likewise.
53567 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53569         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
53571         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
53573         * sysdeps/generic/math_private.h (__mpsin1): Remove
53574         declaration.
53575         (__mpcos1): Likewise.
53576         (__mpsin): New argument __range_reduce.
53577         (__mpcos): Likewise.
53578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53579         (slow): Use __mpsin and __mpcos.
53580         (slow1): Likewise.
53581         (slow2): Likewise.
53582         (sloww): Likewise.
53583         (sloww1): Likewise.
53584         (sloww2): Likewise.
53585         (bsloww): Likewise.
53586         (bsloww1): Likewise.
53587         (bsloww2): Likewise.
53588         (cslow2): Likewise.
53589         (csloww): Likewise.
53590         (csloww1): Likewise.
53591         (csloww2): Likewise.
53592         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
53593         range_reduce.  Merge in __mpsin1.
53594         (__mpcos): Likewise.
53595         (__mpsin1): Remove.
53596         (__mpcos1): Likewise.
53598 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
53600         * locale/loadlocale.c (_nl_intern_locale_data): Use
53601         LOCFILE_ALIGNED_P.
53602         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
53603         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
53604         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
53605         obstack data is appropriately aligned.
53606         (obstack_int32_grow_fast): Likewise.
53607         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
53608         * locale/programs/locfile.c (add_locale_uint32): Likewise.
53609         (add_locale_uint32_array): Likewise.
53611 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53613         * benchtests/Makefile: Remove ARGLIST and RET variables.
53614         ($(objpfx)bench-%.c): Pass only function name to the script.
53615         * benchtests/README: Update documentation.
53616         * benchtests/acos-inputs: Add new directives.
53617         * benchtests/acosh-inputs: Likewise.
53618         * benchtests/asin-inputs: Likewise.
53619         * benchtests/asinh-inputs: Likewise.
53620         * benchtests/atan-inputs: Likewise.
53621         * benchtests/atanh-inputs: Likewise.
53622         * benchtests/cos-inputs: Likewise.
53623         * benchtests/cosh-inputs: Likewise.
53624         * benchtests/exp-inputs: Likewise.
53625         * benchtests/log-inputs: Likewise.
53626         * benchtests/pow-inputs: Likewise.
53627         * benchtests/rint-inputs: Likewise.
53628         * benchtests/sin-inputs: Likewise.
53629         * benchtests/sinh-inputs: Likewise.
53630         * benchtests/tan-inputs: Likewise.
53631         * benchtests/tanh-inputs: Likewise.
53632         * scripts/bench.pl: Add support for new directives.
53634 2013-10-07  Alan Modra  <amodra@gmail.com>
53636         * README: Fix careless merge.
53638 2013-10-05  Alan Modra  <amodra@gmail.com>
53640         * NEWS: Mention powerpc64le support and bugs fixed.
53641         * README: Both big-endian and little-endian powerpc64 supported.
53643 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53645         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
53646         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
53647         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
53648         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
53650 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
53652         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
53653         match prototype.
53655 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
53657         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
53658         Move -mhard-float appending from
53659         ports/sysdeps/powerpc/powerpc32/Makefile.
53660         [$(with-fp) = yes] (ASFLAGS): Likewise.
53661         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
53662         * sysdeps/powerpc/nofpu: Move directory from
53663         ports/sysdeps/powerpc/nofpu.
53664         * sysdeps/powerpc/soft-fp: Move directory from
53665         ports/sysdeps/powerpc/soft-fp.
53666         * sysdeps/powerpc/powerpc32/405: Move directory from
53667         ports/sysdeps/powerpc/powerpc32/405.
53668         * sysdeps/powerpc/powerpc32/440: Move directory from
53669         ports/sysdeps/powerpc/powerpc32/440.
53670         * sysdeps/powerpc/powerpc32/464: Move directory from
53671         ports/sysdeps/powerpc/powerpc32/464.
53672         * sysdeps/powerpc/powerpc32/476: Move directory from
53673         ports/sysdeps/powerpc/powerpc32/476.
53674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
53675         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
53676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
53677         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
53678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
53679         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
53680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
53681         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
53682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
53683         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
53684         * README: Update for powerpc-*-linux-gnu software floating point
53685         support in libc.
53687         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
53688         case to powerpc/powerpc32*.
53689         * sysdeps/unix/sysv/linux/configure: Regenerated.
53691         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
53692         (_FPU_MASK_OM): Define as 0x04.
53693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
53694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
53695         0x00c10080.
53696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
53697         0x0000003c.
53698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
53700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
53701         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53702         getcontext_e500.
53703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
53704         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
53705         setcontext_e500.
53706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
53707         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
53708         and setcontext_e500.
53710 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
53712         * locale/iso-3166.def: Update iso-1366.def and related occurrences
53714 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53716         * manual/threads.texi (Default Thread Attributes): Fix typo.
53718 2013-10-04  Will Newton  <will.newton@linaro.org>
53720         * malloc/Makefile: Add tst-memalign.
53721         * malloc/tst-memalign.c: New file.
53723         * malloc/tst-posix_memalign.c: Add comments.
53724         (do_test): Add comments and call free on all potentially
53725         allocated pointers. Add space after cast.
53727         * malloc/tst-pvalloc.c: Add comments.
53728         (do_test): Add comments and call free on all potentially
53729         allocated pointers. Remove duplicate check for NULL pointer.
53730         Add space after cast.
53732         * malloc/tst-valloc.c: Add comments.
53733         (do_test): Add comments and call free on all potentially
53734         allocated pointers. Remove duplicate check for NULL pointer.
53735         Add space after cast.
53737 2013-10-04  Alan Modra  <amodra@gmail.com>
53739         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53740         Use stdint types in rather than __attribute__((mode())).
53741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53743 2013-10-04  Alan Modra  <amodra@gmail.com>
53745         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
53746         Correct handling of unaligned relocs for little-endian.
53747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
53749 2013-10-04  Alan Modra  <amodra@gmail.com>
53751         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
53752         * configure: Regenerate.
53753         * nptl/shlib-versions: Powerpc*le starts at 2.18.
53754         * shlib-versions: Likewise.
53756 2013-10-04  Alan Modra  <amodra@gmail.com>
53758         * string/tester.c (test_memrchr): Increment reported test cycle.
53760 2013-10-04  Alan Modra  <amodra@gmail.com>
53762         * string/test-memcpy.c (do_one_test): When reporting errors, print
53763         string address and don't overrun end of string.
53765 2013-10-04  Alan Modra  <amodra@gmail.com>
53767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
53768         insrdi.  Make better use of reg selection to speed exit slightly.
53769         Schedule entry path a little better.  Remove useless "are we done"
53770         checks on entry to main loop.  Handle wrapping around zero address.
53771         Correct main loop count.  Handle single left-over word from main
53772         loop inline rather than by using loop_small.  Remove extra word
53773         case in loop_small caused by wrong loop count.  Add little-endian
53774         support.
53775         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53776         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
53777         cache hint.
53778         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53779         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
53780         support.  Avoid rlwimi.
53781         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
53783 2013-10-04  Alan Modra  <amodra@gmail.com>
53785         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
53786         insrdi.  Formatting.
53787         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
53788         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53789         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
53790         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
53791         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53792         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
53794 2013-10-04  Alan Modra  <amodra@gmail.com>
53796         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
53797         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53798         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
53799         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
53800         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53801         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53802         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53803         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53804         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
53805         use of regs.  Use power7 mtocrf.  Tidy function tails.
53807 2013-10-04  Alan Modra  <amodra@gmail.com>
53809         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
53810         Formatting.  Consistently use rXXX register defines or rN defines.
53811         Use early exit labels that avoid restoring unused non-volatile regs.
53812         Make cr field use more consistent with rWORDn compares.  Rename
53813         regs used as shift registers for unaligned loop, using rN defines
53814         for short lifetime/multiple use regs.
53815         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53816         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
53817         addi 1,1,64 to pop stack frame.  Simplify return value code.
53818         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53820 2013-10-04  Alan Modra  <amodra@gmail.com>
53822         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
53823         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
53824         rather than rlwimi.
53825         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
53826         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
53827         little-endian support.  Correct typos.
53828         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
53829         rather than rlwimi.
53830         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
53831         in loop and entry code to keep "and." results.
53832         (strchr): Add little-endian support.  Comment.  Move cntlzd
53833         earlier in tail.
53834         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
53836 2013-10-04  Alan Modra  <amodra@gmail.com>
53838         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
53839         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
53840         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
53841         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
53843 2013-10-04  Alan Modra  <amodra@gmail.com>
53845         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53846         (rTMP): Define as r11.
53847         (strcmp): Add little-endian support.  Optimise tail.
53848         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
53849         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53850         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53851         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53852         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53856 2013-10-04  Alan Modra  <amodra@gmail.com>
53858         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
53859         little-endian support.  Remove unnecessary "are we done" tests.
53860         Handle "s" wrapping around zero and extremely large "size".
53861         Correct main loop count.  Handle single left-over word from main
53862         loop inline rather than by using small_loop.  Correct comments.
53863         Delete "zero" tail, use "end_max" instead.
53864         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
53866 2013-10-04  Alan Modra  <amodra@gmail.com>
53868         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
53869         support.  Don't branch over align.
53870         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
53871         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
53872         support.  Rearrange tmp reg use to suit.  Comment.
53873         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
53875 2013-10-04  Alan Modra  <amodra@gmail.com>
53877         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
53879 2013-10-04  Alan Modra  <amodra@gmail.com>
53881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
53882         conditional form of branch and link when obtaining pc.
53883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
53885 2013-10-04  Alan Modra  <amodra@gmail.com>
53887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
53888         HIWORD/LOWORD.
53889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
53890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
53892 2013-10-04  Alan Modra  <amodra@gmail.com>
53894         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
53895         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
53896         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
53897         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
53898         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53899         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53900         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
53901         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53902         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
53903         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
53905 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53906             Alistair Popple <alistair@ozlabs.au.ibm.com>
53907             Alan Modra <amodra@gmail.com>
53909         [BZ #15723]
53910         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
53911         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
53912         _dl_hwcap access for little-endian.
53913         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
53914         destroy vmx regs when saving unaligned.
53915         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
53916         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
53917         destroy vmx regs when saving unaligned.
53919 2013-10-04  Alan Modra  <amodra@gmail.com>
53921         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
53922         Don't use a union to pack hi/low value.
53924 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53926         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
53927         for little-endian.
53928         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
53929         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
53930         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53931         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
53932         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
53934 2013-10-04  Alan Modra  <amodra@gmail.com>
53936         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
53937         constants to usual value for .cst8 section, and remove redundant
53938         high address load.
53939         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
53940         constant for 0x1p52.  Load little-endian words of double from
53941         correct stack offsets.
53943 2013-10-04  Alan Modra  <amodra@gmail.com>
53945         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
53946         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
53947         words of double from correct stack offsets.
53948         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
53949         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
53950         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
53951         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
53952         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
53953         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
53954         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
53955         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
53956         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
53957         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
53958         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
53959         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
53960         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53961         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53962         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53963         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
53964         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
53966 2013-10-04  Alan Modra  <amodra@gmail.com>
53968         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
53969         64-bit int/double union.
53970         (_FPU_SETCW): Likewise.
53971         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
53972         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
53974 2013-10-04  Alan Modra  <amodra@gmail.com>
53976         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
53977         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
53979 2013-10-04  Alan Modra  <amodra@gmail.com>
53981         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
53982         use vector int constants.
53983         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
53985 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
53987         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
53988         array with long long.
53989         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
53990         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
53991         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
53992         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
53993         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
53994         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
53995         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
53996         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
53997         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
53998         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
53999         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
54000         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
54001         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
54003 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54005         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
54006         (__signbit): Likewise.  Correct for little-endian.
54007         (__signbitl): Call __signbit.
54008         (lrint): Correct for little-endian.
54009         (lrintf): Call lrint.
54011 2013-10-04  Alan Modra  <amodra@gmail.com>
54013         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
54014         union 32-bit int array member with 64-bit int array.
54015         (t515, tm256): Double rather than long double.
54016         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
54018 2013-10-04  Alan Modra  <amodra@gmail.com>
54020         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
54021         Delete.
54022         (IEEE854_LONG_DOUBLE_BIAS): Delete.
54023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
54024         version of math_ldbl.h.
54026 2013-10-04  Alan Modra  <amodra@gmail.com>
54028         [BZ #15734], [BZ #15735]
54029         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
54030         all uses of ieee875 long double macros and unions.  Simplify test
54031         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
54032         ldbl_extract_mantissa value for ix,iy exponents.  Properly
54033         normalize after ldbl_extract_mantissa, and don't add hidden bit
54034         already handled.  Don't treat low word of ieee854 mantissa like
54035         low word of IBM long double and mask off bit when testing for
54036         zero.
54037         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
54038         all uses of ieee875 long double macros and unions.  Simplify tests
54039         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
54040         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
54041         two1022, instead use their values.  Recognise that tests for large
54042         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
54043         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
54044         Rewrite all uses of ieee875 long double macros and unions.  Simplify
54045         test for 0.0L and nan.  Correct negation.
54046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
54047         ieee875 long double macros and unions.  Correct output for large
54048         magnitude x.  Correct absolute value calculation.
54049         (__erfcl): Likewise.
54050         * math/libm-test.inc: Add tests for errors discovered in IBM long
54051         double versions of fmodl, remainderl, erfl and erfcl.
54053 2013-10-04  Alan Modra  <amodra@gmail.com>
54055         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
54056         all uses of ieee854 long double macros and unions.  Simplify tests
54057         for long doubles that are fully specified by the high double.
54058         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
54059         Likewise.
54060         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
54061         Remove dead code too.
54062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
54063         (__ieee754_ynl): Likewise.
54064         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
54065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
54066         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
54067         Remove dead code too.
54068         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
54069         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
54070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
54071         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
54072         Simplify.
54073         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
54074         Simplify.
54075         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
54076         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
54077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
54078         Comment on variable precision.
54079         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
54080         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54081         Likewise.
54082         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
54083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54085         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
54086         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
54088 2013-10-04  Alan Modra  <amodra@gmail.com>
54090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
54091         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
54092         all uses of ieee854 long double macros and unions.
54093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
54094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54095         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
54096         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
54097         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
54098         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54099         Likewise.
54100         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
54101         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54102         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
54103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
54105         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
54106         Simplify sign and nan test too.
54107         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
54108         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
54109         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
54110         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
54111         Likewise.
54112         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54113         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
54114         Likewise.
54115         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54116         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
54117         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
54118         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
54119         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
54120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
54122 2013-10-04  Alan Modra  <amodra@gmail.com>
54124         * stdio-common/printf_size.c (__printf_size): Don't use
54125         union ieee854_long_double in fpnum union.
54126         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
54127         signbit macro to retrieve sign from long double.
54128         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
54129         retrieve sign from long double.
54130         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
54131         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
54132         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
54133         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54134         * math/test-misc.c (main): Don't use union ieee854_long_double.
54136 2013-10-04  Alan Modra  <amodra@gmail.com>
54138         [BZ #15680]
54139         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
54140         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
54141         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
54142         calculation.  Remove unnecessary test for denormal exponent.
54143         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
54144         Correct handling of denormals.  Avoid undefined shift behaviour.
54145         Correct normalisation of low mantissa when low double is denormal.
54146         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
54147         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
54148         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
54149         Correct normalisation of low mantissa.  Test for overflow of high
54150         mantissa and normalise.
54151         (ldbl_nearbyint): Use more readable constant for two52.
54152         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
54153         (__mpn_construct_long_double): Fix test for overflow of high
54154         mantissa and correct normalisation.  Avoid undefined shift.
54156 2013-10-04  Alan Modra  <amodra@gmail.com>
54158         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
54159         (union ibm_extended_long_double): Define as an array of ieee754_double.
54160         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
54161         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
54162         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
54163         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
54164         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54165         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
54166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54167         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54168         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54169         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
54170         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54172 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
54174         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
54175         page size instead of calling getpagesize.
54177         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
54178         (LOCFILE_ALIGN_MASK): Likewise.
54179         (LOCFILE_ALIGN_UP): Likewise.
54180         (LOCFILE_ALIGNED_P): Likewise.
54181         * locale/programs/ld-collate.c (collate_output): Use the new
54182         macros instead of __alignof__ (int32_t).
54183         * locale/weight.h (findidx): Likewise.
54185 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
54187         [BZ #431]
54188         * manual/string.texi: Fix strncat and wcsncat.
54190 2013-10-03  Brooks Moses  <bmoses@google.com>
54192         [BZ #15915]
54193         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
54194         * Makerules: ...here, and adjust associated comments.
54196 2013-10-02  Will Newton  <will.newton@linaro.org>
54198         * malloc/Makefile: Add tst-pvalloc.
54199         * malloc/tst-pvalloc.c: New file.
54201 2013-10-02  Will Newton  <will.newton@linaro.org>
54203         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
54204         improve test coverage.
54206 2013-10-02  Will Newton  <will.newton@linaro.org>
54208         * malloc/Makefile: Add tst-posix_memalign.
54209         * malloc/tst-posix_memalign.c: New file.
54211 2013-10-01  Eric Blake  <eblake@redhat.com>
54213         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
54214         Use __THROWNL rather than __THROW on static functions.
54216 2013-09-30  Petr Machata  <pmachata@redhat.com>
54218         * elf/elf.h (R_AARCH64_ABS16): New macro.
54219         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
54220         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
54221         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
54222         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
54223         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
54224         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
54225         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
54226         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
54227         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54228         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
54229         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
54230         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
54231         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
54232         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
54233         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
54234         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
54235         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
54236         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
54237         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
54238         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
54239         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
54240         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
54241         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
54242         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
54243         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
54244         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
54245         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
54246         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
54247         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
54248         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
54249         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
54250         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
54251         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
54252         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
54253         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
54254         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
54255         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
54256         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
54257         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
54258         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
54259         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
54260         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
54261         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
54262         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
54263         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
54264         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
54265         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
54266         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
54267         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
54268         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
54269         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
54270         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
54271         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
54272         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
54273         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
54274         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
54275         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
54276         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
54277         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
54278         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
54279         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
54280         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
54281         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
54282         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
54283         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
54284         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
54285         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
54286         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
54287         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
54288         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
54289         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
54290         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
54291         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
54292         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
54293         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
54294         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
54295         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
54296         (R_AARCH64_TLSDESC_LDR): Likewise.
54297         (R_AARCH64_TLSDESC_ADD): Likewise.
54298         (R_AARCH64_TLSDESC_CALL): Likewise.
54300 2013-09-30  Andreas Schwab  <schwab@suse.de>
54302         [BZ #15048]
54303         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
54304         the nss database lookup.
54305         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54308 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
54310         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
54312 2013-09-28  P. J. McDermott  <pj@pehjota.net>
54314         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
54315         ${Bash-specific parameter/pattern/string} parameter expansion.
54316         * sysdeps/unix/make-syscalls.sh: Likewise.
54318 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54320         * sysdeps/sh/stackguard-macros.h: New file.
54322 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
54324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
54325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
54326         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
54327         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
54328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54329         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
54331 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54333         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
54334         Fix thread ID register.
54336 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
54338         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
54339         [POSIX || UNIX98]: Require rather than permitting all symbols from
54340         <time.h>.
54341         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
54342         element of struct sched_param.
54343         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
54344         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
54345         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
54346         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
54347         constant.
54349 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
54351         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
54352         argument calculation.
54354 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54356         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
54357         Expect macro.
54358         [POSIX] (pthread_attr_t): Do not require type.
54359         [POSIX] (pthread_cond_t): Likewise.
54360         [POSIX] (pthread_condattr_t): Likewise.
54361         [POSIX] (pthread_key_t): Likewise.
54362         [POSIX] (pthread_mutex_t): Likewise.
54363         [POSIX] (pthread_mutexattr_t): Likewise.
54364         [POSIX] (pthread_once_t): Likewise.
54365         [POSIX] (pthread_t): Likewise.
54366         [POSIX-based standards] (pthread_atfork): Expect function.
54368 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
54369             Richard Sandiford  <richard@codesourcery.com>
54371         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
54372         (swap_endianness_p): New extern variable.
54373         (set_big_endian): New inline function.
54374         (maybe_swap_uint32): Likewise.
54375         (maybe_swap_uint32_array): Likewise.
54376         (maybe_swap_uint32_obstack): Likewise.
54377         * locale/programs/locfile.c: Include <stdbool.h>.
54378         (swap_endianness_p): New variable.
54379         (add_locale_uint32): Call maybe_swap_uint32.
54380         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
54381         (write_locale_data): Call maybe_swap_uint32_array.
54382         * locale/programs/ld-collate.c (obstack_int32_grow): Call
54383         maybe_swap_uint32.
54384         (obstack_int32_grow_fast): Likewise.
54385         (output_weightwc): Call maybe_swap_uint32_obstack.
54386         (collate_output): Likewise.
54387         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
54388         (OPT_LITTLE_ENDIAN): Likewise.
54389         (options): Add --little-endian and --big-endian options.
54390         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
54391         * locale/programs/locarchive.c: Include "locfile.h".
54392         (GET): New macro.
54393         (SET): Likewise.
54394         (INC): Likewise.
54395         (create_archive): Use the new macros to access fields of
54396         structures directly mapped from or written to locale archives.
54397         (oldlocrecentcmp): Likewise.
54398         (enlarge_archive): Likewise.
54399         (insert_name): Likewise.
54400         (add_alias): Likewise.
54401         (add_locale): Likewise.
54402         (delete_locales_from_archive): Likewise.
54403         (show_archive_content): Likewise.
54404         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
54405         locale data.
54407 2013-09-24  Roland McGrath  <roland@hack.frob.com>
54409         * manual/freemanuals.texi: Updated from (newly) canonical copy at
54410         http://www.gnu.org/doc/freemanuals.texi.
54411         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
54413 2013-09-24  Will Newton  <will.newton@linaro.org>
54415         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
54416         macro.
54418 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
54420         * locale/hashval.h (compute_hashval): Interpret bytes of key as
54421         unsigned char.
54423 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
54425         * manual/threads.texi (POSIX Threads): Fix a typo.
54427 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54429         [BZ #14547]
54430         * string/tst-strcoll-overflow.c: New test case.
54431         * string/Makefile (xtests): Add tst-strcoll-overflow.
54432         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
54433         cache if string sizes may cause integer overflow.
54435         [BZ #14547]
54436         * string/strcoll_l.c (coll_seq): New members rule, idx,
54437         save_idx and back_us.
54438         (get_next_seq_nocache): New function.
54439         (do_compare_nocache): New function.
54440         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
54441         when malloc fails.
54443 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
54445         [BZ #15754]
54446         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
54447         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
54448         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
54450         [BZ #15754]
54451         * elf/Makefile (tests): Add tst-ptrguard1.
54452         (tests-static): Add tst-ptrguard1-static.
54453         (tst-ptrguard1-ARGS): Define.
54454         (tst-ptrguard1-static-ARGS): Define.
54455         * elf/tst-ptrguard1.c: New file.
54456         * elf/tst-ptrguard1-static.c: New file.
54457         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
54458         * sysdeps/i386/stackguard-macros.h: Likewise.
54459         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54460         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54461         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54462         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54463         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54464         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54466 2013-09-23  Hector Marco  <hecmargi@upv.es>
54467             Ismael Ripoll  <iripoll@disca.upv.es>
54468             Carlos O'Donell  <carlos@redhat.com>
54470         [BZ #15754]
54471         * sysdeps/generic/stackguard-macros.h: Define
54472         __pointer_chk_guard_local and POINTER_CHK_GUARD.
54473         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
54474         Define __pointer_chk_guard_local.
54475         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54476         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
54478 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
54480         [BZ #15859]
54481         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
54483 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
54485         * include/string.h (__ffs): Declare as hidden.
54486         * string/ffs.c (__ffs): Define as hidden.
54487         * sysdeps/i386/ffs.c (__ffs): Likewise.
54488         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
54489         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
54490         * sysdeps/s390/ffs.c (__ffs): Likewise.
54491         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
54493 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
54495         * NEWS: Mention malloc probes.
54497         * malloc/arena.c (new_heap): New memory_heap_new probe.
54498         (grow_heap): New memory_heap_more probe.
54499         (shrink_heap): New memory_heap_less probe.
54500         (heap_trim): New memory_heap_free probe.
54501         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
54502         (systrim): New memory_sbrk_less probe.
54503         * manual/probes.texi: Document them.
54505         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
54506         * manual/probes.texi: Document it.
54508         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
54509         (__libc_realloc): Add memory_realloc_retry probe.
54510         (__libc_memalign): Add memory_memalign_retry probe.
54511         (__libc_valloc): Add memory_valloc_retry probe.
54512         (__libc_pvalloc): Add memory_pvalloc_retry probe.
54513         (__libc_calloc): Add memory_calloc_retry probe.
54514         * manual/probes.texi: Document them.
54516         * malloc/arena.c (get_free_list): Add probe
54517         memory_arena_reuse_free_list.
54518         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
54519         and memory_arena_reuse.
54520         (arena_get2) [!PER_THREAD]: Likewise.
54521         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
54522         memory_arena_reuse_realloc.
54523         * manual/probes.texi: Document them.
54525         * malloc/malloc.c (__libc_free): Add
54526         memory_mallopt_free_dyn_thresholds probe.
54527         (__libc_mallopt): Add multiple memory_mallopt probes.
54528         * manual/probes.texi: Document them.
54530         * malloc/malloc.c: Include stap-probe.h.
54531         (__libc_mallopt): Add memory_mallopt probe.
54532         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
54533         * manual/probes.texi: New.
54534         * manual/Makefile (chapters): Add probes.
54535         * manual/threads.texi: Set next node.
54537 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
54539         [BZ #15963, #13985]
54540         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
54541         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
54542         Add `Chinese' to `nan' entry name.
54544 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54546         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
54547         (POLYNOMIAL): Likewise.
54548         (TAYLOR_SINCOS): Likewise.
54549         (TAYLOR_SLOW): Likewise.
54550         (__sin): Use TAYLOR_SINCOS.
54551         (__cos): Likewise.
54552         (slow): Use TAYLOR_SLOW.
54553         (sloww): Likewise.
54554         (bsloww): Likewise.
54555         (csloww): Likewise.
54557 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54559         * stdlib/strtod_l.c: Fix buffer overrun.
54561 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54563         * benchtests/Makefile (bench): Add sincos.
54564         * benchtests/bench-sincos.c: New file.
54566         * math/libm-test.inc (cos_test_data): New test inputs.
54567         (sin_test_data): Likewise.
54569         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
54570         macro.
54571         (__sin): Use it.
54572         (__cos): Likewise.
54573         (slow1): Likewise.
54574         (slow2): Likewise.
54575         (sloww1): Likewise.
54576         (sloww2): Likewise.
54577         (bsloww1): Likewise.
54578         (bsloww2): Likewise.
54579         (cslow2): Likewise.
54580         (csloww1): Likewise.
54581         (csloww2): Likewise.
54583         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
54584         function.
54585         (__sin): Use it.
54586         (__cos): Likewise.
54588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
54589         gotos.
54590         (__cos): Likewise.
54592 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
54594         * config.h.in (HAVE_MIPS_NAN2008): New macro.
54595         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
54596         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
54597         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
54598         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
54599         * elf/cache.c (print_entry): Handle the new cache flags.
54601 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54602             Aldy Hernandez  <aldyh@redhat.com>
54604         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
54605         Change condition to [_SOFT_FLOAT].
54606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
54607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
54608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
54609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
54610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
54611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
54612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
54613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
54614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
54615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
54616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
54617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
54618         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
54619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
54620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
54621         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
54622         declaration.
54624 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
54626         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
54627         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54628         (__longjmp): Use LOAD_GP to load saved GPRs.
54629         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
54630         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
54631         (__sigsetjmp): Use SAVE_GP to save GPRs.
54633         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
54634         Do not append -msoft-float.
54635         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
54637 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54639         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
54641 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
54643         [BZ #15966]
54644         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
54645         (_FPU_GETCW): Use initial "__" on variable and field names but not
54646         on macro parameter name.
54647         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
54648         parentheses around reference to macro parameter.
54650 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
54652         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
54653         prototype.
54654         (ctype_startup): Use uint32_t in cast and sizeof for
54655         ctype->charnames.
54657 2013-09-11  Jia Liu  <proljc@gmail.com>
54659         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
54660         __daddr_t_defined.
54661         [__FreeBSD__]: Likewise.
54663 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
54665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
54666         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
54667         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
54668         (strchr): Remove __strchr_sse42 ifunc selection.
54669         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
54670         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
54672 2013-09-11  Will Newton  <will.newton@linaro.org>
54674         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
54675         parameter to RES. Remove hardcoded 1000 value.
54676         * benchtests/bench-skeleton.c (main): Pass RES parameter
54677         to TIMING_INIT and multiply result by 1000.
54679 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54683 2013-09-11  Andreas Schwab  <schwab@suse.de>
54685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
54686         if not defined.
54687         (O_TMPFILE) [__USE_GNU]: Define.
54688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
54689         Define.
54691 2013-09-11  Will Newton  <will.newton@linaro.org>
54693         [BZ #15857]
54694         * malloc/malloc.c (__libc_memalign): Check the value of bytes
54695         does not overflow.
54697 2013-09-11  Will Newton  <will.newton@linaro.org>
54699         [BZ #15856]
54700         * malloc/malloc.c (__libc_valloc): Check the value of bytes
54701         does not overflow.
54703 2013-09-11  Will Newton  <will.newton@linaro.org>
54705         [BZ #15855]
54706         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
54707         does not overflow.
54709 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
54711         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
54712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54713         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54714         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54715         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54717 2013-09-10  Allan McRae  <allan@archlinux.org>
54719         [BZ #15748]
54720         * manual/arith.texi (Parsing of Floats): Clarify
54721         cross-reference.
54723         [BZ #15849]
54724         * manual/install.texi (Running make install): Mention
54725         --enable-pt-chown.
54726         * INSTALL: Regenerated.
54728 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
54730         * csu/init-first.c (_init): Remove the !SHARED condition around
54731         FPU control word initialization.
54732         * elf/dl-support.c (_dl_fpu_control): New variable.
54733         (_dl_aux_init) <AT_FPUCW>: Initialize it.
54734         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
54735         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
54736         * math/test-fpucw-static.c: New file.
54737         * math/test-fpucw-ieee.c: New file.
54738         * math/test-fpucw-ieee-static.c: New file.
54739         * math/Makefile (tests): Add `test-fpucw-ieee' and
54740         `$(tests-static)'.
54741         (tests-static): New variable.
54742         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
54743         dependency to...
54744         [($(build-shared),yes)]
54745         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
54746         ... this.
54747         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
54748         New dependency.
54750 2013-09-09  Allan McRae  <allan@archlinux.org>
54752         [BZ #15939]
54753         * manual/string.texi (Collation Functions): Fix typo in
54754         strcoll example.
54755         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
54757         [BZ #15893]
54758         * stdlib/isomac.c (get_null_defines): Fix memory leak.
54760         [BZ #15892]
54761         * libio/memstream.c (open_memstream): Fix memory leak.
54762         * libio/wmemstream.c (open_wmemstream): Likewise.
54764         [BZ #15895]
54765         * nscd/netgroupcache.c: Fix nesting of ifdefs.
54767 2013-09-09  Will Newton  <will.newton@linaro.org>
54769         * malloc/Makefile: Add tst-realloc to tests.
54770         * malloc/tst-realloc.c: New file.
54772 2013-09-09  Allan McRae  <allan@archlinux.org>
54774         [BZ #15844]
54775         * COPYING: Update from GNU website to fix FSF address.
54776         * COPYING.LIB: Likewise.
54778 2013-09-06  David S. Miller  <davem@davemloft.net>
54780         * po/zh_TW.po: Update Chinese (traditional) translation from
54781         translation project.
54783 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
54784             Joseph Myers  <joseph@codesourcery.com>
54786         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
54787         "localeinfo.h".
54788         (obstack_chunk_alloc): New macro.
54789         (obstack_chunk_free): Likewise.
54790         (record_offset): New function.
54791         (init_locale_data): Likewise.
54792         (align_locale_data): Likewise.
54793         (add_locale_empty): Likewise.
54794         (add_locale_raw_data): Likewise.
54795         (add_locale_raw_obstack): Likewise.
54796         (add_locale_string): Likewise.
54797         (add_locale_wstring): Likewise.
54798         (add_locale_uint32): Likewise.
54799         (add_locale_uint32_array): Likewise.
54800         (add_locale_char): Likewise.
54801         (start_locale_structure): Likewise.
54802         (end_locale_structure): Likewise.
54803         (start_locale_prelude): Likewise.
54804         (end_locale_prelude): Likewise.
54805         (write_locale_data): Take locale_file structure rather than an
54806         iovec.
54807         * locale/programs/locfile.h: Include "obstack.h".
54808         (struct locale_file): Change to store locale file contents instead
54809         of header.
54810         (init_locale_data): New prototype.
54811         (align_locale_data): Likewise.
54812         (add_locale_empty): Likewise.
54813         (add_locale_raw_data): Likewise.
54814         (add_locale_raw_obstack): Likewise.
54815         (add_locale_string): Likewise.
54816         (add_locale_wstring): Likewise.
54817         (add_locale_uint32): Likewise.
54818         (add_locale_uint32_array): Likewise.
54819         (add_locale_char): Likewise.
54820         (start_locale_structure): Likewise.
54821         (end_locale_structure): Likewise.
54822         (start_locale_prelude): Likewise.
54823         (end_locale_prelude): Likewise.
54824         (write_locale_data): Update prototype.
54825         * locale/programs/3level.h (struct TABLE): Remove result field.
54826         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
54827         Use new locale_file interface.
54828         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
54829         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
54830         * locale/programs/ld-address.c (address_output): Use new
54831         locale_file interface.
54832         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
54833         NO_ADD_LOCALE.
54834         (collate_finish): Don't call collseq_table_finalize.
54835         (collate_output): Use new locale_file interface.
54836         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
54837         in file.
54838         (NO_FINALIZE): Change to NO_ADD_LOCALE.
54839         (TABLE): Move defines earlier in file.
54840         (ELEMENT): Likewise.
54841         (DEFAULT): Likewise.
54842         (wctrans_table_add): Move macro and inline function earlier in
54843         file.
54844         (struct wctype_table): Move type earlier in file.
54845         (add_locale_wctype_table): New static prototype.
54846         (struct locale_ctype_t): Use logical types instead of struct iovec
54847         pointers for members.
54848         (ctype_output): Use new locale_file interface.
54849         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
54850         new locale_file interface.
54851         (allocate_arrays): Update for use of new locale_file interface.
54852         * locale/programs/ld-identification.c (identification_output): Use
54853         new locale_file interface.
54854         * locale/programs/ld-measurement.c (measurement_output): Likewise.
54855         * locale/programs/ld-messages.c (messages_output): Likewise.
54856         * locale/programs/ld-monetary.c (monetary_output): Likewise.
54857         * locale/programs/ld-name.c (name_output): Likewise.
54858         * locale/programs/ld-numeric.c (numeric_output): Likewise.
54859         * locale/programs/ld-paper.c (paper_output): Likewise.
54860         * locale/programs/ld-telephone.c (telephone_output): Likewise.
54861         * locale/programs/ld-time.c (time_output): Likewise.
54863 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54865         * benchtests/Makefile: Add memrchr benchmark.
54866         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
54867         benchmark as memrchr.
54868         * benchtests/bench-memrchr-ifunc.c: New file.
54869         * benchtests/bench-memrchr.c: New file.
54871 2013-09-06   Will Newton  <will.newton@linaro.org>
54873         * benchtests/Makefile (string-bench): Add memcpy.
54875 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
54876             Cong Wang  <amwang@redhat.com>
54878         [BZ #15850]
54879         * sysdeps/unix/sysv/linux/bits/in.h
54880         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
54881         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
54882         before __USE_KERNEL_IPV6_DEFS uses.
54883         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
54884         IPPROTO_BEETPH.
54885         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
54886         sockaddr_in6, or ipv6_mreq.
54888 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54890         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
54891         memory access for final bytes in some large inputs.
54892         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
54894 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54896         * string/test-memrchr.c: New file.
54897         * string/test-memrchr-ifunc.c: New file.
54898         * string/Makefile: Add new memrchr testcase.
54900 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
54902         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
54903         fanotify_init returns EPERM.
54905 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54907         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
54908         errors.
54909         (top level): Treat second token from macro or constant entries for
54910         allowed headers as allowed.
54911         * include/complex.h: Condition internal declarations on
54912         [!_ISOMAC].
54913         * include/fenv.h: Condition include of <stdbool.h> and internal
54914         declarations on [!_ISOMAC].
54916 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
54918         [BZ #15923]
54919         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
54921 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
54923         * configure.in (--enable-versioning): Remove configure option.
54924         (libc_cv_asm_symver_directive): Remove configure test.
54925         (libc_cv_ld_version_script_option): Likewise.
54926         (VERSIONING): Remove variable and AC_SUBST.
54927         (DO_VERSIONING): Remove AC_DEFINE.
54928         * configure: Regenerated.
54929         * config.h.in (DO_VERSIONING): Remove macro.
54930         * Makerules [$(versioning) = yes]: Change conditionals to
54931         [$(build-shared) = yes].
54932         * config.make.in (versioning): Remove variable.
54933         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
54934         [$(build-shared) = yes].
54935         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
54936         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
54937         * elf/Makefile [$(versioning) = yes]: Change conditionals to
54938         [$(build-shared) = yes].
54939         * extra-lib.mk [$(versioning) = yes]: Likewise.
54940         * hurd/Makefile [$(versioning) = yes]: Likewise.
54941         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
54942         [SHARED].
54943         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
54944         [SHARED].
54945         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54946         [SHARED && !NO_HIDDEN].
54947         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
54948         [SHARED].
54949         [SHARED && DO_VERSIONING]: Likewise..
54950         * libio/Makefile [$(versioning) = yes]: Change conditionals to
54951         [$(build-shared) = yes].
54952         * manual/install.texi (--disable-versioning): Remove
54953         documentation.
54954         * INSTALL: Regenerated.
54955         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
54956         to [SHARED].
54957         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
54958         [$(build-shared) = yes].
54959         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
54960         * sysdeps/i386/i686/multiarch/strstr-c.c
54961         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
54962         [SHARED && !NO_HIDDEN].
54963         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
54964         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
54965         * sysdeps/powerpc/powerpc32/dl-machine.c
54966         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
54967         * sysdeps/powerpc/powerpc32/sysdep.h
54968         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
54969         to [SHARED && PIC && !NO_HIDDEN].
54970         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
54971         conditional to [SHARED].
54973 2013-09-04   Will Newton  <will.newton@linaro.org>
54975         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
54976         * benchtests/bench-string.h: Include bench-timing.h instead
54977         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
54978         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
54979         call to HP_TIMING_DIFF_INIT.
54980         * benchtests/bench-memccpy.c: Use bench-timing.h macros
54981         instead of hp-timing.h macros.
54982         * benchtests/bench-memchr.c: Likewise.
54983         * benchtests/bench-memcmp.c: Likewise.
54984         * benchtests/bench-memcpy.c: Likewise.
54985         * benchtests/bench-memmem.c: Likewise.
54986         * benchtests/bench-memmove.c: Likewise.
54987         * benchtests/bench-memset.c: Likewise.
54988         * benchtests/bench-rawmemchr.c: Likewise.
54989         * benchtests/bench-strcasecmp.c: Likewise.
54990         * benchtests/bench-strcasestr.c: Likewise.
54991         * benchtests/bench-strcat.c: Likewise.
54992         * benchtests/bench-strchr.c: Likewise.
54993         * benchtests/bench-strcmp.c: Likewise.
54994         * benchtests/bench-strcpy.c: Likewise.
54995         * benchtests/bench-strcpy_chk.c: Likewise.
54996         * benchtests/bench-strlen.c: Likewise.
54997         * benchtests/bench-strncasecmp.c: Likewise.
54998         * benchtests/bench-strncat.c: Likewise.
54999         * benchtests/bench-strncmp.c: Likewise.
55000         * benchtests/bench-strncpy.c: Likewise.
55001         * benchtests/bench-strnlen.c: Likewise.
55002         * benchtests/bench-strpbrk.c: Likewise.
55003         * benchtests/bench-strrchr.c: Likewise.
55004         * benchtests/bench-strspn.c: Likewise.
55005         * benchtests/bench-strstr.c: Likewise.
55007 2013-09-04  Will Newton  <will.newton@linaro.org>
55009         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
55011 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
55013         [BZ #15427]
55014         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
55015         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
55016         * math/libm-test.inc (lgamma_test_data): Add more tests.
55017         * sysdeps/i386/fpu/libm-test-ulps: Update.
55018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55020 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
55022         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
55023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55024         Add ifunc.
55025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55026         Add strcmp-sse2-unaligned
55027         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
55029 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55031         * Versions.def (libc): Add GLIBC_2.19.
55033 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
55035         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
55036         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
55038 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
55040         [BZ #14155]
55041         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
55042         intermediate calculations in recurrence.
55043         (__ieee754_ynf): Likewise.
55044         * math/libm-test.inc (jn_test_data): Do not allow spurious
55045         underflow exception.  Add more tests.
55046         (yn_test_data): Add more tests.
55047         * sysdeps/i386/fpu/libm-test-ulps: Update.
55048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55050 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
55052         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
55054 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55056         * csu/init-first.c: Fix then/than typos.
55057         * locale/programs/ld-collate.c: Likewise.
55058         * locale/programs/linereader.h: Likewise.
55059         * manual/charset.texi: Likewise.
55060         * manual/filesys.texi: Likewise.
55061         * manual/stdio.texi: Likewise.
55062         * manual/string.texi: Likewise.
55063         * stdlib/fmtmsg.c: Likewise.
55064         * sysdeps/i386/stpncpy.S: Likewise.
55065         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55066         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55067         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55068         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55070 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
55072         * elf/dl-open.c: Fix typos.
55073         * iconvdata/gbbig5.c: Likewise.
55074         * iconvdata/iso-2022-jp.c: Likewise.
55075         * iconv/gconv_int.h: Likewise.
55076         * iconv/loop.c: Likewise.
55077         * nis/rpcsvc/nis.h: Likewise.
55078         * resolv/ns_name.c: Likewise.
55079         * stdio-common/vfscanf.c: Likewise.
55080         * streams/stropts.h: Likewise.
55081         * sunrpc/rpc_thread.c: Likewise.
55082         * sysdeps/i386/strpbrk.S: Likewise.
55083         * sysdeps/ieee754/k_standard.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55086         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
55087         * sysdeps/mach/hurd/profil.c: Likewise.
55088         * sysdeps/s390/dl-procinfo.h: Likewise.
55089         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
55090         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
55091         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
55092         * sysdeps/x86_64/dl-trampoline.S: Likewise.
55093         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55095 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
55097         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
55098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
55100 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
55102         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
55103         aix specific files.
55104         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
55105         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
55106         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
55107         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
55108         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
55109         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
55110         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
55111         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
55113 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55114             Roland McGrath  <roland@hack.frob.com>
55116         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
55117         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
55119 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55121         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
55122         __executable_start symbol instead of _start.
55124 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
55126         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
55127         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
55128         Move macros to...
55129         * sysdeps/gnu/ldsodefs.h: ... this new file.
55131         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
55132         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
55133         instead of ELFOSABI_LINUX.
55135         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
55136         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
55137         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
55138         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
55139         Likewise.
55140         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
55141         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
55142         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
55143         Likewise.
55144         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55145         (ibm_extended_long_double): Add ieee_nan member.
55146         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
55147         (do_test): New function.
55149         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
55150         TEST_TRUNC.
55151         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
55152         functions, renamed from truncdfsf_test, trunctfsf_test,
55153         trunctfdf_test.
55154         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
55155         functions.
55156         (do_test): Run all these.
55158 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
55160         * argp/argp-help.c: Fix typos.
55161         * argp/argp-parse.c: Likewise.
55162         * debug/backtracesyms.c: Likewise.
55163         * elf/elf.h: Likewise.
55164         * malloc/malloc.c: Likewise.
55165         * nis/nis_print.c: Likewise.
55166         * resolv/res_comp.c: Likewise.
55167         * stdlib/stdlib.h: Likewise.
55168         * sunrpc/clnt_tcp.c: Likewise.
55169         * sunrpc/clnt_udp.c: Likewise.
55170         * sunrpc/clnt_unix.c: Likewise.
55171         * sysdeps/unix/bsd/ptsname.c: Likewise.
55172         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
55173         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
55174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
55175         Likewise.
55176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
55177         Likewise.
55178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
55179         Likewise.
55180         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
55182 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55184         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
55185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55187 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
55189         [BZ #15897]
55190         * dlfcn/Makefile (tests): Add bug-dl-leaf.
55191         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
55192         ($(objpfx)bug-dl-leaf): New rule.
55193         ($(objpfx)bug-dl-leaf.so): Likewise.
55194         ($(objpfx)bug-dl-leaf.out): Likewise.
55195         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
55196         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
55197         * dlfcn/bug-dl-leaf.c: New test.
55198         * dlfcn/bug-dl-leaf-lib.c: Likewise.
55199         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
55200         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
55201         (dlclose): Likewise.
55202         (dlmopen): Likewise.
55204 2013-08-27  Roland McGrath  <roland@hack.frob.com>
55206         * include/netdb.h [!_ISOMAC]:
55207         Don't include <tls.h>.
55208         (h_errno, __libc_h_errno): Move declaration and macros out of
55209         [_LIBC_REENTRANT].
55211         * include/resolv.h [_RESOLV_H_]:
55212         Don't include <tls.h>.
55213         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
55214         * resolv/res_libc.c: Don't include <tls.h>.
55215         (_res): Use __attribute__ ((nocommon)) in place of
55216         __attribute__ ((section (".bss"))).
55218         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
55219         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
55221         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
55223         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
55224         only under [SIOCGIFCONF && SIOCGIFNETMASK].
55226         * resolv/res_mkquery.c: Include <sys/time.h>.
55228         * inet/ifreq.c: Moved to ...
55229         * sysdeps/unix/ifreq.c: ... here.
55230         * inet/ifreq.c: New file, true stub version.
55232         * socket/sa_len.c: New file.
55233         * socket/Makefile (aux): Add it.
55234         * sysdeps/unix/sysv/linux/Makefile
55235         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
55236         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
55237         and #include <socket/sa_len.c>.
55238         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
55239         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
55241         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
55242         * bits/socket.h: ... here.
55244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
55245         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
55246         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
55248 2013-08-27  Andreas Schwab  <schwab@suse.de>
55250         [BZ #15736]
55251         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
55252         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
55253         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
55254         * string/test-strcasecmp.c (test_main): Run tests in several
55255         locales.
55256         * string/test-strncasecmp.c (test_main): Likewise.
55258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
55259         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
55260         to __strcasecmp_nonascii and __strncasecmp_nonascii.
55261         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
55262         (__strncasecmp_ssse3) [PIC]: Likewise.
55264 2013-08-26  Roland McGrath  <roland@hack.frob.com>
55266         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
55268         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
55269         instead of explicitly declaring xdecrypt.
55270         * nis/nss_nis/nis-publickey.c: Likewise.
55272 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55274         [BZ #15890]
55275         * nscd/aicache.c: Include res_hconf.h.
55276         (addhstaiX): Initialize res_hconf.
55278 2013-08-26  Andreas Schwab  <schwab@suse.de>
55280         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
55281         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
55283 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55285         * nscd/aicache.c (addhstaiX): Fix indentation.
55287 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
55289         * configure.ac: Quote $build_pt_chown test.
55290         * configure: Regenerated.
55292 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
55294         [BZ #15532]
55295         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
55296         * math/s_cexpf.c (__cexpf): Likewise.
55297         * math/s_cexpl.c (__cexpl): Likewise.
55298         * math/libm-test.inc (cexp_test_data): Correct expected return
55299         value for NaN + i0.  Add another test.
55301 2013-08-22  David S. Miller  <davem@davemloft.net>
55303         * po/ca.po: Update Catalan translation from translation project.
55304         * po/uk.po: Add Ukrainian translations from translation project.
55306 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
55308         [BZ #15797]
55309         * math/s_fdim.c (__fdim): Check for infinite arguments if result
55310         is infinite, not alongside NaN test.
55311         * math/s_fdimf.c (__fdimf): Likewise.
55312         * math/s_fdiml.c (__fdiml): Likewise.
55313         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
55314         errno is unchanged.
55316 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
55318         * argp/argp-help.c: Fix typos.
55319         * crypt/speeds.c: Likewise.
55320         * csu/check_fds.c: Likewise.
55321         * elf/dl-load.c: Likewise.
55322         * elf/dl-open.c: Likewise.
55323         * elf/reldep3.c: Likewise.
55324         * elf/reldep.c: Likewise.
55325         * elf/sprof.c: Likewise.
55326         * iconv/iconv_charmap.c: Likewise.
55327         * iconv/skeleton.c: Likewise.
55328         * iconv/strtab.c: Likewise.
55329         * io/lockf64.c: Likewise.
55330         * libio/libioP.h: Likewise.
55331         * resolv/gai_notify.c: Likewise.
55332         * resolv/ns_name.c: Likewise.
55333         * resolv/ns_samedomain.c: Likewise.
55334         * resolv/res_send.c: Likewise.
55335         * stdlib/random.c: Likewise.
55336         * sunrpc/rpc/xdr.h: Likewise.
55337         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
55338         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55339         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55340         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55341         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55342         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55345         * sysdeps/mach/hurd/check_fds.c: Likewise.
55346         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55348         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55349         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55350         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55351         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55352         * sysdeps/pthread/aio_notify.c: Likewise.
55353         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
55354         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
55355         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
55356         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55357         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55359 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55361         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
55362         version if bit_Slow_SSE4_2 is set.
55363         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55364         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55366 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55368         [BZ #15867]
55369         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55370         trampoline stack frame information.
55371         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
55372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
55373         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
55374         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
55375         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
55376         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55377         (_libc_vdso_platform_setup): Initialize the signal trampolines.
55378         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
55379         sa_flags value.
55380         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
55381         interrupting a syscall and set with option SA_SIGINFO.
55383 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55385         [BZ #15531]
55386         * math/s_cproj.c (__cproj): Only return an infinity if one part of
55387         argument is infinite.
55388         * math/s_cprojf.c (__cprojf): Likewise.
55389         * math/s_cprojl.c (__cprojl): Likewise.
55390         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
55391         * math/libm-test.inc (cproj_test_data): Add more tests.
55393         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
55395         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
55396         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
55397         size.  Use __ffs to determine corresponding shift.
55399 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
55400             Roland McGrath  <roland@hack.frob.com>
55402         * Makefile (INSTALL): Remove trailing blank lines from output of
55403         makeinfo.
55405 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55407         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
55408         Align 32 bit compat elf_greg to 8 bytes.
55410 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
55412         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55414 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55416         * string/strcoll_l.c (coll_seq): New structure.
55417         (get_next_seq_cached): New function.
55418         (get_next_seq): New function.
55419         (do_compare): New function.
55420         (STRCOLL): Use GNU style definition.  Simplify implementation
55421         by using get_next_seq, get_next_seq_cached and do_compare.
55423 2013-08-16  Florian Weimer  <fweimer@redhat.com>
55425         [BZ #14699]
55426         CVE-2013-4237
55427         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
55428         member.
55429         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
55430         member.
55431         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
55432         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
55433         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
55434         conditional.
55435         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
55436         GETDENTS_64BIT_ALIGNED.
55437         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55438         * manual/filesys.texi (Reading/Closing Directory): Document
55439         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
55440         strongly.
55441         * manual/conf.texi (Limits for Files): Add portability note to
55442         NAME_MAX, PATH_MAX.
55443         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
55445 2013-08-13  Andreas Schwab  <schwab@suse.de>
55447         [BZ #15749]
55448         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
55449         of fabs.
55450         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
55451         LDBL_MAX_EXP >= 16384]: Add tests for it.
55453 2013-08-12  David S. Miller  <davem@davemloft.net>
55455         * version.h (RELEASE): Set to "development".
55456         (VERSION): Set to "2.18.90".
55457         * NEWS: Add 2.19 section.
55459 2013-08-03  David S. Miller  <davem@davemloft.net>
55461         * po/ko.po: Update Korean translation from translation project.
55463 2013-08-01  David S. Miller  <davem@davemloft.net>
55465         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
55466         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
55467         Bilka.
55469 2013-07-30  David S. Miller  <davem@davemloft.net>
55471         * po/fr.po: Update French translation from translation project.
55473 2013-07-28  David S. Miller  <davem@davemloft.net>
55475         * po/cs.po: Update Czech translation from translation project.
55477         * po/sv.po: Update Swedish translation from translation project.
55479 2013-07-27  David S. Miller  <davem@davemloft.net>
55481         * po/eo.po: Update Esperanto translation from translation project.
55483         * po/vi.po: Update Vietnamese translation from translation project.
55485         * po/de.po: Update German translation from translation project.
55487 2013-07-26  David S. Miller  <davem@davemloft.net>
55489         * po/bg.po: Update Bulgarian translation from translation project.
55491         * po/nl.po: Update Dutch translation from translation project.
55492         * po/pl.po: Update Polish translation from translation project.
55493         * po/ru.po: Update Russian translation from translation project.
55495 2013-07-24  David S. Miller  <davem@davemloft.net>
55497         * po/libc.pot: Update.
55499 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55501         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
55502         variable page size.
55503         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
55504         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
55505         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
55507 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55509         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
55511 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55512             Andreas Schwab  <schwab@suse.de>
55513             Roland McGrath  <roland@hack.frob.com>
55514             Joseph Myers  <joseph@codesourcery.com>
55515             Carlos O'Donell  <carlos@redhat.com>
55517         [BZ #15755]
55518         * config.h.in: Define HAVE_PT_CHOWN.
55519         * config.make.in (build-pt-chown): New variable.
55520         * configure.in (--enable-pt_chown): New configure option.
55521         * configure: Regenerate.
55522         * login/Makefile: Include Makeconfig.  Build pt_chown only if
55523         build-pt-chown is enabled.
55524         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
55525         pt_chown to fix pty ownership.
55526         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
55527         CLOSE_ALL_FDS.
55528         * manual/install.texi (Configuring and compiling): Mention
55529         --enable-pt_chown. Add @findex for grantpt.
55530         * INSTALL: Regenerate.
55532 2013-07-20  David S. Miller  <davem@davemloft.net>
55534         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
55535         difference between 32-bit and 64-bit.
55537 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
55539         [BZ #15711]
55540         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
55541         Avoid system header dependency with -ffreestanding.
55542         ($(objpfx)bits/syscall%d): Likewise.
55544 2013-07-13  David S. Miller  <davem@davemloft.net>
55546         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
55547         underflows from atanl/atan2l due to bug 15319.
55548         (casinh_test_data): Likewise.
55550 2013-07-07  David S. Miller  <davem@davemloft.net>
55552         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
55554 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
55556         * sysdeps/i386/fpu/libm-test-ulps: Update.
55557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55559 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55561         * configure.in (--enable-lock-elision): Fix message text.
55562         * INSTALL: Regenerate.
55563         * configure: Regenerate.
55565 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55569 2013-07-03  Andreas Jaeger  <aj@suse.de>
55571         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
55572         define.
55573         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
55574         (ptrace_peeksiginfo_args): Add.
55575         (__ptrace_peeksiginfo_flags): Add.
55576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55577         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55578         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55580 2013-07-03  Allan McRae  <allan@archlinux.org>
55582         * sysdeps/i386/fpu/libm-test-ulps: Update.
55584 2013-07-02  David S. Miller  <davem@davemloft.net>
55586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55588 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
55590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55592 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55594         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55597 2013-07-02  Andi Kleen <ak@linux.intel.com>
55599         * config.h.in (ENABLE_LOCK_ELISION): Add.
55600         * configure.in (--enable-lock-elision): Add option.
55601         * manual/install.texi: Document --enable lock elision.
55602         * configure: Regenerate
55603         * INSTALL: Regenerate.
55605 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
55607         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
55608         SSE4.2 strcasecmp for libc.a.
55609         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
55611 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
55613         [BZ #13304]
55614         * soft-fp/op-common.h (_FP_FMA): New macro.
55615         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
55616         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
55617         (_FP_MUL_MEAT_1_imm): ... here.
55618         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
55619         (_FP_MUL_MEAT_1_wide): ... here.
55620         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
55621         (_FP_MUL_MEAT_1_hard): ... here.
55622         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
55623         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
55624         (_FP_MUL_MEAT_2_wide): ... here.
55625         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
55626         (_FP_MUL_MEAT_2_wide_3mul): ... here.
55627         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
55628         (_FP_MUL_MEAT_2_gmp): ... here.
55629         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
55630         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
55631         (_FP_MUL_MEAT_4_wide): ... here.
55632         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
55633         (_FP_MUL_MEAT_4_gmp): ... here.
55634         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
55635         (_FP_WFRACBITS_DW_S): Likewise.
55636         (_FP_WFRACXBITS_DW_S): Likewise.
55637         (_FP_HIGHBIT_DW_S): Likewise.
55638         (FP_FMA_S): Likewise.
55639         (_FP_FRAC_HIGH_DW_S): Likewise.
55640         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
55641         (_FP_WFRACBITS_DW_D): Likewise.
55642         (_FP_WFRACXBITS_DW_D): Likewise.
55643         (_FP_HIGHBIT_DW_D): Likewise.
55644         (FP_FMA_D): Likewise.
55645         (_FP_FRAC_HIGH_DW_D): Likewise.
55646         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
55647         (_FP_WFRACBITS_DW_E): Likewise.
55648         (_FP_WFRACXBITS_DW_E): Likewise.
55649         (_FP_HIGHBIT_DW_E): Likewise.
55650         (FP_FMA_E): Likewise.
55651         (_FP_FRAC_HIGH_DW_E): Likewise.
55652         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
55653         (_FP_WFRACBITS_DW_Q): Likewise.
55654         (_FP_WFRACXBITS_DW_Q): Likewise.
55655         (_FP_HIGHBIT_DW_Q): Likewise.
55656         (FP_FMA_Q): Likewise.
55657         (_FP_FRAC_HIGH_DW_Q): Likewise.
55658         * soft-fp/fmasf4.c: New file.
55659         * soft-fp/fmadf4.c: Likewise.
55660         * soft-fp/fmatf4.c: Likewise.
55662 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55665         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
55666         Silvermont.
55667         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
55668         macro.
55669         (index_Slow_SSE4_2): Likewise.
55670         (index_Prefer_PMINUB_for_stringop): Likewise.
55671         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
55672         bit_Slow_SSE4_2 is set.
55673         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55674         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55676 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55678         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
55679         rtld_global._dl_hwcap2.
55680         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
55681         POWER8.
55682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
55683         POWER8 feature descriptions defined in _dl_hwcap2.
55684         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
55685         string handling for POWER8 feature bits.
55686         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
55687         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
55688         _dl_powerpc_cap_flags.
55689         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
55690         * sysdeps/powerpc/rtld-global-offsets.sym
55691         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
55692         _dl_hwcap2 in the rtld_global_ro structure.
55694 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55696         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
55697         hardware capabilities in support of AT_HWCAP2.
55698         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
55699         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
55700         GLRO(dl_hwcap2).
55701         (_dl_show_auxv): Add support for calling _dl_procinfo to display
55702         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
55703         explicitly the unknown a_type display mechanism is used.
55704         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
55705         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
55706         struct member.
55707         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
55708         to macro prototype for AT_HWCAP2 support.
55709         * sysdeps/i386/dl-procinfo.h: Likewise.
55710         * sysdeps/s390/dl-procinfo.h: Likewise.
55711         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
55712         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
55713         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
55714         return -1 for unknown a_type display fallback.
55715         * sysdeps/sparc/dl-procinfo.h: Likewise.
55716         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
55717         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
55719 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
55721         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
55722         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
55724 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
55726         [BZ #12492]
55727         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
55728         mprotect making __stack_prot writable.
55730 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
55731             Joseph Myers  <joseph@codesourcery.com>
55733         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
55734         as being properly aligned.
55736 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
55738         * dlfcn/modstatic5.c: New file.
55739         * dlfcn/tststatic5.c: New file.
55740         * dlfcn/Makefile (tests): Add tststatic5.
55741         (tests-static): Likewise.
55742         (modules-names): Add modstatic5.
55743         (tststatic5-ENV): New variable.
55744         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
55746         [BZ #15022]
55747         * elf/dl-support.c (_dl_main_map): New variable.
55748         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
55749         (_dl_nns, _dl_load_adds): Set to 1.
55750         (_dl_initial_searchlist): Refer to _dl_main_map.
55751         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
55752         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
55753         call to _dl_get_origin.
55754         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
55755         around call_map.
55756         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
55757         * dlfcn/modstatic3.c: New file.
55758         * dlfcn/tststatic3.c: New file.
55759         * dlfcn/tststatic4.c: New file.
55760         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
55761         (tests-static): Likewise.
55762         (modules-names): Add modstatic3.
55763         (tststatic3-ENV, tststatic4-ENV): New variables.
55764         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
55765         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
55767 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
55769         * configure.in (CC): Require GCC version 4.4 or later.
55770         * configure: Regenerated.
55771         * manual/install.texi (Tools for Compilation): Update GCC version
55772         requirement.
55773         * INSTALL: Regenerated.
55775 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55777         [BZ #15674]
55778         * string/test-memcmp.c (check2): New.
55779         (main): Call check2.
55781         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
55783 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
55785         [BZ #15022]
55786         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
55787         over to...
55788         (dl_open_worker) [!SHARED]: ... here.
55790 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55792         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
55794 2013-06-25  Richard Henderson  <rth@redhat.com>
55796         * locale/programs/locarchive.c: Include <libc-internal.h>
55798 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
55800         * manual/texinfo.tex: Update to version 2013-06-21.17, with
55801         trailing whitespace removed.
55803 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55805         [BZ #10283]
55806         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
55807         * locale/programs/locarchive.c: Include libc-mmap.h.
55808         (prepare_address_space): Take two new outputs (the mmap base and len).
55809         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
55810         values.
55811         (create_archive): Declare new mmap base and len values for
55812         prepare_address_space, and store the result in ah.
55813         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
55814         (enlarge_archive): If ah->mmap_base is not NULL, use that and
55815         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55816         Declare new mmap base and len values for
55817         prepare_address_space, and store the result in new_ah.
55818         (open_archive): Declare new mmap base and len values for
55819         prepare_address_space, and store the result in ah.
55820         (close_archive): If ah->mmap_base is not NULL, use that and
55821         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
55822         * sysdeps/generic/libc-mmap.h: New file.
55824 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
55826         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
55827         (ALIGN_UP): Likewise.
55828         (PTR_ALIGN_DOWN): Likewise.
55829         (PTR_ALIGN_UP): Likewise.
55831 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55833         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
55834         entry mapped to PPC_PLATFORM_POWER8.
55835         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
55836         POWER8.
55837         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
55838         (_dl_string_platform): Add case for exporting platform position for
55839         POWER8.
55840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
55841         search path to sysdeps/powerpc/powerpc32/power8 directory.
55842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
55843         search path to sysdeps/powerpc/powerpc64/power8 directory.
55844         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
55845         power7 directories.
55846         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
55847         power7 directories.
55849 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55851         * INSTALL: Regenerate.
55853         * nscd/connections.c (nscd_init): Fix comment.
55855 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
55857         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
55859         [BZ #15667]
55860         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
55861         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
55863 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55865         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
55866         DL_DST_REQ_STATIC.
55867         (DL_DST_REQ_STATIC): Remove macro.
55869 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
55871         [BZ #7006]
55872         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
55873         with a shift of 0 bits.
55875 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
55877         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
55878         $(tststatic-ENV).
55880 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55882         [BZ #15655]
55883         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
55885 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55887         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
55888         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
55889         accepts -fno-tree-loop-distribute-patterns.
55890         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
55891         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
55892         recursive call.
55893         * string/memset.c (memset): Likewise.
55894         * string/test-memmove.c (simple_memmove): Disable loop transformation
55895         to library calls.
55896         * string/test-memset.c (simple_memset): Likewise.
55897         * benchtests/bench-memmove.c (simple_memmove): Likewise.
55898         * benchtests/bench-memset.c (simple_memset): Likewise.
55899         * configure: Regenerated.
55901 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
55903         * math/test-misc.c (main): Ignore fesetround failure when failures
55904         of subsequent rounding tests would be ignored.
55906         [BZ #15654]
55907         * math/fedisblxcpt.c (fedisableexcept): Return 0.
55908         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
55909         * math/fegetenv.c (__fegetenv): Return 0.
55910         * math/fegetexcept.c (fegetexcept): Return 0.
55911         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
55912         FE_TONEAREST.
55913         * math/feholdexcpt.c (feholdexcept): Return 0.
55914         * math/fesetenv.c (__fesetenv): Return 0.
55915         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
55916         argument FE_TONEAREST.
55917         * math/feupdateenv.c (__feupdateenv): Return 0.
55918         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
55920 2013-06-18  Roland McGrath  <roland@hack.frob.com>
55922         * elf/rtld-Rules (rtld-compile-command.S): New variable.
55923         (rtld-compile-command.s, rtld-compile-command.c): New variables.
55924         ($(objpfx)rtld-%.os rules): Use them.
55926 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55928         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
55929         fields.
55931 2013-06-17  Roland McGrath  <roland@hack.frob.com>
55933         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
55934         length of target pattern, then descending length of dependency pattern.
55935         * configure.in (AWK): Require gawk 3.1.2 or newer.
55936         * manual/install.texi (Tools for Compilation): Say that we do.
55937         * configure: Regenerated.
55939         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
55940         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
55941         * scripts/sysd-rules.awk: ... this new script.
55942         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
55943         than a glob-style pattern.
55945 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
55947         * math/test-misc.c (main): Do not treat incorrectly rounded
55948         conversions as failure unless ROUNDING_TESTS passes.
55950 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
55952         [BZ #15631]
55953         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
55954         restore exception state around main square root computation, then
55955         check for inexactness explicitly.
55957         * math/libm-test.inc (fma_test_data): Add another test.
55959 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55961         * manual/threads.texi (Non-POSIX Extensions): New document
55962         node.  Document pthread_getattr_default_np and
55963         pthread_setattr_default_np.
55965         * Versions.def (libpthread): Add GLIBC_2.18.
55966         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
55967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
55968         Likewise.
55969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
55970         Likewise.
55971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55972         Likewise.
55973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55974         Likewise.
55975         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
55976         Likewise.
55977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
55978         Likewise.
55979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
55980         Likewise.
55981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55982         Likewise.
55983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55984         Likewise.
55986 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55989         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
55991 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55992             H.J. Lu  <hjl.tools@gmail.com>
55994         [BZ #15627]
55995         * sysdeps/x86_64/rtld-memset.c: Remove file.
55996         * sysdeps/x86_64/rtld-memset.S: New file.
55998 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
56000         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
56001         (test_in_one_mode): Take arguments for whether the rounding mode
56002         is supported for each floating-point type.
56003         (do_test): Pass new arguments to test_in_one_mode using
56004         ROUNDING_TESTS.
56006 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56008         * posix/tst-waitid.c (do_test): Distinguish different instances of
56009         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
56010         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
56011         before entering the kernel for waitpid.
56013 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56015         * NEWS: Fix note on clock function precision.  Text by Roland
56016         McGrath.
56018 2013-06-13  Roland McGrath  <roland@hack.frob.com>
56020         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
56021         it into place only when and if the sanity check passes.
56023 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
56025         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
56026         output for whether conversion result is exact.  Take argument
56027         indicating whether type is IBM long double.
56028         (round_for_all): Change need_exact field to ibm_ld.
56029         * stdlib/tst-strtod-round.c (struct exactness): New type.
56030         (struct test): Change bool ld_ok field to struct exactness exact.
56031         (TEST): Update all definitions for change to field.
56032         (tests): Regenerate array contents.
56033         (test_in_one_mode): Take pointer to new field instead of old ld_ok
56034         field value.  Check for IBM long double here.
56035         (do_test): Update calls to test_in_one_mode.
56037 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56039         [BZ #12515]
56040         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
56041         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
56043 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56045         [BZ #15605]
56046         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
56047         generated by the compiler on loop optimizations.
56048         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
56049         general definitions.
56051 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
56053         * math/bug-nextafter.c: Include <math-tests.h>.
56054         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56055         the relevant type.
56056         * math/bug-nexttoward.c: Include <math-tests.h>.
56057         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56058         the relevant type.
56059         * math/test-misc.c: Include <math-tests.h>.
56060         (main): Only test for exceptions if EXCEPTION_TESTS is true for
56061         the relevant type.
56063 2013-06-12  Andreas Jaeger  <aj@suse.de>
56065         * po/ia.po: Update Interlingua translation from translation
56066         project.
56068 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56070         * include/fenv.h: Include stdbool.h.
56071         (struct rm_ctx): New structure.
56072         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
56073         Define macro.
56074         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
56075         (SET_RESTORE_ROUNDF): Likewise.
56076         (SET_RESTORE_ROUNDL): Likewise.
56077         (SET_RESTORE_ROUND_NOEX): Likewise.
56078         (SET_RESTORE_ROUND_NOEXF): Likewise.
56079         (SET_RESTORE_ROUND_NOEXL): Likewise.
56080         (SET_RESTORE_ROUND_53BIT): Likewise.
56081         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
56082         (libc_feresetround_noexf_ctx): Likewise.
56083         (libc_feresetround_noexl_ctx): Likewise.
56084         (libc_feholdsetround_53bit_ctx): Likewise.
56085         (libc_feresetround_53bit_ctx): Likewise.
56086         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
56087         (libc_feholdexcept_setround_sse_ctx): New function.
56088         (libc_fesetenv_sse_ctx): Likewise.
56089         (libc_feupdateenv_sse_ctx): Likewise.
56090         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
56091         (libc_feholdexcept_setround_387_ctx): Likewise.
56092         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
56093         (libc_feholdsetround_387_prec_ctx): Likewise.
56094         (libc_feholdsetround_387_ctx): Likewise.
56095         (libc_feholdsetround_387_53bit_ctx): Likewise.
56096         (libc_feholdsetround_sse_ctx): Likewise.
56097         (libc_feresetround_sse_ctx): Likewise.
56098         (libc_feresetround_387_ctx): Likewise.
56099         (libc_feupdateenv_387_ctx): Likewise.
56100         (libc_feholdexcept_setroundf_ctx): Define macro.
56101         (libc_fesetenvf_ctx): Likewise.
56102         (libc_feupdateenvf_ctx): Likewise.
56103         (libc_feholdsetroundf_ctx): Likewise.
56104         (libc_feresetroundf_ctx): Likewise.
56105         (libc_feholdexcept_setround_ctx): Likewise.
56106         (libc_fesetenv_ctx): Likewise.
56107         (libc_feupdateenv_ctx): Likewise.
56108         (libc_feholdsetround_ctx): Likewise.
56109         (libc_feresetround_ctx): Likewise.
56110         (libc_feholdexcept_setroundl_ctx): Likewise.
56111         (libc_feupdateenvl_ctx): Likewise.
56112         (libc_feholdsetroundl_ctx): Likewise.
56113         (libc_feresetroundl_ctx): Likewise.
56114         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
56115         (libc_feresetround_53bit_ctx): Likewise.
56117 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56119         * locale/iso-639.def: Convert to UTF-8.
56121 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
56123         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
56124         (EXCEPTION_TESTS_double): Likewise.
56125         (EXCEPTION_TESTS_long_double): Likewise.
56126         (EXCEPTION_TESTS): Likewise.
56127         * math/libm-test.inc (test_exceptions): Only test exceptions if
56128         EXCEPTION_TESTS (FLOAT).
56130 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56132         * benchtests/Makefile (string-bench): Add strcpy_chk and
56133         stpcpy_chk.
56134         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
56135         * benchtests/bench-stpcpy_chk.c: New file.
56136         * benchtests/bench-strcpy_chk-ifunc.c: New file.
56137         * benchtests/bench-strcpy_chk.c: New file.
56138         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
56139         code.
56140         (do_test): Likewise.
56142 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56144         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
56145         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
56146         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
56147         with tabs where appropriate.
56148         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
56149         dl-procinfo.h.
56150         [PPC_PLATFORM_PPC440]: Likewise.
56151         [PPC_PLATFORM_PPC464]: Likewise.
56152         [PPC_PLATFORM_PPC476]: Likewise.
56153         (_dl_string_platform): Add support for detecting ppc405, ppc440,
56154         ppc464, and ppc476 platform strings merging from ports/
56155         dl-procinfo.h.
56157 2013-06-11  Andreas Schwab  <schwab@suse.de>
56159         [BZ #14991]
56160         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
56161         (from_ucs4_idx): Regenerate.
56162         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
56163         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
56164         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
56165         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
56166         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
56167         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
56168         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
56169         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
56170         from FROM_LOOP and TO_LOOP specific macros.
56171         (BODY): Handle combining characters.
56172         * iconvdata/BIG5HKSCS.irreversible: Update.
56173         * iconvdata/BIG5HKSCS.precomposed: New file.
56174         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
56175         characters.
56176         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
56178 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56180         * include/sys/time.h: Fix indentation and add copyright header.
56182         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
56183         (do_test): Likewise.
56184         * string/test-memchr.c (do_one_test): Likewise.
56185         (do_test): Likewise.
56186         * string/test-memcmp.c (do_one_test): Likewise.
56187         (do_test): Likewise.
56188         * string/test-memcpy.c (do_one_test): Likewise.
56189         (do_test): Likewise.
56190         * string/test-memmem.c (do_one_test): Likewise.
56191         (do_test): Likewise.
56192         (do_random_tests): Likewise.
56193         * string/test-memmove.c (do_one_test): Likewise.
56194         (do_test): Likewise.
56195         * string/test-memset.c (do_one_test): Likewise.
56196         (do_test): Likewise.
56197         * string/test-rawmemchr.c (do_one_test): Likewise.
56198         (do_test): Likewise.
56199         * string/test-strcasecmp.c (do_one_test): Likewise.
56200         (do_test): Likewise.
56201         * string/test-strcasestr.c (do_one_test): Likewise.
56202         (do_test): Likewise.
56203         * string/test-strcat.c (do_one_test): Likewise.
56204         (do_test): Likewise.
56205         * string/test-strchr.c (do_one_test): Likewise.
56206         (do_test): Likewise.
56207         * string/test-strcmp.c (do_one_test): Likewise.
56208         (do_test): Likewise.
56209         * string/test-strcpy.c (do_one_test): Likewise.
56210         (do_test): Likewise.
56211         * string/test-string.h: Likewise.
56212         (test_init): Likewise.
56213         * string/test-strlen.c (do_one_test): Likewise.
56214         (do_test): Likewise.
56215         * string/test-strncasecmp.c (do_one_test): Likewise.
56216         (do_test): Likewise.
56217         * string/test-strncat.c (do_one_test): Likewise.
56218         (do_test): Likewise.
56219         * string/test-strncmp.c (do_one_test): Likewise.
56220         (do_test_limit): Likewise.
56221         (do_test): Likewise.
56222         * string/test-strncpy.c (do_one_test): Likewise.
56223         (do_test): Likewise.
56224         * string/test-strnlen.c (do_one_test): Likewise.
56225         (do_test): Likewise.
56226         * string/test-strpbrk.c (do_one_test): Likewise.
56227         (do_test): Likewise.
56228         * string/test-strrchr.c (do_one_test): Likewise.
56229         (do_test): Likewise.
56230         * string/test-strspn.c (do_one_test): Likewise.
56231         (do_test): Likewise.
56232         * string/test-strstr.c (do_one_test): Likewise.
56233         (do_test): Likewise.
56235         * benchtests/Makefile (string-bench): Add string benchmarks.
56236         * benchtests/bench-bcopy-ifunc.c: New file.
56237         * benchtests/bench-bcopy.c: New file.
56238         * benchtests/bench-bzero-ifunc.c: New file.
56239         * benchtests/bench-bzero.c: New file.
56240         * benchtests/bench-memccpy-ifunc.c: New file.
56241         * benchtests/bench-memccpy.c: New file.
56242         * benchtests/bench-memchr-ifunc.c: New file.
56243         * benchtests/bench-memchr.c: New file.
56244         * benchtests/bench-memcmp-ifunc.c: New file.
56245         * benchtests/bench-memcmp.c: New file.
56246         * benchtests/bench-memmem-ifunc.c: New file.
56247         * benchtests/bench-memmem.c: New file.
56248         * benchtests/bench-memmove-ifunc.c: New file.
56249         * benchtests/bench-memmove.c: New file.
56250         * benchtests/bench-mempcpy-ifunc.c: New file.
56251         * benchtests/bench-mempcpy.c: New file.
56252         * benchtests/bench-memset-ifunc.c: New file.
56253         * benchtests/bench-memset.c: New file.
56254         * benchtests/bench-rawmemchr-ifunc.c: New file.
56255         * benchtests/bench-rawmemchr.c: New file.
56256         * benchtests/bench-stpcpy-ifunc.c: New file.
56257         * benchtests/bench-stpcpy.c: New file.
56258         * benchtests/bench-stpncpy-ifunc.c: New file.
56259         * benchtests/bench-stpncpy.c: New file.
56260         * benchtests/bench-strcasecmp-ifunc.c: New file.
56261         * benchtests/bench-strcasecmp.c: New file.
56262         * benchtests/bench-strcasestr-ifunc.c: New file.
56263         * benchtests/bench-strcasestr.c: New file.
56264         * benchtests/bench-strcat-ifunc.c: New file.
56265         * benchtests/bench-strcat.c: New file.
56266         * benchtests/bench-strchr-ifunc.c: New file.
56267         * benchtests/bench-strchr.c: New file.
56268         * benchtests/bench-strchrnul-ifunc.c: New file.
56269         * benchtests/bench-strchrnul.c: New file.
56270         * benchtests/bench-strcmp-ifunc.c: New file.
56271         * benchtests/bench-strcmp.c: New file.
56272         * benchtests/bench-strcpy-ifunc.c: New file.
56273         * benchtests/bench-strcpy.c: New file.
56274         * benchtests/bench-strcspn-ifunc.c: New file.
56275         * benchtests/bench-strcspn.c: New file.
56276         * benchtests/bench-strlen-ifunc.c: New file.
56277         * benchtests/bench-strlen.c: New file.
56278         * benchtests/bench-strncasecmp-ifunc.c: New file.
56279         * benchtests/bench-strncasecmp.c: New file.
56280         * benchtests/bench-strncat-ifunc.c: New file.
56281         * benchtests/bench-strncat.c: New file.
56282         * benchtests/bench-strncmp-ifunc.c: New file.
56283         * benchtests/bench-strncmp.c: New file.
56284         * benchtests/bench-strncpy-ifunc.c: New file.
56285         * benchtests/bench-strncpy.c: New file.
56286         * benchtests/bench-strnlen-ifunc.c: New file.
56287         * benchtests/bench-strnlen.c: New file.
56288         * benchtests/bench-strpbrk-ifunc.c: New file.
56289         * benchtests/bench-strpbrk.c: New file.
56290         * benchtests/bench-strrchr-ifunc.c: New file.
56291         * benchtests/bench-strrchr.c: New file.
56292         * benchtests/bench-strspn-ifunc.c: New file.
56293         * benchtests/bench-strspn.c: New file.
56294         * benchtests/bench-strstr-ifunc.c: New file.
56295         * benchtests/bench-strstr.c: New file.
56297         * benchtests/Makefile: Disable parallel execution of targets.
56298         (string-bench): Add memcpy.
56299         (benchset): New variable to store a list of benchmark sets.
56300         (bench-func): Renamed from bench.
56301         (bench-set): New target.
56302         (bench): Depend on bench-func and bench-set.
56303         * benchtests/README: Add section on benchmark sets.
56304         * benchtests/bench-memcpy-ifunc.c: New file.
56305         * benchtests/bench-memcpy.c: New file.
56306         * benchtests/bench-string.h: New file.
56308 2013-06-11  Andreas Schwab  <schwab@suse.de>
56310         [BZ #15577]
56311         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
56312         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
56313         values in the triple.
56314         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
56315         terminator in the group key.
56317 2013-06-11  Andreas Jaeger  <aj@suse.de>
56319         * po/zh_TW.po: Update Chinese (traditional) translation from
56320         translation project.
56322 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56324         * include/time.h (__clock_gettime): Add libc_hidden_proto.
56325         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
56326         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
56327         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56328         (clock_getcpuclockid): Likewise.
56329         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
56330         Add weak_alias and libc_hidden_def.
56331         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
56332         * rt/clock_gettime.c (clock_gettime): Rename to
56333         __clock_gettime.  Add weak_alias and libc_hidden_def.
56334         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
56335         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
56336         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
56337         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
56338         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
56339         Likewise.
56340         * rt/clock_settime.c (clock_settime): Rename to
56341         __clock_settime.  Add weak_alias and libc_hidden_def.
56342         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
56344 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
56346         * mach/err_boot.sub: Remove trailing whitespace.
56347         * mach/err_ipc.sub: Likewise.
56348         * mach/err_mach.sub: Likewise.
56350         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
56351         (ROUNDING_TESTS_double): Likewise.
56352         (ROUNDING_TESTS_long_double): Likewise.
56353         (ROUNDING_TESTS): Likewise.
56354         * math/libm-test.inc: Include <math-tests.h>.
56355         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
56356         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56357         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56358         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56360 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56362         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
56363         of assigning.
56365 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
56367         * sysdeps/gnu/errlist.awk: Do not generate space at end of
56368         otherwise empty TRANS lines.
56369         * sysdeps/gnu/errlist.c: Regenerated.
56371         * catgets/gencat.c (error_print): Use (void) in function
56372         definition.
56373         * crypt/crypt_util.c (__init_des): Likewise.
56374         * crypt/speeds.c (Stop): Likewise.
56375         (main): Likewise.
56376         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
56377         * inet/ruserpass.c (token): Likewise.
56378         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
56379         * intl/localealias.c (extend_alias_table): Likewise.
56380         * intl/plural-exp.c (init_germanic_plural): Likewise.
56381         * libio/fcloseall.c (__fcloseall): Likewise.
56382         * libio/genops.c (_IO_flush_all): Likewise.
56383         (_IO_flush_all_linebuffered): Likewise.
56384         (_IO_cleanup): Likewise.
56385         (_IO_iter_begin): Likewise.
56386         (_IO_iter_end): Likewise.
56387         (_IO_list_lock): Likewise.
56388         (_IO_list_unlock): Likewise.
56389         (_IO_list_resetlock): Likewise.
56390         * libio/getchar.c (getchar): Likewise.
56391         * libio/getchar_u.c (getchar_unlocked): Likewise.
56392         * libio/getwchar.c (getwchar): Likewise.
56393         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
56394         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
56395         * login/getpt.c (__getpt): Likewise.
56396         * login/tst-utmp.c (main): Likewise.
56397         * malloc/hooks.c (__malloc_check_init): Likewise.
56398         * malloc/malloc.c (__malloc_stats): Likewise.
56399         * malloc/mtrace.c (tr_break): Likewise.
56400         (mtrace): Likewise.
56401         (muntrace): Likewise.
56402         * misc/fstab.c (endfsent): Likewise.
56403         * misc/getclktck.c (__getclktck): Likewise.
56404         * misc/getdtsz.c (__getdtablesize): Likewise.
56405         * misc/gethostid.c (gethostid): Likewise.
56406         * misc/getpagesize.c (__getpagesize): Likewise.
56407         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
56408         (__get_nprocs): Likewise.
56409         (__get_phys_pages): Likewise.
56410         (__get_avphys_pages): Likewise.
56411         * misc/getttyent.c (getttyent): Likewise.
56412         (setttyent): Likewise.
56413         (endttyent): Likewise.
56414         * misc/getusershell.c (getusershell): Likewise.
56415         (endusershell): Likewise.
56416         (setusershell): Likewise.
56417         (initshells): Likewise.
56418         * misc/hsearch.c (__hdestroy): Likewise.
56419         * misc/sync.c (sync): Likewise.
56420         * misc/syslog.c (closelog_internal): Likewise.
56421         (closelog): Likewise.
56422         * misc/ttyslot.c (ttyslot): Likewise.
56423         * misc/vhangup.c (vhangup): Likewise.
56424         * posix/fork.c (__fork): Likewise.
56425         * posix/getegid.c (__getegid): Likewise.
56426         * posix/geteuid.c (__geteuid): Likewise.
56427         * posix/getgid.c (__getgid): Likewise.
56428         * posix/getpid.c (__getpid): Likewise.
56429         * posix/getppid.c (__getppid): Likewise.
56430         * posix/getuid.c (__getuid): Likewise.
56431         * posix/pause.c (pause): Likewise.
56432         * posix/setpgrp.c (setpgrp): Likewise.
56433         * posix/setsid.c (__setsid): Likewise.
56434         * posix/test-vfork.c (noop): Likewise.
56435         * resolv/gethnamaddr.c (_endhtent): Likewise.
56436         (_gethtent): Likewise.
56437         (ht_endhostent): Likewise.
56438         (gethostent): Likewise.
56439         (dns_service): Likewise.
56440         * stdlib/drand48.c (drand48): Likewise.
56441         * stdlib/lrand48.c (lrand48): Likewise.
56442         * stdlib/mrand48.c (mrand48): Likewise.
56443         * stdlib/rand.c (rand): Likewise.
56444         * stdlib/random.c (__random): Likewise.
56445         * stdlib/setenv.c (clearenv): Likewise.
56446         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
56447         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
56448         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
56449         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
56450         (__get_nprocs): Likewise.
56451         (__get_phys_pages): Likewise.
56452         (__get_avphys_pages): Likewise.
56453         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
56454         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
56455         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
56456         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
56457         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
56458         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
56459         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
56460         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
56461         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
56462         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
56463         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
56464         * sysdeps/mach/hurd/sync.c (sync): Likewise.
56465         * sysdeps/posix/clock.c (clock): Likewise.
56466         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
56467         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
56468         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
56469         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
56470         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
56471         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
56472         (__get_nprocs_conf): Likewise.
56473         (__get_phys_pages): Likewise.
56474         (__get_avphys_pages): Likewise.
56475         * time/clock.c (clock): Likewise.
56476         * time/tzset.c (__tzname_max): Likewise.
56478 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
56480         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
56481         (__bswap_32): Do not use "register".
56482         * crypt/crypt.c (_ufc_doit_r): Likewise.
56483         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56484         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56485         * gmon/gmon.c (__monstartup): Likewise.
56486         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
56487         * hurd/hurdmalloc.c (more_memory): Likewise.
56488         (malloc): Likewise.
56489         (free): Likewise.
56490         (realloc): Likewise.
56491         (malloc_fork_prepare): Likewise.
56492         (malloc_fork_parent): Likewise.
56493         (malloc_fork_child): Likewise.
56494         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
56495         (_svcauth_des): Likewise.
56496         * inet/inet_lnaof.c (inet_lnaof): Likewise.
56497         * inet/inet_net.c (inet_network): Likewise.
56498         * inet/inet_netof.c (inet_netof): Likewise.
56499         * inet/rcmd.c (__validuser2_sa): Likewise.
56500         * io/fts.c (fts_open): Likewise.
56501         (fts_load): Likewise.
56502         (fts_close): Likewise.
56503         (fts_read): Likewise.
56504         (fts_children): Likewise.
56505         (fts_build): Likewise.
56506         (fts_stat): Likewise.
56507         (fts_sort): Likewise.
56508         (fts_alloc): Likewise.
56509         (fts_lfree): Likewise.
56510         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
56511         (_IO_file_xsgetn): Likewise.
56512         (_IO_file_xsgetn_mmap): Likewise.
56513         * libio/iofopncook.c (_IO_cookie_read): Likewise.
56514         (_IO_cookie_write): Likewise.
56515         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
56516         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
56517         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
56518         * malloc/obstack.c (_obstack_begin): Likewise.
56519         (_obstack_begin_1): Likewise.
56520         (_obstack_newchunk): Likewise.
56521         (_obstack_allocated_p): Likewise.
56522         (obstack_free): Likewise.
56523         (_obstack_memory_used): Likewise.
56524         * misc/getttyent.c (getttynam): Likewise.
56525         (getttyent): Likewise.
56526         (skip): Likewise.
56527         (value): Likewise.
56528         * misc/getusershell.c (initshells): Likewise.
56529         * misc/syslog.c (__vsyslog_chk): Likewise.
56530         * misc/ttyslot.c (ttyslot): Likewise.
56531         * nis/nis_hash.c (__nis_hash): Likewise.
56532         * posix/fnmatch_loop.c (FCT): Likewise.
56533         * posix/getconf.c (print_all): Likewise.
56534         (main): Likewise.
56535         * posix/getopt.c (exchange): Likewise.
56536         * posix/glob.c (globfree): Likewise.
56537         (prefix_array): Likewise.
56538         (__glob_pattern_type): Likewise.
56539         * resolv/arpa/nameser.h (NS_GET16): Likewise.
56540         (NS_GET32): Likewise.
56541         (NS_PUT16): Likewise.
56542         (NS_PUT32): Likewise.
56543         * resolv/gethnamaddr.c (getanswer): Likewise.
56544         (gethostbyname2): Likewise.
56545         (gethostbyaddr): Likewise.
56546         (_gethtent): Likewise.
56547         (_gethtbyname2): Likewise.
56548         (_gethtbyaddr): Likewise.
56549         * resolv/ns_print.c (dst_s_get_int16): Likewise.
56550         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
56551         * resolv/res_init.c (__res_vinit): Likewise.
56552         (net_mask): Likewise.
56553         * resolv/res_mkquery.c (outchar): Likewise.
56554         (PRINT): Likewise.
56555         * stdio-common/printf_fp.c (outchar): Likewise.
56556         (PRINT): Likewise.
56557         * stdio-common/printf_fphex.c (outchar): Likewise.
56558         (PRINT): Likewise.
56559         * stdio-common/printf_size.c (outchar): Likewise.
56560         (PRINT): Likewise.
56561         * stdio-common/test_rdwr.c (main): Likewise.
56562         * stdio-common/tfformat.c (matches): Likewise.
56563         * stdio-common/vfprintf.c (outchar): Likewise.
56564         (printf_unknown): Likewise.
56565         (buffered_vfprintf): Likewise.
56566         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56567         * stdio-common/xbug.c (AppendToBuffer): Likewise.
56568         (ReadFile): Likewise.
56569         * stdlib/qsort.c (SWAP): Likewise.
56570         (_quicksort): Likewise.
56571         * stdlib/setenv.c (__add_to_environ): Likewise.
56572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56573         * stdlib/strtol_l.c (__strtol_l): Likewise.
56574         * stdlib/tst-strtod.c (main): Likewise.
56575         * stdlib/tst-strtol.c (main): Likewise.
56576         * stdlib/tst-strtoll.c (main): Likewise.
56577         * string/bits/string2.h (__strcmp_cc): Likewise.
56578         (__strcmp_cg): Likewise.
56579         (__strcspn_c1): Likewise.
56580         (__strcspn_c2): Likewise.
56581         (__strcspn_c3): Likewise.
56582         (__strspn_c1): Likewise.
56583         (__strspn_c2): Likewise.
56584         (__strspn_c3): Likewise.
56585         (__strsep_1c): Likewise.
56586         (__strsep_2c): Likewise.
56587         (__strsep_3c): Likewise.
56588         * string/memccpy.c (__memccpy): Likewise.
56589         * string/stpcpy.c (__stpcpy): Likewise.
56590         * string/strcmp.c (strcmp): Likewise.
56591         * string/strrchr.c (strrchr): Likewise.
56592         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
56593         Likewise.
56594         * sysdeps/mach/hurd/getcwd.c
56595         (_hurd_canonicalize_directory_name_internal): Likewise.
56596         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
56597         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
56598         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
56599         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
56600         Likewise, in both definitions.
56601         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
56602         definitions.
56603         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
56604         64] (__bswap_64): Likewise.
56605         * time/test_time.c (main): Likewise.
56606         * time/tzfile.c (__tzfile_read): Likewise.
56607         (__tzfile_compute): Likewise.
56608         * time/tzset.c (__tzset_parse_tz): Likewise.
56609         (tzset_internal): Likewise.
56610         (compute_change): Likewise.
56611         * wcsmbs/wcscat.c (__wcscat): Likewise.
56612         * wcsmbs/wcschr.c (wcschr): Likewise.
56613         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
56614         * wcsmbs/wcscspn.c (wcscspn): Likewise.
56615         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
56616         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
56617         * wcsmbs/wcsspn.c (wcsspn): Likewise.
56618         * wcsmbs/wcsstr.c (wcsstr): Likewise.
56619         * wcsmbs/wmemchr.c (wmemchr): Likewise.
56620         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56621         * wcsmbs/wmemset.c (wmemset): Likewise.
56623 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
56625         * scripts/config.guess: Update to version 2013-05-16.
56626         * scripts/config.sub: Update to version 2013-04-24.
56627         * scripts/install-sh: Update to version 2011-11-20.07.
56628         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
56629         * scripts/move-if-change: Update to version 2012-01-06 07:23.
56631 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
56633         * debug/fgetws_u_chk.c: Fix leading whitespaces.
56634         * elf/sln.c: Likewise.
56635         * hurd/hurd/ioctl.h: Likewise.
56636         * hurd/hurdmalloc.c: Likewise.
56637         * hurd/xattr.c: Likewise.
56638         * include/shlib-compat.h: Likewise.
56639         * inet/ruserpass.c: Likewise.
56640         * libio/iofgets_u.c: Likewise.
56641         * libio/iofgetws_u.c: Likewise.
56642         * locale/programs/ld-identification.c: Likewise.
56643         * locale/programs/ld-time.c: Likewise.
56644         * mach/msg-destroy.c: Likewise.
56645         * nss/nss_files/files-netgrp.c: Likewise.
56646         * resolv/res_data.c: Likewise.
56647         * soft-fp/op-1.h: Likewise.
56648         * soft-fp/op-2.h: Likewise.
56649         * soft-fp/op-4.h: Likewise.
56650         * soft-fp/op-common.h: Likewise.
56651         * stdio-common/printf_fphex.c: Likewise.
56652         * stdlib/strtod_l.c: Likewise.
56653         * sunrpc/rpc/clnt.h: Likewise.
56654         * sysdeps/generic/framestate.c: Likewise.
56655         * sysdeps/i386/bsd-_setjmp.S: Likewise.
56656         * sysdeps/i386/bsd-setjmp.S: Likewise.
56657         * sysdeps/i386/__longjmp.S: Likewise.
56658         * sysdeps/i386/setjmp.S: Likewise.
56659         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56660         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56661         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56662         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56663         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56664         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56665         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56666         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56667         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56668         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56669         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56670         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56671         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56672         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56673         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56675         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56676         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
56677         * sysdeps/ieee754/support.c: Likewise.
56678         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56679         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
56680         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
56681         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
56682         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
56683         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
56684         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
56685         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
56686         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
56687         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
56688         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
56689         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
56690         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
56691         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
56692         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
56693         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
56694         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
56697 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
56699         * posix/transbug.c: Remove executable mode.
56701 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
56703         * crypt/speeds.c: Remove trailing whitespace.
56704         * dlfcn/default.c: Likewise.
56705         * elf/ifuncdep2.c: Likewise.
56706         * elf/ifuncmain1.c: Likewise.
56707         * elf/ifuncmain1vis.c: Likewise.
56708         * elf/testobj.h: Likewise.
56709         * elf/tst-stackguard1.c: Likewise.
56710         * gmon/sys/gmon.h: Likewise.
56711         * hurd/hurdmsg.c: Likewise.
56712         * hurd/new-fd.c: Likewise.
56713         * hurd/ports-get.c: Likewise.
56714         * iconvdata/ibm1008_420.c: Likewise.
56715         * inet/tst-getni1.c: Likewise.
56716         * inet/tst-getni2.c: Likewise.
56717         * libio/ioungetc.c: Likewise.
56718         * libio/wfiledoalloc.c: Likewise.
56719         * manual/libm-err-tab.pl: Likewise.
56720         * math/w_dremf.c: Likewise.
56721         * misc/ftruncate.c: Likewise.
56722         * posix/bug-glob2.c: Likewise.
56723         * posix/tst-pcre.c: Likewise.
56724         * posix/wait4.c: Likewise.
56725         * resolv/README: Likewise.
56726         * resolv/res_debug.h: Likewise.
56727         * resolv/tst-inet_ntop.c: Likewise.
56728         * setjmp/bug269-setjmp.c: Likewise.
56729         * soft-fp/extended.h: Likewise.
56730         * soft-fp/op-1.h: Likewise.
56731         * soft-fp/op-2.h: Likewise.
56732         * soft-fp/op-4.h: Likewise.
56733         * soft-fp/op-8.h: Likewise.
56734         * soft-fp/testit.c: Likewise.
56735         * stdio-common/bug16.c: Likewise.
56736         * stdlib/random.c: Likewise.
56737         * sunrpc/rpcsvc/rquota.x: Likewise.
56738         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
56739         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56740         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56741         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56742         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56743         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56744         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56745         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56746         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56747         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56748         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56749         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
56750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56751         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56752         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56753         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56754         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56756         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56757         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56758         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56760         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
56761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56763         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56764         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56767         * sysdeps/ieee754/s_lib_version.c: Likewise.
56768         * sysdeps/mach/hurd/check_fds.c: Likewise.
56769         * sysdeps/mach/hurd/getsockname.c: Likewise.
56770         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
56771         * sysdeps/mach/hurd/recvfrom.c: Likewise.
56772         * sysdeps/powerpc/bits/link.h: Likewise.
56773         * sysdeps/powerpc/dl-procinfo.c: Likewise.
56774         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
56775         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
56776         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
56777         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56778         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56779         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
56780         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56781         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
56782         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56783         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
56784         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56785         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
56786         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56787         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56788         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56789         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56790         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56792         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56793         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56794         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
56795         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56796         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56797         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
56798         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56799         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56800         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56801         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56802         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56803         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56804         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56806         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56807         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
56808         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56809         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
56810         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56811         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
56812         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
56813         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
56814         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
56815         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
56816         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
56817         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56818         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
56819         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
56820         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56821         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
56822         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
56823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56825         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56826         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56827         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
56828         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
56829         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
56830         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56831         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
56832         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
56833         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
56834         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
56835         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
56836         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56837         * sysdeps/powerpc/sysdep.h: Likewise.
56838         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56839         * sysdeps/s390/s390-64/sub_n.S: Likewise.
56840         * sysdeps/sh/dl-trampoline.S: Likewise.
56841         * sysdeps/sh/memset.S: Likewise.
56842         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
56843         * sysdeps/sh/strlen.S: Likewise.
56844         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
56845         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
56846         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
56847         * sysdeps/sparc/sparc32/rem.S: Likewise.
56848         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
56849         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
56850         * sysdeps/sparc/sparc32/strchr.S: Likewise.
56851         * sysdeps/sparc/sparc32/udiv.S: Likewise.
56852         * sysdeps/sparc/sparc32/urem.S: Likewise.
56853         * sysdeps/sparc/sparc64/add_n.S: Likewise.
56854         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
56855         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
56856         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
56857         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
56858         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
56859         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
56860         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
56861         * sysdeps/unix/bsd/times.c: Likewise.
56862         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
56863         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
56864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
56865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
56866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
56867         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
56868         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
56869         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
56870         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
56871         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
56872         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
56873         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56874         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
56875         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56876         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56877         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
56878         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56879         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
56880         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
56881         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
56882         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
56883         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
56884         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56885         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
56886         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
56887         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
56888         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
56889         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56890         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
56891         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
56892         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
56893         * sysdeps/x86_64/strcspn.S: Likewise.
56895 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56897         * locale/C-translit.h: Revert #include <stdint.h> because this is a
56898         generated file.  Regenerate properly from gen-translit.pl.
56899         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
56900         locale/C-translit.h.
56902 2013-06-05  Andreas Schwab  <schwab@suse.de>
56904         [BZ #15100]
56905         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
56906         week as 6 instead of -1.
56907         * time/tst-strptime.c (day_tests): Add test case.
56909 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56911         * sysdeps/generic/math_private.h
56912         (libc_feholdexcept_setround_53bit): Replace with
56913         libc_feholdsetround_53bit.
56914         (libc_feupdateenv_53bit): Replace with
56915         libc_feresetround_53bit.
56916         (SET_RESTORE_ROUND_53BIT): Adjust.
56918 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56920         * string/test-strchrnul.c: Add copyright header.
56922         * posix/tst-getaddrinfo4.c: Increase test timeout.
56924 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
56926         [BZ #15536]
56927         * math/libm-test.inc (MAX_EXP): Remove
56928         (MIN_EXP): Define.
56929         (ulp): Use MIN_EXP - MANT_DIG.
56930         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
56932 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
56934         * po/be.po: Revert last change.
56935         * po/zh_CN.po: Likewise.
56936         * po/header.pot: Likewise.
56938 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
56940         * Makefile ($(common-objpfx)linkobj/libc.so): Define
56941         link-libc-deps to empty as target-specific variable.
56942         * Makerules (link-libc-args): New variable.
56943         (libc-for-link): Likewise.
56944         (link-libc-deps): Likewise.
56945         (lib%.so): Depend on $(link-libc-deps).  Link with
56946         $(link-libc-args).
56947         (build-module): Link with $(link-libc-args).
56948         (build-module-asneeded): Likewise.
56949         (build-module-helper-objlist): Filter out $(link-libc-deps) from
56950         list of objects.
56951         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
56952         target-specific variable.
56953         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
56954         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
56955         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
56956         libc.
56957         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
56958         libc and ld.so.
56959         ($(objpfx)libpcprofile.so): Likewise.
56960         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
56961         libc_nonshared.a.
56962         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
56963         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
56964         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
56965         $(link-libc-deps).
56966         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
56967         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
56968         * login/Makefile ($(objpfx)libutil.so): Likewise.
56969         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
56970         * math/Makefile ($(objpfx)libm.so): Likewise.
56971         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
56972         $(objpfx)libnsl.so): Define libc-for-link as target-specific
56973         variable instead of depending directly on libc.
56974         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
56975         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
56976         $(link-libc-deps).
56977         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
56978         libc.
56979         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
56980         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
56981         ($(objpfx)libanl.so): Likewise.
56982         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
56983         ld.so.
56984         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
56985         $(link-libc-deps).
56986         * sysdeps/i386/fpu/Makefile: Remove file.
56987         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
56988         ($(objpfx)libm.so): Remove dependency on ld.so.
56990 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
56992         [BZ # 15553]
56993         * nis/yp_xdr.c (XDRMAXNAME): Define.
56994         (XDRMAXRECORD): Define.
56995         (xdr_domainname): Use XDRMAXNAME.
56996         (xdr_mapname): Likewise.
56997         (xdr_peername): Likewise.
56998         (xdr_keydat): Use XDRMAXRECORD.
56999         (xdr_valdat): Likewise.
57001 2013-05-30  Jeff Law  <law@redhat.com>
57003         [BZ #14256]
57004         * manual/errno.texi (ESTALE): Update to account for more than
57005         just NFS file systems.
57006         * sysdeps/gnu/errlist.c: Regenerated.
57008 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57010         [BZ #15465]
57011         * elf/Makefile (tests): Add tst-null-argv.
57012         (modules-names):  Add tst-null-argv-lib.
57013         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
57014         (tst-null-argv-ENV): Set environment for tst-null-argv.
57015         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
57016         (RTLD_PROGNAME): New macro.
57017         * elf/tst-null-argv.c: New test case.
57018         * elf/tst-null-argv-lib.c: Library for test case.
57019         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
57020         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
57021         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
57022         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
57023         * elf/dl-init.c (call_init): Likewise.
57024         (_dl_init): Likewise.
57025         * elf/dl-load.c (print_search_path): Likewise.
57026         (_dl_map_object): Likewise.
57027         * elf/dl-lookup.c (do_lookup_x): Likewise.
57028         (add_dependency): Likewise.
57029         (_dl_lookup_symbol_x): Likewise.
57030         (_dl_debug_bindings): Likewise.
57031         * elf/dl-open.c (_dl_show_scope): Likewise.
57032         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57033         * elf/dl-version.c (match_symbol): Likewise.
57034         (_dl_check_map_versions): Likewise.
57035         * elf/rtld.c (dl_main): Likewise.
57036         (print_unresolved): Use RTLD_PROGNAME.
57037         (print_missing_version): Likewise.
57038         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
57039         (elf_machine_rela): Likewise.
57040         * sysdeps/powerpc/powerpc32/dl-machine.c
57041         (__process_machine_rela): Likewise.
57042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57043         Likewise.
57044         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57045         Likewise.
57046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
57047         Likewise.
57048         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
57050         Likewise.
57051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
57052         Likewise.
57053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57055 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
57057         * po/be.po: Add descriptive title.
57058         * po/zh_CN.po: Likewise.
57059         * po/header.pot: Likewise.
57061 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
57063         * locale/programs/locarchive.c (create_archive): Inlucde fname in
57064         error message.
57065         (enlarge_archive): Likewise.
57067 2013-05-28  Ben North  <ben@redfrontdoor.org>
57069         * manual/arith.texi (frexp): It is the magnitude of the return
57070         value which lies in [0.5, 1), not the return value itself.
57072 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57076 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
57078         * stdio-common/bug26.c (main): Correct fscanf template.
57080         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
57081         declare _dl_skip_args.
57083         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
57084         Don't declare.
57086         * manual/platform.texi: Add missing @end deftypefun.
57088 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57090         [BZ #15529]
57091         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
57092         bit of mantissa of 2^16382.
57093         * math/libm-test.inc (hypot_test_data): Add more tests.
57095         * math/libm-test.inc: Add drem and pow10 to list of tested
57096         functions.
57097         (pow10_test): New function.
57098         (drem_test): Likewise.
57099         (drem_test_tonearest): Likewise.
57100         (drem_test_towardzero): Likewise.
57101         (drem_test_downward): Likewise.
57102         (drem_test_upward): Likewise.
57103         (main): Call the new functions.
57105         * math/libm-test.inc (finite_test_data): Remove.
57106         (finite_test): Run tests from isfinite_test_data.
57107         (gamma_test_data): Remove.
57108         (gamma_test): Run tests from lgamma_test_data.
57109         * sysdeps/i386/fpu/libm-test-ulps: Update.
57110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57112 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57114         * manual/platform.texi: Add PowerPC PPR function set documentation.
57115         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
57116         implementation.
57118 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
57120         * math/libm-test.inc (MAX_EXP): Define.
57121         (ULPDIFF): Define.
57122         (ulp): New function.
57123         (check_float_internal): Use ULPDIFF.
57124         (cpow_test): Disable failing test.
57125         (check_ulp): Test ulp() implementation.
57126         (main): Call check_ulp before starting tests.
57128 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
57130         * math/gen-libm-test.pl (generate_testfile): Do not handle
57131         START_DATA and END_DATA.
57132         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
57133         END_DATA.
57134         (acos_tonearest_test_data): Likewise.
57135         (acos_towardzero_test_data): Likewise.
57136         (acos_downward_test_data): Likewise.
57137         (acos_upward_test_data): Likewise.
57138         (acosh_test_data): Likewise.
57139         (asin_test_data): Likewise.
57140         (asin_tonearest_test_data): Likewise.
57141         (asin_towardzero_test_data): Likewise.
57142         (asin_downward_test_data): Likewise.
57143         (asin_upward_test_data): Likewise.
57144         (asinh_test_data): Likewise.
57145         (atan_test_data): Likewise.
57146         (atanh_test_data): Likewise.
57147         (atan2_test_data): Likewise.
57148         (cabs_test_data): Likewise.
57149         (cacos_test_data): Likewise.
57150         (cacosh_test_data): Likewise.
57151         (carg_test_data): Likewise.
57152         (casin_test_data): Likewise.
57153         (casinh_test_data): Likewise.
57154         (catan_test_data): Likewise.
57155         (catanh_test_data): Likewise.
57156         (cbrt_test_data): Likewise.
57157         (ccos_test_data): Likewise.
57158         (ccosh_test_data): Likewise.
57159         (ceil_test_data): Likewise.
57160         (cexp_test_data): Likewise.
57161         (cimag_test_data): Likewise.
57162         (clog_test_data): Likewise.
57163         (clog10_test_data): Likewise.
57164         (conj_test_data): Likewise.
57165         (copysign_test_data): Likewise.
57166         (cos_test_data): Likewise.
57167         (cos_tonearest_test_data): Likewise.
57168         (cos_towardzero_test_data): Likewise.
57169         (cos_downward_test_data): Likewise.
57170         (cos_upward_test_data): Likewise.
57171         (cosh_test_data): Likewise.
57172         (cosh_tonearest_test_data): Likewise.
57173         (cosh_towardzero_test_data): Likewise.
57174         (cosh_downward_test_data): Likewise.
57175         (cosh_upward_test_data): Likewise.
57176         (cpow_test_data): Likewise.
57177         (cproj_test_data): Likewise.
57178         (creal_test_data): Likewise.
57179         (csin_test_data): Likewise.
57180         (csinh_test_data): Likewise.
57181         (csqrt_test_data): Likewise.
57182         (ctan_test_data): Likewise.
57183         (ctan_tonearest_test_data): Likewise.
57184         (ctan_towardzero_test_data): Likewise.
57185         (ctan_downward_test_data): Likewise.
57186         (ctan_upward_test_data): Likewise.
57187         (ctanh_test_data): Likewise.
57188         (ctanh_tonearest_test_data): Likewise.
57189         (ctanh_towardzero_test_data): Likewise.
57190         (ctanh_downward_test_data): Likewise.
57191         (ctanh_upward_test_data): Likewise.
57192         (erf_test_data): Likewise.
57193         (erfc_test_data): Likewise.
57194         (exp_test_data): Likewise.
57195         (exp_tonearest_test_data): Likewise.
57196         (exp_towardzero_test_data): Likewise.
57197         (exp_downward_test_data): Likewise.
57198         (exp_upward_test_data): Likewise.
57199         (exp10_test_data): Likewise.
57200         (exp2_test_data): Likewise.
57201         (expm1_test_data): Likewise.
57202         (fabs_test_data): Likewise.
57203         (fdim_test_data): Likewise.
57204         (finite_test_data): Likewise.
57205         (floor_test_data): Likewise.
57206         (fma_test_data): Likewise.
57207         (fma_towardzero_test_data): Likewise.
57208         (fma_downward_test_data): Likewise.
57209         (fma_upward_test_data): Likewise.
57210         (fmax_test_data): Likewise.
57211         (fmin_test_data): Likewise.
57212         (fmod_test_data): Likewise.
57213         (fpclassify_test_data): Likewise.
57214         (frexp_test_data): Likewise.
57215         (gamma_test_data): Likewise.
57216         (hypot_test_data): Likewise.
57217         (ilogb_test_data): Likewise.
57218         (isfinite_test_data): Likewise.
57219         (isgreater_test_data): Likewise.
57220         (isgreaterequal_test_data): Likewise.
57221         (isinf_test_data): Likewise.
57222         (isless_test_data): Likewise.
57223         (islessequal_test_data): Likewise.
57224         (islessgreater_test_data): Likewise.
57225         (isnan_test_data): Likewise.
57226         (isnormal_test_data): Likewise.
57227         (issignaling_test_data): Likewise.
57228         (isunordered_test_data): Likewise.
57229         (j0_test_data): Likewise.
57230         (j1_test_data): Likewise.
57231         (jn_test_data): Likewise.
57232         (ldexp_test_data): Likewise.
57233         (lgamma_test_data): Likewise.
57234         (lrint_test_data): Likewise.
57235         (lrint_tonearest_test_data): Likewise.
57236         (lrint_towardzero_test_data): Likewise.
57237         (lrint_downward_test_data): Likewise.
57238         (lrint_upward_test_data): Likewise.
57239         (llrint_test_data): Likewise.
57240         (llrint_tonearest_test_data): Likewise.
57241         (llrint_towardzero_test_data): Likewise.
57242         (llrint_downward_test_data): Likewise.
57243         (llrint_upward_test_data): Likewise.
57244         (log_test_data): Likewise.
57245         (log10_test_data): Likewise.
57246         (log1p_test_data): Likewise.
57247         (log2_test_data): Likewise.
57248         (logb_test_data): Likewise.
57249         (logb_downward_test_data): Likewise.
57250         (lround_test_data): Likewise.
57251         (llround_test_data): Likewise.
57252         (modf_test_data): Likewise.
57253         (nearbyint_test_data): Likewise.
57254         (nextafter_test_data): Likewise.
57255         (nexttoward_test_data): Likewise.
57256         (pow_test_data): Likewise.
57257         (pow_tonearest_test_data): Likewise.
57258         (pow_towardzero_test_data): Likewise.
57259         (pow_downward_test_data): Likewise.
57260         (pow_upward_test_data): Likewise.
57261         (remainder_test_data): Likewise.
57262         (remainder_tonearest_test_data): Likewise.
57263         (remainder_towardzero_test_data): Likewise.
57264         (remainder_downward_test_data): Likewise.
57265         (remainder_upward_test_data): Likewise.
57266         (remquo_test_data): Likewise.
57267         (rint_test_data): Likewise.
57268         (rint_tonearest_test_data): Likewise.
57269         (rint_towardzero_test_data): Likewise.
57270         (rint_downward_test_data): Likewise.
57271         (rint_upward_test_data): Likewise.
57272         (round_test_data): Likewise.
57273         (scalb_test_data): Likewise.
57274         (scalbn_test_data): Likewise.
57275         (scalbln_test_data): Likewise.
57276         (signbit_test_data): Likewise.
57277         (sin_test_data): Likewise.
57278         (sin_tonearest_test_data): Likewise.
57279         (sin_towardzero_test_data): Likewise.
57280         (sin_downward_test_data): Likewise.
57281         (sin_upward_test_data): Likewise.
57282         (sincos_test_data): Likewise.
57283         (sinh_test_data): Likewise.
57284         (sinh_tonearest_test_data): Likewise.
57285         (sinh_towardzero_test_data): Likewise.
57286         (sinh_downward_test_data): Likewise.
57287         (sinh_upward_test_data): Likewise.
57288         (sqrt_test_data): Likewise.
57289         (tan_test_data): Likewise.
57290         (tan_tonearest_test_data): Likewise.
57291         (tan_towardzero_test_data): Likewise.
57292         (tan_downward_test_data): Likewise.
57293         (tan_upward_test_data): Likewise.
57294         (tanh_test_data): Likewise.
57295         (tgamma_test_data): Likewise.
57296         (trunc_test_data): Likewise.
57297         (y0_test_data): Likewise.
57298         (y1_test_data): Likewise.
57299         (yn_test_data): Likewise.
57300         (significand_test_data): Likewise.
57302         * math/gen-libm-test.pl (@functions): Remove variable.
57303         (generate_testfile): Don't handle START and END lines.
57304         * math/libm-test.inc (START): New macro.
57305         (END): Likewise.
57306         (END_COMPLEX): Likewise.
57307         (acos_test): Use END macro without arguments.
57308         (acos_test_tonearest): Likewise.
57309         (acos_test_towardzero): Likewise.
57310         (acos_test_downward): Likewise.
57311         (acos_test_upward): Likewise.
57312         (acosh_test): Likewise.
57313         (asin_test): Likewise.
57314         (asin_test_tonearest): Likewise.
57315         (asin_test_towardzero): Likewise.
57316         (asin_test_downward): Likewise.
57317         (asin_test_upward): Likewise.
57318         (asinh_test): Likewise.
57319         (atan_test): Likewise.
57320         (atanh_test): Likewise.
57321         (atan2_test): Likewise.
57322         (cabs_test): Likewise.
57323         (cacos_test): Use END_COMPLEX macro without arguments.
57324         (cacosh_test): Likewise.
57325         (carg_test): Use END macro without arguments.
57326         (casin_test): Use END_COMPLEX macro without arguments.
57327         (casinh_test): Likewise.
57328         (catan_test): Likewise.
57329         (catanh_test): Likewise.
57330         (cbrt_test): Use END macro without arguments.
57331         (ccos_test): Use END_COMPLEX macro without arguments.
57332         (ccosh_test): Likewise.
57333         (ceil_test): Use END macro without arguments.
57334         (cexp_test): Use END_COMPLEX macro without arguments.
57335         (cimag_test): Use END macro without arguments.
57336         (clog_test): Use END_COMPLEX macro without arguments.
57337         (clog10_test): Likewise.
57338         (conj_test): Likewise.
57339         (copysign_test): Use END macro without arguments.
57340         (cos_test): Likewise.
57341         (cos_test_tonearest): Likewise.
57342         (cos_test_towardzero): Likewise.
57343         (cos_test_downward): Likewise.
57344         (cos_test_upward): Likewise.
57345         (cosh_test): Likewise.
57346         (cosh_test_tonearest): Likewise.
57347         (cosh_test_towardzero): Likewise.
57348         (cosh_test_downward): Likewise.
57349         (cosh_test_upward): Likewise.
57350         (cpow_test): Use END_COMPLEX macro without arguments.
57351         (cproj_test): Likewise.
57352         (creal_test): Use END macro without arguments.
57353         (csin_test): Use END_COMPLEX macro without arguments.
57354         (csinh_test): Likewise.
57355         (csqrt_test): Likewise.
57356         (ctan_test): Likewise.
57357         (ctan_test_tonearest): Likewise.
57358         (ctan_test_towardzero): Likewise.
57359         (ctan_test_downward): Likewise.
57360         (ctan_test_upward): Likewise.
57361         (ctanh_test): Likewise.
57362         (ctanh_test_tonearest): Likewise.
57363         (ctanh_test_towardzero): Likewise.
57364         (ctanh_test_downward): Likewise.
57365         (ctanh_test_upward): Likewise.
57366         (erf_test): Use END macro without arguments.
57367         (erfc_test): Likewise.
57368         (exp_test): Likewise.
57369         (exp_test_tonearest): Likewise.
57370         (exp_test_towardzero): Likewise.
57371         (exp_test_downward): Likewise.
57372         (exp_test_upward): Likewise.
57373         (exp10_test): Likewise.
57374         (exp2_test): Likewise.
57375         (expm1_test): Likewise.
57376         (fabs_test): Likewise.
57377         (fdim_test): Likewise.
57378         (finite_test): Likewise.
57379         (floor_test): Likewise.
57380         (fma_test): Likewise.
57381         (fma_test_towardzero): Likewise.
57382         (fma_test_downward): Likewise.
57383         (fma_test_upward): Likewise.
57384         (fmax_test): Likewise.
57385         (fmin_test): Likewise.
57386         (fmod_test): Likewise.
57387         (fpclassify_test): Likewise.
57388         (frexp_test): Likewise.
57389         (gamma_test): Likewise.
57390         (hypot_test): Likewise.
57391         (ilogb_test): Likewise.
57392         (isfinite_test): Likewise.
57393         (isgreater_test): Likewise.
57394         (isgreaterequal_test): Likewise.
57395         (isinf_test): Likewise.
57396         (isless_test): Likewise.
57397         (islessequal_test): Likewise.
57398         (islessgreater_test): Likewise.
57399         (isnan_test): Likewise.
57400         (isnormal_test): Likewise.
57401         (issignaling_test): Likewise.
57402         (isunordered_test): Likewise.
57403         (j0_test): Likewise.
57404         (j1_test): Likewise.
57405         (jn_test): Likewise.
57406         (ldexp_test): Likewise.
57407         (lgamma_test): Likewise.
57408         (lrint_test): Likewise.
57409         (lrint_test_tonearest): Likewise.
57410         (lrint_test_towardzero): Likewise.
57411         (lrint_test_downward): Likewise.
57412         (lrint_test_upward): Likewise.
57413         (llrint_test): Likewise.
57414         (llrint_test_tonearest): Likewise.
57415         (llrint_test_towardzero): Likewise.
57416         (llrint_test_downward): Likewise.
57417         (llrint_test_upward): Likewise.
57418         (log_test): Likewise.
57419         (log10_test): Likewise.
57420         (log1p_test): Likewise.
57421         (log2_test): Likewise.
57422         (logb_test): Likewise.
57423         (logb_test_downward): Likewise.
57424         (lround_test): Likewise.
57425         (llround_test): Likewise.
57426         (modf_test): Likewise.
57427         (nearbyint_test): Likewise.
57428         (nextafter_test): Likewise.
57429         (nexttoward_test): Likewise.
57430         (pow_test): Likewise.
57431         (pow_test_tonearest): Likewise.
57432         (pow_test_towardzero): Likewise.
57433         (pow_test_downward): Likewise.
57434         (pow_test_upward): Likewise.
57435         (remainder_test): Likewise.
57436         (remainder_test_tonearest): Likewise.
57437         (remainder_test_towardzero): Likewise.
57438         (remainder_test_downward): Likewise.
57439         (remainder_test_upward): Likewise.
57440         (remquo_test): Likewise.
57441         (rint_test): Likewise.
57442         (rint_test_tonearest): Likewise.
57443         (rint_test_towardzero): Likewise.
57444         (rint_test_downward): Likewise.
57445         (rint_test_upward): Likewise.
57446         (round_test): Likewise.
57447         (scalb_test): Likewise.
57448         (scalbn_test): Likewise.
57449         (scalbln_test): Likewise.
57450         (signbit_test): Likewise.
57451         (sin_test): Likewise.
57452         (sin_test_tonearest): Likewise.
57453         (sin_test_towardzero): Likewise.
57454         (sin_test_downward): Likewise.
57455         (sin_test_upward): Likewise.
57456         (sincos_test): Likewise.
57457         (sinh_test): Likewise.
57458         (sinh_test_tonearest): Likewise.
57459         (sinh_test_towardzero): Likewise.
57460         (sinh_test_downward): Likewise.
57461         (sinh_test_upward): Likewise.
57462         (sqrt_test): Likewise.
57463         (tan_test): Likewise.
57464         (tan_test_tonearest): Likewise.
57465         (tan_test_towardzero): Likewise.
57466         (tan_test_downward): Likewise.
57467         (tan_test_upward): Likewise.
57468         (tanh_test): Likewise.
57469         (tgamma_test): Likewise.
57470         (trunc_test): Likewise.
57471         (y0_test): Likewise.
57472         (y1_test): Likewise.
57473         (yn_test): Likewise.
57474         (significand_test): Likewise.
57476 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
57478         [BZ #15381]
57479         * libio/genops.c (_IO_no_init): Initialize wide struct info.
57481 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57483         [BZ #14894]
57484         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
57485         __ppc_mdoio and __ppc_mdoom.
57486         * manual/platform.texi: Document new functions __ppc_yield,
57487         __ppc_mdoio and __ppc_mdoom.
57489 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
57491         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
57492         (main): Mention "tls" pseudo-hwcap is legacy.
57493         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
57495 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57497         * math/gen-libm-test.pl (parse_args): Output only string of
57498         arguments as text for test name, not full call or descriptions of
57499         tests for extra outputs.
57500         (generate_testfile): Do not pass function name to parse_args.
57501         Generate this_func variable from START.
57502         * math/libm-test.inc (struct test_f_f_data): Rename test_name
57503         field to arg_str.
57504         (struct test_ff_f_data): Likewise.
57505         (test_ff_f_data_nexttoward): Likewise.
57506         (struct test_fi_f_data): Likewise.
57507         (struct test_fl_f_data): Likewise.
57508         (struct test_if_f_data): Likewise.
57509         (struct test_fff_f_data): Likewise.
57510         (struct test_c_f_data): Likewise.
57511         (struct test_f_f1_data): Likewise.  Remove field extra_name.
57512         (struct test_fF_f1_data): Likewise.
57513         (struct test_ffI_f1_data): Likewise.
57514         (struct test_c_c_data): Rename test_name field to arg_str.
57515         (struct test_cc_c_data): Likewise.
57516         (struct test_f_i_data): Likewise.
57517         (struct test_ff_i_data): Likewise.
57518         (struct test_f_l_data): Likewise.
57519         (struct test_f_L_data): Likewise.
57520         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
57521         and extra2_name.
57522         (COMMON_TEST_SETUP): New macro.
57523         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
57524         (COMMON_TEST_CLEANUP): Likewise.
57525         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
57526         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
57527         macros.
57528         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
57529         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
57530         macros.
57531         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
57532         (RUN_TEST_fff_f): Take argument string.  Call new setup and
57533         cleanup macros.
57534         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
57535         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
57536         macros.
57537         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
57538         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
57539         macros.
57540         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57541         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
57542         cleanup macros.
57543         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57544         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
57545         cleanup macros.
57546         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57547         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
57548         cleanup macros.
57549         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57550         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
57551         macros.
57552         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
57553         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
57554         macros.
57555         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
57556         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
57557         macros.
57558         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
57559         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
57560         cleanup macros.
57561         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
57562         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
57563         cleanup macros.
57564         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
57565         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
57566         macros.
57567         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
57568         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
57569         cleanup macros.
57570         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
57571         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
57572         macros.
57573         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
57574         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
57575         macros.
57576         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
57577         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
57578         cleanup macros.
57579         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
57581 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
57583         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
57584         to _sifields.sigfault.
57585         (si_addr_lsb): Define new macro.
57586         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57587         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57588         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
57590 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
57592         [BZ #15441]
57593         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
57594         returns -1.
57595         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
57596         null return -1.
57597         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
57598         loading the domain.
57600 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
57602         * math/gen-libm-test.pl (parse_args): Do not include expected
57603         result in test name.
57604         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
57605         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57606         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57607         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57608         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57611 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57613         * benchtests/Makefile: Sort function entries.
57615         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
57616         tanh, asinh, acosh, atanh.
57617         * benchtests/acos-inputs: New file.
57618         * benchtests/acosh-inputs: New file.
57619         * benchtests/asin-inputs: New file.
57620         * benchtests/asinh-inputs: New file.
57621         * benchtests/atanh-inputs: New file.
57622         * benchtests/cosh-inputs: New file.
57623         * benchtests/log-inputs: New file.
57624         * benchtests/sinh-inputs: New file.
57625         * benchtests/tanh-inputs: New file.
57627 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
57629         [BZ #15339]
57630         * posix/tst-getaddrinfo4.c: New test.
57631         * posix/Makefile (tests): Add it.
57633 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57635         [BZ #15339]
57636         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
57637         when no services were used.
57638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
57639         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
57641 2013-05-21  Andreas Schwab  <schwab@suse.de>
57643         [BZ #15014]
57644         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
57645         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
57646         successful.
57647         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
57648         redundant variable declarations and reallocation of buffer when
57649         parsing as IPv6 address.  Always set NSS status when called from
57650         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
57651         buffer too small.  Correct computation of needed size.
57652         * nss/Makefile (tests): Add test-digits-dots.
57653         * nss/test-digits-dots.c: New test.
57655 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57657         * benchtests/Makefile: Remove instructions for adding
57658         benchmark tests.
57659         * benchtests/README: New file to explain how to execute and
57660         enhance the benchmark tests.
57662 2013-05-21  Andreas Schwab  <schwab@suse.de>
57664         [BZ #15493]
57665         * setjmp/Makefile (tests): Add tst-sigsetjmp.
57666         * setjmp/tst-sigsetjmp.c: New test.
57668 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57670         * sysdeps/x86_64/memset.S (memset): New implementation.
57671         (__bzero): Likewise.
57672         (__memset_tail): New function.
57674 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
57676         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
57677         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
57678         __memcpy_sse2_unaligned ifunc selection.
57679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57680         Add memcpy-sse2-unaligned.S.
57681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57682         Add: __memcpy_sse2_unaligned.
57684 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
57686         [BZ #15490]
57687         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57688         math_force_eval before restoring floating-point envrionment.
57689         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
57690         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
57691         Likewise.
57692         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
57693         <math_private.h>.
57694         (__nearbyintl): Use math_force_eval before restoring
57695         floating-point environment.
57696         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
57698         * math/gen-libm-test.pl (special_functions): Remove.
57699         (parse_args): Don't handle TEST_extra.  Handle functions with no
57700         return value.
57701         * math/libm-test.inc (struct test_sincos_data): Replace with
57702         struct test_fFF_11_data.
57703         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
57704         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
57705         (sincos_test_data): Change element type to struct
57706         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
57707         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
57708         RUN_TEST_LOOP_sincos.
57709         * math/README.libm-test: Don't mention special handling of
57710         individual functions.
57711         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
57712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57713         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
57714         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57715         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
57716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57718         * math/gen-libm-test.pl (get_variable): Remove function.
57719         (parse_args): Don't show pointer parameters to call in test
57720         names.  Use "extra output N" in test names for extra outputs
57721         rather than naming variables.
57723 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
57725         [BZ #15488]
57726         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
57727         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
57728         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
57729         double tests.
57730         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
57731         disable.
57732         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
57733         check_long_double.
57735         * math/gen-libm-test.pl (@tests): Remove variable.
57736         ($count): Likewise.
57737         (new_test): Remove function.
57738         (show_exceptions): New function.
57739         (special_functions): Use show_exceptions instead of new_test.
57740         (parse_args): Likewise.
57741         (generate_testfile): Pass only function name in generated call to
57742         print_max_error or print_complex_max_error.
57743         (get_ulps): Do not handle complex tests specially.
57744         (output_test): Rename to ...
57745         (get_all_ulps_for_test): ... this.  Return a string rather than
57746         printing to a file.  Require ulps to be present.
57747         (output_ulps): Generate arrays rather than #defines.
57748         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
57749         (struct ulp_data): New type.
57750         (BUILD_COMPLEX_ULP): Remove macro.
57751         (compare_ulp_data): New function.
57752         (find_ulps): Likewise.
57753         (find_test_ulps): Likewise.
57754         (find_function_ulps): Likewise.
57755         (find_complex_function_ulps): Likewise.
57756         (print_max_error): Determine allowed ulps using
57757         find_function_ulps.
57758         (print_complex_max_error): Determine allowed ulps using
57759         find_complex_function_ulps.
57760         (check_float_internal): Determine max ulps using find_test_ulps.
57761         (check_float): Do not take max_ulp parameter.  Update call to
57762         check_float_internal.
57763         (check_complex): Likewise.
57764         (check_int): Do not take max_ulp parameter.
57765         (check_long): Likewise.
57766         (check_bool): Likewise.
57767         (check_longlong): Likewise.
57768         (struct test_f_f_data): Remove max_ulp field.
57769         (struct test_ff_f_data): Likewise.
57770         (struct test_ff_f_data_nexttoward): Likewise.
57771         (struct test_fi_f_data): Likewise.
57772         (struct test_fl_f_data): Likewise.
57773         (struct test_if_f_data): Likewise.
57774         (struct test_fff_f_data): Likewise.
57775         (struct test_c_f_data): Likewise.
57776         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
57777         (struct test_fF_f1_data): Likewise.
57778         (struct test_ffI_f1_data): Likewise.
57779         (struct test_c_c_data): Remove max_ulp field.
57780         (struct test_cc_c_data): Likewise.
57781         (struct test_f_i_data): Likewise.
57782         (struct test_ff_i_data): Likewise.
57783         (struct test_f_l_data): Likewise.
57784         (struct test_f_L_data): Likewise.
57785         (struct test_sincos_data): Likewise.
57786         (RUN_TEST_f_f): Do not handle ulps.
57787         (RUN_TEST_LOOP_f_f): Likewise.
57788         (RUN_TEST_2_f): Likewise.
57789         (RUN_TEST_LOOP_2_f): Likewise.
57790         (RUN_TEST_fff_f): Likewise.
57791         (RUN_TEST_LOOP_fff_f): Likewise.
57792         (RUN_TEST_c_f): Likewise.
57793         (RUN_TEST_LOOP_c_f): Likewise.
57794         (RUN_TEST_f_f1): Likewise.
57795         (RUN_TEST_LOOP_f_f1): Likewise.
57796         (RUN_TEST_fF_f1): Likewise.
57797         (RUN_TEST_LOOP_fF_f1): Likewise.
57798         (RUN_TEST_fI_f1): Likewise.
57799         (RUN_TEST_LOOP_fI_f1): Likewise.
57800         (RUN_TEST_ffI_f1): Likewise.
57801         (RUN_TEST_LOOP_ffI_f1): Likewise.
57802         (RUN_TEST_c_c): Likewise.
57803         (RUN_TEST_LOOP_c_c): Likewise.
57804         (RUN_TEST_cc_c): Likewise.
57805         (RUN_TEST_LOOP_cc_c): Likewise.
57806         (RUN_TEST_f_i): Likewise.
57807         (RUN_TEST_LOOP_f_i): Likewise.
57808         (RUN_TEST_f_i_tg): Likewise.
57809         (RUN_TEST_LOOP_f_i_tg): Likewise.
57810         (RUN_TEST_ff_i_tg): Likewise.
57811         (RUN_TEST_LOOP_ff_i_tg): Likewise.
57812         (RUN_TEST_f_b): Likewise.
57813         (RUN_TEST_LOOP_f_b): Likewise.
57814         (RUN_TEST_f_b_tg): Likewise.
57815         (RUN_TEST_LOOP_f_b_tg): Likewise.
57816         (RUN_TEST_f_l): Likewise.
57817         (RUN_TEST_LOOP_f_l): Likewise.
57818         (RUN_TEST_f_L): Likewise.
57819         (RUN_TEST_LOOP_f_L): Likewise.
57820         (RUN_TEST_sincos): Likewise.
57821         (RUN_TEST_LOOP_sincos): Likewise.
57823 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
57825         [BZ #15480]
57826         [BZ #15485]
57827         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
57828         main case of finite arguments, set rounding mode to FE_TONEAREST
57829         and discard exceptions.
57830         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
57831         exceptions.
57832         (remainder_tonearest_test_data): New variable.
57833         (remainder_test_tonearest): New function.
57834         (remainder_towardzero_test_data): New variable.
57835         (remainder_test_towardzero): New function.
57836         (remainder_downward_test_data): New variable.
57837         (remainder_test_downward): New function.
57838         (remainder_upward_test_data): New variable.
57839         (remainder_test_upward): New function.
57840         (main): Call the new test functions.
57842         * math/libm-test.inc (struct test_f_f1_data): Remove field
57843         extra_init.
57844         (struct test_fF_f1_data): Likewise.
57845         (struct test_ffI_f1_data): Likewise.
57846         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
57847         based on value of EXTRA_EXPECTED.
57848         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
57849         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
57850         EXTRA_VAR based on value of EXTRA_EXPECTED.
57851         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
57852         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
57853         EXTRA_VAR based on value of EXTRA_EXPECTED.
57854         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
57855         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
57856         EXTRA_VAR based on value of EXTRA_EXPECTED.
57857         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
57858         * math/gen-libm-test.pl (parse_args): Don't output initializers
57859         for extra output values.
57861         * math/libm-test.inc (check_int): Expect result to be exactly
57862         equal to expected value and do not handle ulps.
57863         (check_long): Likewise.
57864         (check_longlong): Likewise.
57866         * math/libm-test.inc (ceil_test_data): Test for "inexact"
57867         exceptions.
57868         (cimag_test_data): Likewise.
57869         (conj_test_data): Likewise.
57870         (copysign_test_data): Likewise.
57871         (cproj_test_data): Likewise.
57872         (creal_test_data): Likewise.
57873         (fabs_test_data): Likewise.
57874         (fdim_test_data): Likewise.
57875         (finite_test_data): Likewise.
57876         (floor_test_data): Likewise.
57877         (fmax_test_data): Likewise.
57878         (fmin_test_data): Likewise.
57879         (fmod_test_data): Likewise.
57880         (fpclassify_test_data): Likewise.
57881         (frexp_test_data): Likewise.
57882         (ilogb_test_data): Likewise.
57883         (isfinite_test_data): Likewise.
57884         (isgreater_test_data): Likewise.
57885         (isgreaterequal_test_data): Likewise.
57886         (isinf_test_data): Likewise.
57887         (isless_test_data): Likewise.
57888         (islessequal_test_data): Likewise.
57889         (islessgreater_test_data): Likewise.
57890         (isnan_test_data): Likewise.
57891         (isnormal_test_data): Likewise.
57892         (issignaling_test_data): Likewise.
57893         (isunordered_test_data): Likewise.
57894         (ldexp_test_data): Likewise.
57895         (lrint_test_data): Likewise.
57896         (lrint_test_data) [TEST_FLOAT]: Disable one test.
57897         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
57898         (lrint_tonearest_test_data): Test for "inexact" exceptions.
57899         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57900         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
57901         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57902         test input.
57903         (lrint_towardzero_test_data): Test for "inexact" exceptions.
57904         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57905         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
57906         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
57907         that test input.
57908         (lrint_downward_test_data): Test for "inexact" exceptions.
57909         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57910         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
57911         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
57912         test input.
57913         (lrint_upward_test_data): Test for "inexact" exceptions.
57914         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
57915         test input.
57916         (llrint_test_data): Test for "inexact" exceptions.
57917         (llrint_test_data) [TEST_FLOAT]: Disable one test.
57918         (llrint_tonearest_test_data): Test for "inexact" exceptions.
57919         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
57920         (llrint_towardzero_test_data): Test for "inexact" exceptions.
57921         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
57922         (llrint_downward_test_data): Test for "inexact" exceptions.
57923         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
57924         (llrint_upward_test_data): Test for "inexact" exceptions.
57925         (logb_test_data): Likewise.
57926         (logb_downward_test_data): Likewise.
57927         (nextafter_test_data): Likewise.
57928         (nexttoward_test_data): Likewise.
57929         (remainder_test_data): Likewise.
57930         (remquo_test_data): Likewise.
57931         (scalbn_test_data): Likewise.
57932         (scalbln_test_data): Likewise.
57933         (signbit_test_data): Likewise.
57934         (sqrt_test_data): Likewise.
57935         (significand_test_data): Likewise.
57937 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57939         [BZ #15424]
57940         * benchtests/bench-modf.c (struct args): Mark arg0 as
57941         volatile.
57942         * scripts/bench.pl: Mark members of struct args as volatile.
57944 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57946         [BZ # 15497]
57947         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
57948         negative infinity on POWER6 or lower.
57949         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
57951 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
57953         [BZ #15442]
57954         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
57955         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
57956         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
57957         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
57958         (_FP_SETQNAN): New macro.
57959         (_FP_SETQNAN_SEMIRAW): Likewise.
57960         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
57961         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
57962         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
57963         (FP_EXTEND): Use _FP_FRAC_SNANP.
57964         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
57965         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
57966         into account.
57967         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57968         New macro.
57969         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
57970         Likewise.
57972 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57974         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
57975         with DIVIDE_BY_ZERO_EXCEPTION.
57976         (gamma_test_data): Likewise.
57977         (lgamma_test_data): Likewise.
57978         (log_test_data): Likewise.
57979         (log10_test_data): Likewise.
57980         (log2_test_data): Likewise.
57981         (tgamma_test_data): Likewise.
57983         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
57984         (acos_test_tonearest): Likewise.
57985         (acos_test_towardzero): Likewise.
57986         (acos_test_downward): Likewise.
57987         (acos_test_upward): Likewise.
57988         (acosh_test): Likewise.
57989         (asin_test): Likewise.
57990         (asin_test_tonearest): Likewise.
57991         (asin_test_towardzero): Likewise.
57992         (asin_test_downward): Likewise.
57993         (asin_test_upward): Likewise.
57994         (asinh_test): Likewise.
57995         (atan_test): Likewise.
57996         (atanh_test): Likewise.
57997         (atan2_test): Likewise.
57998         (cabs_test): Likewise.
57999         (cacos_test): Likewise.
58000         (cacosh_test): Likewise.
58001         (casin_test): Likewise.
58002         (casinh_test): Likewise.
58003         (catan_test): Likewise.
58004         (catanh_test): Likewise.
58005         (cbrt_test): Likewise.
58006         (ccos_test): Likewise.
58007         (ccosh_test): Likewise.
58008         (cexp_test): Likewise.
58009         (clog_test): Likewise.
58010         (clog10_test): Likewise.
58011         (cos_test): Likewise.
58012         (cos_test_tonearest): Likewise.
58013         (cos_test_towardzero): Likewise.
58014         (cos_test_downward): Likewise.
58015         (cos_test_upward): Likewise.
58016         (cosh_test): Likewise.
58017         (cosh_test_tonearest): Likewise.
58018         (cosh_test_towardzero): Likewise.
58019         (cosh_test_downward): Likewise.
58020         (cosh_test_upward): Likewise.
58021         (cpow_test): Likewise.
58022         (csin_test): Likewise.
58023         (csinh_test): Likewise.
58024         (csqrt_test): Likewise.
58025         (ctan_test): Likewise.
58026         (ctan_test_tonearest): Likewise.
58027         (ctan_test_towardzero): Likewise.
58028         (ctan_test_downward): Likewise.
58029         (ctan_test_upward): Likewise.
58030         (ctanh_test): Likewise.
58031         (ctanh_test_tonearest): Likewise.
58032         (ctanh_test_towardzero): Likewise.
58033         (ctanh_test_downward): Likewise.
58034         (ctanh_test_upward): Likewise.
58035         (erf_test): Likewise.
58036         (erfc_test): Likewise.
58037         (exp_test): Likewise.
58038         (exp_test_tonearest): Likewise.
58039         (exp_test_towardzero): Likewise.
58040         (exp_test_downward): Likewise.
58041         (exp_test_upward): Likewise.
58042         (exp10_test): Likewise.
58043         (exp2_test): Likewise.
58044         (expm1_test): Likewise.
58045         (fmod_test): Likewise.
58046         (gamma_test): Likewise.
58047         (hypot_test): Likewise.
58048         (j0_test): Likewise.
58049         (j1_test): Likewise.
58050         (jn_test): Likewise.
58051         (lgamma_test): Likewise.
58052         (log_test): Likewise.
58053         (log10_test): Likewise.
58054         (log1p_test): Likewise.
58055         (log2_test): Likewise.
58056         (logb_test_downward): Likewise.
58057         (pow_test): Likewise.
58058         (pow_test_tonearest): Likewise.
58059         (pow_test_towardzero): Likewise.
58060         (pow_test_downward): Likewise.
58061         (pow_test_upward): Likewise.
58062         (remainder_test): Likewise.
58063         (remquo_test): Likewise.
58064         (sin_test): Likewise.
58065         (sin_test_tonearest): Likewise.
58066         (sin_test_towardzero): Likewise.
58067         (sin_test_downward): Likewise.
58068         (sin_test_upward): Likewise.
58069         (sincos_test): Likewise.
58070         (sinh_test): Likewise.
58071         (sinh_test_tonearest): Likewise.
58072         (sinh_test_towardzero): Likewise.
58073         (sinh_test_downward): Likewise.
58074         (sinh_test_upward): Likewise.
58075         (sqrt_test): Likewise.
58076         (tan_test): Likewise.
58077         (tan_test_tonearest): Likewise.
58078         (tan_test_towardzero): Likewise.
58079         (tan_test_downward): Likewise.
58080         (tan_test_upward): Likewise.
58081         (tanh_test): Likewise.
58082         (tgamma_test): Likewise.
58083         (y0_test): Likewise.
58084         (y1_test): Likewise.
58085         (yn_test): Likewise.
58087         * math/gen-libm-test.pl (adjust_arg): Remove function.
58088         (special_function): Remove argument $in_func.  Only handle
58089         generating output for tables of tests, not inside functions.
58090         (parse_args): Likewise.
58091         (generate_testfile): Remove variable $in_func.  Update call to
58092         parse_args.
58093         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
58094         (MINUS_ZERO_INIT): Rename macro to minus_zero.
58095         (PLUS_INFTY_INIT): Rename macro to plus_infty.
58096         (MINUS_INFTY_INIT): Rename macro to minus_infty.
58097         (QNAN_VALUE_INIT): Rename macro to qnan_value.
58098         (MAX_VALUE_INIT): Rename macro to max_value.
58099         (MIN_VALUE_INIT): Rename macro to min_value.
58100         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
58101         (plus_zero): Remove variable.
58102         (minus_zero): Likewise.
58103         (plus_infty): Likewise.
58104         (minus_infty): Likewise.
58105         (qnan_value): Likewise.
58106         (max_value): Likewise.
58107         (min_value): Likewise.
58108         (min_subnorm_value): Likewise.
58110 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58112         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
58113         uint64_t or uint32_t usage.
58114         * crypt/sha256-block.c: Likewise.
58115         * crypt/sha256-crypt.c: Likewise.
58116         * crypt/sha256.c: Likewise.
58117         * crypt/sha512-block.c: Likewise.
58118         * crypt/sha512-crypt.c: Likewise.
58119         * crypt/sha512.c: Likewise.
58120         * debug/backtrace-tst.c: Likewise.
58121         * debug/pcprofiledump.c: Likewise.
58122         * elf/cache.c: Likewise.
58123         * elf/dl-cache.c: Likewise.
58124         * elf/dl-misc.c: Likewise.
58125         * elf/dl-profile.c: Likewise.
58126         * elf/dl-support.c: Likewise.
58127         * elf/ldconfig.c: Likewise.
58128         * elf/sprof.c: Likewise.
58129         * iconv/dummy-repertoire.c: Likewise.
58130         * iconv/iconv_charmap.c: Likewise.
58131         * iconv/skeleton.c: Likewise.
58132         * iconvdata/8bit-generic.c: Likewise.
58133         * iconvdata/cp737.h: Likewise.
58134         * iconvdata/cp775.h: Likewise.
58135         * iconvdata/ibm1008.h: Likewise.
58136         * iconvdata/ibm1025.h: Likewise.
58137         * iconvdata/ibm1046.h: Likewise.
58138         * iconvdata/ibm1097.h: Likewise.
58139         * iconvdata/ibm1112.h: Likewise.
58140         * iconvdata/ibm1122.h: Likewise.
58141         * iconvdata/ibm1123.h: Likewise.
58142         * iconvdata/ibm1124.h: Likewise.
58143         * iconvdata/ibm1129.h: Likewise.
58144         * iconvdata/ibm1130.h: Likewise.
58145         * iconvdata/ibm1132.h: Likewise.
58146         * iconvdata/ibm1133.h: Likewise.
58147         * iconvdata/ibm1137.h: Likewise.
58148         * iconvdata/ibm1140.h: Likewise.
58149         * iconvdata/ibm1141.h: Likewise.
58150         * iconvdata/ibm1142.h: Likewise.
58151         * iconvdata/ibm1143.h: Likewise.
58152         * iconvdata/ibm1144.h: Likewise.
58153         * iconvdata/ibm1145.h: Likewise.
58154         * iconvdata/ibm1146.h: Likewise.
58155         * iconvdata/ibm1147.h: Likewise.
58156         * iconvdata/ibm1148.h: Likewise.
58157         * iconvdata/ibm1149.h: Likewise.
58158         * iconvdata/ibm1153.h: Likewise.
58159         * iconvdata/ibm1154.h: Likewise.
58160         * iconvdata/ibm1155.h: Likewise.
58161         * iconvdata/ibm1156.h: Likewise.
58162         * iconvdata/ibm1157.h: Likewise.
58163         * iconvdata/ibm1158.h: Likewise.
58164         * iconvdata/ibm1160.h: Likewise.
58165         * iconvdata/ibm1161.h: Likewise.
58166         * iconvdata/ibm1162.h: Likewise.
58167         * iconvdata/ibm1163.h: Likewise.
58168         * iconvdata/ibm1164.h: Likewise.
58169         * iconvdata/ibm1166.h: Likewise.
58170         * iconvdata/ibm1167.h: Likewise.
58171         * iconvdata/ibm12712.h: Likewise.
58172         * iconvdata/ibm1390.h: Likewise.
58173         * iconvdata/ibm1399.h: Likewise.
58174         * iconvdata/ibm16804.h: Likewise.
58175         * iconvdata/ibm4517.h: Likewise.
58176         * iconvdata/ibm4899.h: Likewise.
58177         * iconvdata/ibm4909.h: Likewise.
58178         * iconvdata/ibm4971.h: Likewise.
58179         * iconvdata/ibm5347.h: Likewise.
58180         * iconvdata/ibm803.h: Likewise.
58181         * iconvdata/ibm856.h: Likewise.
58182         * iconvdata/ibm901.h: Likewise.
58183         * iconvdata/ibm902.h: Likewise.
58184         * iconvdata/ibm9030.h: Likewise.
58185         * iconvdata/ibm9066.h: Likewise.
58186         * iconvdata/ibm921.h: Likewise.
58187         * iconvdata/ibm922.h: Likewise.
58188         * iconvdata/ibm9448.h: Likewise.
58189         * iconvdata/isiri-3342.h: Likewise.
58190         * iconvdata/jis0201.h: Likewise.
58191         * include/link.h: Likewise.
58192         * include/netdb.h: Likewise.
58193         * inet/check_native.c: Likewise.
58194         * inet/check_pf.c: Likewise.
58195         * inet/getipv4sourcefilter.c: Likewise.
58196         * inet/getnameinfo.c: Likewise.
58197         * inet/getsourcefilter.c: Likewise.
58198         * inet/htonl.c: Likewise.
58199         * inet/setipv4sourcefilter.c: Likewise.
58200         * inet/setsourcefilter.c: Likewise.
58201         * inet/test-inet6_opt.c: Likewise.
58202         * inet/tst-network.c: Likewise.
58203         * locale/C-collate.c: Likewise.
58204         * locale/C-ctype.c: Likewise.
58205         * locale/C-time.c: Likewise.
58206         * locale/C-translit.h: Likewise.
58207         * locale/loadarchive.c: Likewise.
58208         * locale/programs/3level.h: Likewise.
58209         * locale/programs/charmap.c: Likewise.
58210         * locale/programs/charmap.h: Likewise.
58211         * locale/programs/ld-address.c: Likewise.
58212         * locale/programs/ld-collate.c: Likewise.
58213         * locale/programs/ld-ctype.c: Likewise.
58214         * locale/programs/ld-identification.c: Likewise.
58215         * locale/programs/ld-measurement.c: Likewise.
58216         * locale/programs/ld-messages.c: Likewise.
58217         * locale/programs/ld-monetary.c: Likewise.
58218         * locale/programs/ld-name.c: Likewise.
58219         * locale/programs/ld-numeric.c: Likewise.
58220         * locale/programs/ld-paper.c: Likewise.
58221         * locale/programs/ld-telephone.c: Likewise.
58222         * locale/programs/ld-time.c: Likewise.
58223         * locale/programs/linereader.c: Likewise.
58224         * locale/programs/locale.c: Likewise.
58225         * locale/programs/locarchive.c: Likewise.
58226         * locale/programs/locfile.h: Likewise.
58227         * locale/programs/repertoire.c: Likewise.
58228         * locale/programs/simple-hash.c: Likewise.
58229         * locale/programs/simple-hash.h: Likewise.
58230         * malloc/memusage.c: Likewise.
58231         * malloc/memusagestat.c: Likewise.
58232         * nis/nis_defaults.c: Likewise.
58233         * nis/nis_hash.c: Likewise.
58234         * nis/nis_print.c: Likewise.
58235         * nis/nis_xdr.c: Likewise.
58236         * nscd/connections.c: Likewise.
58237         * nscd/hstcache.c: Likewise.
58238         * nscd/nscd_gethst_r.c: Likewise.
58239         * nscd/nscd_getserv_r.c: Likewise.
58240         * nscd/nscd_helper.c: Likewise.
58241         * nscd/servicescache.c: Likewise.
58242         * nss/makedb.c: Likewise.
58243         * nss/nss_db/db-XXX.c: Likewise.
58244         * nss/nss_db/db-initgroups.c: Likewise.
58245         * nss/nss_db/db-netgrp.c: Likewise.
58246         * nss/nss_files/files-network.c: Likewise.
58247         * nss/nss_files/files-parse.c: Likewise.
58248         * posix/bug-regex5.c: Likewise.
58249         * posix/fnmatch_loop.c: Likewise.
58250         * posix/regcomp.c: Likewise.
58251         * posix/regexec.c: Likewise.
58252         * posix/tst-rfc3484-2.c: Likewise.
58253         * posix/tst-rfc3484-3.c: Likewise.
58254         * posix/tst-rfc3484.c: Likewise.
58255         * resolv/nss_dns/dns-canon.c: Likewise.
58256         * resolv/nss_dns/dns-network.c: Likewise.
58257         * resolv/res_init.c: Likewise.
58258         * resolv/res_mkquery.c: Likewise.
58259         * resolv/tst-aton.c: Likewise.
58260         * stdlib/cxa_atexit.c: Likewise.
58261         * stdlib/cxa_finalize.c: Likewise.
58262         * stdlib/gen-fpioconst.c: Likewise.
58263         * stdlib/strtol_l.c: Likewise.
58264         * string/tst-endian.c: Likewise.
58265         * sunrpc/auth_des.c: Likewise.
58266         * sunrpc/clnt_udp.c: Likewise.
58267         * sunrpc/rtime.c: Likewise.
58268         * sunrpc/svcauth_des.c: Likewise.
58269         * sunrpc/xdr.c: Likewise.
58270         * sunrpc/xdr_intXX_t.c: Likewise.
58271         * sunrpc/xdr_rec.c: Likewise.
58272         * sysdeps/generic/ldconfig.h: Likewise.
58273         * sysdeps/generic/ldsodefs.h: Likewise.
58274         * sysdeps/generic/memusage.h: Likewise.
58275         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
58276         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
58277         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
58278         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
58279         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58281         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
58282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
58283         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58284         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58285         * sysdeps/posix/getaddrinfo.c: Likewise.
58286         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58287         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58288         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58289         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58290         * sysdeps/powerpc/test-gettimebase.c: Likewise.
58291         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
58292         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
58293         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
58294         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
58295         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
58296         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58297         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58298         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
58299         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
58300         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
58301         * sysdeps/x86_64/dl-tls.h: Likewise.
58302         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
58303         * time/alt_digit.c: Likewise.
58304         * time/era.c: Likewise.
58305         * wcsmbs/tst-c16c32-1.c: Likewise.
58307 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58309         * math/libm-test.inc (struct test_sincos_data): New type.
58310         (RUN_TEST_LOOP_sincos): New macro.
58311         (sincos_test_data): New variable.
58312         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
58314 2013-05-16  Richard Henderson  <rth@redhat.com>
58316         * math/atest-exp2.c (LIMB64): New macro.
58317         (CONSTSZ): New macro.
58318         (mp_exp1, mp_exp_m1, mp_log2): New variables.
58319         (hexdig): Move ...
58320         (print_mpn_fp): ... to function scope.
58321         (read_mpn_hex): Remove.
58322         (get_log2): Remove.
58323         (exp2_mpn): Use mp_log2.
58324         (main): Use mp_exp1.
58326 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58328         * math/libm-test.inc: Remove comment about not testing "inexact"
58329         exceptions.
58330         (INEXACT_EXCEPTION): New macro.
58331         (NO_INEXACT_EXCEPTION): Likewise.
58332         (INVALID_EXCEPTION_OK): Update value.
58333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58334         (OVERFLOW_EXCEPTION_OK): Likewise.
58335         (UNDERFLOW_EXCEPTION_OK): Likewise.
58336         (IGNORE_ZERO_INF_SIGN): Likewise.
58337         (ERRNO_UNCHANGED): Likewise.
58338         (ERRNO_EDOM): Likewise.
58339         (ERRNO_ERANGE): Likewise.
58340         (test_exceptions): Handle testing "inexact" exceptions.
58341         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
58342         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
58343         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
58344         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
58345         INEXACT_EXCEPTION.
58346         (rint_towardzero_test_data): Likewise.
58347         (rint_downward_test_data): Likewise.
58348         (rint_upward_test_data): Likewise.
58350         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
58351         with OVERFLOW_EXCEPTION.
58352         (exp10_test_data): Likewise.
58353         (exp2_test_data): Likewise.
58354         (expm1_test_data): Likewise.
58355         (lgamma_test_data): Likewise.
58356         (pow_test_data): Likewise.
58357         (tgamma_test_data): Likewise.
58358         (yn_test_data): Remove duplicate test of overflow.
58360         * math/libm-test.inc (struct test_cc_c_data): New type.
58361         (RUN_TEST_LOOP_cc_c): New macro.
58362         (cpow_test_data): New variable.
58363         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58365         * math/libm-test.inc (struct test_f_L_data): New type.
58366         (RUN_TEST_LOOP_f_L): New macro.
58367         (llrint_test_data): New variable.
58368         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
58369         (llrint_tonearest_test_data): New variable.
58370         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
58371         (llrint_towardzero_test_data): New variable.
58372         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
58373         (llrint_downward_test_data): New variable.
58374         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
58375         (llrint_upward_test_data): New variable.
58376         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
58377         (llround_test_data): New variable.
58378         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
58380 2013-05-13  Peter Collingbourne  <pcc@google.com>
58382         * math/atest-exp2.c (get_log2): Remove const attribute.
58384 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58386         * math/libm-test.inc (struct test_f_l_data): New type.
58387         (RUN_TEST_LOOP_f_l): New macro.
58388         (lrint_test_data): New variable.
58389         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
58390         (lrint_tonearest_test_data): New variable.
58391         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
58392         (lrint_towardzero_test_data): New variable.
58393         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
58394         (lrint_downward_test_data): New variable.
58395         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
58396         (lrint_upward_test_data): New variable.
58397         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
58398         (lround_test_data): New variable.
58399         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
58401 2013-05-15  Peter Collingbourne  <pcc@google.com>
58403         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
58404         (EXTRACT_WORDS64) Use where appropriate.
58405         (INSERT_WORDS64) Likewise.
58407         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
58408         constraints with x constraints.
58409         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
58411         * malloc/obstack.c (_obstack_compat): Add initializer.
58413 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58415         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
58416         si_trapno and add si_addr_lsb to _sifields.sigfault.
58417         (si_trapno): Remove macro.
58418         (si_addr_lsb): Define new macro.
58419         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58421 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
58423         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
58424         instead of TEST_f_l.
58425         (llrint_test_tonearest): Likewise.
58426         (llrint_test_towardzero): Likewise.
58427         (llrint_test_downward): Likewise.
58428         (llrint_test_upward): Likewise.
58429         (llround_test): Likewise.
58431         * math/libm-test.inc (struct test_f_i_data): Add comment.
58432         (RUN_TEST_LOOP_f_b): New macro.
58433         (RUN_TEST_LOOP_f_b_tg): Likewise.
58434         (finite_test_data): New variable.
58435         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
58436         (isfinite_test_data): New variable.
58437         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58438         (isinf_test_data): New variable.
58439         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58440         (isnan_test_data): New variable.
58441         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58442         (isnormal_test_data): New variable.
58443         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58444         (issignaling_test_data): New variable.
58445         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58446         (signbit_test_data): New variable.
58447         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
58449         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
58450         with INVALID_EXCEPTION.
58451         (acosh_test_data): Likewise.
58452         (asin_test_data): Likewise.
58453         (atanh_test_data): Likewise.
58454         (fmod_test_data): Likewise.
58455         (log_test_data): Likewise.
58456         (log10_test_data): Likewise.
58457         (log2_test_data): Likewise.
58458         (pow_test_data): Likewise.
58459         (sqrt_test_data): Likewise.
58460         (y0_test_data): Likewise.
58461         (y1_test_data): Likewise.
58462         (yn_test_data): Likewise.
58464         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
58465         function contents.
58467         * math/libm-test.inc (struct test_ff_i_data): New type.
58468         (RUN_TEST_LOOP_ff_i_tg): New macro.
58469         (isgreater_test_data): New variable.
58470         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58471         (isgreaterequal_test_data): New variable.
58472         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58473         (isless_test_data): New variable.
58474         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58475         (islessequal_test_data): New variable.
58476         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58477         (islessgreater_test_data): New variable.
58478         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58479         (isunordered_test_data): New variable.
58480         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
58482 2013-05-14  David S. Miller  <davem@davemloft.net>
58484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58486 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
58488         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
58490         * math/libm-test.inc (struct test_fF_f1_data): Change type of
58491         extra_test to int.
58492         (struct test_f_i_data): Change type of max_ulp to int.
58494         * math/libm-test.inc (test_ffI_f1_data): New type.
58495         (RUN_TEST_LOOP_ffI_f1): New macro.
58496         (remquo_test_data): New variable.
58497         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
58499         * setjmp/tst-setjmp-fp.c: New file.
58500         * setjmp/Makefile (tests): Add tst-setjmp-fp.
58501         (link-libm): New variable.
58502         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
58504         * math/libm-test.inc (struct test_f_i_data): New type.
58505         (RUN_TEST_LOOP_f_i): New macro.
58506         (RUN_TEST_LOOP_f_i_tg): Likewise.
58507         (fpclassify_test_data): New variable.
58508         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
58509         (ilogb_test_data): New variable.
58510         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
58512         * math/libm-test.inc (scalbln_test): Correct function name in END
58513         call.
58515         * math/libm-test.inc (struct test_f_f1_data): Add comment.
58516         (RUN_TEST_LOOP_fI_f1): New macro.
58517         (frexp_test_data): New variable.
58518         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
58520         * math/libm-test.inc (struct test_fF_f1_data): New type.
58521         (RUN_TEST_LOOP_fF_f1): New macro.
58522         (modf_test_data): New variable.
58523         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
58525         * math/libm-test.inc (struct test_f_f1_data): New type.
58526         (RUN_TEST_LOOP_f_f1): New macro.
58527         (gamma_test_data): New variable.
58528         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58529         (lgamma_test_data): New variable.
58530         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
58532 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
58534         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
58535         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
58536         (main): Comment "tls" pseudo-hwcap.
58538 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
58540         * math/libm-test.inc (struct test_fl_f_data): New type.
58541         (RUN_TEST_LOOP_fl_f): New variable.
58542         (scalbln_test_data): New variable.
58543         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
58545         * math/libm-test.inc (struct test_fi_f_data): New type.
58546         (RUN_TEST_LOOP_fi_f): New macro.
58547         (ldexp_test_data): New variable.
58548         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58549         (scalbn_test_data): New variable.
58550         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
58552         * math/libm-test.inc (struct test_c_f_data): New type.
58553         (RUN_TEST_LOOP_c_f): New macro.
58554         (cabs_test_data): New variable.
58555         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
58556         (carg_test_data): New variable.
58557         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
58558         (cimag_test_data): New variable.
58559         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
58560         (creal_test_data): New variable.
58561         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
58563         * math/libm-test.inc (struct test_if_f_data): New type.
58564         (RUN_TEST_LOOP_if_f): New macro.
58565         (jn_test_data): New variable.
58566         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
58567         (yn_test_data): New variable.
58568         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
58570         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
58572 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58574         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58575         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
58577 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58579         * benchtests/Makefile (CPPFLAGS-nonlib): Add
58580         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
58581         (bench-deps): Add bench-timing.h.
58582         * benchtests-bench-skeleton.c: Include bench-timing.h.
58583         (main): Use TIMING_* macros instead of clock_gettime.
58584         * benchtests/bench-timing.h: New file.
58586         [BZ #14582]
58587         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
58588         Renamed from _LIB_VERSION.
58589         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
58591 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
58593         * math/libm-test.inc (struct test_fff_f_data): New type.
58594         (RUN_TEST_LOOP_fff_f): New macro.
58595         (fma_test_data): New variable.
58596         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
58597         (fma_towardzero_test_data): New variable.
58598         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
58599         (fma_downward_test_data): New variable.
58600         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
58601         (fma_upward_test_data): New variable.
58602         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
58604         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
58605         (struct test_c_c_data): New type.
58606         (RUN_TEST_LOOP_c_c): New macro.
58607         (cacos_test_data): New variable.
58608         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
58609         (cacosh_test_data): New variable.
58610         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
58611         (casin_test_data): New variable.
58612         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
58613         (casinh_test_data): New variable.
58614         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
58615         (catan_test_data): New variable.
58616         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
58617         (catanh_test_data): New variable.
58618         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
58619         (ccos_test_data): New variable.
58620         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
58621         (ccosh_test_data): New variable.
58622         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
58623         (cexp_test_data): New variable.
58624         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
58625         (clog_test_data): New variable.
58626         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
58627         (clog10_test_data): New variable.
58628         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
58629         (conj_test_data): New variable.
58630         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
58631         (cproj_test_data): New variable.
58632         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
58633         (csin_test_data): New variable.
58634         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
58635         (csinh_test_data): New variable.
58636         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
58637         (csqrt_test_data): New variable.
58638         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
58639         (ctan_test_data): New variable.
58640         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58641         (ctan_tonearest_test_data): New variable.
58642         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58643         (ctan_towardzero_test_data): New variable.
58644         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58645         (ctan_downward_test_data): New variable.
58646         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58647         (ctan_upward_test_data): New variable.
58648         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58649         (ctanh_test_data): New variable.
58650         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
58651         (ctanh_tonearest_test_data): New variable.
58652         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
58653         (ctanh_towardzero_test_data): New variable.
58654         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
58655         (ctanh_downward_test_data): New variable.
58656         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
58657         (ctanh_upward_test_data): New variable.
58658         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
58659         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
58660         of BUILD_COMPLEX.
58662         * math/libm-test.inc (struct test_ff_f_data): New type.
58663         (struct test_ff_f_data_nexttoward): Likewise.
58664         (RUN_TEST_LOOP_2_f): New macro.
58665         (RUN_TEST_LOOP_ff_f): Likewise.
58666         (atan2_test_data): New variable.
58667         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
58668         (copysign_test_data): New variable.
58669         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
58670         (fdim_test_data): New variable.
58671         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
58672         (fmax_test_data): New variable.
58673         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
58674         (fmin_test_data): New variable.
58675         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
58676         (fmod_test_data): New variable.
58677         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
58678         (hypot_test_data): New variable.
58679         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
58680         (nextafter_test_data): New variable.
58681         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
58682         (nexttoward_test_data): New variable.
58683         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
58684         (pow_test_data): New variable.
58685         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
58686         (pow_tonearest_test_data): New variable.
58687         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
58688         (pow_towardzero_test_data): New variable.
58689         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
58690         (pow_downward_test_data): New variable.
58691         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
58692         (pow_upward_test_data): New variable.
58693         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
58694         (remainder_test_data): New variable.
58695         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
58696         (scalb_test_data): New variable.
58697         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
58698         * sysdeps/i386/fpu/libm-test-ulps: Update.
58700 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
58702         * math/libm-test.inc (fma_test): Use max_value instead of local
58703         variable fltmax.
58704         (nextafter_test): Likewise.
58706         * math/libm-test.inc (acos_towardzero_test_data): New variable.
58707         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58708         (acos_downward_test_data): New variable.
58709         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58710         (acos_upward_test_data): New variable.
58711         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58712         (acosh_test_data): New variable.
58713         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
58714         (asin_test_data): New variable.
58715         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
58716         (asin_tonearest_test_data): New variable.
58717         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58718         (asin_towardzero_test_data): New variable.
58719         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58720         (asin_downward_test_data): New variable.
58721         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58722         (asin_upward_test_data): New variable.
58723         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58724         (asinh_test_data): New variable.
58725         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
58726         (atan_test_data): New variable.
58727         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
58728         (atanh_test_data): New variable.
58729         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
58730         (cbrt_test_data): New variable.
58731         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
58732         (ceil_test_data): New variable.
58733         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
58734         (cos_test_data): New variable.
58735         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
58736         (cos_tonearest_test_data): New variable.
58737         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58738         (cos_towardzero_test_data): New variable.
58739         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58740         (cos_downward_test_data): New variable.
58741         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58742         (cos_upward_test_data): New variable.
58743         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58744         (cosh_test_data): New variable.
58745         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
58746         (cosh_tonearest_test_data): New variable.
58747         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58748         (cosh_towardzero_test_data): New variable.
58749         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58750         (cosh_downward_test_data): New variable.
58751         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58752         (cosh_upward_test_data): New variable.
58753         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58754         (erf_test_data): New variable.
58755         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
58756         (erfc_test_data): New variable.
58757         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
58758         (exp_test_data): New variable.
58759         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
58760         (exp_tonearest_test_data): New variable.
58761         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58762         (exp_towardzero_test_data): New variable.
58763         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58764         (exp_downward_test_data): New variable.
58765         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58766         (exp_upward_test_data): New variable.
58767         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58768         (exp10_test_data): New variable.
58769         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
58770         (exp2_test_data): New variable.
58771         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
58772         (expm1_test_data): New variable.
58773         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
58774         (fabs_test_data): New variable.
58775         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
58776         (floor_test_data): New variable.
58777         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
58778         (j0_test_data): New variable.
58779         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
58780         (j1_test_data): New variable.
58781         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
58782         (log_test_data): New variable.
58783         (log_test): Run tests with RUN_TEST_LOOP_f_f.
58784         (log10_test_data): New variable.
58785         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
58786         (log1p_test_data): New variable.
58787         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
58788         (log2_test_data): New variable.
58789         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
58790         (logb_test_data): New variable.
58791         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
58792         (logb_downward_test_data): New variable.
58793         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58794         (nearbyint_test_data): New variable.
58795         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
58796         (rint_test_data): New variable.
58797         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
58798         (rint_tonearest_test_data): New variable.
58799         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58800         (rint_towardzero_test_data): New variable.
58801         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58802         (rint_downward_test_data): New variable.
58803         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58804         (rint_upward_test_data): New variable.
58805         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58806         (round_test_data): New variable.
58807         (round_test): Run tests with RUN_TEST_LOOP_f_f.
58808         (sin_test_data): New variable.
58809         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
58810         (sin_tonearest_test_data): New variable.
58811         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58812         (sin_towardzero_test_data): New variable.
58813         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58814         (sin_downward_test_data): New variable.
58815         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58816         (sin_upward_test_data): New variable.
58817         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58818         (sinh_test_data): New variable.
58819         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
58820         (sinh_tonearest_test_data): New variable.
58821         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58822         (sinh_towardzero_test_data): New variable.
58823         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58824         (sinh_downward_test_data): New variable.
58825         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58826         (sinh_upward_test_data): New variable.
58827         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58828         (sqrt_test_data): New variable.
58829         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
58830         (tan_test_data): New variable.
58831         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
58832         (tan_tonearest_test_data): New variable.
58833         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58834         (tan_towardzero_test_data): New variable.
58835         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
58836         (tan_downward_test_data): New variable.
58837         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
58838         (tan_upward_test_data): New variable.
58839         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
58840         (tanh_test_data): New variable.
58841         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
58842         (tgamma_test_data): New variable.
58843         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
58844         (trunc_test_data): New variable.
58845         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
58846         (y0_test_data): New variable.
58847         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
58848         (y1_test_data): New variable.
58849         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
58850         (significand_test_data): New variable.
58851         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
58853 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
58855         [BZ #12387]
58856         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
58858 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
58860         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
58862 2013-05-10  Andreas Jaeger  <aj@suse.de>
58864         [BZ #15448]
58865         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
58866         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
58868 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58870         * math/gen-libm-test.pl (adjust_arg): New function.
58871         (special_functions): Handle generating output in both functions
58872         and arrays.
58873         (parse_args): Likewise.
58874         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
58875         $in_func argument to parse_args.
58876         * math/libm-test.inc (struct test_f_f_data): New type.
58877         (IF_ROUND_INIT_): New macro.
58878         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
58879         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58880         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58881         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58882         (ROUND_RESTORE_): Likewise.
58883         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
58884         (ROUND_RESTORE_FE_TONEAREST): Likewise.
58885         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
58886         (ROUND_RESTORE_FE_UPWARD): Likewise.
58887         (RUN_TEST_LOOP_f_f): New macro.
58888         (acos_test_data): New variable.
58889         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
58890         (acos_tonearest_test_data): New variable.
58891         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
58893 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58895         * benchtests/bench-skeleton.c (startup): Fix coding style.
58897 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
58899         [BZ #6809]
58900         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
58901         negative infinity argument.
58902         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
58903         negative infinity argument.
58904         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
58905         negative infinity argument.
58906         * math/libm-test.inc (tgamma_test): Expect errno to be set for
58907         domain errors.
58909 2013-05-10  Florian Weimer  <fweimer@redhat.com>
58911         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
58912         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
58913         * iconv/iconv_prog.c (main): Likewise.
58914         * locale/programs/charmap-dir.c (charmap_readdir)
58915         (fopen_uncompressed): Likewise.
58916         * locale/programs/locfile.c (siblings_uncached)
58917         (write_locale_data): Use lstat64 instead of lstat.
58918         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
58919         stat.
58921 2013-05-10  Andreas Jaeger  <aj@suse.de>
58923         [BZ #15395]
58924         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
58925         localization.
58926         Include <locale.h>.
58928 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
58930         * elf/dl-close.c (_dl_close_worker): Add comments.
58932 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
58934         [BZ #15359]
58935         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
58936         high part of pi/2.
58937         (__ieee754_rem_pio2l): Update comments.
58939         [BZ #15429]
58940         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
58941         high part of pi/2.
58942         (__ieee754_rem_pio2l): Update comments.
58944         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
58945         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
58947         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
58948         M_PI_4l.
58950         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
58951         (M_PI_34_LOG10El): Likewise.
58952         (M_PI2_LOG10El): Likewise.
58953         (M_PI4_LOG10El): Likewise.
58954         (M_PI_LOG10El): Likewise.
58956 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58960 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
58962         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
58963         (MINUS_ZERO_INIT): Likewise.
58964         (PLUS_INFTY_INIT): Likewise.
58965         (MINUS_INFTY_INIT): Likewise.
58966         (QNAN_VALUE_INIT): Likewise.
58967         (MAX_VALUE_INIT): Likewise.
58968         (MIN_VALUE_INIT): Likewise.
58969         (MIN_SUBNORM_VALUE_INIT): Likewise.
58970         (plus_zero): Initialize with PLUS_ZERO_INIT.
58971         (minus_zero): Initialize with MINUS_ZERO_INIT.
58972         (plus_infty): Initialize with PLUS_INFTY_INIT.
58973         (minus_infty): Initialize with MINUS_INFTY_INIT.
58974         (qnan_value): Initialize with QNAN_VALUE_INIT.
58975         (max_value): Initialize with MAX_VALUE_INIT.
58976         (min_value): Initialize with MIN_VALUE_INIT.
58977         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
58979         * math/libm-test.inc (RUN_TEST_if_f): New macro.
58980         (jn_test): Use TEST_if_f instead of TEST_ff_f.
58981         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
58982         (yn_test): Use TEST_if_f instead of TEST_ff_f.
58984         * math/libm-test.inc (RUN_TEST_f_f): New macro.
58985         (RUN_TEST_2_f): Likewise.
58986         (RUN_TEST_ff_f): Likewise.
58987         (RUN_TEST_fi_f): Likewise.
58988         (RUN_TEST_fl_f): Likewise.
58989         (RUN_TEST_fff_f): Likewise.
58990         (RUN_TEST_c_f): Likewise.
58991         (RUN_TEST_f_f1): Likewise.
58992         (RUN_TEST_fF_f1): Likewise.
58993         (RUN_TEST_fI_f1): Likewise.
58994         (RUN_TEST_ffI_f1): Likewise.
58995         (RUN_TEST_c_c): Likewise.
58996         (RUN_TEST_cc_c): Likewise.
58997         (RUN_TEST_f_i): Likewise.
58998         (RUN_TEST_f_i_tg): Likewise.
58999         (RUN_TEST_ff_i_tg): Likewise.
59000         (RUN_TEST_f_b): Likewise.
59001         (RUN_TEST_f_b_tg): Likewise.
59002         (RUN_TEST_f_l): Likewise.
59003         (RUN_TEST_f_L): Likewise.
59004         (RUN_TEST_sincos): Likewise.
59005         * math/gen-libm-test.pl (new_test): Take new argument to indicate
59006         whether to show exceptions.  Do not include ");\n" in return
59007         value.
59008         (special_functions): Output call to RUN_TEST_sincos instead of
59009         check_float calls.  Update calls to new_test.
59010         (parse_args): Output call to single RUN_TEST_* macro instead of
59011         check_* calls and other assignments.  Update calls to new_test.
59013         [BZ #2546]
59014         [BZ #2560]
59015         [BZ #5159]
59016         [BZ #15426]
59017         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
59018         input to result for tgamma overflow.
59019         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
59020         (gamma_coeff): New variable.
59021         (NCOEFF): New macro.
59022         (gamma_positive): New function.
59023         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
59024         underflow here.  Use gamma_positive instead of exp (lgamma) for
59025         other arguments.
59026         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
59027         (gamma_coeff): New variable.
59028         (NCOEFF): New macro.
59029         (gammaf_positive): New function.
59030         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
59031         underflow here.  Use gamma_positive instead of exp (lgamma) for
59032         other arguments.
59033         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
59034         (gamma_coeff): New variable.
59035         (NCOEFF): New macro.
59036         (gammal_positive): New function.
59037         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
59038         underflow here.  Use gamma_positive instead of exp (lgamma) for
59039         other arguments.
59040         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
59041         (gamma_coeff): New variable.
59042         (NCOEFF): New macro.
59043         (gammal_positive): New function.
59044         (__ieee754_gammal_r): Handle positive infinity, overflow and
59045         underflow here.  Handle NaN the same as positive infinity.  Remove
59046         check x < 0xffffffff for negative integers.  Use gamma_positive
59047         instead of exp (lgamma) for other arguments.
59048         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
59049         (gamma_coeff): New variable.
59050         (NCOEFF): New macro.
59051         (gammal_positive): New function.
59052         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
59053         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
59054         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
59055         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
59056         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
59057         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
59058         * sysdeps/generic/math_private.h (__gamma_productf): New
59059         prototype.
59060         (__gamma_product): Likewise.
59061         (__gamma_productl): Likewise.
59062         * math/Makefile (libm-calls): Add gamma_product.
59063         * math/libm-test.inc (tgamma_test): Add more tests.
59064         * sysdeps/i386/fpu/libm-test-ulps: Update.
59065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59067 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
59069         * benchtests/bench-skeleton.c (main): Preheat CPU.
59071 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
59073         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
59075 2013-05-07  Roland McGrath  <roland@hack.frob.com>
59077         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
59078         and _dl_skip_args_internal.
59080 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
59082         * manual/message.texi (Message Translation): Talk about users.
59083         Message to key mapping impacts design.
59085 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59087         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
59089         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
59091         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
59092         * sysdeps/wordsize-64/glob64.c: ... here.
59094         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
59095         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
59096         New macros.
59098         * debug/getlogin_r_chk.c: Moved to ...
59099         * login/getlogin_r_chk.c: ... here.
59100         * debug/Makefile (routines): Move getlogin_r_chk to ...
59101         * login/Makefile (routines): ... here.
59102         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
59103         * login/Versions (libc: GLIBC_2.4): ... here.
59105         * io/poll.c (__poll): Renamed from poll.
59106         Add libc_hidden_def.
59107         (poll): Define as weak alias.
59109         * debug/ptsname_r_chk.c: Moved to ...
59110         * login/ptsname_r_chk.c: ... here.
59111         * debug/Makefile (routines): Move ptsname_r_chk to ...
59112         * login/Makefile (routines): ... here.
59113         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
59114         * login/Versions (libc: GLIBC_2.4): ... here.
59116         * posix/getlogin.c: Moved to ...
59117         * login/getlogin.c: ... here.
59118         * posix/getlogin_r.c: Moved to ...
59119         * login/getlogin_r.c: ... here.
59120         * posix/getlogin_r.c: Moved to ...
59121         * login/getlogin_r.c: ... here.
59122         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
59123         * login/Makefile (routines): ... here.
59124         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
59125         * login/Versions (libc: GLIBC_2.0): ... here.
59127         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
59128         (setrlimit): Define as weak alias.
59130         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
59131         Call __ names for open, ftruncate, and close.
59132         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59133         (truncate): Define as weak alias.
59135 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
59137         * math/gen-libm-test.pl (parse_args): Initialize x before each
59138         test of frexp, modf and remquo.
59140         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
59141         test signgam value.
59143 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59145         [BZ #15418]
59146         [BZ #15419]
59147         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
59148         internal tests.
59149         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59151 2013-05-06  Roland McGrath  <roland@hack.frob.com>
59153         * elf/dl-writev.h: New file.
59154         * elf/dl-misc.c: Include it.
59155         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
59156         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
59158 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
59160         * math/libm-test.inc (noXFails): Remove variable.
59161         (noXPasses): Likewise.
59162         (BUILD_COMPLEX_INT): Remove macro.
59163         (print_screen): Remove xfail argument.
59164         (print_screen_max_error): Likewise.
59165         (update_stats): Likewise.
59166         (print_max_error): Likewise.  Update calls to other affected
59167         functions.
59168         (print_complex_max_error): Likewise.
59169         (test_single_exception): Update calls to print_screen.
59170         (test_single_errno): Likewise.
59171         (check_float_internal): Remove xfail argument.  Update calls to
59172         other affected functions.
59173         (check_float): Likewise.
59174         (check_complex): Likewise.
59175         (check_int): Likewise.
59176         (check_long): Likewise.
59177         (check_bool): Likewise.
59178         (check_longlong): Likewise.
59179         (main): Don't print noXFails and noXPasses.
59180         * math/gen-libm-test.pl (top level): Don't mention expected
59181         failure handling in comment.
59182         (new_test): Don't handle expected failures.
59183         (parse_args): Don't mention expected failure handling in comment.
59184         (generate_testfile): Don't handle expected failures.
59185         (parse_ulps): Likewise.
59186         (print_ulps_file): Likewise.
59187         (get_failure): Remove function.
59188         (output_test): Don't handle expected failures.
59189         * make/README.libm-test: Don't mention expected failure handling.
59191         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
59192         (minus_zero): Likewise.
59193         (plus_infty): Likewise.
59194         (minus_infty): Likewise.
59195         (qnan_value): Likewise.
59196         (max_value): Likewise.
59197         (min_value): Likewise.
59198         (min_subnorm_value): Likewise.
59199         (initialize): Do not initialize those variables dynamically.
59201 2013-05-03  Roland McGrath  <roland@hack.frob.com>
59203         * io/open.c (__open_2): Moved to ...
59204         * io/open_2.c: ... this new file.
59205         * io/open64.c (__open64_2): Moved to ...
59206         * io/open64_2.c: ... this new file.
59207         * io/openat.c (__openat_2): Moved to ...
59208         * io/openat_2.c: ... this new file.
59209         * io/openat64.c (__openat64_2): Moved to ...
59210         * io/openat64_2.c: ... this new file.
59211         * io/Makefile (routines): Add them.
59212         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
59213         * sysdeps/unix/sysv/linux/open_2.c: File removed.
59214         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
59215         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
59216         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
59217         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
59218         (__openat64): Add hidden_ver.
59219         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
59220         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
59222         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
59223         Separately conditionalize setting of GLRO(dl_sysinfo) so
59224         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
59225         as well, but the actual setting is only under [NEED_DL_SYSINFO].
59227 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59229         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
59230         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
59231         definition.
59232         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
59233         * sysdeps/unix/sysv/linux/powerpc/init-first.c
59234         (_libc_vdso_platform_setup): Add __vdso_time initialization.
59235         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
59236         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
59238 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
59240         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
59241         test signgam value.
59243         * math/libm-test.inc (hypot_test): Do not use
59244         IGNORE_ZERO_INF_SIGN.
59246 2013-05-03  Andreas Jaeger  <aj@suse.de>
59248         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
59249         Linux 3.9.
59250         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
59251         (PF_MAX): Adjust for VSOCK change.
59253 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59257 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
59259         [BZ #15264]
59260         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
59261         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
59262         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
59264 2013-05-02  David S. Miller  <davem@davemloft.net>
59266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59268 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
59270         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
59272 2013-05-01  Roland McGrath  <roland@hack.frob.com>
59274         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
59276 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
59278         [BZ #14952]
59279         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
59280         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59281         Use __attribute__ ((__gnu_inline__)).
59282         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
59283         Don't use __attribute__ ((__gnu_inline__)).
59285 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
59287         [BZ #15423]
59288         * math/s_catan.c (__catan): Handle small real or imaginary part of
59289         input specially to avoid spurious underflow.
59290         * math/s_catanf.c (__catanf): Likewise.
59291         * math/s_catanh.c (__catanh): Likewise.
59292         * math/s_catanhf.c (__catanhf): Likewise.
59293         * math/s_catanhl.c (__catanhl): Likewise.
59294         * math/s_catanl.c (__catanl): Likewise.
59295         * math/libm-test.inc (catan_test): Add more tests.
59296         (catanh_test): Likewise.
59297         * sysdeps/i386/fpu/libm-test-ulps: Update.
59298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59300 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59304 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
59306         [BZ #15416]
59307         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
59308         accurately for denominator in atan2.
59309         * math/s_catanf.c (__catanf): Likewise.
59310         * math/s_catanh.c (__catanh): Likewise.
59311         * math/s_catanhf.c (__catanhf): Likewise.
59312         * math/s_catanhl.c (__catanhl): Likewise.
59313         * math/s_catanl.c (__catanl): Likewise.
59314         * math/libm-test.inc (catan_test): Add more tests.
59315         (catanh_test): Likewise.
59316         * sysdeps/i386/fpu/libm-test-ulps: Update.
59317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59319 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59321         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
59323         * benchtests/Makefile (bench): Remove slow benchmarks.
59324         * benchtests/atan-inputs: Add slow benchmark inputs.
59325         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
59326         (BENCH_FUNC): Accept variant offset.
59327         (VARIANT): Define.
59328         * benchtests/bench-skeleton.c (main): Run benchmark for each
59329         variant.
59330         * benchtests/cos-inputs: Add slow benchmark inputs.
59331         * benchtests/exp-inputs: Likewise.
59332         * benchtests/pow-inputs: Likewise.
59333         * benchtests/sin-inputs: Likewise.
59334         * benchtests/slowatan-inputs: Remove.
59335         * benchtests/slowatan.c: Remove.
59336         * benchtests/slowcos-inputs: Remove.
59337         * benchtests/slowcos.c: Remove.
59338         * benchtests/slowexp-inputs: Remove.
59339         * benchtests/slowexp.c: Remove.
59340         * benchtests/slowpow-inputs: Remove.
59341         * benchtests/slowpow.c: Remove.
59342         * benchtests/slowsin-inputs: Remove.
59343         * benchtests/slowsin.c: Remove.
59344         * benchtests/slowtan-inputs: Remove.
59345         * benchtests/slowtan.c: Remove.
59346         * benchtests/tan-inputs: Add slow benchmark inputs.
59347         * scripts/bench.pl: Parse comments and directives.
59349         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
59350         in CPPFLAGS.
59351         ($(objpfx)bench-%.c): Remove *-ITER.
59352         * benchtests/bench-modf.c: Remove definition of ITER.
59353         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
59354         (main): Loop for DURATION seconds instead of fixed number of
59355         iterations.
59356         * scripts/bench.pl: Don't expect iterations in parameters.
59358 2013-04-29  Roland McGrath  <roland@hack.frob.com>
59360         * io/fchdir.c (__fchdir): Renamed from fchdir.
59361         (fchdir): Define as weak alias.
59363 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59365         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
59366         (ERRNO_EDOM): Likewise.
59367         (ERRNO_ERANGE): Likewise.
59368         (noErrnoTests): New variable.
59369         (init_max_error): Set errno to 0.
59370         (test_single_errno): New function.
59371         (test_errno): Likewise.
59372         (check_float_internal): Call test_errno.  Set errno to 0.
59373         (check_complex): Refer to errno tests in comment.
59374         (check_int): Call test_errno.  Set errno to 0.
59375         (check_long): Likewise.
59376         (check_bool): Likewise.
59377         (check_longlong): Likewise.
59378         (cos_test): Use ERRNO_* flags for errno tests instead of
59379         check_int.
59380         (expm1_test): Likewise.
59381         (fmod_test): Likewise.
59382         (ilogb_test): Likewise.
59383         (lgamma_test): Likewise.
59384         (pow_test): Likewise.
59385         (remainder_test): Likewise.
59386         (sin_test): Likewise.
59387         (tan_test): Likewise.
59388         (yn_test): Likewise.
59389         (initialize): Set errno to 0.
59390         (main): Print number of errno tests.
59391         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
59393 2013-04-29  Andreas Jaeger  <aj@suse.de>
59395         [BZ #15084]
59396         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
59397         and RES_USEVC.
59399         [BZ #15085]
59400         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
59401         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
59402         unimplemented.
59404         [BZ #15380]
59405         * stdlib/random.c (__initstate): Return NULL if
59406         __initstate fails.
59408         [BZ #15086]
59409         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
59410         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
59411         RES_SNGLKUPREOP.
59413 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59417 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
59419         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
59420         of individual tests.
59421         (casin_test): Likewise.
59422         (casinh_test): Likewise.
59424 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
59426         [BZ #15409]
59427         * math/s_catan.c (__catan): Handle arguments with large real or
59428         imaginary part separately without squaring.
59429         * math/s_catanf.c (__catanf): Likewise.
59430         * math/s_catanh.c (__catanh): Likewise.
59431         * math/s_catanhf.c (__catanhf): Likewise.
59432         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59433         and redefine.
59434         (__catanhl): Handle arguments with large real or imaginary part
59435         separately without squaring.
59436         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
59437         and redefine.
59438         (__catanl): Handle arguments with large real or imaginary part
59439         separately without squaring.
59440         * math/libm-test.inc (catan_test): Add more tests.
59441         (catanh_test): Likewise.
59442         * sysdeps/i386/fpu/libm-test-ulps: Update.
59443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59445 2013-04-27  Andreas Jaeger  <aj@suse.de>
59447         [BZ #15007]
59448         * stdlib/stdlib.h: Update guards for qecvt.
59449         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
59450         <stdlib.h>.
59452 2013-04-27  Allan McRae  <allan@archlinux.org>
59454         * sysdeps/i386/fpu/libm-test-ulps: Update.
59456 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
59458         [BZ #15406]
59459         * math/s_catan.c: Include <float.h>.
59460         (__catan): Ensure underflow exception occurs for underflowed
59461         result.
59462         * math/s_catanf.c: Include <float.h>.
59463         (__catanf): Ensure underflow exception occurs for underflowed
59464         result.
59465         * math/s_catanh.c: Include <float.h>.
59466         (__catanh): Ensure underflow exception occurs for underflowed
59467         result.
59468         * math/s_catanhf.c: Include <float.h>.
59469         (__catanhf): Ensure underflow exception occurs for underflowed
59470         result.
59471         * math/s_catanhl.c: Include <float.h>.
59472         (__catanhl): Ensure underflow exception occurs for underflowed
59473         result.
59474         * math/s_catanl.c: Include <float.h>.
59475         (__catanl): Ensure underflow exception occurs for underflowed
59476         result.
59477         * math/libm-test.inc (catan_test): Add more tests.
59478         (catanh_test): Likewise.
59480         [BZ #15405]
59481         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
59482         underflowed result.
59483         * math/s_ccoshf.c (__ccoshf): Likewise.
59484         * math/s_ccoshl.c (__ccoshl): Likewise.
59485         * math/s_csin.c (__csin): Likewise.
59486         * math/s_csinf.c (__csinf): Likewise.
59487         * math/s_csinh.c (__csinh): Likewise.
59488         * math/s_csinhf.c (__csinhf): Likewise.
59489         * math/s_csinhl.c (__csinhl): Likewise.
59490         * math/s_csinl.c (__csinl): Likewise.
59491         * math/libm-test.inc (ccos_test): Add more tests.
59492         (ccosh_test): Likewise.
59493         (csin_test): Likewise.
59494         (csinh_test): Likewise.
59496 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59498         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
59499         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
59500         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
59501         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
59502         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
59503         powerpc/power5+/fpu folders.
59504         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
59507 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59511 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
59513         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
59514         additions to variable.
59515         [$(config-machine) = x86_64] (modules-names): Likewise.
59516         ($(objpfx)tst-audit3): Remove dependency.
59517         ($(objpfx)tst-audit3.out): Likewise.
59518         ($(objpfx)tst-audit4): Likewise.
59519         ($(objpfx)tst-audit4.out): Likewise.
59520         ($(objpfx)tst-audit5): Likewise.
59521         ($(objpfx)tst-audit5.out): Likewise.
59522         ($(objpfx)tst-audit6): Likewise.
59523         ($(objpfx)tst-audit6.out): Likewise.
59524         ($(objpfx)tst-audit7): Likewise.
59525         ($(objpfx)tst-audit7.out): Likewise.
59526         (tst-audit3-ENV): Remove variable.
59527         (tst-audit4-ENV): Likewise.
59528         (tst-audit5-ENV): Likewise.
59529         (tst-audit6-ENV): Likewise.
59530         (tst-audit7-ENV): Likewise.
59531         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
59532         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
59533         addition to variable.
59534         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
59535         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
59536         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
59537         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
59538         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
59539         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
59540         tst-audit3, tst-audit4 and tst-audit5.
59541         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
59542         tst-audit6 and tst-audit7.
59543         [$(subdir) = elf] (modules-names): Add audit modules for those
59544         tests.
59545         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
59546         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
59547         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
59548         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
59549         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
59550         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
59551         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
59552         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
59553         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
59554         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
59555         [$(subdir) = elf] (tst-audit3-ENV): New variable.
59556         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
59557         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
59558         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
59559         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
59560         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
59561         Likewise.
59562         [$(subdir) = elf && $(config-cflags-avx) = yes]
59563         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
59564         [$(subdir) = elf && $(config-cflags-avx) = yes]
59565         (CFLAGS-tst-auditmod4a.c): Likewise.
59566         [$(subdir) = elf && $(config-cflags-avx) = yes]
59567         (CFLAGS-tst-auditmod4b.c): Likewise.
59568         [$(subdir) = elf && $(config-cflags-avx) = yes]
59569         (CFLAGS-tst-auditmod6b.c): Likewise.
59570         [$(subdir) = elf && $(config-cflags-avx) = yes]
59571         (CFLAGS-tst-auditmod6c.c): Likewise.
59572         [$(subdir) = elf && $(config-cflags-avx) = yes]
59573         (CFLAGS-tst-auditmod7b.c): Likewise.
59574         * elf/tst-audit3.c: Move to ...
59575         * sysdeps/x86_64/tst-audit3.c: ... here.
59576         * elf/tst-audit4.c: Move to ...
59577         * sysdeps/x86_64/tst-audit4.c: ... here.
59578         * elf/tst-audit5.c: Move to ...
59579         * sysdeps/x86_64/tst-audit5.c: ... here.
59580         * elf/tst-audit6.c: Move to ...
59581         * sysdeps/x86_64/tst-audit6.c: ... here.
59582         * elf/tst-audit7.c: Move to ...
59583         * sysdeps/x86_64/tst-audit7.c: ... here.
59584         * elf/tst-auditmod3a.c: Move to ...
59585         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
59586         * elf/tst-auditmod3b.c: Move to ...
59587         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
59588         * elf/tst-auditmod4a.c: Move to ...
59589         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
59590         * elf/tst-auditmod4b.c: Move to ...
59591         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
59592         * elf/tst-auditmod5a.c: Move to ...
59593         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
59594         * elf/tst-auditmod5b.c: Move to ...
59595         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
59596         * elf/tst-auditmod6a.c: Move to ...
59597         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
59598         * elf/tst-auditmod6b.c: Move to ...
59599         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
59600         * elf/tst-auditmod6c.c: Move to ...
59601         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
59602         * elf/tst-auditmod7a.c: Move to ...
59603         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
59604         * elf/tst-auditmod7b.c: Move to ...
59605         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
59607 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
59609         [BZ #15366]
59610         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
59611         define unconditionally.
59612         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
59613         define unconditionally.
59614         (INT8_C, INT16_C, etc.): Likewise.
59616 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
59618         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
59619         __ehdr_start with hidden visibility.
59621         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
59623 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
59625         * math/libm-test.inc (cos_test): Use accurate hex constants.
59626         (sincost_test): Likewise.
59628 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
59630         * math/libm-test.inc (catan_test): Add more tests.
59631         (catanh_test): Likewise.
59633         * math/s_catanf.c (__catanf): Use suffixed floating-point
59634         constants.
59635         * math/s_catanhf.c (__catanhf): Likewise.
59636         * math/s_catanhl.c (__catanhl): Likewise.
59637         * math/s_catanl.c (__catanl): Likewise.
59639         [BZ #15394]
59640         * math/s_catan.c (__catan): Calculate imaginary part of result
59641         with log1p not log unless computing log of number close to 0.
59642         * math/s_catanf.c (__catanf): Likewise.
59643         * math/s_catanl.c (__catanl): Likewise.
59644         * math/s_catanh.c (__catanh): Calculate real part of result with
59645         log1p not log unless computing log of number close to 0.
59646         * math/s_catanhf.c (__catanhf): Likewise.
59647         * math/s_catanhl.c (__catanhl): Likewise.
59648         * math/libm-test.inc (catan_test): Add more tests.
59649         (catanh_test): Likewise.
59650         * sysdeps/i386/fpu/libm-test-ulps: Update.
59651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59653 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59655         * benchtests/Makefile: Mention files in which fast and slow
59656         paths of math functions are implemented.
59658 2013-04-23  Roland McGrath  <roland@hack.frob.com>
59660         * sysdeps/posix/timespec_get.c: New file.
59662 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59664         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
59665         POWER.
59666         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
59667         for POWER.
59668         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
59669         powerpc/power5/fpu folders.
59670         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
59671         * benchtests/Makefile: Add modf testcase.
59672         * benchtests/bench-modf.c: New file: Benchmark test for mo
59674 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
59676         [BZ #14888]
59677         * time/Makefile (tests): Add tst-strptime-whitespace.
59678         * time/strptime_l.c (get_number): Use ISSPACE.
59679         (__strptime_internal): Likewise.
59680         * time/tst-strptime-whitespace.c: New test case.
59682 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
59684         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
59685         member.
59686         (_nss_files_init): Set it here.
59688 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
59690         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
59691         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
59692         unsigned.
59694 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
59696         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
59698 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
59701         size just once.
59703 2013-04-21  David S. Miller  <davem@davemloft.net>
59705         * po/ru.po: Update Russion translation from translation project.
59707 2013-04-17  Adam Conrad  <adconrad@0c3.net>
59709         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
59710         and setfsgid.
59712 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
59714         * configure.in: Remove i386 configure warning. Remove i386 case.
59715         * configure: Regenerate.
59716         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
59717         Add example to error message.
59718         * sysdeps/i386/configure: Regenerate.
59720 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59722         * benchtests/Makefile (bench): Add cos, tan, slowcos and
59723         slowtan.
59724         * benchtests/cos-inputs: New file.
59725         * benchtests/slowcos-inputs: New file.
59726         * benchtests/slowcos.c: New file.
59727         * benchtests/slowtan-inputs: New file.
59728         * benchtests/slowtan.c: New file.
59729         * benchtests/tan-inputs: New file.
59731 2013-04-16  Roland McGrath  <roland@hack.frob.com>
59733         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
59734         considered kosher.
59736 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59738         * benchtests/Makefile: Include cppflags-iterator.mk to add
59739         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
59741         * Makefile.in (bench-clean): New target.
59742         * benchtests/Makefile (bench-clean): Likewise.
59744 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
59746         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
59748 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
59750         * stdio-common/tstdiomisc.c: Fix coding-style violation.
59752 2013-04-15  Andreas Schwab  <schwab@suse.de>
59754         * nscd/grpcache.c (cache_addgr): Properly check for short write.
59755         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59756         * nscd/pwdcache.c (cache_addpw): Likewise.
59757         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
59758         more than recsize.
59760 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59762         * benchtests/Makefile (bench): Write all output to
59763         bench-out.tmp together.
59765 2013-04-15  Andreas Schwab  <schwab@suse.de>
59767         * nscd/nscd.c (main): Don't fork again after closing files.
59769 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59771         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
59773         * benchtests/Rules (bench-deps): Collect dependencies into a
59774         single variable.  Add Makefile to dependencies.
59775         ($(objpfx)bench-%.c): Depend on bench-deps.
59777 2013-04-12  Roland McGrath  <roland@hack.frob.com>
59778             Xavier Roche  <roche+kml2@exalead.com>
59780         [BZ #15361]
59781         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
59782         just that it's a file descriptor.
59783         * manual/llio.texi (Synchronizing AIO Operations): Update description
59784         for EBADF error from aio_fsync.
59786 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59788         * Rules (bench): Move target definition...
59789         * benchtests/Makefile: ... here.
59791 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
59793         * math/libm-test.inc (cos_test): Fix PI/2 test.
59794         (sincos_test): Likewise.
59795         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
59796         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59798 2013-04-11  Andreas Schwab  <schwab@suse.de>
59800         [BZ #13988]
59801         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
59802         accept exponent character only when digits were seen.
59803         * stdio-common/Makefile (tests): Add bug26.
59804         * stdio-common/bug26.c: New file.
59806         [BZ #14293]
59807         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
59808         non-freeable.
59810 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59812         * Makeconfig (rtld-prefix): Define built linker prefix.
59813         * Rules (run-bench): Use it.
59814         * math/Makefile (run-regen-ulps): Likewise.
59816         * Rules (bench): Remove eval.
59818 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59819             Roland McGrath  <roland@hack.frob.com>
59820             Ondrej Bilka  <neleai@seznam.cz>
59822         [BZ #15346]
59823         * time/getdate.c: Include ctype.h and alloca.h.
59824         (__getdate_r): Trim leading and trailing spaces of input.
59825         * time/tst-getdate.c (tests): Add tests with leading and
59826         trailing spaces.
59828 2013-04-08  Roland McGrath  <roland@hack.frob.com>
59830         [BZ #14280]
59831         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
59832         when computing value.
59834 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59836         * math/README.libm-test (How can I generate "libm-test-ulps"?):
59837         Use testrun.sh to run libm tests.
59839         [BZ #15309]
59840         * elf/dl-open.c (dl_open_worker): memset all of seen array.
59842 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
59844         [BZ #15264]
59845         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
59847 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59849         * Makefile.in (regen-ulps): New target.
59850         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
59851         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
59852         [ifneq (no,$(PERL)] (regen-ulps): New target.
59853         [ifeq (no,$(PERL)] (regen-ulps): New target.
59854         * math/libm-test.inc (ulps_file_name): Define.
59855         (output_dir): New variable.
59856         (options): Add "output-dir" option.
59857         (parse_opt): Handle 'o' case.
59858         (main): If output_dir is non-NULL use it as a prefix
59859         otherwise use "".
59860         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
59862 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59864         [BZ #10060, #10062]
59865         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
59866         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
59867         fail configure if __sync_val_compare_and_swap is not inlined.
59868         * sysdeps/i386/configure: Regenerate.
59869         * configure.in: Build for i686 when configured for i386.
59870         * configure: Regenerate.
59871         * README: Remove i386 reference.
59873 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
59875         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
59876         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59878 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59880         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
59881         (lmsnanval): New variables.
59882         (F): Add conversion tests.
59883         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
59884         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
59886         * stdio-common/tstdiomisc.c (F): Properly collect individual
59887         tests' results.
59889         [BZ #14686, #15336]
59890         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
59891         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
59892         Instead, use input NaN values or generate a qNaN by arithmetic
59893         operation.  Also fix bugs to comply with the standard.
59894         * math/libm-test.inc (remainder_test): Add more tests.
59896         [BZ #15335, #15342]
59897         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
59898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
59899         input NaN values or generate a qNaN by arithmetic operation.
59901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
59902         unreachable code.
59904         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
59905         definitions.
59907 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
59909         [BZ #14478]
59910         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
59911         underflowed result.
59912         * math/s_cexpf.c (__cexpf): Likewise.
59913         * math/s_cexpl.c (__cexpl): Likewise.
59914         * math/libm-test.inc (cexp_test): Add more tests.
59916 2013-04-03  Andreas Schwab  <schwab@suse.de>
59918         [BZ #15330]
59919         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
59920         order arrays from heap if bigger than alloca cutoff.
59922 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
59924         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
59925         (SNAN_TESTS_double): Refer to GCC PR56831.
59926         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
59927         GCC PR56828.
59929 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59931         * Rules (bench): Move bench.out after the run is complete.
59933         * Rules (bench): Echo currently running benchmark.
59935         * benchtests/Makefile (bench): Add atan and slowatan.
59936         * benchtests/atan-inputs: New file.
59937         * benchtests/slowatan-inputs: New file.
59938         * benchtests/slowatan.c: New file.
59940         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
59941         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
59942         its value.
59944         [BZ #15305]
59945         * sysdeps/unix/sysv/linux/kernel-features.h
59946         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
59947         __ASSUME_XFS_RESTRICTED_CHOWN.
59948         * sysdeps/unix/sysv/linux/pathconf.c
59949         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
59950         Save and restore errno.
59952 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
59954         [BZ #15327]
59955         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
59956         arguments using __kernel_casinh.
59957         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
59958         arguments using __kernel_casinhf.
59959         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
59960         arguments using __kernel_casinhl.
59961         * math/libm-test.inc (cacosh_test): Add more tests.
59962         * sysdeps/i386/fpu/libm-test-ulps: Update.
59963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59965 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59967         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
59968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
59970         * bench/Makefile (bench): Add sin and slowsin.
59971         * benchtests/sin-inputs: New file.
59972         * benchtests/slowsin-inputs: New file.
59973         * benchtests/slowsin.c: New file.
59975         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
59976         (bench): Add slowexp and slowpow.
59977         (exp-ITER): Increase iterations.
59978         (pow-ITER): Likewise.
59979         * benchtests/exp-inputs: Change input.
59980         * benchtests/pow-inputs: Likewise.
59981         * benchtests/slowexp-inputs: New file.
59982         * benchtests/slowexp.c: New file.
59983         * benchtests/slowpow-inputs: New file.
59984         * benchtests/slowpow.c: New file.
59986 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59988         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
59989         instructions.
59990         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
59991         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
59992         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59993         * benchtests/Makefile: Add rint benchtest.
59994         * benchtests/rint-inputs: Input for rint benchtest.
59996 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59998         * Versions.def (libm): Add GLIBC_2.18.
59999         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
60000         hidden libm prototypes.
60001         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
60002         * math/Makefile (libm-calls): Add s_issignaling.
60003         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
60004         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
60005         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
60006         declaration.
60007         * math/math.h [__USE_GNU] (issignaling): New macro.
60008         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
60009         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
60010         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
60011         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
60012         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
60013         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
60014         * manual/arith.texi (issignaling): New section.
60015         * manual/libm-err-tab.pl (@all_functions): Update comment.
60016         * math/gen-libm-test.pl (parse_args): Apply special handling for
60017         issignaling.
60018         * math/libm-test.inc (print_float, issignaling_test): New
60019         functions.
60020         (check_float_internal): Add issignaling checks.
60021         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
60022         default definition.
60023         * sysdeps/powerpc/math-tests.h: New file.
60024         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
60025         tests.
60026         * math/test-snan.c (TEST_FUNC): Likewise.
60028 2013-03-30  David S. Miller  <davem@davemloft.net>
60030         * po/de.po: Update from translation team.
60032 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
60034         [BZ #10357]
60035         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60036         imaginary part less than 1.0 and real part less than 0.5
60037         specially.
60038         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60039         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60040         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
60041         (cacos_test): Add more tests.
60042         (casin_test): Likewise.
60043         (casinh_test): Likewise.
60044         * sysdeps/i386/fpu/libm-test-ulps: Update.
60045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60047 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60049         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
60050         ONE with its value.
60052         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
60053         (__pow_mp): Replace ONE and MONE with their values.
60054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60055         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
60056         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60057         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
60058         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60059         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60061         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
60063         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
60064         (__pow_mp): Replace ZERO and MZERO with their values.
60065         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60067         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60069         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60070         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
60071         (__sqr): Likewise.
60073         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
60075         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
60077 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60079         * include/stdlib.h [!SHARED] (__call_tls_dtors):
60080         Declare with __attribute__ ((weak)).
60081         * stdlib/exit.c (__libc_atexit) [!SHARED]:
60082         Call __call_tls_dtors only if it's not NULL.
60084 2013-03-28  Roland McGrath  <roland@hack.frob.com>
60086         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
60087         didn't do it already, then set _dl_phdr and _dl_phnum based on the
60088         magic __ehdr_start linker symbol if it's defined.
60089         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
60090         them up here if it was already done.
60092         * elf/dl-support.c (_dl_phdr): Make pointer to const.
60093         (_dl_aux_init): Use const in cast when setting it.
60094         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
60095         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
60096         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
60098         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
60099         Declare them here.
60100         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
60101         * csu/libc-tls.c: Nor here.
60102         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
60104         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
60105         (__libc_message): Never call vsyslog.
60107 2013-03-28  Alan Modra  <amodra@gmail.com>
60109         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
60110         Define as empty.
60111         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
60112         Likewise.
60114 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60116         [BZ #15214]
60117         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
60118         underflow.
60119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60121 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60123         [BZ #15304]
60124         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
60125         Don't add gid passed as argument.
60127         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
60129 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
60131         [BZ #15307]
60132         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60133         imaginary part between 1.0 and 1.5 and real part less than 0.5
60134         specially.
60135         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60136         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60137         * math/libm-test.inc (cacos_test): Add more tests.
60138         (casin_test): Likewise.
60139         (casinh_test): Likewise.
60140         * sysdeps/i386/fpu/libm-test-ulps: Update.
60141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60143 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60145         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
60146         constants.
60147         (norm): Likewise.
60148         (denorm): Likewise.
60149         (__dbl_mp): Likewise.
60150         (add_magnitudes): Likewise.
60151         (sub_magnitudes): Likewise.
60152         (__add): Likewise.
60153         (__sub): Likewise.
60154         (__mul): Likewise.
60155         (__sqr): Likewise.
60156         (__inv): Likewise.
60157         (__dvd): Likewise.
60159         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
60160         commented code.
60161         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
60162         (__dubcos): Likewise.
60163         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
60164         (__ieee754_acos): Likewise.
60165         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
60166         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
60167         (__exp1): Likewise.
60168         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
60169         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60170         (log1): Likewise.
60171         (my_log2): Likewise.
60172         (checkint): Likewise.
60173         * sysdeps/ieee754/dbl-64/e_remainder.c
60174         (__ieee754_remainder): Likewise.
60175         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
60176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
60177         (bsloww): Likewise.
60178         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60180         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60181         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
60182         MANTISSA_STORE_T to store computations on mantissa.  Use
60183         macros for rounding and division.
60184         (denorm): Likewise.
60185         (__dbl_mp): Likewise.
60186         (add_magnitudes): Likewise.
60187         (sub_magnitudes): Likewise.
60188         (__mul): Likewise.
60189         (__sqr): Likewise.
60190         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60191         powers of two in terms of TWOPOW macro.
60192         (mp_no): Make type of mantissa as MANTISSA_T.
60193         [!RADIXI]: Define RADIXI.
60194         [!TWO52]: Define TWO52.
60195         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60197 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60199         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
60200         llroundl symbol when building for PPC32.
60202 2013-03-24  Mark H Weaver  <mhw@netris.org>
60204         * manual/arith.texi (Normalization Functions): Fix prototypes for
60205         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
60207 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60209         [BZ #13889]
60210         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
60211         high value to check if expl overflow.
60212         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
60213         to check for underflow and overflow.
60214         * math/libm-test.inc: Add exp test.
60216 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
60218         [BZ #11120]
60219         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
60220         with NOT_IN_libc.
60222 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60224         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
60225         symbol.
60227 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60229         * math/gen-libm-test.pl (parse_args, special_functions): Properly
60230         wrap blocks consisting of several statements.
60232         * sysdeps/generic/math-tests.h: New file.
60233         * sysdeps/i386/fpu/math-tests.h: Likewise.
60234         * math/test-snan.c: Include it.
60235         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
60237 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60239         [BZ #15285]
60240         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
60241         (__ieee754_j0l): Do not improve calculations using cos of twice
60242         input for inputs above LDBL_MAX / 2.0L.
60243         (__ieee754_y0l): Likewise.
60244         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
60245         (__ieee754_j1l): Do not improve calculations using cos of twice
60246         input for inputs above LDBL_MAX / 2.0L.
60247         (__ieee754_y1l): Likewise.
60248         * math/libm-test.inc (j0_test): Add another test.
60249         (j1_test): Likewise.
60250         (y0_test): Likewise.
60251         (y1_test): Likewise.
60252         * sysdeps/i386/fpu/libm-test-ulps: Update.
60254 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60256         * Rules ($(objpfx)bench-%.c): Include code from a C source
60257         file.
60259 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
60261         [BZ #15287]
60262         * math/k_casinh.c (__kernel_casinh): Handle arguments with
60263         imaginary part 1.0 and real part less than 0.5 specially.
60264         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60265         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60266         * math/libm-test.inc (cacos_test): Add more tests.
60267         (casin_test): Likewise.
60268         (casinh_test): Likewise.
60269         * sysdeps/i386/fpu/libm-test-ulps: Update.
60270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60272 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60274         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
60275         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
60277 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
60279         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
60280         * config.make.in (config-cflags-sse4): Remove variable.
60281         (config-cflags-avx): Likewise.
60282         (config-cflags-sse2avx): Likewise.
60283         (config-cflags-novzeroupper): Likewise.
60284         (config-asflags-i686): Likewise.
60285         (have-mfma4): Likewise.
60286         (have-as-vis3): Likewise.
60287         (MIG): Likewise.
60288         * configure.in (MIG): Do not AC_SUBST.
60289         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
60290         (libc_cv_cc_sse4): Do not AC_SUBST.
60291         (libc_cv_cc_avx): Likewise.
60292         (libc_cv_cc_sse2avx): Likewise.
60293         (libc_cv_cc_novzeroupper): Likewise.
60294         (libc_cv_cc_fma4): Likewise.
60295         (libc_cv_as_i686): Likewise.
60296         (libc_cv_sparc_as_vis3): Likewise.
60297         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
60298         LIBC_CONFIG_VAR.
60299         (config-asflags-i686): Likewise.
60300         (config-cflags-avx): Likewise.
60301         (config-cflags-sse2avx): Likewise.
60302         (have-mfma4): Likewise.
60303         (config-cflags-novzeroupper): Likewise.
60304         * sysdeps/mach/configure.in (MIG): Likewise.
60305         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
60306         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
60307         LIBC_CONFIG_VAR.
60308         (config-cflags-avx): Likewise.
60309         (config-cflags-sse2avx): Likewise.
60310         (have-mfma4): Likewise.
60311         (config-cflags-novzeroupper): Likewise.
60312         * configure: Regenerated.
60313         * sysdeps/i386/configure: Likewise.
60314         * sysdeps/mach/configure: Likewise.
60315         * sysdeps/sparc/configure: Likewise.
60316         * sysdeps/x86_64/configure: Likewise.
60318 2013-03-20  Roland McGrath  <roland@hack.frob.com>
60320         [BZ #14812]
60321         * locale/programs/localedef.c (options): Put N_ translation marker
60322         on argument names, not just descriptions.
60324 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60326         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
60328 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
60330         [BZ #14176]
60331         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
60333 2013-03-19  Roland McGrath  <roland@hack.frob.com>
60335         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
60336         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
60337         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
60338         [!BEFORE_ABORT] (before_abort): New function.
60339         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
60340         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
60341         (writev_for_fatal): New function.
60342         (WRITEV_FOR_FATAL): New macro; call that.
60343         (backtrace_and_maps): New function.
60344         (BEFORE_ABORT): New macro; call that.
60345         (struct str_list): Type removed.
60346         (__libc_message, __libc_fatal): Functions removed.
60347         Include <sysdeps/posix/libc_fatal.c> instead.
60349 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
60351         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
60352         constants.
60353         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
60354         double constants.
60356 2013-03-19  Andreas Schwab  <schwab@suse.de>
60358         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
60359         * sysdeps/gnu/configure: Regenerate.
60361         * configure.in: Substitute libc_cv_rtlddir.
60362         * configure: Regenerate.
60363         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
60364         * Makeconfig (rtlddir, inst_rtlddir): New variables.
60365         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
60366         * elf/Makefile (install-others, CFLAGS-interp.c)
60367         (ldso_install, common-ldd-rewrite): Likewise.
60368         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
60369         $(inst_slibdir)/$(rtld-installed-name).
60370         * scripts/rellns-sh: Add -p option.
60371         * Makerules (make-shlib-link): Use rellns-sh to get relative name
60372         for source.
60374 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60376         * manual/nptl.texi: Renamed to ...
60377         * manual/threads.texi: ... this.
60378         * manual/Makefile (chapters): Update.
60380 2013-03-18  Roland McGrath  <roland@hack.frob.com>
60382         [BZ #14812]
60383         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
60384         on argument names, not just descriptions.
60385         * malloc/memusagestat.c (options): Likewise.
60386         * nss/getent.c (options): Likewise.
60388 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
60390         [BZ #14812]
60391         * iconv/iconv_prog.c (options): Put N_ translation marker
60392         on argument names, not just descriptions.
60393         * iconv/iconvconfig.c (options): Likewise.
60395 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
60397         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
60398         implementation which is faster on all x86_64 architectures.
60399         Tested on AMD, Intel Nehalem, SNB, IVB.
60400         * sysdeps/x86_64/strnlen.S: Likewise.
60402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60403         Remove all multiarch strlen and strnlen versions.
60404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
60405         Remove strlen and strnlen related parts.
60407         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
60408         Inline strlen part.
60409         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
60411         * sysdeps/x86_64/multiarch/strlen.S: Remove.
60412         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
60413         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
60414         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
60415         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60416         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
60418 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
60420         * manual/memory.texi (Malloc Tunable Parameters):
60421         Sort parameters alphabetically. Add comments for missing entries.
60423 2013-03-17  David S. Miller  <davem@davemloft.net>
60425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60427 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
60429         [BZ #15283]
60430         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
60431         for arguments at most half maximum finite value.
60432         * math/libm-test.inc (j0_test): Add more tests.
60433         (j1_test): Likewise.
60434         (y0_test): Likewise.
60435         (y1_test): Likewise.
60436         * sysdeps/i386/fpu/libm-test-ulps: Update.
60437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60439         [BZ #14155]
60440         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
60441         1 / x and functions P and Q for arguments above 0x1p256L.
60442         (__ieee754_y0l): Likewise.
60443         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
60444         (__ieee754_y1l): Likewise.
60445         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
60446         (j1_test): Likewise.
60447         (y0_test): Likewise.
60448         (y1_test): Likewise.
60450 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
60452         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
60453         variable.
60455 2013-03-15  Roland McGrath  <roland@hack.frob.com>
60457         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
60458         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
60459         zero since it's initialized to EXEC_PAGESIZE.
60461         * sysdeps/unix/sysv/linux/ldsodefs.h
60462         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
60463         * sysdeps/generic/ldsodefs.h: ... here.
60465 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
60467         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
60469         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
60470         math/test-snan.c.
60471         * math/test-snan.c: Renamed from
60472         sysdeps/powerpc/fpu/test-powerpc-snan.c.
60473         * math/Makefile (tests): Add test-snan.
60474         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
60475         test-powerpc-snan.
60477         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
60478         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
60479         functions.
60480         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
60481         __builtin_nan family of functions.
60482         * math/libm-test.inc (initialize): Initialize qnan_value with
60483         __builtin_nan family of functions.
60484         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
60485         Remove variables.
60486         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
60487         Remove functions.
60488         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
60489         storage class.  Initialize qNaN_var and sNaN_var with
60490         __builtin_nan and __builtin_nans families of functions,
60491         respectively.
60493         * math/libm-test.inc (acosh_test): Also test with qNaN input.
60494         (sqrt_test): Remove duplicate test with qNaN input.
60495         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
60496         (round_test, signbit_test, significand_test): Note missing +/-Inf
60497         as well as qNaN tests.
60499         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
60500         qNaN_var.  Fix a few strings, too.
60501         * math/libm-test.inc (nan_value): Rename to qnan_value.
60502         * math/gen-libm-test.pl (%beautify): Adjust to that.
60503         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
60504         * math/test-misc.c (main): Likewise.
60505         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
60506         to __qnan_bytes, and __qnan_union, respectively.
60507         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
60508         Likewise.
60509         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
60510         and lqnanval, respectively.
60511         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
60512         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
60513         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
60514         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
60516         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
60517         * math/test-misc.c (main) [__x86_64__]: Enable test for long
60518         doubles.
60520         * math/test-misc.c (main): Fix copy'n'pastos.
60521         * misc/tst-efgcvt.c (special): Likewise.
60523         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
60524         Remove declarations.
60526 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60528         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
60529         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
60530         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
60531         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
60533 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
60536         macro to return vdso values correctly in IFUNC implementations.
60537         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
60538         Optimization by using IFUNC.
60540 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60541             Richard Henderson  <rth@redhat.com>
60542             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60544         * Makefile.in (bench): New target.
60545         * NEWS: Mention the benchmark framework.
60546         * Rules (bench): Likewise.
60547         (binaries-bench): Generate binaries for functions to
60548         benchmark.
60549         * benchtests/Makefile: New makefile for benchmark tests.
60550         * benchtests/bench-skeleton.c: New skeleton file for benchmark
60551         programs.
60552         * benchtests/exp-inputs: New input file for EXP function.
60553         * benchtests/pow-inputs: New input file for POW function.
60554         * scripts/bench.pl: New script to generate source files for
60555         benchmark programs.
60557 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60559         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
60560         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
60561         computations on mantissa.  Use macros for rounding and
60562         division.
60563         (denorm): Likewise.
60564         (__dbl_mp): Likewise.
60565         (add_magnitudes): Likewise.
60566         (sub_magnitudes): Likewise.
60567         (__mul): Likewise.
60568         (__sqr): Likewise.
60569         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
60570         powers of two in terms of TWOPOW macro.
60571         (mp_no): Make type of mantissa as MANTISSA_T.
60572         [!RADIXI]: Define RADIXI.
60573         [!TWO52]: Define TWO52.
60574         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
60576         * manual/nptl.texi (cindex): Modify threads to pthreads.
60578 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
60580         * sysdeps/x86_64/preconfigure: Regenerated.
60582 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
60584         [BZ #14155]
60585         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
60586         0x1p28 and above.
60587         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
60588         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
60589         0x1p28 and above.
60590         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
60591         * math/libm-test.inc (j0_test): Do not allow one spurious
60592         underflow exception.
60593         (y1_test): Likewise.
60595 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60597         * manual/Makefile (chapters): Add nptl.
60598         * manual/debug.texi (Debugging Support): Add link to Threads
60599         chapter.
60600         * manual/nptl.texi: New file.
60602         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
60604 2013-03-14  Petr Baudis  <pasky@ucw.cz>
60606         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
60607         for non-NULL pointer before the memory validity test. Pointed
60608         out by Holger Brunck <holger.brunck@keymile.com>.
60610 2013-03-13  Andreas Schwab  <schwab@suse.de>
60612         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
60613         instead of .os.
60615 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
60617         * timezone/zic.c: Update from tzcode 2013b.
60619 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
60621         * manual/install.texi (Configuring and compiling):
60622         Mention i686 and i586.
60623         * INSTALL: Regenerate.
60625 2013-03-12  Roland McGrath  <roland@hack.frob.com>
60627         * sysdeps/init_array/elf-init.c: New file.
60628         * csu/elf-init.c
60629         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
60630         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
60632         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
60633         __gmon_start__ as global, but as static with a .preinit_array pointer.
60634         * sysdeps/init_array/gmon-start.c: New file.  Use that.
60635         * sysdeps/init_array/crti.S: New file, empty except for comments.
60636         * sysdeps/init_array/crtn.S: Likewise.
60638 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
60640         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
60641         definining bcopy.
60642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60643         Remove Prefer_SSE_for_memop.
60644         * sysdeps/x86_64/multiarch/init-arch.h: Remove
60645         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
60646         HAS_PREFER_SSE_FOR_MEMOP.
60647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
60648         memset-x86-64.
60649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60650         Remove bzero, memset ifunc support.
60651         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
60652         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
60653         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60654         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60656 2013-03-11  Andreas Schwab  <schwab@suse.de>
60658         [BZ #15234]
60659         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
60660         by SHLIB_COMPAT.
60661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
60662         (GLIBC_2.16): Remove pthread_atfork.
60664 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
60666         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
60667         (ptestcases.h): Likewise.
60669 2013-03-08  Roland McGrath  <roland@hack.frob.com>
60671         * Makeconfig ($(common-objpfx)config.status): Depend on
60672         sysdeps/*/preconfigure{,.in} too.
60674 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
60676         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
60677         (__free_hook): Use void * instead of __malloc_ptr_t.
60678         (__malloc_hook): Likewise.
60679         (__realloc_hook): Likewise.
60680         (__memalign_hook): Likewise.
60681         (__after_morecore_hook): Likewise.
60682         * malloc/arena.c (save_malloc_hook): Likewise.
60683         (save_free_hook): Likewise.
60684         * malloc/hooks.c (malloc_hook_ini): Likewise.
60685         (realloc_hook_ini): Likewise.
60686         (memalign_hook_ini): Likewise.
60687         * malloc/malloc.c (malloc_hook_ini): Likewise.
60688         (realloc_hook_ini): Likewise.
60689         (memalign_hook_ini): Likewise.
60690         (__free_hook): Likewise.
60691         (__malloc_hook): Likewise.
60692         (__realloc_hook): Likewise.
60693         (__memalign_hook): Likewise.
60694         (__libc_malloc): Likewise.
60695         (__libc_free): Likewise.
60696         (__libc_realloc): Likewise.
60697         (__libc_memalign): Likewise.
60698         (__libc_valloc): Likewise.
60699         (__libc_pvalloc): Likewise.
60700         (__libc_calloc): Likewise.
60701         (__posix_memalign): Likewise.
60702         * malloc/morecore.c (__sbrk): Likewise.
60703         (__default_morecore): Likewise.
60705         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
60707         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
60708         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
60709         __malloc_ptrdiff_t.
60711         * malloc/malloc.h (__malloc_size_t): Remove macro.
60712         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
60713         __malloc_size_t.
60714         (old_memalign_hook): Likewise.
60715         (old_realloc_hook): Likewise.
60716         (struct hdr): Likewise.
60717         (flood): Likewise.
60718         (mallochook): Likewise.
60719         (memalignhook): Likewise.
60720         (reallochook): Likewise.
60721         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
60722         (tr_old_realloc_hook): Likewise.
60723         (tr_old_memalign_hook): Likewise.
60724         (tr_mallochook): Likewise.
60725         (tr_reallochook): Likewise.
60726         (tr_memalignhook): Likewise.
60728 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
60731         default_ldbl_pack and using as default implementation.
60732         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
60733         implementation.
60734         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
60735         redundant definition.
60736         (ldbl_insert_mantissa): Likewise.
60737         (ldbl_canonicalize): Likewise.
60738         (ldbl_nearbyint): Likewise.
60739         (ldbl_pack): Rename to ldbl_pack_ppc.
60740         (ldbl_unpack): Rename to ldbl_unpack_ppc.
60741         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
60742         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
60744 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
60747         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
60748         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
60749         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
60750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
60751         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
60752         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
60753         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
60755 2013-03-07  Andreas Jaeger  <aj@suse.de>
60757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60758         bits/mman-linux.h.
60760 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60762         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
60763         Include mpa.h and declare __MPEXP.
60764         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
60765         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60766         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60767         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
60768         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60769         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
60770         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
60772         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
60773         (__slowpow): Use long double EXPL and LOGL functions to
60774         compute POW.
60775         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
60776         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60777         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
60778         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
60779         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
60780         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
60782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
60783         intermediate variable to calculate exponent.
60784         (__sqr): Likewise.
60785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60786         Likewise.
60787         (__sqr): Likewise.
60789         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
60790         [!NO__SQR]: Define __sqr.
60791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
60792         and NO__SQR.  Remove all code except __mul and __sqr.  Include
60793         sysdeps/ieee754/dbl-64/mpa.c.
60794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60796         [BZ #12723]
60797         * posix/Makefile (tests): Add tst-pathconf.
60798         * posix/tst-pathconf.c: New test case.
60799         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
60800         _PC_PIPE_BUF.
60801         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
60803 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
60805         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
60807 2013-03-06  Andreas Jaeger  <aj@suse.de>
60809         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
60810         definition via __MAP_ANONYMOUS.
60812         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
60813         it's not part of Linux headers.
60815         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
60816         (MAP_HUGE_MASK): Define.
60818         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60819         Define.
60820         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60822         Define.
60823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60824         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
60825         Define.
60826         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60827         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
60828         Define.
60829         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
60831         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
60832         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
60833         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
60834         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
60835         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
60836         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
60838         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60839         Handle f2fs.
60841         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60842         Handle f2fs and efivarfs.
60844         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
60845         f2fs.
60847         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
60848         (EFIVARFS_MAGIC): Add.
60849         (F2FS_LINK_MAX): Add.
60851 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60853         * stdio-common/vfprintf.c: Replace __builtin_expect with
60854         __glibc_unlikely.
60856 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
60858         [BZ #13550]
60859         * sysdeps/generic/bp-sym.h: Remove file.
60860         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
60861         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
60862         <bp-sym.h> and <bp-asm.h>.
60863         (__longjmp): Don't use BP_SYM.
60864         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
60865         and <bp-asm.h>.
60866         (memcpy): Don't use BP_SYM.
60867         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
60868         <bp-sym.h> and <bp-asm.h>.
60869         (memcpy): Don't use BP_SYM.
60870         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
60871         <bp-asm.h>.
60872         (memcpy): Don't use BP_SYM.
60873         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
60874         <bp-asm.h>.
60875         (memset): Don't use BP_SYM.
60876         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60877         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60878         (__bzero): Don't use BP_SYM.
60879         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60880         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60881         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
60882         <bp-sym.h> and <bp-asm.h>.
60883         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60884         pointers.
60885         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
60886         <bp-sym.h> and <bp-asm.h>.
60887         (memcpy): Don't use BP_SYM.
60888         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
60889         <bp-sym.h> and <bp-asm.h>.
60890         (memset): Don't use BP_SYM.
60891         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60892         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60893         (__bzero): Don't use BP_SYM.
60894         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60895         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60896         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
60897         <bp-sym.h> and <bp-asm.h>.
60898         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60899         pointers.
60900         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
60901         <bp-sym.h> and <bp-asm.h>.
60902         (memcpy): Don't use BP_SYM.
60903         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
60904         <bp-sym.h> and <bp-asm.h>.
60905         (memset): Don't use BP_SYM.
60906         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
60907         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
60908         (__bzero): Don't use BP_SYM.
60909         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
60910         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
60911         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
60912         <bp-sym.h> and <bp-asm.h>.
60913         (__memchr): Don't use BP_SYM.
60914         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
60915         <bp-sym.h> and <bp-asm.h>.
60916         (memcmp): Don't use BP_SYM.  Remove comment about bounded
60917         pointers.
60918         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
60919         <bp-sym.h> and <bp-asm.h>.
60920         (memcpy): Don't use BP_SYM.
60921         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
60922         <bp-sym.h> and <bp-asm.h>.
60923         (__mempcpy): Don't use BP_SYM.
60924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
60925         <bp-sym.h> and <bp-asm.h>.
60926         (__memrchr): Don't use BP_SYM.
60927         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
60928         <bp-sym.h> and <bp-asm.h>.
60929         (memset): Don't use BP_SYM.
60930         (__bzero): Likewise.
60931         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
60932         <bp-sym.h> and <bp-asm.h>.
60933         (__rawmemchr): Don't use BP_SYM.
60934         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
60935         <bp-sym.h> and <bp-asm.h>.
60936         (__STRCMP): Don't use BP_SYM.
60937         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
60938         <bp-sym.h> and <bp-asm.h>.
60939         (strchr): Don't use BP_SYM.
60940         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
60941         <bp-sym.h> and <bp-asm.h>.
60942         (__strchrnul): Don't use BP_SYM.
60943         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
60944         <bp-sym.h> and <bp-asm.h>.
60945         (strlen): Don't use BP_SYM.
60946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
60947         <bp-sym.h> and <bp-asm.h>.
60948         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60949         pointers.
60950         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
60951         <bp-sym.h> and <bp-asm.h>.
60952         (__strnlen): Don't use BP_SYM.
60953         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
60954         <bp-sym.h> and <bp-asm.h>.
60955         (__GI__setjmp): Don't use BP_SYM.
60956         (_setjmp): Likewise.
60957         (__sigsetjmp): Likewise.
60958         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
60959         (L(start_addresses)): Don't use BP_SYM.
60960         (_start): Likewise.
60961         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
60962         <bp-asm.h>.
60963         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
60964         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
60965         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60966         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60967         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
60968         <bp-asm.h>.
60969         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
60970         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
60971         about bounded pointers.
60972         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60973         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60974         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
60975         <bp-asm.h>.
60976         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60977         about bounded pointers.  Remove GKM FIXME comments.
60978         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60979         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
60980         <bp-asm.h>.
60981         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
60982         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
60983         Remove GKM FIXME comments.
60984         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60985         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60986         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
60987         <bp-asm.h>.
60988         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
60989         about bounded pointers.  Remove GKM FIXME comment.
60990         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
60991         and <bp-asm.h>.
60992         (strncmp): Don't use BP_SYM.  Remove comment about bounded
60993         pointers.
60994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
60995         <bp-sym.h> and <bp-asm.h>.
60996         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
60998         <bp-sym.h> and <bp-asm.h>.
60999         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61000         comment.
61002 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61004         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
61005         call free(NULL).
61007 2013-03-05  David S. Miller  <davem@davemloft.net>
61009         * po/es.po: Update from translation team.
61011 2013-03-05  Andreas Jaeger  <aj@suse.de>
61013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
61014         <bits/mman-linux.h>.
61015         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61016         is fine.
61017         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
61018         <bits/mman-linux.h> to end of file.
61019         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61020         is fine.
61021         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
61022         <bits/mman-linux.h> to end of file.
61023         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
61024         is fine.
61025         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
61026         <bits/mman-linux.h> to end of file.
61028         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
61029         (MCL_CURRENT, MCL_FUTURE): Define here.
61031 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61033         [BZ #15232]
61034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
61035         attribute_hidden.
61036         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61038 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61040         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
61041         fourth parameter needed for rt_sigprocmask syscall.
61042         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
61043         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
61044         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
61045         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
61046         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
61047         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
61049 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
61051         [BZ #13550]
61052         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
61053         comment about bounded pointers.
61054         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
61055         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
61057 2013-03-04  Andreas Jaeger  <aj@suse.de>
61059         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
61060         common definitions.
61062         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
61063         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
61064         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
61065         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61066         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61069 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61071         [BZ #15055]
61072         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
61073         __ieee754_sqrl instead of __sqrl.
61075 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
61077         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
61078         * sysdeps/powerpc/fpu_control.h: ... here.
61079         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
61080         * sysdeps/powerpc/bits/fenvinline.h: ... here.
61081         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
61082         * sysdeps/powerpc/bits/mathinline.h: ... here.
61084 2013-03-01  Roland McGrath  <roland@hack.frob.com>
61086         * elf/dl-hwcaps.c (_dl_important_hwcaps):
61087         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
61088         to just [NEED_DL_SYSINFO_DSO].
61089         * elf/dl-support.c: Likewise.
61090         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
61091         * elf/rtld.c (dl_main): Likewise.
61092         * elf/setup-vdso.h (setup_vdso): Likewise.
61093         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
61094         * sysdeps/unix/sysv/linux/dl-sysdep.c
61095         (_dl_discover_osversion): Likewise.
61097 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
61099         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
61100         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61102 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
61104         * NEWS: Mention libm performance improvements and non-x86 PI
61105         futex support.
61107         * csu/libc-start.c (__pthread_initialize_minimal): Change
61108         function arguments.
61109         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
61111 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
61113         [BZ #13550]
61114         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
61115         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
61116         <bp-sym.h> and <bp-asm.h>.
61117         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61118         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
61119         and <bp-asm.h>.
61120         (memcpy): Don't use BP_SYM.
61121         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
61122         <bp-asm.h>.
61123         (__mpn_add_n): Don't use BP_SYM.
61124         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
61125         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
61126         and <bp-asm.h>.
61127         (__mpn_addmul_1): Don't use BP_SYM.
61128         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61129         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
61130         <bp-sym.h>.
61131         (_setjmp): Don't use BP_SYM.
61132         (__novmx_setjmp): Likewise.
61133         (__GI__setjmp): Likewise.
61134         (__vmx_setjmp): Likewise.
61135         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
61136         <bp-sym.h>.
61137         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
61138         (__bzero): Don't use BP_SYM.
61139         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61140         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61141         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
61142         <bp-sym.h> and <bp-asm.h>.
61143         (memcpy): Don't use BP_SYM.
61144         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
61145         <bp-sym.h> and <bp-asm.h>.
61146         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61147         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
61148         <bp-sym.h> and <bp-asm.h>.
61149         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
61150         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
61151         <bp-asm.h>.
61152         (__mpn_lshift): Don't use BP_SYM.
61153         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61154         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
61155         <bp-asm.h>.
61156         (memset): Don't use BP_SYM.
61157         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61158         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61159         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
61160         <bp-asm.h>.
61161         (__mpn_mul_1): Don't use BP_SYM.
61162         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61163         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
61164         <bp-sym.h> and <bp-asm.h>.
61165         (memcmp): Don't use BP_SYM.
61166         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
61167         <bp-sym.h> and <bp-asm.h>.
61168         (memcpy): Don't use BP_SYM.
61169         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
61170         <bp-sym.h> and <bp-asm.h>.
61171         (memset): Don't use BP_SYM.
61172         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
61173         <bp-sym.h> and <bp-asm.h>.
61174         (strncmp): Don't use BP_SYM.
61175         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
61176         <bp-sym.h> and <bp-asm.h>.
61177         (memcpy): Don't use BP_SYM.
61178         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
61179         <bp-sym.h> and <bp-asm.h>.
61180         (memset): Don't use BP_SYM.
61181         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
61182         <bp-sym.h> and <bp-asm.h>.
61183         (__memchr): Don't use BP_SYM.
61184         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
61185         <bp-sym.h> and <bp-asm.h>.
61186         (memcmp): Don't use BP_SYM.
61187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
61188         <bp-sym.h> and <bp-asm.h>.
61189         (memcpy): Don't use BP_SYM.
61190         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
61191         <bp-sym.h> and <bp-asm.h>.
61192         (__mempcpy): Don't use BP_SYM.
61193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
61194         <bp-sym.h> and <bp-asm.h>.
61195         (__memrchr): Don't use BP_SYM.
61196         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
61197         <bp-sym.h> and <bp-asm.h>.
61198         (memset): Don't use BP_SYM.
61199         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
61200         <bp-sym.h> and <bp-asm.h>.
61201         (__rawmemchr): Don't use BP_SYM.
61202         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
61203         <bp-sym.h> and <bp-asm.h>.
61204         (__STRCMP): Don't use BP_SYM.
61205         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
61206         <bp-sym.h> and <bp-asm.h>.
61207         (strchr): Don't use BP_SYM.
61208         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
61209         <bp-sym.h> and <bp-asm.h>.
61210         (__strchrnul): Don't use BP_SYM.
61211         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
61212         <bp-sym.h> and <bp-asm.h>.
61213         (strlen): Don't use BP_SYM.
61214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
61215         <bp-sym.h> and <bp-asm.h>.
61216         (strncmp): Don't use BP_SYM.
61217         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
61218         <bp-sym.h> and <bp-asm.h>.
61219         (__strnlen): Don't use BP_SYM.
61220         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
61221         <bp-asm.h>.
61222         (__mpn_rshift): Don't use BP_SYM.
61223         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61224         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
61225         <bp-sym.h> and <bp-asm.h>.
61226         (__sigsetjmp): Don't use BP_SYM.
61227         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
61228         (L(start_addresses)): Don't use BP_SYM.
61229         (_start): Likewise.
61230         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
61231         <bp-asm.h>.
61232         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
61233         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61234         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61235         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
61236         <bp-asm.h>.
61237         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
61238         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61239         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61240         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
61241         <bp-asm.h>.
61242         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61243         comments.
61244         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61245         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
61246         <bp-asm.h>.
61247         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
61248         FIXME comments.
61249         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61250         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61251         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
61252         <bp-asm.h>.
61253         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
61254         comment.
61255         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
61256         and <bp-asm.h>.
61257         (strncmp): Don't use BP_SYM,
61258         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
61259         <bp-asm.h>.
61260         (__mpn_sub_n): Don't use BP_SYM.
61261         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61262         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
61263         and <bp-asm.h>.
61264         (__mpn_submul_1): Don't use BP_SYM.
61265         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
61267         <bp-sym.h> and <bp-asm.h>.
61268         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
61270         <bp-sym.h> and <bp-asm.h>.
61271         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
61272         comment.
61274 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
61277         Use ZK to minimize writes to Z.
61278         (sub_magnitudes): Simplify code a bit.
61279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
61280         Use ZK to minimize writes to Z.
61281         (sub_magnitudes): Simplify code a bit.
61283 2013-02-27  Roland McGrath  <roland@hack.frob.com>
61285         * csu/gmon-start.c: Add special exception to license text.
61287 2013-02-27  Richard Henderson  <rth@redhat.com>
61289         * scripts/config.guess: Update from config.git.
61290         * scripts/config.sub: Likewise.
61292 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61294         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
61296         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
61298         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
61300         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
61302         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
61304 2013-02-26  Roland McGrath  <roland@hack.frob.com>
61306         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
61307         [$(build-shared = yes].
61309 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61311         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
61312         (__mul): Reduce iterations for calculating mantissa.
61314         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
61315         MPTWO.
61316         (__mpranred): Likewise.
61318         [BZ #15160]
61319         * malloc/memusagestat.c (main): Draw graphs for heap and stack
61320         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
61322 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
61324         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
61325         Define __attribute__.
61327 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61329         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
61330         unused.
61331         * posix/regex_internal.h (__attribute): Remove.
61332         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
61333         (re_string_context_at): Likewise.
61334         (bitset_not): Use __attribute__ and mark function as possibly
61335         unused.
61336         (bitset_merge): Likewise.
61337         (bitset_mask): Likewise.
61338         (re_string_char_size_at): Likewise.
61339         (re_string_wchar_at): Likewise.
61340         (re_string_elem_size_at): Likewise.
61342 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61344         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
61345         code.
61346         (cc32): Likewise.
61348         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
61349         (__acr): Likewise.
61350         (__cpy): Likewise.
61351         (norm): Likewise.
61352         (denorm): Likewise.
61353         (__dbl_mp): Likewise.
61354         (add_magnitudes): Likewise.
61355         (sub_magnitudes): Likewise.
61356         (__mul): Likewise.
61357         (__inv): Likewise.
61359         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
61360         style.
61362         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
61363         style.
61365         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
61366         code.
61368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
61369         up changes with default code.
61370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
61371         Likewise.
61373 2013-02-24  Allan McRae  <allan@archlinux.org>
61375         * manual/socket.texi (The Internet Namespace): Order menu items
61376         to match that in the file.
61378         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
61379         node listing of the info page menu.
61381 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
61383         [BZ #13550]
61384         * sysdeps/i386/bp-asm.h: Remove file.
61385         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61386         (PARMS): Do not use macros from bp-asm.h.
61387         (S1): Likewise.
61388         (S2): Likewise.
61389         (SIZE): Likewise.
61390         (__mpn_add_n): Do not use BP_SYM
61391         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
61392         "bp-asm.h".
61393         (PARMS): Do not use macros from bp-asm.h.
61394         (S1): Likewise.
61395         (SIZE): Likewise.
61396         (__mpn_addmul_1): Do not use BP_SYM
61397         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
61398         "bp-asm.h".
61399         (PARMS): Do not use macros from bp-asm.h.
61400         (SIGMSK): Likewise.
61401         (_setjmp): Likewise.  Do not use BP_SYM.
61402         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
61403         "bp-asm.h".
61404         (PARMS): Do not use macros from bp-asm.h.
61405         (SIGMSK): Likewise.
61406         (setjmp): Likewise.  Do not use BP_SYM.
61407         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
61408         "bp-asm.h".
61409         (PARMS): Do not use macros from bp-asm.h.
61410         (__frexp): Do not use BP_SYM.
61411         (frexp): Likewise.
61412         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
61413         "bp-asm.h".
61414         (PARMS): Do not use macros from bp-asm.h.
61415         (__frexpf): Do not use BP_SYM.
61416         (frexpf): Likewise.
61417         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
61418         "bp-asm.h".
61419         (PARMS): Do not use macros from bp-asm.h.
61420         (__frexpl): Do not use BP_SYM.
61421         (frexpl): Likewise.
61422         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
61423         "bp-asm.h".
61424         (PARMS): Do not use macros from bp-asm.h.
61425         (__remquo): Do not use BP_SYM.
61426         (remquo): Likewise.
61427         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
61428         "bp-asm.h".
61429         (PARMS): Do not use macros from bp-asm.h.
61430         (__remquof): Do not use BP_SYM.
61431         (remquof): Likewise.
61432         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
61433         "bp-asm.h".
61434         (PARMS): Do not use macros from bp-asm.h.
61435         (__remquol): Do not use BP_SYM.
61436         (remquol): Likewise.
61437         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
61438         "bp-asm.h".
61439         (PARMS): Do not use macros from bp-asm.h.
61440         (DEST): Likewise.
61441         (SRC): Likewise.
61442         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
61443         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
61444         "bp-asm.h".
61445         (PARMS): Do not use macros from bp-asm.h.
61446         (strlen): Do not use BP_SYM.
61447         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
61448         "bp-asm.h".
61449         (PARMS): Do not use macros from bp-asm.h.
61450         (S1): Likewise.
61451         (S2): Likewise.
61452         (SIZE): Likewise.
61453         (__mpn_add_n): Do not use BP_SYM.
61454         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
61455         "bp-asm.h".
61456         (PARMS): Do not use macros from bp-asm.h.
61457         (S1): Likewise.
61458         (SIZE): Likewise.
61459         (__mpn_addmul_1): Do not use BP_SYM.
61460         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
61461         weak_alias.
61462         (bzero): Likewise.
61463         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
61464         "bp-asm.h".
61465         (PARMS): Do not use macros from bp-asm.h.
61466         (S): Likewise.
61467         (SIZE): Likewise.
61468         (__mpn_lshift): Do not use BP_SYM.
61469         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
61470         "bp-asm.h".
61471         (PARMS): Do not use macros from bp-asm.h.
61472         (DEST): Likewise.
61473         (SRC): Likewise.
61474         (LEN): Likewise.
61475         (memcpy): Likewise.  Do not use BP_SYM.
61476         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
61477         libc_hidden_def and weak_alias.
61478         (mempcpy): Do not use BP_SYM in weak_alias.
61479         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
61480         "bp-asm.h".
61481         (PARMS): Do not use macros from bp-asm.h.
61482         (DEST): Likewise.
61483         (LEN): Likewise.
61484         [!BZERO_P] (CHR): Likewise.
61485         (memset): Likewise.  Do not use BP_SYM.
61486         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
61487         "bp-asm.h".
61488         (PARMS): Do not use macros from bp-asm.h.
61489         (S1): Likewise.
61490         (SIZE): Likewise.
61491         (__mpn_mul_1): Do not use BP_SYM.
61492         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
61493         "bp-asm.h".
61494         (PARMS): Do not use macros from bp-asm.h.
61495         (S): Likewise.
61496         (SIZE): Likewise.
61497         (__mpn_rshift): Do not use BP_SYM.
61498         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
61499         "bp-asm.h".
61500         (PARMS): Do not use macros from bp-asm.h.
61501         (STR): Likewise.
61502         (CHR): Likewise.
61503         (strchr): Likewise.  Do not use BP_SYM.
61504         (index): Do not use BP_SYM in weak_alias.
61505         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
61506         "bp-asm.h".
61507         (PARMS): Do not use macros from bp-asm.h.
61508         (DEST): Likewise.
61509         (SRC): Likewise.
61510         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
61511         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
61512         "bp-asm.h".
61513         (PARMS): Do not use macros from bp-asm.h.
61514         (strlen): Do not use BP_SYM.
61515         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
61516         "bp-asm.h".
61517         (PARMS): Do not use macros from bp-asm.h.
61518         (S1): Likewise.
61519         (S2): Likewise.
61520         (SIZE): Likewise.
61521         (__mpn_sub_n): Do not use BP_SYM.
61522         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
61523         "bp-asm.h".
61524         (PARMS): Do not use macros from bp-asm.h.
61525         (S1): Likewise.
61526         (SIZE): Likewise.
61527         (__mpn_submul_1): Do not use BP_SYM.
61528         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
61529         "bp-asm.h".
61530         (PARMS): Do not use macros from bp-asm.h.
61531         (S1): Likewise.
61532         (S2): Likewise.
61533         (SIZE): Likewise.
61534         (__mpn_add_n): Do not use BP_SYM.
61535         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
61536         weak_alias.
61537         (bzero): Likewise.
61538         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
61539         "bp-asm.h".
61540         (PARMS): Do not use macros from bp-asm.h.
61541         (BLK2): Likewise.
61542         (LEN): Likewise.
61543         (memcmp): Do not use BP_SYM.
61544         (bcmp): Do not use BP_SYM in weak_alias.
61545         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
61546         "bp-asm.h".
61547         (PARMS): Do not use macros from bp-asm.h.
61548         (DEST): Likewise.
61549         (SRC): Likewise.
61550         (LEN): Likewise.
61551         (memcpy): Likewise.  Do not use BP_SYM.
61552         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
61553         "bp-asm.h".
61554         (PARMS): Do not use macros from bp-asm.h.
61555         (DEST): Likewise.
61556         (SRC): Likewise.
61557         (LEN): Likewise.
61558         (memmove): Likewise.  Do not use BP_SYM.
61559         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
61560         "bp-asm.h".
61561         (PARMS): Do not use macros from bp-asm.h.
61562         (DEST): Likewise.
61563         (SRC): Likewise.
61564         (LEN): Likewise.
61565         (__mempcpy): Likewise.  Do not use BP_SYM.
61566         (mempcpy): Do not use BP_SYM in weak_alias.
61567         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
61568         "bp-asm.h".
61569         (PARMS): Do not use macros from bp-asm.h.
61570         (DEST): Likewise.
61571         (LEN): Likewise.
61572         [!BZERO_P] (CHR): Likewise.
61573         (memset): Likewise.  Do not use BP_SYM.
61574         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
61575         "bp-asm.h".
61576         (PARMS): Do not use macros from bp-asm.h.
61577         (STR2): Likewise.
61578         (strcmp): Do not use BP_SYM.
61579         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
61580         "bp-asm.h".
61581         (PARMS): Do not use macros from bp-asm.h.
61582         (STR): Likewise.
61583         (DELIM): Likewise.
61584         [USE_AS_STRTOK_R] (SAVE): Likewise.
61585         (FUNCTION): Likewise.  Do not use BP_SYM.
61586         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
61587         aliases.
61588         (strtok_r): Likewise.
61589         (__GI___strtok_r): Likewise.
61590         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61591         (PARMS): Do not use macros from bp-asm.h.
61592         (S): Likewise.
61593         (SIZE): Likewise.
61594         (__mpn_lshift): Do not use BP_SYM.
61595         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61596         (PARMS): Do not use macros from bp-asm.h.
61597         (STR): Likewise.
61598         (CHR): Likewise.
61599         (__memchr): Do not use BP_SYM.
61600         (memchr): Do not use BP_SYM in weak_alias.
61601         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61602         (PARMS): Do not use macros from bp-asm.h.
61603         (BLK2): Likewise.
61604         (LEN): Likewise.
61605         (memcmp): Do not use BP_SYM.
61606         (bcmp): Do not use BP_SYM in weak_alias.
61607         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
61608         (PARMS): Do not use macros from bp-asm.h.
61609         (S1): Likewise.
61610         (SIZE): Likewise.
61611         (__mpn_mul_1): Do not use BP_SYM.
61612         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
61613         "bp-asm.h".
61614         (PARMS): Do not use macros from bp-asm.h.
61615         (STR): Likewise.
61616         (CHR): Likewise.
61617         (__rawmemchr): Do not use BP_SYM.
61618         (rawmemchr): Do not use BP_SYM in weak_alias.
61619         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
61620         (PARMS): Do not use macros from bp-asm.h.
61621         (S): Likewise.
61622         (SIZE): Likewise.
61623         (__mpn_rshift): Do not use BP_SYM.
61624         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
61625         (PARMS): Do not use macros from bp-asm.h.
61626         (SIGMSK): Likewise.
61627         (__sigsetjmp): Likewise.  Do not use BP_SYM.
61628         * sysdeps/i386/start.S: Do not include "bp-sym.h".
61629         (_start): Do not use BP_SYM.
61630         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
61631         (PARMS): Do not use macros from bp-asm.h.
61632         (DEST): Likewise.
61633         (SRC): Likewise.
61634         (__stpcpy): Likewise.  Do not use BP_SYM.
61635         (stpcpy): Do not use BP_SYM in weak_alias.
61636         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
61637         "bp-asm.h".
61638         (PARMS): Do not use macros from bp-asm.h.
61639         (DEST): Likewise.
61640         (SRC): Likewise.
61641         (LEN): Likewise.
61642         (__stpncpy): Likewise.  Do not use BP_SYM.
61643         (stpncpy): Do not use BP_SYM in weak_alias.
61644         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
61645         (PARMS): Do not use macros from bp-asm.h.
61646         (STR): Likewise.
61647         (CHR): Likewise.
61648         (strchr): Likewise.  Do not use BP_SYM.
61649         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
61650         "bp-asm.h".
61651         (PARMS): Do not use macros from bp-asm.h.
61652         (STR): Likewise.
61653         (CHR): Likewise.
61654         (__strchrnul): Likewise.  Do not use BP_SYM.
61655         (strchrnul): Do not use BP_SYM in weak_alias.
61656         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
61657         "bp-asm.h".
61658         (PARMS): Do not use macros from bp-asm.h.
61659         (STOP): Likewise.
61660         (strcspn): Do not use BP_SYM.
61661         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
61662         "bp-asm.h".
61663         (PARMS): Do not use macros from bp-asm.h.
61664         (STR): Likewise.
61665         (STOP): Likewise.
61666         (strpbrk): Likewise.  Do not use BP_SYM.
61667         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
61668         "bp-asm.h".
61669         (PARMS): Do not use macros from bp-asm.h.
61670         (STR): Likewise.
61671         (CHR): Likewise.
61672         (strrchr): Likewise.  Do not use BP_SYM.
61673         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
61674         (PARMS): Do not use macros from bp-asm.h.
61675         (SKIP): Likewise.
61676         (strspn): Do not use BP_SYM.
61677         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
61678         (PARMS): Do not use macros from bp-asm.h.
61679         (STR): Likewise.
61680         (DELIM): Likewise.
61681         (SAVE): Likewise.
61682         (FUNCTION): Likewise.  Do not use BP_SYM.
61683         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
61684         aliases.
61685         (strtok_r): Likewise.
61686         (__GI___strtok_r): Likewise.
61687         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
61688         (PARMS): Do not use macros from bp-asm.h.
61689         (S1): Likewise.
61690         (S2): Likewise.
61691         (SIZE): Likewise.
61692         (__mpn_sub_n): Do not use BP_SYM.
61693         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
61694         "bp-asm.h".
61695         (PARMS): Do not use macros from bp-asm.h.
61696         (S1): Likewise.
61697         (SIZE): Likewise.
61698         (__mpn_submul_1): Do not use BP_SYM.
61699         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
61700         <bp-sym.h>.
61701         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
61702         and <bp-asm.h>.
61703         (PARMS): Do not use macros from bp-asm.h.
61704         (FLAGS): Likewise.
61705         (PTID): Likewise.
61706         (TLS): Likewise.
61707         (CTID): Likewise.
61708         (__clone): Do not use BP_SYM.
61709         (clone): Do not use BP_SYM in weak_alias.
61710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
61711         and <bp-asm.h>.
61712         (PARMS): Do not use macros from bp-asm.h.
61713         (LEN): Likewise.
61714         (__mmap64): Do not use BP_SYM.
61715         (mmap64): Do not use BP_SYM in weak_alias.
61716         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61717         <bp-sym.h> and <bp-asm.h>.
61718         (PARMS): Do not use macros from bp-asm.h.
61719         (__posix_fadvise64_l64): Do not use BP_SYM.
61720         * sysdeps/unix/sysv/linux/i386/semtimedop.S
61721         (PARMS): Do not use macros from bp-asm.h.
61722         (NSOPS): Likewise.
61723         (semtimedop): Do not use BP_SYM.
61724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
61725         and <bp-asm.h>.
61727 2013-02-21  Allan McRae  <allan@archlinux.org>
61729         * manual/message.texi (Charset conversion in gettext):
61730         Move @end statement to beginning of line.
61732 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
61735         static.
61736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61737         Likewise.
61739         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
61740         (denorm): Likewise.
61741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
61742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
61744 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61746         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
61747         tail-call to the resolved function if pltexit isn't needed.
61749 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
61752         or Y being zero as being unlikely.
61753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61754         Likewise.
61756 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
61758         * manual/nss.texi (System Databases and Name Service Switch):
61759         Remove frobnicate @pxref.
61761 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61763         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61764         __attribute__ ((unused)) to __attribute__ ((__unused__)).
61766 2013-02-20  Petr Machata  <pmachata@redhat.com>
61768         * elf/elf.h (R_ARM_TARGET1): New macro.
61769         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
61770         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
61771         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
61772         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
61773         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
61774         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
61775         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
61776         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
61777         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
61778         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
61779         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
61780         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
61781         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
61782         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
61783         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
61784         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
61785         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
61786         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
61787         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
61788         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
61789         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
61790         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
61791         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
61792         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
61793         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
61794         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
61795         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
61796         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
61797         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
61798         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
61799         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
61800         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
61801         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
61802         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
61803         (R_ARM_THM_GOT_BREL12): Likewise.
61804         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
61805         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
61806         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
61807         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
61808         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
61809         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
61810         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
61811         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
61812         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
61814 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
61816         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
61817         __attribute_used__ to __attribute__ ((unused)).
61819 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61821         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
61822         powerpc mpa.c.
61823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
61824         comment formatting.
61825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
61827 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
61829         [BZ #13550]
61830         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
61831         Remove macro.
61832         (ENTER): Remove both macro definitions.
61833         (LEAVE): Likewise.
61834         (CHECK_BOUNDS_LOW): Likewise.
61835         (CHECK_BOUNDS_HIGH): Likewise.
61836         (CHECK_BOUNDS_BOTH): Likewise.
61837         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
61838         (RETURN_BOUNDED_POINTER): Likewise.
61839         (RETURN_NULL_BOUNDED_POINTER): Likewise.
61840         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
61841         (POP_ERRNO_LOCATION_RETURN): Likewise.
61842         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
61843         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61844         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
61845         macros.
61846         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61847         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
61848         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
61849         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
61850         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
61851         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
61852         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
61853         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
61854         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
61855         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
61856         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
61857         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
61858         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61859         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
61860         removed macros.
61861         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61862         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
61863         macros.
61864         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61865         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
61866         * sysdeps/i386/i586/memset.S (memset): Likewise.
61867         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
61868         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61869         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
61870         macros.
61871         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61872         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
61873         Change uses of L(2) to L(out).
61874         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
61875         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
61876         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
61877         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61878         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
61879         removed macros.
61880         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61881         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
61882         macros.
61883         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61884         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
61885         (RETURN): Do not use macro LEAVE.
61886         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
61887         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
61888         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
61889         * sysdeps/i386/i686/memset.S (memset): Likewise.
61890         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
61891         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
61892         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61893         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
61894         Likewise.
61895         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61896         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
61897         L(1_2) and L(1_3) into L(1).
61898         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61899         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
61900         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61901         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
61902         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61903         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
61904         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
61905         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61906         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
61907         macros.
61908         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
61909         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
61910         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
61911         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
61912         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
61913         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61914         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
61915         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
61916         * sysdeps/i386/strcspn.S (strcspn): Likewise.
61917         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
61918         * sysdeps/i386/strrchr.S (strrchr): Likewise.
61919         * sysdeps/i386/strspn.S (strspn): Likewise.
61920         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
61921         conditional code.
61922         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61923         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
61924         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
61925         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
61926         L(1_3) into L(1_1).
61927         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
61928         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
61929         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
61930         macros.
61931         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
61933 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
61935         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
61936         macro.
61938 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61940         * math/atest-exp.c (exp_mpn): Remove ROUND.
61941         * math/atest-exp2.c (exp_mpn): Likewise.
61942         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
61944         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
61945         * stdlib/tst-tls-atexit-lib.c: Likewise.
61946         * stdlib/tst-tls-atexit.c: Likewise.
61948 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61950         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
61951         and __attribute_alloc_size__.
61953 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61955         * include/programs/xmalloc.h: Change __attribute_alloc_size to
61956         __attribute_alloc_size__.
61957         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
61958         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
61960 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
61962         * include/programs/xmalloc.h: New file.
61963         * catgets/gencat.c: Include it.
61964         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
61965         * elf/pldd.c: Likewise.
61966         * iconv/iconv_charmap.c: Likewise.
61967         * iconv/iconvconfig.c: Likewise.
61968         * iconv/strtab.c: Likewise.
61969         * locale/programs/locale.c: Likewise.
61970         * locale/programs/localedef.h: Likewise.
61971         * locale/programs/simple-hash.c: Likewise.
61972         * nscd/nscd.h: Likewise.
61973         * nss/makedb.c: Likewise.
61974         * sysdeps/generic/ldconfig.h: Likewise.
61976 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61978         * Versions.def: Add GLIBC_2.18.
61979         * include/link.h (struct link_map): New member l_tls_dtor_count.
61980         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
61981         (__call_tls_dtors): Likewise.
61982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
61983         __cxa_thread_atexit_impl.
61984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61985         Likewise.
61986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61987         Likewise.
61988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
61989         Likewise.
61990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
61991         Likewise.
61992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
61994         Likewise.
61995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
61996         Likewise.
61997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61999         Likewise.
62000         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
62001         (tests): Add test case tst-tls-atexit.
62002         (modules-names): Add shared library for tst-tls-atexit.
62003         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
62004         (GLIBC_PRIVATE): Add __call_tls_dtors.
62005         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
62006         for libstdc++.
62007         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
62008         * stdlib/tst-tls-atexit.c: New test case.
62009         * stdlib/tst-tls-atexit-lib.c: New test case.
62011         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
62013         * elf/Versions (ld): Add _dl_find_dso_for_object.
62014         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
62015         * elf/dl-open.c (_dl_find_dso_for_object): New function.
62016         (dl_open_worker): Use _dl_find_dso_for_object.
62017         * elf/dl-sym.c (do_sym): Likewise.
62018         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
62020 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62022         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
62023         Syntactic changes only.
62024         (_dl_runtime_profile): Do a tail-call to the resolved function.
62026 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
62028         [BZ #13550]
62029         * sysdeps/x86_64/bp-asm.h: Remove file.
62030         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
62031         <bp-sym.h> and <bp-asm.h>.
62032         (__clone): Do not use BP_SYM.
62033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62034         <bp-sym.h> and <bp-asm.h>.
62035         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62036         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
62037         "bp-asm.h".
62038         (_setjmp): Do not use BP_SYM.
62039         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
62040         "bp-asm.h".
62041         (setjmp): Do not use BP_SYM.
62042         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
62043         libc_hidden_def.
62044         (mempcpy): Do not use BP_SYM in weak_alias.
62045         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
62046         "bp-asm.h".
62047         (strchr): Do not use BP_SYM.
62048         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
62049         "bp-asm.h".
62050         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
62051         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
62052         (_start): Do not use BP_SYM.
62053         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
62054         "bp-asm.h".
62055         (strcat): Do not use BP_SYM.
62056         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
62057         "bp-asm.h".
62058         (STRCMP): Do not use BP_SYM.
62059         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
62060         "bp-asm.h".
62061         (STRCPY): Do not use BP_SYM.
62062         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
62063         "bp-asm.h".
62064         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
62065         "bp-asm.h".
62066         (FUNCTION): Do not use BP_SYM.
62067         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
62068         weak_alias.
62069         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
62071 2013-02-17  Andreas Jaeger  <aj@suse.de>
62073         * time/Versions: Sort entries.
62074         * string/Versions: Likewise.
62075         * resolv/Versions: Likewise.
62076         * posix/Versions: Likewise.
62077         * iconv/Versions: Likewise.
62078         * elf/Versions: Likewise.
62079         * wcsmbs/Versions: Likewise.
62081 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62083         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
62084         loop termination condition.
62086         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
62087         variable to calculate EZ.
62088         (__sqr): Likewise.
62090         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
62091         the lower precision input.
62093 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
62095         [BZ #13550]
62096         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
62097         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
62098         (run-via-rtld-prefix): Do not handle %-bp tests.
62099         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
62100         (all-object-suffixes): Remove .ob.
62101         (bppfx): Remove variable.
62102         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
62103         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
62104         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
62105         [$(build-bounded) = yes] (libtype.ob): Likewise.
62106         * Makerules (elide-routines.ob): Remove variable.
62107         (do-tests-clean): Do not handle *-bp.out.
62108         (common-mostlyclean): Do not handle *-bp and *-bp.out.
62109         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
62110         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
62111         (tests): Do not include $(tests-bp.out).
62112         (xtests): Do not include $(xtests-bp.out).
62113         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
62114         [$(build-bounded) = yes] ($(addprefix
62115         $(objpfx),$(binaries-bounded))): Remove rule.
62116         ($(objpfx)%-bp.out): Remove rule.
62117         * config.make.in (build-bounded): Remove variable.
62118         * crypt/Makefile [$(build-bounded) = yes]
62119         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
62120         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
62121         append to variable.
62122         [$(build-bounded) = yes] (install-lib): Likewise.
62123         [$(build-bounded) = yes] (generated): Likewise.
62124         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
62125         Remove rule.
62126         * intl/Makefile [$(build-bounded) = yes]
62127         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
62128         * math/Makefile [$(build-bounded) = yes]
62129         ($(tests:%=$(objpfx)%-bp): Likewise.
62130         * misc/Makefile [$(build-bounded) = yes]
62131         ($(objpfx)tst-tsearch-bp): Likewise.
62132         * nptl/Makeconfig (bounded-thread-library): Remove variable.
62133         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
62134         Remove dependency.
62135         * string/Makefile (o-objects.ob): Remove variable.
62136         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
62137         (CFLAGS-.ob): Remove variable.
62138         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
62139         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
62140         both definitions of variable.
62141         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
62142         (ASFLAGS-.ob): Remove variable.
62144 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
62146         [BZ #13550]
62147         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
62148         Remove __BOUNDED_POINTERS__ from condition.
62149         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
62150         * string/bits/string2.h [!__NO_STRING_INLINES &&
62151         !__BOUNDED_POINTERS__]: Likewise.
62152         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
62153         Likewise.
62154         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
62155         Remove conditional code.
62156         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
62157         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
62158         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
62159         condition.
62161         [BZ #13550]
62162         * csu/libc-start.c: Do not include <bp-sym.h>.
62163         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
62164         * elf/dl-open.c: Do not include <bp-sym.h>.
62165         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
62166         * math/fegetenv.c: Do not include <bp-sym.h>.
62167         (fegetenv): Do not use BP_SYM in versioned symbols.
62168         * nptl/sysdeps/pthread/bits/libc-lockP.h
62169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
62170         <bp-sym.h>.
62171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62172         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
62173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62174         (__pthread_mutex_destroy): Likewise.
62175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62176         (__pthread_mutex_lock): Likewise.
62177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62178         (__pthread_mutex_trylock): Likewise.
62179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62180         (__pthread_mutex_unlock): Likewise.
62181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62182         (__pthread_mutexattr_init): Likewise.
62183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62184         (__pthread_mutexattr_destroy): Likewise.
62185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62186         (__pthread_mutexattr_settype): Likewise.
62187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62188         (__pthread_rwlock_init): Likewise.
62189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62190         (__pthread_rwlock_destroy): Likewise.
62191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62192         (__pthread_rwlock_rdlock): Likewise.
62193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62194         (__pthread_rwlock_tryrdlock): Likewise.
62195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62196         (__pthread_rwlock_wrlock): Likewise.
62197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62198         (__pthread_rwlock_trywrlock): Likewise.
62199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62200         (__pthread_rwlock_unlock): Likewise.
62201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62202         (__pthread_key_create): Likewise.
62203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62204         (__pthread_setspecific): Likewise.
62205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62206         (__pthread_getspecific): Likewise.
62207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
62208         Likewise.
62209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62210         (_pthread_cleanup_push_defer): Likewise.
62211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62212         (_pthread_cleanup_pop_restore): Likewise.
62213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
62214         (pthread_setcancelstate): Likewise.
62215         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
62216         <bp-sym.h>.
62217         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
62218         (memchr): Do not use BP_SYM in weak_alias.
62219         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
62220         (fegetenv): Do not use BP_SYM in versioned symbols.
62221         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
62222         (fesetenv): Do not use BP_SYM in versioned symbols.
62223         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62224         (feupdateenv): Do not use BP_SYM in versioned symbols.
62225         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62226         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62227         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
62228         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
62229         (open64): Do not use BP_SYM in weak_alias.
62230         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
62231         (fegetenv): Do not use BP_SYM in versioned symbols.
62232         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
62233         (fesetenv): Do not use BP_SYM in versioned symbols.
62234         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
62235         (feupdateenv): Do not use BP_SYM in versioned symbols.
62236         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
62237         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
62238         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
62239         (feraiseexcept): Do not use BP_SYM in versioned symbols.
62240         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
62241         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
62242         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
62243         <bp-sym.h>.
62244         (__libc_start_main): Do not use BP_SYM.
62246 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
62249         redundant return line.
62250         (norm): Likewise.
62251         (denorm): Likewise.
62252         (dbl_mp): Likewise.
62253         (sub_magnitudes): Likewise.
62254         (__add): Likewise.
62255         (__sub): Likewise.
62256         (__mul): Likewise.
62257         (__inv): Likewise.
62258         (__dvd): Likewise.
62259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
62260         (norm): Likewise.
62261         (denorm): Likewise.
62262         (dbl_mp): Likewise.
62263         (sub_magnitudes): Likewise.
62264         (__add): Likewise.
62265         (__sub): Likewise.
62266         (__mul): Likewise.
62267         (__inv): Likewise.
62268         (__dvd): Likewise.
62270         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
62271         instead of __mul.
62272         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62273         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
62274         (cc32): Likewise.
62276         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
62277         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
62278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
62279         of __mul for squares.
62280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
62281         function
62282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
62283         Likewise.
62284         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
62285         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62287 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
62289         [BZ #13550]
62290         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
62291         code.
62292         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
62293         prototype or function definition.  Rename ubp_* variables and
62294         parameters.  Remove argv definitions conditional on
62295         [__BOUNDED_POINTERS__].
62296         * debug/backtrace.c (__backtrace): Do not use __unbounded.
62297         * elf/dl-runtime.c (_dl_fixup): Likewise.
62298         * include/set-hooks.h (RUN_HOOK): Likewise.
62299         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
62300         definition.
62301         * string/strcpy.c (strcpy): Do not use __unbounded.
62302         * sysdeps/generic/frame.h (struct layout): Likewise.
62303         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
62304         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
62305         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
62306         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
62307         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
62308         (__backtrace): Likewise.
62309         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
62310         use __ptrvalue.
62311         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
62312         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
62313         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
62314         Likewise.
62315         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
62316         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
62317         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
62318         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62319         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
62320         Do not use __unbounded.
62321         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
62322         Rename __unboundedrlimits parameter to rlimits in prototype.
62323         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
62324         Do not use __unbounded.
62325         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
62326         not use __ptrvalue.
62327         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62328         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
62329         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62330         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
62331         __ptrvalue or __unbounded.
62332         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
62333         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
62334         use __unbounded.
62335         (__new_msgctl): Do not use __ptrvalue.
62336         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
62337         __unbounded.
62338         (__libc_msgrcv): Do not use __ptrvalue.
62339         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
62340         startup_info): Do not use __unbounded.
62341         (__libc_start_main): Likewise.  Rename ubp_* variables and
62342         parameters.  Remove argv definitions conditional on
62343         [__BOUNDED_POINTERS__].
62344         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
62345         __ptrvalue.
62346         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
62347         use __unbounded.
62348         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
62349         or __ptrvalue.
62350         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
62351         use __unbounded.
62352         (__new_shmctl): Do not use __ptrvalue.
62353         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
62354         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
62355         Likewise.
62356         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
62357         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
62358         (__libc_sigaction): Likewise.
62359         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
62360         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
62361         Likewise.
62362         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62364 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
62366         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
62368         * string/mempcpy.c: Implement by calling memcpy.
62370 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
62374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
62375         evaluation.
62377         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
62378         values in the mantissa.
62380         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
62381         minimize writes to Z.
62382         (sub_magnitudes): Simplify code a bit.
62384 2013-02-12  Roland McGrath  <roland@hack.frob.com>
62386         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
62387         from the message.  The linker prefixes all warnings with that already.
62389 2013-02-12  Andreas Schwab  <schwab@suse.de>
62391         [BZ #15078]
62392         * posix/regexec.c (extend_buffers): Add parameter min_len.
62393         (check_matching): Pass minimum needed length.
62394         (clean_state_log_if_needed): Likewise.
62395         (get_subexp): Likewise.
62396         * posix/Makefile (tests): Add bug-regex34.
62397         (bug-regex34-ENV): Define.
62398         * posix/bug-regex34.c: New file.
62400         [BZ #11561]
62401         * posix/regcomp.c (parse_bracket_exp): When looking up collating
62402         elements compare against the byte sequence of it, not its name.
62403         * posix/Makefile (tests): Add bug-regex35.
62404         (bug-regex35-ENV): Define.
62405         * posix/bug-regex35.c: New file.
62407 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62409         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
62410         comment.
62411         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
62412         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
62413         (CHECK_EOL): Add undef.
62415 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
62417         * bits/stdlib-bsearch.h: New file.
62418         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
62419         * stdlib/stdlib.h: Likewise.
62421 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62423         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
62424         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
62425         declaration.
62426         * manual/search.texi (Array Search Function): Add missing const in
62427         lfind prototype.
62428         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
62429         declaration to use rlim_t.
62430         (Basic Scheduling Functions): Remove erroneous const from
62431         sched_getparam prototype.  Remove erroneous * from
62432         sched_get_priority_max and sched_get_priority_min prototypes.
62433         (Resource Usage): Fix summary @comment on vtimes to refer to
62434         sys/vtimes.h rather than vtimes.h.
62435         Add missing *s in vtimes prototype.
62436         (Limits on Resources): Fix ulimit prototype to return long int.
62437         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
62438         prototypes to use long int rather than double.
62439         (BSD Random): Fix initstate and setstate to use char *, not void *.
62440         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
62441         prototype to make second argument 'struct aiocb64 *const[]'.
62442         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
62443         (Status of AIO Operations): Remove erroneous const in aio_return and
62444         aio_return64 prototypes.
62445         (Synchronizing I/O): Fix sync prototype to return void.
62446         * manual/startup.texi (Suboptions): Remove an erroneous const in
62447         getsubopt prototype.
62448         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
62449         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
62450         use size_t rather than int.
62451         (Scanning All Users): Likewise for getpwent_r.
62452         (Setting Groups): Add missing const to setgroups prototype.
62453         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
62454         * manual/socket.texi (Host Names): Fix gethostbyaddr and
62455         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
62456         'const void *' rather than 'const char *'.
62457         (Host Address Functions): Likewise for inet_ntop.
62458         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
62459         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
62460         ssize_t for return value.
62461         (Sending Data): Likewise for send, sendto, sendmsg.
62462         (Socket Option Functions): Add a missing const in setsockopt prototype.
62463         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
62464         use wchar_t for the argument.
62465         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
62466         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
62467         take no arguments.
62468         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
62469         double/float/long double for second argument.
62470         Fix return types of significand, significandf, significandl.
62471         * manual/filesys.texi (Setting Permissions): Use mode_t for second
62472         argument in fchmod prototype.
62473         (File Owner): Use uid_t and gid_t in fchown prototype.
62474         (File Times): Add const to utimes, futimes, and lutimes prototypes.
62475         (Making Special Files): Use mode_t and dev_t in mknod prototype.
62476         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
62477         use 'const struct dirent **' as argument types to CMP function pointer
62478         argument.
62479         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
62480         (File Times): Fix summary magic @comment for struct utimbuf and utime
62481         to refer to utime.h, not time.h.
62482         * manual/string.texi (Argz Functions): Add missing const in
62483         argz_extract and argz_next prototypes.
62484         (Finding Tokens in a String): Likewise for basename.
62485         (String/Array Comparison): Fix typo in wcscasecmp prototype.
62486         (Copying and Concatenation): Fix typo in wmemmove prototype.
62487         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
62488         (Signal Stack): Remove erroneous const in sigstack prototype.
62489         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
62490         prototype.
62491         (Simple Calendar Time): Likewise for stime.
62492         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
62493         prototype.
62494         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
62495         say sys/sysctl.h instead.
62496         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
62497         and vsyslog prototypes.
62499 2013-02-11  Tom de Vries  <tom@codesourcery.com>
62501         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
62502         Remove.
62504 2013-02-11  Roland McGrath  <roland@hack.frob.com>
62506         * misc/sys/mman.h: Fix typo in mremap comment.
62508 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62510         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
62511         the '\0' terminator.
62513 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62515         [BZ #13550]
62516         * debug/segfault.c: Don't include <bp-checks.h>.
62517         * sysdeps/generic/bp-checks.h: Remove file.
62518         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
62519         (__GETDENTS): Don't use CHECK_N.
62520         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
62521         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
62522         (__getgroups): Don't use CHECK_N.
62523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
62524         (setgroups): Don't use CHECK_N.
62525         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
62526         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
62527         (__libc_msgrcv): Don't use CHECK_N.
62528         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
62529         (__libc_msgsnd): Don't use CHECK_N.
62530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
62531         <bp-checks.h>.
62532         (__libc_pread): Don't use CHECK_N.
62533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
62534         include <bp-checks.h>.
62535         (__libc_pread64): Don't use CHECK_N.
62536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
62537         include <bp-checks.h>.
62538         (__libc_pwrite): Don't use CHECK_N.
62539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
62540         include <bp-checks.h>.
62541         (__libc_pwrite64): Don't use CHECK_N.
62542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
62543         <bp-checks.h>.
62544         (__libc_pread): Don't use CHECK_N.
62545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
62546         include <bp-checks.h>.
62547         (__libc_pread64): Don't use CHECK_N.
62548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
62549         include <bp-checks.h>.
62550         (__libc_pwrite): Don't use CHECK_N.
62551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
62552         include <bp-checks.h>.
62553         (__libc_pwrite64): Don't use CHECK_N.
62554         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
62555         (do_pread): Don't use CHECK_N.
62556         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
62557         (do_pread64): Don't use CHECK_N.
62558         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
62559         (do_pwrite): Don't use CHECK_N.
62560         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
62561         (do_pwrite64): Don't use CHECK_N.
62562         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
62563         (__libc_readv): Don't use CHECK_N.
62564         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
62565         (semop): Don't use CHECK_N.
62566         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
62567         <bp-checks.h>.
62568         (semtimedop): Don't use CHECK_N.
62569         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
62570         (__libc_pread): Don't use CHECK_N.
62571         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
62572         <bp-checks.h>.
62573         (__libc_pread64): Don't use CHECK_N.
62574         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
62575         <bp-checks.h>.
62576         (__libc_pwrite): Don't use CHECK_N.
62577         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
62578         <bp-checks.h>.
62579         (__libc_pwrite64): Don't use CHECK_N.
62580         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
62581         <bp-checks.h>.
62582         (__libc_msgrcv): Don't use CHECK_N.
62583         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
62584         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
62585         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
62586         (__libc_writev): Don't use CHECK_N.
62588 2013-02-08  Roland McGrath  <roland@hack.frob.com>
62590         * string/strcpy.c: Removed unused variable.
62592         * Makeconfig (+sysdep-includes): Define with := rather than =.
62593         Use an existing include/ subdir of each sysdeps dir before it.
62595 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62597         * nscd/connection.c (register_traced_file): Comment function.
62598         [HAVE_INOTIFY] (union __inev): Define.
62599         [HAVE_INOTIFY] (inotify_check_files): New function.
62600         [HAVE_INOTIFY] (clear_db_cache): Likewise.
62601         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
62602         clear_db_cache.
62603         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
62605 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62607         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
62608         loaded if not already and that a failure is permanent.
62610 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
62612         [BZ #15006]
62613         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
62614         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
62616 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
62618         [BZ #13550]
62619         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
62620         (CHECK_1_NULL_OK): Likewise.
62621         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
62622         (__fxstat): Do not use CHECK_1.
62623         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
62624         <bp-checks.h>.
62625         (___fxstat64): Do not use CHECK_1.
62626         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
62627         <bp-checks.h>.
62628         (__fxstatat): Do not use CHECK_1.
62629         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
62630         <bp-checks.h>.
62631         (__fxstatat64): Do not use CHECK_1.
62632         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
62633         <bp-checks.h>.
62634         (__fxstat): Do not use CHECK_1.
62635         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
62636         <bp-checks.h>.
62637         (__fxstatat): Do not use CHECK_1.
62638         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62639         <bp-checks.h>.
62640         (__getresgid): Do not use CHECK_1.
62641         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62642         <bp-checks.h>.
62643         (__getresuid): Do not use CHECK_1.
62644         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
62645         <bp-checks.h>.
62646         (__lxstat): Do not use CHECK_1.
62647         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62648         <bp-checks.h>.
62649         (__old_msgctl): Do not use CHECK_1.
62650         (__new_msgctl): Likewise.
62651         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
62652         <bp-checks.h>.
62653         (__new_setrlimit): Do not use CHECK_1.
62654         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62655         <bp-checks.h>.
62656         (__old_shmctl): Do not use CHECK_1.
62657         (__new_shmctl): Likewise.
62658         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
62659         <bp-checks.h>.
62660         (__xstat): Do not use CHECK_1.
62661         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
62662         (__lxstat): Do not use CHECK_1.
62663         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
62664         <bp-checks.h>.
62665         (___lxstat64): Do not use CHECK_1.
62666         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
62667         (__old_msgctl): Do not use CHECK_1.
62668         (__new_msgctl): Likewise.
62669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
62670         <bp-checks.h>.
62671         (__gettimeofday): Do not use CHECK_1.
62672         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
62673         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
62674         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
62675         <bp-checks.h>.
62676         (__gettimeofday): Do not use CHECK_1.
62677         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
62678         (__old_shmctl): Do not use CHECK_1_NULL_OK.
62679         (__new_shmctl): Do not use CHECK_1.
62680         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
62681         <bp-checks.h>.
62682         (do_sigtimedwait): Do not use CHECK_1.
62683         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
62684         <bp-checks.h>.
62685         (do_sigwaitinfo): Do not use CHECK_1.
62686         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
62687         <bp-checks.h>.
62688         (msgctl): Do not use CHECK_1.
62689         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
62690         <bp-checks.h>.
62691         (shmctl): Do not use CHECK_1.
62692         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
62693         (ustat): Do not use CHECK_1.
62694         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
62695         <bp-checks.h>.
62696         (__fxstat): Do not use CHECK_1.
62697         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
62698         <bp-checks.h>.
62699         (__fxstatat): Do not use CHECK_1.
62700         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
62701         <bp-checks.h>.
62702         (__lxstat): Do not use CHECK_1.
62703         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
62704         <bp-checks.h>.
62705         (__xstat): Do not use CHECK_1.
62706         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
62707         (__xstat): Do not use CHECK_1.
62708         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
62709         (___xstat64): Do not use CHECK_1.
62711         [BZ #13550]
62712         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
62713         definitions.
62714         (CHECK_BOUNDS_HIGH): Likewise.
62715         * string/strcpy.c: Do not include <bp-checks.h>.
62716         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
62718 2013-02-07  Roland McGrath  <roland@hack.frob.com>
62720         * nscd/nscd-client.h (__nscd_drop_map_ref):
62721         Add __attribute__ ((unused)).
62722         * nis/nss-nisplus.h (niserr2nss): Likewise.
62724         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
62725         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
62727         * csu/libc-tls.c (init_static_tls, init_slotinfo):
62728         Remove inline keyword.
62729         * include/rounding-mode.h (round_away): Likewise.
62730         * libio/wfileops.c (adjust_wide_data): Likewise.
62731         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
62732         (__m128i_strloadu_tolower): Likewise.
62733         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
62734         (__m128i_strloadu_tolower): Likewise.
62735         * time/mktime.c (ydhms_diff): Likewise.
62736         * locale/elem-hash.h (elem_hash): Likewise.
62737         * locale/setlocale.c (setdata): Likewise.
62738         * posix/regex_internal.h (re_string_char_size_at): Likewise.
62739         (re_string_wchar_at): Likewise.
62740         (bitset_not, bitset_merge, bitset_mask): Likewise.
62741         [!(__GNUC__ > 3)] (inline): Remove macro.
62742         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
62743         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
62744         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
62745         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
62746         * string/memcmp.c (memcmp_bytes): Likewise.
62747         * locale/programs/locarchive.c (compute_hashval): Likewise.
62748         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
62749         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
62750         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
62751         * nss/getent.c (print_rpc, print_protocols): Likewise.
62752         (print_passwd, print_group, print_aliases): Likewise.
62753         * nis/nss-nisplus.h (niserr2nss): Likewise.
62754         * nscd/connections.c (restart_p): Likewise.
62755         Change return type to bool.
62757 2013-02-05  Roland McGrath  <roland@hack.frob.com>
62759         * Makeconfig (all-Depend-files): Add existing
62760         $(sorted-subdirs:=/Depend) files.
62761         (all-subdirs): Remove nss.
62762         * sysdeps/unix/inet/Subdirs: Add it here instead.
62763         * hesiod/Depend: New file.
62765         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
62766         instead of calling alloca.
62768         * io/lseek.c (__lseek): Rename to __libc_lseek.
62769         Define __lseek as an alias.
62771         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
62773 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
62775         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
62776         else clause and remove check for non-standard endianness.
62778 2013-02-04  David S. Miller  <davem@davemloft.net>
62780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62782 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
62784         [BZ #13550]
62785         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
62786         (__ubp_memchr): Remove prototype.
62787         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
62788         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62789         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
62790         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
62791         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
62792         Remove alias.
62793         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
62794         (__ubp_memchr): Likewise.
62795         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
62796         (__ubp_memchr): Likewise.
62797         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
62798         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
62799         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
62800         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
62801         CHECK_STRING.
62802         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
62803         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
62804         (__getcwd): Do not use CHECK_STRING.
62805         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62806         <bp-checks.h>.
62807         (__real_chown): Do not use CHECK_STRING.
62808         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
62809         <bp-checks.h>.
62810         (fchownat): Do not use CHECK_STRING.
62811         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
62812         CHECK_STRING.
62813         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62814         <bp-checks.h>.
62815         (__lchown): Do not use CHECK_STRING.
62816         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
62817         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
62818         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
62819         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
62820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62821         include <bp-checks.h>.
62822         (truncate64): Do not use CHECK_STRING.
62823         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62824         <bp-checks.h>.
62825         (__real_chown): Do not use CHECK_STRING.
62826         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62827         <bp-checks.h>.
62828         (__lchown): Do not use CHECK_STRING.
62829         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62830         <bp-checks.h>.
62831         (__chown): Do not use CHECK_STRING.
62832         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
62833         <bp-checks.h>.
62834         (truncate64): Do not use CHECK_STRING.
62835         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
62836         Likewise.
62837         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
62838         (__xmknod): Do not use CHECK_STRING.
62839         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
62840         <bp-checks.h>.
62841         (__xmknodat): Do not use CHECK_STRING.
62842         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
62843         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
62845 2013-02-04  Andreas Schwab  <schwab@suse.de>
62847         [BZ #14142]
62848         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
62849         * include/netdb.h: Likewise for h_errno.
62850         * elf/tst-stackguard1.c: Include <tls.h>.
62852 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
62854         * elf/link.h (struct link_map): Extend the l_addr comment.
62855         * include/link.h (struct link_map): Likewise.
62857 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
62859         [BZ #13550]
62860         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
62861         (BOUNDED_1): Remove macro.
62862         * debug/backtrace.c: Don't include <bp-checks.h>.
62863         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
62864         (__backtrace): Likewise.
62865         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
62866         <bp-checks.h>.
62867         (__backtrace): Don't use BOUNDED_1.
62868         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
62869         <bp-checks.h>.
62870         (__backtrace): Don't use BOUNDED_1.
62871         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
62872         (__backtrace): Don't use BOUNDED_1.
62873         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
62874         (shmat): Don't use BOUNDED_N.
62876 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
62878         [BZ #13550]
62879         * sysdeps/generic/bp-start.h: Remove file.
62880         * csu/libc-start.c: Don't include <bp-start.h>.
62881         (LIBC_START_MAIN): Set up __environ directly instead of using
62882         INIT_ARGV_and_ENVIRON.
62883         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
62884         <bp-start.h>.
62886         [BZ #13550]
62887         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
62888         definitions.
62889         (CHECK_FCNTL): Likewise.
62890         (CHECK_N_PAGES): Likewise.
62892         [BZ #13550]
62893         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
62894         definitions.
62895         (CHECK_SIGSET_NULL_OK): Likewise.
62896         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
62897         <bp-checks.h>.
62898         (sigpending): Don't use CHECK_SIGSET.
62899         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
62900         <bp-checks.h>.
62901         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62902         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
62903         <bp-checks.h>.
62904         (do_sigsuspend): Don't use CHECK_SIGSET.
62905         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
62906         use CHECK_SIGSET.
62907         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
62908         (do_sigwait): Don't use CHECK_SIGSET.
62909         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
62910         use CHECK_SIGSET.
62911         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
62912         include <bp-checks.h>.
62913         (sigpending): Don't use CHECK_SIGSET.
62914         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
62915         include <bp-checks.h>.
62916         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62917         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
62918         <bp-checks.h>.
62919         (sigpending): Don't use CHECK_SIGSET.
62920         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
62921         <bp-checks.h>.
62922         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
62924         [BZ #13550]
62925         * sysdeps/generic/bp-semctl.h: Remove file.
62926         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
62927         <bp-checks.h> and <bp-semctl.h>.
62928         (__old_semctl): Don't use CHECK_SEMCTL.
62929         (__new_semctl): Likewise.
62930         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
62931         and <bp-semctl.h>.
62932         (__old_semctl): Don't use CHECK_SEMCTL.
62933         (__new_semctl): Likewise.
62934         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
62935         <bp-checks.h> and <bp-semctl.h>.
62936         (__old_semctl): Don't use CHECK_SEMCTL.
62937         (__new_semctl): Likewise.
62938         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
62939         <bp-checks.h> and <bp-semctl.h>.
62940         (semctl): Don't use CHECK_SEMCTL.
62942         [BZ #13550]
62943         * Makerules (elide-bp-thunks): Remove variable.
62944         (elide-routines.oS): Don't use $(elide-bp-thunks).
62945         (elide-routines.os): Likewise.
62946         (elide-routines.o): Likewise.
62947         (elide-routines.op): Likewise.
62948         (elide-routines.og): Likewise.
62949         (objects): Don't use $(bp-thunks).
62950         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
62951         include.
62952         (common-generated): Do not add s-proto-bp.d.
62953         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
62954         (int): Likewise.
62955         (typ): Likewise.
62956         Do not generate makefile rules for bounded-pointer thunks.
62957         * sysdeps/generic/bp-thunks.h: Remove file.
62958         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
62959         * sysdeps/unix/s-proto-bp.S: Likewise.
62961         [BZ #15062]
62962         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
62963         parts of result separately when argument is not close to line from
62964         -i to i and one part of argument is small.
62965         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62966         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62967         * math/libm-test.inc (cacos_test): Add more tests.
62968         (casin_test): Likewise.
62969         (casinh_test): Likewise.
62970         * sysdeps/i386/fpu/libm-test-ulps: Update.
62971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62973 2013-01-31  David S. Miller  <davem@davemloft.net>
62975         * po/de.po: Update from translation team.
62977 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
62979         * time/tzfile.c: Include stdint.h for SIZE_MAX.
62981 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
62983         * configure.in (_AC_PROG_CC_C89): New definition.
62984         * configure: Regenerate.
62986         * configure.in (AC_PROG_CPP): New definition.
62987         * configure: Regenerate.
62989 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
62991         * debug/tst-backtrace.h: New file.
62992         * debug/tst-backtrace2.c: Include tst-backtrace.h.
62993         (ret): Remove variable.
62994         (x): Likewise.
62995         (FAIL): Remove macro.
62996         (NO_INLINE): Likewise.
62997         (fn1): Use match function instead of strstr.
62998         * debug/tst-backtrace3.c: Include tst-backtrace.h.
62999         (ret): Remove variable.
63000         (x): Likewise.
63001         (FAIL): Remove macro.
63002         (NO_INLINE): Likewise.
63003         (fn): Use match function instead of strstr.
63004         * debug/tst-backtrace4.c: Include tst-backtrace.h.
63005         (ret): Remove variable.
63006         (x): Likewise.
63007         (FAIL): Remove macro.
63008         (NO_INLINE): Likewise.
63009         (handle_signal): Use match function instead of strstr.
63010         * debug/tst-backtrace5.c: Include tst-backtrace.h.
63011         (ret): Remove variable.
63012         (x): Likewise.
63013         (FAIL): Remove macro.
63014         (NO_INLINE): Likewise.
63015         (handle_signal): Use match function instead of strstr.
63017 2013-01-23  Roland McGrath  <roland@hack.frob.com>
63019         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
63021 2013-01-23  David S. Miller  <davem@davemloft.net>
63023         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
63024         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
63025         argument of CAS if possible.
63026         * sysdeps/sparc/sparc64/bits/atomic.h
63027         (__arch_compare_and_exchange_val_32_acq): Likewise.
63028         (__arch_compare_and_exchange_val_64_acq): Likewise.
63030 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
63032         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
63033         * sysdeps/posix/ulimit.c: ... this.
63034         Include <limits.h>.
63035         * sysdeps/unix/bsd/ulimit.c: Remove file.
63037 2013-01-23  Adam Conrad  <adconrad@0c3.net>
63039         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
63040         (LDFLAGS-tst-array5): Likewise.
63042 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63044         [BZ #15036]
63045         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
63046         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
63047         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
63048         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
63050 2013-01-21  David S. Miller  <davem@davemloft.net>
63052         * sysdeps/sparc/backtrace.c: New file.
63053         * sysdeps/sparc/sparc32/backtrace.h: New file.
63054         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
63055         * sysdeps/sparc/sparc64/backtrace.h: New file.
63056         * sysdeps/sparc/sparc64/backtrace.c: Delete.
63057         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
63058         -funwind-tables.
63060 2013-01-21  Andreas Schwab  <schwab@suse.de>
63062         [BZ #15020]
63063         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
63064         closed its stdout.
63066 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
63068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
63069         "mpa2.h".
63070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63072 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
63073             Mark Mitchell  <mark@codesourcery.com>
63074             Tom de Vries  <tom@codesourcery.com>
63075             Paul Pluzhnikov  <ppluzhnikov@google.com>
63077         * debug/tst-backtrace2.c: New file.
63078         * debug/tst-backtrace3.c: Likewise.
63079         * debug/tst-backtrace4.c: Likewise.
63080         * debug/tst-backtrace5.c: Likewise.
63081         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
63082         (CFLAGS-tst-backtrace3.c): Likewise.
63083         (CFLAGS-tst-backtrace4.c): Likewise.
63084         (CFLAGS-tst-backtrace5.c): Likewise.
63085         (LDFLAGS-tst-backtrace2): Likewise.
63086         (LDFLAGS-tst-backtrace3): Likewise.
63087         (LDFLAGS-tst-backtrace4): Likewise.
63088         (LDFLAGS-tst-backtrace5): Likewise.
63089         (tests): Add new tests tst-backtrace2, tst-backtrace3,
63090         tst-backtrace4 and tst-backtrace5.
63092 2013-01-18  Anton Blanchard  <anton@samba.org>
63093             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63095         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
63096         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
63097         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
63098         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63100         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
63101         "+r" and remove output regs list as redundant.  Add explicit inline
63102         asm to specify register of return val to work around compiler codegen
63103         bug.  Remove (int) cast on return value.  Add return type parameter to
63104         use in macro so that this macro does not truncate return value for
63105         64-bit values.
63106         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
63107         pass to INTERNAL_VSYSCALL_NCS.
63108         (INLINE_VSYSCALL): Add 'long int' as return type to
63109         INTERNAL_VSYSCALL_NCS macro invocation.
63110         (INTERNAL_VSYSCALL): Add 'long int' as return type to
63111         INTERNAL_VSYSCALL_NCS macro invocation.
63112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63114 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63116         [BZ #14496]
63117         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
63118         Fix application of SIMD FP exception mask.
63120         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
63121         mp_no from a power of two.
63122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
63123         __mpexp_twomm1.  Use __pow_mp.
63125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
63126         multiplication.
63128 2013-01-17  David S. Miller  <davem@davemloft.net>
63130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63132 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63134         [BZ #15023]
63135         * include/complex.h: Condition contents on [!_COMPLEX_H].
63136         (__kernel_casinhf): New prototype.
63137         (__kernel_casinh): Likewise.
63138         (__kernel_casinhl): Likewise.
63139         * math/Makefile (libm_calls): Add k_casinh.
63140         * math/k_casinh.c: New file.
63141         * math/k_casinhf.c: Likewise.
63142         * math/k_casinhl.c: Likewise.
63143         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
63144         finite nonzero arguments.
63145         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
63146         finite nonzero arguments.
63147         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
63148         finite nonzero arguments.
63149         * math/s_casinh.c: Do not include <float.h>.
63150         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
63151         * math/s_casinhf.c: Do not include <float.h>.
63152         (__casinhf): Move code for finite nonzero arguments to
63153         k_casinhf.c.
63154         * math/s_casinhl.c: Do not include <float.h>.
63155         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
63156         redefine.
63157         (__casinhl): Move code for finite nonzero arguments to
63158         k_casinhl.c.
63159         * math/libm-test.inc (cacos_test): Add more tests.
63160         * sysdeps/i386/fpu/libm-test-ulps: Update.
63161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63163 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
63165         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
63166         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
63167         [!HAVE_MREMAP]: Remove [defined linux] case.
63168         * malloc/arena.c: Do not include <malloc-sysdep.h>.
63170 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63172         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
63174 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
63176         * elf/elf.h (R_386_SIZE32): New relocation.
63177         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
63178         R_386_SIZE32.
63179         (elf_machine_rela): Likewise.
63180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63181         R_X86_64_SIZE64 and R_X86_64_SIZE32.
63183 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
63185         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
63186         (FP_FAST_FMA): Do not define.
63187         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
63188         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
63189         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
63190         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
63191         !_SOFT_FLOAT]: Likewise.
63192         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
63193         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
63194         value.
63195         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
63196         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
63197         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
63198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
63199         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
63200         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
63201         file.
63203 2013-01-16  Andreas Schwab  <schwab@suse.de>
63205         [BZ #14327]
63206         * include/stdlib.h (__mktemp): Add declaration.
63207         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
63208         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
63210 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63212         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
63213         definitions.
63214         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63215         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
63216         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
63217         definitions here.
63218         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
63219         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
63220         definitions.
63221         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
63222         and ONE.
63223         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
63224         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
63225         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
63226         definitions.
63227         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
63228         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
63229         definitions.
63230         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63232         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
63234 2013-01-15  David S. Miller  <davem@davemloft.net>
63236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63237         trunc{,f} to libm-sysdep_routes.
63238         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
63240         file.
63241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
63242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
63243         file.
63244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
63245         file.
63246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
63247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
63248         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
63249         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
63250         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
63251         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
63252         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
63253         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
63255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63256         nearbyint{,f} to libm-sysdep_routes.
63257         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
63259         New file.
63260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
63261         file.
63262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
63263         New file.
63264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
63265         file.
63266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
63267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
63268         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
63269         file.
63270         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
63271         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
63272         file.
63273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
63274         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
63275         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
63277         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63278         libc_feholdexcept and libc_fesetenv.
63280 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
63282         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
63284 2013-01-14  David S. Miller  <davem@davemloft.net>
63286         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
63287         (SPARC_ASM_VIS2_IFUNC): Likewise.
63288         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
63289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
63290         use of 'siam' instruction.
63291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
63292         Likewise.
63293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
63294         Likewise.
63295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
63296         Likewise.
63297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
63298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
63299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
63300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
63301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
63302         file.
63303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
63304         file.
63305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
63306         file.
63307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
63308         file.
63309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
63310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
63311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
63312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
63313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
63314         new VIS2 routines.
63315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63318         Likewise.
63319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
63324         routines to libm-sysdep_routines.
63325         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
63327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
63328         fdim/fdimf to libm-sysdep_routines.
63329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
63330         file.
63331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
63332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
63333         file.
63334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
63335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
63336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
63337         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
63338         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
63339         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
63340         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
63342 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63344         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
63345         to optimize copies.
63347         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
63348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
63352         local variable MPTWO.
63353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63354         Likewise.
63356 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63358         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
63359         GLOB_NOESCAPE.
63361 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63363         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
63365 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
63367         * manual/pattern.texi (glob_t): Document gl_flags.
63368         (glob64_t): Likewise.
63370 2013-01-11  David S. Miller  <davem@davemloft.net>
63372         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
63373         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
63374         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
63375         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
63376         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
63377         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
63378         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
63379         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
63380         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
63381         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
63382         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
63383         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
63384         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
63386         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63387         sparc V9 rather than using V8 code.
63388         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63389         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63391         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63392         Move to...
63393         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
63394         Here.
63396 2013-01-11  Roland McGrath  <roland@hack.frob.com>
63398         [BZ #14941]
63399         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
63400         not in the main loop.
63401         * configure: Regenerated.
63403 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
63405         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
63406         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
63407         to just #else.
63408         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
63409         [!__GLIBC_HAVE_LONG_LONG] case.
63410         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
63411         condition to just #else.
63412         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
63413         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
63414         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
63415         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
63416         unconditional.
63417         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
63418         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63419         #elif condition to just #else.
63420         * sysdeps/unix/sysv/linux/sys/sysmacros.h
63421         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
63422         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63423         #elif condition to just #else.
63425 2013-01-11  Steve Ellcey  <sellcey@mips.com>
63427         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
63428         (EF_MIPS_ARCH_64): Fix value.
63429         (EF_MIPS_ARCH_32R2): New.
63430         (EF_MIPS_ARCH_64R2): New.
63432 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
63434         * Makeconfig (+link-pie-before-libc): New.
63435         (+link-pie-after-libc): Likewise.
63436         (+link-pie-tests): Likewise.
63437         (+link-pie): Rewritten.
63438         (link-before-libc): Remove $(config-LDFLAGS).
63439         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
63440         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
63441         (config-LDFLAGS): Renamed to ...
63442         (rtld-LDFLAGS): This.
63443         (rtld-tests-LDFLAGS): New macro.
63444         (link-libc-rpath-link): Likewise.
63445         (link-libc-tests-rpath-link): Likewise.
63446         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63447         (link-libc): Prepand $(link-libc-rpath-link).
63448         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
63449         (test-program-prefix): New macro.
63450         (test-via-rtld-prefix): Likewise.
63451         (test-program-cmd): Likewise.
63452         (host-test-program-cmd): Likewise.
63453         * Makefile ($(common-objpfx)testrun.sh): Replace
63454         $(run-program-prefix) with $(test-program-prefix).
63455         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
63456         $(rtld-LDFLAGS).
63457         ($(common-objpfx)shlib.lds): Likewise.
63458         (build-module-helper): Likewise.
63459         ($(common-objpfx)format.lds): Likewise.
63460         * Rules (binaries-pie-tests): New.
63461         (binaries-pie-notests): Likewise.
63462         (binaries-pie): Rewritten.
63463         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
63464         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
63465         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
63466         (make-test-out): Replace $(host-built-program-cmd) with
63467         $(host-test-program-cmd).
63468         * config.make.in (build-hardcoded-path-in-tests): New variable.
63469         * configure.in (--enable-hardcoded-path-in-tests): New configure
63470         option.
63471         (hardcoded_path_in_tests): New AC_SUBST.
63472         * configure: Regenerated.
63473         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
63474         $(built-program-cmd) with $(test-program-cmd).
63475         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
63476         (test_program_cmd): This.
63477         * elf/Makefile ($(objpfx)order.out): Run test with
63478         $(test-program-prefix).
63479         ($(objpfx)order2.out): Likewise.
63480         ($(objpfx)tst-initorder.out): Likewise.
63481         ($(objpfx)tst-initorder2.out): Likewise.
63482         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
63483         $(test-program-cmd).
63484         ($(objpfx)tst-array1-static.out): Likewise.
63485         ($(objpfx)tst-array2.out): Likewise.
63486         ($(objpfx)tst-array3.out): Likewise.
63487         ($(objpfx)tst-array4.out): Likewise.
63488         ($(objpfx)tst-array5.out): Likewise.
63489         ($(objpfx)tst-array5-static.out): Likewise.
63490         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
63491         $(test-program-cmd).
63492         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
63493         $(run-program-prefix) with $(test-program-prefix).
63494         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
63495         (test_program_prefix): This.
63496         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
63497         $(run-program-prefix) with $(test-program-prefix).
63498         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
63499         (test_program_prefix): This.
63500         * iconvdata/tst-tables.sh: Likewise.
63501         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
63502         $(run-program-prefix) with $(test-program-prefix).
63503         ($(objpfx)tst-translit.out): Likewise.
63504         ($(objpfx)tst-gettext2.out): Likewise.
63505         ($(objpfx)tst-gettext4.out): Likewise.
63506         ($(objpfx)tst-gettext6.out): Likewise.
63507         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
63508         (test_program_prefix): This.
63509         * intl/tst-gettext2.sh: Likewise.
63510         * intl/tst-gettext4.sh  Likewise.
63511         * intl/tst-gettext6.sh: Likewise.
63512         * intl/tst-translit.sh: Likewise.
63513         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
63514         with $(test-program-cmd).
63515         * libio/Makefile ($(objpfx)test-freopen.out): Replace
63516         $(run-program-prefix) with $(test-program-prefix).
63517         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
63518         (test_program_prefix): This.
63519         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
63520         $(run-program-prefix) with $(test-program-prefix).
63521         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
63522         (test_program_prefix): This.
63523         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
63524         * posix/Makefile ($(objpfx)globtest.out): Replace
63525         $(run-via-rtld-prefix) and $(test-wrapper) with
63526         $(test-program-prefix) and $(test-via-rtld-prefix).
63527         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
63528         $(test-program-prefix).
63529         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
63530         $(host-test-program-cmd).
63531         (tst-spawn-ARGS): Likewise.
63532         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
63533         $(test-program-prefix).
63534         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
63535         (test_via_rtld_prefix): This.
63536         (test_wrapper): Renamed to ...
63537         (test_program_prefix): This.
63538         (run_program_prefix): Replaced by test_program_prefix.
63539         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
63540         (test_program_prefix): This.
63541         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
63542         with $(host-test-program-cmd).
63543         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
63544         $(run-program-prefix) with $(test-program-prefix).
63545         ($(objpfx)tst-printf.out): Likewise.
63546         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
63547         $(test-program-cmd).
63548         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
63549         (test_program_prefix): This.
63550         * stdio-common/tst-unbputc.sh: Likewise.
63551         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
63552         $(run-program-prefix) with $(test-program-prefix).
63553         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
63554         (test_program_prefix): This.
63555         * string/Makefile ($(objpfx)tst-svc.out):  Replace
63556         $(built-program-cmd) with $(test-program-cmd).
63558 2013-01-11  Andreas Jaeger  <aj@suse.de>
63560         [BZ #15003]
63561         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
63562         value. Sync with Linux 3.7.
63564 2013-01-10  David S. Miller  <davem@davemloft.net>
63566         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
63567         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63568         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63570 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63572         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
63573         never set.
63574         * configure: Regenerated.
63576 2013-01-10  David S. Miller  <davem@davemloft.net>
63578         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
63579         sparc V9 rather than using V8 code.
63580         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
63581         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
63583 2013-01-10  Roland McGrath  <roland@hack.frob.com>
63585         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
63586         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
63587         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
63588         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
63589         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
63590         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
63591         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
63592         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
63593         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
63594         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
63595         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
63596         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
63597         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
63598         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
63599         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
63600         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
63601         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
63602         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
63603         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
63604         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
63605         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
63606         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
63607         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
63608         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
63609         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
63610         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
63611         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
63613 2013-01-10  David S. Miller  <davem@davemloft.net>
63615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63617 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63619         * posix/Makefile (tests-static): New variable.
63620         (tests): Add $(tests-static).
63621         (tst-exec-static-ARGS): New variable.
63622         (tst-spawn-static-ARGS): Likewise.
63623         * posix/tst-exec-static.c: New file.
63624         * posix/tst-spawn-static.c: Likewise.
63625         * posix/tst-exec.c: Support run directly.
63626         * posix/tst-spawn.c: Likewise.
63628 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
63630         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
63631         long.
63632         * math/bits/mathcalls.h (llrint): Likewise.
63633         (llround): Likewise.
63634         * stdlib/stdlib.h (struct drand48_data): Likewise.
63635         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
63636         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
63637         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
63638         Likewise.
63639         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
63640         Likewise.
63641         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
63642         (elf_greg_t): Likewise.
63643         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
63644         (__jmp_buf): Likewise.
63645         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
63646         definitions.
63647         (llrint): Likewise, for all definitions.
63648         (llrintl): Likewise.
63650         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
63651         Remove [__GNUC__] condition.
63652         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
63653         condition to just [__USE_ISOC99].
63654         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
63656 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
63658         [BZ #14200]
63659         * sysdeps/unix/sysv/linux/x86/bits/environments.h
63660         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
63661         defined.
63662         (_POSIX_V6_ILP32_OFF32): Likewise.
63663         (_XBS5_ILP32_OFF32): Likewise.
63664         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
63665         (__ILP32_OFFBIG_LDFLAGS): Likewise.
63667 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63669         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
63671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
63672         doubles __mpexp_twomm1.  Adjust usage.
63673         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
63674         Remove.
63676 2013-01-10  Andreas Schwab  <schwab@suse.de>
63678         [BZ #14964]
63679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
63680         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
63682 2013-01-09  David S. Miller  <davem@davemloft.net>
63684         [BZ #15003]
63685         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
63686         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
63687         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
63688         (TCP_FASTOPEN): Define.
63689         (tcp_repair_opt): New structure.
63690         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
63691         enum values.
63692         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
63693         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
63694         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
63695         (tcp_cookie_transactions): New structure.
63697 2013-01-09  Anton Blanchard  <anton@samba.org>
63699         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
63700         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
63701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
63702         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
63704 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
63706         * include/features.h (__USE_ANSI): Remove.
63708 2013-01-09  Roland McGrath  <roland@hack.frob.com>
63710         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
63712         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
63714 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
63716         * sysdeps/s390/fpu/libm-test-ulps: Update.
63718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63720         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
63721         (__acr): Likewise.
63722         (__cpy): Likewise.
63723         (norm): Likewise.
63724         (denorm): Likewise.
63725         (__mp_dbl): Likewise.
63726         (__dbl_mp): Likewise.
63727         (add_magnitudes): Likewise.
63728         (sub_magnitudes): Likewise.
63729         (__add): Likewise.
63730         (__sub): Likewise.
63731         (__mul): Likewise.
63732         (__inv): Likewise.
63733         (__dvd): Likewise.
63734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
63735         (__acr): Likewise.
63736         (__cpy): Likewise.
63737         (norm): Likewise.
63738         (denorm): Likewise.
63739         (__mp_dbl): Likewise.
63740         (__dbl_mp): Likewise.
63741         (add_magnitudes): Likewise.
63742         (sub_magnitudes): Likewise.
63743         (__add): Likewise.
63744         (__sub): Likewise.
63745         (__mul): Likewise.
63746         (__inv): Likewise.
63747         (__dvd): Likewise.
63748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
63749         (__acr): Likewise.
63750         (__cpy): Likewise.
63751         (norm): Likewise.
63752         (denorm): Likewise.
63753         (__mp_dbl): Likewise.
63754         (__dbl_mp): Likewise.
63755         (add_magnitudes): Likewise.
63756         (sub_magnitudes): Likewise.
63757         (__add): Likewise.
63758         (__sub): Likewise.
63759         (__mul): Likewise.
63760         (__inv): Likewise.
63761         (__dvd): Likewise.
63763 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
63765         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
63766         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
63767         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
63768         2 && __USE_EXTERN_INLINES]: Likewise.
63770 2013-01-08  Andreas Jaeger  <aj@suse.de>
63772         [BZ# 14985]
63773         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
63774         Remove.
63775         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63776         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
63778 2013-01-07  Anton Blanchard  <anton@samba.org>
63780         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
63781         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63782         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
63783         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63784         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63785         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63786         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
63787         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
63788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
63789         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63790         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63791         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63792         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63794         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63795         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63796         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63797         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63798         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
63799         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63800         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
63801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
63802         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63803         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63804         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
63805         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63806         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
63807         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63808         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
63809         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63810         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
63811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63812         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63813         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63814         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63815         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63818         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
63819         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
63820         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
63821         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63822         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63824 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
63826         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
63827         (__MALLOC_PMT): Likewise.
63828         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
63829         [__GNUC__], only on [_LIBC].
63830         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63831         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
63832         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
63833         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
63834         forward declaration.
63835         (realloc_hook_ini): Likewise.
63836         (memalign_hook_ini): Likewise.
63837         (__libc_memalign): Do not use __MALLOC_PMT in variable
63838         declaration.
63839         (__libc_valloc): Likewise.
63840         (__libc_pvalloc): Likewise.
63841         (__libc_calloc): Likewise.
63842         (__posix_memalign): Likewise.
63844         [BZ #14996]
63845         * math/s_casinh.c: Include <float.h>.
63846         (__casinh): Do not do computation with squaring and square root
63847         for large arguments.
63848         * math/s_casinhf.c: Include <float.h>.
63849         (__casinhf): Do not do computation with squaring and square root
63850         for large arguments.
63851         * math/s_casinhl.c: Include <float.h>.
63852         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
63853         (__casinhl): Do not do computation with squaring and square root
63854         for large arguments.
63855         * math/libm-test.inc (casin_test): Add more tests.
63856         (casinh_test): Likewise.
63857         * sysdeps/i386/fpu/libm-test-ulps: Update.
63858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63860 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
63862         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
63863         (__x86_64_raw_data_cache_size): Likewise.
63864         (__x86_64_data_cache_size_half): Likewise.
63865         (__x86_64_raw_data_cache_size_half): Likewise.
63866         (__x86_64_shared_cache_size): Likewise.
63867         (__x86_64_raw_shared_cache_size): Likewise.
63868         (__x86_64_shared_cache_size_half): Likewise.
63869         (__x86_64_raw_shared_cache_size_half): Likewise.
63870         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
63871         to ...
63872         (__x86_data_cache_size): This.
63873         (__x86_64_raw_data_cache_size): Renamed to ...
63874         (__x86_raw_data_cache_size): This.
63875         (__x86_64_data_cache_size_half): Renamed to ...
63876         (__x86_data_cache_size_half): This.
63877         (__x86_64_raw_data_cache_size_half): Renamed to ...
63878         (__x86_raw_data_cache_size_half): This.
63879         (__x86_64_shared_cache_size): Renamed to ...
63880         (__x86_shared_cache_size): This.
63881         (__x86_64_raw_shared_cache_size): Renamed to ...
63882         (__x86_raw_shared_cache_size): This.
63883         (__x86_64_shared_cache_size_half): Renamed to ...
63884         (__x86_shared_cache_size_half): This.
63885         (__x86_64_raw_shared_cache_size_half): Renamed to ...
63886         (__x86_raw_shared_cache_size_half): This.
63887         * sysdeps/x86_64/memcpy.S: Updated.
63888         * sysdeps/x86_64/memset.S: Likewise.
63889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
63890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63891         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63893 2013-01-04  David S. Miller  <davem@davemloft.net>
63895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63897 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
63899         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
63900         1 to avoid redefinition warning.
63901         (__USE_GNU): Don't define.
63902         (init_signaling_nan): Protoize.
63904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63906 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63908         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
63909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
63910         (__cpymn): Likewise.
63911         (norm): Remove commented code.
63912         (denorm): Likewise.
63913         (__mp_dbl): Likewise.
63914         (__inv): Likewise.
63915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
63916         (__cpymn): Likewise.
63917         (norm): Remove commented code.
63918         (denorm): Likewise.
63919         (__mp_dbl): Likewise.
63920         (__inv): Likewise.
63922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
63923         mp_no value for 1.0 and 2.0.
63924         (norm): Use RADIXI instead of radixi.d.
63925         (denorm): Likewise.
63926         (__mul): Use 0.0 instead of zero.d.
63927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
63928         mp_no value for 1.0 and 2.0.
63929         (norm): Use RADIXI instead of radixi.d.
63930         (denorm): Likewise.
63931         (__mul): Use 0.0 instead of zero.d.
63933 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
63935         [BZ #14994]
63936         * math/s_casinh.c (__casinh): Reduce finite argument to first
63937         quadrant then set signs of results at the end.
63938         * math/s_casinhf.c (__casinhf): Likewise.
63939         * math/s_casinhl.c (__casinhl): Likewise.
63940         * math/libm-test.inc (casin_test): Add more tests.
63941         (casinh_test): Likewise.
63942         * sysdeps/i386/fpu/libm-test-ulps: Update.
63943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63945 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63947         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
63949         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
63951         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
63952         declarations.
63953         (denorm): Likewise.
63954         (__mp_dbl): Likewise.
63955         (__inv): Likewise.
63957         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
63958         and adjust the header comment.
63960         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
63961         variable name from declaration.
63963 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
63965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63966         Initialize COMMON_CPUID_INDEX_7 element.
63967         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
63968         (CPUID_RTM): Likewise.
63969         (HAS_RTM): Likewise.
63970         (COMMON_CPUID_INDEX_7): New enum.
63972 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
63974         [BZ #14981]
63975         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
63976         size is zero, record memory as freed.
63978 2013-01-03  Andreas Jaeger  <aj@suse.de>
63980         * po/ia.po: Add new Interlingua translation.
63982 2012-01-03  Allan McRae  <allan@archlinux.org>
63984         * locale/programs/localedef.c: Fix description of '--posix' flag.
63986 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
63988         * NEWS: Update dates in second copyright notice.
63989         * README: Update copyright dates in example.
63990         * manual/libc.texinfo: Update copyright dates.
63991         * scripts/test-installation.pl: Update copyright date in --version
63992         output.
63994         * hurd/ctty-input.c: Fix copyright notice formatting.
63995         * hurd/ctty-output.c: Likewise.
63996         * hurd/dtable.c: Likewise.
63997         * hurd/hurd-raise.c: Likewise.
63998         * hurd/hurdprio.c: Likewise.
63999         * hurd/msgportdemux.c: Likewise.
64000         * misc/sys/file.h: Likewise.
64001         * misc/sys/ioctl.h: Likewise.
64002         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
64003         * sysdeps/mach/hurd/chdir.c: Likewise.
64004         * sysdeps/mach/hurd/fchdir.c: Likewise.
64005         * sysdeps/mach/hurd/rename.c: Likewise.
64006         * sysdeps/mach/hurd/rmdir.c: Likewise.
64007         * sysdeps/mach/hurd/seekdir.c: Likewise.
64008         * sysdeps/mach/hurd/setsid.c: Likewise.
64009         * sysdeps/posix/wait3.c: Likewise.
64011         * All files with FSF copyright notices: Update copyright dates
64012         using scripts/update-copyrights.
64013         * intl/plural.c: Regenerated.
64014         * locale/programs/charmap-kw.h: Likewise.
64015         * locale/programs/locfile-kw.h: Likewise.
64017 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
64019         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
64020         four values.
64022         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
64023         calculation loop and add branch prediction.
64025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64026         check access beyond bounds of m1np.
64028         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64029         MPTWO.
64030         (__inv): Remove local variable MPTWO to use the global
64031         constant.
64032         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
64033         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64034         variable MPTWO.
64035         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
64036         MP3HALFS static const.
64038 2013-01-01  David S. Miller  <davem@davemloft.net>
64040         * po/ca.po: Update from translation team.
64042 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
64044         * scripts/update-copyrights: New file.
64045         * Makeconfig: Reformat copyright notice.
64046         * ctype/ctype.h: Likewise.
64047         * debug/swprintf_chk.c: Likewise.
64048         * elf/dl-cache.c: Likewise.
64049         * elf/dl-debug.c: Likewise.
64050         * elf/dl-object.c: Likewise.
64051         * grp/initgroups.c: Likewise.
64052         * hurd/Makefile: Likewise.
64053         * hurd/hurd/signal.h: Likewise.
64054         * hurd/hurdfault.c: Likewise.
64055         * hurd/hurdioctl.c: Likewise.
64056         * hurd/hurdlookup.c: Likewise.
64057         * hurd/intr-msg.c: Likewise.
64058         * iconv/gconv_open.c: Likewise.
64059         * libio/swprintf.c: Likewise.
64060         * locale/lc-ctype.c: Likewise.
64061         * locale/nl_langinfo.c: Likewise.
64062         * mach/Machrules: Likewise.
64063         * mach/Makefile: Likewise.
64064         * malloc/obstack.h: Likewise.
64065         * manual/Makefile: Likewise.
64066         * manual/tsort.awk: Likewise.
64067         * misc/bits/stab.def: Likewise.
64068         * nis/nis_print_group_entry.c: Likewise.
64069         * nis/nis_table.c: Likewise.
64070         * nis/nss_compat/compat-pwd.c: Likewise.
64071         * nis/nss_compat/compat-spwd.c: Likewise.
64072         * po/Makefile: Likewise.
64073         * posix/fnmatch.c: Likewise.
64074         * posix/regex.h: Likewise.
64075         * resolv/Makefile: Likewise.
64076         * resolv/nss_dns/dns-network.c: Likewise.
64077         * resolv/res_hconf.c: Likewise.
64078         * scripts/gen-sorted.awk: Likewise.
64079         * soft-fp/soft-fp.h: Likewise.
64080         * stdio-common/printf.h: Likewise.
64081         * stdlib/monetary.h: Likewise.
64082         * stdlib/random.c: Likewise.
64083         * stdlib/random_r.c: Likewise.
64084         * sysdeps/generic/Makefile: Likewise.
64085         * sysdeps/gnu/Makefile: Likewise.
64086         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64088         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64090         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64093         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64094         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64095         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64096         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64097         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64098         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64099         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64100         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64101         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64102         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64103         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64106         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64107         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64108         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
64114         * sysdeps/mach/hurd/errnos.awk: Likewise.
64115         * sysdeps/mach/hurd/fork.c: Likewise.
64116         * sysdeps/mach/hurd/getcwd.c: Likewise.
64117         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
64118         * sysdeps/mach/hurd/mmap.c: Likewise.
64119         * sysdeps/mach/hurd/utimes.c: Likewise.
64120         * sysdeps/mach/hurd/xmknod.c: Likewise.
64121         * sysdeps/posix/profil.c: Likewise.
64122         * sysdeps/posix/readdir_r.c: Likewise.
64123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64124         * sysdeps/powerpc/bits/setjmp.h: Likewise.
64125         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
64126         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64128         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64129         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64130         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64132         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64133         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64134         * sysdeps/pthread/lio_listio.c: Likewise.
64135         * sysdeps/sparc/dl-procinfo.h: Likewise.
64136         * sysdeps/unix/i386/sysdep.S: Likewise.
64137         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
64138         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
64139         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
64140         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
64141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64142         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
64143         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
64144         * sysdeps/unix/sysv/linux/speed.c: Likewise.
64145         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
64146         * sysdeps/wordsize-32/divdi3.c: Likewise.
64147         * time/sys/time.h: Likewise.
64148         * wcsmbs/Makefile: Likewise.
64150 2013-01-01  David S. Miller  <davem@davemloft.net>
64152         * po/fr.po: Update from translation team.
64154         * catgets/gencat.c: Update copyright year.
64155         * csu/version.c: Likewise.
64156         * debug/catchsegv.sh: Likewise.
64157         * debug/pcprofiledump.c: Likewise.
64158         * debug/xtrace.sh: Likewise.
64159         * elf/ldconfig.c: Likewise.
64160         * elf/ldd.bash.in: Likewise.
64161         * elf/pldd.c: Likewise.
64162         * elf/sotruss.ksh: Likewise.
64163         * elf/sprof.c: Likewise.
64164         * iconv/iconv_prog.c: Likewise.
64165         * iconv/iconvconfig.c: Likewise.
64166         * locale/programs/locale.c: Likewise.
64167         * locale/programs/localedef.c: Likewise.
64168         * login/programs/pt_chown.c: Likewise.
64169         * malloc/memusage.sh: Likewise.
64170         * malloc/memusagestat.c: Likewise.
64171         * malloc/mtrace.pl: Likewise.
64172         * nscd/nscd.c: Likewise.
64173         * nss/getent.c: Likewise.
64174         * nss/makedb.c: Likewise.
64175         * posix/getconf.c: Likewise.
64177 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64179         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
64180         numbers.
64182 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
64184         * math/bits/mathcalls.h (modf): Use __nonnull.
64186 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64188         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
64189         (split): Use macro CN instead of the bare value.
64190         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
64191         could be used.
64192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
64193         instead of the bare value.
64194         (power1): Likewise.
64196 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
64199         __ATAN_TWOM.
64200         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64202         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
64203         their values.
64204         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
64206         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
64207         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64209 2012-12-28  Andreas Jaeger  <aj@suse.de>
64211         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
64212         values are from Linux 3.7.
64214         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
64215         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
64217 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64219         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
64220         TRUE case.
64222         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
64223         (norm): Likewise.
64224         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
64225         variables with preprocessor constants.
64226         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64227         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64228         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64230 2012-12-27  Bruno Haible  <bruno@clisp.org>
64232         [BZ #14317]
64233         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
64234         only if needed.
64236 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
64239         and use variable directly.
64240         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
64242         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
64243         MPONE.
64244         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
64245         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
64246         variable MPONE.
64247         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
64248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64249         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
64250         include directive.  Remove local variable MPONE.
64251         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
64252         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
64253         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64255 2012-12-25  David S. Miller  <davem@davemloft.net>
64257         * version.h (RELEASE): Set to "development".
64258         (VERSION): Set to "2.17.90".
64259         * NEWS: Add 2.18 section.
64261 2012-12-21  David S. Miller  <davem@davemloft.net>
64263         * po/hr.po: Update from translation team.
64265 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64267         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
64269 2012-12-19  Steve Ellcey  <sellcey@mips.com>
64271         * NEWS:  Mention new memcpy for MIPS.
64273 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64275         * manual/contrib.texi (Contributors): Spelling correction.
64277 2012-12-15  David S. Miller  <davem@davemloft.net>
64279         * po/ru.po: Update from translation team.
64281 2012-12-13  David S. Miller  <davem@davemloft.net>
64283         * NEWS: Mention IFUNC testsuite enhancements.
64285         * po/pl.po: Update from translation team.
64286         * po/bg.po: Likewise.
64288         * manual/contrib.texi (Contributors): Update entries for Hongjiu
64289         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
64291 2012-12-11  David S. Miller  <davem@davemloft.net>
64293         * po/sv.po: Update from translation team.
64295         * po/vi.po: Update from translation team.
64297         * po/cs.po: Update from translation team.
64299         * po/de.po: Update from translation team.
64300         * po/eo.po: Likewise.
64301         * po/nl.po: Likewise.
64303 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64305         [BZ #14246]
64306         * manual/argp.texi (Argp Helper Functions): Move node to follow
64307         Argp Parsing State.
64309         [BZ #14872]
64310         * manual/conf.texi (Limits on File System Capacity): Mention if
64311         terminating null is included in the max size.
64313 2012-12-10  Andreas Jaeger  <aj@suse.de>
64315         * po/cs.po: Update from translation team.
64317 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
64319         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
64320         void pointer and cast to uintptr_t.
64321         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
64322         path.
64323         * sysdeps/s390/s390-64/memcpy.S: Likewise.
64324         * sysdeps/s390/s390-64/memset.S: Likewise.
64326 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
64328         [BZ #14833]
64329         * menual/message.texi (Message Translation): Fix typos.
64330         (Helper programs for gettext): Likewise.
64332 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
64334         [BZ #14898]
64335         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
64336         Change to -1.
64338 2012-12-07  David S. Miller  <davem@davemloft.net>
64340         * po/libc.pot: Update.
64342 2012-12-07  Richard Henderson  <rth@redhat.com>
64344         [BZ #10114]
64345         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
64346         normal/normal case to before the switch.
64347         (_FP_DIV): Likewise.
64349 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
64350             Mike Frysinger  <vapier@gentoo.org>
64352         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
64353         check for __NR_fadvise64_64.
64355 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
64357         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
64358         0, not just to plain "0" as a statement.
64359         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
64360         with cw.
64362 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
64364         * NEWS: Use sourceware.org in Bugzilla URL.
64366 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
64369         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64371         * stdio-common/tst-put-error.c (do_test): Add newline to the
64372         padded test to ensure flush.
64374 2012-12-05  Jeff Law  <law@redhat.com>
64376         * sunrpc/etc.rpc (fedfs_admin): Add entry.
64378 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
64380         * README: Don't refer to ports add-on as distributed separately.
64381         Mention AArch64 in list of systems supported in the ports add-on.
64383         * LICENSES: Add more non-FSF copyright and license notices.
64385         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
64386         ((unused)).
64388         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
64390         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
64391         10000 as width of padded output.
64393 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64395         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
64397         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
64398         variable LX with __attribute__ ((unused)).
64399         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
64400         Likewise.
64401         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
64402         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64403         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
64404         with __attribute__ ((unused)).
64406 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
64408         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
64410 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
64412         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
64413         (CFLAGS-nldbl-acos.c): New variable.
64414         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
64415         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
64416         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
64417         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
64418         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
64419         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
64420         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
64421         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
64422         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
64423         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
64424         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
64425         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
64426         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
64427         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
64428         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
64429         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
64430         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
64431         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
64432         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
64433         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
64434         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
64435         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
64436         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64437         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
64438         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
64439         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
64440         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
64441         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
64442         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
64443         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
64444         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
64445         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
64446         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
64447         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
64448         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
64449         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
64450         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
64451         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
64452         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
64453         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
64454         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
64455         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
64456         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
64457         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64458         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
64459         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
64460         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
64461         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
64462         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
64463         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
64464         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
64465         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
64466         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
64467         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
64468         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
64469         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
64470         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
64471         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
64472         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
64473         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
64474         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
64475         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
64476         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
64477         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
64478         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
64479         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
64480         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
64481         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
64482         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
64483         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
64484         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
64485         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
64486         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
64487         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
64488         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
64489         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
64490         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
64491         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
64492         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
64493         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
64494         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
64495         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
64496         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
64497         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
64498         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
64499         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
64500         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
64501         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
64502         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
64503         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
64504         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
64505         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
64506         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
64507         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
64508         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
64509         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
64510         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
64512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64513         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
64515         [BZ #14914]
64516         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
64517         whole low double instead of just low 47 bits when splitting values
64518         into two parts.
64520 2012-12-03  Allan McRae  <allan@archlinux.org>
64522         * manual/stdio.texi (Predefined Printf Handlers): Remove
64523         @hsep and @vsep usage.
64525 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
64527         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
64528         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
64530 2012-12-03  Jeff Law  <law@redhat.com>
64532         * time/sys/time.h (settimeofday): Do not mark TV argument
64533         as __nonnull.
64535 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
64537         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
64538         when currently writing and seek to current position when not.
64539         * libio/Makefile (tests): Remove bug-fclose1.
64540         * libio/bug-fclose1.c: Delete.
64542 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
64544         * manual/arith.texi (feenableexcept): Fix typo.
64545         (fedisableexcept): Likewise.
64547 2012-11-30  Roland McGrath  <roland@hack.frob.com>
64549         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
64550         second, differently-typed declaration, rather than a cast.
64552 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64554         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
64555         * include/rpc/svc.h: ... here.
64557 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
64559         [BZ #13013]
64560         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
64561         depending n and resplen2 to catch cases where answer
64562         equals answerp2.
64564 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
64566         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
64567         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
64569 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
64571         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
64573 2012-11-29  Roland McGrath  <roland@hack.frob.com>
64575         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
64577 2012-11-28  Jeff Law  <law@redhat.com>
64579         [BZ #13761]
64580         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
64581         dataset_temporary.  Track alloca usage into alloca_used.
64582         If dataset is large allocate and release it via malloc/free.
64584 2012-06-04  Florian Weimer  <fweimer@redhat.com>
64586         [BZ #14197]
64587         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64589 2012-11-28  David S. Miller  <davem@davemloft.net>
64591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64593 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64595         [BZ #14803]
64596         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
64597         of pi/2 rounded to nearest to 64 bits.
64598         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
64599         nearest to 64 bits.
64600         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
64601         bits.
64603 2012-11-28  Jeff Law <law@redhat.com>
64604             Martin Osvald <mosvald@redhat.com>
64606         [BZ #14889]
64607         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
64608         * sunrpc/svc.c: Include time.h.
64609         (__svc_accept_failed): New function.
64610         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
64611         any reason other than EINTR, call __svc_accept_failed.
64612         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
64613         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
64615 2012-11-28  Andreas Schwab  <schwab@suse.de>
64617         * scripts/abilist.awk: Also handle indirect functions in .opd
64618         section.
64620 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
64622         [BZ #13881]
64623         * sysdeps/x86/fpu/powl_helper.c: New file.
64624         * sysdeps/x86/fpu/Makefile: Likewise.
64625         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
64626         (p3): New object.
64627         (__ieee754_powl): Use __powl_helper for finite arguments except
64628         integer exponents below 8.
64629         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
64630         (p3): New object.
64631         (__ieee754_powl): Use __powl_helper for finite arguments except
64632         integer exponents below 8.
64633         * math/libm-test.inc (pow_test): Add more tests and enable some
64634         previously disabled tests.
64635         * sysdeps/i386/fpu/libm-test-ulps: Update.
64636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64638 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64639             Carlos O'Donell  <carlos_odonell@mentor.com>
64641         * nss/makedb.c (is_prime): Assert that input is odd and greater
64642         than 4.  Note that fact in a comment too.
64643         (next_prime): Add 4 to input.
64645 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64647         [BZ #11741]
64648         * libio/Makefile (tests): Add test case tst-fwrite-error.
64649         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
64650         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
64651         * libio/tst-fwrite-error.c: New test case.
64653 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
64655         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
64656         before casting to void *.
64657         * include/libc-internal.h (__pointer_type): New macro.
64658         (__integer_if_pointer_type_sub): Likewise.
64659         (__integer_if_pointer_type): Likewise.
64660         (cast_to_integer): Likewise.
64661         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
64662         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
64663         before casting to atomic64_t.
64664         (atomic_exchange_acq): Likewise.
64665         (__arch_exchange_and_add_body): Likewise.
64666         (__arch_add_body): Likewise.
64667         (atomic_add_negative): Likewise.
64668         (atomic_add_zero): Likewise.
64670 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
64672         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
64673         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
64674         (add_fdes): Likewise.
64675         (linear_search_fdes): Likewise.
64676         (binary_search_unencoded_fdes): Likewise.
64678 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
64680         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
64682 2012-11-24  Adam Conrad  <adconrad@0c3.net>
64684         * configure.in: Autodetect C++ header directories.
64685         * configure: Regenerated.
64687 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
64689         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
64691 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
64693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64695 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
64697         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
64698         LDBL_MANT_DIG == 106]: Disable some tests.
64699         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64700         Likewise.
64701         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
64702         Likewise.
64704         [BZ #14871]
64705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
64706         input for small inputs.  Return +/- pi/2 for large inputs.
64707         * math/libm-test.inc (atan_test): Add more tests.
64709         * sysdeps/generic/unwind-dw2-fde-glibc.c
64710         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
64711         __attribute__ ((unused)).
64713         [BZ #14645]
64714         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
64715         x * y if x and y are nonzero and z is zero.
64717         [BZ #14811]
64718         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
64719         nonzero exponents with absolute value below 0x1p-117 to +/-
64720         0x1p-117.
64722         [BZ #14869]
64723         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
64724         up arguments below 2**-450, not just those below 2**-500.
64725         * math/libm-test.inc (hypot_test): Add another test.
64727         [BZ #14868]
64728         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
64729         Return a+b for ratio over 2**120, not 2**60.
64730         * math/libm-test.inc (hypot_test): Add another test.
64732         * math/libm-test.inc (clog_test): Use
64733         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
64734         (clog10_test): Likewise.
64736         [BZ #6778]
64737         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
64739 2012-11-22  Andreas Schwab  <schwab@suse.de>
64741         * sysdeps/i386/fpu/libm-test-ulps: Update.
64743 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
64745         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
64746         printf output with newline.
64748 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
64750         [BZ #14865]
64751         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
64752         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
64753         -z nodlopen, -z initfirst and -z execstack support.
64754         * configure: Regenerated.
64756         * elf/elf.h (DF_1_NODIRECT): New macro.
64757         (DF_1_IGNMULDEF): Likewise.
64758         (DF_1_NOKSYMS): Likewise.
64759         (DF_1_NOHDR): Likewise.
64760         (DF_1_EDITED): Likewise.
64761         (DF_1_NORELOC): Likewise.
64762         (DF_1_SYMINTPOSE): Likewise.
64763         (DF_1_GLOBAUDIT): Likewise.
64764         (DF_1_SINGLETON): Likewise.
64765         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
64766         DT_1_SUPPORTED_MASK bits.
64767         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
64769 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
64771         * sysdeps/unix/make-syscalls.sh: Document prefixes.
64773 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
64775         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
64776         macro.
64778         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
64779         (sendmmsg): Move declarations...
64780         * socket/sys/socket.h: ... here.
64781         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
64782         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
64783         include it from...
64784         * socket/recvmmsg.c: ... this new file.
64785         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
64786         (sendmmsg): Rename to __sendmmsg, create weak alias and make
64787         definition of __sendmmsg hidden.
64788         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
64789         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
64790         Move ENOSYS stub into and include it from...
64791         * socket/sendmmsg.c: ... this new file.
64792         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
64793         (sysdep_routines): Move recvmmsg and sendmmsg...
64794         * socket/Makefile (routines): ... here.
64795         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
64796         (GLIBC_PRIVATE): Add __sendmmsg.
64797         * include/sys/socket.h (__sendmmsg): Add declarations.
64798         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
64799         sendmmsg.
64801 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
64803         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
64804         variable I1 with __attribute__ ((unused)).
64805         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64807 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64809         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
64810         DUMMY variables with __attribute__ ((unused)).
64812         * bits/byteswap.h: Include <bits/types.h>.
64813         (__bswap_64): Use __uint64_t instead of unsigned long long int.
64815 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
64817         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
64818         string_t.  Do not manually set errno.
64819         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
64820         length with __strnlen.  Make sure to both set errno and return it on
64821         failure.
64823 2012-11-19  David S. Miller  <davem@davemloft.net>
64825         With help from Joseph Myers.
64826         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
64827         very large arguments properly.
64828         * math/libm-test.inc (atan_test): New tests.
64829         (atan2_test): New tests.
64830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64833 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
64835         [BZ #14856]
64836         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
64837         Define to 3.
64839         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
64840         [POSIX] (EADDRNOTAVAIL): Likewise.
64841         [POSIX] (EAFNOSUPPORT): Likewise.
64842         [POSIX] (EALREADY): Likewise.
64843         [POSIX] (ECONNABORTED): Likewise.
64844         [POSIX] (ECONNREFUSED): Likewise.
64845         [POSIX] (ECONNRESET): Likewise.
64846         [POSIX] (EDESTADDRREQ): Likewise.
64847         [POSIX] (EDQUOT): Likewise.
64848         [POSIX] (EHOSTUNREACH): Likewise.
64849         [POSIX] (EIDRM): Likewise.
64850         [POSIX] (EISCONN): Likewise.
64851         [POSIX] (ELOOP): Likewise.
64852         [POSIX] (EMULTIHOP): Likewise.
64853         [POSIX] (ENETDOWN): Likewise.
64854         [POSIX] (ENETUNREACH): Likewise.
64855         [POSIX] (ENOBUFS): Likewise.
64856         [POSIX] (ENODATA): Likewise.
64857         [POSIX] (ENOLINK): Likewise.
64858         [POSIX] (ENOMSG): Likewise.
64859         [POSIX] (ENOPROTOOPT): Likewise.
64860         [POSIX] (ENOSR): Likewise.
64861         [POSIX] (ENOSTR): Likewise.
64862         [POSIX] (ENOTCONN): Likewise.
64863         [POSIX] (ENOTSOCK): Likewise.
64864         [POSIX] (EOPNOTSUPP): Likewise.
64865         [POSIX] (EOVERFLOW): Likewise.
64866         [POSIX] (EPROTO): Likewise.
64867         [POSIX] (EPROTONOSUPPORT): Likewise.
64868         [POSIX] (EPROTOTYPE): Likewise.
64869         [POSIX] (ESTALE): Likewise.
64870         [POSIX] (ETIME): Likewise.
64871         [POSIX] (ETXTBSY): Likewise.
64872         [POSIX] (EWOULDBLOCK): Likewise.
64873         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
64874         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
64875         [POSIX] (SEEK_CUR): Likewise.
64876         [POSIX] (SEEK_END): Likewise.
64877         [POSIX || UNIX98] (mode_t): Do not require.
64878         [POSIX] (off_t): Likewise.
64879         [POSIX] (pid_t): Likewise.
64880         [POSIX] (sys/stat.h): Do not allow header.
64881         [POSIX] (unistd.h): Likewise.
64882         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
64883         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
64884         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
64885         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
64886         require.
64887         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
64888         sigevent): Specify elements.
64889         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
64890         entry.
64891         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
64892         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
64894         * conform/data/cpio.h-data [POSIX]: Disable whole file.
64895         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
64896         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
64897         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
64898         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
64899         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
64900         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
64901         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
64902         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
64903         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
64904         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
64905         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
64906         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
64907         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
64908         Likewise.
64909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
64910         Likewise.
64911         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
64912         Likewise.
64913         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
64914         Likewise.
64915         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
64916         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
64917         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
64918         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
64919         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
64920         Specify lower bound on value.
64921         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
64922         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
64923         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
64924         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
64925         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
64926         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
64927         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
64928         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
64929         value.
64930         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
64931         as optional.
64932         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
64933         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
64934         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
64935         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
64936         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
64937         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
64938         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
64939         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
64940         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
64941         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
64942         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
64943         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
64944         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
64945         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
64946         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
64947         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
64948         entry.
64949         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
64950         optional.
64951         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
64952         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
64953         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
64954         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
64955         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
64956         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
64957         Likewise.
64958         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
64959         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
64960         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
64961         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
64962         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
64963         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
64964         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
64965         as optional.
64966         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
64967         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
64968         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
64969         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
64970         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
64971         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
64972         specify as optional.
64973         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
64974         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
64975         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
64976         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
64977         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
64978         [XPG3] (NL_LANGMAX): Likewise.
64979         [POSIX || XPG3] (NL_MSGMAX): Likewise.
64980         [POSIX || XPG3] (NL_NMAX): Likewise.
64981         [POSIX || XPG3] (NL_SETMAX): Likewise.
64982         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
64983         [XPG3] (NZERO): Likewise.
64984         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
64985         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
64986         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
64987         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
64988         (REG_ERANGE): Expect.
64989         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
64990         optional-constant.
64991         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
64992         Use (void) in prototype.
64993         [POSIX] (*_t): Allow.
64994         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
64995         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
64996         (WRDE_BADVAL): Expect.
64998         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
64999         expect.
65000         [XPG3 || XPG4] (O_RSYNC): Likewise.
65001         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
65002         Likewise.
65003         [XPG3 || XPG4] (pthread_sigmask): Likewise.
65004         [XPG3 || XPG4] (sigqueue): Likewise.
65005         [XPG3 || XPG4] (sigtimedwait): Likewise.
65006         [XPG3 || XPG4] (sigwaitinfo): Likewise.
65007         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
65008         [XPG3 || XPG4] (vsnprintf): Likewise.
65009         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
65010         Likewise.
65011         [XPG3 || XPG4] (blksize_t): Likewise.
65012         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
65013         Likewise.
65014         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
65015         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
65016         [XPG3 || XPG4] (struct itimerspec): Likewise.
65017         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
65018         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
65019         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
65020         [XPG3 || XPG4] (clockid_t): Likewise.
65021         [XPG3 || XPG4] (timer_t): Likewise.
65022         [XPG3 || XPG4] (clock_getres): Likewise.
65023         [XPG3 || XPG4] (clock_gettime): Likewise.
65024         [XPG3 || XPG4] (clock_settime): Likewise.
65025         [XPG3 || XPG4] (nanosleep): Likewise.
65026         [XPG3 || XPG4] (timer_create): Likewise.
65027         [XPG3 || XPG4] (timer_delete): Likewise.
65028         [XPG3 || XPG4] (timer_gettime): Likewise.
65029         [XPG3 || XPG4] (timer_getoverrun): Likewise.
65030         [XPG3 || XPG4] (timer_settime): Likewise.
65031         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
65032         [XPG3 || XPG4] (getlogin_r): Likewise.
65033         [XPG3 || XPG4] (pread): Likewise.
65034         [XPG3 || XPG4] (pthread_atfork): Likewise.
65035         [XPG3 || XPG4] (pwrite): Likewise.
65037         [BZ #14835]
65038         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
65039         <bits/siginfo.h>.
65041 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65043         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
65044         finalizing MALLSTREAM.
65046         * sysdeps/mach/hurd/syncfs.c: New file.
65048 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65050         [BZ #14719]
65051         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
65052         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
65053         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
65054         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
65055         (_nss_dns_gethostbyname4_r): Likewise.
65056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
65057         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
65059 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
65061         [BZ #13763]
65062         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
65064 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
65066         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
65067         * elf/cache.c (print_entry): Print ",AArch64" for
65068         FLAG_AARCH64_LIB64
65070         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
65071         * elf/cache.c (print_entry): Print ",hard-float" for
65072         FLAG_ARM_LIBHF.
65074 2012-11-18  David S. Miller  <davem@davemloft.net>
65076         With help from Joseph Myers.
65077         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
65078         cutoff to 2**-13.
65079         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
65080         cutoff to 2**-25.
65081         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
65082         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
65083         small.
65084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
65085         * math/libm-test.inc (y0_test): New tests.
65086         (y1_test): New tests.
65087         * sysdeps/i386/fpu/libm-test-ulps: Update.
65088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65091 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
65093         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
65094         64-bit targets.
65095         * configure: Regenerated.
65097 2012-11-17  David S. Miller  <davem@davemloft.net>
65099         [BZ #14811]
65100         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
65101         nonzero exponents with absolute value below 0x1p-128 to +/-
65102         0x1p-128.
65104 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
65106         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
65108         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
65110         * posix/getconf-speclist.c: New file.
65111         * posix/posix-envs.def: Likewise.
65112         * posix/confstr.c (START_ENV_GROUP): New macro.
65113         (END_ENV_GROUP): Likewise.
65114         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65115         (KNOWN_PRESENT_ENV_STRING): Likewise.
65116         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65117         (UNKNOWN_ENVIRONMENT): Likewise.
65118         (confstr): Include posix-envs.def instead of handling
65119         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
65120         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
65121         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
65122         (END_ENV_GROUP): Likewise.
65123         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
65124         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
65125         (UNKNOWN_ENVIRONMENT): Likewise.
65126         (__sysconf): Include posix-envs.def instead of handling associated
65127         cases directly here.
65128         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
65129         preprocessing getconf-speclist.c rather than running getconf or
65130         generating empty file.
65132 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
65134         * scripts/check-local-headers.sh: Ignore 'mach' headers.
65136 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
65138         [BZ #14672]
65139         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
65141 2012-11-16  David S. Miller  <davem@davemloft.net>
65143         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
65144         smaller than LDBL_EPSILON/2.0L, just return xm1.
65146 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
65148         * elf/tst-array1.c (init): Set constructor priority to 1000.
65149         (fini): Set destructor priority to 1000.
65150         * elf/tst-array2dep.c: Likewise.
65152 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65154         [BZ #11741]
65155         * libio/fileops.c (_IO_new_file_write): Correctly return error.
65156         (_IO_new_file_xsputn): Also return EOF if none of the input
65157         data was written when overflow failed.
65158         * libio/iopadn.c (_IO_padn): Likewise.
65159         * libio/iowpadn.c (_IO_wpadn): Likewise.
65160         * stdio-common/tst-put-error.c: Add copyright notice.
65161         (do_test): Add case for printing padded string.
65162         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
65163         _IO_padn returned error.
65164         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
65165         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
65166         return EOF.
65168 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65170         * libio/libioP.h: Add comment note that the references to C++
65171         bits are now obsolete.
65173 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65175         * math/libm-test.inc (check_complex): Use asprintf.
65177 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
65179         * debug/pcprofiledump.c (print_version): Update copyright year.
65180         * malloc/memusagestat.c (print_version): Likewise.
65182 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
65184         [BZ #14831]
65185         * elf/Makefile (tests): Add tst-audit8.
65186         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
65187         ($(objpfx)tst-audit8.out): New target.
65188         (tst-audit8-ENV): New variable.
65189         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
65190         audit if l_reloc_result is NULL.
65191         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
65192         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
65193         * elf/tst-audit8.c: New file.
65195 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65197         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
65198         * misc/Makefile (CFLAGS-select.c): Define.
65199         * posix/Makefile (CFLAGS-pause.c): Define.
65201 2012-11-13  David S. Miller  <davem@davemloft.net>
65203         * crypt/Makefile: Move test targets after toplevel Rules
65204         inclusion.  Grab any necessary sysdep routines when linking.
65205         * crypt/md5.c (md5_process_block): Remove define, we will always
65206         name it __md5_process_block.
65207         (md5_finish_ctx): Update md5_process_block call.
65208         (md5_stream): Likewise.
65209         (md5_process_bytes): Likewise.
65210         (md5_process_block): Rename to __md5_process_block and move to ...
65211         * crypt/md5-block.c: ... here.
65212         * crypt/sha256.c (sha256_process_block): Move to ...
65213         * crypt/sha256-block.c: ... here.
65214         * crypt/sha512.c (sha512_process_block): Move to ...
65215         * crypt/sha512-block.c: ... here.
65216         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
65217         path.
65218         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
65219         * sysdeps/sparc/sparc64/multiarch/Makefile
65220         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
65221         crypt subdir.
65222         (localedef-aux): Add md5 crypto assembler when in locale subdir.
65223         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
65224         multiarch changes.
65225         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
65226         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
65227         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
65228         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
65229         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
65230         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
65231         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
65232         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
65233         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
65234         file.
65235         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
65236         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
65237         file.
65238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
65240 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
65242         * timezone/tzselect.ksh: Update from tzcode git revision
65243         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
65244         * timezone/zdump.c: Likewise.
65245         * timezone/zic.c: Likewise.
65246         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
65247         in TZVERSION setting, not $(PKGVERSION).
65248         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
65249         REPORT_BUGS_TO settings.
65251         [BZ #14838]
65252         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
65253         macro.
65255 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65257         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
65258         detection to immediately after _FP_ROUND().
65259         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
65260         bits are 0.
65262 2012-11-11  David S. Miller  <davem@davemloft.net>
65264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
65265         inttypes.h
65266         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
65267         __close rather than their public counterparts.
65269 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
65271         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
65272         file.
65273         [UNIX98] (sem_timedwait): Do not expect.
65274         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
65275         [XPG4 || UNIX98] (sockatmark): Do not expect.
65276         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
65277         (clock_getcpuclockid): Do not expect.
65278         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
65279         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
65280         Do not expect.
65281         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
65282         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
65283         [UNIX98] (vwscanf): Likewise.
65284         [UNIX98] (vswscanf): Likewise.
65286 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
65288         * timezone/version.h: Remove file.
65289         * timezone/README: Do not refer to version.h.
65290         * timezone/Makefile ($(objpfx)zic.o): New dependency on
65291         $(objpfx)version.h.
65292         ($(objpfx)zdump.o): Likewise.
65293         ($(objpfx)version.h): New target.
65295         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
65296         2012i.
65297         * timezone/README: Don't mention modification to tzselect.ksh.
65298         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
65299         work on unmodified tzselect.ksh.  Substitute version numbers in
65300         tzselect.ksh.
65302         * Makefile (format-me): Remove.
65303         (INSTALL): Adjust indentation.  Use commands directly instead of
65304         using $(format-me).
65306         * aclocal.m4 (ACX_PKGVERSION): New macro.
65307         (ACX_BUGURL): Likewise.
65308         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
65309         (PKGVERSION): New AC_DEFINE_UNQUOTED.
65310         (REPORT_BUGS_TO): Likewise.
65311         * configure: Regenerated.
65312         * config.h.in (PKGVERSION): New macro.
65313         (REPORT_BUGS_TO): Likewise.
65314         * config.make.in (PKGVERSION): New variable.
65315         (PKGVERSION_TEXI): Likewise.
65316         (REPORT_BUGS_TO): Likewise.
65317         (REPORT_BUGS_TEXI): Likewise.
65318         * Makefile (format-me): Use -I$(common-objpfx)manual.
65319         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
65320         ($(common-objpfx)manual/%): New target.
65321         (manual/%): Remove target.
65322         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
65323         (print_version): Use PKGVERSION.
65324         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
65325         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
65326         and REPORT_BUGS_TO.
65327         ($(objpfx)xtrace): Likewise.
65328         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
65329         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
65330         (print_version): Use PKGVERSION.
65331         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
65332         (do_version): Use PKGVERSION.
65333         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
65334         REPORT_BUGS_TO.
65335         (common-ldd-rewrite): Likewise.
65336         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
65337         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
65338         (print_version): Use PKGVERSION.
65339         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
65340         * elf/pldd.c (argp_program_bug_address): Remove variable.
65341         (more_help): New function.
65342         (argp): Use more_help.
65343         (print_version): Use PKGVERSION.
65344         * elf/sln.c (main): Use PKGVERSION.
65345         (usage): Use REPORT_BUGS_TO.
65346         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
65347         (top level): Use PKGVERSION.
65348         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
65349         (print_version): Use PKGVERSION.
65350         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
65351         (print_version): Use PKGVERSION.
65352         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
65353         (print_version): Use PKGVERSION.
65354         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
65355         (print_version): Use PKGVERSION.
65356         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
65357         (print_version): Use PKGVERSION.
65358         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
65359         (print_version): Use PKGVERSION.
65360         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
65361         and BUGURL.
65362         ($(objpfx)memusage): Likewise.
65363         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
65364         (do_version): Use PKGVERSION.
65365         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
65366         (print_version): Use PKGVERSION.
65367         * malloc/mtrace.pl ($PACKAGE): Remove variable.
65368         ($PKGVERSION): New variable.
65369         ($REPORT_BUGS_TO): Likewise.
65370         (usage): Use $REPORT_BUGS_TO.
65371         (top level): Use $PKGVERSION.
65372         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
65373         ($(objpfx)pkgvers.texi): New rule.
65374         ($(objpfx)stamp-pkgvers): Likewise.
65375         * manual/install.texi: Include pkgvers.texi.
65376         (--with-pkgversion): Document new configure option.
65377         (--with-bugurl): Likewise.
65378         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
65379         than necessarily for this particular distribution.  Use
65380         REPORT_BUGS_TO for where to report bugs.
65381         * INSTALL: Regenerated.
65382         * manual/libc.texinfo: Include pkgvers.texi.
65383         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
65384         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
65385         (print_version): Use PKGVERSION.
65386         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
65387         (print_version): Use PKGVERSION.
65388         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
65389         (print_version): Use PKGVERSION.
65390         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
65391         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
65392         macro.
65393         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
65394         (print_version): Use PKGVERSION.
65395         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
65396         (print_version): Use PKGVERSION.
65397         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
65398         and PKGVERSION.
65400         * timezone/checktab.awk: Update from tzcode 2012i.
65401         * timezone/ialloc.c: Likewise.
65402         * timezone/private.h: Likewise.
65403         * timezone/scheck.c: Likewise.
65404         * timezone/tzfile.h: Likewise.
65405         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
65406         (TZVERSION): Hardcode tzcode version number.
65407         * timezone/zdump.c: Update from tzcode 2012i.
65408         * timezone/zic.c: Likewise.
65409         * timezone/version.h: New file.
65410         * timezone/README: Describe version.h.  Update upstream location.
65412         [BZ #14824]
65413         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
65414         (mktemp): Enable declaration.
65415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
65416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
65417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
65418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
65419         Likewise.
65420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
65421         Likewise.
65422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
65423         Likewise.
65424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
65425         Likewise.
65426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
65427         Likewise.
65428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
65429         Likewise.
65431         [BZ #14821]
65432         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
65433         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
65434         for copies of such integer values.
65435         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65436         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65438 2012-11-09  Andreas Jaeger  <aj@suse.de>
65440         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
65441         definitions and declarations that are provided by
65442         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65444 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65446         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
65447         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
65448         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
65449         definition.
65451 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65453         * elf/elf.h: Update comment before AArch64 relocations.
65455 2012-11-07  David S. Miller  <davem@davemloft.net>
65457         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
65458         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65459         (__start_context): Declare.
65460         (__makecontext_ret): Delete.
65461         (__makecontext): Hook up __start_context instead of
65462         __makecontext_ret.
65463         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
65464         (sysdep_routines): Add __start_context when in stdlib.
65466 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65468         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
65469         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
65470         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
65471         hardcoded "nm".
65472         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
65473         (READELF): New variable.  Use it instead of hardcoded "readelf".
65475 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65477         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
65478         * sysdeps/x86/Makefile: Here.
65479         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
65480         * sysdeps/x86/tst-xmmymm.sh: This.
65482 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65484         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
65485         expectations.
65486         [UNIX98] (pthread_barrier_t): Do not expect.
65487         [UNIX98] (pthread_barrierattr_t): Likewise.
65488         [UNIX98] (pthread_spinlock_t): Likewise.
65489         [UNIX98] (pthread_barrier_destroy): Likewise.
65490         [UNIX98] (pthread_barrier_init): Likewise.
65491         [UNIX98] (pthread_barrier_wait): Likewise.
65492         [UNIX98] (pthread_barrierattr_destroy): Likewise.
65493         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
65494         [UNIX98] (pthread_barrierattr_init): Likewise.
65495         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
65496         [UNIX98] (pthread_getcpuclockid): Likewise.
65497         [UNIX98] (pthread_mutex_timedlock): Likewise.
65498         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
65499         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
65500         [UNIX98] (pthread_sigmask): Likewise.
65501         [UNIX98] (pthread_spin_destroy): Likewise.
65502         [UNIX98] (pthread_spin_init): Likewise.
65503         [UNIX98] (pthread_spin_lock): Likewise.
65504         [UNIX98] (pthread_spin_trylock): Likewise.
65505         [UNIX98] (pthread_spin_unlock): Likewise.
65506         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
65507         Do not expect.
65508         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
65509         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
65510         [XPG3 || XPG4] (pthread_cond_t): Likewise.
65511         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
65512         [XPG3 || XPG4] (pthread_key_t): Likewise.
65513         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
65514         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
65515         [XPG3 || XPG4] (pthread_once_t): Likewise.
65516         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
65517         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
65518         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
65519         [XPG3 || XPG4] (pthread_t): Likewise.
65521         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
65522         not expect.
65523         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
65525         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
65526         Change function return type to int.
65528         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
65529         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
65530         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
65531         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
65532         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
65533         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
65534         [!POSIX] (posix_madvise): Likewise.
65535         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
65536         && !UNIX98].
65537         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
65538         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
65539         (mode_t): Likewise.
65540         (posix_mem_offset): Likewise.
65541         (posix_typed_mem_get_info): Likewise.
65542         (posix_typed_mem_open): Likewise.
65544         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
65545         Change condition to [XOPEN2K8].
65547         * conform/conformtest.pl: Preprocess allow-header data with -x c
65548         instead of from stdin.
65549         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
65550         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
65551         [C99-based standards] (cerfc): Likewise.
65552         [C99-based standards] (cexp2): Likewise.
65553         [C99-based standards] (cexpm1): Likewise.
65554         [C99-based standards] (clog10): Likewise.
65555         [C99-based standards] (clog1p): Likewise.
65556         [C99-based standards] (clog2): Likewise.
65557         [C99-based standards] (clgamma): Likewise.
65558         [C99-based standards] (ctgamma): Likewise.
65559         [C99-based standards] (cerff): Likewise.
65560         [C99-based standards] (cerfcf): Likewise.
65561         [C99-based standards] (cexp2f): Likewise.
65562         [C99-based standards] (cexpm1f): Likewise.
65563         [C99-based standards] (clog10f): Likewise.
65564         [C99-based standards] (clog1pf): Likewise.
65565         [C99-based standards] (clog2f): Likewise.
65566         [C99-based standards] (clgammaf): Likewise.
65567         [C99-based standards] (ctgammaf): Likewise.
65568         [C99-based standards] (cerfl): Likewise.
65569         [C99-based standards] (cerfcl): Likewise.
65570         [C99-based standards] (cexp2l): Likewise.
65571         [C99-based standards] (cexpm1l): Likewise.
65572         [C99-based standards] (clog10l): Likewise.
65573         [C99-based standards] (clog1pl): Likewise.
65574         [C99-based standards] (clog2l): Likewise.
65575         [C99-based standards] (clgammal): Likewise.
65576         [C99-based standards] (ctgammal): Likewise.
65577         * conform/data/inttypes.h-data [C99-based standards]: Include
65578         stdint.h-data.  Remove all expectations for stdint.h contents.
65579         [C99-based standards] (PRI*): Do not allow.
65580         [C99-based standards] (SCN*): Likewise.
65581         [C99-based standards] (*_t): Likewise.
65582         [C99-based-standards] (PRId8): Expect macro.
65583         [C99-based-standards] (PRIi8): Likewise.
65584         [C99-based-standards] (PRIo8): Likewise.
65585         [C99-based-standards] (PRIu8): Likewise.
65586         [C99-based-standards] (PRIx8): Likewise.
65587         [C99-based-standards] (PRIX8): Likewise.
65588         [C99-based-standards] (SCNd8): Likewise.
65589         [C99-based-standards] (SCNi8): Likewise.
65590         [C99-based-standards] (SCNo8): Likewise.
65591         [C99-based-standards] (SCNu8): Likewise.
65592         [C99-based-standards] (SCNx8): Likewise.
65593         [C99-based-standards] (PRIdLEAST8): Likewise.
65594         [C99-based-standards] (PRIiLEAST8): Likewise.
65595         [C99-based-standards] (PRIoLEAST8): Likewise.
65596         [C99-based-standards] (PRIuLEAST8): Likewise.
65597         [C99-based-standards] (PRIxLEAST8): Likewise.
65598         [C99-based-standards] (PRIXLEAST8): Likewise.
65599         [C99-based-standards] (SCNdLEAST8): Likewise.
65600         [C99-based-standards] (SCNiLEAST8): Likewise.
65601         [C99-based-standards] (SCNoLEAST8): Likewise.
65602         [C99-based-standards] (SCNuLEAST8): Likewise.
65603         [C99-based-standards] (SCNxLEAST8): Likewise.
65604         [C99-based-standards] (PRIdFAST8): Likewise.
65605         [C99-based-standards] (PRIiFAST8): Likewise.
65606         [C99-based-standards] (PRIoFAST8): Likewise.
65607         [C99-based-standards] (PRIuFAST8): Likewise.
65608         [C99-based-standards] (PRIxFAST8): Likewise.
65609         [C99-based-standards] (PRIXFAST8): Likewise.
65610         [C99-based-standards] (SCNdFAST8): Likewise.
65611         [C99-based-standards] (SCNiFAST8): Likewise.
65612         [C99-based-standards] (SCNoFAST8): Likewise.
65613         [C99-based-standards] (SCNuFAST8): Likewise.
65614         [C99-based-standards] (SCNxFAST8): Likewise.
65615         [C99-based-standards] (PRId16): Likewise.
65616         [C99-based-standards] (PRIi16): Likewise.
65617         [C99-based-standards] (PRIo16): Likewise.
65618         [C99-based-standards] (PRIu16): Likewise.
65619         [C99-based-standards] (PRIx16): Likewise.
65620         [C99-based-standards] (PRIX16): Likewise.
65621         [C99-based-standards] (SCNd16): Likewise.
65622         [C99-based-standards] (SCNi16): Likewise.
65623         [C99-based-standards] (SCNo16): Likewise.
65624         [C99-based-standards] (SCNu16): Likewise.
65625         [C99-based-standards] (SCNx16): Likewise.
65626         [C99-based-standards] (PRIdLEAST16): Likewise.
65627         [C99-based-standards] (PRIiLEAST16): Likewise.
65628         [C99-based-standards] (PRIoLEAST16): Likewise.
65629         [C99-based-standards] (PRIuLEAST16): Likewise.
65630         [C99-based-standards] (PRIxLEAST16): Likewise.
65631         [C99-based-standards] (PRIXLEAST16): Likewise.
65632         [C99-based-standards] (SCNdLEAST16): Likewise.
65633         [C99-based-standards] (SCNiLEAST16): Likewise.
65634         [C99-based-standards] (SCNoLEAST16): Likewise.
65635         [C99-based-standards] (SCNuLEAST16): Likewise.
65636         [C99-based-standards] (SCNxLEAST16): Likewise.
65637         [C99-based-standards] (PRIdFAST16): Likewise.
65638         [C99-based-standards] (PRIiFAST16): Likewise.
65639         [C99-based-standards] (PRIoFAST16): Likewise.
65640         [C99-based-standards] (PRIuFAST16): Likewise.
65641         [C99-based-standards] (PRIxFAST16): Likewise.
65642         [C99-based-standards] (PRIXFAST16): Likewise.
65643         [C99-based-standards] (SCNdFAST16): Likewise.
65644         [C99-based-standards] (SCNiFAST16): Likewise.
65645         [C99-based-standards] (SCNoFAST16): Likewise.
65646         [C99-based-standards] (SCNuFAST16): Likewise.
65647         [C99-based-standards] (SCNxFAST16): Likewise.
65648         [C99-based-standards] (PRId32): Likewise.
65649         [C99-based-standards] (PRIi32): Likewise.
65650         [C99-based-standards] (PRIo32): Likewise.
65651         [C99-based-standards] (PRIu32): Likewise.
65652         [C99-based-standards] (PRIx32): Likewise.
65653         [C99-based-standards] (PRIX32): Likewise.
65654         [C99-based-standards] (SCNd32): Likewise.
65655         [C99-based-standards] (SCNi32): Likewise.
65656         [C99-based-standards] (SCNo32): Likewise.
65657         [C99-based-standards] (SCNu32): Likewise.
65658         [C99-based-standards] (SCNx32): Likewise.
65659         [C99-based-standards] (PRIdLEAST32): Likewise.
65660         [C99-based-standards] (PRIiLEAST32): Likewise.
65661         [C99-based-standards] (PRIoLEAST32): Likewise.
65662         [C99-based-standards] (PRIuLEAST32): Likewise.
65663         [C99-based-standards] (PRIxLEAST32): Likewise.
65664         [C99-based-standards] (PRIXLEAST32): Likewise.
65665         [C99-based-standards] (SCNdLEAST32): Likewise.
65666         [C99-based-standards] (SCNiLEAST32): Likewise.
65667         [C99-based-standards] (SCNoLEAST32): Likewise.
65668         [C99-based-standards] (SCNuLEAST32): Likewise.
65669         [C99-based-standards] (SCNxLEAST32): Likewise.
65670         [C99-based-standards] (PRIdFAST32): Likewise.
65671         [C99-based-standards] (PRIiFAST32): Likewise.
65672         [C99-based-standards] (PRIoFAST32): Likewise.
65673         [C99-based-standards] (PRIuFAST32): Likewise.
65674         [C99-based-standards] (PRIxFAST32): Likewise.
65675         [C99-based-standards] (PRIXFAST32): Likewise.
65676         [C99-based-standards] (SCNdFAST32): Likewise.
65677         [C99-based-standards] (SCNiFAST32): Likewise.
65678         [C99-based-standards] (SCNoFAST32): Likewise.
65679         [C99-based-standards] (SCNuFAST32): Likewise.
65680         [C99-based-standards] (SCNxFAST32): Likewise.
65681         [C99-based-standards] (PRId64): Likewise.
65682         [C99-based-standards] (PRIi64): Likewise.
65683         [C99-based-standards] (PRIo64): Likewise.
65684         [C99-based-standards] (PRIu64): Likewise.
65685         [C99-based-standards] (PRIx64): Likewise.
65686         [C99-based-standards] (PRIX64): Likewise.
65687         [C99-based-standards] (SCNd64): Likewise.
65688         [C99-based-standards] (SCNi64): Likewise.
65689         [C99-based-standards] (SCNo64): Likewise.
65690         [C99-based-standards] (SCNu64): Likewise.
65691         [C99-based-standards] (SCNx64): Likewise.
65692         [C99-based-standards] (PRIdLEAST64): Likewise.
65693         [C99-based-standards] (PRIiLEAST64): Likewise.
65694         [C99-based-standards] (PRIoLEAST64): Likewise.
65695         [C99-based-standards] (PRIuLEAST64): Likewise.
65696         [C99-based-standards] (PRIxLEAST64): Likewise.
65697         [C99-based-standards] (PRIXLEAST64): Likewise.
65698         [C99-based-standards] (SCNdLEAST64): Likewise.
65699         [C99-based-standards] (SCNiLEAST64): Likewise.
65700         [C99-based-standards] (SCNoLEAST64): Likewise.
65701         [C99-based-standards] (SCNuLEAST64): Likewise.
65702         [C99-based-standards] (SCNxLEAST64): Likewise.
65703         [C99-based-standards] (PRIdFAST64): Likewise.
65704         [C99-based-standards] (PRIiFAST64): Likewise.
65705         [C99-based-standards] (PRIoFAST64): Likewise.
65706         [C99-based-standards] (PRIuFAST64): Likewise.
65707         [C99-based-standards] (PRIxFAST64): Likewise.
65708         [C99-based-standards] (PRIXFAST64): Likewise.
65709         [C99-based-standards] (SCNdFAST64): Likewise.
65710         [C99-based-standards] (SCNiFAST64): Likewise.
65711         [C99-based-standards] (SCNoFAST64): Likewise.
65712         [C99-based-standards] (SCNuFAST64): Likewise.
65713         [C99-based-standards] (SCNxFAST64): Likewise.
65714         [C99-based-standards] (PRIdMAX): Likewise.
65715         [C99-based-standards] (PRIiMAX): Likewise.
65716         [C99-based-standards] (PRIoMAX): Likewise.
65717         [C99-based-standards] (PRIuMAX): Likewise.
65718         [C99-based-standards] (PRIxMAX): Likewise.
65719         [C99-based-standards] (PRIXMAX): Likewise.
65720         [C99-based-standards] (SCNdMAX): Likewise.
65721         [C99-based-standards] (SCNiMAX): Likewise.
65722         [C99-based-standards] (SCNoMAX): Likewise.
65723         [C99-based-standards] (SCNuMAX): Likewise.
65724         [C99-based-standards] (SCNxMAX): Likewise.
65725         [C99-based-standards] (PRIdPTR): Likewise.
65726         [C99-based-standards] (PRIiPTR): Likewise.
65727         [C99-based-standards] (PRIoPTR): Likewise.
65728         [C99-based-standards] (PRIuPTR): Likewise.
65729         [C99-based-standards] (PRIxPTR): Likewise.
65730         [C99-based-standards] (PRIXPTR): Likewise.
65731         [C99-based-standards] (SCNdPTR): Likewise.
65732         [C99-based-standards] (SCNiPTR): Likewise.
65733         [C99-based-standards] (SCNoPTR): Likewise.
65734         [C99-based-standards] (SCNuPTR): Likewise.
65735         [C99-based-standards] (SCNxPTR): Likewise.
65736         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
65737         allow.
65738         * conform/data/stdint.h-data: Update comments to clarify
65739         requirements.
65740         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
65741         type.
65742         [C99-based standards] (INT8_MAX): Likewise.
65743         [C99-based standards] (INT16_MIN): Likewise.
65744         [C99-based standards] (INT16_MAX): Likewise.
65745         [C99-based standards] (INT32_MIN): Likewise.
65746         [C99-based standards] (INT32_MAX): Likewise.
65747         [C99-based standards] (INT64_MIN): Likewise.
65748         [C99-based standards] (INT64_MAX): Likewise.
65749         [C99-based standards] (UINT8_MAX): Likewise.
65750         [C99-based standards] (UINT16_MAX): Likewise.
65751         [C99-based standards] (UINT32_MAX): Likewise.
65752         [C99-based standards] (UINT64_MAX): Likewise.
65753         [C99-based standards] (INT_LEAST8_MIN): Likewise.
65754         [C99-based standards] (INT_LEAST8_MAX): Likewise.
65755         [C99-based standards] (INT_LEAST16_MIN): Likewise.
65756         [C99-based standards] (INT_LEAST16_MAX): Likewise.
65757         [C99-based standards] (INT_LEAST32_MIN): Likewise.
65758         [C99-based standards] (INT_LEAST32_MAX): Likewise.
65759         [C99-based standards] (INT_LEAST64_MIN): Likewise.
65760         [C99-based standards] (INT_LEAST64_MAX): Likewise.
65761         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
65762         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
65763         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
65764         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
65765         [C99-based standards] (INT_FAST8_MIN): Likewise.
65766         [C99-based standards] (INT_FAST8_MAX): Likewise.
65767         [C99-based standards] (INT_FAST16_MIN): Likewise.
65768         [C99-based standards] (INT_FAST16_MAX): Likewise.
65769         [C99-based standards] (INT_FAST32_MIN): Likewise.
65770         [C99-based standards] (INT_FAST32_MAX): Likewise.
65771         [C99-based standards] (INT_FAST64_MIN): Likewise.
65772         [C99-based standards] (INT_FAST64_MAX): Likewise.
65773         [C99-based standards] (UINT_FAST8_MAX): Likewise.
65774         [C99-based standards] (UINT_FAST16_MAX): Likewise.
65775         [C99-based standards] (UINT_FAST32_MAX): Likewise.
65776         [C99-based standards] (UINT_FAST64_MAX): Likewise.
65777         [C99-based standards] (INTPTR_MIN): Likewise.
65778         [C99-based standards] (INTPTR_MAX): Likewise.
65779         [C99-based standards] (UINTPTR_MAX): Likewise.
65780         [C99-based standards] (INTMAX_MIN): Likewise.
65781         [C99-based standards] (INTMAX_MAX): Likewise.
65782         [C99-based standards] (UINTMAX_MAX): Likewise.
65783         [C99-based standards] (PTRDIFF_MIN): Likewise.
65784         [C99-based standards] (PTRDIFF_MAX): Likewise.
65785         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
65786         [C99-based standards] (SIZE_MAX): Likewise.
65787         [C99-based standards] (WCHAR_MAX): Likewise.
65788         [C99-based standards] (WINT_MAX): Likewise.
65789         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
65790         constraint on value.
65791         [C99-based standards] (WCHAR_MIN): Likewise.
65792         [C99-based standards] (WINT_MIN): Likewise.
65793         [C99-based standards] (*_t): Allow.
65794         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
65795         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
65796         Include math.h-data and complex.h-data.  Remove all expectations
65797         of math.h and complex.h contents.
65798         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
65799         at end of line.
65800         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
65801         (struct tm): Expect tag.
65802         [C99-based-standards] (wcstof): Expect function.
65803         [C99-based-standards] (wcstold): Likewise.
65804         [C99-based-standards] (wcstoll): Likewise.
65805         [C99-based-standards] (wcstoull): Likewise.
65806         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
65807         macro-int-constant.  Specify type.
65808         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
65809         constraint on value.
65810         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65811         Specify type.
65812         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
65813         Specify value.
65814         [ISO C standards]: Do not allow headers.
65815         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
65816         wcs[abcdefghijklmnopqrstuvwxyz]*.
65817         [ISO C standards] (*_t): Do not allow.
65818         * conform/data/wctype.h-data [C99-based standards] (iswblank):
65819         Expect function.
65820         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
65821         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
65822         Specify type.
65823         [ISO C standards]: Do not allow headers.
65824         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
65825         is[abcdefghijklmnopqrstuvwxyz]*.
65826         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
65827         to[abcdefghijklmnopqrstuvwxyz]*.
65828         [ISO C standards] (*_t): Do not allow.
65829         * conform/data/stdalign.h-data: New file.
65830         * conform/data/stdbool.h-data: Likewise.
65831         * conform/data/stdnoreturn.h-data: Likewise.
65833 2012-11-07  Roland McGrath  <roland@hack.frob.com>
65835         [BZ #14815]
65836         * manual/filesys.texi (Directory Entries): Typo fix.
65837         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
65839 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65841         * elf/elf.h (EM_AARCH64): New macro.
65842         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
65843         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
65844         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
65845         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
65846         (R_AARCH64_TLSDESC): Likewise.
65847         (NT_ARM_TLS): Likewise.
65848         (NT_ARM_HW_BREAK): Likewise.
65849         (NT_ARM_HW_WATCH): Likewise.
65851 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65853         [BZ #14811]
65854         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
65855         (__ieee754_powl): Saturate nonzero exponents with absolute value
65856         below 0x1p-79 to +/- 0x1p-79.
65857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
65858         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
65859         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
65860         nonzero exponents with absolute value below 0x1p-32 to +/-
65861         0x1p-32.
65862         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
65863         (__ieee754_powl): Saturate nonzero exponents with absolute value
65864         below 0x1p-79 to +/- 0x1p-79.
65865         * math/libm-test.inc (pow_test): Add more tests.
65867 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65869         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
65870         _dl_s390_cap_flags with kernel. Increase string length.
65871         (_dl_s390_platforms): Add z196 and zEC12.
65873 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
65875         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
65876         Change XOPEN21K to XOPEN2K.
65878 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
65880         * string/memmove.c: Use memcpy when possible.
65882 2012-11-06  Andreas Jaeger  <aj@suse.de>
65884         * po/eo.po: Update from translation team.
65886 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
65888         [BZ #14793]
65889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
65890         exponent and small x and y exponents, scale x or y up.  Increase
65891         by 2 the exponent used in scaling up.
65892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65894         * math/libm-test.inc (fma_test): Add more tests.
65895         (fma_test_towardzero): Likewise.
65896         (fma_test_downward): Likewise.
65897         (fma_test_upward): Likewise.
65899 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
65901         [BZ #14805]
65902         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
65903         fenv_t *.
65905         [BZ #14801]
65906         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
65907         namespace for names of struct fields.
65908         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
65909         fenv_t fields.
65910         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
65911         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
65913 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65915         [BZ #3665]
65916         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
65918 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65920         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
65921         PTR_DEMANGLE.
65923         [BZ #5246]
65924         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
65925         PTR_DEMANGLE.
65927 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
65929         [BZ #14797]
65930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
65931         definitely overflow as x * y not x * y + z.
65932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65934         * math/libm-test.inc (fma_test): Add more tests.
65935         (fma_test_towardzero): Likewise.
65936         (fma_test_downward): Likewise.
65937         (fma_test_upward): Likewise.
65939 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
65941         [BZ #157]
65943         * include/stub-tag.h: Remove file.
65944         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
65945         '#include' of it.
65946         * manual/maint.texi (Porting): Don't reference it.
65947         * Makerules ($(objpfx)stubs): Likewise.
65948         * dirent/closedir.c: Don't include <stub-tag.h>.
65949         * dirent/dirfd.c: Likewise.
65950         * dirent/fdopendir.c: Likewise.
65951         * dirent/getdents.c: Likewise.
65952         * dirent/getdents64.c: Likewise.
65953         * dirent/opendir.c: Likewise.
65954         * dirent/readdir.c: Likewise.
65955         * dirent/readdir64.c: Likewise.
65956         * dirent/readdir64_r.c: Likewise.
65957         * dirent/readdir_r.c: Likewise.
65958         * dirent/rewinddir.c: Likewise.
65959         * dirent/seekdir.c: Likewise.
65960         * dirent/telldir.c: Likewise.
65961         * gmon/profil.c: Likewise.
65962         * grp/setgroups.c: Likewise.
65963         * inet/if_index.c: Likewise.
65964         * io/access.c: Likewise.
65965         * io/chdir.c: Likewise.
65966         * io/chmod.c: Likewise.
65967         * io/chown.c: Likewise.
65968         * io/close.c: Likewise.
65969         * io/dup.c: Likewise.
65970         * io/dup2.c: Likewise.
65971         * io/dup3.c: Likewise.
65972         * io/euidaccess.c: Likewise.
65973         * io/faccessat.c: Likewise.
65974         * io/fchdir.c: Likewise.
65975         * io/fchmod.c: Likewise.
65976         * io/fchmodat.c: Likewise.
65977         * io/fchown.c: Likewise.
65978         * io/fchownat.c: Likewise.
65979         * io/fcntl.c: Likewise.
65980         * io/flock.c: Likewise.
65981         * io/fstatfs.c: Likewise.
65982         * io/fstatfs64.c: Likewise.
65983         * io/fstatvfs.c: Likewise.
65984         * io/fstatvfs64.c: Likewise.
65985         * io/futimens.c: Likewise.
65986         * io/fxstat.c: Likewise.
65987         * io/fxstat64.c: Likewise.
65988         * io/fxstatat.c: Likewise.
65989         * io/fxstatat64.c: Likewise.
65990         * io/getcwd.c: Likewise.
65991         * io/isatty.c: Likewise.
65992         * io/lchmod.c: Likewise.
65993         * io/lchown.c: Likewise.
65994         * io/link.c: Likewise.
65995         * io/linkat.c: Likewise.
65996         * io/lseek.c: Likewise.
65997         * io/lseek64.c: Likewise.
65998         * io/lxstat64.c: Likewise.
65999         * io/mkdir.c: Likewise.
66000         * io/mkdirat.c: Likewise.
66001         * io/mkfifo.c: Likewise.
66002         * io/mkfifoat.c: Likewise.
66003         * io/open.c: Likewise.
66004         * io/open64.c: Likewise.
66005         * io/openat.c: Likewise.
66006         * io/openat64.c: Likewise.
66007         * io/pipe.c: Likewise.
66008         * io/pipe2.c: Likewise.
66009         * io/poll.c: Likewise.
66010         * io/posix_fadvise.c: Likewise.
66011         * io/posix_fadvise64.c: Likewise.
66012         * io/posix_fallocate.c: Likewise.
66013         * io/posix_fallocate64.c: Likewise.
66014         * io/read.c: Likewise.
66015         * io/readlink.c: Likewise.
66016         * io/readlinkat.c: Likewise.
66017         * io/rmdir.c: Likewise.
66018         * io/sendfile.c: Likewise.
66019         * io/sendfile64.c: Likewise.
66020         * io/statfs.c: Likewise.
66021         * io/statfs64.c: Likewise.
66022         * io/statvfs.c: Likewise.
66023         * io/statvfs64.c: Likewise.
66024         * io/symlink.c: Likewise.
66025         * io/symlinkat.c: Likewise.
66026         * io/ttyname.c: Likewise.
66027         * io/ttyname_r.c: Likewise.
66028         * io/umask.c: Likewise.
66029         * io/unlink.c: Likewise.
66030         * io/unlinkat.c: Likewise.
66031         * io/utime.c: Likewise.
66032         * io/utimensat.c: Likewise.
66033         * io/write.c: Likewise.
66034         * io/xmknod.c: Likewise.
66035         * io/xmknodat.c: Likewise.
66036         * io/xstat.c: Likewise.
66037         * io/xstat64.c: Likewise.
66038         * login/getpt.c: Likewise.
66039         * login/grantpt.c: Likewise.
66040         * login/unlockpt.c: Likewise.
66041         * math/e_acoshl.c: Likewise.
66042         * math/e_acosl.c: Likewise.
66043         * math/e_asinl.c: Likewise.
66044         * math/e_atan2l.c: Likewise.
66045         * math/e_atanhl.c: Likewise.
66046         * math/e_coshl.c: Likewise.
66047         * math/e_expl.c: Likewise.
66048         * math/e_fmodl.c: Likewise.
66049         * math/e_gammal_r.c: Likewise.
66050         * math/e_hypotl.c: Likewise.
66051         * math/e_j0l.c: Likewise.
66052         * math/e_j1l.c: Likewise.
66053         * math/e_jnl.c: Likewise.
66054         * math/e_lgammal_r.c: Likewise.
66055         * math/e_log10l.c: Likewise.
66056         * math/e_log2l.c: Likewise.
66057         * math/e_logl.c: Likewise.
66058         * math/e_powl.c: Likewise.
66059         * math/e_rem_pio2l.c: Likewise.
66060         * math/e_sinhl.c: Likewise.
66061         * math/e_sqrtl.c: Likewise.
66062         * math/fclrexcpt.c: Likewise.
66063         * math/fedisblxcpt.c: Likewise.
66064         * math/feenablxcpt.c: Likewise.
66065         * math/fegetenv.c: Likewise.
66066         * math/fegetexcept.c: Likewise.
66067         * math/fegetround.c: Likewise.
66068         * math/feholdexcpt.c: Likewise.
66069         * math/fesetenv.c: Likewise.
66070         * math/fesetround.c: Likewise.
66071         * math/feupdateenv.c: Likewise.
66072         * math/fgetexcptflg.c: Likewise.
66073         * math/fraiseexcpt.c: Likewise.
66074         * math/fsetexcptflg.c: Likewise.
66075         * math/ftestexcept.c: Likewise.
66076         * math/k_cosl.c: Likewise.
66077         * math/k_rem_pio2l.c: Likewise.
66078         * math/k_sinl.c: Likewise.
66079         * math/k_tanl.c: Likewise.
66080         * math/s_asinhl.c: Likewise.
66081         * math/s_atanl.c: Likewise.
66082         * math/s_cbrtl.c: Likewise.
66083         * math/s_erfl.c: Likewise.
66084         * math/s_expm1l.c: Likewise.
66085         * math/s_log1pl.c: Likewise.
66086         * math/s_tanhl.c: Likewise.
66087         * misc/acct.c: Likewise.
66088         * misc/brk.c: Likewise.
66089         * misc/chflags.c: Likewise.
66090         * misc/chroot.c: Likewise.
66091         * misc/fchflags.c: Likewise.
66092         * misc/fgetxattr.c: Likewise.
66093         * misc/flistxattr.c: Likewise.
66094         * misc/fremovexattr.c: Likewise.
66095         * misc/fsetxattr.c: Likewise.
66096         * misc/fsync.c: Likewise.
66097         * misc/ftruncate.c: Likewise.
66098         * misc/futimes.c: Likewise.
66099         * misc/futimesat.c: Likewise.
66100         * misc/getdomain.c: Likewise.
66101         * misc/getdtsz.c: Likewise.
66102         * misc/gethostid.c: Likewise.
66103         * misc/gethostname.c: Likewise.
66104         * misc/getloadavg.c: Likewise.
66105         * misc/getpagesize.c: Likewise.
66106         * misc/getsysstats.c: Likewise.
66107         * misc/getxattr.c: Likewise.
66108         * misc/gtty.c: Likewise.
66109         * misc/ioctl.c: Likewise.
66110         * misc/lgetxattr.c: Likewise.
66111         * misc/listxattr.c: Likewise.
66112         * misc/llistxattr.c: Likewise.
66113         * misc/lremovexattr.c: Likewise.
66114         * misc/lsetxattr.c: Likewise.
66115         * misc/lutimes.c: Likewise.
66116         * misc/madvise.c: Likewise.
66117         * misc/mincore.c: Likewise.
66118         * misc/mlock.c: Likewise.
66119         * misc/mlockall.c: Likewise.
66120         * misc/mmap.c: Likewise.
66121         * misc/mprotect.c: Likewise.
66122         * misc/msync.c: Likewise.
66123         * misc/munlock.c: Likewise.
66124         * misc/munlockall.c: Likewise.
66125         * misc/munmap.c: Likewise.
66126         * misc/preadv.c: Likewise.
66127         * misc/preadv64.c: Likewise.
66128         * misc/ptrace.c: Likewise.
66129         * misc/pwritev.c: Likewise.
66130         * misc/pwritev64.c: Likewise.
66131         * misc/readv.c: Likewise.
66132         * misc/reboot.c: Likewise.
66133         * misc/remap_file_pages.c: Likewise.
66134         * misc/removexattr.c: Likewise.
66135         * misc/revoke.c: Likewise.
66136         * misc/select.c: Likewise.
66137         * misc/setdomain.c: Likewise.
66138         * misc/setegid.c: Likewise.
66139         * misc/seteuid.c: Likewise.
66140         * misc/sethostid.c: Likewise.
66141         * misc/sethostname.c: Likewise.
66142         * misc/setregid.c: Likewise.
66143         * misc/setreuid.c: Likewise.
66144         * misc/setxattr.c: Likewise.
66145         * misc/sstk.c: Likewise.
66146         * misc/stty.c: Likewise.
66147         * misc/swapoff.c: Likewise.
66148         * misc/swapon.c: Likewise.
66149         * misc/sync.c: Likewise.
66150         * misc/syncfs.c: Likewise.
66151         * misc/syscall.c: Likewise.
66152         * misc/truncate.c: Likewise.
66153         * misc/ualarm.c: Likewise.
66154         * misc/usleep.c: Likewise.
66155         * misc/ustat.c: Likewise.
66156         * misc/utimes.c: Likewise.
66157         * misc/vhangup.c: Likewise.
66158         * misc/writev.c: Likewise.
66159         * posix/_exit.c: Likewise.
66160         * posix/alarm.c: Likewise.
66161         * posix/execve.c: Likewise.
66162         * posix/fexecve.c: Likewise.
66163         * posix/fork.c: Likewise.
66164         * posix/fpathconf.c: Likewise.
66165         * posix/getaddrinfo.c: Likewise.
66166         * posix/getegid.c: Likewise.
66167         * posix/geteuid.c: Likewise.
66168         * posix/getgid.c: Likewise.
66169         * posix/getgroups.c: Likewise.
66170         * posix/getlogin.c: Likewise.
66171         * posix/getlogin_r.c: Likewise.
66172         * posix/getpgid.c: Likewise.
66173         * posix/getpid.c: Likewise.
66174         * posix/getppid.c: Likewise.
66175         * posix/getresgid.c: Likewise.
66176         * posix/getresuid.c: Likewise.
66177         * posix/getsid.c: Likewise.
66178         * posix/getuid.c: Likewise.
66179         * posix/glob64.c: Likewise.
66180         * posix/nanosleep.c: Likewise.
66181         * posix/pathconf.c: Likewise.
66182         * posix/pause.c: Likewise.
66183         * posix/posix_madvise.c: Likewise.
66184         * posix/pread.c: Likewise.
66185         * posix/pread64.c: Likewise.
66186         * posix/pwrite.c: Likewise.
66187         * posix/pwrite64.c: Likewise.
66188         * posix/sched_getaffinity.c: Likewise.
66189         * posix/sched_getp.c: Likewise.
66190         * posix/sched_gets.c: Likewise.
66191         * posix/sched_primax.c: Likewise.
66192         * posix/sched_primin.c: Likewise.
66193         * posix/sched_rr_gi.c: Likewise.
66194         * posix/sched_setaffinity.c: Likewise.
66195         * posix/sched_setp.c: Likewise.
66196         * posix/sched_sets.c: Likewise.
66197         * posix/sched_yield.c: Likewise.
66198         * posix/setgid.c: Likewise.
66199         * posix/setlogin.c: Likewise.
66200         * posix/setpgid.c: Likewise.
66201         * posix/setresgid.c: Likewise.
66202         * posix/setresuid.c: Likewise.
66203         * posix/setsid.c: Likewise.
66204         * posix/setuid.c: Likewise.
66205         * posix/sleep.c: Likewise.
66206         * posix/spawni.c: Likewise.
66207         * posix/sysconf.c: Likewise.
66208         * posix/times.c: Likewise.
66209         * posix/wait.c: Likewise.
66210         * posix/wait3.c: Likewise.
66211         * posix/wait4.c: Likewise.
66212         * posix/waitpid.c: Likewise.
66213         * resolv/gai_sigqueue.c: Likewise.
66214         * resource/getpriority.c: Likewise.
66215         * resource/getrlimit.c: Likewise.
66216         * resource/getrusage.c: Likewise.
66217         * resource/nice.c: Likewise.
66218         * resource/setpriority.c: Likewise.
66219         * resource/setrlimit.c: Likewise.
66220         * resource/ulimit.c: Likewise.
66221         * rt/aio_cancel.c: Likewise.
66222         * rt/aio_fsync.c: Likewise.
66223         * rt/aio_read.c: Likewise.
66224         * rt/aio_sigqueue.c: Likewise.
66225         * rt/aio_suspend.c: Likewise.
66226         * rt/aio_write.c: Likewise.
66227         * rt/clock_getres.c: Likewise.
66228         * rt/clock_gettime.c: Likewise.
66229         * rt/clock_nanosleep.c: Likewise.
66230         * rt/clock_settime.c: Likewise.
66231         * rt/lio_listio.c: Likewise.
66232         * rt/mq_close.c: Likewise.
66233         * rt/mq_getattr.c: Likewise.
66234         * rt/mq_notify.c: Likewise.
66235         * rt/mq_open.c: Likewise.
66236         * rt/mq_receive.c: Likewise.
66237         * rt/mq_send.c: Likewise.
66238         * rt/mq_setattr.c: Likewise.
66239         * rt/mq_timedreceive.c: Likewise.
66240         * rt/mq_timedsend.c: Likewise.
66241         * rt/mq_unlink.c: Likewise.
66242         * rt/shm_open.c: Likewise.
66243         * rt/shm_unlink.c: Likewise.
66244         * rt/timer_create.c: Likewise.
66245         * rt/timer_delete.c: Likewise.
66246         * rt/timer_getoverr.c: Likewise.
66247         * rt/timer_gettime.c: Likewise.
66248         * rt/timer_settime.c: Likewise.
66249         * setjmp/__longjmp.c: Likewise.
66250         * setjmp/setjmp.c: Likewise.
66251         * signal/kill.c: Likewise.
66252         * signal/killpg.c: Likewise.
66253         * signal/raise.c: Likewise.
66254         * signal/sigaction.c: Likewise.
66255         * signal/sigaltstack.c: Likewise.
66256         * signal/sigblock.c: Likewise.
66257         * signal/sigignore.c: Likewise.
66258         * signal/sigintr.c: Likewise.
66259         * signal/signal.c: Likewise.
66260         * signal/sigpause.c: Likewise.
66261         * signal/sigpending.c: Likewise.
66262         * signal/sigqueue.c: Likewise.
66263         * signal/sigreturn.c: Likewise.
66264         * signal/sigset.c: Likewise.
66265         * signal/sigsetmask.c: Likewise.
66266         * signal/sigstack.c: Likewise.
66267         * signal/sigsuspend.c: Likewise.
66268         * signal/sigtimedwait.c: Likewise.
66269         * signal/sigvec.c: Likewise.
66270         * signal/sigwait.c: Likewise.
66271         * signal/sigwaitinfo.c: Likewise.
66272         * signal/sysv_signal.c: Likewise.
66273         * socket/accept.c: Likewise.
66274         * socket/accept4.c: Likewise.
66275         * socket/bind.c: Likewise.
66276         * socket/connect.c: Likewise.
66277         * socket/getpeername.c: Likewise.
66278         * socket/getsockname.c: Likewise.
66279         * socket/getsockopt.c: Likewise.
66280         * socket/isfdtype.c: Likewise.
66281         * socket/listen.c: Likewise.
66282         * socket/recv.c: Likewise.
66283         * socket/recvfrom.c: Likewise.
66284         * socket/recvmsg.c: Likewise.
66285         * socket/send.c: Likewise.
66286         * socket/sendmsg.c: Likewise.
66287         * socket/sendto.c: Likewise.
66288         * socket/setsockopt.c: Likewise.
66289         * socket/shutdown.c: Likewise.
66290         * socket/sockatmark.c: Likewise.
66291         * socket/socket.c: Likewise.
66292         * socket/socketpair.c: Likewise.
66293         * stdio-common/ctermid.c: Likewise.
66294         * stdio-common/cuserid.c: Likewise.
66295         * stdio-common/remove.c: Likewise.
66296         * stdio-common/rename.c: Likewise.
66297         * stdio-common/renameat.c: Likewise.
66298         * stdio-common/tempname.c: Likewise.
66299         * stdlib/getcontext.c: Likewise.
66300         * stdlib/makecontext.c: Likewise.
66301         * stdlib/setcontext.c: Likewise.
66302         * stdlib/swapcontext.c: Likewise.
66303         * stdlib/system.c: Likewise.
66304         * streams/fattach.c: Likewise.
66305         * streams/fdetach.c: Likewise.
66306         * streams/getmsg.c: Likewise.
66307         * streams/getpmsg.c: Likewise.
66308         * streams/putmsg.c: Likewise.
66309         * streams/putpmsg.c: Likewise.
66310         * sysdeps/unix/bsd/getpt.c: Likewise.
66311         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
66312         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
66313         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
66314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66315         Likewise.
66316         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
66317         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66318         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
66319         * sysvipc/msgctl.c: Likewise.
66320         * sysvipc/msgget.c: Likewise.
66321         * sysvipc/msgrcv.c: Likewise.
66322         * sysvipc/msgsnd.c: Likewise.
66323         * sysvipc/semctl.c: Likewise.
66324         * sysvipc/semget.c: Likewise.
66325         * sysvipc/semop.c: Likewise.
66326         * sysvipc/semtimedop.c: Likewise.
66327         * sysvipc/shmat.c: Likewise.
66328         * sysvipc/shmctl.c: Likewise.
66329         * sysvipc/shmdt.c: Likewise.
66330         * sysvipc/shmget.c: Likewise.
66331         * termios/tcdrain.c: Likewise.
66332         * termios/tcflow.c: Likewise.
66333         * termios/tcflush.c: Likewise.
66334         * termios/tcgetattr.c: Likewise.
66335         * termios/tcgetpgrp.c: Likewise.
66336         * termios/tcsendbrk.c: Likewise.
66337         * termios/tcsetattr.c: Likewise.
66338         * termios/tcsetpgrp.c: Likewise.
66339         * time/adjtime.c: Likewise.
66340         * time/clock.c: Likewise.
66341         * time/getitimer.c: Likewise.
66342         * time/gettimeofday.c: Likewise.
66343         * time/setitimer.c: Likewise.
66344         * time/settimeofday.c: Likewise.
66345         * time/stime.c: Likewise.
66346         * time/time.c: Likewise.
66348 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
66350         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
66351         /usr/old/bin.
66353         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
66354         instead of spaces.
66355         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
66357 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
66359         [BZ #14796]
66360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
66361         FE_TONEAREST before applying Dekker multiplication and Knuth
66362         addition.  Clear inexact exceptions and check for exact zero
66363         results afterwards.
66364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66365         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66367         * math/libm-test.inc (fma_test): Add more tests.
66368         (fma_test_towardzero): Likewise.
66369         (fma_test_downward): Likewise.
66370         (fma_test_upward): Likewise.
66371         * sysdeps/generic/math_private.h (default_libc_fesetround): New
66372         function.
66373         (libc_fesetround): New macro.
66374         (libc_fesetroundf): Likewise.
66375         (libc_fesetroundl): Likewise.
66376         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
66377         function.
66378         (libc_fesetround_387): Likewise.
66379         (libc_fesetroundf): New macro.
66380         (libc_fesetround): Likewise.
66381         (libc_fesetroundl): Likewise.
66382         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
66383         function.
66384         (libc_fesetroundf): New macro.
66385         (libc_fesetround): Likewise.
66386         (libc_fesetroundl): Likewise.
66387         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
66388         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
66389         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
66390         libm_hidden_ver.
66391         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
66392         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
66393         libm_hidden_def.
66394         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
66395         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
66396         libm_hidden_ver.
66397         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
66398         libm_hidden_def.
66400         [BZ #3439]
66401         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
66402         integer constant usable in #if and use that to give value to enum
66403         constant.
66404         (FE_DIVBYZERO): Likewise.
66405         (FE_UNDERFLOW): Likewise.
66406         (FE_OVERFLOW): Likewise.
66407         (FE_INVALID): Likewise.
66408         (FE_INVALID_SNAN): Likewise.
66409         (FE_INVALID_ISI): Likewise.
66410         (FE_INVALID_IDI): Likewise.
66411         (FE_INVALID_ZDZ): Likewise.
66412         (FE_INVALID_IMZ): Likewise.
66413         (FE_INVALID_COMPARE): Likewise.
66414         (FE_INVALID_SOFTWARE): Likewise.
66415         (FE_INVALID_SQRT): Likewise.
66416         (FE_INVALID_INTEGER_CONVERSION): Likewise.
66417         (FE_TONEAREST): Likewise.
66418         (FE_TOWARDZERO): Likewise.
66419         (FE_UPWARD): Likewise.
66420         (FE_DOWNWARD): Likewise.
66421         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
66422         (FE_DIVBYZERO): Likewise.
66423         (FE_OVERFLOW): Likewise.
66424         (FE_UNDERFLOW): Likewise.
66425         (FE_INEXACT): Likewise.
66426         (FE_TONEAREST): Likewise.
66427         (FE_DOWNWARD): Likewise.
66428         (FE_UPWARD): Likewise.
66429         (FE_TOWARDZERO): Likewise.
66430         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
66431         (FE_UNDERFLOW): Likewise.
66432         (FE_OVERFLOW): Likewise.
66433         (FE_DIVBYZERO): Likewise.
66434         (FE_INVALID): Likewise.
66435         (FE_TONEAREST): Likewise.
66436         (FE_TOWARDZERO): Likewise.
66437         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
66438         (FE_OVERFLOW): Likewise.
66439         (FE_UNDERFLOW): Likewise.
66440         (FE_DIVBYZERO): Likewise.
66441         (FE_INEXACT): Likewise.
66442         (FE_TONEAREST): Likewise.
66443         (FE_TOWARDZERO): Likewise.
66444         (FE_UPWARD): Likewise.
66445         (FE_DOWNWARD): Likewise.
66446         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
66447         (FE_DIVBYZERO): Likewise.
66448         (FE_OVERFLOW): Likewise.
66449         (FE_UNDERFLOW): Likewise.
66450         (FE_INEXACT): Likewise.
66451         (FE_TONEAREST): Likewise.
66452         (FE_DOWNWARD): Likewise.
66453         (FE_UPWARD): Likewise.
66454         (FE_TOWARDZERO): Likewise.
66456 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
66458         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
66460 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
66462         * scripts/cross-test-ssh.sh (command): Use newlines to separate
66463         commands.  Quote $PWD.
66464         (blacklist_exports): Don't use remove_newlines.  Replace "declare
66465         -x" by "export".
66466         (remove_newlines): Remove.
66468 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
66470         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
66471         * stdlib/stdlib.h (atof): Moved to ...
66472         * include/bits/stdlib-float.h: Here.  New file.
66473         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
66474         * stdlib/bits/stdlib-float.h: New file.
66475         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
66476         -mno-sse -mno-mmx.
66477         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
66478         <xmmintrin.h>.
66480 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66482         * conform/conformtest.pl (@headers): Add fenv.h.
66483         * conform/data/fenv.h-data: New file.
66484         * include/fenv.h [_ISOMAC]: Disable all contents of file except
66485         include of <math/fenv.h>.
66487         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
66488         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
66489         && !UNIX98].  Enables tests for XOPEN2K8.
66490         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
66491         POSIX2008]: Likewise.
66493         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
66494         (struct rusage): Do not expect type or its members.
66496         [BZ #3439]
66497         * math/math.h (FP_NAN): Define macro to integer constant usable in
66498         #if and use that to give value to enum constant.
66499         (FP_INFINITE): Likewise.
66500         (FP_ZERO): Likewise.
66501         (FP_SUBNORMAL): Likewise.
66502         (FP_NORMAL): Likewise.
66504 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
66506         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
66507         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
66508         arguments.
66510 2012-11-02  Roland McGrath  <roland@hack.frob.com>
66512         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
66513         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
66514         autoconf-time if not.
66515         * configure.in: Remove AC_PREREQ.
66517 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66519         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
66520         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
66521         of the internal implementation.
66523 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
66525         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
66526         except include of <misc/sys/syslog.h>.
66528 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
66531         function returns with a NULL context exit with zero.
66533 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66535         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
66537 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
66539         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
66540         (run_program_cmd): This.
66541         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
66542         (tst_langinfo): New variable.  Use it.
66544 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
66546         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
66547         floating point opcodes.
66549 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66551         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
66552         variable.
66554         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
66556         * sysdeps/mach/hurd/powerpc: Remove directory.
66557         * sysdeps/mach/powerpc: Likewise.
66559 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
66561         * scripts/check-local-headers.sh: Ignore c++ headers.
66563 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66565         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
66566         __libc_cleanup_region_start argument.
66568 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
66570         [BZ #14784]
66571         [BZ #14785]
66572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
66573         x * y using scaling, not as x * y + z.
66574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66576         * math/libm-test.inc (fma_test): Add more tests.
66577         (fma_test_towardzero): Likewise.
66578         (fma_test_downward): Likewise.
66579         (fma_test_upward): Likewise.
66581 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
66583         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
66585 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66587         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
66588         New variable.
66590 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
66592         * rt/tst-shm.c (worker): Correct checking for mmap failure.
66594 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66597         Fix sort order.
66598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66599         Likewise.
66601 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66604         Fix the order of the list for glibc 2.17.
66605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66606         Likewise.
66608 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
66610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66612 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
66614         [BZ #14610]
66615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
66616         for low part of x being zero before using __atanl (y).
66617         * math/libm-test.inc (atan2_test): Add another test.
66619         * manual/install.texi (Configuring and compiling): Document
66620         general use of test-wrapper and test-wrapper-env.
66621         * INSTALL: Regenerated.
66623         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
66624         (__fma): Do not extract and scale down low bits on after-rounding
66625         systems when result rounded to normal precision would have normal
66626         exponent.
66627         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
66628         (__fmal): Do not extract and scale down low bits on after-rounding
66629         systems when result rounded to normal precision would have normal
66630         exponent.
66631         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
66632         (__fmal): Do not extract and scale down low bits on after-rounding
66633         systems when result rounded to normal precision would have normal
66634         exponent.
66635         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
66636         macro.
66637         (fma_test): Add more tests.
66638         (fma_test_towardzero): Likewise.
66639         (fma_test_downward): Likewise.
66640         (fma_test_upward): Likewise.
66642 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
66644         * sysdeps/i386/tininess.h: Renamed to ...
66645         * sysdeps/x86/tininess.h: This.
66646         * sysdeps/x86_64/tininess.h: Removed.
66648 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66650         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
66651         input.  Use $(build-program-cmd).
66652         ($(objpfx)tst-array1-static.out): Likewise.
66653         ($(objpfx)tst-array2.out): Likewise.
66654         ($(objpfx)tst-array3.out): Likewise.
66655         ($(objpfx)tst-array4.out): Likewise.
66656         ($(objpfx)tst-array5.out): Likewise.
66657         ($(objpfx)tst-array5-static.out): Likewise.
66659 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
66661         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
66662         if defined.
66664         * nss/nsswitch.h (nss_interface_function): Provide new
66665         macro for use with NSS functions.
66666         * grp/initgroups.c: Use new macro.
66667         * nss/getXXbyYY.c: Likewise.
66668         * nss/getXXbyYY_r.c: Likewise.
66669         * nss/getXXent.c: Likewise.
66670         * nss/getXXent_r.c: Likewise.
66671         * sysdeps/posix/getaddrinfo.c: Likewise.
66673 2012-10-30  Andreas Jaeger  <aj@suse.de>
66675         * po/ru.po: Update Russion translation from translation project.
66677 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
66679         [BZ #14152]
66680         [BZ #14783]
66681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
66682         result and shift together with sticky bit instead of replicating
66683         round-to-nearest rounding.
66684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66686         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
66687         missing underflow exceptions.
66688         (fma_test_towardzero): Add more tests.
66689         (fma_test_downward): Likewise.
66690         (fma_test_upward): Likewise.
66692         [BZ #14047]
66693         * sysdeps/generic/tininess.h: New file.
66694         * sysdeps/i386/tininess.h: Likewise.
66695         * sysdeps/sh/tininess.h: Likewise.
66696         * sysdeps/x86_64/tininess.h: Likewise.
66697         * stdlib/tst-strtod-underflow.c: Likewise.
66698         * stdlib/tst-tininess.c: Likewise.
66699         * stdlib/strtod_l.c: Include <tininess.h>.
66700         (round_and_return): Do not set errno for exact underflow cases.
66701         Force an underflow exception when setting errno for underflow.
66702         Determine underflow based on rounding to normal precision if
66703         TININESS_AFTER_ROUNDING.
66704         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
66705         ERANGE for exact underflow cases.
66706         * stdlib/Makefile (tests): Add tst-tininess and
66707         tst-strtod-underflow.
66708         ($(objpfx)tst-tininess): Use $(link-libm).
66709         ($(objpfx)tst-strtod-underflow): Likewise.
66711 2012-10-30  Andreas Jaeger  <aj@suse.de>
66713         [BZ#14767]
66714         * elf/Makefile (tests): Remove conditional for have-initfini-array
66715         since this is now always required and the variable does not exist
66716         anymore.
66717         (tests-static): Likewise.
66718         (modules-names): Likewise.
66720         * po/eo.po: Add Esperanto translation from translation project.
66722         * elf/tst-array1.c (fini_array): Make writeable so that it can be
66723         merged with constructor/destructor.
66724         (init_array): Likewise.
66725         * elf/tst-array2dep.c (fini_array): Likewise.
66726         (init_array): Likewise.
66728 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
66730         * manual/message.texi: Delete @cartouche tags.
66732 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
66734         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
66735         EOPNOTSUPP.
66736         * sysdeps/mach/hurd/fsync.c: Likewise.
66738         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
66739         [_POSIX_REALTIME_SIGNALS]: Change condition to
66740         [_POSIX_REALTIME_SIGNALS > 0].
66742 2012-10-27  Andreas Jaeger  <aj@suse.de>
66744         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
66745         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
66746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
66747         [__WORDSIZE != 64]: Likewise.
66749 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
66751         *  iconvdata/tst-table.sh: Remove ${SHELL}.
66752         *  iconvdata/tst-tables.sh: Likewise.
66754 2012-10-25  David S. Miller  <davem@davemloft.net>
66756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66757         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
66758         of strtoull.
66760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
66761         ifunc-impl-list.c
66762         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66763         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
66764         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
66765         file.
66767 2012-10-25  Roland McGrath  <roland@hack.frob.com>
66769         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66770         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
66771         __getdirentries.
66773 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66774             Jim Blandy  <jimb@codesourcery.com>
66776         * scripts/cross-test-ssh.sh: New file.
66777         * manual/install.texi (Configuring and compiling): Document use of
66778         cross-test-ssh.sh.
66779         * INSTALL: Regenerated.
66781 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
66783         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
66784         EOPNOTSUPP.
66786 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
66788         * Makeconfig (run-program-prefix): Fix comment.
66790 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66791             Jim Blandy  <jimb@codesourcery.com>
66793         * Makeconfig (test-wrapper): New variable,
66794         (test-wrapper-env): Likewise.
66795         [$(cross-compiling) = yes && $(test-wrapper) != ""]
66796         (run-built-tests): Define to yes.
66797         (run-program-prefix): Use $(test-wrapper).
66798         (built-program-cmd): Likewise.
66799         * Rules (make-test-out): Use $(test-wrapper-env) and
66800         $(host-built-program-cmd).
66801         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
66802         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
66803         tst-pathopt.sh.
66804         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
66805         $(test-wrapper-env) to tst-rtld-load-self.sh.
66806         ($(objpfx)order2.out): Use $(test-wrapper).
66807         ($(objpfx)tst-initorder.out): Likewise.
66808         ($(objpfx)tst-initorder2.out): Likewise.
66809         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
66810         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
66811         (test_wrapper_env): New variable.  Use it to run ld.so.
66812         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
66813         Use it to run ld.so.
66814         (test_wrapper_env): Likewise.
66815         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
66816         $(test-wrapper) to run-iconv-test.sh.
66817         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
66818         (ICONV): Use $test_wrapper.
66819         * posix/Makefile ($(objpfx)globtest.out): Pass
66820         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
66821         globtest.sh, not $(run-program-prefix).
66822         * posix/globtest.sh (run_via_rtld_prefix): New variable.
66823         (test_wrapper): Likewise.
66824         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
66825         set together with run_via_rtld_prefix.
66826         (run_program_prefix): Define in terms of test_wrapper and
66827         run_via_rtld_prefix.
66829 2012-10-24  Roland McGrath  <roland@hack.frob.com>
66831         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
66832         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
66833         Targets removed.
66835         [BZ #14743]
66836         * include/time.h: Remove librt_hidden_proto (clock_gettime).
66837         Declare __clock_getres, __clock_gettime, __clock_settime,
66838         __clock_nanosleep, and __clock_getcpuclockid.
66839         * rt/clock_gettime.c: Define __clock_gettime as an alias.
66840         Remove librt_hidden_def (clock_gettime).
66841         * sysdeps/unix/clock_gettime.c: Likewise.
66842         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
66843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
66844         * rt/clock_getres.c: Define __clock_getres as an alias.
66845         * sysdeps/posix/clock_getres.c: Likewise.
66846         * rt/clock_settime.c: Define __clock_settime as an alias.
66847         * sysdeps/unix/clock_settime.c: Likewise.
66848         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
66849         * sysdeps/unix/clock_nanosleep.c: Likewise.
66850         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
66851         * rt/clock-compat.c: New file.
66852         * rt/Makefile (librt-routines): Add clock-compat and move
66853         $(clock-routines) to ...
66854         (routines): ... here, new variable.
66855         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
66856         Don't add get_clockfreq here.
66857         * rt/Versions (libc: GLIBC_2.17): New version set.
66858         Add clock_* symbols here.
66859         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
66860         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
66861         (GLIBC_2.17): Add clock_* symbols.
66862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66866         Likewise.
66867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66868         Likewise.
66869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66873         * NEWS: Mention the move.
66875         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
66876         Use __open, __read, __close rather than their public counterparts.
66877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66878         (__get_clockfreq_via_cpuinfo): Likewise.
66879         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
66880         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
66882         * config.h.in (HAVE_IFUNC): New #undef.
66883         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
66884         was successful.
66885         * configure: Regenerated.
66887 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66889         * configure.in: Move READELF check to start of file.
66890         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
66891         libc_cv_asm_gnu_indirect_function in the process.
66892         * configure: Regenerated.
66894 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
66896         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
66897         send the output to /dev/null.
66898         (libc_cv_cc_with_libunwind): Likewise.
66899         (libc_cv_as_noexecstack): Likewise.
66900         * configure: Regenerate.
66902 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
66904         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
66906         * posix/globtest.sh (TMPDIR): Do not set.
66907         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
66908         (testout): Likewise.
66910 2012-10-24  Andreas Jaeger  <aj@suse.de>
66912         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
66913         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
66914         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
66915         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
66916         posix_fadvise64, posix_fallocate64.
66918         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
66919         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
66920         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
66921         Likewise.
66922         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
66923         Likewise.
66924         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
66926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
66927         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
66928         <bits/fcntl-linux.h>.
66929         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
66931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
66932         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
66933         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
66934         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
66935         [__WORDSIZE != 64]: Likewise.
66937 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66939         * Makeconfig (run-built-tests): New variable.
66940         * Rules [$(cross-compiling) = yes]: Change condition to
66941         [$(run-built-tests) = no].
66942         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
66943         to [$(run-built-tests) = yes].
66944         * elf/Makefile [$(cross-compiling) = no]: Likewise.
66945         * grp/Makefile [$(cross-compiling) = no]: Likewise.
66946         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
66947         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
66948         * intl/Makefile [$(cross-compiling) = no]: Likewise.
66949         * io/Makefile [$(cross-compiling) = no]: Likewise.
66950         * libio/Makefile [$(cross-compiling) = no]: Likewise.
66951         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
66952         * misc/Makefile [$(cross-compiling) = no]: Likewise.
66953         * posix/Makefile [$(cross-compiling) = no]: Likewise.
66954         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
66955         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
66956         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
66957         * string/Makefile [$(cross-compiling) = no]: Likewise.
66959         * posix/Makefile ($(objpfx)globtest.out): Pass
66960         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
66961         $(rtld-installed-name).
66962         * posix/globtest.sh (elf_objpfx): Remove variable.
66963         (rtld_installed_name): Likewise.
66964         (library_path): Likewise.
66965         (run_program_prefix): New variable.  Use for running globtest
66966         binary.
66968 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
66969             Joseph Myers  <joseph@codesourcery.com>
66971         * Makeconfig (host-built-program-cmd): New variable.
66972         * elf/Makefile (tst-stackguard1-ARGS): Use
66973         $(host-built-program-cmd).
66974         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
66975         (tst-spawn-ARGS): Likewise.
66976         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
66978 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
66979             Jim Blandy  <jimb@codesourcery.com>
66981         * Makeconfig (run-via-rtld-prefix): New variable.
66982         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
66983         (built-program-cmd): Likewise.
66985 2012-10-22  Andreas Jaeger  <aj@suse.de>
66987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
66988         __O_RSYNC if it exists, otherwise to O_SYNC.
66990 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
66991             Joseph Myers  <joseph@codesourcery.com>
66993         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
66994         /dev/null.
66995         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
66996         from /dev/null
66997         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
66998         /dev/null.
67000 2012-10-22  Andreas Jaeger  <aj@suse.de>
67002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
67003         Define always.
67004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
67006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67007         bits/fcntl-linux.h.
67009         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
67010         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
67012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
67013         to __O_LARGEFILE.
67014         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
67015         to __O_LARGEFILE.
67017 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
67018             Joseph Myers  <joseph@codesourcery.com>
67020         * config.make.in (NM): New variable.
67022 2012-10-21  Andreas Jaeger  <aj@suse.de>
67024         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
67025         definitions and declarations that are provided by
67026         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67028 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67030         [BZ #14683]
67031         * elf/Makefile (tests-static): Add tst-leaks1-static.
67032         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
67033         ($(objpfx)tst-leaks1-static): New rule.
67034         ($(objpfx)tst-leaks1-static-mem): Likewise.
67035         (tst-leaks1-static-ENV): New macro.
67036         * elf/dl-open.c (dl_open_worker): Check the main application
67037         only if SHARED is defined.
67038         * elf/tst-leaks1-static.c: New file.
67040 2012-10-20  Andreas Jaeger  <aj@suse.de>
67042         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
67043         generic values for Linux.
67044         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
67045         and declarations that are provided by <bits/fcntl-linux.h> and
67046         include <bits/fcntl-linux.h>.
67047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67050 2012-10-20  Roland McGrath  <roland@hack.frob.com>
67052         * io/fcntl.h: Move include of <bits/types.h> to the top and
67053         include it unconditionally.
67055 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
67057         * wcsmbs/Makefile (tests-ifunc): New variable.
67058         (tests): Add $(tests-ifunc).
67059         * wcsmbs/test-wcschr-ifunc.c: New file.
67060         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
67061         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
67062         * wcsmbs/test-wcslen-ifunc.c: Likewise.
67063         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
67064         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
67066         * string/Makefile (tests-ifunc): New variable.
67067         (tests): Add $(tests-ifunc).
67068         * string/test-memccpy.c (TEST_NAME): New macro.
67069         * string/test-memchr.c (TEST_NAME): Likewise.
67070         * string/test-memcmp.c (TEST_NAME): Likewise.
67071         * string/test-memcpy.c (TEST_NAME): Likewise.
67072         * string/test-memmem.c (TEST_NAME): Likewise.
67073         * string/test-memmove.c (TEST_NAME): Likewise.
67074         * string/test-memset.c (TEST_NAME): Likewise.
67075         * string/test-rawmemchr.c (TEST_NAME): Likewise.
67076         * string/test-stpcpy.c (TEST_NAME): Likewise.
67077         * string/test-stpncpy.c (TEST_NAME): Likewise.
67078         * string/test-strcasecmp.c (TEST_NAME): Likewise.
67079         * string/test-strcasestr.c (TEST_NAME): Likewise.
67080         * string/test-strcat.c (TEST_NAME): Likewise.
67081         * string/test-strchr.c (TEST_NAME): Likewise.
67082         * string/test-strcmp.c(TEST_NAME): Likewise.
67083         * string/test-strcpy.c (TEST_NAME): Likewise.
67084         * string/test-strcspn.c (TEST_NAME): Likewise.
67085         * string/test-strlen.c (TEST_NAME): Likewise.
67086         * string/test-strncasecmp.c (TEST_NAME): Likewise.
67087         * string/test-strncmp.c (TEST_NAME): Likewise.
67088         * string/test-strncpy.c (TEST_NAME): Likewise.
67089         * string/test-strnlen.c (TEST_NAME): Likewise.
67090         * string/test-strpbrk.c (TEST_NAME): Likewise.
67091         * string/test-strrchr.c (TEST_NAME): Likewise.
67092         * string/test-strspn.c (TEST_NAME): Likewise.
67093         * string/test-strstr.c (TEST_NAME): Likewise.
67094         * string/test-bcopy-ifunc.c: New file.
67095         * string/test-bzero-ifunc.c: Likewise.
67096         * string/test-memccpy-ifunc.c: Likewise.
67097         * string/test-memchr-ifunc.c: Likewise.
67098         * string/test-memcmp-ifunc.c: Likewise.
67099         * string/test-memcpy-ifunc.c: Likewise.
67100         * string/test-memmem-ifunc.c: Likewise.
67101         * string/test-memmove-ifunc.c: Likewise.
67102         * string/test-mempcpy-ifunc.c: Likewise.
67103         * string/test-memset-ifunc.c: Likewise.
67104         * string/test-rawmemchr-ifunc.c: Likewise.
67105         * string/test-stpcpy-ifunc.c: Likewise.
67106         * string/test-stpncpy-ifunc.c: Likewise.
67107         * string/test-strcasecmp-ifunc.c: Likewise.
67108         * string/test-strcasestr-ifunc.c: Likewise.
67109         * string/test-strcat-ifunc.c: Likewise.
67110         * string/test-strchr-ifunc.c: Likewise.
67111         * string/test-strchrnul-ifunc.c: Likewise.
67112         * string/test-strcmp-ifunc.c: Likewise.
67113         * string/test-strcpy-ifunc.c: Likewise.
67114         * string/test-strcspn-ifunc.c: Likewise.
67115         * string/test-strlen-ifunc.c: Likewise.
67116         * string/test-strncasecmp-ifunc.c: Likewise.
67117         * string/test-strncat-ifunc.c: Likewise.
67118         * string/test-strncmp-ifunc.c: Likewise.
67119         * string/test-strncpy-ifunc.c: Likewise.
67120         * string/test-strnlen-ifunc.c: Likewise.
67121         * string/test-strpbrk-ifunc.c: Likewise.
67122         * string/test-strrchr-ifunc.c: Likewise.
67123         * string/test-strspn-ifunc.c: Likewise.
67124         * string/test-strstr-ifunc.c: Likewise.
67126         * debug/Makefile (tests-ifunc): New variable.
67127         (tests): Add $(tests-ifunc).
67128         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
67129         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
67130         * debug/test-stpcpy_chk-ifunc.c: New file.
67131         * debug/test-strcpy_chk-ifunc.c: Likewise.
67133 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67135         [BZ #13601]
67136         * elf/dl-load.c (open_verify): Retry read if the entire ELF
67137         header is not read in.
67139 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
67141         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
67142         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
67143         directly.  Pass built executable to script as
67144         $(built-program-cmd).
67145         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
67146         $testprogram without using LD_LIBRARY_PATH and $ldso.
67148         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
67149         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
67150         $(rtld-installed-name).
67151         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
67152         (rtld_installed_name): Likewise.
67153         (library_path): Likewise.
67154         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
67155         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
67156         $(run-program-prefix) to tst-tables.sh.
67157         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
67158         it to run tst-table-from and tst-table-to.
67159         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
67160         Pass it to tst-table.sh.
67161         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
67162         $(run-program-prefix) to tst-gettext.sh.
67163         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
67164         tst-translit.sh.
67165         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
67166         tst-gettext2.sh.
67167         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
67168         to run tst-gettext.
67169         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
67170         to run tst-gettext2.
67171         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
67172         to run tst-translit.
67173         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
67174         $(run-program-prefix) to tst-mtrace.sh.
67175         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
67176         to run tst-mtrace.
67177         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
67178         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
67179         $(rtld-installed-name).
67180         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
67181         (rtld_installed_name): Likewise.
67182         (run_program_prefix): New variable.  Use it to run wordexp-test.
67184         * Makeconfig (ARCH): Remove all definitions.
67185         (machine): Likewise.
67186         [ARCH]: Remove conditional code.
67187         [!objdir]: Give error.
67188         [!objdir] (objpfx): Remove.
67189         [!objdir] (common-objpfx): Likewise.
67190         [!objdir] (common-objdir): Likewise.
67191         * configure.in (config_makefile): Remove.  Hardcode Makefile in
67192         AC_CONFIG_FILES call.
67193         * configure: Regenerated.
67195         [BZ #13888]
67196         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
67197         or TMPDIR.
67198         (testout): Likewise.
67200         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
67201         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
67202         $(rtld-installed-name).
67203         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
67204         (rtld_installed_name): Likewise.
67205         (runit): Remove function.
67206         (run_getconf): New variable,  Use it for running getconf binary.
67208 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
67210         [BZ #14716]
67211         * string/test-memmem.c (check_result): New function.
67212         (do_one_test): Use it.
67213         (check1): New function.
67214         (test_main): Use it.
67216 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
67218         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
67220 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
67222         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
67223         (_G_LSEEK64): Likewise.
67224         (_G_MMAP64): Likewise.
67225         (_G_FSTAT64): Likewise.
67226         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
67227         (_G_LSEEK64): Likewise.
67228         (_G_MMAP64): Likewise.
67229         (_G_FSTAT64): Likewise.
67230         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
67231         unconditional.  Call __mmap64 directly.
67232         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
67233         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
67234         __lseek64 directly.
67235         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
67236         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
67237         __mmap64 directly.
67238         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
67239         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67240         __lseek64 directly.
67241         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
67242         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
67243         __lseek64 directly.
67244         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
67245         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
67246         __lseek64 directly.
67247         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
67248         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
67249         __fxstat64 directly.
67250         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
67251         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
67252         unconditional.
67253         (freopen64) [!_G_OPEN64]: Remove conditional code.
67254         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
67255         unconditional.
67256         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
67257         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
67258         unconditional.
67259         (ftello64) [!_G_LSEEK64]: Remove conditional code.
67260         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
67261         unconditional.
67262         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67263         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
67264         unconditional.
67265         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
67266         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
67267         unconditional.
67268         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67269         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
67270         unconditional.
67271         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
67272         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
67273         unconditional.
67274         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
67276 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67278         [BZ #12140]
67279         * manual/memory.texi (Malloc Tunable Parameters): Add note
67280         about free list pointers overwriting some perturb bytes.
67281         Wording suggested by Roland McGrath.
67283 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
67285         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
67286         (lgamma_test): Likewise.
67287         (tgamma_test): Likewise.
67289 2012-10-16  Florian Weimer  <fweimer@redhat.com>
67291         [BZ #14700]
67292         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
67293         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
67295 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
67297         * NEWS: Mention BZ #14716.
67298         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
67299         when removing AVAILABLE1_USES_J macro.
67301 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
67303         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
67304         (__bswap_64): __uint64_t for unsigned 64-bit int.
67306 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
67308         * include/string.h (memmem): Declare libc hidden alias.
67309         * string/memmem.c (memmem): Define libc hidden alias.
67310         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
67311         __read, __close instead of open, read, close.
67313 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
67315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
67316         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
67317         global and hidden.
67318         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
67319         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
67320         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
67321         Likewise.
67322         (__rawmemchr_sse2): Likewise.
67323         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
67324         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
67325         (__strchr_sse2): Likewise.
67326         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
67327         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
67328         (__strcasecmp_sse2): Likewise.
67329         (__strncasecmp_sse2): Likewise.
67330         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
67331         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
67332         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
67333         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
67334         (__strrchr_sse2): Likewise.
67335         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
67336         ifunc-impl-list.c.
67337         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
67338         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
67339         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
67340         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67341         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
67342         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
67343         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67344         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67345         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
67346         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
67347         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
67348         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
67349         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
67350         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
67351         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
67352         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
67353         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
67354         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
67355         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
67356         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
67357         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
67358         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
67359         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
67360         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67361         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
67362         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67363         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
67364         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67365         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
67366         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
67368         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
67369         global and hidden.
67370         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
67371         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
67372         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
67373         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
67374         Likewise.
67375         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
67376         Likewise.
67377         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
67378         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67379         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
67380         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
67381         ifunc-impl-list.c.
67382         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67383         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67384         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67385         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67386         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67387         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67388         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67389         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67390         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67391         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67392         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67393         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67394         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67395         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
67396         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
67397         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67398         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
67399         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
67400         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67402         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67403         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67404         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67405         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67406         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67407         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
67408         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
67409         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
67410         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
67411         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67412         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
67413         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67414         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67415         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
67416         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67417         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67418         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67419         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67420         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67421         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67422         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
67424         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
67425         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
67426         * include/ifunc-impl-list.h: New file.
67427         * misc/ifunc-impl-list.c: Likewise.
67428         * misc/Makefile (routines): Add ifunc-impl-list.
67429         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
67430         * string/test-string.h: Include <ifunc-impl-list.h>.
67431         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
67432         TEST_NAME]: New variables.
67433         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
67434         are defined.
67435         (test_init): Call __libc_ifunc_impl_list to initialize
67436         func_list if TEST_IFUNC and TEST_NAME are defined.
67438         * string/Makefile (strop-tests): Add bcopy and bzero.
67439         * string/test-bcopy.c: New file.
67440         * string/test-bzero.c: Likewise.
67441         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
67442         defined.
67443         * string/test-memset.c: Support bzero test if TEST_BZERO is
67444         defined.
67445         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
67446         __libc_memmove.
67447         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
67448         __libc_memset.
67449         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
67450         of memset.
67452 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
67454         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
67455         * configure: Regenerated.
67457         * Makeconfig (+link-static-before-libc): Don't include
67458         $(link-static-libc).
67460         * libio/libio.h (_IO_pos_t): Remove.
67462 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67464         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
67465         McGrath.
67467 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67469         * crypt/crypt-entry.c: Include fips-private.h.
67470         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
67471         * crypt/md5c-test.c (main): Tolerate disabled MD5.
67472         * sysdeps/unix/sysv/linux/fips-private.h: New file.
67473         * sysdeps/generic/fips-private.h: New file, dummy fallback.
67475 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
67477         * crypt/crypt-private.h: Include stdbool.h.
67478         (_ufc_setup_salt_r): Return bool.
67479         * crypt/crypt-entry.c: Include errno.h.
67480         (__crypt_r): Return NULL with EINVAL for bad salt.
67481         * crypt/crypt_util.c (bad_for_salt): New.
67482         (_ufc_setup_salt_r): Check that salt is long enough and within
67483         the specified alphabet.
67484         * crypt/badsalttest.c: New file.
67485         * crypt/Makefile (tests): Add it.
67486         ($(objpfx)badsalttest): New.
67488 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
67490         * NEWS: Add entry for BZ #14602.
67492 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67494         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
67495         type-generic.
67496         * math/libm-test.inc: Update comment listing what functions and
67497         macros are tested.
67498         (isgreater_test): New function.
67499         (isgreaterequal_test): Likewise.
67500         (isless_test): Likewise.
67501         (islessequal_test): Likewise.
67502         (islessgreater_test): Likewise.
67503         (isunordered_test): Likewise.
67504         (main): Call the new functions.
67506 2012-10-09  Roland McGrath  <roland@hack.frob.com>
67508         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
67509         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
67510         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
67511         * sysdeps/i386/configure: Regenerated.
67512         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
67513         * sysdeps/mach/configure: Regenerated.
67514         * sysdeps/mach/hurd/configure: Regenerated.
67515         * sysdeps/powerpc/configure: Regenerated.
67516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67517         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67518         * sysdeps/s390/s390-32/configure: Regenerated.
67519         * sysdeps/s390/s390-64/configure: Regenerated.
67520         * sysdeps/sh/configure: Regenerated.
67521         * sysdeps/sparc/configure: Regenerated.
67522         * sysdeps/unix/sysv/linux/configure: Regenerated.
67523         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
67524         * sysdeps/x86_64/configure: Regenerated.
67526         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
67527         defined.  Don't check if MAP is NULL.
67529 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
67531         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
67532         (_G_stat64): Likewise.
67533         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
67534         (_G_stat64): Likewise.
67535         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
67536         instead of struct _G_stat64.
67537         * libio/fileops.c (mmap_remap_check): Likewise.
67538         (decide_maybe_mmap): Likewise.
67539         (_IO_new_file_seekoff): Likewise.
67540         (_IO_file_stat): Likewise.
67541         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
67542         _G_off64_t.
67543         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
67544         instead of struct _G_stat64.
67545         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67547 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
67549         [BZ #14602]
67550         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67551         Replace with ...
67552         (CHECK_EOL): New macro.
67553         (two_way_short_needle): Check beginning of haystack for EOL.  Use
67554         CHECK_EOL.
67555         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67556         Replace with CHECK_EOL.
67557         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
67558         Replace with CHECK_EOL.
67560 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
67562         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
67563         type-generic.
67564         * math/libm-test.inc: Update comment listing what functions and
67565         macros are tested.
67566         (finite_test): New function.
67567         (isinf_test): Likewise.
67568         (isnan_test): Likewise.
67569         (fpclassify_test): Test subnormal input.
67570         (isfinite_test): Likewise.
67571         (isnormal_test): Likewise.
67572         (main): Call the new functions.
67574 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
67576         [BZ #14660]
67577         * Makerules (%.dynsym): Force C locale when running
67578         $(OBJDUMP) --dynamic-syms.
67580 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
67582         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
67583         <stdint.h>.
67585 2012-10-06  David S. Miller  <davem@davemloft.net>
67587         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
67588         upper 32-bits of the length value in %o2 since we use branch-on-register
67589         tests which consider the entire 64-bit register.
67591 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
67593         * string/test-strstr.c (check2): Add a test for page boundary.
67595 2012-10-05  David S. Miller  <davem@davemloft.net>
67597         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
67598         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
67599         file.
67600         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67601         sysdep_routines.
67602         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67603         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
67604         and bzero when HWCAP_SPARC_CRYPTO is present.
67606 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
67608         [BZ #14602]
67609         * string/test-strstr.c (check2): New function.
67610         (test_main): Call check2.
67612         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
67613         and bug-strchr1.
67614         * string/bug-strcasestr1.c (do_test): Moved to ...
67615         * string/test-strcasestr.c (check1): Here.  New function.
67616         (do_one_test): Break out result checking code into ...
67617         (check_result): This.  New function.
67618         (do_one_test): Call check_result.
67619         (test_main): Call check1.
67620         * string/bug-strchr1.c (do_test): Moved to ...
67621         * string/test-strchr.c (check1): Here.  New function.
67622         (do_one_test): Break out result checking code into ...
67623         (check_result): This.  New function.
67624         (do_one_test): Call check_result.
67625         (test_main): Call check1.
67626         * string/bug-strstr1.c (main): Moved to ...
67627         * string/test-strstr.c (check1): Here.  New function.
67628         (do_one_test): Break out result checking code into ...
67629         (check_result): This.  New function.
67630         (do_one_test): Call check_result.
67631         (test_main): Call check1.
67632         * string/bug-strcasestr1.c: Removed.
67633         * string/bug-strchr1.c: Likewise.
67634         * string/bug-strstr1.c: Likewise.
67636         * elf/Makefile (dl-routines): Add hwcaps.
67637         * elf/dl-support.c (_dl_important_hwcaps): Removed.
67638         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
67639         (_dl_important_hwcaps): Moved to ...
67640         * elf/dl-hwcaps.c: Here.  New file.
67641         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
67643         [BZ #14557]
67644         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
67645         if IS_IN_rtld isn't defined.
67647         * elf/dl-support.c (_dl_sysinfo_map): New.
67648         Include "get-dynamic-info.h" and "setup-vdso.h".
67649         (_dl_non_dynamic_init): Call setup_vdso.
67650         * elf/dynamic-link.h: Don't include <assert.h>.
67651         (elf_get_dynamic_info): Moved to ...
67652         * elf/get-dynamic-info.h: Here.  New file.
67653         * elf/dynamic-link.h: Include "get-dynamic-info.h".
67654         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
67655         * elf/setup-vdso.h: Here.  New file.
67656         * elf/rtld.c: Include "setup-vdso.h".
67657         (dl_main): Call setup_vdso.
67659 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
67661         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
67662         creal in comment listing functions tested.  List finite, isinf,
67663         isnan, isless, islessequal, isgreater, isgreaterequal,
67664         islessgreater, isunordered, lgamma_r and pow10 as functions and
67665         macros not tested.  Mention which functions not tested are aliases
67666         for other functions.  Fix typo.  Note that signs of NaNs are not
67667         tested.
67669         * scripts/config.guess: Update from config.git.
67670         * scripts/config.sub: Likewise.
67672 2012-10-04  Roland McGrath  <roland@hack.frob.com>
67674         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
67675         * misc/madvise.c (madvise): Renamed to __madvise.
67676         Make madvise a weak alias.
67677         * include/sys/mman.h: Declare __madvise.
67678         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
67679         * sysdeps/unix/syscalls.list
67680         (madvise): Make __madvise the strong name, and madvise a weak alias.
67681         * sysdeps/unix/sysv/linux/syscalls.list
67682         (madvise, mmap): Remove redundant entries.
67683         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
67684         * malloc/malloc.c (mtrim): Likewise.
67685         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
67687 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67689         * sysdeps/mach/hurd/dl-cache.c: File removed.
67690         * config.h.in (USE_LDCONFIG): New #undef.
67691         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
67692         * configure: Regenerated.
67693         * elf/Makefile (dl-routines): Add dl-cache only under
67694         [$(use-ldconfig) = yes].
67695         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
67696         cache on [USE_LDCONFIG].
67697         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
67698         [USE_LDCONFIG].
67699         * elf/rtld.c (dl_main): Likewise.
67701 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
67703         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
67704         _SC_LEVEL4_CACHE_LINESIZE.
67706 2012-10-03  Roland McGrath  <roland@hack.frob.com>
67708         * sysdeps/unix/bsd/confstr.h: File removed.
67710 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
67712         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
67713         sys/sdt-config.h.
67715 2012-10-02  Roland McGrath  <roland@hack.frob.com>
67717         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
67718         Make 'mapoff' field ElfW(Off) rather than off_t.
67720 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
67722         * nscd/Makefile: Remove nscd-cflags and all its users.
67723         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
67724         (CFLAGS-nonlib): Add compiler flags for nscd modules.
67726         [BZ #10631]
67727         * malloc.c (malloc_printerr): Clarify error message.
67729 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
67731         [BZ #14648]
67732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67733         Set bit_FMA_Usable if FMA is supported.
67734         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
67735         macro.
67736         (bit_FMA4_Usable): Updated.
67737         (index_FMA_Usable): New macro.
67738         (CPUID_FMA): Likewise.
67739         (HAS_FMA): Defined with bit_FMA_Usable.
67741 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67743         * bits/types.h (__swblk_t): Type removed.
67744         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
67745         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
67746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67747         (__SWBLK_T_TYPE): Likewise.
67748         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67749         (__SWBLK_T_TYPE): Likewise.
67750         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67751         (__SWBLK_T_TYPE): Likewise.
67752         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67753         (__SWBLK_T_TYPE): Likewise.
67755 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
67756             Honza Horak <hhorak@redhat.com>
67758         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
67759         (xdr_mapname): Use YPMAXMAP as maxsize.
67760         (xdr_peername): Use YPMAXPEER as maxsize.
67761         (xdr_keydat): Use YPAXRECORD as maxsize.
67762         (xdr_valdat): Use YPMAXRECORD as maxsize.
67764 2012-10-01  Roland McGrath  <roland@hack.frob.com>
67766         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
67768         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
67769         * csu/init-first.c: ... here.
67770         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
67771         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
67772         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
67773         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
67774         * sysdeps/i386/init-first.c: File removed.
67775         * sysdeps/sh/init-first.c: File removed.
67777 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
67779         [BZ #14645]
67780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
67781         if x * y might underflow to zero and z is zero.
67782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67784         * math/libm-test.inc (min_subnorm_value): New variable.
67785         (fma_test): Add more tests.
67786         (fma_test_towardzero): Likewise.
67787         (fma_test_downward): Likewise.
67788         (fma_test_upward): Likewise.
67789         (initialize): Set min_subnorm_value.
67791 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
67793         [BZ #14638]
67794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
67795         0 + 0.
67796         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
67797         mode for addition resulting in exact zero.
67798         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
67799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
67800         exact 0 + 0.
67801         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67803         * math/libm-test.inc (fma_test): Add more tests.
67804         (fma_test_towardzero): New function.
67805         (fma_test_downward): Likewise.
67806         (fma_test_upward): Likewise.
67807         (main): Call the new functions.
67809 2012-09-28  David S. Miller  <davem@davemloft.net>
67811         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
67813 2012-09-28  Roland McGrath  <roland@hack.frob.com>
67815         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
67816         instead of SIGALRM.
67818         * sysdeps/gnu/_G_config.h: Moved to ...
67819         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
67820         * sysdeps/mach/hurd/_G_config.h: Moved to ...
67821         * sysdeps/generic/_G_config.h: ... here.
67823         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
67825         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
67827         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
67828         Conditionalize target on [libnss_test1.so-version].
67830         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
67832         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
67833         (elfobjdir): Move out of conditionals.
67835         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
67836         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
67837         (__nss_lookup_function): Conditionalize label remove_from_tree on
67838         [!DO_STATIC_NSS || SHARED], matching its only use.
67840 2012-09-28  David S. Miller  <davem@davemloft.net>
67842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
67843         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
67844         file.
67845         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
67846         sysdep_routines.
67847         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
67848         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
67849         when HWCAP_SPARC_CRYPTO is present.
67851 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67853         * io/tst-mknodat.c: Create a FIFO instead of a socket.
67855 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
67857         [BZ #6530]
67858         * stdio-common/vfprintf.c (process_string_arg): Revert
67859         2000-07-22 change.
67861 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
67863         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
67864         for testcase.
67865         * stdio-common/tst-sprintf.c: Include <locale.h>
67866         (main): Test sprintf's handling of incomplete multibyte
67867         characters.
67869 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
67871         * elf/dl-runtime.c (VERSYMIDX): Removed.
67872         * elf/dl-version.c (VERSYMIDX): Likewise.
67873         * elf/do-rel.h (VERSYMIDX): Likewise.
67874         (VALIDX): Likewise.
67875         * elf/dynamic-link.h (VERSYMIDX): Likewise.
67876         * elf/rtld.c (VALIDX): Likewise.
67877         (ADDRIDX): Likewise.
67878         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
67879         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
67880         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
67881         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
67882         (VALIDX): Likewise.
67883         (ADDRIDX): Likewise.
67885 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67887         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
67889 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
67891         [BZ #11438]
67892         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
67893         to global scope.
67894         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
67895         addresses are in the same scope as 192.0.2/24.
67896         * posix/gai.conf: Document new scope table defaults.
67898 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67900         [BZ #5298]
67901         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
67902         for ftell.  Compute offsets from write pointers instead.
67903         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
67905 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67907         [BZ #14543]
67908         * libio/Makefile (tests): New test case tst-fseek.
67909         * libio/tst-fseek.c: New test case to verify that fseek/ftell
67910         combination works in wide mode.
67911         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
67912         state when the external buffer state changes.
67914 2012-09-27  David S. Miller  <davem@davemloft.net>
67916         [BZ #14376]
67917         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
67918         pass reloc->r_addend in as the 'high' argument to
67919         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
67921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67923 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
67925         * rt/tst-aio2.c: Include <pthread.h>.
67926         * rt/tst-aio3.c: Likewise.
67928 2012-09-27  Steve Ellcey  <sellcey@mips.com>
67930         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
67932 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
67934         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
67935         contents on [SHARED].
67937 2012-09-26  Marek Polacek  <polacek@redhat.com>
67939         [BZ #14530]
67940         [BZ #13741]
67941         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
67942         for C++ and GCC <4.3 as well as for non GCC compilers.
67944 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67948 2012-09-25  Roland McGrath  <roland@hack.frob.com>
67950         * Makefile.in (all, install): Declare with .PHONY.
67951         Reported by Michael Hope <michael.hope@linaro.org>.
67953 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67955         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
67956         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
67957         system header.
67958         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
67959         Likewise.
67960         (sydep_routines): Add the new and the internal functions.
67961         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
67962         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
67963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
67964         (GLIBC_2.17): Add the new function.
67965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67966         (GLIBC_2.17): Likewise.
67967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
67968         (GLIBC_2.17): Likewise.
67969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
67970         (GLIBC_2.17): Likewise.
67971         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
67973 2012-09-25  Alan Modra  <amodra@gmail.com>
67975         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
67976         Add release barrier before setting once_control to say
67977         initialisation is done.  Add hints on lwarx.  Use macro in
67978         place of isync.
67979         (clear_once_control): Add release barrier.
67981 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
67983         [BZ #13629]
67984         * math/s_clog.c (__clog): Handle more values close to |z| = 1
67985         specially.
67986         * math/s_clog10.c (__clog10): Likewise.
67987         * math/s_clog10f.c (__clog10f): Likewise.
67988         * math/s_clog10l.c (__clog10l): Likewise.
67989         * math/s_clogf.c (__clogf): Likewise.
67990         * math/s_clogl.c (__clogl): Likewise.
67991         * math/Makefile (libm-calls): Add x2y2m1.
67992         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
67993         (__x2y2m1): Likewise.
67994         (__x2y2m1l): Likewise.
67995         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
67996         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
67997         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
67998         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
67999         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
68000         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
68001         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
68002         * sysdeps/i386/fpu/libm-test-ulps: Update.
68003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68005         [BZ #14621]
68006         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
68007         int as type of variable DEPTH.
68008         (glob): Use size_t instead of int as type of variables NEWCOUNT
68009         and OLD_PATHC.
68011 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68013         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68014         Add s_sincosf-sse2.
68015         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
68016         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
68017         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
68018         macros for using routine as __sincosf_ia32.
68019         Use macro for function declaration and weak_alias.
68020         * sysdeps/i386/fpu/libm-test-ulps: Update.
68022         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
68023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68025         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
68026         subnormal argument.
68027         * math/s_cexpf.c (__cexpf): Likewise.
68028         * math/s_csinf.c (__csinf): Likewise.
68029         * math/s_csinhf.c (__csinhf): Likewise.
68030         * math/s_ctanf.c (__ctanf): Likewise.
68031         * math/s_ctanhf.c (__ctanhf): Likewise.
68032         * math/s_ccosh.c (__ccoshf): Likewise.
68033         * math/s_cexp.c (__cexpl): Likewise.
68034         * math/s_csin.c (__csin): Likewise.
68035         * math/s_csinh.c (__csinh): Likewise.
68036         * math/s_ctan.c (__ctan): Likewise.
68037         * math/s_ctanh.c (ctanh): Likewise.
68038         * math/s_ccoshl.c (__ccoshl): Likewise.
68039         * math/s_cexpl.c (__cexpl): Likewise.
68040         * math/s_csinl.c (__csinl): Likewise.
68041         * math/s_csinhl.c (__csinhl): Likewise.
68042         * math/s_ctanl.c (__ctanl): Likewise.
68043         * math/s_ctanhl.c (__ctanhl): Likewise.
68045 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68047         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
68048         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
68049         (_IO_off_t): Define to __off_t, not _G_off_t.
68050         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
68051         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
68052         (_IO_wint_t): Define to wint_t, not _G_wint_t.
68053         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
68054         type of __dummy and __dummy2 fields.
68055         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
68056         (_G_ssize_t): Likewise.
68057         (_G_off_t): Likewise.
68058         (_G_pid_t): Likewise.
68059         (_G_uid_t): Likewise.
68060         (_G_wchar_t): Likewise.
68061         (_G_wint_t): Likewise.
68062         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
68063         (_G_ssize_t): Likewise.
68064         (_G_off_t): Likewise.
68065         (_G_pid_t): Likewise.
68066         (_G_uid_t): Likewise.
68067         (_G_wchar_t): Likewise.
68068         (_G_wint_t): Likewise.
68069         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
68070         (_G_ssize_t): Likewise.
68071         (_G_off_t): Likewise.
68072         (_G_pid_t): Likewise.
68073         (_G_uid_t): Likewise.
68074         (_G_wchar_t): Likewise.
68075         (_G_wint_t): Likewise.
68077 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68079         * malloc/arena.c: Include malloc-sysdep.h.
68080         (shrink_heap): Use check_may_shrink_heap to decide if madvise
68081         is sufficient to shrink the heap or an unmap is needed.
68082         * sysdeps/generic/malloc-sysdep.h: New file.  Define
68083         new function check_may_shrink_heap.
68084         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
68085         new function check_may_shrink_heap.
68087 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68089         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
68090         comments.
68092 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
68094         * catgets/test-gencat.sh: Add "set -e".
68095         * elf/tst-pathopt.sh: Likewise.
68096         * grp/tst_fgetgrent.sh: Likewise.
68097         * iconvdata/run-iconv-test.sh: Likewise.
68098         * intl/tst-gettext.sh: Likewise.
68099         * intl/tst-gettext2.sh: Likewise.
68100         * intl/tst-gettext4.sh: Likewise.
68101         * intl/tst-gettext6.sh: Likewise.
68102         * intl/tst-translit.sh: Likewise.
68103         * io/ftwtest-sh: Likewise.
68104         * libio/test-freopen.sh: Likewise.
68105         * malloc/tst-mtrace.sh: Likewise.
68106         * posix/globtest.sh: Likewise.
68107         * posix/tst-getconf.sh: Likewise.
68108         * posix/wordexp-tst.sh: Likewise.
68109         * stdio-common/tst-printf.sh: Likewise.
68110         * stdio-common/tst-unbputc.sh: Likewise.
68111         * stdlib/tst-fmtmsg.sh: Likewise.
68112         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68113         * catgets/Makefile: Do not specify -e option when running
68114         testsuite shell scripts.
68115         * elf/Makefile: Likewise.
68116         * grp/Makefile: Likewise.
68117         * iconvdata/Makefile: Likewise.
68118         * intl/Makefile: Likewise.
68119         * io/Makefile: Likewise.
68120         * libio/Makefile: Likewise.
68121         * malloc/Makefile: Likewise.
68122         * posix/Makefile: Likewise.
68123         * stdio-common/Makefile: Likewise.
68124         * stdlib/Makefile: Likewise.
68125         * sysdeps/x86_64/Makefile: Likewise.
68127         * io/ftwtest-sh: Add copyright header.
68128         * posix/globtest.sh: Likewise.
68129         * posix/tst-getconf.sh: Likewise.
68130         * posix/wordexp-tst.sh: Likewise.
68131         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
68133 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
68135         [BZ #13679]
68136         * Makeconfig (+link): Defined as $(+link-static) if
68137         $(build-shared) isn't yes.
68138         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
68139         isn't yes.
68140         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
68142         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
68144         [BZ #14562]
68145         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
68146         new chunk size with MALLOC_ALIGN_MASK.
68148 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
68150         [BZ #5044]
68151         * stdio-common/printf_fphex.c: Include <stdbool.h> and
68152         <rounding-mode.h>.
68153         (__printf_fphex): Determine rounding using get_rounding_mode and
68154         round_away.
68155         * stdio-common/tst-printf-round.c (struct hex_test): New
68156         structure.
68157         (hex_tests): New variable.
68158         (test_hex_in_one_mode): New function.
68159         (do_test): Also run tests for hex float output.
68161 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
68163         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68164         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68165         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
68166         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
68167         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
68168         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
68169         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68170         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
68172 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
68174         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
68175         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
68176         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
68177         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
68179 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
68181         [BZ #14579]
68182         * elf/rtld.c (dl_main): Limit the check for self loading to normal
68183         mode only.
68184         * elf/tst-rtld-load-self.sh: New test.
68185         * elf/Makefile: Run it.
68187 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
68189         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
68190         (tst-writev-ENV): Remove.
68191         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
68193 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
68195         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
68197 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
68199         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
68200         unconditional.
68201         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
68202         Likewise.
68203         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
68204         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
68205         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
68206         Likewise.
68208 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
68210         [BZ #14587]
68211         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
68212         * config.make.in (have-cpp-asm-debuginfo): Removed.
68213         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
68214         * configure: Regenerated.
68216 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
68218         [BZ #5044]
68219         * stdio-common/printf_fp.c: Include <stdbool.h> and
68220         <rounding-mode.h>.
68221         (___printf_fp): Determine rounding using get_rounding_mode and
68222         round_away.
68223         * stdio-common/tst-printf-round.c: New file.
68224         * stdio-common/Makefile (tests): Add tst-printf-round.
68225         (link-libm): New variable.
68226         ($(objpfx)tst-printf-round): Depend in $(link-libm).
68228 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
68230         [BZ #14576]
68231         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
68232         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
68233         Likewise.
68234         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
68235         Likewise.
68237 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
68239         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
68240         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68241         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68242         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
68244 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
68246         [BZ #14518]
68247         * include/rounding-mode.h: New file.
68248         * sysdeps/generic/get-rounding-mode.h: Likewise.
68249         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
68250         * stdlib/strtod_l.c: Include <rounding-mode.h>.
68251         (MAX_VALUE): New macro.
68252         (MIN_VALUE): Likewise.
68253         (overflow_value): New function.
68254         (underflow_value): Likewise.
68255         (round_and_return): Use overflow_value and underflow_value to
68256         determine return values in overflow and underflow cases.  Use
68257         round_away to determine rounding depending on rounding mode.
68258         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
68259         determine return values in overflow and underflow cases.
68260         * stdlib/tst-strtod-round.c: Include <fenv.h>.
68261         (struct test_results): New structure.
68262         (struct test): Use struct test_results to store expected results
68263         for all rounding modes.
68264         (TEST): Include expected results for all rounding modes.
68265         (test_in_one_mode): New function.
68266         (do_test): Use test_in_one_mode to compute and check results.
68267         Check results for all rounding modes.
68268         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
68269         $(link-libm).
68271 2012-12-09  Allan McRae  <allan@archlinux.org>
68273         * sysdeps/i386/fpu/libm-test-ulps: Update
68275 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
68277         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
68278         (_G_int32_t): Likewise.
68279         (_G_uint16_t): Likewise.
68280         (_G_uint32_t): Likewise.
68281         (_G_HAVE_BOOL): Likewise.
68282         (_G_HAVE_ATEXIT): Likewise.
68283         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68284         (_G_HAVE_IO_FILE_OPEN): Likewise.
68285         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
68286         (_G_int32_t): Likewise.
68287         (_G_uint16_t): Likewise.
68288         (_G_uint32_t): Likewise.
68289         (_G_HAVE_BOOL): Likewise.
68290         (_G_HAVE_ATEXIT): Likewise.
68291         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68292         (_G_HAVE_IO_FILE_OPEN): Likewise.
68293         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
68294         (_G_int32_t): Likewise.
68295         (_G_uint16_t): Likewise.
68296         (_G_uint32_t): Likewise.
68297         (_G_HAVE_BOOL): Likewise.
68298         (_G_HAVE_ATEXIT): Likewise.
68299         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
68300         (_G_HAVE_IO_FILE_OPEN): Likewise.
68302 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
68304         * csu/libc-tls.c: Update copyright years.
68306 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
68308         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
68309         [!_G_USING_THUNKS]: Remove conditional code.
68310         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
68311         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
68313         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
68314         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
68315         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68316         (_G_VTABLE_LABEL_PREFIX): Likewise.
68317         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68318         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68319         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68320         (_G_VTABLE_LABEL_PREFIX): Likewise.
68321         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68322         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
68323         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
68324         (_G_VTABLE_LABEL_PREFIX): Likewise.
68325         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
68327 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
68329         * libio/Makefile: Include ../Makeconfig before tests.
68330         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
68331         only if $(build-shared) is yes.
68333         * iconv/gconv_db.c: Update copyright years.
68335 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68337         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
68338         unwind info if defined PIC. Fix special cases description.
68339         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
68341         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
68342         DP_HI_MASK entry.
68343         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
68345 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
68347         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
68349         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
68350         is NULL.
68352         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
68353         (LDLIBS-tst-chk4): This.
68354         (LDFLAGS-tst-chk5): Renamed to ...
68355         (LDLIBS-tst-chk5): This.
68356         (LDFLAGS-tst-chk6): Renamed to ...
68357         (LDLIBS-tst-chk6): This.
68358         (LDFLAGS-tst-lfschk4): Renamed to ...
68359         (LDLIBS-tst-lfschk4): This.
68360         (LDFLAGS-tst-lfschk5): Renamed to ...
68361         (LDLIBS-tst-lfschk5): This.
68362         (LDFLAGS-tst-lfschk6): Renamed to ...
68363         (LDLIBS-tst-lfschk6): This.
68365         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
68366         on $(common-objpfx)soversions.mk.
68368 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
68370         [BZ #10014]
68371         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
68372         example host name.
68374 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68376         * malloc/arena.c (arena_get_retry): New function that gets
68377         another arena for the caller to try its request on.
68378         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
68379         current arena cannot fulfill the request.
68380         (__libc_memalign): Likewise.
68381         (__libc_memalign): Likewise.
68382         (__libc_pvalloc): Likewise.
68383         (__libc_calloc): Likewise.
68385 2012-09-05  John Tobey  <john.tobey@gmail.com>
68387         [BZ #13542]
68388         * manual/arith.texi (Operations on Complex): Fix description
68389         of carg branch cut.
68391 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68393         [BZ #10014]
68394         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
68395         host name.
68397         [BZ #10038]
68398         * manual/memory.texi (Memory): Make order of menu items match
68399         order of sections.
68401 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68403         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
68404         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
68405         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
68407 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68409         * csu/libc-tls.c (static_dtv): Renamed to ...
68410         (_dl_static_dtv): This.  Make it global.
68411         (_dl_initial_dtv): Removed.
68412         (__libc_setup_tls): Updated.
68413         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
68414         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
68415         DL_INITIAL_DTV.
68417 2012-09-06  Petr Machata  <pmachata@redhat.com>
68419         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
68420         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
68421         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
68422         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
68424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68426         [BZ #14545]
68427         * csu/libc-tls.c (_dl_initial_dtv): New variable.
68428         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
68429         freeing dtv[-1].
68431 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
68433         [BZ #14544]
68434         * Makeconfig (link-static-before-libc): Replace $(+prector)
68435         with $(+prectorT).
68436         (link-static-after-libc): Replace $(+postctor) with
68437         $(+postctorT).
68438         (link-bounded): Replace $(+prector)/$(+postctor) with
68439         $(+prectorT)/$(+postctorT).
68440         (+prectorT): New macro.
68441         (+postctorT): Likewise.
68443 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
68445         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
68446         (round_str): Handle values above the maximum for IBM long double
68447         as inexact.
68448         * stdlib/tst-strtod-round.c (tests): Regenerated.
68450 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68452         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
68453         assembler flag.
68454         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
68455         zarch_nohighgprs around the zarch optimized routines.
68456         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
68457         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
68458         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
68459         for zarch.
68461 2012-09-05  David S. Miller  <davem@davemloft.net>
68463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68465         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
68466         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
68467         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
68468         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68469         entries.
68471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68473         * malloc/arena.c: Fold copyright years.
68474         * malloc/mcheck.c, malloc/memusage.c: Likewise.
68476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68478         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
68480 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68482         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
68484 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68486         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
68487         change internal state upon failure.
68489 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
68491         * malloc/mcheck.c (mcheck_check_all): Fix typo.
68492         * malloc/memusage.c (mmap): Likewise.
68493         (mmap64, mremap): Likewise.  Adjust name in comment.
68495 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68497         * libio/fileops.c: Fix typos in comments.
68498         * libio/oldfileops.c: Likewise.
68499         * libio/wfileops.c: Likewise.
68501 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
68503         [BZ #1349]
68504         * malloc/Makefile (tests): Add tst-malloc-usable test case.
68505         (tst-malloc-usable-ENV): Set environment for test case.
68506         * malloc/hooks.c (malloc_check_get_size): New function to get
68507         requested size.
68508         * malloc/malloc.c (musable): Use malloc_check_get_size.
68509         * malloc/tst-malloc-usable.c: New test case.
68511 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68513         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
68515 2012-09-05  Allan McRae  <allan@archlinux.org>
68517         [BZ #13966]
68518         * configure.in (CXX_SYSINCLUDES): Use compiler output to
68519         determine header location.
68520         * configure: Regenerated.
68522 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68524         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
68525         float format.
68526         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
68527         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
68528         format.
68529         (test): Regenerate.
68531 2012-09-04  David S. Miller  <davem@davemloft.net>
68533         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
68534         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
68535         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
68537 2012-09-04  Florian Weimer  <fweimer@redhat.com>
68539         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
68540         failures.
68542         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
68544 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
68546         [BZ #9914]
68547         * libio/iogetdelim.c: Include <limits.h>.
68548         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
68549         + len + 1 would overflow.
68551 2012-09-03  Andreas Jaeger  <aj@suse.de>
68553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68554         * sysdeps/i386/fpu/libm-test-ulps: Update.
68556 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68558         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
68559         Add s_sinf-sse2, s_conf-sse2.
68561         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
68562         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
68563         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
68564         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
68566         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
68567         for using routine as __sinf_ia32.
68568         Use macro for function declaration and weak_alias.
68569         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
68570         for using routine as __cosf_ia32.
68571         Use macro for function declaration and weak_alias.
68573         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
68574         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
68576         * sysdeps/x86_64/fpu/s_sinf.S: New file.
68577         * sysdeps/x86_64/fpu/s_cosf.S: New file.
68578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68580         * math/libm-test.inc (cos_test): Add more test cases.
68581         (sin_test): Likewise.
68582         (sincos_test): Likewise.
68584 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68586         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
68587         (IFUNC_RESOLVE): Make pointers to the specialized implementations
68588         hidden.
68589         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68591 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
68593         [BZ #14538]
68594         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
68595         first element of the GOT.
68596         (elf_machine_load_address): Return the difference between
68597         the runtime address of _DYNAMIC and elf_machine_dynamic ().
68599 2012-09-01  Allan McRae  <allan@archlinux.org>
68601         [BZ #13412]
68602         * configure.in (AWK): Require gawk version 3.0 or later.
68603         * configure: Regenerated.
68605 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
68607         * sysdeps/unix/sysv/linux/kernel-features.h
68608         (__ASSUME_POSIX_CPU_TIMERS): Remove.
68609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68610         [__NR_clock_getres]: Make code unconditional.
68611         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
68612         (clock_getcpuclockid): Remove code left unreachable by removal of
68613         conditionals.
68614         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
68615         code unconditional.
68616         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68617         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68618         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
68619         Make code unconditional.
68620         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
68621         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68622         * sysdeps/unix/sysv/linux/clock_settime.c
68623         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
68624         conditional code.
68625         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
68626         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68628 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
68630         [BZ #14476]
68631         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
68632         scripts/test-installation.pl.
68634         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
68635         and $ld_so_version if it is set.
68637 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68639         [BZ #14516]
68640         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
68641         failure if reading from procfs failed.
68642         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
68644 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68646         * sysdeps/unix/sysv/linux/kernel-features.h
68647         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
68648         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68649         Remove conditional code.
68650         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68651         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
68652         Remove conditional code.
68653         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68654         * sysdeps/unix/sysv/linux/i386/fxstat.c
68655         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68656         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68657         * sysdeps/unix/sysv/linux/i386/fxstatat.c
68658         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68660         * sysdeps/unix/sysv/linux/i386/lxstat.c
68661         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
68662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68663         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
68664         Remove conditional code.
68665         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68666         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
68667         Remove conditional code.
68668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68669         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
68670         <kernel-features.h>.
68671         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
68672         Remove.
68673         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
68674         Remove conditional code.
68675         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
68676         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
68677         Remove conditional.
68679 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
68681         [BZ #5400]
68682         * NEWS: Add fixed bug number.
68684 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
68686         [BZ #14519]
68687         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
68688         underflowing exponent in case of negative sign.
68689         * stdlib/tst-strtod-round-data: Add more tests.
68690         * stdlib/tst-strtod-round.c (tests): Regenerated.
68692         [BZ #3479]
68693         * stdlib/strtod_l.c (NDIG): Remove.
68694         (HEXNDIG): Likewise.
68695         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
68696         smallest representable value.
68697         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
68698         lie within an exact representation of 1/2 ulp of the result.
68699         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
68700         unconditionally.
68701         (TENS_P9_IDX): Define unconditionally.
68702         (TENS_P9_SIZE): Likewise.
68703         (TENS_P10_IDX): Likewise.
68704         (TENS_P10_SIZE): Likewise.
68705         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
68706         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
68707         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
68708         entries for 10^2^13 and 10^2^14.
68709         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
68710         (TENS_P13_IDX): Define.
68711         (TENS_P13_SIZE): Likewise.
68712         (TENS_P14_IDX): Likewise.
68713         (TENS_P14_SIZE): Likewise.
68714         (_fpioconst_pow10): Change array size to
68715         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
68716         unconditional.
68717         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
68718         1024]: Add entries for 10^2^13 and 10^2^14.
68719         [LAST_POW10 > _LAST_POW10]: Remove #error.
68720         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
68721         (_fpioconst_pow10): Change array size to
68722         FPIOCONST_POW10_ARRAY_SIZE.
68723         * stdlib/gen-fpioconst.c: New file.
68724         * stdlib/gen-tst-strtod-round.c: Likewise.
68725         * stdlib/tst-strtod-round-data: Likewise.
68726         * stdlib/tst-strtod-round.c: Likewise.
68727         * stdlib/Makefile (tests): Add tst-strtod-round.
68729         [BZ #14459]
68730         * stdlib/strtod_l.c: Include <stdint.h>.
68731         (NDEBUG): Do not define.
68732         (round_and_return): Change EXPONENT parameter to type intmax_t.
68733         Rearrange calculations to avoid internal overflow possibilities.
68734         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
68735         Rearrange calculations to avoid internal overflow possibilities.
68736         Assert that number fits inside MPNSIZE limbs.
68737         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
68738         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
68739         calculations and add assertions to avoid internal overflow
68740         possibilities.  Add casts to avoid signed/unsigned operations.
68741         * stdlib/tst-strtod-overflow.c: New file.
68742         * stdlib/Makefile (tests): Add tst-strtod-overflow.
68744 2012-08-25  Marek Polacek  <polacek@redhat.com>
68746         * time/time.h: Fix some typos in comments.
68748 2012-08-23  Roland McGrath  <roland@hack.frob.com>
68750         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
68751         * posix/tst-rfc3484-2.c: Likewise.
68752         * posix/tst-rfc3484-3.c: Likewise.
68754 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
68756         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
68757         (EF_ARM_ABI_FLOAT_HARD): Likewise.
68759 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
68761         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
68762         #include of fxstatat64.c.
68764 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68766         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
68767         * shadow/getspent_r.c: Likewise.
68768         * shadow/getspnam.c: Likewise.
68769         * shadow/getspnam_r.c: Likewise.
68770         * gshadow/getsgent.c: Likewise.
68771         * gshadow/getsgent_r.c: Likewise.
68772         * gshadow/getsgnam.c: Likewise.
68773         * gshadow/getsgnam_r.c: Likewise.
68774         * inet/getnetbyad.c: Likewise.
68775         * inet/getnetbyad_r.c: Likewise.
68776         * inet/getnetbynm.c: Likewise.
68777         * inet/getnetbynm_r.c: Likewise.
68778         * inet/getnetent.c: Likewise.
68779         * inet/getnetent_r.c: Likewise.
68780         * inet/getproto.c: Likewise.
68781         * inet/getproto_r.c: Likewise.
68782         * inet/getprtent.c: Likewise.
68783         * inet/getprtent_r.c: Likewise.
68784         * inet/getprtname.c: Likewise.
68785         * inet/getprtname_r.c: Likewise.
68786         * inet/getrpcbyname.c: Likewise.
68787         * inet/getrpcbyname_r.c: Likewise.
68788         * inet/getrpcbynumber.c: Likewise.
68789         * inet/getrpcbynumber_r.c: Likewise.
68790         * inet/getrpcent.c: Likewise.
68791         * inet/getrpcent_r.c: Likewise.
68792         * inet/getaliasent.c: Likewise.
68793         * inet/getaliasent_r.c: Likewise.
68794         * inet/getaliasname.c: Likewise.
68795         * inet/getaliasname_r.c: Likewise.
68796         * nscd/getgrgid_r.c: Likewise.
68797         * nscd/getgrnam_r.c: Likewise.
68798         * nscd/gethstbyad_r.c: Likewise.
68799         * nscd/gethstbynm3_r.c: Likewise.
68800         * nscd/getpwnam_r.c: Likewise.
68801         * nscd/getpwuid_r.c: Likewise.
68802         * nscd/getsrvbynm_r.c: Likewise.
68803         * nscd/getsrvbypt_r.c: Likewise.
68804         * nscd/gai.c: Likewise.
68806         * configure.in (build_nscd): New substituted variable, set
68807         by --disable-build-nscd and defaults to $use_nscd.
68808         * configure: Regenerated.
68809         * config.make.in (build-nscd): New substituted variable.
68810         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
68811         Change conditional to require [$(build-nscd) = yes] as well.
68812         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
68814         [BZ# 13696]
68815         * configure.in (use_nscd): New substituted variable, set by
68816         --disable-nscd.  If enabled, define USE_NSCD.
68817         * configure: Regenerated.
68818         * config.h.in: Add USE_NSCD.
68819         * config.make.in (use-nscd): New substituted variable.
68820         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
68821         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
68822         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
68823         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
68824         (CFLAGS-getgrnam_r.c): Likewise.
68825         (CFLAGS-initgroups.c): Likewise.
68826         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
68827         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
68828         Variables removed.
68829         * inet/getnetgrent_r.c
68830         (nscd_setnetgrent): New function, broken out of ...
68831         (setnetgrent): ... here.  Call it.
68832         (innetgr): Conditionalize nscd bits on [USE_NSCD].
68833         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
68834         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
68835         * nscd/Makefile (routines, aux): Move definitions after include of
68836         Makeconfig.  Conditionalize on [$(use-nscd) != no].
68837         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
68838         Conditionalize on [USE_NSCD].
68839         (is_nscd, nscd_init_cb): Likewise.
68840         (nss_load_library): Conditionalize init callback on [USE_NSCD].
68841         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
68842         * nss/nss_db/db-init.c: Likewise.
68843         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
68844         [USE_NSCD].
68845         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
68846         (make_request): Use it.
68847         (cache_valid_p): New function.
68848         (__check_pf): Use it.
68849         * NEWS: Add item for --disable-nscd.
68851 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
68853         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
68854         to support sed >= 4.2.1-20-ga9bf076.
68855         * configure: Regenerated.
68857 2012-08-22  Roland McGrath  <roland@hack.frob.com>
68859         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
68860         Conditionalize whole body on [IREL].
68862 2012-08-22  Jeff Law <law@redhat.com>
68864         [BZ #14505]
68865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
68866         if the family is PF_UNSPEC.
68868 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
68870         * Makerules (lib-version): Rename from V.
68871         (install-lib-nosubdir): Change V to lib-version.
68873 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
68875         [BZ #14252]
68876         * powerpc32/power6/wcschr.c: New file.
68877         * powerpc32/power6/wcscpy.c: New file.
68878         * powerpc32/power6/wcsrchr.c: New file.
68879         * powerpc64/power6/wcschr.c: New file.
68880         * powerpc64/power6/wcscpy.c: New file.
68881         * powerpc64/power6/wcsrchr.c: New file.
68883 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68885         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
68886         (two_way_short_needle): Use it.
68887         * string/strstr.c (AVAILABLE1_USES_J): Define.
68888         * string/strcasestr.c: Likewise.
68890         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
68891         array references.
68892         * string/strcasestr.c (TOLOWER): Make side-effect safe.
68894         [BZ #11607]
68895         * NEWS: Add an entry.
68896         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
68897         define their defaults.
68898         (two_way_short_needle): Detect end-of-string on-the-fly.
68899         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
68900         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
68901         * string/bug-strcasestr1.c: New test.
68902         * string/Makefile: Run it.
68904 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
68906         [BZ #11607]
68907         * string/str-two-way.h (two_way_short_needle): Optimize matching of
68908         the first character.
68910 2012-08-21  Roland McGrath  <roland@hack.frob.com>
68912         * csu/elf-init.c (__libc_csu_irel): Function removed.
68913         * csu/libc-start.c (apply_irel): New function.
68914         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
68916 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
68918         * sysdeps/unix/sysv/linux/kernel-features.h
68919         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
68920         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68921         <kernel-features.h>.
68922         [__NR_fadvise64_64]: Make code unconditional.
68923         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
68924         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68925         !__NR_fadvise64_64)]: Likewise.
68926         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
68927         !__NR_fadvise64_64))]: Likewise.
68928         [__NR_fadvise64]: Make code unconditional.
68929         [!__NR_fadvise64]: Remove conditional code.
68930         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
68931         <kernel-features.h>.
68932         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68933         unconditional.
68934         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68935         conditional code.
68936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
68937         not include <kernel-features.h>.
68938         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68939         unconditional.
68940         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68941         conditional code.
68942         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
68943         include <kernel-features.h>.
68944         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
68945         unconditional.
68946         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
68947         conditional code.
68949 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
68952         slight instruction rearrangements per scrollpipe analysis.
68953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
68955 2012-08-20  Roland McGrath  <roland@hack.frob.com>
68957         * manual/syslog.texi (syslog; vsyslog, closelog):
68958         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
68959         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
68961         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
68962         DSOCAPS to match condition on defining it.
68964 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
68966         * sysdeps/unix/sysv/linux/kernel-features.h
68967         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
68968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
68969         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68970         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
68972         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68973         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
68975         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
68976         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
68978         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
68979         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
68981         * sysdeps/unix/sysv/linux/kernel-features.h
68982         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
68983         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
68984         unconditional.
68985         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68986         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
68987         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68988         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68989         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
68990         Make code unconditional.
68991         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68992         (__mmap64) [!__NR_mmap2]: Likewise.
68993         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
68994         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
68995         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68996         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
68997         [__NR_mmap2]: Make code unconditional.
68998         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
68999         (__mmap64) [!__NR_mmap2]: Likewise.
69001 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69003         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
69005 2012-08-18  Andreas Jaeger  <aj@suse.de>
69007         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
69009 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69011         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
69012         * include/unistd.h (__have_sock_cloexec): Likewise.
69013         (__have_pipe2): Likewise.
69014         (__have_dup3): Likewise.
69016 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
69018         [BZ #9685]
69019         * include/unistd.h (__have_pipe2): Change define into an extern int.
69020         (__have_dup3): Likewise.
69021         * socket/have_sock_cloexec.c: Include fcntl.h.
69022         (__have_pipe2): New variable.
69023         (__have_dup3): Likewise.
69025 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
69027         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
69029 2012-08-17  Marek Polacek  <polacek@redhat.com>
69031         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
69032         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
69034 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69036         * configure.in: Add AC_SUBST for sysheaders.
69037         * configure: Regenerated.
69038         * config.make.in (sysheaders): New substituted variable.
69040         * sysdeps/unix/mkfifo.c: Moved ...
69041         * sysdeps/posix/mkfifo.c: ... here.
69042         * sysdeps/unix/mkfifoat.c: Moved ...
69043         * sysdeps/posix/mkfifoat.c: ... here.
69045         * sysdeps/unix/utime.c: Moved ...
69046         * sysdeps/posix/utime.c: ... here.
69048         * sysdeps/unix/time.c: Moved ...
69049         * sysdeps/posix/time.c: ... here.
69050         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
69051         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
69053         * sysdeps/unix/nice.c: Moved ...
69054         * sysdeps/posix/nice.c: ... here.
69056         * sysdeps/unix/alarm.c: Moved ...
69057         * sysdeps/posix/alarm.c: ... here.
69059         * intl/Makefile ($(codeset_mo)): Depend on the input file.
69061 2012-08-17  Jeff Law <law@redhat.com>
69063         * intl/Makefile (codeset_mo): New variable.
69064         ($(codeset_mo)): New target.
69065         (tst-codeset.out): Depend on that.  Remove explicit rule.
69066         (tst-gettext3.out, tst-gettext5.out): Likewise.
69067         (LOCPATH-ENV, tst-codeset-ENV): New variables.
69068         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
69069         * intl/tst-codeset.sh: Remove.
69070         * intl/tst-gettext3.sh: Likewise.
69071         * intl/tst-gettext5.sh: Likewise.
69073 2012-08-17  Roland McGrath  <roland@hack.frob.com>
69075         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
69076         * sysdeps/unix/syscalls.list: ... here.
69078         * sysdeps/posix/getaddrinfo.c
69079         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
69080         (gaiconf_init, gaiconf_reload): Use them.
69081         [!_STATBUF_ST_NSEC]
69082         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
69083         Define using time_t rather than struct timespec.
69085         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
69086         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
69087         Macros removed.
69088         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
69089         [!NO_THREADS].
69090         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
69091         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
69092         Likewise.
69094         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
69095         __libc_cleanup_push argument.
69097         * bits/param.h: New file.
69098         * misc/sys/param.h: New file.
69099         * include/sys/param.h: New file.
69100         * misc/Makefile (headers): Add bits/param.h.
69101         * sysdeps/generic/sys/param.h: File removed.
69102         * sysdeps/unix/sysv/linux/bits/param.h: New file.
69103         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
69104         * sysdeps/mach/hurd/bits/param.h: New file.
69105         * sysdeps/mach/hurd/sys/param.h: File removed.
69107         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
69108         last change.
69110         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
69111         [_IO_MTSAFE_IO].
69112         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
69113         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
69114         New macros.
69116         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
69117         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
69118         rather than -D_IO_MTSAFE_IO conditionally.
69119         * stdio-common/Makefile (CPPFLAGS): Likewise.
69120         * wcsmbs/Makefile (CPPFLAGS): Likewise.
69121         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
69122         Use $(libio-mtsafe).
69123         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
69124         of -D_IO_MTSAFE_IO.
69125         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
69126         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
69127         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
69128         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
69129         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
69130         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
69131         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
69132         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
69133         (CFLAGS-fread_u_chk.c): Likewise.
69134         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
69135         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
69136         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
69137         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
69138         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
69139         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
69140         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
69141         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
69142         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
69144         * libio/Makefile: Test [$(libc-reentrant) = yes]
69145         instead of [$(filter %REENTRANT, $(defines)) nonempty].
69147         * Makeconfig
69148         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
69149         * sysdeps/pthread/configure: File removed.
69150         * sysdeps/pthread/Makeconfig: New file.
69151         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
69152         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
69154 2012-08-16  Gary Benson  <gbenson@redhat.com>
69156         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
69157         unmapping the first object in a namespace.
69159 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69161         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
69162         (__internal_setnetgrent): ... this.  Add internal_function to
69163         definition.  Add libc_hidden_def.
69164         (setnetgrent): Update caller.
69165         (internal_endnetgrent): Renamed to ...
69166         (__internal_endnetgrent): ... this.  Add internal_function to
69167         definition.  Add libc_hidden_def.
69168         (endnetgrent): Update caller.
69169         (internal_getnetgrent_r): Renamed to ...
69170         (__internal_getnetgrent_r): ... this.  Add internal_function to
69171         definition.  Add libc_hidden_def.
69172         (__getnetgrent_r): Update caller.
69173         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
69175 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69177         * stdlib/longlong.h: Update from GCC.
69179 2012-08-16  Roland McGrath  <roland@hack.frob.com>
69181         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
69182         on _QL, which is set by umul_ppmm but never used.
69183         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
69184         variables, which are set by GMP macros but never used.
69185         * stdio-common/_itowa.c (_itowa): Likewise.
69186         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
69187         * stdlib/mod_1.c (mpn_mod_1): Likewise.
69189 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
69191         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
69192         struct La_sh_regs is not constant.
69193         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
69194         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
69195         and struct La_sparc64_regs are not constant.
69197 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
69199         * sysdeps/unix/sysv/linux/kernel-features.h
69200         (__ASSUME_POSIX_TIMERS): Remove.
69201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69202         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69203         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
69204         Make code unconditional.
69205         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69206         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
69207         Make code unconditional.
69208         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69209         * sysdeps/unix/sysv/linux/clock_nanosleep.c
69210         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
69211         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69212         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
69213         Make code unconditional.
69214         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
69215         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
69216         (__libc_missing_posix_timers): Remove.
69218 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69220         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
69221         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
69223         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
69225         * elf/dl-sym.c: Include <stdlib.h>.
69227         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
69228         constants, which avoids warnings in 32-bit builds.
69230         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
69231         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
69233         * misc/lseek.c: File moved to ...
69234         * io/lseek.c: ... here.
69236         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
69238         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
69239         shifting LEN more than 31 bits at once.
69241 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69243         [BZ #14195]
69244         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
69245         segmentation fault for a case of two empty input strings.
69246         * string/test-strncasecmp.c (check1): Renamed to...
69247         (bz12205): ...this.
69248         (bz14195): Add new testcase for two empty input strings and N > 0.
69249         (test_main): Call new testcase, adapt for renamed function.
69251 2012-08-15  Andreas Jaeger  <aj@suse.de>
69253         [BZ #14090]
69254         * crypt/md5test2.c: New test, based on test supplied by Serge
69255         Belyshev <belyshev@depni.sinp.msu.ru>.
69256         * crypt/Makefile (xtests): Add md5test-giant..
69257         * crypt/Makefile ($(objpfx)md5test-giant): Add.
69259 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
69261         [BZ #14090]
69262         * crypt/md5.c (md5_process_block): Don't assume the buffer
69263         length is less than 2**32.
69264         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
69265         length is less than 2**64.
69267 2012-08-15  Roland McGrath  <roland@hack.frob.com>
69269         * string/str-two-way.h: Include <sys/param.h>.
69270         (MAX): Macro removed.
69272         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
69273         Move #define and #undef of memmove to just before and after
69274         including <string.h>.
69276         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
69277         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
69278         and after including <string.h>.  Move declarations of
69279         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
69280         to before #include "string/memmove.c".
69282         * include/dirent.h: Declare __getdirentries.
69284         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
69285         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
69287 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
69289         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
69290         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
69291         * sysdeps/i386/configure: Regenerated.
69292         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
69293         STABS_CURRENT_FILE, and STABS_FUN.
69294         (END): Remove call to STABS_FUN_END.
69295         (STABS_CURRENT_FILE1): Delete.
69296         (STABS_CURRENT_FILE): Likewise.
69297         (STABS_FUN): Likewise.
69298         (STABS_FUN_END): Likewise.
69299         (STABS_FUN2): Likewise.
69300         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
69301         * sysdeps/x86_64/configure: Regenerated.
69303 2012-08-14  Roland McGrath  <roland@hack.frob.com>
69305         * elf/dl-open.c: Include <atomic.h>.
69306         * elf/dl-lookup.c: Likewise.
69308 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
69310         * sysdeps/unix/sysv/linux/kernel-features.h
69311         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
69312         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
69313         unconditionally.
69314         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
69315         unconditionally.
69316         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
69317         condition on __ASSUME_CLONE_THREAD_FLAGS.
69319 2012-08-14  Andreas Jaeger  <aj@suse.de>
69321         * sysdeps/i386/fpu/libm-test-ulps: Update.
69323 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
69325         * include/atomic.h (atomic_exchange_and_add): Split into ...
69326         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
69327         New atomic macros.
69329 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
69331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69333 2012-08-13  Jeff Law <law@redhat.com>
69335         * manual/stdio.texi (snprintf): Clarify handling of the trailing
69336         null byte in the output string.
69338 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
69340         * sysdeps/unix/sysv/linux/kernel-features.h
69341         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
69342         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
69343         (__ASSUME_ARG_MAX_STACK_BASED): Define.
69344         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
69345         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
69346         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
69347         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
69349 2012-08-09  Jeff Law <law@redhat.com>
69351         [BZ #13939]
69352         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
69353         When avoid_arena is set, don't retry in the that arena.  Pick the
69354         next one, whatever it might be.
69355         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
69356         (arena_lock): Pass in new parameter to arena_get2.
69357         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
69358         arena_get2.
69359         (__libc_malloc): Unify retrying after main arena failure with
69360         __libc_memalign version.
69361         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
69363 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
69365         [BZ #14166]
69366         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
69367         to __redirect_strstr.
69368         (__strstr_sse42): Use typeof __redirect_strstr.
69369         (__strstr_ia32): Likewise.
69370         (__libc_strstr): New prototype.
69371         (strstr): Renamed to ...
69372         (__libc_strstr): This.
69373         (strstr): New strong alias of __libc_strstr.
69374         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69375         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
69376         __redirect_time.
69377         Include <time.h>.
69378         (__libc_time): New prototype.
69379         (time_ifunc): Replace time with __libc_time.
69380         (time): New strong alias and hidden definition of __libc_time.
69381         (__GI_time): Remove strong alias.
69382         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
69383         Include <stddef.h>.
69384         (memmove): Redefined to __redirect_memmove.
69385         (__memmove_sse2): Use typeof __redirect_memmove.
69386         (__memmove_ssse3): Likewise.
69387         (__memmove_ssse3_back): Likewise.
69388         (__libc_memmove): New prototype.
69389         (memmove): Renamed to ...
69390         (__libc_memmove): This.
69391         (memmove): New strong alias of __libc_memmove.
69393 2012-08-08  Mark Salter  <msalter@redhat.com>
69395         * elf/elf.h
69396         (R_MN10300_TLS_GD): Define.
69397         (R_MN10300_TLS_LD): Likewise.
69398         (R_MN10300_TLS_LDO): Likewise.
69399         (R_MN10300_TLS_GOTIE): Likewise.
69400         (R_MN10300_TLS_IE): Likewise.
69401         (R_MN10300_TLS_LE): Likewise.
69402         (R_MN10300_TLS_DTPMOD): Likewise.
69403         (R_MN10300_TLS_DTPOFF): Likewise.
69404         (R_MN10300_TLS_TPOFF): Likewise.
69405         (R_MN10300_SYM_DIFF): Likewise.
69406         (R_MN10300_ALIGN): Likewise.
69407         (R_MN10300_NUM): Update.
69409 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
69411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
69412         Remove.
69414 2012-08-08  Roland McGrath  <roland@hack.frob.com>
69416         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
69418         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
69419         sysdeps/unix -> sysdeps/posix move.
69420         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
69422 2012-08-07      Allan McRae     <allan@archlinux.org>
69424         [BZ #14303]
69425         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
69426         (SUNOS_CPP): Likewise.
69427         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
69428         not found.
69429         (open_input): Call CPP using execvp.
69431 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69433         * sysdeps/unix/sysv/linux/kernel-features.h
69434         (__ASSUME_PROT_GROWSUPDOWN): Remove.
69435         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69436         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69437         (__ASSUME_WAITID_SYSCALL): Likewise.
69438         * sysdeps/unix/sysv/linux/dl-execstack.c
69439         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
69440         code unconditional.
69441         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
69442         conditional code.
69443         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
69444         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
69445         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
69446         code.
69447         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
69448         unconditional.
69449         [__ASSUME_WAITID_SYSCALL]: Likewise.
69450         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
69452 2012-08-07  Roland McGrath  <roland@hack.frob.com>
69454         * sysdeps/unix/closedir.c: Renamed to ...
69455         * sysdeps/posix/closedir.c: ... here.
69456         * sysdeps/unix/dirfd.c: Renamed to ...
69457         * sysdeps/posix/dirfd.c: ... here.
69458         * sysdeps/unix/dirstream.h: Renamed to ...
69459         * sysdeps/posix/dirstream.h: ... here.
69460         * sysdeps/unix/fdopendir.c: Renamed to ...
69461         * sysdeps/posix/fdopendir.c: ... here.
69462         * sysdeps/unix/opendir.c: Renamed to ...
69463         * sysdeps/posix/opendir.c: ... here.
69464         * sysdeps/unix/readdir.c: Renamed to ...
69465         * sysdeps/posix/readdir.c: ... here.
69466         * sysdeps/unix/readdir_r.c: Renamed to ...
69467         * sysdeps/posix/readdir_r.c: ... here.
69468         * sysdeps/unix/rewinddir.c: Renamed to ...
69469         * sysdeps/posix/rewinddir.c: ... here.
69470         * sysdeps/unix/seekdir.c: Renamed to ...
69471         * sysdeps/posix/seekdir.c: ... here.
69472         * sysdeps/unix/telldir.c: Renamed to ...
69473         * sysdeps/posix/telldir.c: ... here.
69474         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
69475         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
69476         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
69477         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
69479         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
69480         * bits/fcntl.h: ... here.
69482         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
69483         not 0.
69484         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
69485         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
69486         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
69487         (struct flock): Move l_start, l_len to the beginning.
69488         Use __pid_t for l_pid.
69489         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
69490         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
69491         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
69492         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
69493         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
69494         [__USE_LARGEFILE64] (struct flock64): New type.
69495         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
69497         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
69498         * bits/dirent.h: ... here.
69500         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
69501         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
69503 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
69505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69506         Change from 2.6.0 to 2.6.16.
69507         * sysdeps/unix/sysv/linux/configure: Regenerated.
69508         * sysdeps/unix/sysv/linux/kernel-features.h
69509         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
69510         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
69511         version.
69512         (__ASSUME_UTIMES): Likewise.
69513         (__ASSUME_CLONE_STOPPED): Remove.
69514         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
69515         architectures, not kernel version.
69516         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
69517         (__ASSUME_NO_CLONE_DETACHED): Likewise.
69518         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
69519         (__ASSUME_WAITID_SYSCALL): Likewise.
69520         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
69521         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
69522         * README: State 2.6.16 as minimum Linux kernel version.  Do not
69523         refer to older versions.
69525 2012-08-06  Roland McGrath  <roland@hack.frob.com>
69527         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
69528         Define alphasort64 as an alias.
69529         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
69530         Define versionsort64 as an alias.
69531         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
69532         Define scandir64 as an alias.
69533         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
69534         Define scandirat64 as an alias.
69535         * dirent/alphasort64.c (alphasort64):
69536         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
69537         * dirent/versionsort64.c: Likewise.
69538         * dirent/scandir64.c: Likewise.
69539         * dirent/scandirat64.c: Likewise.
69540         * sysdeps/wordsize-64/alphasort.c: File removed.
69541         * sysdeps/wordsize-64/alphasort64.c: File removed.
69542         * sysdeps/wordsize-64/scandir.c: File removed.
69543         * sysdeps/wordsize-64/scandir64.c: File removed.
69544         * sysdeps/wordsize-64/scandirat.c: File removed.
69545         * sysdeps/wordsize-64/scandirat64.c: File removed.
69546         * sysdeps/wordsize-64/versionsort.c: File removed.
69547         * sysdeps/wordsize-64/versionsort64.c: File removed.
69548         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
69549         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
69550         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
69551         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
69552         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
69553         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
69554         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
69555         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
69557         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
69558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69559         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
69560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69561         [defined __arch64__ || defined __sparcv9]
69562         (__INO_T_MATCHES_INO64_T): New macro.
69563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69564         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
69565         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
69566         * sysdeps/unix/sysv/linux/bits/dirent.h
69567         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
69568         (_DIRENT_MATCHES_DIRENT64): New macro.
69570         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
69571         Define lockf64 as an alias.
69572         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
69573         Define fseeko64 as an alias.
69574         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
69575         Define ftello64 as an alias.
69576         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
69577         Define _IO_fgetpos64 and fgetpos64 as aliases.
69578         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
69579         Define _IO_fsetpos64 and fsetpos64 as aliases.
69580         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
69581         Conditionalize body on this.
69582         * libio/fseeko64.c: Likewise.
69583         * libio/ftello64.c: Likewise.
69584         * libio/iofgetpos64.c: Likewise.
69585         * libio/iofsetpos64.c: Likewise.
69586         * sysdeps/wordsize-64/lockf.c: File removed.
69587         * sysdeps/wordsize-64/lockf64.c: File removed.
69588         * sysdeps/wordsize-64/fseeko.c: File removed.
69589         * sysdeps/wordsize-64/fseeko64.c: File removed.
69590         * sysdeps/wordsize-64/ftello.c: File removed.
69591         * sysdeps/wordsize-64/ftello64.c: File removed.
69592         * sysdeps/wordsize-64/iofgetpos.c: File removed.
69593         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
69594         * sysdeps/wordsize-64/iofsetpos.c: File removed.
69595         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
69596         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
69597         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
69598         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
69599         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
69600         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
69601         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
69602         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
69603         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
69604         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
69605         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
69607         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69608         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
69609         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
69610         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69611         [defined __arch64__ || defined __sparcv9]
69612         (__OFF_T_MATCHES_OFF64_T): New macro.
69613         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69614         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
69615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69616         (__OFF_T_MATCHES_OFF64_T): New macro.
69618 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69620         * stdlib/secure-getenv.c (__secure_getenv): Replace
69621         GLIBC_2_16 with GLIBC_2_17.
69623 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
69625         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
69626         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
69628 2012-08-03  David S. Miller  <davem@davemloft.net>
69630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69632 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
69635         Remove.
69636         (__ASSUME_CORRECT_SI_PID): Likewise.
69637         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
69638         (__ASSUME_TMPFS_NAME): Likewise.
69639         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
69640         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
69641         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
69642         (HAVE_AUX_SECURE): Make definition unconditional.
69643         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
69644         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
69646 2012-08-03  Roland McGrath  <roland@hack.frob.com>
69648         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
69649         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
69650         * sysdeps/mach/hurd/eloop-threshold.h: New file.
69651         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69652         __eloop_threshold instead of SYMLOOP_MAX.
69654         * sysdeps/generic/eloop-threshold.h: New file.
69655         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
69656         of MAXSYMLINKS.
69657         * elf/chroot_canon.c (chroot_canon): Likewise.
69659 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
69661         [BZ #13717]
69662         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69663         Change to 2.6.0 everywhere.
69664         * sysdeps/unix/sysv/linux/configure: Regenerated.
69665         * sysdeps/unix/sysv/linux/kernel-features.h
69666         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
69667         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
69668         kernel versions.
69669         (__ASSUME_POSIX_TIMERS): Define unconditionally.
69670         (__ASSUME_FUTEX_REQUEUE): Remove.
69671         (__ASSUME_STATFS64): Define unconditionally.
69672         (__ASSUME_AT_SECURE): Likewise.
69673         (__ASSUME_CORRECT_SI_PID): Likewise.
69674         (__ASSUME_TGKILL): Define without depending on kernel version for
69675         i386.
69676         (__ASSUME_UTIMES): Likewise.
69677         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
69678         kernel version.
69679         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
69680         (__ASSUME_TMPFS_NAME): Likewise.
69681         * README: Update reference to Linux kernel versions.
69683 2012-08-02  Marek Polacek  <polacek@redhat.com>
69685         [BZ# 14150]
69686         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
69687         libc_cv_asm_type_prefix with %.
69688         * configure: Regenerated.
69689         * include/libc-symbols.h: Remove comment about
69690         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69691         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
69692         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
69693         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
69694         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
69695         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
69696         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
69697         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
69698         * elf/tst-unique2mod1.c: Likewise.
69699         * elf/tst-unique1mod2.c: Likewise.
69700         * elf/tst-unique1mod1.c: Likewise.
69701         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
69702         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
69703         Replace ASM_TYPE_DIRECTIVE with .type.
69704         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69705         * sysdeps/i386/sysdep.h: Likewise.
69706         * sysdeps/x86_64/sysdep.h: Likewise.
69707         * sysdeps/sh/sysdep.h: Likewise.
69708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69709         Do not define ASM_TYPE_DIRECTIVE.
69710         * sysdeps/powerpc/sysdep.h: Likewise.
69711         * sysdeps/powerpc/powerpc32/sysdep.h:
69712         Replace ASM_TYPE_DIRECTIVE with .type.
69713         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69714         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69715         * sysdeps/i386/fpu/e_powf.S: Likewise.
69716         * sysdeps/i386/fpu/e_expl.S: Likewise.
69717         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69718         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69719         * sysdeps/i386/fpu/e_pow.S: Likewise.
69720         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69721         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69722         * sysdeps/i386/fpu/s_expm1.S: Likewise.
69723         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69724         * sysdeps/i386/fpu/e_log2.S: Likewise.
69725         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69726         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69727         * sysdeps/i386/fpu/e_powl.S: Likewise.
69728         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69729         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69730         * sysdeps/i386/fpu/e_logl.S: Likewise.
69731         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69732         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69733         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69734         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69735         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69736         * sysdeps/i386/fpu/e_log.S: Likewise.
69737         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69738         * sysdeps/i386/fpu/e_logf.S: Likewise.
69739         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69740         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69741         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69742         * sysdeps/i386/fpu/e_log10.S: Likewise.
69743         * sysdeps/i386/fpu/s_frexp.S: Likewise.
69744         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69745         * sysdeps/i386/fpu/s_asinh.S: Likewise.
69746         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69747         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69748         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
69749         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69750         * sysdeps/i386/i686/strtok.S: Likewise.
69751         * sysdeps/i386/i386-mcount.S: Likewise.
69752         * sysdeps/i386/strtok.S: Likewise.
69753         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
69754         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69755         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69756         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69757         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69758         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69759         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69760         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69761         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69762         * sysdeps/x86_64/_mcount.S: Likewise.
69763         * sysdeps/x86_64/strtok.S: Likewise.
69764         * sysdeps/sh/_mcount.S: Likewise.
69766 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69768         * libio/iofopen.c: Include <fcntl.h>.
69769         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
69770         (_IO_fopen64, fopen64): Define as aliases.
69771         * libio/iofopen64.c: Include <fcntl.h>.
69772         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
69773         Conditionalize body on this.
69774         * sysdeps/wordsize-64/iofopen.c: File removed.
69775         * sysdeps/wordsize-64/iofopen64.c: File removed.
69777 2012-08-01  Marek Polacek  <polacek@redhat.com>
69779         * libc/Makeconfig: Use elf in place of binfmt-subdir.
69780         Use dlfcn directly instead of a variable.
69781         (binfmt-subdir): Do not define.
69782         (dlfcn): Likewise.
69784 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
69786         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
69787         Remove all definitions.
69788         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
69789         <kernel-features.h>.
69790         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69791         (miss_F_GETOWN_EX): Remove all definitions.
69792         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
69793         macro definition.
69794         [!__ASSUME_FCNTL64]: Remove conditional code.
69795         [__ASSUME_FCNTL64]: Make code unconditional.
69796         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
69797         <kernel-features.h>.
69798         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
69799         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
69800         (lockf64) [__NR_fcntl64]: Make code unconditional.
69801         (lockf64) [__ASSUME_FCNTL64]: Likewise.
69803         * sysdeps/unix/sysv/linux/kernel-features.h
69804         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
69805         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
69806         Make code unconditional.
69807         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69808         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
69810         [__NR_vfork]: Make code unconditional.
69811         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69812         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
69814         [__NR_vfork]: Make code unconditional.
69815         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
69816         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
69818 2012-08-01  Roland McGrath  <roland@hack.frob.com>
69820         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
69821         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
69823         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69824         Define mkstemp64 as an alias.
69825         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69826         Define mkstemps64 as an alias.
69827         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69828         Define mkostemp64 as an alias.
69829         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
69830         Define mkostemps64 as an alias.
69831         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
69832         Conditionalize body on this.
69833         * misc/mkostemp64.c: Likewise.
69834         * misc/mkostemps64.c: Likewise.
69835         * misc/mkstemps64.c: Likewise.
69836         * sysdeps/wordsize-64/mkstemp64.c: File removed.
69837         * sysdeps/wordsize-64/mkostemp64.c: File removed.
69838         * sysdeps/wordsize-64/mkostemp.c: File removed.
69839         * sysdeps/wordsize-64/mkstemp.c: File removed.
69840         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
69841         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
69842         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
69843         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
69845         [BZ #14138]
69846         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
69847         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
69848         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
69849         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
69851         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
69852         compat_symbol macros from <shlib-compat.h> rather than the underlying
69853         default_symbol_version and symbol_version macros, so that DEFAULT
69854         lines in shlib-versions are respected.
69855         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
69857 2012-08-01  Florian Weimer  <fweimer@redhat.com>
69859         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
69860         Declare with warn_unused_result.
69861         (setgid, setregid, setegid, setresgid): Likewise.
69862         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
69863         Likewise.
69864         * WUR-REPORT: Remove set*id functions.
69866 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
69868         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
69870 2012-07-31  Roland McGrath  <roland@hack.frob.com>
69872         [BZ #10191]
69873         * include/sys/socket.h (__libc_accept, __libc_accept4):
69874         Add attribute_hidden.
69875         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
69877         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
69878         use of PTR_MANGLE.
69879         * inet/getnetgrent_r.c (setup): Likewise.
69881         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
69883 2012-07-31  David S. Miller  <davem@davemloft.net>
69885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69887 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
69889         [BZ #13629]
69890         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
69891         value between 1.0 and 2.0 and smaller part has absolute value less
69892         than 1.0.
69893         * math/s_clog10.c (__clog10): Likewise.
69894         * math/s_clog10f.c (__clog10f): Likewise.
69895         * math/s_clog10l.c (__clog10l): Likewise.
69896         * math/s_clogf.c (__clogf): Likewise.
69897         * math/s_clogl.c (__clogl): Likewise.
69898         * math/libm-test.inc (clog_test): Add more tests.
69899         (clog10_test): Likewise.
69900         * sysdeps/i386/fpu/libm-test-ulps: Update.
69901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69903 2012-07-31  Florian Weimer  <fweimer@redhat.com>
69905         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
69906         Exit with zero in case no suitable GID is found, and write a
69907         message to standard error.
69909 2012-07-30  Roland McGrath  <roland@hack.frob.com>
69911         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
69912         rather than to 1.
69913         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
69914         (MAXPATHLEN): Removed.
69915         (NOGROUP, NODEV): New macros.
69916         (setbit, clrbit, isset, isclr): New macros.
69917         (howmany, roundup, powerof2): New macros.
69918         (DEV_BSIZE): New macro.
69920         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
69921         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
69923         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
69924         definition on [!__NO_LONG_DOUBLE_MATH].
69926         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
69927         PTR_MANGLE and PTR_DEMANGLE.
69929         * socket/accept4.c (accept4): Rename to __libc_accept4.
69930         Define accept4 as a weak alias.
69932         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
69933         on [_DIRENT_HAVE_D_TYPE].
69934         * io/ftw.c (ftw_dir): Likewise.
69936         * io/xmknod.c (__xmknod): Don't check PATH for being null.
69938         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
69940         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
69941         Use the BSD numbers rather than the arbitrary ones we had.
69942         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
69943         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
69944         (SIGXCPU, SIGXFSZ): New macros.
69945         (_NSIG): Now 32.
69947         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
69948         initializer on [_LIBC_REENTRANT].
69950         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
69951         definitions inside [_POSIX_MAPPED_FILES].
69953         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
69955         * dirent/opendir.c: Include <fcntl.h>.
69957         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
69958         (__libc_getspecific): Likewise.
69959         (__libc_key_create): Likewise.
69961         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
69962         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
69963         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
69964         (tmpfile64): Define as alias.
69965         * sysdeps/wordsize-64/tmpfile.c: File removed.
69966         * sysdeps/wordsize-64/tmpfile64.c: File removed.
69967         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
69968         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
69970         * stdio-common/vfscanf.c: Include <stdbool.h>.
69971         * nss/makedb.c: Likewise.
69972         * stdio-common/_i18n_number.h: Likewise.
69973         * argp/argp-help.c: Likewise.
69974         * posix/wordexp.c: Likewise.
69975         * sysdeps/posix/spawni.c: Likewise.
69976         * nss/nss_files/files-initgroups.c: Likewise.
69977         * stdio-common/reg-modifier.c: Include <stdlib.h>.
69978         * nss/nss_files/files-initgroups.c: Likewise.
69979         * nss/nss_db/db-netgrp.c: Likewise.
69980         * nss/nss_db/db-initgroups.c: Likewise.
69981         * io/fchmodat.c: Include <sys/stat.h>.
69983         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
69984         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
69986         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
69987         [HAVE_MMAP].
69989         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
69990         Add multiple inclusion protection.
69992 2012-07-27  David S. Miller  <davem@davemloft.net>
69994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69996 2012-07-27  Gary Benson  <gbenson@redhat.com>
69998         [BZ #14298]
69999         * elf/rtld.c: Include <stap-probe.h>.
70000         (dl_main): Added static probes "init_start" and "init_complete".
70001         * elf/dl-load.c: Include <stap-probe.h>.
70002         (lose): Take new parameter "nsid".
70003         Added static probe "map_failed".
70004         (_dl_map_object_from_fd): Pass namespace id to lose.
70005         Added static probe "map_start".
70006         (open_verify): Pass namespace id to lose.
70007         * elf/dl-open.c: Include <stap-probe.h>.
70008         (dl_open_worker) Added static probes "map_complete", "reloc_start"
70009         and "reloc_complete".
70010         * elf/dl-close.c: Include <stap-probe.h>.
70011         (_dl_close_worker): Added static probes "unmap_start" and
70012         "unmap_complete".
70013         * elf/rtld-debugger-interface.txt: New file documenting the above.
70015 2012-07-26  Roland McGrath  <roland@hack.frob.com>
70017         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
70018         rather than a string variable.
70019         * sunrpc/rpc_main.c (h_output): Likewise.
70020         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
70022 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
70024         * inet/check_native.c: New file.
70026 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
70028         [BZ #13629]
70029         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
70030         if larger part has absolute value 1.0.
70031         * math/s_clog10.c (__clog10): Likewise.
70032         * math/s_clog10f.c (__clog10f): Likewise.
70033         * math/s_clog10l.c (__clog10l): Likewise.
70034         * math/s_clogf.c (__clogf): Likewise.
70035         * math/s_clogl.c (__clogl): Likewise.
70036         * math/libm-test.inc (clog_test): Add more tests.
70037         (clog10_test): Likewise.
70038         * sysdeps/i386/fpu/libm-test-ulps: Update.
70039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70041         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
70042         (pltexit): Likewise.
70043         (La_regs): Likewise.
70044         (La_retval): Likewise.
70045         (int_retval): Likewise.
70046         Update #error for removed macros to refer only to definitions in
70047         tst-audit.h.
70048         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
70049         macro.
70050         (pltexit): Likewise.
70051         (La_regs): Likewise.
70052         (La_retval): Likewise.
70053         (int_retval): Likewise.
70054         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
70055         macro.
70056         (pltexit): Likewise.
70057         (La_regs): Likewise.
70058         (La_retval): Likewise.
70059         (int_retval): Likewise.
70060         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
70061         macro.
70062         (pltexit): Likewise.
70063         (La_regs): Likewise.
70064         (La_retval): Likewise.
70065         (int_retval): Likewise.
70066         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
70067         macro.
70068         (pltexit): Likewise.
70069         (La_regs): Likewise.
70070         (La_retval): Likewise.
70071         (int_retval): Likewise.
70072         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
70073         macro.
70074         (pltexit): Likewise.
70075         (La_regs): Likewise.
70076         (La_retval): Likewise.
70077         (int_retval): Likewise.
70078         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
70079         macro.
70080         (pltexit): Likewise.
70081         (La_regs): Likewise.
70082         (La_retval): Likewise.
70083         (int_retval): Likewise.
70084         * sysdeps/generic/tst-audit.h: Update comment to refer only to
70085         macro definitions in tst-audit.h.
70086         * sysdeps/i386/tst-audit.h: New file.
70087         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
70088         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
70089         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
70090         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
70091         * sysdeps/sh/tst-audit.h: Likewise.
70092         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
70093         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
70094         * sysdeps/x86_64/tst-audit.h: Likewise.
70096 2012-07-26  Andreas Jaeger  <aj@suse.de>
70098         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
70099         ptrace.
70101         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
70102         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
70103         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
70104         PTRACE_O_MASK.
70105         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
70106         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
70107         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
70109         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
70110         value.
70112         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
70113         _sigsys.
70114         (si_call_addr, si_syscall, si_arch): Define new macro.
70115         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
70116         _sigsys.
70117         (si_call_addr, si_syscall, si_arch): Define new marcro.
70118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
70119         _sigsys.
70120         (si_call_addr, si_syscall, si_arch): Define new macro.
70121         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
70122         _sigsys.
70123         (si_call_addr, si_syscall, si_arch): Define new macro.
70125 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70127         [BZ #13717]
70128         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70129         Change to 2.4.21 where previously 2.4.1.
70130         * sysdeps/unix/sysv/linux/configure: Regenerated.
70131         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
70132         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
70133         Linux kernel version.
70134         (__ASSUME_STD_AUXV): Remove.
70135         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
70136         kernel version.
70137         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
70138         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
70139         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
70140         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
70141         (__ASSUME_NETLINK_SUPPORT): Likewise.
70142         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
70143         (__no_netlink_support): Remove conditional definition.
70144         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
70145         Remove.
70146         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70147         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
70148         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
70149         (if_nameindex_ioctl): Remove.
70150         (if_nameindex_netlink): Do not handle __no_netlink_support.
70151         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70152         code.
70153         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
70154         Remove conditional code.
70155         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
70156         code.
70157         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
70158         unconditional.
70159         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
70160         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
70161         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
70162         Remove.
70163         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
70164         [!__ASSUME_STD_AUXV]: Remove conditional code.
70165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
70166         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
70167         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
70168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
70169         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
70170         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70171         code.
70172         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
70174         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
70175         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70176         conditional code.
70177         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
70178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
70179         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
70180         code.
70181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
70182         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
70183         conditional code.
70184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
70185         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70186         code unconditional.
70187         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70188         conditional code.
70189         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70190         unconditional.
70191         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70192         conditional code.
70193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70194         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70195         unconditional.
70196         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70197         conditional code.
70198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
70199         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70200         code unconditional.
70201         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70202         conditional code.
70203         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70204         unconditional.
70205         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70206         conditional code.
70207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
70208         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
70209         code unconditional.
70210         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70211         conditional code.
70212         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
70213         unconditional.
70214         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
70215         conditional code.
70217 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
70219         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
70220         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
70221         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
70222         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
70223         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
70224         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
70225         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
70226         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
70227         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
70228         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
70229         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
70230         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
70231         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
70232         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
70233         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
70234         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
70235         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
70236         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
70237         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
70238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
70239         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
70240         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
70241         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70243 2012-07-25  Florian Weimer  <fweimer@redhat.com>
70245         * Versions.def: Add GLIBC_2.17.
70246         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
70247         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
70248         Introduce __libc_secure_getenv.
70249         * stdlib/Versions (2.17): Add secure_getenv
70250         (GLIBC_PRIVATE): Add __libc_secure_getenv.
70251         * stdlib/secure-getenv.c: Rename __secure_getenv to
70252         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
70253         symbol __secure_getenv for GLIBC_2.0.
70254         * stdlib/tst-secure-getenv.c: New.
70255         * stdlib/Makefile (tests): Add testcase.
70256         * manual/startup.texi (Environment Access): Document
70257         secure_getenv.
70258         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
70259         __libc_secure_getenv.
70260         * inet/ruserpass.c (ruserpass): Likewise.
70261         * malloc/mtrace.c (mtrace): Likewise.
70262         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
70263         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
70264         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
70265         * sysdeps/posix/tempname.c: Likewise.  Evaluate
70266         HAVE_SECURE_GETENV.
70267         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
70268         __secure_getenv to __libc_secure_getenv.
70269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
70270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70271         Likewise.
70272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70273         Likewise.
70274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70282 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
70284         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
70285         (struct La_i86_retval): Likewise.
70286         (struct La_x86_64_regs): Likewise.
70287         (struct La_x86_64_retval): Likewise.
70288         (struct La_x32_regs): Likewise.
70289         (struct La_x32_retval): Likewise.
70290         (struct La_ppc32_regs): Likewise.
70291         (struct La_ppc32_retval): Likewise.
70292         (struct La_ppc64_regs): Likewise.
70293         (struct La_ppc64_retval): Likewise.
70294         (struct La_sh_regs): Likewise.
70295         (struct La_sh_retval): Likewise.
70296         (struct La_s390_32_regs): Likewise.
70297         (struct La_s390_32_retval): Likewise.
70298         (struct La_s390_64_regs): Likewise.
70299         (struct La_s390_64_retval): Likewise.
70300         (struct La_sparc32_regs): Likewise.
70301         (struct La_sparc32_retval): Likewise.
70302         (struct La_sparc64_regs): Likewise.
70303         (struct La_sparc64_retval): Likewise.
70304         (struct audit_ifaces): Remove architecture-specific pltenter and
70305         pltexit members.
70306         * sysdeps/i386/ldsodefs.h: New file.
70307         * sysdeps/powerpc/ldsodefs.h: Likewise.
70308         * sysdeps/s390/ldsodefs.h: Likewise.
70309         * sysdeps/sh/ldsodefs.h: Likewise.
70310         * sysdeps/sparc/ldsodefs.h: Likewise.
70311         * sysdeps/x86_64/ldsodefs.h: Likewise.
70313 2012-07-25  Marek Polacek  <polacek@redhat.com>
70315         [BZ #6808]
70316         * math/libm-test.inc (yn_test): Add another test.
70317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
70318         to ERANGE when the result is +-Inf.
70319         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
70320         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
70321         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
70322         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
70324 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
70326         * conform/data/time.h-data (NULL): Use macro-constant.  Require
70327         equal to 0.
70328         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
70329         clock_t.
70330         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
70332 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
70334         * configure.in <sysdeps resolving>: Correct printing
70335         Implies_before.
70336         * configure: Regenerate.
70338 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
70340         * math/w_ilogb.c: Include <limits.h>.
70341         * math/w_ilogbl.c: Likewise.
70343 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70345         * manual/lang.texi (__va_copy): Document primarily as ISO C99
70346         va_copy.  Document allowing for unavailable va_copy only as
70347         pre-C99 compatibility.
70348         * manual/string.texi (Copying and Concatenation): Use va_copy
70349         instead of __va_copy in concat example.
70351 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
70353         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
70354         (__sendto): Use create_address_port.  Initialize APORT and deallocate
70355         it if not null.
70357         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
70358         with O_NOLINK passed to __file_name_lookup.
70360         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
70361         with O_NOLINK passed to __file_name_lookup.
70363         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
70364         negative N or less than NGIDS.
70366         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
70367         type to string_t.  Set ERANGE as errno and return it if NAME is not big
70368         enough.  Use memcpy instead of strncpy.
70370 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
70372         * elf/Makefile (check-data): Remove.
70373         (localplt.data): New vpath directive.
70374         ($(objpfx)check-localplt.out): Use localplt.data from vpath
70375         instead of $(check-data).
70376         * scripts/data/localplt-generic.data: Move to ...
70377         * sysdeps/generic/localplt.data: ... here.
70378         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
70379         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
70380         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
70381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
70382         ... here.
70383         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
70384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
70385         ... here.
70386         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
70387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
70388         ... here.
70389         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
70390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
70391         ... here.
70392         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
70393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
70394         ... here.
70395         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
70396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
70397         ... here.
70399 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70401         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
70402         PPC32 and PPC64 files.
70403         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
70404         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
70406 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70408         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
70409         __makecontext_ret to ...
70410         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
70411         ... here and call exit if uc_link is NULL.  New file.
70412         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
70413         __makecontext_ret.S.
70414         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
70415         __makecontext_ret to ...
70416         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
70417         ... here and call exit if uc_link is NULL.  New file.
70418         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
70419         __makecontext_ret.S.
70421 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70423         * elf/elf.h (R_390_IRELATIVE): New definition.
70424         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
70425         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
70426         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
70427         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
70428         (elf_machine_lazy_rel): Likewise.
70429         * sysdeps/s390/dl-irel.h: New file.
70430         * sysdeps/s390/s390-64/memcpy.S: New asm code.
70431         * sysdeps/s390/s390-64/memset.S: New asm code.
70432         * sysdeps/s390/s390-64/memcmp.S: New asm code.
70433         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
70434         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
70435         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
70436         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
70437         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
70438         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
70439         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
70440         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
70441         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
70442         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
70443         * sysdeps/s390/s390-32/memcpy.S: New asm code.
70444         * sysdeps/s390/s390-32/memset.S: New asm code.
70445         * sysdeps/s390/s390-32/memcmp.S: New asm code.
70447 2012-07-17  Marek Polacek  <polacek@redhat.com>
70449         [BZ #14349]
70450         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
70451         * sysdeps/s390/s390-64/configure.in: Likewise.
70452         * sysdeps/sparc/configure.in: Likewise.
70453         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
70454         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
70455         * sysdeps/i386/configure.in: Likewise.
70456         * sysdeps/x86_64/configure.in: Likewise.
70457         * sysdeps/sh/configure.in: Likewise.
70458         * sysdeps/s390/s390-32/configure: Regenerated.
70459         * sysdeps/s390/s390-64/configure: Likewise.
70460         * sysdeps/x86_64/configure: Likewise.
70461         * sysdeps/sh/configure: Likewise.
70462         * sysdeps/powerpc/powerpc64/configure: Likewise.
70463         * sysdeps/powerpc/powerpc32/configure: Likewise.
70464         * sysdeps/sparc/configure: Likewise.
70465         * sysdeps/i386/configure: Likewise.
70467         * elf/dl-open.c: Comment fixes.
70469 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
70471         * Makefile [CXX] (check-data): Remove.
70472         [CXX] (c++-types.data): New vpath directive.
70473         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
70474         vpath.  Do not allow for C++ type data being missing.
70475         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
70476         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
70477         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
70478         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
70479         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
70480         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
70481         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
70482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
70483         ... here.
70484         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
70485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
70486         ... here.
70487         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
70488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
70489         ... here.
70490         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
70491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
70492         ... here.
70493         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
70494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
70495         ... here.
70496         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
70497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
70498         ... here.
70499         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
70500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
70501         ... here.
70502         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
70503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
70505         * elf/tls-macros.h (TLS_LE): Move architecture-specific
70506         definitions to architecture-specific files.
70507         (TLS_IE): Likewise.
70508         (TLS_LD): Likewise.
70509         (TLS_GD): Likewise.
70510         * sysdeps/i386/tls-macros.h: New file.
70511         * sysdeps/powerpc/tls-macros.h: Likewise.
70512         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
70513         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
70514         * sysdeps/sh/tls-macros.h: Likewise.
70515         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
70516         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
70517         * sysdeps/x86_64/tls-macros.h: Likewise.
70519 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70521         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
70522         zero value for regular exit case.
70524         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
70525         (__start_context): Preserve zero value for regular exit case.
70527 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
70528             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70530         * manual/setjmp.texi (setcontext): Clarify normal process
70531         termination when uc_link is the null pointer.
70532         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
70533         exit call.
70535 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
70537         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
70538         preprocessor.  Test for each exception mask separately.
70540 2012-07-16  Andreas Jaeger  <aj@suse.de>
70542         * po/ru.po: Update from translation team.
70544 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
70546         * conform/data/string.h-data (NULL): Use macro-constant.  Require
70547         equal to 0.
70548         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70549         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70550         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
70551         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
70552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70554 2012-07-13  Andreas Jaeger  <aj@suse.de>
70556         * po/fr.po: Update from translation team.
70558 2012-07-12  Marek Polacek  <polacek@redhat.com>
70560         [BZ #14173]
70561         * math/libm-test.inc (yn_test): Add test for BZ #14173.
70562         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
70563         loop condition.
70565 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
70567         [BZ #13717]
70568         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70569         Change to 2.4.1 where previously 2.4.0.
70570         * sysdeps/unix/sysv/linux/configure: Regenerated.
70571         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
70572         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
70573         version.
70574         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
70575         (__ASSUME_AT_CLKTCK): Remove.
70576         (__ASSUME_AT_PAGESIZE): Likewise.
70577         (__ASSUME_AT_XID): Likewise.
70578         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
70579         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
70580         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
70581         unconditionally.
70582         (HAVE_AUX_PAGESIZE): Likewise.
70583         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
70584         [__ASSUME_AT_CLKTCK]: Make code unconditional.
70585         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
70587 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
70589         [BZ #14307]
70590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
70591         the temporary buffer used to invoke __gethostbyname2_r,
70592         __gethostbyaddr_r and gethostbyname4_r to make room for struct
70593         host_data / struct gaih_addrtuple.
70594         * resolv/nss_dns/dns-host.c (global scope): Move definition of
70595         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
70596         header file nss/nsswitch.h.
70597         * nss/nsswitch.h (global scope): Add definition of implementation
70598         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
70599         resolv/nss_dns/dns-host.c).
70601 2012-07-11  Andreas Jaeger  <aj@suse.de>
70603         * po/fr.po: Update from translation team.
70605         * po/sv.po: Update from translation team
70606         * po/fr.po: Another update from translation team.
70608 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70610         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
70611         for subnormals or multiply small sinh result by itself.
70612         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70615 2012-07-11  David S. Miller  <davem@davemloft.net>
70617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70619 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
70621         [BZ #14347]
70622         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
70623         (INTERNAL_MARK): Shift it here.
70625 2012-07-10  Marek Polacek  <polacek@redhat.com>
70627         [BZ #14151]
70628         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
70629         libc_cv_asm_global_directive with .globl.
70630         * configure: Regenerated.
70631         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
70632         with .globl.
70633         * sysdeps/i386/configure: Regenerated.
70634         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
70635         with .globl.
70636         * sysdeps/x86_64/configure: Regenerated.
70637         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
70638         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
70639         * elf/tst-unique2mod2.c: Likewise.
70640         * elf/tst-unique2mod1.c: Likewise.
70641         * elf/tst-unique1mod2.c: Likewise.
70642         * elf/tst-unique1mod1.c: Likewise.
70643         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70644         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70645         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70646         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70647         * sysdeps/mach/sysdep.h: Likewise.
70648         * sysdeps/i386/sysdep.h: Likewise.
70649         * sysdeps/i386/i386-mcount.S: Likewise.
70650         * sysdeps/x86_64/_mcount.S: Likewise.
70651         * sysdeps/x86_64/sysdep.h: Likewise.
70652         * sysdeps/sh/_mcount.S: Likewise.
70653         * sysdeps/sh/sysdep.h: Likewise.
70654         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
70655         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
70656         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
70657         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70658         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
70659         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
70660         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
70661         * locale/localeinfo.h: Likewise.
70662         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
70663         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
70665 2012-07-09  Roland McGrath  <roland@hack.frob.com>
70667         [BZ #14336]
70668         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
70669         system".
70670         * manual/message.texi (The Uniforum approach): Likewise.
70671         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
70672         (glibc iconv Implementation): Likewise.
70674 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
70676         [BZ #14337]
70677         * math/s_clog.c (__clog): Avoid scaling a value down where that
70678         could result in underflow.
70679         * math/s_clog10.c (__clog10): Likewise.
70680         * math/s_clog10f.c (__clog10f): Likewise.
70681         * math/s_clog10l.c (__clog10l): Likewise.
70682         * math/s_clogf.c (__clogf): Likewise.
70683         * math/s_clogl.c (__clogl): Likewise.
70684         * math/libm-test.inc (clog_test): Add more tests.
70685         (clog10_test): Likewise.
70686         * sysdeps/i386/fpu/libm-test-ulps: Update.
70687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70689 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
70691         [BZ #14283]
70692         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
70693         by 7 not 8 to examine high bit of fractional part.
70695         [BZ #14042]
70696         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
70697         for call to __mcount_internal.
70698         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
70699         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
70700         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
70702 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
70704         [BZ #14154]
70705         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
70706         approximation for values within 0x1p-13f of an odd multiple of
70707         pi/4.
70708         * math/libm-test.inc (tan_test): Do not allow spurious underflow
70709         exception.  Add more tests.
70710         * sysdeps/i386/fpu/libm-test-ulps: Update.
70712         [BZ #6778]
70713         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
70714         inputs and return -1 for them.  Do not check for +Inf in case not
70715         reachable for +Inf.
70716         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
70717         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
70718         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70719         and return -1 for them.  Do not check for +Inf in case not
70720         reachable for +Inf.
70721         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
70722         define.
70723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
70724         and return -1 for them.  Do not check for +Inf in case not
70725         reachable for +Inf.
70726         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
70727         spurious underflow.
70728         * sysdeps/i386/fpu/libm-test-ulps: Update.
70729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70731 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
70733         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70735 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
70737         [BZ #14157]
70738         [BZ #14331]
70739         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
70740         could result in spurious underflow.  Scale down values above
70741         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
70742         * math/s_csqrtf.c (__csqrtf): Likewise.
70743         * math/s_csqrtl.c (__csqrtl): Likewise.
70744         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
70745         spurious underflow.
70746         * sysdeps/i386/fpu/libm-test-ulps: Update.
70747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70749 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
70751         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
70752         xopen-msg.sed.
70753         * catgets/xopen-msg.awk: New file.
70754         * catgets/xopen-msg.sed: Removed.
70756         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
70757         po2text.sed.
70758         * intl/po2test.awk: New file.
70759         * intl/po2test.sed: Removed.
70761 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
70763         [BZ #14328]
70764         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
70765         or multiply small sinh result by itself.
70766         * math/s_ctanf.c (__ctanf): Likewise.
70767         * math/s_ctanh.c (__ctanh): Likewise.
70768         * math/s_ctanhf.c (__ctanhf): Likewise.
70769         * math/s_ctanhl.c (__ctanhl): Likewise.
70770         * math/s_ctanl.c (__ctanl): Likewise.
70771         * math/libm-test.inc (ctan_test_tonearest): New function.
70772         (ctan_test_towardzero): Likewise.
70773         (ctan_test_downward): Likewise.
70774         (ctan_test_upward): Likewise.
70775         (ctanh_test_tonearest): Likewise.
70776         (ctanh_test_towardzero): Likewise.
70777         (ctanh_test_downward): Likewise.
70778         (ctanh_test_upward): Likewise.
70779         (main): Call these new functions.
70780         * sysdeps/i386/fpu/libm-test-ulps: Update.
70781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70783 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
70785         * .gitignore: Delete /ports entry.
70787 2012-07-03  Andreas Jaeger  <aj@suse.de>
70789         * po/bg.po: Update from translation team.
70790         * po/cs.po: Likewise.
70791         * po/de.po: Likewise.
70792         * po/hr.po: Likewise.
70793         * po/nl.pl: Likewise.
70794         * po/pl.po: Likewise.
70795         * po/vi.po: Likewise.
70797 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
70799         * Makeconfig [!+link] (+link-before-libc): New variable.
70800         [!+link] (+link-after-libc): Likewise.
70801         [!+link] (+link-tests): Likewise.
70802         [!+link] (+link): Define in terms of $(+link-before-libc) and
70803         $(+link-after-libc).
70804         [!+link-static] (+link-static-before-libc): New variable.
70805         [!+link-static] (+link-static-after-libc): Likewise.
70806         [!+link-static] (+link-static-tests): Likewise.
70807         [!+link-static] (+link-static): Define in terms of
70808         $(+link-static-before-libc) and $(+link-static-after-libc).
70809         [build-shared] (link-libc-before-gnulib): New variable.
70810         [build-shared] (link-libc-tests): Likewise.
70811         [build-shared] (link-libc): Define in terms of
70812         $(link-libc-before-gnulib).
70813         [!build-shared] (link-libc-tests): New variable.
70814         (link-libc-static-tests): New variable.
70815         [!gnulib] (gnulib-arch): New variable.
70816         [!gnulib] (gnulib-tests): Likewise.
70817         [!gnulib] (static-gnulib-arch): Likewise.
70818         [!gnulib] (static-gnulib-tests): Likewise.
70819         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
70820         Define with "=" instead of ":=".
70821         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
70822         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
70823         * Rules (binaries-all-notests): New variable.
70824         (binaries-all-tests): Likewise.
70825         (binaries-static-notests): Likewise.
70826         (binaries-static-tests): Likewise.
70827         (binaries-all): Define using $(binaries-all-notests) and
70828         $(binaries-all-tests).
70829         (binaries-static): Define using $(binaries-static-notests) and
70830         $(binaries-static-tests).
70831         (binaries-shared-tests): New variable.
70832         (binaries-shared-notests): Likewise.
70833         (binaries-shared): Remove variable.
70834         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
70835         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
70836         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
70837         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
70838         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
70839         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
70840         * elf/Makefile (sln-modules): New variable.
70841         (extra-objs): Add $(sln-modules:=.o).
70842         (ldconfig-modules): Add static-stubs.
70843         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
70844         * elf/static-stubs.c: New file.
70846         [BZ #14283]
70847         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
70848         by 7 not 8 to examine high bit of fractional part.  Use volatile
70849         variables when splitting into final array of floats if
70850         __FLT_EVAL_METHOD__ != 0.
70851         * math/libm-test.inc (cos_test): Add another test.
70852         (sin_test): Likewise.
70853         * sysdeps/i386/fpu/libm-test-ulps: Update.
70855         [BZ #14273]
70856         * math/libm-test.inc (cosh_test): Add more tests.
70858         * version.h (RELEASE): Set to "development".
70859         (VERSION): Set to "2.16.90".
70861 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
70863         * NEWS: Update copyright. Remove last-updated date.
70864         Mention math library bug fixes and timezone data changes.
70865         * README: Mention GNU/Hurd, x32, and HPPA support status.
70867 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
70869         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
70871 2012-06-27  Andreas Jaeger  <aj@suse.de>
70873         * manual/contrib.texi (Contributors): Add Samuel Thibault.
70875 2012-06-25  Andreas Jaeger  <aj@suse.de>
70877         * sysdeps/s390/fpu/libm-test-ulps: Update.
70879 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
70880             Thomas Schwinge  <thomas@codesourcery.com>
70882         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
70883         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
70884         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
70885         fanotify_mark.
70887 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
70889         * sysdeps/mach/start.c: Remove file.
70890         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
70891         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
70892         * sysdeps/sh/init-first.c: Likewise.
70894         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
70895         registers for frame unwinding purposes, add CFI directives.
70896         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70897         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
70898         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
70899         Likewise.
70901         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
70902         __fortify_fail returning.
70903         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
70905         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
70906         sysdeps/sh/____longjmp_chk.S.
70907         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
70908         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
70909         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
70910         (gen-as-const-headers): Append sigaltstack-offsets.sym.
70912         * sysdeps/sh/abort-instr.h: New file.
70913         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
70914         process in case exit returns.
70916         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
70917         initialize the GOT register before use.
70919         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
70920         calculation of ARGC > 4.
70922         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
70923         meaningful names to some local labels.
70925 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70926             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70928         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
70929         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
70930         (__arch_compare_and_exchange_val_16_acq): Likewise.
70931         (__arch_compare_and_exchange_val_32_acq): Likewise.
70932         (atomic_exchange_and_add): Fix gUSA sequence.
70933         (atomic_add): Likewise.
70934         (atomic_add_negative): Likewise.
70935         (atomic_add_zero): Likewise.
70936         (atomic_bit_test_set): Likewise.
70938 2012-06-22  Andreas Schwab  <schwab@redhat.com>
70940         [BZ #13579]
70941         * include/link.h (struct link_map): Add l_free_initfini.
70942         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
70943         l_initfini.
70944         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
70945         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
70946         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
70947         set.
70949 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
70951         * configure.in: Use AC_LANG_SOURCE.
70952         * configure: Regenerate.
70954 2012-06-22  Roland McGrath  <roland@hack.frob.com>
70956         * configure.in (libc_cv_localstatedir): New substituted variable.
70957         * configure: Regenerated.
70958         * config.make.in (localstatedir): New variable, substituted from
70959         libc_cv_localstatedir.
70960         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
70961         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
70962         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
70963         * sysdeps/gnu/configure: Regenerated.
70965 2012-06-21  Jeff Law  <law@redhat.com>
70967         [BZ #14277]
70968         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
70969         free.  Simplify list management for _LIBC case.
70971 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
70973         [BZ #14273]
70974         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
70975         Clear sign bit of 64-bit integer value before comparing against
70976         overflow value.
70978         * sysdeps/mach/configure: Regenerated.
70980 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
70982         [BZ #14278]
70983         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
70985 2012-06-21  Jeff Law  <law@redhat.com>
70987         [BZ #13882]
70988         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
70989         uint16_t for elements in the "seen" array to avoid char overflows.
70990         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70991         * elf/dl-open.c (dl_open_worker): Likewise.
70993 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
70995         * scripts/list-sources.sh: Scan PORTS for translations.
70996         * po/libc.pot: Regenerated.
70998 2012-06-21  Andreas Jaeger  <aj@suse.de>
71000         [BZ #12194]
71001         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
71002         warning.
71003         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
71004         * bits/byteswap-16.h (__bswap_16): Likewise.
71005         * bits/byteswap.h (__bswap_constant_16): Likewise.
71007 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
71009         [BZ #14117]
71010         * sysdeps/i386/fpu_control.h: Removed.
71011         * sysdeps/x86_64/fpu_control.h: Moved to ...
71012         * sysdeps/x86/fpu_control.h: Here.
71014         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
71015         (_FPU_SETCW): Likewise.
71017 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
71019         [BZ #14117]
71020         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
71021         * sysdeps/x86/fpu/bits/mathinline.h: This.
71022         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
71024         [BZ #14050]
71025         [BZ #14117]
71026         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
71027         functions if __x86_64__ is defined.
71029 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
71031         * string/endian.h: Add !__ASSEMBLER__ condition for including
71032         conversion interfaces.
71034 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
71036         [BZ #14241]
71037         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
71038         of ABS(x) in calculating zero to negative powers other than odd
71039         integers.
71040         * math/libm-test.inc (pow_test): Add more tests.
71042 2012-06-15  Andreas Jaeger  <aj@suse.de>
71044         * manual/contrib.texi (Contributors): Update entry of Liubov
71045         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
71046         Machado Filho.
71048 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
71050         * string/string.h: Add __wur to GNU version of strerror_r.
71052 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
71054         [BZ #14229]
71055         * string/Makefile (tests): Add tst-strtok_r.
71056         * string/tst-strtok_r.c: New file.
71057         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
71058         RAX_LP/RDX_LP on SAVE_PTR.
71060 2012-06-14  Roland McGrath  <roland@hack.frob.com>
71062         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
71064 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
71066         * libm_test.inc (csqrt_test): Allow more spurious underflow
71067         exceptions.
71068         (j0_test): Likewise.
71069         (j1_test): Likewise.
71070         (y0_test): Likewise.
71071         (y1_test): Likewise.
71073 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
71075         * po/Makefile (libc.pot): Use UTF-8 charset.
71077 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
71079         [BZ #14210]
71080         Suppress sign-conversion warning from FD_SET.
71081         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
71082         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
71083         not unsigned long int.
71084         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
71086 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
71088         [BZ #14050]
71089         [BZ #14117]
71090         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
71091         __extern_always_inline instead of __extern_inline.
71092         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
71093         (__signbit): Likewise.
71094         (__signbitl): Support C++ namespace.
71095         (lrintf): New inline function.
71096         (lrint): Likewise.
71097         (llrintf): Likewise.
71098         (llrint): Likewise.
71099         (fmaxf): Likewise.
71100         (fmax): Likewise.
71101         (fminf): Likewise.
71102         (fmin): Likewise.
71103         (rint): Likewise.
71104         (rintf): Likewise.
71105         (ceil): Likewise.
71106         (ceilf): Likewise.
71107         (floor): Likewise.
71108         (floorf): Likewise.
71109         (nearbyint): Likewise.
71110         (nearbyintf): Likewise.
71112 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
71114         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
71115         non-default versions.
71117 2012-06-11  Roland McGrath  <roland@hack.frob.com>
71119         [BZ #14218]
71120         * manual/argp.texi (Argp): Reword argp_parse description slightly.
71122 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
71124         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
71125         (FE_UPWARD, FE_DOWNWARD): Don't define.
71126         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
71127         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
71130         reading it.
71131         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71132         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71134 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71136         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71137         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
71138         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
71139         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
71141 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
71143         [BZ #14117]
71144         * sysdeps/i386/fpu/bits/fenv.h: Removed.
71145         * sysdeps/i386/fpu/Implies: New file.
71146         * sysdeps/x86_64/fpu/Implies: Likewise.
71147         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
71148         * sysdeps/x86/fpu/bits/fenv.h: This.
71150         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
71151         __SSE_MATH__.
71153 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71155         [BZ #14134]
71156         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
71157         character 0xffff that matches the last element of the
71158         conversion table.
71160 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
71163         fmodl commit.
71165 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
71168         values higher than 25.6283.
71170 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71172         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
71173         subnormal exponent extraction and add some __builtin_expect.
71174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
71175         Fix for subnormal mantissa calculation.
71177 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
71179         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
71180         cpu2 is -1 and errno is not ENOSYS.
71182 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
71184         [BZ #14117]
71185         * sysdeps/i386/i486/bits/string.h: Renamed to ...
71186         * sysdeps/x86/bits/string.h: This.
71187         * sysdeps/x86_64/bits/string.h: Removed.
71189         * sysdeps/i386/i486/bits/string.h: Define inline functions only
71190         if not compiling for x86-64, but compiling for >= i486.
71192         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
71193         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
71195         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
71196         New macro from Linux kernel 3.4.0.
71197         (FP_XSTATE_MAGIC2): Likewise.
71198         (FP_XSTATE_MAGIC2_SIZE): Likewise.
71199         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
71200         (struct _fpx_sw_bytes): New struct.
71201         (struct _xsave_hdr): Likewise.
71202         (struct _ymmh_state): Likewise.
71203         (struct _xstate): Likewise.
71205         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
71206         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
71207         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
71208         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
71209         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
71210         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
71212         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
71213         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
71214         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
71215         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
71216         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
71217         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
71219 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71221         [BZ #13743]
71222         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
71223         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
71224         (sysdep_headers): Include sys/platform/ppc.h.
71225         * sysdeps/powerpc/test-gettimebase.c: Test for
71226         __ppc_get_timebase() to catch future ISA opcode/insn changes.
71227         * manual/Makefile (appendices): Include platform.texi.
71228         * manual/contrib.texi (Contributors): Update @node pointers.
71229         * manual/maint.texi (Maintenance): Likewise.
71230         (Platform): New node.
71231         * manual/platform.texi: New file.  Document the new features.
71233 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71234             Jakub Jelinek  <jakub@redhat.com>
71236         [BZ #14188]
71237         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
71238         where __builtin_expect is unavailable.
71240 2012-06-03  David S. Miller  <davem@davemloft.net>
71242         * stdlib/longlong.h: Updated from GCC.
71244 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
71246         [BZ #14042]
71247         * sysdeps/powerpc/powerpc32/mcount.c: New file.
71248         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
71249         __mcount_internal.
71250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71251         (GLIBC_2.16): Likewise.
71253 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71255         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
71257 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
71260         (default-abi): New variable.
71261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
71262         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
71263         variable.
71264         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
71265         Likewise.
71266         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
71267         Likewise.
71268         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
71269         Likewise.
71271         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
71272         definition.  Document in comment.
71274 2012-06-01  David S. Miller  <davem@davemloft.net>
71276         * stdlib/longlong.h: Updated from GCC.
71278 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71280         [BZ #14117]
71281         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
71282         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
71283         sys/debugreg.h sys/io.h here.
71284         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
71285         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
71286         sys/io.h.
71287         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
71288         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
71289         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
71290         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
71291         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
71292         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
71294         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
71295         Define only if __x86_64__ is defined.
71297 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
71299         [BZ #14048]
71300         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
71301         Use int64_t for variable i.
71302         * math/libm-test.inc (fmod_test): Add more tests.
71304         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
71305         z computation is not scheduled after fetestexcept.
71306         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
71307         Use math_force_eval instead of asm to ensure calculation scheduled
71308         before exception test.
71309         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
71310         Ensure a1 + u.d computation is not scheduled after fetestexcept.
71312 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
71314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
71315         computation is not scheduled after fetestexcept.
71317 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
71319         [BZ #14117]
71320         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
71321         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
71323 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71325         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
71326         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71328 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71330         [BZ #14117]
71331         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
71332         <bits/wordsize.h>.
71333         (__WCHAR_MIN): Support __WORDSIZE == 64.
71334         (__WCHAR_MAX): Likewise.
71336         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
71337         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
71339         [BZ #14183]
71340         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
71341         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
71343         [BZ #14117]
71344         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
71345         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
71347         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
71348         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
71350         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
71351         Defined to 1 if __x86_64__ isn't defined.
71352         (_STAT_VER_LINUX_OLD): New.
71353         (st_atime): Remove duplicate.
71354         (st_mtime): Likewise.
71355         (st_ctime): Likewise.
71357 2012-05-31  David S. Miller  <davem@davemloft.net>
71359         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
71360         entries.
71362 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
71364         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
71365         gen-libm-test.pl.
71367         [BZ #14132]
71368         * elf/dl-reloc.c: Include <_itoa.h>.
71369         (_dl_reloc_bad_type): Remove use of INTUSE.
71370         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
71371         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
71372         * stdio-common/psiginfo.c (psiginfo): Likewise.
71373         * stdio-common/psignal.c (psignal): Likewise.
71374         * string/strsignal.c (strsignal): Likewise.
71375         * include/signal.h (_sys_siglist): Declare hidden proto.
71376         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
71377         INTVARDEF with libc_hidden_data_def.
71378         * stdio-common/itoa-udigits.c: Likewise.
71379         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
71380         (_itoa_lower_digits_internal): Remove declaration.
71381         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
71382         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
71383         (_sys_sigabbrev_internal): Remove aliases.
71384         (_sys_siglist): Define hidden alias.
71386 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
71388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71389         bits/sysctl.h.
71391 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
71393         [BZ #14117]
71394         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
71395         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
71397         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
71398         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
71399         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
71400         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
71401         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
71402         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
71404         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
71405         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
71406         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
71408         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
71409         with __addr.
71410         (insw): Likewise.
71411         (insl): Likewise.
71412         (outsb): Likewise.
71413         (outsw): Likewise.
71414         (outsl): Likewise.
71416         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
71417         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
71418         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
71420         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
71421         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
71422         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
71423         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
71424         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
71425         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71427         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
71428         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
71430         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
71431         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
71433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
71434         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
71435         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
71437         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
71438         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
71439         to ...
71440         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
71442         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
71443         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
71444         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
71446         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
71447         for x86-64.
71448         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
71450 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
71452         * math/math.h (M_El): Use two more decimal places.
71453         (M_LOG2El): Likewise.
71454         (M_LOG10El): Likewise.
71455         (M_LN2l): Likewise.
71456         (M_LN10l): Likewise.
71457         (M_PIl): Likewise.
71458         (M_PI_2l): Likewise.
71459         (M_PI_4l): Likewise.
71460         (M_1_PIl): Likewise.
71461         (M_2_PIl): Likewise.
71462         (M_2_SQRTPIl): Likewise.
71463         (M_SQRT2l): Likewise.
71464         (M_SQRT1_2l): Likewise.
71466 2012-05-31  David S. Miller  <davem@davemloft.net>
71468         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
71469         values between float registers.
71470         * sysdeps/sparc/sparc64/memset.S: Likewise.
71471         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71473 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
71475         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
71476         -D_FORTIFY_SOURCE=1.
71477         (CPPFLAGS-tst-longjmp_chk.c): Define.
71478         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
71479         (CPPFLAGS-tst-longjmp_chk2.c): Define.
71480         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71481         CFLAGS-tst-wchar-h.c.
71483 2012-05-31  Marek Polacek  <polacek@redhat.com>
71485         [BZ #14132]
71486         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71487         __endmntent_internal): Remove declaration.
71488         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
71489         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
71490         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
71492 2012-05-30  David S. Miller  <davem@davemloft.net>
71494         * sysdeps/sparc/sparc32/soft-fp/q_util.c
71495         (___Q_simulate_exceptions): Use real FP ops rather than writing
71496         into the %fsr.
71497         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
71498         Likewise.
71500 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71502         [BZ #14117]
71503         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
71504         * sysdeps/x86/bits/xtitypes.h: This.
71506         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
71507         * sysdeps/x86/bits/wordsize.h: This.
71509         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
71510         * sysdeps/x86/bits/huge_vall.h: This.
71512         * sysdeps/i386/bits/select.h: Removed.
71513         * sysdeps/x86_64/bits/select.h: Renamed to ...
71514         * sysdeps/x86/bits/select.h: This.
71516         * sysdeps/i386/bits/setjmp.h: Removed.
71517         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
71518         * sysdeps/x86/bits/setjmp.h: This.
71520         * sysdeps/i386/bits/mathdef.h: Removed.
71521         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
71522         * sysdeps/x86/bits/mathdef.h: This.
71524 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
71526         [BZ #14132]
71527         * include/sys/socket.h (__connect_internal)
71528         (__libc_sa_len_internal): Remove declaration.
71529         (__connect, __libc_sa_len): Declare hidden_proto.
71530         (SA_LEN): Remove use of INTUSE.
71531         * socket/connect.c: Add libc_hidden_def.
71532         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
71533         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
71534         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
71535         alias.
71536         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
71537         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
71538         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
71539         of adding _internal alias.
71541 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71543         [BZ #14117]
71544         * sysdeps/i386/bits/link.h: Removed.
71545         * sysdeps/i386/bits/linkmap.h: Likewise.
71546         * sysdeps/x86_64/bits/link.h: Renamed to ...
71547         * sysdeps/x86/bits/link.h: This.
71548         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
71549         * sysdeps/x86/bits/linkmap.h: This.
71551         * sysdeps/i386/bits/endian.h: Removed.
71552         * sysdeps/x86_64/bits/endian.h: Renamed to ...
71553         * sysdeps/x86/bits/endian.h: This.
71555         * sysdeps/i386/bits/byteswap.h: Removed.
71556         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71557         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
71558         * sysdeps/x86/bits/byteswap.h: This.
71559         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
71560         * sysdeps/x86/bits/byteswap-16.h: This.
71561         * sysdeps/i386/Implies: Add x86.
71562         * sysdeps/x86_64/Implies: Likewise.
71564 2012-05-30  David S. Miller  <davem@davemloft.net>
71566         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
71567         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
71568         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
71569         (FP_TRAPPING_EXCEPTIONS): Define.
71570         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
71571         (FP_TRAPPING_EXCEPTIONS): Define.
71572         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
71573         subnormals only when inexact has been signalled or underflow
71574         exceptions are enabled.
71575         (_FP_PACK_CANONICAL): Likewise.
71577 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71579         [BZ #14183]
71580         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
71581         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
71583 2012-05-30  Richard Henderson  <rth@twiddle.net>
71585         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
71586         with #ifndef NOT_IN_libc.
71588         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
71589         marked to avoid plt entry.
71591 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
71593         [BZ #14112]
71594         * Makeconfig (default-abi): New macro.
71595         (abi-includes): Likewise.
71596         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
71597         $(abi-$(default-abi)-lib-soname) for soname if defined.
71598         ($(common-objpfx)gnu/lib-names.stmp): Generate from
71599         abi-variants.
71600         * Makefile (installed-stubs): Likewise.
71601         * include/stubs-biarch.h: Removed.
71602         * scripts/lib-names.awk: Only handle one library at a time.
71603         * scripts/soversions.awk: Remove WORDSIZE support.
71604         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
71605         entries.
71606         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
71607         Removed.
71608         (syscall-list-default-condition): Likewise.
71609         (syscall-list-default-condition): Likewise.
71610         (syscall-list-includes): Likewise.
71611         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
71612         syscall-list-* with abi-*.  Handle undefined abi-variants.
71613         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
71614         * sysdeps/unix/sysv/linux/i386/Implies: New file.
71615         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
71616         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
71617         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71618         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
71619         Removed.
71620         (syscall-list-32-options): Likewise.
71621         (syscall-list-32-condition): Likewise.
71622         (syscall-list-64-options): Likewise.
71623         (syscall-list-64-condition): Likewise.
71624         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
71625         macro.
71626         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
71627         Renamed to ...
71628         (abi-*): This.
71629         (abi-64-ld-soname): New macro.
71630         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
71631         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
71632         Renamed to ...
71633         (abi-*): This.
71634         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
71635         * sysdeps/x86_64/x32/shlib-versions: Likewise.
71637 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
71639         * sysdeps/unix/sysv/linux/kernel-features.h
71640         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
71641         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
71642         include <kernel-features.h>.
71643         [!__NR_ftruncate64]: Remove conditional code.
71644         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71645         [__NR_ftruncate64]: Make code unconditional.
71646         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71647         * sysdeps/unix/sysv/linux/truncate64.c: Do not
71648         include <kernel-features.h>.
71649         [!__NR_ftruncate64]: Remove conditional code.
71650         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71651         [__NR_ftruncate64]: Make code unconditional.
71652         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
71654         include <kernel-features.h>.
71655         [!__NR_ftruncate64]: Remove conditional code.
71656         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71657         [__NR_ftruncate64]: Make code unconditional.
71658         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71660         include <kernel-features.h>.
71661         [!__NR_ftruncate64]: Remove conditional code.
71662         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71663         [__NR_ftruncate64]: Make code unconditional.
71664         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
71666         * configure.in (libc_cv_fpie): Weaken to a compile test using
71667         LIBC_TRY_CC_OPTION.
71668         * configure: Regenerated.
71670 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
71673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
71674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
71675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71676         Refreshed.
71677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
71678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
71679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
71680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
71681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
71682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71683         Refreshed.
71685 2012-05-27  David S. Miller  <davem@davemloft.net>
71687         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
71688         (___Q_zero): New.
71689         (__Q_simulate_exceptions): Return void.  Change to simulate
71690         exceptions by writing into the %fsr.
71691         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
71692         (__Qp_handle_exceptions): Likewise.
71693         (numbers): Delete.
71694         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
71695         __Qp_handle_exceptions.
71696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
71697         __Qp_handle_exceptions.
71698         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71699         as unused and give dummy FP_RND_NEAREST initializer.
71700         (FP_INHIBIT_RESULTS): Define.
71701         (___Q_simulate_exceptions): Update declaration.
71702         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
71703         formatting.
71704         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
71705         as unused and give dummy FP_RND_NEAREST initializer.
71706         (__Qp_handle_exceptions): Update declaration.
71707         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
71708         formatting.
71710 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
71712         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
71713         the temporary FPU control word.
71714         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
71715         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
71716         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
71717         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
71718         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
71719         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
71720         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
71721         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
71722         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
71723         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
71724         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71726 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
71729         fields.
71731 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
71733         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
71734         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
71735         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
71736         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
71737         Likewise.
71738         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
71739         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71740         Likewise.
71742 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
71744         * po/h.po: Update from translation team.
71746 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
71748         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
71750         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
71751         handling of denormals.
71752         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71753         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
71754         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71755         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71756         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
71758         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
71759         Likewise.
71761 2012-05-26  Marek Polacek  <polacek@redhat.com>
71763         [BZ #14152]
71764         * math/libm-test.inc (fma_test): Don't always expect underflow
71765         exception.
71767 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71769         [BZ #12416]
71770         * elf/tst-execstack.c: Include stackinfo.h.
71771         (do_test): Adjust test case to ensure that pthread_getattr_np
71772         behaviour remains the same after marking stack executable.
71774 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71776         * sysdeps/unix/sysv/linux/kernel-features.h
71777         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
71778         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
71779         kernel-features.h.
71780         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71781         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71782         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
71783         kernel-features.h.
71784         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
71785         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
71787 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
71789         * configure.in: Define the default includes to being none.
71790         * configure: Regenerated.
71792 2012-05-25  Roland McGrath  <roland@hack.frob.com>
71794         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
71795         * sysdeps/x86_64/setjmp.S: Likewise.
71796         * sysdeps/i386/bsd-setjmp.S: Likewise.
71797         * sysdeps/i386/bsd-_setjmp.S: Likewise.
71798         * sysdeps/i386/setjmp.S: Likewise.
71799         * sysdeps/i386/__longjmp.S: Likewise.
71800         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71801         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
71803         * include/stap-probe.h: New file.
71804         * configure.in: Handle --enable-systemtap.
71805         * configure: Regenerated.
71806         * config.h.in (USE_STAP_PROBE): New #undef.
71807         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
71808         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
71809         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
71811 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
71813         [BZ #13717]
71814         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71815         to 2.4.0 where earlier.
71816         * sysdeps/unix/sysv/linux/configure: Regenerated.
71817         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71818         <kernel-features.h>.
71819         [__ASSUME_32BITUIDS]: Make code unconditional.
71820         [!__ASSUME_32BITUIDS]: Remove conditional code.
71821         * sysdeps/unix/sysv/linux/i386/fchown.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/i386/fchownat.c (fchownat)
71826         [__ASSUME_32BITUIDS]: Make code unconditional.
71827         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
71828         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
71829         <kernel-features.h>.
71830         [__ASSUME_32BITUIDS]: Make code unconditional.
71831         [!__ASSUME_32BITUIDS]: Remove conditional code.
71832         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
71833         <kernel-features.h>.
71834         [__ASSUME_32BITUIDS]: Make code unconditional.
71835         [!__ASSUME_32BITUIDS]: Remove conditional code.
71836         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
71837         <kernel-features.h>.
71838         [__ASSUME_32BITUIDS]: Make code unconditional.
71839         [!__ASSUME_32BITUIDS]: Remove conditional code.
71840         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
71841         <kernel-features.h>.
71842         [__ASSUME_32BITUIDS]: Make code unconditional.
71843         [!__ASSUME_32BITUIDS]: Remove conditional code.
71844         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71845         <kernel-features.h>.
71846         [__ASSUME_32BITUIDS]: Make code unconditional.
71847         [!__ASSUME_32BITUIDS]: Remove conditional code.
71848         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71849         <kernel-features.h>.
71850         [__ASSUME_32BITUIDS]: Make code unconditional.
71851         [!__ASSUME_32BITUIDS]: Remove conditional code.
71852         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
71853         <kernel-features.h>.
71854         [__ASSUME_32BITUIDS]: Make code unconditional.
71855         [!__ASSUME_32BITUIDS]: Remove conditional code.
71856         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71857         <kernel-features.h>.
71858         [__ASSUME_32BITUIDS]: Make code unconditional.
71859         [!__ASSUME_32BITUIDS]: Remove conditional code.
71860         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71861         <kernel-features.h>.
71862         [__ASSUME_32BITUIDS]: Make code unconditional.
71863         [!__ASSUME_32BITUIDS]: Remove conditional code.
71864         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
71865         <kernel-features.h>.
71866         [__ASSUME_32BITUIDS]: Make code unconditional.
71867         [!__ASSUME_32BITUIDS]: Remove conditional code.
71868         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
71869         <kernel-features.h>.
71870         [__NR_setresgid] (__setresgid): Do not declare.
71871         [__ASSUME_32BITUIDS]: Make code unconditional.
71872         [!__ASSUME_32BITUIDS]: Remove conditional code.
71873         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
71874         <kernel-features.h>.
71875         [__NR_setresuid] (__setresuid): Do not declare.
71876         [__ASSUME_32BITUIDS]: Make code unconditional.
71877         [!__ASSUME_32BITUIDS]: Remove conditional code.
71878         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
71879         <kernel-features.h>.
71880         [__ASSUME_32BITUIDS]: Make code unconditional.
71881         [!__ASSUME_32BITUIDS]: Remove conditional code.
71882         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
71883         <kernel-features.h>.
71884         [__ASSUME_32BITUIDS]: Make code unconditional.
71885         [!__ASSUME_32BITUIDS]: Remove conditional code.
71886         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
71887         <kernel-features.h>.
71888         [__ASSUME_32BITUIDS]: Make code unconditional.
71889         [!__ASSUME_32BITUIDS]: Remove conditional code.
71890         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
71891         <kernel-features.h>.
71892         [__ASSUME_32BITUIDS]: Make code unconditional.
71893         [!__ASSUME_32BITUIDS]: Remove conditional code.
71894         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
71895         <kernel-features.h>.
71896         [__ASSUME_32BITUIDS]: Make code unconditional.
71897         [!__ASSUME_32BITUIDS]: Remove conditional code.
71898         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
71899         <kernel-features.h>.
71900         [__ASSUME_32BITUIDS]: Make code unconditional.
71901         [!__ASSUME_32BITUIDS]: Remove conditional code.
71902         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
71903         <kernel-features.h>.
71904         [__ASSUME_32BITUIDS]: Make code unconditional.
71905         [!__ASSUME_32BITUIDS]: Remove conditional code.
71906         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
71907         <kernel-features.h>.
71908         [__ASSUME_32BITUIDS]: Make code unconditional.
71909         [!__ASSUME_32BITUIDS]: Remove conditional code.
71910         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
71911         <kernel-features.h>.
71912         [__ASSUME_32BITUIDS]: Make code unconditional.
71913         [!__ASSUME_32BITUIDS]: Remove conditional code.
71914         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71915         <kernel-features.h>.
71916         [__ASSUME_32BITUIDS]: Make code unconditional.
71917         [!__ASSUME_32BITUIDS]: Remove conditional code.
71918         * sysdeps/unix/sysv/linux/kernel-features.h
71919         (__ASSUME_SETRESUID_SYSCALL): Remove.
71920         (__ASSUME_SETRESGID_SYSCALL): Likewise.
71921         (__ASSUME_32BITUIDS): Likewise.
71922         (__ASSUME_LDT_WORKS): Likewise.
71923         (__ASSUME_O_DIRECTORY): Likewise.
71924         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
71925         architecture but not kernel version.
71926         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
71927         (__ASSUME_MMAP2_SYSCALL): Likewise.
71928         (__ASSUME_STAT64_SYSCALL): Likewise.
71929         (__ASSUME_IPC64): Likewise.
71930         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
71931         <kernel-features.h>.
71932         [__ASSUME_32BITUIDS]: Make code unconditional.
71933         [!__ASSUME_32BITUIDS]: Remove conditional code.
71934         * sysdeps/unix/sysv/linux/opendir.c: Do not include
71935         <kernel-features.h>.
71936         [__ASSUME_O_DIRECTORY]: Make code unconditional.
71937         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
71938         132096]: Remove conditional code.
71939         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
71940         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71941         <kernel-features.h>.
71942         [__ASSUME_32BITUIDS]: Make code unconditional.
71943         [!__ASSUME_32BITUIDS]: Remove conditional code.
71944         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71945         <kernel-features.h>.
71946         [__ASSUME_32BITUIDS]: Make code unconditional.
71947         [!__ASSUME_32BITUIDS]: Remove conditional code.
71948         * sysdeps/unix/sysv/linux/setegid.c: Do not include
71949         <kernel-features.h>.
71950         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
71951         unconditional.
71952         (__setresgid): Do not declare.
71953         [__ASSUME_32BITUIDS]: Make code unconditional.
71954         [!__ASSUME_32BITUIDS]: Remove conditional code.
71955         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
71956         <kernel-features.h>.
71957         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
71958         unconditional.
71959         (__setresuid): Do not declare.
71960         [__ASSUME_32BITUIDS]: Make code unconditional.
71961         [!__ASSUME_32BITUIDS]: Remove conditional code.
71962         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71963         <kernel-features.h>.
71964         [__ASSUME_32BITUIDS]: Make code unconditional.
71965         [!__ASSUME_32BITUIDS]: Remove conditional code.
71966         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
71967         <kernel-features.h>.
71968         [__ASSUME_32BITUIDS]: Make code unconditional.
71969         [!__ASSUME_32BITUIDS]: Remove conditional code.
71971 2012-05-25  Richard Henderson  <rth@twiddle.net>
71973         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
71974         dl_hwcap to ifunc resolver.
71975         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
71976         elf_ifunc_invoke.
71977         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
71978         dl_hwcap to ifunc resolver.
71979         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
71981 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71983         [BZ #14153]
71984         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
71985         for |x| <= 2**-26, not 2**-57.
71986         * math/libm-test.inc (acos_test): Do not allow spurious underflow
71987         exception.
71989 2012-05-24  Jeff Law  <law@redhat.com>
71991         * stdio-common/Makefile (tests): Add bug25.
71992         * stdio-common/bug25.c: New test.
71994 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71996         [BZ #13576]
71997         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
71998         multiple of MALLOC_ALIGNMENT in size.
71999         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
72001 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72003         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
72004         Require >= 256.
72005         (FILENAME_MAX): Use macro-int-constant.
72006         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
72007         (_IOFBF): Use macro-int-constant.
72008         (_IOLBF): Likewise.
72009         (_IONBF): Likewise.
72010         (SEEK_CUR): Likewise.
72011         (SEEK_END): Likewise.
72012         (SEEK_SET): Likewise.
72013         (TMP_MAX): Likewise.
72014         (EOF): Use macro-int-constant.  Require < 0.
72015         (NULL): Use macro-constant.  Require == 0.
72016         (stdin): Require type to be FILE *.
72017         (stdout): Likewise.
72018         (stderr): Likewise.
72019         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
72020         macro-int-constant.
72021         (EXIT_SUCCESS): Likewise.
72022         (NULL): Use macro-constant.  Require == 0.
72023         (RAND_MAX): Use macro-int-constant.
72024         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
72025         [C99-based standards] (strtof): Require function.
72026         [C99-based standards] (strtold): Likewise.
72027         [C99-based standards] (strtoll): Likewise.
72028         [C99-based standards] (strtoull): Likewise.
72029         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72030         [ISO || ISO99 || ISO11] (limits.h): Likewise.
72031         [ISO || ISO99 || ISO11] (math.h): Likewise.
72032         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
72033         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72036 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
72038         [BZ #14132]
72039         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
72040         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
72041         * intl/dgettext.c (DCGETTEXT): Likewise.
72042         * intl/gettext.c (DCGETTEXT): Likewise.
72043         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
72044         * posix/regex_internal.h (gettext): Likewise.
72045         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
72046         Remove declaration.
72047         * include/argz.h (__argz_count_internal)
72048         (__argz_stringify_internal): Remove declaration.
72049         (__argz_count, __argz_stringify): Declare hidden proto.
72050         * intl/dcgettext.c: Remove use of INTDEF.
72051         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
72052         * string/argz-stringify.c: Likewise.
72053         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72054         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72055         Declare hidden proto.
72056         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
72057         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
72058         Declare hidden proto.
72059         * include/stdio.h (__asprintf_internal): Don't declare.
72060         (__asprintf): Don't define as macro.  Declare hidden proto.
72061         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
72062         (__fsetlocking): Declare hidden proto.
72063         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
72064         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
72065         hidden proto.
72066         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
72067         (_IO_setlinebuf): Remove use of INTUSE.
72068         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
72069         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
72070         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
72071         Remove declaration.
72072         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
72073         (_IO_do_flush): Remove use of INTUSE.
72074         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
72075         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
72076         (_IO_adjust_column, _IO_least_wmarker)
72077         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
72078         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
72079         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
72080         (_IO_default_doallocate, _IO_wdefault_doallocate)
72081         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
72082         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
72083         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
72084         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
72085         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
72086         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
72087         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
72088         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
72089         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
72090         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
72091         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
72092         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
72093         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
72094         proto.
72095         (_IO_flush_all_internal, _IO_adjust_column_internal)
72096         (_IO_default_uflow_internal, _IO_default_finish_internal)
72097         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
72098         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
72099         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
72100         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
72101         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
72102         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
72103         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
72104         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
72105         (_IO_file_close_internal, _IO_file_close_it_internal)
72106         (_IO_file_underflow_internal, _IO_file_overflow_internal)
72107         (_IO_file_init_internal, _IO_file_attach_internal)
72108         (_IO_file_fopen_internal, _IO_file_read_internal)
72109         (_IO_file_sync_internal, _IO_file_seek_internal)
72110         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
72111         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
72112         (_IO_str_underflow_internal, _IO_str_overflow_internal)
72113         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
72114         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
72115         (_IO_list_all_internal, _IO_link_in_internal)
72116         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
72117         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
72118         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
72119         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
72120         (_IO_do_write_internal, _IO_padn_internal)
72121         (_IO_getline_info_internal, _IO_getline_internal)
72122         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
72123         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
72124         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
72125         (_IO_vfscanf_internal, _IO_vfprintf_internal)
72126         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
72127         (_IO_init_internal, _IO_un_link_internal): Don't declare.
72128         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
72129         with libc_hidden_ver, remove use of INTUSE.
72130         * libio/genops.c: Likewise.
72131         * libio/freopen.c: Likewise.
72132         * libio/freopen64.c: Likewise.
72133         * libio/iofclose.c: Likewise.
72134         * libio/iofdopen.c: Likewise.
72135         * libio/iofflush.c: Likewise.
72136         * libio/iofflush_u.c: Likewise.
72137         * libio/iofgets.c: Likewise.
72138         * libio/iofgets_u.c: Likewise.
72139         * libio/iofopen.c: Likewise.
72140         * libio/iofopncook.c: Likewise.
72141         * libio/iofread.c: Likewise.
72142         * libio/iofread_u.c: Likewise.
72143         * libio/ioftell.c: Likewise.
72144         * libio/iofwrite.c: Likewise.
72145         * libio/iogetline.c: Likewise.
72146         * libio/iogets.c: Likewise.
72147         * libio/iogetwline.c: Likewise.
72148         * libio/iopadn.c: Likewise.
72149         * libio/iopopen.c: Likewise.
72150         * libio/ioseekoff.c: Likewise.
72151         * libio/ioseekpos.c: Likewise.
72152         * libio/iosetbuffer.c: Likewise.
72153         * libio/iosetvbuf.c: Likewise.
72154         * libio/ioungetc.c: Likewise.
72155         * libio/ioungetwc.c: Likewise.
72156         * libio/iovdprintf.c: Likewise.
72157         * libio/iovsprintf.c: Likewise.
72158         * libio/iovsscanf.c: Likewise.
72159         * libio/memstream.c: Likewise.
72160         * libio/obprintf.c: Likewise.
72161         * libio/oldfileops.c: Likewise.
72162         * libio/oldiofclose.c: Likewise.
72163         * libio/oldiofdopen.c: Likewise.
72164         * libio/oldiofopen.c: Likewise.
72165         * libio/oldiopopen.c: Likewise.
72166         * libio/oldstdfiles.c: Likewise.
72167         * libio/putc.c: Likewise.
72168         * libio/setbuf.c: Likewise.
72169         * libio/setlinebuf.c: Likewise.
72170         * libio/stdfiles.c: Likewise.
72171         * libio/strops.c: Likewise.
72172         * libio/vasprintf.c: Likewise.
72173         * libio/vscanf.c: Likewise.
72174         * libio/vsnprintf.c: Likewise.
72175         * libio/vswprintf.c: Likewise.
72176         * libio/wfiledoalloc.c: Likewise.
72177         * libio/wfileops.c: Likewise.
72178         * libio/wgenops.c: Likewise.
72179         * libio/wmemstream.c: Likewise.
72180         * libio/wstrops.c: Likewise.
72181         * libio/__fpurge.c: Likewise.
72182         * libio/__fsetlocking.c: Likewise.
72183         * assert/assert.c: Likewise.
72184         * debug/fgets_chk.c: Likewise.
72185         * debug/fgets_u_chk.c: Likewise.
72186         * debug/fread_chk.c: Likewise.
72187         * debug/fread_u_chk.c: Likewise.
72188         * debug/gets_chk.c: Likewise.
72189         * debug/obprintf_chk.c: Likewise.
72190         * debug/vasprintf_chk.c: Likewise.
72191         * debug/vdprintf_chk.c: Likewise.
72192         * debug/vsnprintf_chk.c: Likewise.
72193         * debug/vsprintf_chk.c: Likewise.
72194         * malloc/mtrace.c: Likewise.
72195         * misc/error.c: Likewise.
72196         * misc/syslog.c: Likewise.
72197         * stdio-common/asprintf.c: Likewise.
72198         * stdio-common/fxprintf.c: Likewise.
72199         * stdio-common/getw.c: Likewise.
72200         * stdio-common/isoc99_fscanf.c: Likewise.
72201         * stdio-common/isoc99_scanf.c: Likewise.
72202         * stdio-common/isoc99_vfscanf.c: Likewise.
72203         * stdio-common/isoc99_vscanf.c: Likewise.
72204         * stdio-common/isoc99_vsscanf.c: Likewise.
72205         * stdio-common/printf-prs.c: Likewise.
72206         * stdio-common/printf_fp.c: Likewise.
72207         * stdio-common/printf_fphex.c: Likewise.
72208         * stdio-common/printf_size.c: Likewise.
72209         * stdio-common/putw.c: Likewise.
72210         * stdio-common/scanf.c: Likewise.
72211         * stdio-common/sprintf.c: Likewise.
72212         * stdio-common/tmpfile.c: Likewise.
72213         * stdio-common/vfprintf.c: Likewise.
72214         * stdio-common/vfscanf.c: Likewise.
72215         * stdlib/strfmon_l.c: Likewise.
72216         * sunrpc/openchild.c: Likewise.
72217         * sunrpc/xdr_stdio.c: Likewise.
72218         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
72219         * sysdeps/mach/hurd/tmpfile.c: Likewise.
72221 2012-05-24  Roland McGrath  <roland@hack.frob.com>
72223         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72225         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
72226         in the third column, to generate for the shared library an IFUNC
72227         that uses _dl_vdso_vsym.
72228         * Makerules (COMPILE.c, compile-stdin.c): New variables.
72229         * Makeconfig (object-suffixes-noshared): New variable.
72231         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
72232         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
72233         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
72234         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
72236         [BZ #14132]
72237         * include/sys/time.h (__gettimeofday): Remove macro.
72238         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
72239         * time/gettimeofday.c (__gettimeofday): Remove #undef.
72240         Remove INTDEF.
72241         (__gettimeofday): Add libc_hidden_def.
72242         (gettimeofday): Add libc_hidden_weak.
72243         * sysdeps/mach/gettimeofday.c: Likewise.
72244         * sysdeps/posix/gettimeofday.c: Likewise.
72245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
72246         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
72247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
72248         (__gettimeofday_internal): Remove strong_alias.
72249         (__gettimeofday): Add libc_hidden_def.
72250         (gettimeofday): Add libc_hidden_weak.
72251         * sysdeps/unix/syscalls.list (gettimeofday):
72252         Remove __gettimeofday_internal alias.
72254 2012-05-24  Daniel Jacobowitz  <drow@false.org>
72255             H.J. Lu  <hongjiu.lu@intel.com>
72257         [BZ #12495]
72258         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
72259         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
72260         (largebin_index_32_big): New.
72261         (largebin_index): Use it for 16-byte alignment.
72262         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
72263         correction with front_misalign.
72265 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
72268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
72269         Likewise.
72270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
72271         Likewise.
72272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
72273         Likewise.
72274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
72275         Likewise.
72276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
72277         Likewise.
72278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
72279         Likewise.
72280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
72281         Likewise.
72282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
72283         Likewise.
72284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
72285         Likewise.
72286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
72287         Likewise.
72288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
72289         Likewise.
72290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
72291         Likewise.
72293         * scripts/data/c++-types-x32-linux-gnu.data: New file.
72294         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
72296 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72298         [BZ #10846]
72299         [BZ #14036]
72300         * math/libm-test.inc (exp_test): Add test from bug 14036.
72301         (pow_test): Add test from bug 10846.
72303         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
72304         and other flags.
72305         (special_function): Do not include flags in test name.
72306         (parse_args): Likewise.
72307         * sysdeps/i386/fpu/libm-test-ulps: Update.
72308         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72309         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
72310         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
72311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72313         * math/gen-libm-test.pl (%beautify): Add entries for underflow
72314         exceptions.
72315         * math/libm-test.inc ("Philosophy"): Update comment about
72316         exception testing.
72317         (UNDERFLOW_EXCEPTION): New macro.
72318         (UNDERFLOW_EXCEPTION_OK): Likewise.
72319         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
72320         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
72321         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
72322         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
72323         (INVALID_EXCEPTION_OK): Update value.
72324         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72325         (OVERFLOW_EXCEPTION_OK): Likewise.
72326         (IGNORE_ZERO_INF_SIGN): Likewise.
72327         (test_exceptions): Handle underflow exceptions.
72328         (acos_test): Update for underflow exception expectations.
72329         (cexp_test): Likewise.
72330         (clog_test): Likewise.
72331         (clog10_test): Likewise.
72332         (csqrt_test): Likewise.
72333         (ctan_test): Likewise.
72334         (ctanh_test): Likewise.
72335         (exp_test): Likewise.
72336         (exp10_test): Likewise.
72337         (exp2_test): Likewise.
72338         (expm1_test): Likewise.
72339         (fma_test): Likewise.
72340         (j0_test): Likewise.
72341         (jn_test): Likewise.
72342         (nexttoward_test): Likewise.
72343         (pow_test): Likewise.
72344         (scalbn_test): Likewise.
72345         (scalbln_test): Likewise.
72346         (tan_test): Likewise.
72347         (y1_test): Likewise.
72348         * sysdeps/i386/fpu/libm-test-ulps: Update.
72349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72351 2012-05-23  David S. Miller  <davem@davemloft.net>
72353         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72354         (__libc_sigaction): Remove unused local variables.
72356 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72358         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
72360 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
72362         mktime: avoid signed integer overflow
72363         * time/mktime.c (__mktime_internal): Do not mishandle the case
72364         where diff == INT_MIN.
72366         mktime: simplify computation of average
72367         * time/mktime.c (ranged_convert): Use new time_t_avg function
72368         instead of rolling our own (probably-slower) code.
72370         mktime: do not assume signed right shift propagates sign bit
72371         * time/mktime.c (isdst_differ): New static function.
72372         (__mktime_internal): No need to normalize tm_isdst now.
72373         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
72374         tm_isdst values.
72376         mktime: merge another wrapv change from gnulib
72377         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
72378         from some compilers.
72380         mktime: remove incorrect attempt at unusual arithmetics
72381         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
72382         The code didn't really work on such machines anyway.
72383         (TYPE_MINIMUM): Assume two's complement.
72384         (twos_complement_arithmetic): Verify that long_int and time_t
72385         are two's complement (or unsigned, in the latter case).
72387         mktime: check signed shifts on long_int and time_t, too
72388         * time/mktime.c (SHR): Check that shifts work as desired
72389         on the types long_int and time_t too, as SHR is used on
72390         such types.
72392         mktime: do not assume 'long' is wide enough
72393         * time/mktime.c (verify): Move decl up.
72394         (long_int): New type.
72395         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
72396         to remove assumption in the code that 'long' is wide enough to
72397         store year values.  This assumption is not true on x32 and on
72398         some non-glibc platforms.
72400         mktime: merge wrapv change from gnulib
72401         * time/mktime.c (WRAPV): New macro.
72402         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
72403         (guess_time_tm, __mktime_internal): Do not assume that signed
72404         integer overflow wraps around; modern compilers generate code
72405         where this assumption is no longer valid.
72407 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72409         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72410         Replace "jmp L(pseudo_end)" with "ret".
72411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
72412         Likewise.
72414 2012-05-23  Andreas Jaeger  <aj@suse.de>
72416         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
72417         * sysdeps/unix/sysv/linux/poll.c: Remove file.
72419 2012-05-23  Andreas Jaeger  <aj@suse.de>
72420             Maximilian Attems  <max@stro.at>
72422         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
72423         New macros.
72425 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
72427         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
72428         code so that pseudo_end is just ret and the stack pointer is
72429         correct also for static library in error case.
72431 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
72433         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
72434         move to syscalls.list.
72435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
72436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
72437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
72438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
72440         * manual/install.texi (Running make install): Do not mention Linux
72441         kernel version for which pt_chown is not needed.
72442         (Linux): Do not mention problems with nscd with 2.0 kernels.
72443         * INSTALL: Regenerated.
72445 2012-05-23  Andreas Jaeger  <aj@suse.de>
72447         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
72448         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
72449         macro.
72450         * sysdeps/unix/sysv/linux/s390/bits/mman.h
72451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72452         * sysdeps/unix/sysv/linux/sh/bits/mman.h
72453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72454         * sysdeps/unix/sysv/linux/i386/bits/mman.h
72455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72456         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
72457         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72458         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
72459         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
72460         * sysdeps/unix/sysv/linux/bits/in.h
72461         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
72463 2012-05-22  Roland McGrath  <roland@hack.frob.com>
72465         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
72466         (PREPARE_VERSION): Just use assert instead, it will be elided
72467         under [NDEBUG] anyway.
72469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72471         * sysdeps/unix/sysv/linux/Makefile: Include
72472         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
72473         (sysdep_routines): Remove sysctl.
72474         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
72475         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
72476         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
72477         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
72478         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
72480 2012-05-22  Andreas Jaeger  <aj@suse.de>
72482         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
72483         that pseudo_end is just ret and the stack pointer is correct also
72484         for static library in error case.
72486 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
72488         [BZ #14122]
72489         * nss/nsswitch.c (defconfig_entries): New variable.
72490         (__nss_database_lookup): Don't leak defconfig entries.
72491         (nss_parse_service_list): Don't leak on error paths.
72492         (free_database_entries): New function.
72493         (free_defconfig): New function.
72494         (free_mem): Move common code to free_database_entries.
72496 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72498         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
72499         Add arch_prctl.
72500         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
72502         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
72503         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
72504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
72505         New macro.
72506         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
72507         (INTERNAL_SYSCALL_TYPES): Likewise.
72508         (LOAD_ARGS_TYPES_[1-6]): Likewise.
72509         (LOAD_REGS_TYPES_[1-6]): Likewise.
72510         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
72511         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
72513 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72515         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
72516         copysignl for GLIBC_2_0.
72517         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
72518         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
72519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
72520         logbl for GLIBC_2_0.
72521         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
72522         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
72524 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72526         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
72527         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
72529         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
72530         Use "neg %eax".
72532         * time/mktime.c: Update copyright years.
72534 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
72536         mktime: merge comment-quoting-style change from gnulib
72537         * time/mktime.c: Quote 'like this' in comments.
72538         The GNU coding standards suggest that we no longer quote `like this',
72539         as "`" and "'" are typically rendered asymmetrically nowadays.
72540         The typical gnulib style is to quote 'like this' when quoting
72541         code, and "like this" when quoting English.
72543         * time/mktime.c (compile-command): Add "-I.".
72545         mktime: merge mktime-internal.h change from gnulib
72546         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
72548         mktime: merge time_r change from gnulib
72549         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
72551         mktime: merge DEBUG change from gnulib
72552         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
72553         case system <time.h> has a #define.
72555         mktime: merge <sys/types.h> change from gnulib
72556         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
72557         since <time.t> is now guaranteed to define time_t.
72559         mktime: merge HAVE_CONFIG_H change from gnulib
72560         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
72562 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
72564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72565         Use "neg %eax".
72567         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
72568         __rlim_t cast.
72569         (struct rusage): Use anonymous union to pad each field to
72570         __syscall_slong_t.
72572 2012-05-21  David S. Miller  <davem@davemloft.net>
72574         * Makefules (o-iterator): Remove .s cases.
72575         (compile-command.s): Delete.
72576         (COMPILE.s): Delete.
72577         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
72579 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
72581         * configure.in (libc_cv_predef_stack_protector): Only consider
72582         "foobar" and "__stack_chk_fail" lines in libc_undefs.
72583         * configure: Regenerated.
72585 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
72588         New macro.  Use R*LP on int and pointer.
72589         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
72590         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
72591         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
72592         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
72594         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
72595         [__WORDSIZE_TIME64_COMPAT32] instead of
72596         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
72597         (struct utmp): Likewise.
72598         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
72599         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
72600         Renamed to ...
72601         (__WORDSIZE_TIME64_COMPAT32): This.
72602         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
72603         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
72604         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
72605         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
72606         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
72607         (__WORDSIZE_TIME64_COMPAT32): New macro.
72609 2012-05-21  Andreas Jaeger  <aj@suse.de>
72611         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
72612         only if [SHARED]. Add prototype for __wcschr_ia32.
72614 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72616         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
72617         of %rbp unmolested in the jmp_buf while mangling the low bits.
72618         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
72619         unmolested high bits of %rbp while demangling the low bits.
72620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72622 2012-05-21  Andreas Jaeger  <aj@suse.de>
72624         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
72625         * sunrpc/svc_simple.c: Use it for registerrpc.
72626         * sunrpc/xcrypt.c: Use it for passwd2des.
72628         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
72630 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72632         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
72633         Don't define if [__SYSCALL_WORDSIZE != 32].
72634         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
72635         New macro.
72637 2012-05-21  Bruno Haible  <bruno@clisp.org>
72638             Andreas Jaeger  <aj@suse.de>
72640         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
72641         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
72642         inptr and inend for must_buffer_ch.
72643         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
72644         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
72645         * stdio-common/Makefile (tests): Remove bug15.
72646         (bug15-ENV): Remove macro.
72647         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
72648         anymore.
72650 2012-05-19  Andreas Jaeger  <aj@suse.de>
72651             Roland McGrath  <roland@hack.frob.com>
72653         * manual/contrib.texi: Completely rewritten. It contains now an
72654         alphabetical list of contributors and their contributions.
72656 2012-05-21  Richard Henderson  <rth@twiddle.net>
72658         * misc/getauxval.c (__getauxval): Use unsigned long int.
72659         * misc/sys/auxv.h: Include <sys/cdefs.h>.
72660         (getauxval): Use unsigned long int.
72662 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
72664         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
72666 2012-05-21  Roland McGrath  <roland@hack.frob.com>
72668         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
72669         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
72670         __alignof__ (long double).
72672 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72676 2012-05-20  Richard Henderson  <rth@twiddle.net>
72678         * misc/getauxval.c: New file.
72679         * misc/sys/auxv.h: New file.
72680         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
72681         (routines): Add getauxval.
72682         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
72683         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
72684         * elf/dl-sysdep.c (_dl_auxv): Remove.
72685         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
72686         * elf/dl-support.c (_dl_auxv): New variable.
72687         (_dl_aux_init): Initialize it.
72688         * manual/startup.texi (Auxiliary Vector): New node.
72689         * sysdeps/generic/bits/hwcap.h: New file.
72690         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
72691         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
72692         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
72693         * sysdeps/sparc/sysdep.h: ... here.  Include it.
72694         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
72695         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
72696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72697         Update.
72698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
72699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
72700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
72701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
72702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
72704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
72705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
72707 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72711 2012-05-19  David S. Miller  <davem@davemloft.net>
72713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72715 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72717         [BZ #14123]
72718         * math/s_ccosh.c: Include <float.h>
72719         (__ccosh): Avoid internal overflow calculating sinh and cosh
72720         values before multiplying by sin and cos values.
72721         * math/s_ccoshf.c: Likewise.
72722         * math/s_ccoshl.c: Likewise.
72723         * math/s_csin.c: Likewise.
72724         * math/s_csinf.c: Likewise.
72725         * math/s_csinl.c: Likewise.
72726         * math/s_csinh.c: Likewise.
72727         * math/s_csinhf.c: Likewise.
72728         * math/s_csinhl.c: Likewise.
72729         * math/libm-test.inc (ccos_test): Add more tests.
72730         (ccosh_test): Likewise.
72731         (csin_test): Likewise.
72732         (csinh_test): Likewise.
72733         * sysdeps/i386/fpu/libm-test-ulps: Update.
72734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72736 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
72738         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
72739         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
72741         * sysdeps/x86_64/x32/_itoa.h: Add comment.
72743 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
72745         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
72746         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
72747         * sysdeps/powerpc/soft-fp/Versions: Likewise.
72748         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
72749         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
72750         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
72751         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
72752         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
72753         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
72754         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
72755         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
72756         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
72757         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
72758         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
72759         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
72760         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
72761         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
72762         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
72763         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
72764         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
72765         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
72766         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
72767         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
72768         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
72769         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
72770         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
72771         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
72772         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
72773         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
72774         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
72775         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
72777 2012-05-18  Andreas Jaeger  <aj@suse.de>
72779         * csu/.gitignore: Delete.
72781 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72783         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
72784         (timex): Use __syscall_slong_t.
72786 2012-05-18  Andreas Jaeger  <aj@suse.de>
72787             Carlos O'Donell  <carlos_odonell@mentor.com>
72789         * manual/install.texi (Configuring and compiling): Update
72790         description about files modified in the source directory.
72791         * INSTALL: Regenerated.
72793 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72795         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
72796         value.  Use "or" to set return value to -1.
72797         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
72798         negate return value.
72800 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72802         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
72803         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
72804         failure if the compiler has Graphite support disabled.
72805         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
72806         Likewise.
72807         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
72808         (CFLAGS-memmove.c): Likewise.
72809         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
72810         Likewise.
72812 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
72814         * sysdeps/x86_64/x32/_itoa.h: New file.
72816         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
72817         getdents system call only if kernel and user dirents have the
72818         same d_ino and d_off.
72820         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72821         LLONG_MAX != LONG_MAX.
72822         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72823         (_fitoa_word): Likewise.
72825         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
72826         years.
72827         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
72828         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
72829         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
72831         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
72832         include <bits/wordsize.h>.  Check __x86_64__ instead of
72833         __WORDSIZE.
72834         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
72835         if __x86_64__ is defined.  Use anonymous union on fpstate.
72837         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
72838         anonymous union.
72840 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
72842         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
72843         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
72844         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
72845         Refer to _rtld_local_ro instead of _rtld_global_ro.
72846         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
72847         Likewise.
72848         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
72849         Likewise.
72850         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
72851         Likewise.
72852         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
72853         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
72854         of _rtld_global, and rtld_progname instead of _dl_argv[0].
72856         [BZ #10882]
72857         * sysdeps/powerpc/powerpc32/dl-machine.c
72858         (__elf_machine_runtime_setup) [PROF]: Don't reference
72859         _dl_prof_resolve.
72861 2012-05-18  Andreas Jaeger  <aj@suse.de>
72863         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
72864         function only available for GCCs before 3.4 since GCC 3.4
72865         introduced a builtin.
72866         (lrint): Likewise.
72867         (llrintf): Likewise.
72868         (llrint): Likewise.
72869         (fmaxf): Likewise.
72870         (fmax): Likewise.
72871         (fminf): Likewise.
72872         (fmin): Likewise.
72873         (rint): Likewise.
72874         (rintf): Likewise.
72875         (nearbyint): Likewise.
72876         (nearbyintf): Likewise.
72877         (ceil): Likewise.
72878         (ceilf): Likewise.
72879         (floor): Likewise.
72880         (floorf): Likewise.
72882 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72884         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
72885         on both fields and cast pointer to __syscall_ulong_t.
72887         * bits/types.h (__fsword_t): New type.
72888         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
72889         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
72890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72891         (__FSWORD_T_TYPE): Likewise.
72892         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
72893         (__FSWORD_T_TYPE): Likewise.
72894         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72895         (__FSWORD_T_TYPE): Likewise.
72896         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
72897         (__FSWORD_T_TYPE): Likewise.
72898         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
72899         __SWORD_TYPE with __fsword_t.
72900         (statfs64): Likewise.
72902 2012-05-17  David S. Miller  <davem@davemloft.net>
72904         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
72906 2012-05-17  Andreas Jaeger  <aj@suse.de>
72908         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
72909         warning.
72911 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72913         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
72915 2012-05-17  Andreas Jaeger  <aj@suse.de>
72917         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
72918         when it is used.
72920 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72922         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
72924 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72926         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
72927         * sysdeps/x86_64/tst-mallocalign1.c: New file.
72929 2012-05-17  Andreas Jaeger  <aj@suse.de>
72930             Carlos O'Donell  <carlos_odonell@mentor.com>
72932         [BZ #14059]
72933         * sysdeps/x86_64/multiarch/init-arch.h
72934         (bit_YMM_Usable): Rename to...
72935         (bit_AVX_Usable): ... this.
72936         (bit_FMA4_Usable): New macro.
72937         (bit_XMM_state): New macro.
72938         (bit_YMM_state): New macro.
72939         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
72940         [__ASSEMBLER__] (index_AVX_Usable): ... this.
72941         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
72942         (CPUID_OSXSAVE): New macro.
72943         (CPUID_AVX): New macro.
72944         (CPUID_FMA4): New macro.
72945         (index_YMM_Usable): Rename to...
72946         (index_AVX_Usable): ... this.
72947         (HAS_AVX): Use HAS_ARCH_FEATURE.
72948         (HAS_FMA4): Likewise.
72949         (HAS_YMM_USABLE): Remove.
72950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72951         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
72952         are present.
72953         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
72954         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
72955         * sysdeps/x86_64/multiarch/Makefile: Likewise.
72956         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
72957         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
72959 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
72961         * math/libm-test.c: Support platforms without multiple rounding modes.
72962         * math/bug-nextafter.c: Support platforms without FP exceptions.
72963         * math/bug-nexttoward.c: Likewise.
72964         * math/test-fenv.c: Likewise.
72965         * math/test-misc.c: Likewise.
72966         * stdlib/bug-getcontext.c: Likewise.
72968 2012-05-17  Andreas Jaeger  <aj@suse.de>
72970         * manual/examples/search.c (critter_cmp): Change signature to
72971         avoid warnings.
72972         * manual/string.texi (Collation Functions): Likewise.
72974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72976         * bits/types.h: Fold copyright years.
72977         * bits/typesizes.h: Likewise.
72978         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
72979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
72980         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
72981         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
72982         * time/time.h: Likewise.
72984 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
72986         [BZ #208]
72987         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
72988         in instead of returning them.  Return void.
72989         (__libc_mallinfo): Accumulate over all arenas.
72990         (__malloc_stats): Adjust for change in int_mallinfo interface.
72992 2012-05-16  Roland McGrath  <roland@hack.frob.com>
72994         [BZ #10375]
72995         * configure.in (NM): Add AC_CHECK_TOOL for it.
72996         (libc_extra_cflags): New substituted variable.
72997         Check for -fstack-protector being used implicitly.
72998         * configure: Regenerated.
72999         * config.make.in (config-extra-cflags): New variable,
73000         gets @libc_extra_cflags@.
73001         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
73003         [BZ #10375]
73004         * configure.in: Check for _FORTIFY_SOURCE being predefined.
73005         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
73006         * configure: Regenerated.
73007         * config.make.in (CPPUNDEFS): New substituted variable.
73008         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
73009         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
73010         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
73012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73014         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
73015         (mq_attr): Use __syscall_slong_t.
73017 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73019         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
73020         Check __x86_64__ instead of __WORDSIZE.
73021         (_STAT_VER_LINUX): Likewise.
73022         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
73023         __syscall_ulong_t and __syscall_slong_t.
73024         (stat64): Likewise.
73026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73028         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
73030 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73032         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
73034 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73036         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
73037         __syscall_ulong_t.
73039         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
73040         include <bits/wordsize.h>.  Check __x86_64__ instead of
73041         __WORDSIZE.
73042         (greg_t): Use "__extension__ long long int" if __x86_64__ is
73043         defined.
73044         (mcontext_t): Replace "unsigned long" with "unsigned long long".
73046         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
73047         include <bits/wordsize.h>.  Check __x86_64__ instead of
73048         __WORDSIZE.
73049         (user_regs_struct): Use "__extension__ unsigned long long"
73050         instead of "unsigned long" if __x86_64__ is defined.
73051         (user): Likewise.  Pad after pointer field if __ILP32__ is
73052         defined.
73054 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
73056         * configure.in (makeinfo): Require version 4.5 or later.  Allow
73057         versions 5 to 9.
73058         * configure: Regenerated.
73059         * manual/install.texi (texinfo): Increase version requirement to
73060         4.5 or later.
73061         * INSTALL: Regenerated.
73063         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
73065 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73067         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
73069         * sysdeps/x86_64/x32/ffs.c: New file.
73071         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
73072         __syscall_ulong_t.
73073         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
73074         defined.  Use __syscall_ulong_t.
73075         (shminfo): Use __syscall_ulong_t.
73076         (shm_info): Likewise.
73078         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
73079         __syscall_ulong_t.
73081         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
73082         <bits/wordsize.h>.
73083         (msgqnum_t): Use __syscall_ulong_t.
73084         (msglen_t): Likewise.
73085         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
73086         __syscall_ulong_t.
73088         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
73089         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73091         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
73093         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
73094         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
73096         * sysvipc/sys/msg.h (msgbuf): Replace long int with
73097         __syscall_slong_t.
73099         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
73100         include <bits/wordsize.h>.  Check __x86_64__ instead of
73101         __WORDSIZE.
73103         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
73104         "unsigned long long int" if __x86_64__ is defined.
73105         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
73107         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
73108         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73109         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
73111         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
73112         <stdint.h>.
73113         (GET_PC): Cast to uintptr_t first.
73114         (GET_FRAME): Likewise.
73115         (GET_STACK): Likewise.
73117         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
73118         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
73119         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
73120         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
73121         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
73122         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
73123         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
73124         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
73125         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
73126         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
73127         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
73128         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
73129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
73130         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
73131         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
73132         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
73133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
73134         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
73135         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
73136         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
73137         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
73138         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
73139         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
73140         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
73141         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
73142         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
73143         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
73144         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
73145         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
73147 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
73149         * Makerules (+depfiles): Also collect depfiles from .oS in
73150         $(extra-objs).
73151         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
73152         .oS, $(libnldbl-routines)).
73154         * Makerules (native-compile-mkdep-flags): Define.
73155         * sunrpc/Makefile (extra-objs): Add $(addprefix
73156         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
73157         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
73158         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
73159         calling $(make-target-directory).
73161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73163         * bits/types.h (__snseconds_t): Removed.
73164         * time/time.h (struct timespec): Replace __snseconds_t with
73165         __syscall_slong_t.
73166         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
73167         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
73168         Likewise.
73169         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73170         (__SNSECONDS_T_TYPE): Likewise.
73171         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73172         (__SNSECONDS_T_TYPE): Likewise.
73173         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73174         (__SNSECONDS_T_TYPE): Likewise.
73176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73178         * sysdeps/mach/hurd/bits/typesizes.h
73179         (__SYSCALL_SLONG_TYPE): New macro.
73180         (__SYSCALL_ULONG_TYPE): Likewise.
73182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73184         * bits/types.h (__syscall_slong_t): New type.
73185         (__syscall_ulong_t): Likewise.
73187         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
73188         (__SYSCALL_ULONG_TYPE): Likewise.
73189         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73190         (__SYSCALL_SLONG_TYPE): Likewise.
73191         (__SYSCALL_ULONG_TYPE): Likewise.
73192         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73193         (__SYSCALL_SLONG_TYPE): Likewise.
73194         (__SYSCALL_ULONG_TYPE): Likewise.
73195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73196         (__SYSCALL_SLONG_TYPE): Likewise.
73197         (__SYSCALL_ULONG_TYPE): Likewise.
73199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73201         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
73202         Add sigaltstack-offsets.sym.
73203         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
73204         <sigaltstack-offsets.h>.
73205         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
73206         longjmp_msg pointer.
73207         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
73208         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
73209         signal stack.
73210         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
73212 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73214         * elf/stackguard-macros.h: Remove file.
73215         * sysdeps/generic/stackguard-macros.h: New file.
73216         * sysdeps/i386/stackguard-macros.h: Likewise.
73217         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
73218         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
73219         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
73220         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
73221         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
73222         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
73223         * sysdeps/x86_64/stackguard-macros.h: Likewise.
73224         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
73225         <elf/stackguard-macros.h>.
73227         [BZ #14109]
73228         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
73229         __aligned__ in attribute.
73230         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
73231         (gregset_t): Likewise.
73233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73235         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
73236         * sysdeps/x86_64/64/Implies-after: Here.  New file.
73237         * sysdeps/x86_64/x32/Implies-after: New file.
73239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73241         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
73242         and access return value for _dl_profile_fixup.  Use R10_LP to
73243         load frame size.
73245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73247         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
73249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73251         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
73252         * sysdeps/x86_64/x32/sysdep.h: New file.
73254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73256         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
73257         * sysdeps/x86_64/setjmp.S: Likewise.
73259 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73261         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
73262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
73263         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
73264         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
73265         remove unused global constant.
73267 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
73269         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
73270         include of <not-cancel.h>.
73272 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73274         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
73276 2012-05-15  Jeff Law  <law@redhat.com>
73277             Andreas Jaeger  <aj@suse.de>
73279         [BZ #13594]
73280         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
73281         out from...
73282         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
73283         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
73284         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
73285         code changing __hst_map_handle.map.
73287 2012-05-15  Roland McGrath  <roland@hack.frob.com>
73289         * configure.in (sysnames): Look for Implies-before and Implies-after
73290         files.
73291         * configure: Regenerated.
73293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73295         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
73296         8-byte data alignment with LP_SIZE alignment.
73298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73300         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
73301         into R10_LP.
73303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73305         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
73307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73309         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
73310         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
73312         Likewise.
73313         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73317         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
73318         (stackinfo_sub_sp): Likewise.
73320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73322         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
73323         RAX_LP.
73325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73327         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
73328         into R*_LP.
73330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
73333         sizes into R*_LP.
73335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73337         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
73339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73341         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
73342         into R11_LP and load __x86_64_shared_cache_size_half into
73343         R8_LP.
73345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
73347         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
73348         R8_LP.
73350 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
73353         logb for POWER7.
73354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
73355         logbf for POWER7.
73356         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
73357         logbl for POWER7.
73358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
73359         powerpc32/power7/fpu/s_logb.c via #include.
73360         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
73361         powerpc32/power7/fpu/s_logbf.c via #include.
73362         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
73363         powerpc32/power7/fpu/s_logbl.c via #include.
73365 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
73367         * README.libm: Remove file.
73369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73371         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
73372         count for x32.  Use R*_LP and omit operand-size suffix.
73374 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73376         * shlib-versions: Move x86_64-.*-linux.* entries to ...
73377         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
73378         * sysdeps/x86_64/x32/shlib-versions: New file.
73380 2012-05-14  Roland McGrath  <roland@hack.frob.com>
73382         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
73383         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
73384         Use _dl_fatal_printf instead.
73386 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73388         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
73389         set if not set by the user.  Do not allow for being unset.
73390         * sysdeps/unix/sysv/linux/configure: Regenerated.
73392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73394         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
73395         the `q' suffix from lea and replace .quad with ASM_ADDR.
73397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
73400         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
73401         instead of $17.
73402         (PTR_DEMANGLE): Likewise.
73404 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73406         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73407         (LP_OP): Likewise.
73408         (ASM_ADDR): Likewise.
73409         (RAX_LP): Likewise.
73410         (RBP_LP): Likewise.
73411         (RBX_LP): Likewise.
73412         (RCX_LP): Likewise.
73413         (RDI_LP): Likewise.
73414         (RSI_LP): Likewise.
73415         (RSP_LP): Likewise.
73416         (R8_LP): Likewise.
73417         (R9_LP): Likewise.
73418         (R10_LP): Likewise.
73419         (R10_LP): Likewise.
73420         (R11_LP): Likewise.
73421         (R12_LP): Likewise.
73422         (R13_LP): Likewise.
73423         (R14_LP): Likewise.
73424         (R15_LP): Likewise.
73426 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73428         * sysdeps/x86_64/x32/dl-machine.h: New file.
73430 2012-05-14  Andreas Jaeger  <aj@suse.de>
73432         * manual/Makefile (subdir): Remove export of subdir.
73433         (all): Remove target.
73434         (.PHONY): Remove all from list.
73435         (mkinstalldirs): Remove.
73436         (.PHONY): Remove installdirs from list.
73437         ($(inst_infodir)/libc.info): Use make-target-directory.
73438         (installdirs): Remove.
73439         (subdir_%): Remove.
73440         (glibc-targets): Remove.
73441         (lib): Remove.
73442         (stubs): Remove.
73443         ($(objpfx)stubs ../po/manual.pot): Remove.
73444         ($(objpfx)stamp%): Remove.
73445         (make-target-directory): Remove.
73446         (subdir_install): Remove.
73447         (routines): Remove.
73448         (aux): Remove.
73449         (sources): Remove.
73450         (objects): Remove.
73451         (headers): Remove.
73453         [BZ #13750]
73454         * manual/.gitignore: Remove, it's not needed anymore.
73455         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
73456         all files in it.
73457         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73458         directory.
73459         (texis): Renamed to $(objpfx)texis.
73460         (texis-path): New, contains path to generated files.
73461         (chapters.%): Use texis-path for complete path, add extra argument
73462         libc-texinfo.sh.
73463         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73464         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
73465         (summary,texi, stamp-summary): Use complete path of
73466         files. Generate files in build dir.
73467         (dir-add.texi): Build in build dir.
73468         (libm-err.texi,stamp-libm-err): Likewise.
73469         (version.texi, stamp-version): Likewise.
73470         (.%c.texi): Likewise.
73471         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
73472         (mostlyclean): Remove target.
73473         (realclean): Remove target.
73474         (generated): Add new variable with contents from mostlyclean and
73475         realclean, remove entries duplicated in common-mostlyclean, add
73476         stamp-libm-err and stamp-version.
73477         (generated-dirs): Add libc directory.
73478         ($(inst_infodir)/libc.info): Install files from build dir.
73480         * manual/install.texi (Configuring and compiling): Adjust since
73481         the info files are not part of the tar ball anymore.
73483 2012-05-14  Andreas Jaeger  <aj@suse.de>
73485         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
73486         variable.
73488 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
73490         [BZ #13717]
73491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73492         to 2.2.0 where earlier.
73493         * sysdeps/unix/sysv/linux/configure: Regenerated.
73494         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
73495         Remove conditional code.
73496         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
73497         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
73498         Remove conditional code.
73499         [!__NR_lchown]: Likewise.
73500         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73501         [__NR_lchown]: Likewise.
73502         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
73503         comment referencing __ASSUME_LCHOWN_SYSCALL.
73504         * sysdeps/unix/sysv/linux/i386/sigaction.c
73505         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73506         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73507         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
73508         Remove conditional code.
73509         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
73510         (__protocol_available): Remove #if 0 code.
73511         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
73512         conditional code.
73513         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
73514         * sysdeps/unix/sysv/linux/kernel-features.h
73515         (__ASSUME_GETCWD_SYSCALL): Don't define.
73516         (__ASSUME_REALTIME_SIGNALS): Likewise.
73517         (__ASSUME_PREAD_SYSCALL): Likewise.
73518         (__ASSUME_PWRITE_SYSCALL): Likewise.
73519         (__ASSUME_POLL_SYSCALL): Likewise.
73520         (__ASSUME_LCHOWN_SYSCALL): Likewise.
73521         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
73522         non-SPARC.
73523         (__ASSUME_SIOCGIFNAME): Don't define.
73524         (__ASSUME_MSG_NOSIGNAL): Likewise.
73525         (__ASSUME_SENDFILE): Define unconditionally.
73526         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
73527         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
73528         conditional code.
73529         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
73530         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
73531         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73532         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73533         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
73534         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
73535         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
73536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
73537         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73538         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
73540         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
73543         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73544         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
73546         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
73549         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
73552         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
73553         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
73555         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
73558         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73560         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
73561         Remove conditional code.
73562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73563         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73564         Remove conditional code.
73565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73566         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
73567         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
73568         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73569         Remove conditional code.
73570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73571         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
73572         Remove conditional code.
73573         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73574         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
73575         Remove conditional code.
73576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73577         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
73578         Remove conditional code.
73579         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
73580         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
73581         Remove conditional code.
73582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73583         * sysdeps/unix/sysv/linux/sh/pwrite64.c
73584         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
73585         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
73586         * sysdeps/unix/sysv/linux/sigaction.c
73587         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73588         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73589         * sysdeps/unix/sysv/linux/sigpending.c
73590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73592         * sysdeps/unix/sysv/linux/sigprocmask.c
73593         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73594         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73595         * sysdeps/unix/sysv/linux/sigsuspend.c
73596         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
73597         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
73598         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73599         (__libc_missing_rt_sigs): Remove.
73600         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
73601         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
73602         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
73603         Remove conditional code.
73604         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
73605         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
73606         return 1.
73607         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
73608         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
73609         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
73610         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
73612 2012-05-14  Andreas Jaeger  <aj@suse.de>
73614         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
73615         it's not used in glibc.
73616         (__coshm1): Likewise.
73617         (__acosh1p): Likewise.
73618         (__sgn): Likewise.
73620         * manual/string.texi (Copying and Concatenation): Add missing
73621         variable in concat example.
73622         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
73624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73626         [BZ #14103]
73627         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
73628         __builtin_clzl with __builtin_clzll.
73630 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
73632         [BZ #14104]
73633         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
73634         libc_freeres_ptr.
73636 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73638         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
73639         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
73640         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
73641         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
73643 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
73645         * NEWS: Update ia64 info.
73647 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
73649         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
73650         used as bcopy.
73652 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
73654         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
73655         * sysdeps/unix/syscalls.list (dup3): Likewise.
73656         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
73657         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
73659 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73661         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
73662         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
73664 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
73666         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
73667         thread pointer.
73668         (TLS_IE): Use mov/add instead of movq/addq to load thread
73669         pointer.
73670         (TLS_GD_PREFIX): New.
73671         (TLS_GD): Use it.
73673 2012-05-11  David S. Miller  <davem@davemloft.net>
73675         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
73676         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
73677         (_FPU_SETCW): Likewise.
73679 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73681         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
73682         is 32-byte aligned.
73684 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
73686         [BZ #11837]
73687         * iconvdata/gb18030.c: Update tables.
73688         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
73689         characters specially.
73690         (BODY for TO_LOOP): Add encoding of missing ranges.
73692 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
73694         [BZ #13673]
73695         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
73696         * sysdeps/mach/hurd/dup3.c: Likewise.
73697         * sysdeps/mach/hurd/readlinkat.c: Likewise.
73698         * sysdeps/powerpc/memmove.c:: Likewise.
73700 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
73703         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
73705 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
73707         * elf/elf.h (R_X86_64_RELATIVE64): New.
73708         (R_X86_64_NUM): Updated.
73709         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
73710         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
73711         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
73712         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
73713         tst-quad1pie tst-quad2pie
73714         (modules-names): Add tst-quadmod1 tst-quadmod2.
73715         ($(objpfx)tst-quad1): New dependency.
73716         ($(objpfx)tst-quad2): Likewise.
73717         ($(objpfx)tst-quad1pie): Likewise.
73718         ($(objpfx)tst-quad2pie): Likewise.
73719         * sysdeps/x86_64/tst-quad1.c: New file.
73720         * sysdeps/x86_64/tst-quad1pie.c: New file.
73721         * sysdeps/x86_64/tst-quad2.c: Likewise.
73722         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
73723         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
73724         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
73725         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
73726         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
73728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73730         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
73731         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
73732         * streams/stropts.h (t_scalar_t): Define type.
73734         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
73735         (_PATH_PRESERVE): Set to "/var/lib".
73736         (_PATH_RWHODIR): Set to "/var/spool/rwho".
73738         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
73739         instead of int.
73741         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
73742         if __dir_mkfile succeeded.
73744         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
73745         checking for _hurd_dtablesize.  Unlock it right after having
73746         finished _hurd_dtable allocation.
73748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73750         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
73751         * sysdeps/mach/hurd/configure: Regenerated.
73752         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
73753         special-casing to...
73754         * sysdeps/gnu/configure.in: ... this new file.
73755         * sysdeps/unix/sysv/linux/configure: Regenerated.
73756         * sysdeps/gnu/configure: New generated file.
73758         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
73759         for Linux: use nsec instead of usec, as well as:
73760         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
73761         members of type struct timespec.
73762         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
73763         New macros.
73764         (struct stat64): Likewise.
73765         (_STATBUF_ST_NSEC): New macro.
73766         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
73768         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
73769         __strtoul_internal rather than strtoul.
73771 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73773         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
73774         and reject them.
73776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73778         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
73779         which preserves existing values.
73780         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
73782 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73784         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
73785         TIMEOUT values.  Return EINVAL for NFDS values either negative or
73786         greater than FD_SETSIZE.
73788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73790         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
73791         allocated, call __vm_protect to finish enabling the existing space, and
73792         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
73793         allocate the remainder.
73795 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73797         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
73798         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
73800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73802         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
73803         sysdeps/mach/hurd/readlink.c.
73805         * posix/tst-sysconf.c (posix_options): Only use
73806         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
73807         _POSIX_SYNCHRONIZED_IO when they are defined
73808         * sysdeps/mach/hurd/bits/posix_opt.h:
73809         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
73810         (_XOPEN_REALTIME): Undefine macro.
73811         (_XOPEN_REALTIME_THREADS): Undefine macro.
73812         (_XOPEN_SHM): Undefine macro.
73813         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
73814         macro to -1.
73815         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
73816         macro to -1.
73817         (_POSIX_ASYNC_IO): Undefine macro.
73818         (_POSIX_PRIORITIZED_IO): Undefine macro.
73819         (_POSIX_SPIN_LOCKS): Define macro to -1.
73821         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
73822         SA_NODEFER, SA_RESETHAND.
73823         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
73824         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
73825         F_DUPFD_CLOEXEC.
73827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73829         * elf/Makefile (pldd-modules): Define unconditionally.
73831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73833         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
73835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73837         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
73838         Return ENOENT when name is empty.
73839         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
73841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73843         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
73845         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
73847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73849         Fix mlock in all cases except non-readable pages.
73850         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
73851         instead of VM_PROT_ALL as parameter to __vm_wire function.
73853         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
73854         (__mkdir): When path is `/', just fail with EEXIST.
73855         * sysdeps/mach/hurd/mkdirat.c: Likewise.
73857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73859         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
73860         <sys/uio.h> (for writev).
73861         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
73862         and <sys/param.h> (for MIN).
73864 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
73866         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
73867         REQUESTED_TIME.  Properly set the remaining time and return EINTR
73868         if interrupted.
73870 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73872         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
73873         Depend on against $(link-rpcuserlibs).
73875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73877         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
73878         (__libc_stack_end): Do not use attribute_relro.
73879         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
73880         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
73881         to libthread-provided value.
73882         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
73883         attribute_relro.
73885 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73887         [BZ #3748]
73888         * bits/libc-lock.h (__libc_once_get): New macro.
73889         * sysdeps/mach/bits/libc-lock.h: Likewise.
73890         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
73891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
73892         instead of using implementation details.
73894         * libio/fileops.c: Unconditionally include <kernel-features.h>.
73895         * libio/freopen.c: Likewise.
73896         * libio/freopen64.c: Likewise.
73897         * misc/syslog.c: Likewise.
73898         * nscd/connections.c: Likewise.
73899         * nscd/netgroupcache.c: Likewise.
73900         * sysdeps/posix/getcwd.c: Likewise.
73902 2012-05-10  Roland McGrath  <roland@hack.frob.com>
73904         * math/w_ilogbf.c: Add #include <limits.h>.
73906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73908         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
73909         path instead of returning without unlocking.
73911         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
73912         immediate-write ioctls.
73913         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
73915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73917         * sysdeps/mach/hurd/i386/init-first.c (init): Use
73918         __builtin_frame_address instead of making assumptions about the
73919         location of the return address relative to DATA.  Force early load of
73920         the return address.
73921         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
73922         __builtin_frame_address.
73924         dup3 for GNU Hurd.
73925         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
73926         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
73927         implement dup3 and do some further code clean-ups.
73928         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
73929         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
73931 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73933         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
73935         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
73936         HURD_CRITICAL_END around holding _hurd_dtable_lock.
73937         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
73938         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
73939         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
73940         d->port.lock.
73942         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
73943         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
73944         when handler == SIG_ERR, not when handler != SIG_ERR.
73946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73948         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
73949         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
73950         definitions.
73952         accept4 for GNU Hurd.
73953         * include/sys/socket.h (__libc_accept4): New prototype.
73954         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
73955         to implement __libc_accept4.
73956         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
73957         __libc_accept4.
73958         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
73960         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
73961         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
73962         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
73963         signal-defines.sym.
73965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73967         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
73969 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
73971         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
73972         assertion on O_CLOEXEC flag.
73973         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
73974         * hurd/intern-fd.c: Likewise.
73975         * hurd/port2fd.c: Likewise.
73977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73979         [BZ #3906]
73980         * bits/in.h (IPV6_PKTINFO): Define new macro.
73981         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
73983 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73985         [BZ #13954]
73986         [BZ #13955]
73987         [BZ #13956]
73988         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
73989         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73990         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
73991         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73993         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73994         * math/libm-test.inc (logb_test) : Additional logb tests.
73996 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
73997             Andreas Jaeger  <aj@suse.de>
73999         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
74000         * configure: Regenerated.
74001         * config.h.in (LINK_OBSOLETE_RPC): New macro.
74002         * config.make.in (link-obsolete-rpc): New substituted variable.
74003         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
74004         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
74005         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74006         (shared-only-routines): Don't set it under [link-obsolete-rpc],
74007         so that libc.a contains the symbols.
74008         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
74009         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
74010         * sunrpc/auth_none.c: Likewise.
74011         * sunrpc/auth_unix.c: Likewise.
74012         * sunrpc/authdes_prot.c: Likewise.
74013         * sunrpc/authuxprot.c: Likewise.
74014         * sunrpc/clnt_gen.c: Likewise.
74015         * sunrpc/clnt_perr.c: Likewise.
74016         * sunrpc/clnt_raw.c: Likewise.
74017         * sunrpc/clnt_simp.c: Likewise.
74018         * sunrpc/clnt_tcp.c: Likewise.
74019         * sunrpc/clnt_udp.c: Likewise.
74020         * sunrpc/clnt_unix.c: Likewise.
74021         * sunrpc/des_crypt.c: Likewise.
74022         * sunrpc/des_soft.c: Likewise.
74023         * sunrpc/get_myaddr.c: Likewise.
74024         * sunrpc/key_call.c: Likewise.
74025         * sunrpc/key_prot.c: Likewise.
74026         * sunrpc/netname.c: Likewise.
74027         * sunrpc/pm_getmaps.c: Likewise.
74028         * sunrpc/pm_getport.c: Likewise.
74029         * sunrpc/pmap_clnt.c: Likewise.
74030         * sunrpc/pmap_prot.c: Likewise.
74031         * sunrpc/pmap_prot2.c: Likewise.
74032         * sunrpc/pmap_rmt.c: Likewise.
74033         * sunrpc/publickey.c: Likewise.
74034         * sunrpc/rpc_cmsg.c: Likewise.
74035         * sunrpc/rpc_common.c: Likewise.
74036         * sunrpc/rpc_dtable.c: Likewise.
74037         * sunrpc/rpc_prot.c: Likewise.
74038         * sunrpc/rpc_thread.c: Likewise.
74039         * sunrpc/rtime.c: Likewise.
74040         * sunrpc/svc.c: Likewise.
74041         * sunrpc/svc_auth.c: Likewise.
74042         * sunrpc/svc_raw.c: Likewise.
74043         * sunrpc/svc_run.c: Likewise.
74044         * sunrpc/svc_tcp.c: Likewise.
74045         * sunrpc/svc_udp.c: Likewise.
74046         * sunrpc/svc_unix.c: Likewise.
74047         * sunrpc/svcauth_des.c: Likewise.
74048         * sunrpc/xcrypt.c: Likewise.
74049         * sunrpc/xdr.c: Likewise.
74050         * sunrpc/xdr_array.c: Likewise.
74051         * sunrpc/xdr_float.c: Likewise.
74052         * sunrpc/xdr_intXX_t.c: Likewise.
74053         * sunrpc/xdr_mem.c: Likewise.
74054         * sunrpc/xdr_rec.c: Likewise.
74055         * sunrpc/xdr_ref.c: Likewise.
74056         * sunrpc/xdr_sizeof.c: Likewise.
74057         * sunrpc/xdr_stdio.c: Likewise.
74059 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
74062         change.  Update copyright years.
74064 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74066         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
74068 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
74069             Joseph Myers  <joseph@codesourcery.com>
74070             Paul Pluzhnikov  <ppluzhnikov@google.com>
74072         [BZ #14012]
74073         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
74074         requiring rpcgen.
74075         [cross-compiling] (extra-libs): Likewise.
74076         [cross-compiling] (extra-libs-others): Likewise.
74077         [cross-compiling] (librpcsvc-routines): Likewise.
74078         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
74079         [cross-compiling] (omit-deps): Likewise.
74080         (sunrpc-CPPFLAGS): New variable.
74081         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
74082         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
74083         (cross-rpcgen-objs): New variable.
74084         (extra-objs): Append $(cross-rpcgen-objs).
74085         ($(cross-rpcgen-objs)): New rule.
74086         ($(objpfx)cross-rpcgen): Likewise.
74087         (rpcgen-cmd): Define to use $(built-program-file).  Expand
74088         comment.
74089         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
74090         ($(objpfx)x%.stmp): Likewise.
74091         * sunrpc/proto.h [IS_IN_build] (_): Define.
74092         [IS_IN_build] (_libc_intl_domainname): Likewise.
74094 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74096         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
74097         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
74098         and R_X86_64_TPOFF64.
74100 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
74102         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
74103         sysdeps/unix/sysv/syscalls.list.
74104         (stime): Likewise.
74105         (utime): Likewise.
74106         * sysdeps/unix/sysv/syscalls.list: Remove file.
74108 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
74110         [BZ #3440]
74111         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
74112         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
74113         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
74114         (__LC_IDENTIFICATION): Make these macros useful in #if
74115         expressions, as required by C99.
74117 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
74119         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
74120         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
74121         after this.
74123 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
74125         * stdlib/longlong.h: Updated from GCC.
74127 2012-05-09  Andreas Jaeger  <aj@suse.de>
74129         * nscd/nscd.c (run_modes): Make named enum, reorder so that
74130         default is first entry.
74131         (run_mode): Set type.
74132         (main): Remove informal message about syslog.
74133         (options): Fix typo.
74135         [BZ #14053]
74136         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
74137         to asm.
74138         (lrint): Likewise.
74139         (llrintf): Likewise.
74140         (llrint): Likewise.
74141         (rint): Likewise.
74142         (rintf): Likewise.
74143         (nearbyint): Likewise.
74144         (nearbyintf): Likewise.
74146 2012-05-09  Andreas Jaeger  <aj@suse.de>
74147             Pedro Alves  <palves@redhat.com>
74149         * nscd/nscd.c (run_mode): Use enum.
74150         (main): Cleanup coding style issue.
74152 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
74153             Andreas Jaeger  <aj@suse.de>
74155         * nscd/nscd.c (go_background): Replaced with...
74156         (run_mode): ... this.
74157         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
74158         (options): Add -F --foreground.
74159         (main): Implement it.
74160         (parse_opt): Parse it.
74162 2012-05-09  Andreas Jaeger  <aj@suse.de>
74164         [BZ #14083]
74165         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
74166         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
74167         -Wconversion warning.
74168         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
74169         Likewise.
74171 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
74173         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
74174         == 0.
74175         (LC_ALL): Use macro-int-constant.
74176         (LC_COLLATE): Likewise.
74177         (LC_CTYPE): Likewise.
74178         (LC_MESSAGES): Likewise.
74179         (LC_MONETARY): Likewise.
74180         (LC_NUMERIC): Likewise.
74181         (LC_TIME): Likewise.
74182         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
74183         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74184         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74185         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
74186         Specify type.
74187         [C99-based standards] (float_t): Expect type.
74188         [C99-based standards] (double_t): Expect type.
74189         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
74190         type.
74191         [C99-based standards] (HUGE_VALL): Likewise.
74192         [C99-based standards] (INFINITY): Likewise.
74193         [C99-based standards] (NAN): Likewise.
74194         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
74195         [C99-based standards] (FP_NAN): Likewise.
74196         [C99-based standards] (FP_NORMAL): Likewise.
74197         [C99-based standards] (FP_SUBNORMAL): Likewise.
74198         [C99-based standards] (FP_ZERO): Likewise.
74199         [C99-based standards] (FP_FAST_FMA): Use
74200         optional-macro-int-constant.  Specify type.  Require == 1.
74201         [C99-based standards] (FP_FAST_FMAF): Likewise.
74202         [C99-based standards] (FP_FAST_FMAL): Likewise.
74203         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
74204         [C99-based standards] (FP_ILOGBNAN): Likewise.
74205         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
74206         Specify type.
74207         [C99-based standards] (MATH_ERREXCEPT): Likewise.
74208         [C99-based standards] (math_errhandling): Specify type.
74209         [ISO99 || ISO11] (signgam): Do not allow.
74210         [non-C99-based standards] (copysignf): Do not allow.
74211         [non-C99-based standards] (exp2f): Likewise.
74212         [non-C99-based standards] (log2f): Likewise.
74213         [non-C99-based standards] (modff): Allow.
74214         [non-C99-based standards] (erff): Do not allow.
74215         [non-C99-based standards] (erfcf): Likewise.
74216         [non-C99-based standards] (gammaf): Likewise.
74217         [non-C99-based standards] (hypotf): Likewise.
74218         [non-C99-based standards] (j0f): Likewise.
74219         [non-C99-based standards] (j1f): Likewise.
74220         [non-C99-based standards] (jnf): Likewise.
74221         [non-C99-based standards] (lgammaf): Likewise.
74222         [non-C99-based standards] (tgammaf): Likewise.
74223         [non-C99-based standards] (y0f): Likewise.
74224         [non-C99-based standards] (y1f): Likewise.
74225         [non-C99-based standards] (ynf): Likewise.
74226         [non-C99-based standards] (isnanf): Likewise.
74227         [non-C99-based standards] (acoshf): Likewise.
74228         [non-C99-based standards] (asinhf): Likewise.
74229         [non-C99-based standards] (atanhf): Likewise.
74230         [non-C99-based standards] (cbrtf): Likewise.
74231         [non-C99-based standards] (expm1f): Likewise.
74232         [non-C99-based standards] (ilogbf): Likewise.
74233         [non-C99-based standards] (log1pf): Likewise.
74234         [non-C99-based standards] (logbf): Likewise.
74235         [non-C99-based standards] (nextafterf): Likewise.
74236         [non-C99-based standards] (remainderf): Likewise.
74237         [non-C99-based standards] (rintf): Likewise.
74238         [non-C99-based standards] (scalbf): Likewise.
74239         [non-C99-based standards] (copysignl): Likewise.
74240         [non-C99-based standards] (exp2l): Likewise.
74241         [non-C99-based standards] (log2l): Likewise.
74242         [non-C99-based standards] (modfl): Allow.
74243         [non-C99-based standards] (erfl): Do not allow.
74244         [non-C99-based standards] (erfcl): Likewise.
74245         [non-C99-based standards] (gammal): Likewise.
74246         [non-C99-based standards] (hypotl): Likewise.
74247         [non-C99-based standards] (j0l): Likewise.
74248         [non-C99-based standards] (j1l): Likewise.
74249         [non-C99-based standards] (jnl): Likewise.
74250         [non-C99-based standards] (lgammal): Likewise.
74251         [non-C99-based standards] (tgammal): Likewise.
74252         [non-C99-based standards] (y0l): Likewise.
74253         [non-C99-based standards] (y1l): Likewise.
74254         [non-C99-based standards] (ynl): Likewise.
74255         [non-C99-based standards] (isnanl): Likewise.
74256         [non-C99-based standards] (acoshl): Likewise.
74257         [non-C99-based standards] (asinhl): Likewise.
74258         [non-C99-based standards] (atanhl): Likewise.
74259         [non-C99-based standards] (cbrtl): Likewise.
74260         [non-C99-based standards] (expm1l): Likewise.
74261         [non-C99-based standards] (ilogbl): Likewise.
74262         [non-C99-based standards] (log1pl): Likewise.
74263         [non-C99-based standards] (logbl): Likewise.
74264         [non-C99-based standards] (nextafterl): Likewise.
74265         [non-C99-based standards] (remainderl): Likewise.
74266         [non-C99-based standards] (rintl): Likewise.
74267         [non-C99-based standards] (scalbl): Likewise.
74268         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74269         [non-C99-based standards] (FP_*): Do not allow.
74270         [C99-based standards] (FP_*): Change to
74271         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
74272         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74273         allow.
74274         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
74275         (SIG_ERR): Likewise.
74276         [X/Open-based standards] (SIG_HOLD): Likewise.
74277         (SIG_IGN): Likewise.
74278         (SIGABRT): Use macro-int-constant.  Specify type.  Require
74279         positive value.
74280         (SIGFPE): Likewise.
74281         (SIGILL): Likewise.
74282         (SIGINT): Likewise.
74283         (SIGSEGV): Likewise.
74284         (SIGTER): Likewise.
74285         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
74286         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
74287         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
74288         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
74289         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
74290         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
74291         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
74292         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
74293         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
74294         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
74295         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
74296         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
74297         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
74298         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
74299         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
74300         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
74301         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
74302         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
74303         [X/Open-based standards] (SIGTRAP): Likewise.
74304         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
74305         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
74306         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
74307         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
74308         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74309         allow.
74311 2012-05-08  Ian Wienand  <ianw@vmware.com>
74313         [BZ #14080]
74314         * time/tzset.c (__tzset_parse_tz): Update default rules for
74315         daylight time changes in the Energy Policy Act of 2005.
74317 2012-05-09  Andreas Jaeger  <aj@suse.de>
74319         [BZ #13983]
74320         * elf/ldconfig.c (parse_conf): Change string to make clear that
74321         ldconfig only issued a warning if ld.so.conf does not exist.
74323 2012-05-08  David S. Miller  <davem@davemloft.net>
74325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
74326         movxtod instead of popping the value on the stack.
74328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74330 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
74332         * config.h.in: Add HAVE_ARM_PCS_VFP.
74334 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
74336         [BZ #13979]
74337         * include/features.h: Warn if user requests __FORTIFY_SOURCE
74338         checking but the checks are disabled for any reason.
74340 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
74342         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
74343         and ELF64_R_TYPE with ELFW(R_TYPE).
74345 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
74347         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
74348         (ulimit): Likewise.
74350         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
74351         (settimeofday): Likewise.
74353 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
74355         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
74356         a struct th_u2 inside the union, and move tu_block/tu_code into
74357         a new th_u3 union of tu_block/tu_code inside of that.  Move
74358         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
74359         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
74360         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
74361         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
74362         (th_stuff): Change to th_u1.tu_stuff.
74363         (th_data): Define.
74364         (th_msg): Change to th_u1.th_u2.tu_data.
74366 2012-05-07  David S. Miller  <davem@davemloft.net>
74368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74370         [BZ #14074]
74371         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
74372         (SETUP_PIC_REG): Use it.
74373         (SETUP_PIC_REG_LEAF): Use it.
74375 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
74377         [BZ #13885]
74378         [BZ #13923]
74379         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74380         USE_AS_EXPM1L.
74381         (EXPL_FINITE): Likewise.
74382         (FLDLOG): Likewise.
74383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74384         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74385         e_expl.S.
74386         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74387         USE_AS_EXPM1L.
74388         (EXPL_FINITE): Likewise.
74389         (FLDLOG): Likewise.
74390         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
74391         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
74392         e_expl.S.
74393         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
74394         test of -max_value argument for long double.
74395         * sysdeps/i386/fpu/libm-test-ulps: Update.
74396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74398 2012-05-06  David S. Miller  <davem@davemloft.net>
74400         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
74401         quad soft-float symbols whose references which are compiler
74402         generated.
74403         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74405 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
74407         [BZ #13884]
74408         [BZ #13914]
74409         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74410         USE_AS_EXP10L.
74411         (EXPL_FINITE): Likewise.
74412         (FLDLOG): Likewise.
74413         (c0): Likewise.
74414         (c1): Likewise.
74415         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74416         Adjust comments for base varying.
74417         (__expl_finite): Change alias to EXPL_FINITE.
74418         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
74419         e_expl.S.
74420         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
74421         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
74422         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
74423         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
74424         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
74425         USE_AS_EXP10L.
74426         (EXPL_FINITE): Likewise.
74427         (FLDLOG): Likewise.
74428         (c0): Likewise.
74429         (c1): Likewise.
74430         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
74431         Adjust comments for base varying.
74432         (__expl_finite): Change alias to EXPL_FINITE.
74433         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
74434         tests for bugs.
74435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74437         [BZ #14064]
74438         * math/libm-test.inc (check_float_internal): Correct ulp
74439         calculation for subnormal expected results.
74441 2012-05-06  Andreas Jaeger  <aj@suse.de>
74443         * Makeconfig (+math-flags): New, set to -frounding-math.
74444         (+cflags): Add +math-flags so that all of glibc gets compiled with
74445         it.
74447         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
74449 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
74451         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
74452         Disable one test.
74454         [BZ #13787]
74455         [BZ #13922]
74456         [BZ #14036]
74457         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
74458         (__ieee754_expl): Allow for and saturate large arguments.
74459         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
74460         (u_threshold): Likewise.
74461         (__exp): Call __ieee754_exp before checking for overflow and
74462         underflow.
74463         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
74464         (u_threshold): Likewise.
74465         (__expf): Call __ieee754_expf before checking for overflow and
74466         underflow.
74467         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
74468         (u_threshold): Likewise.
74469         (__expl): Call __ieee754_expl before checking for overflow and
74470         underflow.
74471         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
74472         (__ieee754_expl): Allow for and saturate large arguments.
74473         * math/libm-test.inc (exp_test): Add another test.  Do not allow
74474         missing overflow exception on overflow.
74475         (expm1_test): Do not allow missing overflow exception on overflow.
74477         * sysdeps/i386/fpu/e_expl.c: Move to ...
74478         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
74479         rather than using inline asm.
74480         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
74481         * sysdeps/x86_64/fpu/e_expl.S: Copy from
74482         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
74484         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
74485         (nice): Likewise.
74486         (poll): Likewise.
74487         (signal): Likewise.
74488         (time): Likewise.
74489         (times): Likewise.
74491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74493         * sysdeps/unix/syscalls.list (adjtime): Add entry from
74494         sysdeps/unix/common/syscalls.list.
74495         (fchmod): Likewise.
74496         (fchown): Likewise.
74497         (ftruncate): Likewise.
74498         (getrusage): Likewise.
74499         (gettimeofday): Likewise.
74500         (setpgid): Likewise.
74501         (setregid): Likewise.
74502         (setreuid): Likewise.
74503         (sigaction): Likewise.
74504         (truncate): Likewise.
74505         (vhangup): Likewise.
74506         * sysdeps/unix/common/syscalls.list: Remove file.
74507         * sysdeps/unix/bsd/Implies: Don't include unix/common.
74508         * sysdeps/unix/sysv/linux/Implies: Likewise.
74510 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
74512         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
74513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
74514         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
74515         Moved to ...
74516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
74517         Here.
74518         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
74519         to ...
74520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
74521         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
74522         to ...
74523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
74524         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
74525         to ...
74526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
74527         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
74528         to ...
74529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
74530         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
74531         to ...
74532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
74533         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
74534         to ...
74535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
74536         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
74537         to ...
74538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
74539         Here.
74540         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
74541         to ...
74542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
74543         Here.
74544         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
74545         to ...
74546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
74547         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
74548         Moved to ...
74549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
74550         Here.
74551         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
74552         to ...
74553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
74555 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74557         * sysdeps/unix/common/bits/dirent.h: Remove file.
74558         * sysdeps/unix/common/bits/fcntl.h: Likewise.
74560         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
74561         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
74562         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
74563         * sysdeps/unix/bsd/isatty.c: Likewise.
74564         * sysdeps/unix/bsd/tcdrain.c: Likewise.
74565         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
74566         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
74568 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74570         [BZ #13563]
74571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
74572         long double comparison inaccuracies.
74573         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
74574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74576 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
74578         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
74579         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
74581 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
74583         [BZ #14049]
74584         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
74585         nonzero digits before rounding a hex value.
74586         * stdlib/tst-strtod.c (tests): Add another test.
74588 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74590         * sysdeps/s390/fpu/libm-test-ulps: Update.
74592 2012-05-03  Andreas Jaeger  <aj@suse.de>
74594         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
74595         does not get optimized out.
74596         (malloc_opt_barrier): New.
74598 2012-05-03  Andreas Jaeger  <aj@suse.de>
74599             Roland McGrath  <roland@hack.frob.com>
74601         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
74602         intermediate file deletion.
74603         (generated): Add .symlist files.
74605 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
74607         [BZ #13775]
74608         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
74609         Redirect under this condition.
74610         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74611         [__USE_GNU] (__dprintf_chk): Not under this condition.
74612         [__USE_GNU] (__vdprintf_chk): Likewise.
74613         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
74614         under this condition.
74615         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
74616         [__USE_XOPEN2K8] (dprintf): Define under this condition.
74617         [__USE_XOPEN2K8] (vdprintf): Likewise.
74618         [__USE_GNU] (__dprintf_chk): Not under this condition.
74619         [__USE_GNU] (__vdprintf_chk): Likewise.
74620         [__USE_GNU] (dprintf): Likewise.
74621         [__USE_GNU] (vdprintf): Likewise.
74623 2012-05-03  Roland McGrath  <roland@hack.frob.com>
74625         * elf/Makefile (common-generated): Set this instead of generated for
74626         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
74627         $(all-built-dso)-derived lists.
74629 2012-05-03  Andreas Jaeger  <aj@suse.de>
74631         * sysdeps/i386/fpu/libm-test-ulps: Update.
74633         * FAQ: Removed.
74634         * FAQ.in: Likewise.
74635         * scripts/gen-FAQ.pl: Likewise.
74636         * manual/install.texi (Installation): Point to online location of
74637         FAQ.
74638         * Makefile (files-for-dist): Remove FAQ.
74639         (FAQ): Remove.
74641 2012-05-02  Allan McRae  <allan@archlinux.org>
74643         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
74644         (LDFLAGS-reldepmod5.so): Likewise.
74645         (LDFLAGS-reldep6mod1.so): Likewise.
74646         (LDFLAGS-reldep6mod4.so): Likewise.
74647         (LDFLAGS-reldep8mod3.so): Likewise.
74648         (LDFLAGS-unload4mod1.so): Likewise.
74649         (LDFLAGS-unload4mod2.so): Likewise.
74650         (LDFLAGS-tst-initorder): Likewise.
74651         (LDFLAGS-tst-initordera2.so): Likewise.
74652         (LDFLAGS-tst-initordera3.so): Likewise.
74653         (LDFLAGS-tst-initordera4.so): Likewise.
74654         (LDFLAGS-tst-initorderb2.so): Likewise.
74655         (LDFLAGS-noload): Likewise.
74656         (LDFLAGS-next): Likewise.
74657         (LDFLAGS-order2mod1.so): Likewise.
74658         (LDFLAGS-order2mod2.so): Likewise.
74659         (LDFLAGS-tst-initorder2): Likewise.
74660         (LDFLAGS-tst-initorder2a.so): Likewise.
74661         (LDFLAGS-tst-initorder2b.so): Likewise.
74662         (LDFLAGS-tst-initorder2c.so): Likewise.
74663         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
74665 2012-05-02  David S. Miller  <davem@davemloft.net>
74667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74669 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
74671         [BZ #14055]
74672         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
74674 2012-05-02  Andreas Jaeger  <aj@suse.de>
74676         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
74677         since we manipulate rounding mode.
74678         (CPPFLAGS-test-idouble.c): Likewise.
74679         (CPPFLAGS-test-ifloat.c): Likewise.
74680         (CFLAGS-test-ldouble.c): Likewise.
74681         (CFLAGS-test-double.c): Likewise.
74682         (CFLAGS-test-float.c): Likewise.
74683         (CFLAGS-test-misc.c): Likewise.
74684         (CFLAGS-test-test-fenv.c): Likewise.
74686 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74688         [BZ #2550]
74689         [BZ #2570]
74690         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
74691         comparisons to determine direction to adjust input.
74693 2012-05-01  Roland McGrath  <roland@hack.frob.com>
74695         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
74696         output to the target.
74698         * scripts/localplt.awk: New file.
74699         * elf/Makefile ($(objpfx)check-localplt): Target removed.
74700         (check-localplt-CFLAGS): Variable removed.
74701         ($(all-built-dso:=.jmprel)): New static pattern rule.
74702         (generated): Add those targets.
74703         (localplt-built-dso): New variable.
74704         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
74706         * elf/check-localplt.c: File removed.
74708         * scripts/check-execstack.awk: New file.
74709         * elf/Makefile ($(objpfx)check-execstack): Target removed.
74710         (check-execstack-CFLAGS): Variable removed.
74711         ($(objpfx)check-execstack.h): Target removed.
74712         ($(objpfx)execstack-default): New target.
74713         (generated): Add that instead of check-execstack.h.
74714         ($(all-built-dso:=.phdr)): New static pattern rule.
74715         (generated): Add those targets.
74716         * elf/check-execstack.c: File removed.
74718         * scripts/check-textrel.awk: New file.
74719         * elf/Makefile ($(objpfx)check-textrel): Target removed.
74720         (check-textrel-CFLAGS): Variable removed.
74721         (all-built-dso): Use := to define.o
74722         ($(all-built-dso:=.dyn)): New static pattern rule.
74723         (generated): Add those targets.
74724         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
74725         * config.make.in (READELF): New substituted variable.
74726         * elf/check-textrel.c: File removed.
74728 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
74730         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
74731         allow.
74732         * conform/data/ctype.h-data [C99-based standards] (isblank):
74733         Expect function.
74734         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
74735         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
74736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74737         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
74738         Specify type.  Require positive value.
74739         (EILSEQ): Likewise.
74740         (ERANGE): Likewise.
74741         [ISO || POSIX] (EILSEQ): Do not expect.
74742         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
74743         Specify type.  Require positive value.
74744         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
74745         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
74746         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
74747         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
74748         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
74749         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
74750         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
74751         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
74752         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
74753         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
74754         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
74755         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
74756         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
74757         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
74758         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
74759         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
74760         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
74761         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
74762         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
74763         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
74764         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
74765         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
74766         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
74767         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
74768         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
74769         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
74770         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
74771         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
74772         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
74773         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
74774         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
74775         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
74776         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
74777         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
74778         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
74779         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
74780         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
74781         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
74782         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
74783         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
74784         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
74785         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
74786         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
74787         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
74788         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
74789         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
74790         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
74791         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
74792         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
74793         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
74794         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
74795         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
74796         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
74797         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
74798         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
74799         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
74800         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
74801         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
74802         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
74803         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
74804         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
74805         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
74806         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
74807         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
74808         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
74809         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
74810         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
74811         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
74812         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
74813         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
74814         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
74815         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
74816         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
74817         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
74818         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
74819         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
74820         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
74821         Require >= 2.
74822         (FLT_ROUNDS): Expect as macro, not constant.
74823         (FLT_MANT_DIG): Use macro-int-constant.
74824         (DBL_MANT_DIG): Likewise.
74825         (LDBL_MANT_DIG): Likewise.
74826         (FLT_DIG): Likewise.
74827         (DBL_DIG): Likewise.
74828         (LDBL_DIG): Likewise.
74829         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
74830         (DBL_MIN_EXP): Likewise.
74831         (LDBL_MIN_EXP): Likewise.
74832         (FLT_MAX_EXP): Use macro-int-constant.
74833         (DBL_MAX_EXP): Likewise.
74834         (LDBL_MAX_EXP): Likewise.
74835         (FLT_MAX_10_EXP): Likewise.
74836         (DBL_MAX_10_EXP): Likewise.
74837         (LDBL_MAX_10_EXP): Likewise.
74838         (FLT_MAX): Use macro-constant.
74839         (DBL_MAX): Likewise.
74840         (LDBL_MAX): Likewise.
74841         (FLT_EPSILON): Use macro-constant.  Give upper bound.
74842         (DBL_EPSILON): Likewise.
74843         (LDBL_EPSILON): Likewise.
74844         (FLT_MIN): Likewise.
74845         (DBL_MIN): Likewise.
74846         (LDBL_MIN): Likewise.
74847         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
74848         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
74849         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
74850         [ISO11] (FLT_HAS_SUBNORM): Likewise.
74851         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
74852         [ISO11] (DBL_DECIMAL_DIG): Likewise.
74853         [ISO11] (FLT_DECIMAL_DIG): Likewise.
74854         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
74855         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
74856         [ISO11] (FLT_TRUE_MIN): Likewise.
74857         [ISO11] (LDBL_TRUE_MIN): Likewise.
74858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74859         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
74860         (SCHAR_MIN): Use macro-int-constant.  Specify type.
74861         (SCHAR_MAX): Likewise.
74862         (UCHAR_MAX): Likewise.
74863         (CHAR_MIN): Likewise.
74864         (CHAR_MAX): Likewise.
74865         (MB_LEN_MAX): Use macro-int-constant.
74866         (SHRT_MIN): Use macro-int-constant.  Specify type.
74867         (SHRT_MAX): Likewise.
74868         (USHRT_MAX): Likewise.
74869         (INT_MAX): Likewise.
74870         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
74871         bound negative.
74872         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74873         bound with "U".
74874         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74875         bound with "L".
74876         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
74877         bound negative.  Suffix upper bound with "L".
74878         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
74879         bound with "UL".
74880         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
74881         Specify type.
74882         [C99-based standards] (LLONG_MAX): Likewise.
74883         [C99-based standards] (ULLONG_MAX): Likewise.
74884         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
74885         == 0.
74886         [ISO11] (max_align_t): Require type.
74887         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74889         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
74890         from $CFLAGS, without defining away __attribute__ calls.
74891         (checknamespace): Use $CFLAGS_namespace.
74893         * conform/conformtest.pl (@keywords): Only include C99 keywords
74894         for standards based on C99 or C11.
74896         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
74897         Disable tests.
74898         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
74899         UNIX98]: Likewise.
74901         * conform/conformtest.pl: Handle "macro-int-constant" and test for
74902         usability of symbols in #if.
74904         * conform/conformtest.pl: If macro or constant types start
74905         "promoted:", expect the symbol to be of the following type
74906         promoted by the integer promotions.
74908         * conform/conformtest.pl: Parse all "constant" and "macro" lines
74909         in one place.  Also handle "macro-constant".
74911         * conform/conformtest.pl: Only accept expected macro values with
74912         "==".  Parse all "macro" lines in one place.
74913         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
74915         * conform/conformtest.pl: Handle braced types on "constant" lines
74916         instead of handling "typed-constant".
74917         * conform/data/signal.h-data: Use "constant" instead of
74918         "typed-constant".
74920         * conform/conformtest.pl: Handle "optional-" at start of lines in
74921         one place rather than duplicating several cases.  Handle each
74922         format of "macro" line with initial "optional-".
74924         * conform/conformtest.pl: Only accept expected constant or
74925         optional-constant values with "==".  Parse all "constant" lines in
74926         one place.  Parse all "optional-constant" lines in one place.
74927         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
74928         * conform/data/fmtmsg.h-data: Likewise.
74929         * conform/data/netinet/in.h-data: Likewise.
74930         * conform/data/tar.h-data: Likewise.
74931         * conform/data/limits.h-data: Use "==" form on "constant" and
74932         "optional-constant" lines.
74934         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
74935         Use -std=c99 for XOPEN2K.
74936         (@knownproblems): Remove.
74937         (newtoken): Don't check %isknown.
74939         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
74940         Do not expect macro.
74941         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
74942         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
74943         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
74944         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
74945         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
74946         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
74947         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
74948         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
74949         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
74950         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
74951         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
74952         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
74953         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
74954         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
74955         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
74956         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
74957         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
74958         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
74959         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
74960         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
74961         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
74962         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
74963         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
74964         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
74965         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
74966         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
74967         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
74968         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
74969         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
74970         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
74971         [XPG3] (acosh): Likewise.
74972         [XPG3] (asinh): Likewise.
74973         [XPG3] (atanh): Likewise.
74974         [XPG3] (cbrt): Likewise.
74975         [XPG3] (expm1): Likewise.
74976         [XPG3] (ilogb): Likewise.
74977         [XPG3] (log1p): Likewise.
74978         [XPG3] (logb): Likewise.
74979         [XPG3] (nextafter): Likewise.
74980         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
74981         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
74982         [XPG3] (remainder): Likewise.
74983         [XPG3] (rint): Likewise.
74984         [XPG3 || XPG4 || UNIX98] (round): Likewise.
74985         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
74986         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
74987         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
74988         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
74989         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
74990         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
74991         [UNIX98 || XOPEN2K] (scalb): Expect.
74992         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
74993         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
74994         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
74995         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
74996         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
74997         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
74998         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
74999         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
75000         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
75001         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
75002         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
75003         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
75004         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
75005         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
75006         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
75007         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
75008         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
75009         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
75010         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
75011         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
75012         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
75013         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
75014         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
75015         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
75016         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
75017         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
75018         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
75019         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
75020         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
75021         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
75022         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
75023         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
75024         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
75025         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
75026         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
75027         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
75028         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
75029         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
75030         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
75031         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
75032         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
75033         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
75034         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
75035         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
75036         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
75037         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
75038         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
75039         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
75040         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
75041         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
75042         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
75043         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
75044         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
75045         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
75046         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
75047         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
75048         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
75049         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
75050         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
75051         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
75052         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
75053         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
75054         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
75055         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
75056         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
75057         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
75058         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
75059         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
75060         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
75061         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
75062         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
75063         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
75064         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
75065         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
75066         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
75067         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
75068         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
75069         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
75070         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
75071         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
75072         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
75073         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
75074         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
75075         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
75076         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
75077         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
75078         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
75079         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
75080         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
75081         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
75082         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
75083         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
75084         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
75085         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
75086         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
75087         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
75088         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
75089         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
75090         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
75091         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
75092         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
75093         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
75094         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
75095         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
75096         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
75097         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
75098         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
75099         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
75100         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
75101         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
75102         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
75103         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
75104         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
75105         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
75106         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
75107         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
75108         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
75109         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
75110         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
75111         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
75112         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
75113         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
75114         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
75115         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
75116         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
75117         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
75118         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
75119         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
75120         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
75121         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
75122         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
75123         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
75124         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
75125         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
75126         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
75127         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
75128         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
75130         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
75131         _XOPEN_SOURCE_EXTENDED for XPG4.
75133         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
75135         * Makeconfig (localtime): Remove variable.
75136         (inst_localtime-file): Likewise.
75138 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
75141         Update.
75142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75143         Update.
75144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
75145         Update.
75146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
75147         Update.
75148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
75149         Update.
75150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
75151         Update.
75152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75153         Update.
75154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
75155         Update.
75156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75157         Update.
75159 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75161         [BZ #2550]
75162         [BZ #2570]
75163         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
75164         comparisons to determine direction to adjust input.
75165         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
75166         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
75167         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
75168         Likewise.
75169         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
75170         Likewise.
75171         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
75172         Likewise.
75173         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
75174         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
75175         Likewise.
75176         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
75177         Likewise.
75178         * math/libm-test.inc (nexttoward_test): Add more tests.
75180 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
75182         [BZ #14040]
75183         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
75184         in version GLIBC_2.1, not GLIBC_2.0.
75185         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
75186         Likewise.
75188 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
75190         [BZ #13942]
75191         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
75192         (1 - x) * (1 + x).
75193         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75194         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
75195         * math/libm-test.inc (acos_test): Add more tests.
75196         (asin_test): Likewise.
75197         * sysdeps/i386/fpu/libm-test-ulps: Update.
75198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75200         [BZ #14034]
75201         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
75202         of square root.
75203         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
75204         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
75205         * math/libm-test.inc (acos_test_tonearest): New function.
75206         (acos_test_towardzero): Likewise.
75207         (acos_test_downward): Likewise.
75208         (acos_test_upward): Likewise.
75209         (asin_test_tonearest): Likewise.
75210         (asin_test_towardzero): Likewise.
75211         (asin_test_downward): Likewise.
75212         (asin_test_upward): Likewise.
75213         (main): Call the new functions.
75214         * sysdeps/i386/fpu/libm-test-ulps: Update.
75215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75217         [BZ #13884]
75218         [BZ #13924]
75219         * math/e_exp10.c: Include <float.h>.
75220         (__ieee754_exp10): Handle underflow here rather than multiplying
75221         large negative argument by M_LN10.
75222         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
75223         of __ieee754_expf.
75224         * math/e_exp10l.c: Include <float.h>.
75225         (__ieee754_exp10l): Handle underflow here rather than multiplying
75226         large negative argument by M_LN10l.
75227         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
75228         spurious overflow exception on underflow.
75230 2012-04-29  Marek Polacek  <polacek@redhat.com>
75232         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75233         (__fortify_function): New macro.
75234         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
75235         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
75236         __extern_always_inline.
75237         * libio/bits/stdio2.h: Likewise.
75238         * libio/bits/stdio.h: Likewise.
75239         * string/string.h: Likewise.
75240         * string/bits/string3.h: Likewise.
75241         * include/stdio.h: Likewise.
75242         * stdlib/bits/stdlib.h: Likewise.
75243         * stdlib/stdlib.h: Likewise.
75244         * rt/bits/mqueue2.h: Likewise.
75245         * rt/mqueue.h: Likewise.
75246         * posix/bits/unistd.h: Likewise.
75247         * posix/unistd.h: Likewise.
75248         * io/bits/poll2.h: Likewise.
75249         * io/bits/fcntl2.h: Likewise.
75250         * io/fcntl.h: Likewise.
75251         * io/sys/poll.h: Likewise.
75252         * misc/bits/syslog.h: Likewise.
75253         * misc/bits/syslog-ldbl.h: Likewise.
75254         * misc/sys/syslog.h: Likewise.
75255         * socket/bits/socket2.h: Likewise.
75256         * socket/sys/socket.h: Likewise.
75257         * debug/tst-chk1.c: Likewise.
75258         * wcsmbs/bits/wchar2.h: Likewise.
75259         * wcsmbs/bits/wchar-ldbl.h: Likewise.
75260         * wcsmbs/wchar.h: Likewise.
75262 2012-04-29  Andreas Jaeger  <aj@suse.de>
75264         * Makerules (tests): Remove enable-check-abi protection.
75265         (check-abi-warn): Remove.
75266         (check-abi-%): Remove check-abi-warn usage.
75268         * configure.in: Remove check-abi configure option.
75269         * configure: Regenerated.
75270         * config.make.in (enable-check-abi): Remove.
75272 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
75274         [BZ #14033]
75275         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
75276         double functions to double *_finite functions.
75278         [BZ #13941]
75279         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
75280         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
75281         LDBL_MIN_EXP.
75282         * stdio-common/Makefile (tests): Add tst-sprintf3.
75283         * stdio-common/tst-sprintf3.c: New file.
75285         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
75286         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
75288 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75290         * conform/conformtest.pl: Remove duplicate typed-constant
75291         handling.
75293 2012-04-28  David S. Miller  <davem@davemloft.net>
75295         * Makerules (%.abilist): Add vpath on sysdep_dirs.
75296         (check-abi-%): Remove AWK script prerequisite and explicit
75297         abilist directory.
75298         (check-abi): Rewrite to just diff the symlist with the abilist.
75299         (config-tls, config-abi-config): Delete, no longer used.
75300         (update-abi-%): Remove AWK script and explicit abilist directory.
75301         (update-abi): Rewrite to simply compare and conditionally copy the
75302         symlist and the sysdep abilist file.  Remove update-abi-config
75303         checks.
75304         * abilist/ld.abilist: Remove.
75305         * abilist/libBrokenLocale.abilist: Remove.
75306         * abilist/libanl.abilist: Remove.
75307         * abilist/libcrypt.abilist: Remove.
75308         * abilist/libdl.abilist: Remove.
75309         * abilist/librt.abilist: Remove.
75310         * abilist/libthread_db.abilist: Remove.
75311         * abilist/libutil.abilist: Remove.
75312         * scripts/extract-abilist.awk: Remove.
75313         * scripts/merge-abilist.awk: Remove.
75314         * sysdeps/generic/libcidn.abilist: New file.
75315         * sysdeps/generic/libnss_compat.abilist: New file.
75316         * sysdeps/generic/libnss_db.abilist: New file.
75317         * sysdeps/generic/libnss_dns.abilist: New file.
75318         * sysdeps/generic/libnss_files.abilist: New file.
75319         * sysdeps/generic/libnss_hesiod.abilist: New file.
75320         * sysdeps/generic/libnss_nis.abilist: New file.
75321         * sysdeps/generic/libnss_nisplus.abilist: New file.
75322         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
75323         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
75324         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
75325         file.
75326         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
75327         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
75328         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
75329         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
75330         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
75331         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
75332         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
75333         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
75334         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
75335         file.
75336         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
75337         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
75338         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
75339         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
75340         file.
75341         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
75342         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
75343         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
75344         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
75345         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
75346         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
75347         file.
75348         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
75349         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
75350         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
75351         file.
75352         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
75353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
75354         New file.
75355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
75356         New file.
75357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
75358         New file.
75359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
75360         New file.
75361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
75362         New file.
75363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
75364         New file.
75365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
75366         New file.
75367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
75368         New file.
75369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
75370         New file.
75371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
75372         New file.
75373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
75374         New file.
75375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
75376         New file.
75377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
75378         New file.
75379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
75380         file.
75381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
75382         New file.
75383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
75384         New file.
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
75386         file.
75387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
75388         New file.
75389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
75390         New file.
75391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
75392         file.
75393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
75394         New file.
75395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
75396         New file.
75397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
75398         New file.
75399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
75400         New file.
75401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
75402         New file.
75403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
75404         New file.
75405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
75406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
75407         file.
75408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
75409         New file.
75410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
75411         file.
75412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
75413         file.
75414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
75415         file.
75416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
75417         file.
75418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
75419         file.
75420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
75421         New file.
75422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
75423         file.
75424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
75425         file.
75426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
75427         New file.
75428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
75429         file.
75430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
75431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
75432         file.
75433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75434         New file.
75435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
75436         file.
75437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
75438         file.
75439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
75440         file.
75441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
75442         file.
75443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
75444         file.
75445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
75446         New file.
75447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
75448         file.
75449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
75450         file.
75451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
75452         New file.
75453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
75454         file.
75455         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
75456         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
75457         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
75458         file.
75459         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
75460         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
75461         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
75462         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
75463         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
75464         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
75465         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
75466         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
75467         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
75468         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
75469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
75470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
75471         file.
75472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
75473         New file.
75474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
75475         file.
75476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
75477         file.
75478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
75479         file.
75480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
75481         file.
75482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
75483         file.
75484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75485         New file.
75486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
75487         New file.
75488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
75489         file.
75490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
75491         New file.
75492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
75493         file.
75494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
75495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
75496         file.
75497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
75498         New file.
75499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
75500         file.
75501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
75502         file.
75503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
75504         file.
75505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
75506         file.
75507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
75508         file.
75509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
75510         New file.
75511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
75512         New file.
75513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
75514         file.
75515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
75516         New file.
75517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
75518         file.
75520 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
75522         * conform/conformtest.pl: Fix typo in handling typed-constant from
75523         allow-header.
75525 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75527         * README: Cut down references to pre-2.6 Linux kernels and
75528         Linuxthreads.  Update lists of configurations in libc and ports
75529         and sort alphabetically.  Say "or newer" with Linux kernel version
75530         requirements.
75532         * config.h.in [IS_IN_build]: Allow compiling without optimization.
75534 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
75536         [BZ #887]
75537         * math/libm-test.inc (logb_test_downward): New test to expose
75538         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
75539         rounding mode.
75541 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
75543         [BZ #14027]
75544         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
75545         to be done.
75546         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
75547         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
75549 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
75551         * sysdeps/unix/i386/brk.S: Remove file.
75552         * sysdeps/unix/i386/dl-brk.S: Likewise.
75553         * sysdeps/unix/i386/pipe.S: Likewise.
75554         * sysdeps/unix/i386/sigreturn.S: Likewise.
75555         * sysdeps/unix/i386/syscall.S: Likewise.
75556         * sysdeps/unix/i386/vfork.S: Likewise.
75557         * sysdeps/unix/i386/wait.S: Likewise.
75559         * sysdeps/unix/common/tcsendbrk.c: Move to ...
75560         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
75562         * configure.in (arm*-none*): Do not allow without
75563         --enable-hacker-mode.
75564         (netbsd*): Remove case setting base_os.
75565         (386bsd*): Likewise.
75566         (freebsd*): Likewise.
75567         (bsdi*): Likewise.
75568         (osf*): Likewise.
75569         (sunos*): Likewise.
75570         (ultrix*): Likewise.
75571         (newsos*): Likewise.
75572         (dynix*): Likewise.
75573         (*bsd*): Likewise.
75574         (sysv*): Likewise.
75575         (isc*): Likewise.
75576         (esix*): Likewise.
75577         (sco*): Likewise.
75578         (minix*): Likewise.
75579         (irix4*): Likewise.
75580         (irix6*): Likewise.
75581         (solaris[2-9]*): Likewise.
75582         (none): Likewise.
75583         * configure: Regenerated.
75585 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75587         [BZ #11521]
75588         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
75589         overflow or cancellation in calculating denominator.
75590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
75591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
75592         down expression to avoid unexpected rounding in newer GCCs.
75593         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
75595 2012-04-26  David S. Miller  <davem@davemloft.net>
75597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
75598         long-double compat symbols.
75599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
75603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
75605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
75606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
75607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
75608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
75609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
75610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
75611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
75613 2012-04-25  David S. Miller  <davem@davemloft.net>
75615         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
75616         HWCAP_* values only after the memory barriers have been defined.
75617         (atomic_full_barrier): Define.
75618         (atomic_read_barrier): Define.
75619         (atomic_write_barrier): Define.
75621 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75623         * shlib-versions: Add libgcc_s version information.
75624         * sysdeps/generic/libgcc_s.h: Remove.
75625         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
75626         libgcc_s.h.
75627         * sysdeps/gnu/unwind-resume.c: Likewise.
75628         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
75630 2012-04-25  David S. Miller  <davem@davemloft.net>
75632         * sysdeps/unix/sparc/brk.S: Delete.
75633         * sysdeps/unix/sparc/dl-brk.S: Delete.
75634         * sysdeps/unix/sparc/pipe.S: Delete.
75635         * sysdeps/unix/sparc/sysdep.S: Delete.
75636         * sysdeps/unix/sparc/sysdep.h: Delete.
75637         * sysdeps/unix/sparc/vfork.S: Delete.
75638         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
75639         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
75640         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
75641         (ret_ERRVAL, r0, r1, MOVE): Define.
75642         (JUMPTARGET): Remove.
75643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
75644         sysdeps/unix/sparc/sysdep.h
75645         (ENTRY, END): Remove.
75646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75648 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
75650         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
75651         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
75652         -DIS_IN_build.
75654         * timezone/README: Update upstream location and email address for
75655         tzcode and tzdata.
75656         * timezone/zdump.c: Update from tzcode 2012b.
75657         * timezone/zic.c: Likewise.
75659         * configure.in (libc_cv_as_needed): Remove test.
75660         * configure: Regenerated.
75661         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
75662         conditional definition.
75663         [$(have-as-needed) != yes] (no-as-needed): Likewise.
75664         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
75665         * config.make.in (have-as-needed): Remove variable.
75667 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75668             Paul Pluzhnikov  <ppluzhnikov@google.com>
75670         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
75671         strings correctly.
75673 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
75675         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
75676         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
75677         * sysdeps/sh/strlen.S: Likewise.
75679 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75681         * sysdeps/unix/fork.S: Remove file.
75682         * sysdeps/unix/i386/fork.S: Likewise.
75683         * sysdeps/unix/sparc/fork.S: Likewise.
75685         * sysdeps/unix/system.c: Remove file.
75686         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75688         * sysdeps/unix/getegid.S: Remove file.
75689         * sysdeps/unix/geteuid.S: Likewise.
75691 2012-04-24  Roland McGrath  <roland@hack.frob.com>
75693         * scripts/check-localplt.awk: New file.
75694         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
75695         of diff.
75696         * scripts/data/localplt-generic.data: Add a comment.
75698         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
75699         NODE when __dir_mkfile failed.
75700         * sysdeps/mach/hurd/symlinkat.c: Likewise.
75701         Reported by Ludovic Courtès <ludo@gnu.org>.
75703 2012-04-24  Andreas Jaeger  <aj@suse.de>
75705         * Makerules (common-clean): Also remove gen-as-const-headers
75706         files.
75708 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75710         * Makerules (native-compile): Do not change working directory for
75711         build.  Use $(OUTPUT_OPTION) in command.
75712         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
75714 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75716         [BZ #13886]
75717         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
75718         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
75719         * math/libm-test.inc (floor_test): Add more tests.
75720         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
75722 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
75724         * sysdeps/unix/getdents.c: Remove file.
75725         * sysdeps/unix/sysv/getdents.c: Likewise.
75726         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
75728         * sysdeps/unix/syscalls.list (madvise): Add syscall from
75729         sysdeps/unix/mman/syscalls.list.
75730         (mmap): Likewise.
75731         (mprotect): Likewise.
75732         (msync): Likewise.
75733         (munmap): Likewise.
75734         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
75735         * sysdeps/unix/mman/syscalls.list: Remove.
75736         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
75738         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
75739         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
75740         * configure: Regenerated.
75741         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
75742         $(libgcc_s_suffix).
75743         * config.make.in (libgcc_s_suffix): Remove variable.
75745 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
75747         * sysdeps/unix/sysv/gethostname.c: Move to ...
75748         * sysdeps/posix/gethostname.c: ... here.
75750         * sysdeps/unix/execve.S: Remove file.
75752         * sysdeps/unix/_exit.S: Remove file.
75754 2012-04-23  Andreas Jaeger  <aj@suse.de>
75756         [BZ #13739]
75757         * manual/Makefile: Remove make dist support, there's no
75758         need for a stand-alone documentation tar ball.
75759         (TEXI2DVI): Define always, it's not in Makeconfig.
75760         (dist): Removed.
75761         (tar-it): Removed.
75762         (edition): Removed.
75763         (glibc-doc-$(edition).tar): Removed
75764         (%.Z): Removed.
75765         (%.gz): Removed.
75766         (%.uu): Removed.
75767         (ETAGS): Remove, it's in Makeconfig.
75768         (move-if-change): Remove, it's in Makeconfig.
75770 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
75772         [BZ #13970]
75773         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
75774         (strtod, strtof, strtold, strtol, strtoul, strtoq)
75775         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
75776         (strtod_l, strtof_l, strtold_l): Remove __wur.
75777         It is not necessarily an error to ignore strtol's return value.
75778         One can reliably look at the stored endptr to decide whether
75779         the number had valid syntax.
75781 2012-04-21  Andreas Jaeger  <aj@suse.de>
75783         [BZ #13739]
75784         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
75786 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
75788         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
75789         * sysdeps/unix/sysv/Versions: Remove file.
75791 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
75793         [BZ #13927]
75794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75796 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
75798         [BZ #7064]
75799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
75800         version from __vm86.
75802 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
75804         * sysdeps/unix/common/lxstat.c: Remove file.
75805         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
75807         * sysdeps/unix/sysv/Makefile: Remove file.
75809         * sysdeps/unix/sysv/direct.h: Remove file.
75811         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
75812         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
75813         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
75814         * sysdeps/unix/sysv/bits/signum.h: Likewise.
75815         * sysdeps/unix/sysv/bits/stat.h: Likewise.
75816         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
75817         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
75819         * sysdeps/unix/sysv/setrlimit.c: Remove file.
75821         * sysdeps/unix/xmknod.c: Remove file.
75822         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
75824         * sysdeps/unix/sysv/settimeofday.c: Remove file.
75826         * sysdeps/unix/sysv/i386/time.S: Remove file.
75828         * sysdeps/unix/fxstat.c: Remove file.
75829         * sysdeps/unix/xstat.c: Likewise.
75830         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
75832         * sysdeps/unix/sysv/sigaction.c: Remove file.
75834         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
75835         (sysdep_headers): Remove variable.
75836         [termio.h not in sysdep_headers] (generated): Likewise.
75837         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
75838         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
75839         * sysdeps/unix/sysv/tcdrain.c: Likewise.
75840         * sysdeps/unix/sysv/tcflow.c: Likewise.
75841         * sysdeps/unix/sysv/tcflush.c: Likewise.
75842         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
75843         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
75844         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
75845         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
75846         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
75848         * sysdeps/unix/siglist.c: Remove file.
75850         * sysdeps/unix/getppid.S: Remove file.
75852         * sysdeps/unix/mkdir.c: Remove file.
75853         * sysdeps/unix/rmdir.c: Likewise.
75855 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
75857         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
75858         ERR_MAX value.
75859         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
75860         errlist-compat value.
75862 2012-04-18  David S. Miller  <davem@davemloft.net>
75864         * sysdeps/generic/memcopy.h (reg_char): Delete.
75865         * debug/strcat_chk.c: Use char, not reg_char.
75866         * debug/strcpy_chk.c: Likewise.
75867         * debug/strncat_chk.c: Likewise.
75868         * debug/strncpy_chk.c: Likewise.
75869         * string/memchr.c: Likewise.
75870         * string/memrchr.c: Likewise.
75871         * string/rawmemchr.c: Likewise.
75872         * string/strcat.c: Likewise.
75873         * string/strchr.c: Likewise.
75874         * string/strchrnul.c: Likewise.
75875         * string/strcmp.c: Likewise.
75876         * string/strcpy.c: Likewise.
75877         * string/strncat.c: Likewise.
75878         * string/strncmp.c: Likewise.
75879         * string/strncpy.c: Likewise.
75881 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75883         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
75884         __builtin_memcopy is called when src and dest ranges are known to not
75885         overlap.
75887 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75889         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
75890         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
75891         fwd_align_merge macro call.
75892         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
75893         bwd_align_merge macro call.
75894         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75896 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
75898         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
75899         bwd_align_merge macros.
75900         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
75901         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
75902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
75904 2012-04-18  David S. Miller  <davem@davemloft.net>
75906         * sysdeps/sparc/sparc64/memcopy.h: Delete.
75908 2012-04-18  Andreas Jaeger  <aj@suse.de>
75910         [BZ# 6794]
75911         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
75912         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
75913         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75915         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
75916         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
75917         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75919         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
75920         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
75921         Adjust for changed ldbl-128 files.
75923         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
75924         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
75925         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
75927 2012-04-17  David S. Miller  <davem@davemloft.net>
75929         * sysdeps/sparc/sparc32/memcopy.h: Delete.
75931 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
75933         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
75934         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
75935         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
75936         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
75937         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
75938         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
75940 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75942         [BZ #6794]
75943         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
75944         * math/libm-test.inc: Add ilogb errno and exception tests.
75945         * math/w_ilogb.c: New file: ilogb wrapper.
75946         * math/w_ilogbf.c: New file: ilogbf wrapper.
75947         * math/w_ilogbl.c: New file: ilogbl wrapper.
75948         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
75949         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
75950         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
75951         exception being thrown with 0.0 as argument.
75952         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
75953         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
75954         exception being thrown with 0.0 as argument.
75955         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
75956         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75957         exception being thrown with 0.0 as argument.
75958         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
75959         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
75960         exception being thrown with 0.0 as argument.
75961         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
75962         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
75963         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
75964         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
75965         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
75966         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
75967         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
75968         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
75969         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
75971 2012-04-17  Petr Baudis  <pasky@ucw.cz>
75973         * include/sys/uio.h: Change __vector to __iovec to avoid clash
75974         with altivec.
75976 2012-04-16  Marek Polacek  <polacek@redhat.com>
75978         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
75980 2012-04-16  Marek Polacek  <polacek@redhat.com>
75982         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
75983         operands of fdivp instruction.
75985 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
75987         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
75988         * elf/tst-auditmod3b.c: Likewise.
75989         * elf/tst-auditmod4b.c: Likewise.
75990         * elf/tst-auditmod5b.c: Likewise.
75991         * elf/tst-auditmod6b.c: Likewise.
75992         * elf/tst-auditmod6c.c: Likewise.
75993         * elf/tst-auditmod7b.c: Likewise.
75994         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
75995         * sysdeps/x86_64/preconfigure.in: Likewise.
75996         * sysdeps/x86_64/preconfigure: Regenerated.
75998 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76000         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
76001         __ILP32__.
76003 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
76005         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76006         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
76008 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
76010         [BZ #13973]
76011         * locale/iso-639.def: Fix gl language name. Spotted by
76012         Yaron Shahrabani.
76014 2012-04-12  Roland McGrath  <roland@hack.frob.com>
76016         [BZ #2074]
76017         * libio/libio.h (__io_write_fn): Update comment.
76019 2012-04-12  Petr Baudis  <pasky@ucw.cz>
76021         [BZ #2074]
76022         * stdio.texi (Hook Functions): The user provided writer function
76023         is not allowed to return -1.
76025 2012-04-11  David S. Miller  <davem@davemloft.net>
76027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76029 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
76031         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
76032         Add a leading slash to rtkaio.
76034 2012-04-11  Jim Meyering  <meyering@redhat.com>
76036         [BZ #11959]
76037         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
76038         It is not necessarily an error to ignore fwrite's return
76039         value.  One can reliably use ferror to test for errors after
76040         the fact.
76042 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76044         * bits/types.h (__snseconds_t): New type.
76045         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
76047         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
76048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76049         (__SNSECONDS_T_TYPE): Likewise.
76050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76051         (__SNSECONDS_T_TYPE): Likewise.
76052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76053         (__SNSECONDS_T_TYPE): Likewise.
76055 2012-04-10  Andreas Jaeger  <aj@suse.de>
76057         [BZ #2636]
76058         * manual/time.texi (Processor Time): Return type of times is
76059         elapsed real time since an arbitrary point in the past.
76060         (CPU Time): Move CLK_TCK from here...
76061         (Processor Time): ...to here.  Correct description.
76062         * manual/conf.texi (Constants for Sysconf): Correct description of
76063         _SC_CLK_TCK.
76065 2012-04-10  David S. Miller  <davem@davemloft.net>
76067         [BZ #13967]
76068         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
76069         where the is a gap between DT_REL(A) and DT_JMPREL.
76071 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
76073         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
76074         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76075         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76077 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
76079         * elf/dl-support.c (_dl_inhibit_cache): New variable.
76080         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
76081         (dl_main): Handle --inhibit-cache.
76082         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
76083         _dl_inhibit_cache.
76084         * elf/dl-load.c (_dl_map_object): Use it.
76085         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
76087 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76089         [BZ #13872]
76090         * sysdeps/i386/fpu/e_powl.S (p78): New object.
76091         (__ieee754_powl): Saturate large exponents rather than testing for
76092         overflow of y*log2(x).
76093         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76094         * math/libm-test.inc (pow_test): Do not permit spurious overflow
76095         exceptions.
76097         [BZ #11521]
76098         * math/s_ctan.c: Include <float.h>.
76099         (__ctan): Avoid internal overflow or cancellation in calculating
76100         denominator.
76101         * math/s_ctanf.c: Likewise.
76102         * math/s_ctanl.c: Likewise.
76103         * math/s_ctanh.c: Likewise.
76104         * math/s_ctanhf.c: Likewise.
76105         * math/s_ctanhl.c: Likewise.
76106         * math/libm-test.inc (ctan_test): Add more tests.
76107         (ctanh_test): Likewise.
76108         * sysdeps/i386/fpu/libm-test-ulps: Update.
76109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76111 2012-04-09  Andreas Jaeger  <aj@suse.de>
76113         [BZ #6894]
76114         * manual/filesys.texi (Directory Entries): Mention that d_namlen
76115         is an optional BSD extension.
76117         [BZ #10254]
76118         * manual/stdio.texi (Opening Streams): Document additional fopen
76119         parameters.
76121 2012-04-09  Roland McGrath  <roland@hack.frob.com>
76123         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
76124         %eax without telling the compiler.
76126 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
76128         [BZ # 13963]
76129         * manual/install.texi: Use sourceware.org.
76131 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
76133         [BZ #13873]
76134         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
76135         (__ieee754_pow): Generate overflow and underflow using huge*huge
76136         and tiny*tiny rather than just returning constant infinity or zero
76137         for large exponents.
76138         * math/libm-test.inc (pow_test): Require overflow exceptions for
76139         applicable cases of large exponents.
76141         [BZ #706]
76142         * sysdeps/i386/fpu/e_pow.S (p10): New object.
76143         (__ieee754_pow): Use iterative multiplication algorithm only for
76144         integer exponents with absolute value below 1024.  Check for odd
76145         integer exponents when using algorithm for real exponents.
76146         * math/libm-test.inc (pow_test): Add more tests.
76147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76149 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
76151         [BZ #13705]
76152         * math/libm-test.inc (exp_test): Do not allow overflow exception
76153         on underflow test.
76155 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
76157         [BZ #13705]
76158         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
76159         instead of __kernel_standard_f.
76161 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
76163         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
76164         * sysdeps/x86_64/memset_chk.S: Likewise.
76166 2012-04-08  Andreas Jaeger  <aj@suse.de>
76168         [BZ #10153]
76169         * manual/startup.texi (Environment Access): Describe return value
76170         for putenv and setenv.
76172         [BZ #6895]
76173         * manual/filesys.texi (Directory Entries): Add description for
76174         DT_LNK.
76176         [BZ #6890]
76177         * manual/filesys.texi (Directory Entries): Clarify that it's file
76178         system not operating system in the description of DT_UNKNOWN.
76180         [BZ #6578]
76181         * manual/syslog.texi (closelog): Fix reference, it's openlog.
76183 2012-04-08  Stephen Compall  <s11@member.fsf.org>
76185         [BZ #6649]
76186         * manual/llio.texi (Opening and Closing Files): Add cross
76187         reference to explain mode argument.
76189 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
76191         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
76192         * sysdeps/x86_64/memset_chk.S: Likewise.
76194 2012-04-07  David S. Miller  <davem@davemloft.net>
76196         * elf/elf.h (R_SPARC_WDISP10): Define.
76197         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
76198         R_SPARC_SIZE32.
76199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
76200         R_SPARC_SIZE64 and R_SPARC_H34.
76202 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
76204         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
76205         conditions and remove no longer applicable assertion.
76207 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76209         * bits/byteswap.h: Include <features.h>.
76210         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
76211         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
76213 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
76215         * bits/byteswap.h (__bswap_16): Removed.
76216         Include <bits/byteswap-16.h> to get __bswap_16.
76217         * sysdeps/i386/bits/byteswap.h: Likewise.
76218         * sysdeps/s390/bits/byteswap.h: Likewise.
76219         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76220         * bits/byteswap-16.h: New file.
76221         * sysdeps/i386/bits/byteswap-16.h: Likewise.
76222         * sysdeps/s390/bits/byteswap-16.h: Likewise.
76223         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
76224         * string/Makefile (headers): Add bits/byteswap-16.h.
76226 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76228         [BZ #13895]
76229         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
76230         extra indirection.
76231         * nss/Makefile (tests-static, tests): Add tst-nss-static.
76232         * nss/tst-nss-static.c: New.
76234 2012-04-06  Robert Millan  <rmh@gnu.org>
76236         [BZ #6486]
76237         * manual/llio.texi (File Position Primitive): lseek
76238         refers to WHENCE when it really means OFFSET.
76240 2012-04-06  Andreas Jaeger  <aj@suse.de>
76242         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
76243         strncmp declarations.
76245         * abilist/libc.abilist: Add __poll and __ppoll.
76247 2012-04-05  David S. Miller  <davem@davemloft.net>
76249         * scripts/check-local-headers.sh: Accept a host triplet in the
76250         path matched by the exclude regexp.
76252         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
76253         definition.
76254         * sysdeps/powerpc/powerpc32/dl-machine.h
76255         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
76256         * sysdeps/s390/s390-32/dl-machine.h
76257         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76258         * sysdeps/sparc/sparc32/dl-machine.h
76259         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76260         * sysdeps/sparc/sparc64/dl-machine.h
76261         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
76263         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76264         lazy binding.
76265         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
76266         undefined symbol errors.
76268         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
76269         DT_NEEDED entries.
76271 2012-04-05  Michael Matz  <matz@suse.de>
76273         [BZ #13592]
76274         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
76276 2012-04-05  Andreas Jaeger  <aj@suse.de>
76278         [BZ #13908]
76279         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
76280         comment.
76282 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76284         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
76285         which ROUND is no valid rounding mode.
76287 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76289         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
76290         read again.
76291         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
76293 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76295         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
76296         an exception using FPU order intentionally.
76298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76300         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
76301         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
76302         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
76303         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
76305 2012-04-05  Simon Josefsson  <simon@josefsson.org>
76307         [BZ #12340]
76308         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
76309         EINVAL when BUFLEN is too smal.
76311 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
76313         [BZ #13553]
76314         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
76315         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
76317 2012-04-03  Andreas Jaeger  <aj@suse.de>
76319         [BZ #13938]
76320         * manual/setjmp.texi (System V contexts): Fix sentence.
76322         [BZ #13926]
76323         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
76324         New macro for this case.
76325         [!__GNUC__] (__bswap_64): New inline function for this case.
76326         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76327         * bits/byteswap.h: Likewise.
76328         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
76329         ull, guard with __GLIBC_HAVE_LONG_LONG.
76331         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
76332         __GLIBC_HAVE_LONG_LONG.
76334         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
76335         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76337 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76339         [BZ #13691]
76340         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
76341         inptr and inend, rather than using last_ch.
76343 2012-04-02  David S. Miller  <davem@davemloft.net>
76345         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
76346         * stdio-common/printf-parse.h (read_int): Change return type to
76347         'int', return -1 on INT_MAX overflow.
76348         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
76349         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
76350         overflows INT_MAX.  Check for overflow of in-format-string precision
76351         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
76352         SIZE_MAX not INT_MAX for integer overflow test.
76353         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
76354         skip the construct in the format string but do not record anything.
76355         * stdio-common/bug22.c: Adjust to test both width/prevision
76356         INT_MAX overflow as well as total length INT_MAX overflow.  Check
76357         explicitly for proper errno values.
76359 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
76361         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
76362         CHAR_MAX.
76363         * string/test-strcmp.c [! WIDE]: Likewise.
76364         * time/tst-mktime2.c: Likewise for INT_MAX.
76365         * string/test-string.h: #include <sys/param.h> for MIN.
76367         * csu/init-first.c (__libc_init_first): Call __ctype_init.
76368         * sysdeps/i386/init-first.c (init): Likewise.
76369         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
76370         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
76371         * sysdeps/sh/init-first.c (init): Likewise.
76373 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
76375         * po/ru.po: Update from translation team.
76376         * po/vi.po: Likewise.
76378 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
76380         * resolv/nss_dns/dns-host.c: Merge copyright years.
76382 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76384         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76385         Optimize memcpy with prefetch if
76386         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
76387         src, dst pointers have unequal 16 byte alignments.
76389 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
76391         [BZ #13928]
76392         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
76393         from a CNAME entry and return the minimum ttl for the query.
76394         (gaih_getanswer_slice): Likewise.
76396 2012-03-30  Jeff Law  <law@redhat.com>
76398         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
76399         due to long keys.
76400         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
76401         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
76403         * resolv/nss_dns/dns-host.c: Update copyright year.
76405 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
76407         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
76408         requests to save a system call.  Fix check that all bytes are sent.
76410         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
76411         comments for sendmmsg.
76413 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76415         [BZ #13691]
76416         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
76417         with only 1 character between 0x0041 and 0x01b0.
76418         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
76419         * wcsmbs/tst-mbsnrtowcs.c: New file.
76421 2012-03-29  David S. Miller  <davem@davemloft.net>
76423         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
76424         small copies by hand.
76426 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76428         [BZ #13761]
76429         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
76430         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
76431         group memberships.
76433 2012-03-28  David S. Miller  <davem@davemloft.net>
76435         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
76436         that branches into memcpy.
76437         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
76438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
76439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
76440         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
76441         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
76442         bits.
76443         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
76444         implementation too.
76445         * sysdeps/sparc/mempcpy.S: New file.
76447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
76448         the IFUNC routine in the libc case.
76449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76451         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
76452         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
76453         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
76454         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
76455         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
76456         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
76457         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
76458         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
76460         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
76461         loop to 256 bytes instead of 64 bytes and fix test signedness.
76463         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
76464         * sysdeps/sparc/sparc32/Makefile: rather than here...
76465         * sysdeps/sparc/sparc64/Makefile: and here.
76467 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
76469         * malloc/mallocbug.c: Avoid warnings about unused variables.
76471 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
76473         [BZ #13760]
76474         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
76475         in the right place. Discard and retry query if response is
76476         larger than input buffer size.
76478 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
76480         [BZ #369]
76481         [BZ #2678]
76482         [BZ #3866]
76483         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
76484         x for large integer exponent.
76485         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
76486         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
76487         sign of result as needed afterwards.
76488         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
76489         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
76490         result for underflowing pow the same as for overflow.
76491         (__kernel_standard_l): Handle powl overflow and underflow here
76492         rather than calling __kernel_standard.
76493         * math/libm-test.inc (pow_test): Add more tests.
76495         [BZ #3868]
76496         [BZ #13879]
76497         [BZ #13910]
76498         [BZ #13911]
76499         [BZ #13912]
76500         [BZ #13913]
76501         [BZ #13915]
76502         [BZ #13916]
76503         [BZ #13917]
76504         [BZ #13918]
76505         [BZ #13919]
76506         [BZ #13920]
76507         [BZ #13921]
76508         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
76509         * sysdeps/ieee754/k_standard.c: Include <float.h>.
76510         (__kernel_standard_l): New function.
76511         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
76512         __kernel_standard.
76513         * math/w_acosl.c (__acosl): Likewise.
76514         * math/w_asinl.c (__asinl): Likewise.
76515         * math/w_atan2l.c (__atan2l): Likewise.
76516         * math/w_atanhl.c (__atanhl): Likewise.
76517         * math/w_coshl.c (__coshl): Likewise.
76518         * math/w_exp10l.c (__exp10l): Likewise.
76519         * math/w_exp2l.c (__exp2l): Likewise.
76520         * math/w_fmodl.c (__fmodl): Likewise.
76521         * math/w_hypotl.c (__hypotl): Likewise.
76522         * math/w_j0l.c (__j0l, __y0l): Likewise.
76523         * math/w_j1l.c (__j1l, __y1l): Likewise.
76524         * math/w_jnl.c (__jnl, __ynl): Likewise.
76525         * math/w_lgammal.c (__lgammal): Likewise.
76526         * math/w_log10l.c (__log10l): Likewise.
76527         * math/w_log2l.c (__log2l): Likewise.
76528         * math/w_logl.c (__logl): Likewise.
76529         * math/w_powl.c (__powl): Likewise.
76530         * math/w_remainderl.c (__remainderl): Likewise.
76531         * math/w_scalbl.c (sysv_scalbl): Likewise.
76532         * math/w_sinhl.c (__sinhl): Likewise.
76533         * math/w_sqrtl.c (__sqrtl): Likewise.
76534         * math/w_tgammal.c (__tgammal): Likewise.
76535         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
76536         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
76537         * math/libm-test.inc (acos_test): Add more tests.
76538         (acosh_test): Likewise.
76539         (asin_test): Likewise.
76540         (atanh_test): Likewise.
76541         (exp_test): Likewise.
76542         (exp10_test): Likewise.
76543         (exp2_test): Likewise.
76544         (expm1_test): Likewise.
76545         (lgamma_test): Likewise.
76546         (log_test): Likewise.
76547         (log10_test): Likewise.
76548         (log1p_test): Likewise.
76549         (log2_test): Likewise.
76550         (pow_test): Do not allow some spurious overflow exceptions.
76551         (sqrt_test): Add more tests.
76552         (tgamma_test): Likewise.
76553         (y0_test): Likewise.
76554         (y1_test): Likewise.
76555         (yn_test): Likewise.
76557 2012-03-27  Anton Blanchard  <anton@samba.org>
76559         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
76560         MAP_HUGETLB.
76561         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76562         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76565 2012-03-27  David S. Miller  <davem@davemloft.net>
76567         * conform/Makefile: Run run-conformtest.sh using $(BASH).
76569         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
76570         have-as-vis3 check.
76572 2012-03-27  Andreas Jaeger  <aj@suse.de>
76574         * sysdeps/x86_64/elf/configure.in: Moved to ...
76575         * sysdeps/x86_64/configure.in: ... here.
76576         * sysdeps/x86_64/elf/start.S: Moved to ...
76577         * sysdeps/x86_64/start.S: ... here.
76578         * sysdeps/x86_64/elf/configure: Delete.
76580         * sysdeps/x86_64/configure.in: Merge contents from
76581         sysdeps/i386/configure.in (without i686 check).
76583         * sysdeps/i386/elf/Versions: Merge into ...
76584         * sysdeps/i386/Versions: ... this.
76585         * sysdeps/i386/elf/Versions: Delete file.
76586         * sysdeps/i386/elf/start.S: Moved to ...
76587         * sysdeps/i386/start.S: ...here.
76588         * sysdeps/i386/elf/configure.in: Merge into...
76589         * sysdeps/i386/configure.in: ...here.
76590         * sysdeps/i386/elf/configure.in: Delete file.
76591         * sysdeps/i386/elf/configure: Delete file.
76593         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
76594         * debug/backtracesyms.c: ... here.
76595         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
76596         * debug/backtracesymsfd.c: ... here.
76597         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
76598         * sysdeps/generic/ifunc-sel.h: ... here.
76600         * sysdeps/unix/i386/start.c: Delete file.
76601         * sysdeps/unix/sparc/start.c: Delete file.
76602         * sysdeps/unix/start.c: Delete file.
76604         * sysdeps/sh/elf/configure.in: Moved to ...
76605         * sysdeps/sh/configure.in: ... here.
76606         * sysdeps/sh/elf/start.S: Moved to ...
76607         * sysdeps/sh/start.S: ... here.
76608         * sysdeps/sh/elf/configure: Delete file.
76610         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
76611         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
76612         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
76613         * sysdeps/powerpc/powerpc64/entry.h: ... here.
76614         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
76615         * sysdeps/powerpc/powerpc64/start.S: here.
76616         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
76617         * sysdeps/powerpc/powerpc64/Makefile: ... this.
76618         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
76619         * sysdeps/powerpc/powerpc64/configure.in: ... this.
76620         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
76622         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
76623         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
76624         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
76625         * sysdeps/powerpc/powerpc32/start.S: ... here.
76626         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
76627         * sysdeps/powerpc/powerpc32/configure.in: ... this.
76628         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
76630         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
76631         * sysdeps/powerpc/ifunc-sel.h: ... here.
76632         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
76633         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
76635         * sysdeps/sparc/elf/configure.in: Moved to ...
76636         * sysdeps/sparc/configure.in: ... here.
76637         * sysdeps/sparc/elf/configure: Delete file.
76638         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
76639         * sysdeps/sparc/sparc32/start.S: ... here.
76640         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
76641         * sysdeps/sparc/sparc64/start.S: ... here.
76642         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
76643         * sysdeps/sparc/sparc32/Makefile: ... this.
76644         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
76645         * sysdeps/sparc/sparc64/Makefile: ... this.
76647         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
76648         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
76649         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
76650         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
76651         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
76652         * sysdeps/s390/s390-32/setjmp.S: ... here.
76653         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
76654         * sysdeps/s390/s390-32/configure.in: ... here.
76655         * sysdeps/s390/s390-32/elf/configure: Delete file.
76656         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
76657         * sysdeps/s390/s390-32/start.S: ... here.
76659         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
76660         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
76661         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
76662         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
76663         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
76664         * sysdeps/s390/s390-64/setjmp.S: ... here.
76665         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
76666         * sysdeps/s390/s390-64/configure.in: ... here
76667         * sysdeps/s390/s390-64/elf/configure: Delete file.
76668         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
76669         * sysdeps/s390/s390-64/start.S: ... here.
76670         * sysdeps/s390/s390-64/elf/configure: Delete.
76672         * configure.in: Remove support for elf directories in sysdeps.
76674         * configure: Regenerated.
76675         * sysdeps/i386/configure: Regenerated.
76676         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76677         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76678         * sysdeps/s390/s390-32/configure: Regenerated.
76679         * sysdeps/s390/s390-64/configure: Regenerated.
76680         * sysdeps/sh/configure: Regenerated.
76681         * sysdeps/sparc/configure: Regenerated.
76682         * sysdeps/x86_64/configure: Regenerated.
76684 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
76686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76688         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
76689         denormal result into account.
76691 2012-03-25  Roland McGrath  <roland@hack.frob.com>
76693         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
76694         Reported by Allan McRae <allan@archlinux.org>.
76696 2012-03-23  Jeff Law  <law@redhat.com>
76698         * nss/getnssent.c (__nss_getent): Fix typo.
76700 2012-03-23  David S. Miller  <davem@davemloft.net>
76702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76704 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
76706         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
76707         to pad to uint64_t for each field.
76708         (dl_tls_index): Replace unsigned long with uint64_t.
76710 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
76711         Paul Pluzhnikov  <ppluzhnikov@google.com>
76713         [BZ #6528]
76714         * grp/Makefile (otherlibs): Don't set it.
76715         * inet/Makefile (otherlibs): Likewise.
76716         * login/Makefile (otherlibs): Likewise.
76717         * nscd/Makefile (otherlibs): Likewise.
76718         * posix/Makefile (otherlibs): Likewise.
76719         * pwd/Makefile (otherlibs): Likewise.
76720         * rt/Makefile (otherlibs): Likewise.
76721         * sunrpc/Makefile (otherlibs): Likewise.
76722         * nss/Makefile (otherlibs): Likewise.
76723         Add libnss_files to routines and static-only-routines.
76724         ($(objpfx)getent): Remove rule.
76725         * resolv/Makefile: Add libnss_dns and libresolv to routines and
76726         static-only-routines.
76728 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76730         [BZ #13892]
76731         * math/s_cexp.c: Include <float.h>.
76732         (__cexp): Handle exp result overflowing not necessarily
76733         overflowing both real and imaginary parts of result.
76734         * math/s_cexpf.c: Likewise.
76735         * math/s_cexpl.c: Likewise.
76736         * math/libm-test.inc (cexp_test): Add more tests.
76737         * sysdeps/i386/fpu/libm-test-ulps: Update.
76738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76740 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76742         * include/link.h (ELFW): New macro.
76743         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
76744         Replace ELF64_R_TYPE with ELFW(R_TYPE).
76746 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76748         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
76749         with uint64_t.
76751 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76753         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
76754         declaration.
76755         (struct La_x32_retval): Likewise.
76757 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
76759         * sysdeps/x86_64/preconfigure.in: New file.
76760         * sysdeps/x86_64/preconfigure: New generated file.
76762 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
76764         [BZ #13824]
76765         * math/e_exp2l.c: Include <float.h>.
76766         (__ieee754_exp2l): Handle overflow and underflow cases
76767         separately.  Only pass fractional part of argument to
76768         __ieee754_expl.
76769         * math/libm-test.inc (exp2_test): Add more tests.
76771         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
76772         negating x to take absolute value.
76773         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
76774         Likewise.
76775         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
76776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
76777         Likewise.
76778         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
76779         computing low part if x was negated.
76780         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
76782 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76784         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76785         la_x32_gnu_pltexit.
76786         (pltexit): Cast int_retval to ptrdiff_t.
76787         * elf/tst-auditmod3b.c: Likewise.
76788         * elf/tst-auditmod4b.c: Likewise.
76789         * elf/tst-auditmod5b.c: Likewise.
76790         * elf/tst-auditmod6b.c: Likewise.
76791         * elf/tst-auditmod6c.c: Likewise.
76792         * elf/tst-auditmod7b.c: Likewise.
76794         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
76795         and x32_gnu_pltexit.
76797         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
76798         __ELF_NATIVE_CLASS.
76799         (La_x32_regs): New macro.
76800         (La_x32_retval): Likewise.
76801         (la_x32_gnu_pltenter): New function prototype.
76802         (la_x32_gnu_pltexit): Likewise.
76804 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
76806         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
76807         exponent.
76809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76811         * configure.in (libc_cv_cc_nofma): Check for option to disable
76812         generation of FMA instructions.
76813         * configure: Regenerate.
76814         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
76815         * sysdeps/ieee754/dbl-64/Makefile: New file.
76816         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
76817         Remove brandred-fma4.
76818         (CFLAGS-brandred-fma4.c): Remove.
76819         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
76820         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
76821         define.
76822         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
76823         define.
76825 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76827         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76828         LLONG_MAX != LONG_MAX.
76829         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76830         (_fitoa_word): Likewise.
76831         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76832         LLONG_MAX != LONG_MAX.
76833         * stdio-common/_itowa.h: Include <_itoa.h>.
76834         (_itowa_word): Use _ITOA_WORD_TYPE on value.
76835         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
76836         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
76837         only if not defined.
76838         (_ITOA_WORD_TYPE): Likewise.
76839         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76840         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
76842 2012-03-21  David S. Miller  <davem@davemloft.net>
76844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76846 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
76848         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
76849         of x86_64 when setting libc_cv_slibdir, libdir and
76850         libc_cv_localedir.
76851         * sysdeps/unix/sysv/linux/configure: Regenerated.
76853 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76855         * manual/lang.texi (Old Varargs): Remove section.
76856         (How Variadic): Update menu.
76857         (va_start): Do not mention varargs.h.
76859 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76860             Joseph Myers  <joseph@codesourcery.com>
76862         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
76863         link test.
76864         * configure: Regenerated.
76866 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
76868         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
76869         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
76870         conformtest.pl
76872 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76874         * NOTES: Remove.
76875         * Makefile (files-for-dist): Remove NOTES.
76876         (NOTES): Remove rule.
76877         * README: Don't refer to NOTES.
76878         * manual/creature.texi: Don't include macros.texi.
76879         * manual/intro.texi (creature.texi): Remove comment referring to
76880         NOTES.
76882         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
76883         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
76884         * configure: Regenerated.
76885         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
76886         LIBC_TRY_CC_OPTION.
76887         (libc_cv_as_i686): Likewise.
76888         (libc_cv_cc_avx): Likewise.
76889         (libc_cv_cc_sse2avx): Likewise.
76890         (libc_cv_cc_fma4): Likewise.
76891         (libc_cv_cc_novzeroupper): Likewise.
76892         * sysdeps/i386/configure: Regenerated.
76894         [BZ #13883]
76895         * sysdeps/i386/fpu/s_cexp.S: Remove.
76896         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
76897         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
76898         * math/libm-test.inc (cexp_test): Add more tests.
76899         * sysdeps/i386/fpu/libm-test-ulps: Update.
76900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76902 2012-03-21  Allan McRae  <allan@archlinux.org>
76904         * timezone/Makefile: Do not install iso3166.tab and zone.tab
76906 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
76908         [BZ #13871]
76909         * math/w_exp2.c: Do not include <float.h>.
76910         (o_threshold, u_threshold): Remove.
76911         (__exp2): Calculate result before checking finiteness and calling
76912         __kernel_standard.
76913         * math/w_exp2f.c: Likewise.
76914         * math/w_exp2l.c: Likewise.
76915         * math/libm-test.inc (exp2_test): Require overflow exception for
76916         1e6 input.
76918         [BZ #3866]
76919         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
76920         range of signed 64-bit integers before using fistpll.  Remove
76921         checks for whether integers fit in mantissa bits.
76922         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
76923         the range of signed 32-bit integers before using fistpl.  Remove
76924         checks for whether integers fit in mantissa bits.
76925         * sysdeps/i386/fpu/e_powl.S (p64): New object.
76926         (__ieee754_powl): Test for y outside the range of signed 64-bit
76927         integers before using fistpll.  Reduce 64-bit values to 63-bit
76928         ones as needed.
76929         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
76930         divide-by-zero is raised for zero to large negative powers.
76931         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
76932         (__ieee754_powl): Test for y outside the range of signed 64-bit
76933         integers before using fistpll.  Reduce 64-bit values to 63-bit
76934         ones as needed.
76935         * math/libm-test.inc (pow_test): Add more tests.
76937 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76939         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
76940         <stdio-common/_itoa.h>.
76941         * debug/segfault.c: Likewise.
76942         * elf/dl-cache.c: Likewise.
76943         * elf/dl-minimal.c: Likewise.
76944         * elf/dl-misc.c: Likewise.
76945         * elf/dl-sysdep.c: Likewise.
76946         * elf/dl-version.c: Likewise.
76947         * elf/rtld.c: Likewise.
76948         * hurd/hurdsock.c: Likewise.
76949         * hurd/lookup-retry.c: Likewise.
76950         * malloc/malloc.c: Likewise.
76951         * malloc/mtrace.c: Likewise.
76952         * nscd/nscd_getgr_r.c: Likewise.
76953         * nscd/nscd_getpw_r.c: Likewise.
76954         * nscd/nscd_getserv_r.c: Likewise.
76955         * posix/getopt_init.c: Likewise.
76956         * posix/wordexp.c: Likewise.
76957         * stdio-common/_itoa.c: Likewise.
76958         * stdio-common/printf_fphex.c: Likewise.
76959         * stdio-common/vfprintf.c: Likewise.
76960         * string/_strerror.c: Likewise.
76961         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
76962         * sysdeps/i386/i686/hp-timing.h: Likewise.
76963         * sysdeps/mach/_strerror.c: Likewise.
76964         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
76965         * sysdeps/mach/hurd/sethostid.c: Likewise.
76966         * sysdeps/mach/hurd/xmknodat.c: Likewise.
76967         * sysdeps/mach/xpg-strerror.c: Likewise.
76968         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
76969         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
76970         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
76971         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
76972         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
76973         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
76974         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
76975         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
76976         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
76977         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
76978         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
76979         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
76980         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
76981         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
76982         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
76983         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
76984         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
76985         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
76986         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
76987         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
76988         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
76990         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
76992         * stdio-common/_itoa.h: Moved to ...
76993         * sysdeps/generic/_itoa.h: Here.
76995         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
76997         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
76998         instead of "_itoa.h" and "_itowa.h".
76999         * stdio-common/vfprintf.: Likewise.
77001 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77003         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
77004         <bits/wordsize.h>.
77005         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
77006         (__signbit): Likewise.
77007         (llrintf): Likewise.
77008         (llrint): Likewise.
77010 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77012         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
77013         __WORDSIZE != 64.
77015 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
77017         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
77018         OVERFLOW_EXCEPTION_OK.
77019         * math/libm-test.inc ("Philosophy"): Update comment about
77020         exception testing.
77021         (OVERFLOW_EXCEPTION): Define.
77022         (OVERFLOW_EXCEPTION_OK): Likewise.
77023         (INVALID_EXCEPTION_OK): Renumber.
77024         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77025         (IGNORE_ZERO_INF_SIGN): Likewise.
77026         (test_exceptions): Handle FE_OVERFLOW.
77027         (exp10_test): Expect overflow exceptions.
77028         (exp2_test): Likewise.
77029         (expm1_test): Likewise.
77030         (nextafter_test): Likewise.
77031         (pow_test): Likewise.
77032         (scalbn_test): Likewise.
77033         (scalbln_test): Likewise.
77035 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77037         * sysdeps/x86_64/bits/atomic.h
77038         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
77039         64bit integer.
77040         (atomic_exchange_acq): Likewise.
77041         (__arch_exchange_and_add_body): Likewise.
77042         (__arch_add_body): Likewise.
77043         (atomic_add_negative): Likewise.
77044         (atomic_add_zero): Likewise.
77046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77048         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
77049         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
77051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77053         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
77054         Check __x86_64__ instead of __WORDSIZE.
77056 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77058         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
77060 2012-03-19  David S. Miller  <davem@davemloft.net>
77062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77064         * sysdeps/sparc/fpu/fenv_private.h: New file.
77065         * sysdeps/sparc/fpu/math_private.h: Use it.
77066         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
77067         Remove.
77068         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
77069         (libc_feholdexcept_setroundl): Remove.
77070         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
77071         Remove.
77072         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
77073         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
77075 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77077         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
77078         int64_t instead of long int.
77079         (INSERT_WORDS64): Likewise.
77081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
77083         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
77084         _Unwind_GetCFA return to _Unwind_Ptr first.
77086 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
77088         [BZ #13629]
77089         * math/s_clog.c: Include <float.h>.
77090         (__clog): Scale large or subnormal inputs.
77091         * math/s_clogf.c: Likewise.
77092         * math/s_clogl.c: Likewise.
77093         * math/s_clog10.c: Include <float.h>.
77094         (M_LOG10_2): Define.
77095         (__clog10): Scale large or subnormal inputs.
77096         * math/s_clog10f.c: Likewise.
77097         * math/s_clog10l.c: Likewise.
77098         * math/libm-test.inc (clog_test): Add more tests.
77099         (clog10_test): Likewise.
77100         * sysdeps/i386/fpu/libm-test-ulps: Update.
77101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77103         [BZ #11451]
77104         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
77105         x and y.
77106         * math/libm-test.inc (atan2_test): Add another test.
77108         * Makerules (common-objdir-compile): Remove.
77109         * sysdeps/unix/Makefile (config-generated): Do not add
77110         $(unix-generated) to variable.
77111         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
77112         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
77113         Remove rule.
77114         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
77115         Likewise.
77116         [generic bits/local_lim.h] (before-compile): Do not append to
77117         variable.
77118         [generic bits/local_lim.h] (common-generated): Likewise.
77119         [generic sys/param.h] (before-compile): Do not append to variable.
77120         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
77121         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
77122         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
77123         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
77124         include.
77125         [generic sys/param.h] (sys/param.h-includes): Remove variable.
77126         [generic sys/param.h] (sys/param.h-includes): Remove rule.
77127         [generic sys/param.h] ($(addprefix
77128         $(common-objpfx),$(sys/param.h-includes))): Likewise.
77129         [generic sys/param.h] (common-generated): Do not append to
77130         variable.
77131         [generic sys/param.h] (sysdep_headers): Likewise.
77132         [generic bits/errno.h] (before-compile): Do not append to
77133         variable.
77134         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
77135         rule.
77136         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
77137         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
77138         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
77139         [generic bits/errno.h] (common-generated): Do not append to
77140         variable.
77141         [generic bits/ioctls.h] (before-compile): Do not append to
77142         variable.
77143         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
77144         rule.
77145         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
77146         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
77147         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
77148         rule.
77149         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
77150         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
77151         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
77152         [generic bits/ioctls.h] (common-generated): Do not append to
77153         variable.
77154         [generic sys/syscall.h] (syscall.h): Remove variable.
77155         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
77156         rule.
77157         [generic sys/syscall.h] (before-compile): Do not append to
77158         variable.
77159         [generic sys/syscall.h] (common-generated): Likewise.
77160         * sysdeps/unix/errnos-tmpl.c: Remove file.
77161         * sysdeps/unix/errnos.awk: Likewise.
77162         * sysdeps/unix/ioctls-tmpl.c: Likewise.
77163         * sysdeps/unix/ioctls.awk: Likewise.
77164         * sysdeps/unix/mk-local_lim.c: Likewise.
77165         * sysdeps/unix/snarf-ioctls: Likewise.
77167 2012-03-19  Richard Henderson  <rth@twiddle.net>
77169         * sysdeps/i386/fpu/fenv_private.h: New file.
77170         * sysdeps/i386/fpu/math_private.h: Use it.
77171         (math_opt_barrier, math_force_eval): Remove.
77172         (libc_feholdexcept_setround_53bit): Remove.
77173         (libc_feupdateenv_53bit): Remove.
77174         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77175         (math_opt_barrier, math_force_eval): Remove.
77176         (libc_feholdexcept): Remove.
77177         (libc_feholdexcept_setround): Remove.
77178         (libc_fetestexcept, libc_fesetenv): Remove.
77179         (libc_feupdateenv_test): Remove.
77180         (libc_feupdateenv, libc_feholdsetround): Remove.
77181         (libc_feresetround): Remove.
77183         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
77184         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
77186         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
77187         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
77188         (libc_feupdateenv_testl): New.
77189         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
77190         (libc_feupdateenv_testf): New.
77191         (libc_feupdateenv): Use libc_feupdateenv_test.
77192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
77193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
77195         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
77196         (libc_feholdsetroundf, libc_feholdsetroundl): New.
77197         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
77198         (libc_feresetround_noex): New.
77199         (libc_feresetround_noexf): New.
77200         (libc_feresetround_noexl): New.
77201         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
77202         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
77203         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
77204         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
77205         SET_RESTORE_ROUND.
77206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
77207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
77208         (__cos): Likewise.
77209         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
77210         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
77211         SET_RESTORE_ROUND_NOEX.
77212         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
77213         SET_RESTORE_ROUND_NOEXF.
77214         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
77215         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
77216         (libc_feholdsetroundf): New.
77217         (libc_feresetround, libc_feresetroundf): New.
77219         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
77220         (libc_feholdexcept_setround_53bit): Convert from macro to function.
77221         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
77223         * sysdeps/generic/math_private.h: Include <fenv.h>.
77224         (default_libc_feholdexcept): New.
77225         (default_libc_feholdexcept_setround): New.
77226         (default_libc_fesetenv, default_libc_feupdateenv): New.
77227         (libc_feholdexcept): Only define if undefined.
77228         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
77229         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
77230         (libc_feholdexcept_setroundl): Likewise.
77231         (libc_feholdexcept_setround_53bit): Likewise.
77232         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
77233         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
77234         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
77235         (libc_feupdateenv_53bit): Likewise.
77236         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
77237         (libc_feholdexcept): Convert from macro to inline function.
77238         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
77239         (libc_fesetenv, libc_feupdateenv): Likewise.
77241         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
77242         not previously defined.
77243         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
77244         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
77245         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
77246         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
77247         * sysdeps/ieee754/flt-32/math_private.h: New file.
77248         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
77249         math_private.h below SET_FLOAT_WORD.
77250         (__isnan, __isinf_ns, __finite): Remove.
77251         (__isnanf, __isinf_nsf, __finitef): Remove.
77253 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
77255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77257 2012-03-17  David S. Miller  <davem@davemloft.net>
77259         [BZ #6471]
77260         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
77261         for 2.16.
77263 2012-03-16  David S. Miller  <davem@davemloft.net>
77265         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
77266         warnings.
77268         [BZ #6471]
77269         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
77270         properly.
77271         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
77272         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
77273         sysdep_routines when subdir is sysvipc.
77274         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
77275         __getshmlba helper.
77277         * sysdeps/sparc/fpu/libm-test/ulps: Update.
77279 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77281         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
77282         [__LP64__].
77284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77286         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
77287         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
77288         (__lround): Renamed to ...
77289         (__llround): This.  Replace long int with long long int.
77290         Define lround functions as aliases of llround functions.
77291         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
77293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77295         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
77296         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
77297         adresses to uintptr_t.  Replace "long int" and "unsigned long
77298         int" with "greg_t" on va_arg.
77300 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77302         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
77303         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
77305         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
77306         Move e_machine check before EI_CLASS check.  Handle x32
77307         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
77308         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
77309         SKIP_EM_IA_64 and include
77310         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
77312         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
77313         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
77314         (add_system_dir): New macro.
77316         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
77317         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
77319 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77321         [BZ #2551]
77322         [BZ #2552]
77323         [BZ #2553]
77324         [BZ #2554]
77325         [BZ #2562]
77326         [BZ #2563]
77327         [BZ #2565]
77328         [BZ #2566]
77329         [BZ #2576]
77330         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
77331         (y0): Likewise.
77332         * math/w_j0f.c (j0f): Likewise.
77333         (y0f): Likewise.
77334         * math/w_j0l.c (__j0l): Likewise.
77335         (__y0l): Likewise.
77336         * math/w_j1.c (j1): Likewise.
77337         (y1): Likewise.
77338         * math/w_j1f.c (j1f): Likewise.
77339         (y1f): Likewise.
77340         * math/w_j1l.c (__j1l): Likewise.
77341         (__y1l): Likewise.
77342         * math/w_jn.c (jn): Likewise.
77343         (yn): Likewise.
77344         * math/w_jnf.c (jnf): Likewise.
77345         (ynf): Likewise.
77346         * math/w_jnl.c (__jnl): Likewise.
77347         (__ynl): Likewise.
77348         * math/libm-test.inc (j0_test): Add more tests.
77349         (j1_test): Likewise.
77350         (jn_test): Likewise.  Add trailing semicolon to existing test.
77351         (y0_test): Likewise.
77352         (y1_test): Likewise.
77353         * sysdeps/i386/fpu/libm-test-ulps: Update.
77354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77356         [BZ #13851]
77357         [BZ #13854]
77358         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
77359         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77360         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
77361         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
77362         (__tanl): Set errno for infinite argument.
77363         * sysdeps/i386/fpu/mptan.c: Remove.
77364         * sysdeps/i386/fpu/s_tan.S: Likewise.
77365         * sysdeps/i386/fpu/s_tanl.S: Likewise.
77366         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
77367         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
77368         * math/libm-test.inc (tan_test): Add more tests and enable more
77369         tests for double and long double.
77370         * sysdeps/i386/fpu/libm-test-ulps: Update.
77371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77373 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
77375         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
77376         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
77378 2012-03-16  Roland McGrath  <roland@hack.frob.com>
77380         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
77381         * configure.in: Use it for both main tree and add-ons.
77382         * configure: Regenerated.
77384 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
77386         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
77388 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
77390         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
77391         in comment.
77393         [BZ #13851]
77394         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
77395         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
77396         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
77397         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
77398         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
77399         infinite argument.
77400         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
77401         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
77402         != 0 for prec == 2.
77403         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
77404         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
77405         * sysdeps/i386/fpu/s_cosl.S: Likewise.
77406         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
77407         * sysdeps/i386/fpu/s_sinl.S: Likewise.
77408         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
77409         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
77410         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
77411         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
77412         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
77413         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
77414         * math/libm-test.inc (cos_test): Add more tests and enable more
77415         tests for long double.
77416         (sin_test): Likewise.
77417         (sincos_test): Likewise.
77418         * sysdeps/i386/fpu/libm-test-ulps: Update.
77419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77421 2012-03-16  David S. Miller  <davem@davemloft.net>
77423         * sysdeps/sparc/fpu/math_private.h: New file.
77425 2012-03-15  David S. Miller  <davem@davemloft.net>
77427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
77428         file.
77429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
77430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
77431         file.
77432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
77433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
77434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
77435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
77436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
77437         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
77438         sysdep routines.
77439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77441         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
77442         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
77444         * sysdeps/sparc/sparc-ifunc.h: New file.
77445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
77446         sparc-ifunc.h
77447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
77448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
77449         Likewise.
77450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
77451         Likewise.
77452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
77453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
77454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
77456         Likewise.
77457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
77459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
77461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
77462         Likewise.
77463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
77464         Likewise.
77465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
77467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
77468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
77469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
77470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
77471         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
77472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
77473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
77474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
77475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
77476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
77477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
77478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
77479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
77480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
77481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
77482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
77483         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
77484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
77485         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
77486         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
77487         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
77488         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
77490 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77492         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
77493         scaling.
77494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77496 2012-03-15  Andreas Jaeger  <aj@suse.de>
77498         [BZ #13852]
77499         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
77500         ieee754/flt-32 implementation for sin, cos and sincos.
77501         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
77502         * sysdeps/i386/fpu/s_cosf.S: Likewise.
77503         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
77504         * sysdeps/i386/fpu/s_sinf.S: Likewise.
77505         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
77506         ieee754/flt-32 implementation for tan.
77508         * math/libm-test.inc (cos_test): Enable some large input tests for
77509         float as well
77510         (sin_test): Likewise.
77511         (sincos_test): Likewise.
77512         (tan_test): Add tests for large input.
77514         * sysdeps/i386/fpu/libm-test-ulps: Update.
77516 2012-03-15  Andreas Jaeger  <aj@suse.de>
77518         [BZ #13658]
77519         * math/libm-test.inc (cos_test): Add more test cases.
77520         (sin_test): Likewise.
77521         (sincos_test): Likewise.
77523 2012-03-15  Andreas Jaeger  <aj@suse.de>
77525         [BZ #13837]
77526         * math/libm-test.inc (cos_test): Add a test case for large input
77527         value.
77528         (sin_test): Likewise.
77529         (sincos_test): Likewise.
77531 2012-03-15  Andreas Jaeger  <aj@suse.de>
77532             Joseph Myers  <joseph@codesourcery.com>
77534         [BZ #13658]
77535         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
77536         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
77537         * sysdeps/i386/fpu/branred.c: Likewise.
77538         * sysdeps/i386/fpu/dosincos.c: Likewise.
77539         * sysdeps/i386/fpu/mpa.c: Likewise.
77540         * sysdeps/i386/fpu/s_cos.S: Likewise.
77541         * sysdeps/i386/fpu/s_sin.S: Likewise.
77542         * sysdeps/i386/fpu/s_sincos.S: Likewise.
77543         * sysdeps/i386/fpu/sincos32.c: Likewise.
77545         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
77546         Define.
77547         (libc_feupdateenv_53bit): Define.
77548         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
77549         Define.
77550         (libc_feupdateenv_53bit): Define.
77552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
77553         53 bit (without extend i386 double precision).
77555         * math/libm-test.inc (sincos_test): Add tests for large input.
77556         (sin): Likewise.
77557         (cos): Likewise.
77559         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
77561 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
77563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77565 2012-03-15  David S. Miller  <davem@davemloft.net>
77567         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
77568         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
77569         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
77570         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
77571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
77572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
77573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
77574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
77575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
77576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
77577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
77578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
77579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
77580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
77581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
77582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
77583         file.
77584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
77585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
77586         file.
77587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
77588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
77589         file.
77590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
77591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
77592         file.
77593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
77594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
77595         fmin/fmax sysdep routines.
77596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
77598 2012-03-14  David S. Miller  <davem@davemloft.net>
77600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
77601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
77602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
77603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
77604         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
77605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
77606         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
77607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
77608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
77609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
77610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
77611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
77612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
77613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
77614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
77615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
77616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
77617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
77618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
77619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
77620         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
77621         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
77622         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
77623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
77624         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
77625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
77626         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
77627         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
77628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
77629         routines.
77630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
77631         file.
77632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
77633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
77634         file.
77635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
77636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
77637         file.
77638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
77639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
77640         file.
77641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
77642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
77643         file.
77644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
77645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
77646         file.
77647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
77648         file.
77649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
77650         file.
77651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
77652         file.
77653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
77654         New file.
77655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
77656         file.
77657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
77658         file.
77659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
77660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
77661         file.
77662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
77663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
77664         file.
77665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
77666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
77667         file.
77668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
77669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
77670         VIS3 routines.
77672         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
77673         New file.
77675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77677         * sysdeps/sparc/configure.in: New file.
77678         * sysdeps/sparc/configure: Generate.
77679         * configure.in (libc_cv_sparc_as_vis3): Substitute.
77680         * configure: Regenerate.
77681         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
77682         * config.make.in (have-as-vis3): New.
77683         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
77684         available use -Av9d instead of -Av9a.
77685         * sysdeps/sparc/sparc64/Makefile: Likewise.
77686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
77687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
77688         New file.
77689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
77690         file.
77691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
77692         New file.
77693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
77694         file.
77695         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
77696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
77697         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
77698         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
77699         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
77701         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
77702         fzeros/fnegs to load 0x80000000 into a float register instead of
77703         using the stack.
77704         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
77706 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77709         bits/syscall.h.
77710         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
77711         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
77712         ($(inst_includedir)/bits/syscall.h): Remove rule.
77713         ($(objpfx)bits/syscall.d): Include instead of
77714         $(objpfx)syscall-list.d.
77715         (generated): Change syscall-list.h and syscall-list.d to
77716         bits/syscall.h and bits/syscall.d.
77718 2012-03-14  Roland McGrath  <roland@hack.frob.com>
77720         [BZ #13846]
77721         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
77723 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
77725         [BZ #13841]
77726         * math/s_csqrt.c: Include <float.h>.
77727         (__csqrt): Scale large or subnormal inputs.
77728         * math/s_csqrtf.c: Likewise.
77729         * math/s_csqrtl.c: Likewise.
77730         * math/libm-test.inc (csqrt_test): Add more tests.
77731         * sysdeps/i386/fpu/libm-test-ulps: Update.
77732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77734         [BZ #13840]
77735         * math/libm-test.inc (hypot_test): Add more tests.
77737 2012-03-13  David S. Miller  <davem@davemloft.net>
77739         [BZ #13840]
77740         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
77741         double-precision for the calculation instead of scaling.
77743 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
77745         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
77746         manipulate bits before adding and subtracting TWO52[sx].
77747         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
77748         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
77749         Likewise.
77750         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
77752 2012-03-13  David S. Miller  <davem@davemloft.net>
77754         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
77755         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
77756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
77757         rtld-global-offsets.h
77758         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77760         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
77761         large parameters.
77763         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
77765         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
77766         'err' in the ifdef scope in which it is actually used.
77768         * nss/nss_db/db-init.c: Include string.h
77770 2012-03-12  David S. Miller  <davem@davemloft.net>
77772         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77773         masking out of the most significant byte of random value used.
77774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77775         Fix coding style in previous change.
77777         * sysdeps/unix/sysv/linux/kernel-features.h
77778         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
77779         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
77780         expression.
77781         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
77782         later.
77784 2012-03-11  David S. Miller  <davem@davemloft.net>
77786         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
77787         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
77788         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
77789         for 'resultvar' otherwise things get truncated on 64-bit.
77791         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77792         Fix masking out of the most significant byte of random value used.
77794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77796 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
77798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77800 2012-03-09  David S. Miller  <davem@davemloft.net>
77802         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
77803         variables with appropriate CPP guards.
77804         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
77805         from the frame pointer, not the stack pointer.  Correct layout
77806         comments.  Fix test on resulting framesize and the management of
77807         the outregs buffer for pltexit.  Preserve floating point return
77808         values across _dl_call_pltexit call.
77809         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
77810         framesize and the management of the outregs buffer for pltexit.
77811         Preserve floating point return values across _dl_call_pltexit
77812         call.
77813         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
77814         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
77815         (la_sparc64_gnu_pltexit): New functions.
77816         (print_exit): Fix format string for return register value.
77818 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
77820         * sunrpc/Makefile (others): Add rpcgen.
77821         ($(objpfx)rpcgen): Remove special build rule and dependency on
77822         libc.
77823         * sunrpc/rpcgen.c: New file.
77825 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
77827         [BZ #13673]
77828         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
77829         * stdio-common/bug-vfprintf-nargs.c: Likewise.
77830         * sysdeps/i386/crti.S: Likewise.
77831         * sysdeps/i386/crtn.S: Likewise.
77832         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
77833         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
77834         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
77835         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
77836         * sysdeps/sh/crti.S: Likewise.
77837         * sysdeps/sh/crtn.S: Likewise.
77838         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77840         [BZ #13673]
77841         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
77842         with URL.
77843         * locale/programs/locfile-kw.gperf: Likewise.
77844         * locale/programs/charmap-kw.h: Regenerated.
77845         * locale/programs/locfile-kw.h: Likewise.
77847         [BZ #13673]
77848         * intl/plural.y: Replace FSF snail mail address with URL.
77849         * intl/plural.c: Regenerated.
77851 2012-03-09  Richard Henderson  <rth@twiddle.net>
77853         * include/math_private.h: Remove file.
77854         * math/math_private.h: Move file ...
77855         * sysdeps/generic/math_private.h: ... here.
77857         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
77858         * sysdeps/powerpc/fpu/math_private.h: Likewise.
77859         * sysdeps/x86_64/fpu/math_private.h: Likewise.
77861         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
77862         and <math_private.h>.
77863         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77864         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77865         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77866         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77867         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77868         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
77869         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77870         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77871         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77872         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77874         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77875         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77876         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77877         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77878         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77879         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77880         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77881         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77882         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77883         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77884         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77885         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77887         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
77888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77889         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77893         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77895         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
77896         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77897         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77898         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77899         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77900         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77901         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77902         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77903         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
77904         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77905         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77906         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
77907         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
77908         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77909         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
77910         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
77911         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77912         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77913         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
77914         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
77915         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
77916         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77917         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
77918         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77919         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77920         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
77921         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
77922         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
77923         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77924         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
77925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77926         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77927         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
77928         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77929         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77930         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77931         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
77932         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
77933         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
77934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
77936         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77937         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
77938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
77939         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
77940         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77941         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
77942         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
77943         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
77944         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
77945         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
77946         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77947         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
77949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
77950         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
77951         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77952         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77953         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77954         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77955         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77956         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77957         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77958         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77959         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77960         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77961         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77963         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77964         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77965         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77966         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77967         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77968         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77969         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77970         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77971         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77972         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77973         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77974         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77975         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77976         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77977         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
77978         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77979         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77980         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77981         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77982         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77983         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77984         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77985         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77986         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
77987         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77988         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77989         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77990         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
77991         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77992         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
77993         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
77994         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77995         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77996         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
77997         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
77998         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77999         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
78000         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78001         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
78002         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
78003         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
78004         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78005         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78006         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
78007         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
78008         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78009         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78010         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78011         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
78012         * sysdeps/ieee754/k_standard.c: Likewise.
78013         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78014         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78016         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78017         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78018         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78019         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78020         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78021         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78022         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78023         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78024         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78025         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78026         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78027         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78028         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78029         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
78030         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78031         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78032         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
78033         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
78034         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
78035         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78036         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78037         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
78038         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
78039         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78040         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78041         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78042         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78043         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
78044         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78045         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78046         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78047         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
78048         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78049         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78050         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
78051         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
78052         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78053         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
78054         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
78055         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
78056         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78057         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
78058         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
78059         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78060         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78061         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78062         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78063         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78064         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
78065         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78066         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
78067         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78068         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78069         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
78070         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
78071         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78072         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78073         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78074         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
78075         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78076         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78077         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78078         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78079         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78080         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78081         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78082         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78083         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78085         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78086         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78087         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78088         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78089         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
78090         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78092         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
78093         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
78094         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
78095         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78096         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78097         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
78098         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78099         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
78101         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78102         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78103         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
78104         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78105         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
78106         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
78107         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78108         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78109         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
78110         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
78111         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
78112         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
78113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78114         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78115         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78116         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78117         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
78118         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78119         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78120         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
78121         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
78122         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78124         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78125         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78126         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78127         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78128         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78129         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78130         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78131         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78132         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78133         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78134         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78135         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78136         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78137         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78138         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
78139         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78140         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78141         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78142         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78143         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78144         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78145         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78146         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
78147         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78148         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78149         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
78150         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
78151         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78152         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
78153         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
78154         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78155         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
78156         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
78157         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78158         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78159         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78160         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78161         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78162         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
78163         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78164         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
78165         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78166         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78167         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
78168         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
78169         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78170         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78171         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78172         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
78173         * sysdeps/ieee754/s_lib_version.c: Likewise.
78174         * sysdeps/ieee754/s_matherr.c: Likewise.
78175         * sysdeps/ieee754/s_signgam.c: Likewise.
78176         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78177         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78178         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
78179         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
78180         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
78181         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78182         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
78183         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
78184         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
78185         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
78186         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
78187         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
78188         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78189         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78190         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
78191         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
78192         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
78193         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
78194         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
78195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78198 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78200         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
78201         * sunrpc/rpc_main.c: Likewise.
78202         * sunrpc/rpc_svcout.c: Likewise.
78204 2012-03-09  David S. Miller  <davem@davemloft.net>
78206         * include/math_private.h: New file.
78208 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
78210         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
78211         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
78212         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
78213         from <bits/socket_type.h>.
78214         (enum __socket_type): Don't define here.
78215         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
78216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78217         bits/socket_type.h.
78219         [BZ #13566]
78220         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
78221         checking __USE_GNU.
78223         * Makerules ($(inst_includedir)/%.h): New rule.
78224         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
78225         (install-others): Remove variable setting.
78226         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
78228 2012-03-08  Richard Henderson  <rth@twiddle.net>
78230         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
78231         from macro to inline function; merge with the
78232         !__LIBC_INTERNAL_MATH_INLINES version.
78233         (__ieee754_sqrtf): Likewise.
78235         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
78236         to inline function.
78237         (__rintf, __floor, __floorf): Likewise.
78239         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
78240         macro to inline function.
78241         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
78243         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
78244         not <math/math_private.h>.
78246 2012-03-08  David S. Miller  <davem@davemloft.net>
78248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
78249         copyright year.
78250         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
78252 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
78254         * resolv/gai_misc.c (handle_requests): Fix struct timespec
78255         normalization.
78256         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
78257         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
78259 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
78261         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
78262         be defined individually, they must be defined as a block.  Define
78263         S for printing a string instead of hidint the different by using a
78264         macro for adding the 'l'.
78265         * stdio-common/tst-fphex-wide.c: Adjust.
78267 2012-03-07  Marek Polacek  <polacek@redhat.com>
78269         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
78271 2012-03-08  Marek Polacek  <polacek@redhat.com>
78273         [BZ #13806]
78274         * stdio-common/Makefile (tests): Add tst-fphex-wide.
78275         * stdio-common/tst-fphex.c: Define a few macros to make the
78276         test reusable.  Use them.
78277         * stdio-common/tst-fphex-wide.c: New file.
78279 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
78281         [BZ #6911]
78282         * manual/macros.texi (gnusystems): New macro.
78283         (nongnusystems): Likewise.
78284         (gnulinuxhurdsystems): Likewise.
78285         (gnuhurdsystems): Likewise..
78286         (gnulinuxsystems): Likewise.
78287         * manual/charset.texi: Use new macros or @theglibc{} to refer to
78288         variants of the GNU system, not "GNU system".
78289         * manual/conf.texi: Likewise.
78290         * manual/errno.texi: Likewise.  Update example of errno macro
78291         expansion.
78292         * manual/filesys.texi: Likewise.
78293         (getumask): Document as specific to GNU/Hurd.
78294         * manual/install.texi: Likewise.  Reword some references to
78295         GNU/Linux.
78296         * manual/intro.texi: Likewise.
78297         * manual/io.texi: Likewise.
78298         (File Name Portability): Detail which constraints are inapplicable
78299         to all GNU systems and which are only inapplicable to GNU/Hurd.
78300         * manual/job.texi: Likewise.
78301         * manual/llio.texi: Likewise.
78302         (O_NOCTTY): Document as present on GNU/Linux.
78303         * manual/maint.texi: Likewise.
78304         * manual/memory.texi: Likewise.
78305         * manual/pattern.texi: Likewise.
78306         * manual/pipe.texi: Likewise.
78307         * manual/process.texi: Likewise.
78308         * manual/resource.texi: Likewise.
78309         (RUSAGE_CHILDREN): Remove statement about specifying a particular
78310         child on GNU/Hurd.
78311         * manual/setjmp.texi: Likewise.
78312         * manual/signal.texi: Likewise.
78313         * manual/startup.texi: Likewise.
78314         * manual/stdio.texi: Likewise.
78315         * manual/terminal.texi: Likewise.
78316         (ONLCR): Document as POSIX.
78317         (OXTABS): Document availability on GNU/Linux as XTABS.
78318         (ONOEOT): Document availability separately from other bits.
78319         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
78320         * manual/time.texi: Likewise.
78321         * manual/users.texi: Likewise.
78322         * INSTALL: Regenerated.
78323         * sysdeps/gnu/errlist.c: Regenerated.
78325         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
78326         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
78327         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
78328         puts.
78329         * configure: Regenerated.
78331 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
78333         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
78334         default includes instead of AC_HEADER_CHECK.
78335         * sysdeps/i386/configure: Regenerated.
78337         [BZ #10716]
78338         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
78339         * math/s_cacoshf.c (__cacoshf): Likewise.
78340         * math/s_cacoshl.c (__cacoshl): Likewise.
78341         * math/s_casinh.c (__casinh): Set signs of result from argument.
78342         * math/s_casinhf.c (__casinhf): Likewise.
78343         * math/s_casinhl.c (__casinhl): Likewise.
78344         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
78345         (casinh_test): Add more tests.
78346         * sysdeps/i386/fpu/libm-test-ulps: Update.
78347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78349 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
78351         * po/zh_TW.po: Update from translation team.
78353         * login/Makefile (distribute): Remove variable.
78354         * catgets/Makefile: Likewise.
78355         * mach/Makefile: Likewise.
78356         * malloc/Makefile: Likewise.
78357         * misc/Makefile: Likewise.
78358         * iconv/Makefile: Likewise.
78359         * nscd/Makefile: Likewise.
78360         * hurd/Makefile: Likewise.
78361         * manual/Makefile: Likewise.
78362         * locale/Makefile: Likewise.
78363         * intl/Makefile: Likewise.
78364         * conform/Makefile: Likewise.
78365         * nss/Makefile: Likewise.
78366         * time/Makefile: Likewise.
78367         * soft-fp/Makefile: Likewise.
78368         * dirent/Makefile: Likewise.
78369         * gmon/Makefile: Likewise.
78370         * po/Makefile: Likewise.
78371         * rt/Makefile: Likewise.
78372         * socket/Makefile: Likewise.
78373         * math/Makefile: Likewise.
78374         * signal/Makefile: Likewise.
78375         * debug/Makefile: Likewise.
78376         * elf/Makefile: Likewise.
78377         * timezone/Makefile: Likewise.
78378         * stdlib/Makefile: Likewise.
78379         * iconvdata/Makefile: Likewise.
78380         * sunrpc/Makefile: Likewise.
78381         * io/Makefile: Likewise.
78382         * argp/Makefile: Likewise.
78383         * inet/Makefile: Likewise.
78384         * hesiod/Makefile: Likewise.
78385         * grp/Makefile: Likewise.
78386         * csu/Makefile: Likewise.
78387         * wctype/Makefile: Likewise.
78388         * crypt/Makefile: Likewise.
78389         * libio/Makefile: Likewise.
78390         * string/Makefile: Likewise.
78391         * nis/Makefile: Likewise.
78392         * resolv/Makefile: Likewise.
78393         * stdio-common/Makefile: Likewise.
78394         * wcsmbs/Makefile: Likewise.
78395         * dlfcn/Makefile: Likewise.
78396         * posix/Makefile: Likewise.
78398         [BZ #6959]
78399         * timezone/Makefile: Don't install timezone files, just the programs
78400         and scripts.
78402 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
78404         * nss/databases.def: Add missing gshadow entry.
78406         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
78408 2012-03-06  Marek Polacek  <polacek@redhat.com>
78410         [BZ #13726]
78411         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
78412         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
78413         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
78414         * stdio-common/tst-long-dbl-fphex.c: New file.
78416 2012-03-06  David S. Miller  <davem@davemloft.net>
78418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78419         (set_obp_int): New function.
78420         (get_obp_int): New function.
78421         (__get_clockfreq_via_dev_openprom): Likewise.
78422         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
78423         Avoid unused variable warnings on 'val' and use builtin_expect.
78424         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
78425         __builtin_expect.
78426         (INLINE_CLONE_SYSCALL): Likewise.
78428 2012-03-05  David S. Miller  <davem@davemloft.net>
78430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78432 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
78434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78436         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
78437         only for |x| >= 40.
78438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78440 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
78442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
78443         Replace gettimeofday with __vdso_gettimeofday.
78445         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78446         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
78447         __vdso_clock_gettime and __vdso_getcpu.
78449         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
78450         time with __vdso_time.
78452 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78454         * manual/lang.texi (size_t): Note types to which size_t may be
78455         equivalent with the GNU C Library, but do not describe when
78456         differences between them are significant.
78458 2012-03-05  Andreas Jaeger  <aj@suse.de>
78460         * sysdeps/i386/fpu/libm-test-ulps: Update.
78462 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
78464         [BZ #3976]
78465         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
78466         (__ieee754_pow): Save and restore rounding mode and use
78467         round-to-nearest for main computations.
78468         * math/libm-test.inc (pow_test_tonearest): New function.
78469         (pow_test_towardzero): Likewise.
78470         (pow_test_downward): Likewise.
78471         (pow_test_upward): Likewise.
78472         (main): Call the new functions.
78473         * sysdeps/i386/fpu/libm-test-ulps: Update.
78474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78476         [BZ #3976]
78477         * math/libm-test.inc (cosh_test_tonearest): New function.
78478         (cosh_test_towardzero): Likewise.
78479         (cosh_test_downward): Likewise.
78480         (cosh_test_upward): Likewise.
78481         (sinh_test_tonearest): Likewise.
78482         (sinh_test_towardzero): Likewise.
78483         (sinh_test_downward): Likewise.
78484         (sinh_test_upward): Likewise.
78485         (main): Call the new functions.
78486         * sysdeps/i386/fpu/libm-test-ulps: Update.
78487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78489 2012-03-05  Tom de Vries  <tom@codesourcery.com>
78491         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
78492         default stack guard is set in last bytes.
78493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
78495 2012-03-05  Kees Cook  <keescook@chromium.org>
78497         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
78499         [BZ #13656]
78500         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
78501         possibly allocate from heap instead of stack.
78502         * stdio-common/bug-vfprintf-nargs.c: New file.
78503         * stdio-common/Makefile (tests): Add nargs overflow test.
78505 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
78507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78509 2012-03-03  Marek Polacek  <polacek@redhat.com>
78511         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
78512         * math/math_private.h: Likewise.
78513         * stdlib/tst-strtod.c: Likewise.
78514         * sysdeps/i386/i486/bits/atomic.h: Likewise.
78515         * sysdeps/x86_64/bits/atomic.h: Likewise.
78517 2012-03-02  David S. Miller  <davem@davemloft.net>
78519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
78520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
78521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
78522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
78523         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
78524         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
78525         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
78526         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
78528 2012-03-02  Roland McGrath  <roland@hack.frob.com>
78530         [BZ #13792]
78531         * manual/examples/README: New file, says the example source files
78532         can be used under GPL>=2.
78533         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
78534         line containing just "*/".
78535         * manual/examples/add.c: Add copyright header (GPL>=2).
78536         * manual/examples/argp-ex1.c: Likewise.
78537         * manual/examples/argp-ex2.c: Likewise.
78538         * manual/examples/argp-ex3.c: Likewise.
78539         * manual/examples/argp-ex4.c: Likewise.
78540         * manual/examples/atexit.c: Likewise.
78541         * manual/examples/db.c: Likewise.
78542         * manual/examples/dir.c: Likewise.
78543         * manual/examples/dir2.c: Likewise.
78544         * manual/examples/execinfo.c: Likewise.
78545         * manual/examples/filecli.c: Likewise.
78546         * manual/examples/filesrv.c: Likewise.
78547         * manual/examples/fmtmsgexpl.c: Likewise.
78548         * manual/examples/genpass.c: Likewise.
78549         * manual/examples/inetcli.c: Likewise.
78550         * manual/examples/inetsrv.c: Likewise.
78551         * manual/examples/isockad.c: Likewise.
78552         * manual/examples/longopt.c: Likewise.
78553         * manual/examples/memopen.c: Likewise.
78554         * manual/examples/memstrm.c: Likewise.
78555         * manual/examples/mkfsock.c: Likewise.
78556         * manual/examples/mkisock.c: Likewise.
78557         * manual/examples/mygetpass.c: Likewise.
78558         * manual/examples/pipe.c: Likewise.
78559         * manual/examples/popen.c: Likewise.
78560         * manual/examples/rprintf.c: Likewise.
78561         * manual/examples/search.c: Likewise.
78562         * manual/examples/select.c: Likewise.
78563         * manual/examples/setjmp.c: Likewise.
78564         * manual/examples/sigh1.c: Likewise.
78565         * manual/examples/sigusr.c: Likewise.
78566         * manual/examples/stpcpy.c: Likewise.
78567         * manual/examples/strdupa.c: Likewise.
78568         * manual/examples/strftim.c: Likewise.
78569         * manual/examples/strncat.c: Likewise.
78570         * manual/examples/subopt.c: Likewise.
78571         * manual/examples/swapcontext.c: Likewise.
78572         * manual/examples/termios.c: Likewise.
78573         * manual/examples/testopt.c: Likewise.
78574         * manual/examples/testpass.c: Likewise.
78575         * manual/examples/timeval_subtract.c: Likewise.
78577         [BZ #13792]
78578         * manual/time.texi (Elapsed Time): Move timeval_subtract example
78579         function to ...
78580         * manual/timeval_subtract.c.texi: ... here, new file.
78582 2012-03-02  David S. Miller  <davem@davemloft.net>
78584         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
78586 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
78588         [BZ #3976]
78589         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
78590         (__sin): Save and restore rounding mode and use round-to-nearest
78591         for all computations.
78592         (__cos): Save and restore rounding mode and use round-to-nearest
78593         for all computations.
78594         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
78595         <fenv.h>.
78596         (tan): Save and restore rounding mode and use round-to-nearest for
78597         all computations.
78598         * math/libm-test.inc (cos_test_tonearest): New function.
78599         (cos_test_towardzero): Likewise.
78600         (cos_test_downward): Likewise.
78601         (cos_test_upward): Likewise.
78602         (sin_test_tonearest): Likewise.
78603         (sin_test_towardzero): Likewise.
78604         (sin_test_downward): Likewise.
78605         (sin_test_upward): Likewise.
78606         (tan_test_tonearest): Likewise.
78607         (tan_test_towardzero): Likewise.
78608         (tan_test_downward): Likewise.
78609         (tan_test_upward): Likewise.
78610         (main): Call the new functions.
78611         * sysdeps/i386/fpu/libm-test-ulps: Update.
78612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78614         [BZ #10135]
78615         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
78616         small n, then large n, before computing and testing k+n.
78617         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
78618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
78619         Likewise.
78620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
78621         Likewise.
78622         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
78623         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
78624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
78625         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
78626         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
78627         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
78628         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
78629         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
78630         * math/libm-test.inc (scalbn_test): Add more tests.
78631         (scalbln_test): Likewise.
78633         * manual/filesys.texi (mode_t): Describe constraints on size and
78634         signedness, not exact equivalence to a particular type.
78635         (ino_t): Likewise.
78636         (ino64_t): Likewise.
78637         (dev_t): Likewise.
78638         (nlink_t): Likewise.
78639         (blkcnt_t): Likewise.
78640         (blkcnt64_t): Likewise.
78641         * manual/llio.texi (off_t): Likewise.
78643         [BZ #3976]
78644         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
78645         (__ieee754_exp): Save and restore rounding mode and use
78646         round-to-nearest for all computations.
78647         * math/libm-test.inc (exp_test_tonearest): New function.
78648         (exp_test_towardzero): Likewise.
78649         (exp_test_downward): Likewise.
78650         (exp_test_upward): Likewise.
78651         (main): Call the new functions.
78652         * sysdeps/i386/fpu/libm-test-ulps: Update.
78653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78655 2012-03-01  Chris Demetriou  <cgd@google.com>
78657         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
78658         have predictable order.
78660 2012-03-01  David S. Miller  <davem@davemloft.net>
78662         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
78664         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
78665         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
78666         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
78667         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
78669         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
78670         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
78671         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
78672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
78673         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
78674         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
78675         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
78676         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
78677         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
78679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78681         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
78682         * sysdeps/sparc/fpu/libm-test-ulps: to here.
78683         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
78685         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
78686         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78687         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78688         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
78689         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
78690         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
78691         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
78692         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78693         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78694         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
78695         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
78696         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78697         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78698         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78699         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78701         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
78702         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
78703         * sysdeps/sparc/elf/configure: Regenerated.
78705 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
78707         * configure.in (AS, LD): Require binutils 2.20 or later.
78708         * configure: Regenerated.
78709         * manual/install.texi (Tools for Compilation): Give binutils 2.20
78710         as required minimum version.
78711         * INSTALL: Regenerated.
78713         [BZ #2541]
78714         [BZ #4108]
78715         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
78716         before squaring exponent.
78717         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
78718         bottom long double and 27 bits of top long double before squaring
78719         exponent.
78720         * math/libm-test.inc (erfc_test): Add more tests.
78721         * sysdeps/i386/fpu/libm-test-ulps: Update.
78722         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78725 2012-03-01  Kai Tietz  <ktietz@redhat.com>
78727         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
78728         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
78729         containing bit-fields.
78730         * soft-fp/extended.h (_FP_UNION_E): Likewise.
78731         * soft-fp/single.h (_FP_UNION_S): Likewise.
78732         * soft-fp/double.h (_FP_UNION_D): Likewise.
78734 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78736         [BZ #13786]
78737         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
78738         not include ../strcmp.S.
78739         [USE_AS_STRNCASECMP_L]: Likewise.
78740         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
78741         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
78742         * sysdeps/i386/i686/multiarch/strncase_l-c.c
78743         (__strncasecmp_l_ia32): Define as alias to
78744         __strncasecmp_l_nonascii.
78746         [BZ #5794]
78747         * math/libm-test.inc (expm1_test): Add test for bug 5794.
78748         * sysdeps/i386/fpu/libm-test-ulps: Update.
78749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78751         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
78752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78754 2012-02-29  Jeff Law  <law@redhat.com>
78756         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
78757         out of bounds read.
78759 2012-02-29  Marek Polacek  <polacek@redhat.com>
78761         [BZ #13706]
78762         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
78763         * elf/Makefile: Add rules to run tst-unused-dep.out.
78765 2012-02-28  David S. Miller  <davem@davemloft.net>
78767         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
78768         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
78769         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
78770         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
78771         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
78772         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
78774 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
78776         * math/libm-test.inc (llround_test): Move one test from
78777         lround_test.  Use TEST_f_L in moved test.
78778         (lround_test): Move misplaced test to llround_test.  Add testcase
78779         from bug 2561.
78781 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
78783         * sysdeps/x86_64/fpu/e_expf.S: New file.
78784         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
78786 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
78788         [BZ #13637]
78789         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
78790         of remain_len that may cause incomplete multi-byte character and
78791         false match.
78792         * posix/bug-regex33.c: New file.
78793         * posix/Makefile (tests): Add bug-regex33.
78795 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
78797         * manual/macros.texi: New file.
78798         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
78799         * manual/libc.texinfo: Include macros.texi.
78800         * manual/creatute.texi: Likewise.
78801         * manual/install.texi: Likewise.
78802         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
78803         @glibcadj{} in references to the GNU C Library.
78804         * manual/charset.texi: Likewise.
78805         * manual/conf.texi: Likewise.
78806         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
78807         when not using those macros.
78808         * manual/creature.texi: Likewise.
78809         * manual/crypt.texi: Likewise.
78810         * manual/errno.texi: Likewise.
78811         * manual/filesys.texi: Likewise.
78812         * manual/header.texi: Likewise.
78813         * manual/install.texi: Likewise.
78814         * manual/intro.texi: Likewise.
78815         * manual/io.texi: Likewise.
78816         * manual/job.texi: Likewise.
78817         * manual/lang.texi: Likewise.
78818         * manual/libc.texiinfo: Likewise.
78819         * manual/llio.texi: Likewise.
78820         * manual/locale.texi: Likewise.
78821         * manual/maint.texi: Likewise.
78822         * manual/math.texi: Likewise.
78823         * manual/memory.texi: Likewise.
78824         * manual/message.texi: Likewise.
78825         * manual/nss.texi: Likewise.
78826         * manual/pattern.texi: Likewise.
78827         * manual/process.texi: Likewise.
78828         * manual/resource.texi: Likewise.
78829         * manual/search.texi: Likewise.
78830         * manual/setjmp.texi: Likewise.
78831         * manual/signal.texi: Likewise.
78832         * manual/socket.texi: Likewise.
78833         * manual/startup.texi: Likewise.
78834         * manual/stdio.texi: Likewise.
78835         * manual/string.texi: Likewise.
78836         * manual/sysinfo.texi: Likewise.
78837         * manual/syslog.texi: Likewise.
78838         * manual/terminal.texi: Likewise.
78839         * manual/time.texi: Likewise.
78840         * manual/users.texi: Likewise.
78841         * INSTALL: Regenerated.
78842         * NOTES: Regenerated.
78843         * sysdeps/gnu/errlist.c: Regenerated.
78845 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
78847         * include/dirent.h: Include <dirstream.h> before
78848         <dirent/dirent.h>.
78850 2012-02-28  David S. Miller  <davem@davemloft.net>
78852         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
78853         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
78854         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
78855         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
78857 2012-02-27  David S. Miller  <davem@davemloft.net>
78859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
78860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
78861         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
78862         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
78864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
78865         frame pointer instead of stack pointer relative arg slot.
78866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78867         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78868         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78870 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
78872         [BZ #3992]
78873         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
78875 2012-02-27  David S. Miller  <davem@davemloft.net>
78877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
78878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
78879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
78881         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
78882         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
78883         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
78884         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
78886 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78888         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
78889         later.  Allow versions 5-9.
78890         * configure: Regenerated.
78891         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
78892         required minimum version and 4.6 as recommended version.  Do not
78893         mention bugs in GCC 2.7 and 2.8.
78894         * INSTALL: Regenerated.
78896 2012-02-27  David S. Miller  <davem@davemloft.net>
78898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
78899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
78900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
78901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
78902         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
78903         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
78904         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
78905         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
78907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
78908         manipulate bits before adding and subtracting TWO112[sx].
78909         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
78911 2012-02-27  Roland McGrath  <roland@hack.frob.com>
78913         [BZ #13775]
78914         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
78915         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
78916         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
78917         being in POSIX, because they are in 1003.1-2008.
78919         * rt/tst-aio.c: Include <fcntl.h>.
78920         * rt/tst-aio7.c: Likewise.
78921         * rt/tst-aio64.c: Likewise.
78923         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
78925 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
78927         * manual/install.texi (--with-headers): Describe headers as
78928         interface headers, not private headers.
78929         (Specific advice for GNU/Linux systems): Describe use of headers
78930         from "make headers_install", not private headers from older
78931         kernels.
78932         * INSTALL: Regenerated.
78933         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
78934         Change to 2.6.19.
78935         * sysdeps/unix/sysv/linux/configure: Regenerated.
78937         * manual/llio.texi (fclean): Remove documentation.
78939         * manual/Makefile (libc-texi-generated): New variable.  Include
78940         version.texi.
78941         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
78942         $(libc-texi-generated), not duplicated list of files.
78943         (version.texi, stamp-version): New rules.
78944         (realclean): Remove $(libc-texi-generated), not individual files
78945         from that list.  Do not remove dir-add.texinfo.
78946         * manual/libc.texinfo: Comment out uses of edition numbers and
78947         references to printed manual.  Remove last-updated dates.
78948         (EDITION): Comment out.
78949         (ISBN): Likewise.
78950         (VERSION, UPDATED): Remove.
78951         (version.texi): Include.
78953 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
78955         * sysdeps/posix/spawni.c: Include <signal.h>.
78956         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
78957         * sysdeps/pthread/aio_fsync.c: Likewise.
78959 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
78961         * conform/Makefile (tests): Run only when not cross-compiling and
78962         when fast-check is not defined.
78964         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
78965         * conform/data/limits.h-data: Fixes for POSIX2008.
78966         * conform/run-conformtest.sh: Run all tests.
78967         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
78968         headers.
78969         * include/bits/dlfcn.h: Likewise.
78970         * include/langinfo.h: Likewise.
78971         * include/monetary.h: Likewise.
78972         * include/sys/poll.h: Likewise.
78974         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
78975         for __USE_GNU.
78976         * posix/spawn.h: Define __need_sigset_t.
78977         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
78978         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
78979         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
78980         to get sigevent_t only.
78981         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
78982         only for __USE_GNU.
78983         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78984         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
78985         process_vm_writev only for __USE_GNU.
78986         * termios/termios.h: Declare tcgetsid also for POSIX2008.
78988         * conform/Makefile: For now ignore errors from run-conformtest.
78989         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
78990         POSIX to avoid namespace pollution.  Don't prepend headers.
78991         * conform/data/aio.h-data: Fixes for POSIX testing.
78992         * conform/data/fcntl.h-data: Likewise.
78993         * conform/data/glob.h-data: Likewise.
78994         * conform/data/grp.h-data: Likewise.
78995         * conform/data/pthread.h-data: Likewise.
78996         * conform/data/pwd.h-data: Likewise.
78997         * conform/data/signal.h-data: Likewise.
78998         * conform/data/spawn.h-data: Likewise.
78999         * conform/data/stdio.h-data: Likewise.
79000         * conform/data/stdlib.h-data: Likewise.
79001         * conform/data/stropts.h-data: Likewise.
79002         * conform/data/sys/mman.h-data: Likewise.
79003         * conform/data/sys/stat.h-data: Likewise.
79004         * conform/data/sys/types.h-data: Likewise.
79005         * conform/data/sys/wait.h-data: Likewise.
79006         * conform/data/time.h-data: Likewise.
79007         * conform/data/unistd.h-data: Likewise.
79008         * conform/data/utime.h-data: Likewise.
79010         * io/sys/stat.h: fchmod was always in POSIX.
79011         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
79012         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
79013         * rt/aio.h: Define __need_timespec before including <time.h>.
79014         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
79015         struct.  Add forward declaration of pthread_attr_t and use it in
79016         sigevent.
79017         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79018         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79019         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
79020         always remove CLK_TCK definition.
79022 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
79024         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
79026 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
79028         * conform/run-conformtest.sh: New file.
79029         * conform/Makefile: Run run-conformtest for tests.
79030         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
79031         support.
79033         * conform/data/uchar.h-data: New file.
79034         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
79035         * conform/data/arpa/inet.h-data: Likewise.
79036         * conform/data/assert.h-data: Likewise.
79037         * conform/data/complex.h-data: Likewise.
79038         * conform/data/cpio.h-data: Likewise.
79039         * conform/data/ctype.h-data: Likewise.
79040         * conform/data/dirent.h-data: Likewise.
79041         * conform/data/dlfcn.h-data: Likewise.
79042         * conform/data/errno.h-data: Likewise.
79043         * conform/data/fcntl.h-data: Likewise.
79044         * conform/data/float.h-data: Likewise.
79045         * conform/data/fmtmsg.h-data: Likewise.
79046         * conform/data/fnmatch.h-data: Likewise.
79047         * conform/data/ftw.h-data: Likewise.
79048         * conform/data/glob.h-data: Likewise.
79049         * conform/data/grp.h-data: Likewise.
79050         * conform/data/iconv.h-data: Likewise.
79051         * conform/data/inttypes.h-data: Likewise.
79052         * conform/data/langinfo.h-data: Likewise.
79053         * conform/data/libgen.h-data: Likewise.
79054         * conform/data/limits.h-data: Likewise.
79055         * conform/data/locale.h-data: Likewise.
79056         * conform/data/math.h-data: Likewise.
79057         * conform/data/monetary.h-data: Likewise.
79058         * conform/data/mqueue.h-data: Likewise.
79059         * conform/data/ndbm.h-data: Likewise.
79060         * conform/data/net/if.h-data: Likewise.
79061         * conform/data/netdb.h-data: Likewise.
79062         * conform/data/netinet/in.h-data: Likewise.
79063         * conform/data/nl_types.h-data: Likewise.
79064         * conform/data/poll.h-data: Likewise.
79065         * conform/data/pthread.h-data: Likewise.
79066         * conform/data/pwd.h-data: Likewise.
79067         * conform/data/regex.h-data: Likewise.
79068         * conform/data/sched.h-data: Likewise.
79069         * conform/data/search.h-data: Likewise.
79070         * conform/data/semaphore.h-data: Likewise.
79071         * conform/data/setjmp.h-data: Likewise.
79072         * conform/data/signal.h-data: Likewise.
79073         * conform/data/spawn.h-data: Likewise.
79074         * conform/data/stdarg.h-data: Likewise.
79075         * conform/data/stdio.h-data: Likewise.
79076         * conform/data/stdlib.h-data: Likewise.
79077         * conform/data/string.h-data: Likewise.
79078         * conform/data/strings.h-data: Likewise.
79079         * conform/data/stropts.h-data: Likewise.
79080         * conform/data/sys/ipc.h-data: Likewise.
79081         * conform/data/sys/mman.h-data: Likewise.
79082         * conform/data/sys/msg.h-data: Likewise.
79083         * conform/data/sys/resource.h-data: Likewise.
79084         * conform/data/sys/select.h-data: Likewise.
79085         * conform/data/sys/sem.h-data: Likewise.
79086         * conform/data/sys/shm.h-data: Likewise.
79087         * conform/data/sys/socket.h-data: Likewise.
79088         * conform/data/sys/stat.h-data: Likewise.
79089         * conform/data/sys/statvfs.h-data: Likewise.
79090         * conform/data/sys/time.h-data: Likewise.
79091         * conform/data/sys/timeb.h-data: Likewise.
79092         * conform/data/sys/times.h-data: Likewise.
79093         * conform/data/sys/types.h-data: Likewise.
79094         * conform/data/sys/uio.h-data: Likewise.
79095         * conform/data/sys/un.h-data: Likewise.
79096         * conform/data/sys/utsname.h-data: Likewise.
79097         * conform/data/sys/wait.h-data: Likewise.
79098         * conform/data/syslog.h-data: Likewise.
79099         * conform/data/tar.h-data: Likewise.
79100         * conform/data/termios.h-data: Likewise.
79101         * conform/data/utime.h-data: Likewise.
79102         * conform/data/utmpx.h-data: Likewise.
79103         * conform/data/varargs.h-data: Likewise.
79104         * conform/data/wchar.h-data: Likewise.
79105         * conform/data/wctype.h-data: Likewise.
79106         * conform/data/wordexp.h-data: Likewise.
79108         * include/stropts.h: New file.
79109         * include/uchar.h: New file.
79110         * include/aio.h: Changes to allow conformtest.pl to use the headers.
79111         * include/assert.h: Likewise.
79112         * include/ctype.h: Likewise.
79113         * include/dirent.h: Likewise.
79114         * include/dlfcn.h: Likewise.
79115         * include/fcntl.h: Likewise.
79116         * include/fnmatch.h: Likewise.
79117         * include/glob.h: Likewise.
79118         * include/grp.h: Likewise.
79119         * include/libio.h: Likewise.
79120         * include/locale.h: Likewise.
79121         * include/math.h: Likewise.
79122         * include/net/if.h: Likewise.
79123         * include/netdb.h: Likewise.
79124         * include/netinet/in.h: Likewise.
79125         * include/pthread.h: Likewise.
79126         * include/pwd.h: Likewise.
79127         * include/regex.h: Likewise.
79128         * include/sched.h: Likewise.
79129         * include/search.h: Likewise.
79130         * include/setjmp.h: Likewise.
79131         * include/signal.h: Likewise.
79132         * include/stdio.h: Likewise.
79133         * include/stdlib.h: Likewise.
79134         * include/string.h: Likewise.
79135         * include/sys/cdefs.h: Likewise.
79136         * include/sys/mman.h: Likewise.
79137         * include/sys/msg.h: Likewise.
79138         * include/sys/resource.h: Likewise.
79139         * include/sys/select.h: Likewise.
79140         * include/sys/socket.h: Likewise.
79141         * include/sys/stat.h: Likewise.
79142         * include/sys/statvfs.h: Likewise.
79143         * include/sys/time.h: Likewise.
79144         * include/sys/times.h: Likewise.
79145         * include/sys/uio.h: Likewise.
79146         * include/sys/utsname.h: Likewise.
79147         * include/sys/wait.h: Likewise.
79148         * include/termios.h: Likewise.
79149         * include/time.h: Likewise.
79150         * include/ulimit.h: Likewise.
79151         * include/unistd.h: Likewise.
79152         * include/utime.h: Likewise.
79153         * include/wchar.h: Likewise.
79154         * include/wctype.h: Likewise.
79155         * include/wordexp.h: Likewise.
79157         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
79159         * time/time.h: TIME_UTC must be a macro.
79160         Make timespec_get available for ISO C11 only as well.
79162 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
79164         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
79165         Reported by Peng Haitao <penght@cn.fujitsu.com>.
79167 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79169         * configure.in: Use -o not -a in test for unsupported multi-arch.
79171 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79173         * manual/texinfo.tex: Update to version 2012-01-19.16.
79175 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
79177         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
79179 2012-02-24  Roland McGrath  <roland@hack.frob.com>
79181         [BZ #13738]
79182         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
79183         * manual/fdl-1.3.texi: New file.
79184         * manual/fdl-1.1.texi: File removed.
79186         [BZ #13738]
79187         * manual/libc.texinfo (FDL_VERSION): New @set.
79188         Use it for mention of FDL in cover text.
79189         (Documentation License): Use it in @include file name.
79191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79192             Roland McGrath  <roland@hack.frob.com>
79194         [BZ #5461]
79195         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
79196         (not LONG_LONG_MAX and LONG_LONG_MIN.
79197         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
79198         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
79199         name.
79200         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
79202 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79204         [BZ #2547]
79205         [BZ #11365]
79206         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
79207         manipulate bits before adding and subtracting TWO23[sx].
79208         * math/libm-test.inc (nearbyint_test): Add more tests.
79210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79212         [BZ #2548]
79213         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
79214         bits before adding and subtracting TWO23[sx].
79215         * math/libm-test.inc (rint_test): Add more tests.
79216         (rint_test_tonearest): Likewise.
79217         (rint_test_towardzero): Likewise.
79218         (rint_test_downward): Likewise.
79219         (rint_test_upward: Likewise.
79221 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79223         [BZ #10110]
79224         * include/stdc-predef.h: New file.  Extracted from features.h.
79225         * include/features.h: Include stdc-predef.h.
79226         * Makefile (headers): Add stdc-predef.h.
79227         * CONFORMANCE (Compiler limitations): Update.
79229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
79231         * manual/libc.texinfo (VERSION, UPDATED): Revert.
79233 2012-02-21  David S. Miller  <davem@davemloft.net>
79235         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
79236         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79238 2012-02-20  David S. Miller  <davem@davemloft.net>
79240         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
79241         using a normal save/restore sequence, rather than allocating a
79242         dummy stack frame just to store a frame pointer and restore.
79243         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79245 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79247         * manual/install.texi: Fix stray word in line-wrapped comment.
79249 2012-02-20  David S. Miller  <davem@davemloft.net>
79251         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
79252         both binutils and gcc support GOTDATA.
79254         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
79255         "rd %pc" in the PIC register setup sequences.
79257         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
79258         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
79259         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79260         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
79261         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79263         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79264         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
79266         (SYSCALL_ERROR_HANDLER): Likewise.
79267         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79268         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
79270         (SYSCALL_ERROR_HANDLER): Likewise.
79272         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
79273         (HAVE_GCC_GOTDATA): New.
79274         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
79275         relocation support in both binutils and gcc.
79276         * sysdeps/sparc/elf/configure: Regenerate.
79278         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
79279         * sysdeps/sparc/sparc32/elf/configure: Delete.
79280         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
79281         * sysdeps/sparc/sparc64/elf/configure: Delete.
79282         * sysdeps/sparc/elf/configure.in: New file.
79283         * sysdeps/sparc/elf/configure: Generate.
79285         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
79286         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
79287         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
79288         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
79289         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
79291 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79293         * manual/install.texi: Do not mention specific glibc version
79294         numbers.
79295         * manual/libc.texinfo (VERSION, UPDATED): Update.
79296         (@copying): Use @copyright{} and range of years.
79298 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
79300         [BZ #13695]
79301         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
79302         [crti.S not in sysdirs] (generated): Do not append.
79303         [crti.S not in sysdirs] (omit-deps): Likewise.
79304         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
79305         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
79306         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
79307         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
79308         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
79309         Likewise.
79310         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
79311         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
79312         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
79313         * csu/defs.awk: Remove file.
79314         * sysdeps/generic/initfini.c: Likewise.
79315         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
79316         variable.
79317         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
79318         Likewise.
79320 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79322         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
79323         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
79324         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
79325         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
79326         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79327         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
79328         <bits/epoll.h>.
79329         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
79330         (__EPOLL_PACKED): Define to empty if not defined by
79331         <bits/epoll.h>.
79332         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
79333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79334         bits/epoll.h.
79336 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79338         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
79339         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
79340         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
79341         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
79342         <bits/timerfd.h>.
79343         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
79344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79345         bits/timerfd.h.
79347 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
79349         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
79350         in C locale.
79351         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79352         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
79353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
79354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79356 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
79358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79359         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
79361 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
79363         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
79364         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
79365         defined.
79366         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
79367         Likewise.
79368         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
79369         entry for 2.16.
79371 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
79373         * math/w_acos.c: Use non-signaling floating-point comparisons.
79374         * math/w_acosf.c: Likewise.
79375         * math/w_acosh.c: Likewise.
79376         * math/w_acoshf.c: Likewise.
79377         * math/w_acoshl.c: Likewise.
79378         * math/w_acosl.c: Likewise.
79379         * math/w_asin.c: Likewise.
79380         * math/w_asinf.c: Likewise.
79381         * math/w_asinl.c: Likewise.
79382         * math/w_atanh.c: Likewise.
79383         * math/w_atanhf.c: Likewise.
79384         * math/w_atanhl.c: Likewise.
79385         * math/w_exp2.c: Likewise.
79386         * math/w_exp2f.c: Likewise.
79387         * math/w_exp2l.c: Likewise.
79388         * math/w_j0.c: Likewise.
79389         * math/w_j0f.c: Likewise.
79390         * math/w_j0l.c: Likewise.
79391         * math/w_j1.c: Likewise.
79392         * math/w_j1f.c: Likewise.
79393         * math/w_j1l.c: Likewise.
79394         * math/w_jn.c: Likewise.
79395         * math/w_jnf.c: Likewise.
79396         * math/w_log.c: Likewise.
79397         * math/w_log10.c: Likewise.
79398         * math/w_log10f.c: Likewise.
79399         * math/w_log10l.c: Likewise.
79400         * math/w_log2.c: Likewise.
79401         * math/w_log2f.c: Likewise.
79402         * math/w_log2l.c: Likewise.
79403         * math/w_logf.c: Likewise.
79404         * math/w_logl.c: Likewise.
79405         * math/w_sqrt.c: Likewise.
79406         * math/w_sqrtf.c: Likewise.
79407         * math/w_sqrtl.c: Likewise.
79408         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79409         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
79410         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79411         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79412         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79414 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79416         [BZ #9739]
79417         * manual/string.texi (strnlen): Use correct parameter name in
79418         equivalent expression.
79420 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79422         [BZ #11174]
79423         * manual/users.texi (seteuid): Consistently use neweuid for
79424         argument name.
79426 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
79428         [BZ #13704]
79429         * manual/nss.texi (Services in the NSS configuration): Correct
79430         list of services in example configuration file.
79432 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
79434         [BZ #11322]
79435         * manual/arith.texi: Remove statements about negative zero
79436         behaving identically to zero.
79438 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79440         [BZ #5993]
79441         * manual/install.texi: Do not document upgrading from libc5.
79443 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
79445         [BZ #4596]
79446         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
79448 2012-02-18  David S. Miller  <davem@davemloft.net>
79450         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
79451         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
79452         %o7 across the call.
79453         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
79454         instead.
79455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
79456         SETUP_PIC_REG_LEAF.
79457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79458         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
79459         * sysdeps/sparc/crtn.S: Likewise.
79461 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
79463         * aout/Makefile: Remove.
79465 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
79467         [BZ #13058]
79468         * manual/examples/argp-ex1.c (main): Format definition in GNU
79469         style.
79470         * manual/examples/argp-ex2.c (main): Likewise.
79471         * manual/examples/argp-ex3.c (main): Likewise.
79472         * manual/examples/argp-ex4.c (main): Likewise.
79473         * manual/examples/longopt.c (main): Use new-style prototype
79474         definition.
79475         * manual/examples/strncat.c (main): Specify return type and use
79476         (void) for arguments.
79477         * manual/examples/subopt.c (main): Use char **argv argument.
79479 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79481         [BZ #5077]
79482         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
79483         rounding modes.
79485 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
79487         [BZ #6907]
79488         * manual/string.texi (strchr): Change when strchrnul is
79489         recommended.
79491 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
79493         [BZ #174]
79494         * manual/locale.texi (setlocale): Document LOCPATH.
79496 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79498         [BZ #10210]
79499         * manual/process.texi (execle): Move @dots{} before last argument.
79501 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
79503         [BZ #12047]
79504         * manual/charset.texi (Generic Charset Conversion): Fix typo
79505         (LC_TYPE -> LC_CTYPE).
79507 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
79509         [BZ #5805]
79510         * manual/arith.texi (scalbn): Use @var{} on parameter names.
79511         (scalbnf): Likewise.
79512         (scalbnl): Likewise.
79513         (scalbln): Likewise.
79514         (scalblnf): Likewise.
79515         (scalblnl): Likewise.
79516         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
79517         (vwarnx): Likewise.
79518         (verr): Likewise.
79519         (verrx): Likewise.
79520         * manual/filesys.texi (telldir): Use braces around return type.
79521         * manual/llio.texi (mmap): Add space after comma.
79522         (mmap64): Likewise.
79523         * manual/math.texi (jn): Use @var{} on parameter names.
79524         (jnf): Likewise.
79525         (jnl): Likewise.
79526         (yn): Likewise.
79527         (ynf): Likewise.
79528         (ynl): Likewise.
79529         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
79530         line.
79531         * manual/resource.texi (ulimit): Use @dots{} instead of literal
79532         "...".
79533         (sched_get_priority_min): Remove semicolon on @deftypefun line.
79534         (sched_get_priority_max): Likewise.
79535         * manual/signal.texi (sigvec): Add space after comma.
79536         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
79537         names.
79538         (if_indextoname): Likewise.
79539         (if_freenameindex): Likewise.
79540         (sendto): Use ',' instead of '.' in prototype.
79541         * manual/startup.texi (syscall): Use @dots{} instead of literal
79542         "...".
79543         * manual/stdio.texi (__fpending): Separate initial words of
79544         paragraph from @deftypefun line.
79545         * manual/syslog.texi (syslog): Use @dots{} instead of literal
79546         "...".
79547         (vsyslog): Use @var{} on parameter names.
79548         * manual/terminal.texi (stty): Use @var{} on parameter names.
79549         * manual/users.texi (getutmp): Use @var{} on parameter names.
79550         (getutmpx): Likewise.
79552 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79554         [BZ #6884]
79555         * manual/stdio.texi (fopen): Fix typos in description of
79556         ",ccs=STRING".
79558 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
79560         [BZ #4026]
79561         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
79562         get clock_id definition.
79564 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
79566         [BZ #4822]
79567         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
79568         (madvise): Cast every argument to void on its own.
79570 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79572         [BZ #9902]
79573         * manual/startup.texi (Exit Status): Fix typo.
79575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
79577         [BZ #10140]
79578         * manual/examples/argp-ex1.c: Include <stdlib.h>.
79579         * manual/examples/argp-ex2.c: Likewise.
79580         * manual/examples/argp-ex3.c: Likewise.
79582 2012-02-16  Richard Henderson  <rth@redhat.com>
79584         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
79585         * sysdeps/s390/s390-32/initfini.c: Remove.
79586         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
79587         * sysdeps/s390/s390-64/initfini.c: Remove.
79589 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79591         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
79592         compiler output for sysdeps/generic/initfini.c.
79593         * sysdeps/sh/elf/initfini.c: Remove file.
79595 2012-02-16  David S. Miller  <davem@davemloft.net>
79597         [BZ #11494]
79598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
79600         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
79601         * sysdeps/sparc/crti.S: New file.
79602         * sysdeps/sparc/crtn.S: New file.
79603         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
79604         * sysdeps/sparc/sparc64/Makefile: Likewise.
79606 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
79608         [BZ #3335]
79609         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
79611 2012-02-15  Roland McGrath  <roland@hack.frob.com>
79613         [BZ #4822]
79614         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
79616         * mach/devstream.c (cookie_io_functions_t): Macro removed.
79617         (write, read, close): Likewise.
79618         Patch by Aurelien Jarno <aurelien@aurel32.net>.
79620 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
79622         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
79623         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
79624         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
79625         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
79626         <bits/signalfd.h>.
79627         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
79628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79629         bits/signalfd.h.
79631 2012-02-14  Marek Polacek  <polacek@redhat.com>
79633         * sysdeps/x86_64/crti.S: New file.
79634         * sysdeps/x86_64/crtn.S: New file.
79635         * sysdeps/x86_64/elf/initfini.c: Remove file.
79637 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79639         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
79640         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
79641         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
79642         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
79643         <bits/inotify.h>.
79644         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
79645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79646         bits/inotify.h.
79648 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
79650         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
79651         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
79652         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
79653         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
79654         <bits/eventfd.h>.
79655         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
79656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79657         bits/eventfd.h.
79659 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
79661         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
79662         __feraiseexcept instead of feraiseexcept.
79664         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
79665         nanosleep invocations.
79666         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
79667         strings, and add error checking for a nanosleep invocations.
79669 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
79671         Replace FSF snail mail address with URLs, as per GNU coding standards.
79672         Most of the snail mail addresses were wrong anyway, and omitting
79673         them makes the source code easier to maintain.  Almost all of the
79674         changes are to license notices and to locale LC_IDENTIFICATION
79675         addresses, except for this one:
79676         * manual/libc.texinfo: In "Published by", give the FSF's URL,
79677         not its snail mail address.
79679 2012-02-09  Richard Henderson  <rth@twiddle.net>
79681         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
79682         of kernel-features.h.
79684         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
79686 2012-02-08  Marek Polacek  <polacek@redhat.com>
79688         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
79689         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
79690         * sysdeps/gnu/_G_config.h: Likewise.
79691         * sysdeps/generic/_G_config.h: Likewise.
79693 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
79695         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
79696         tests.
79697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79699         * sysdeps/powerpc/powerpc32/crti.S: New file.
79700         * sysdeps/powerpc/powerpc32/crtn.S: New file.
79701         * sysdeps/powerpc/powerpc64/crti.S: New file.
79702         * sysdeps/powerpc/powerpc64/crtn.S: New file.
79704         * Makeconfig (have-initfini): Don't set.
79705         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
79706         * configure.in (nopic_initfini): Don't substitute.
79707         * config.h.in (HAVE_INITFINI): Don't #undef.
79708         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
79709         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
79711 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
79713         Support crti.S and crtn.S provided directly by architectures.
79714         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
79715         [crti.S in sysdirs] (omit-deps): Likewise.
79716         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
79717         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
79718         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
79719         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
79720         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
79721         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
79722         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
79723         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
79724         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
79725         compiler output for sysdeps/generic/initfini.c.
79726         * sysdeps/i386/elf/Makefile: Remove file.
79727         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
79729 2012-02-07  Marek Polacek  <polacek@redhat.com>
79731         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
79732         * sysdeps/gnu/_G_config.h: Likewise.
79733         * sysdeps/mach/hurd/_G_config.h: Likewise.
79735 2012-02-07  Marek Polacek  <polacek@redhat.com>
79737         * math/Makefile (tests): Add tst-CMPLX2.
79738         * math/tst-CMPLX2.c: New file.
79740 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
79742         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79744         * math/libm-test.inc (jn_test): Add missing L suffix.
79746 2012-02-06  Marek Polacek  <polacek@redhat.com>
79748         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
79749         * sysdeps/i386/fpu/e_powf.S: Likewise.
79750         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
79751         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79752         * sysdeps/i386/fpu/e_acosh.S: Likewise.
79753         * sysdeps/i386/fpu/e_pow.S: Likewise.
79754         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
79755         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
79756         * sysdeps/i386/fpu/s_expm1.S: Likewise.
79757         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
79758         * sysdeps/i386/fpu/e_log2.S: Likewise.
79759         * sysdeps/i386/fpu/e_log2l.S: Likewise.
79760         * sysdeps/i386/fpu/e_scalb.S: Likewise.
79761         * sysdeps/i386/fpu/e_powl.S: Likewise.
79762         * sysdeps/i386/fpu/s_log1p.S: Likewise.
79763         * sysdeps/i386/fpu/e_log10f.S: Likewise.
79764         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
79765         * sysdeps/i386/fpu/e_logl.S: Likewise.
79766         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
79767         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
79768         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
79769         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
79770         * sysdeps/i386/fpu/e_log2f.S: Likewise.
79771         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
79772         * sysdeps/i386/fpu/e_log.S: Likewise.
79773         * sysdeps/i386/fpu/s_cexp.S: Likewise.
79774         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
79775         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
79776         * sysdeps/i386/fpu/e_logf.S: Likewise.
79777         * sysdeps/i386/fpu/e_log10l.S: Likewise.
79778         * sysdeps/i386/fpu/e_atanh.S: Likewise.
79779         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
79780         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
79781         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79782         * sysdeps/i386/fpu/e_log10.S: Likewise.
79783         * sysdeps/i386/fpu/s_frexp.S: Likewise.
79784         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
79785         * sysdeps/i386/fpu/s_asinh.S: Likewise.
79786         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
79787         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
79788         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
79789         * sysdeps/i386/asm-syntax.h: Likewise.
79790         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
79791         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79792         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
79793         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
79794         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
79795         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
79796         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
79797         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
79798         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
79799         * sysdeps/powerpc/sysdep.h: Likewise.
79800         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
79801         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79803 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79805         [BZ #411]
79806         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
79808 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
79810         * sysdeps/i386/sysdep.h: Include <features.h>.
79811         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
79812         version.
79814 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
79816         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
79817         Define.
79818         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
79819         LOAD_PIC_REG_STR.
79821 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79823         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
79824         (SETUP_PIC_REG): Use GET_PC_THUNK.
79825         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
79826         macro.
79828 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79830         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
79831         for non-PIC compilation.
79832         (SETUP_PIC_REG): Add .p2align directive.
79833         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
79834         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
79835         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
79836         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
79837         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
79838         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
79839         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
79840         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79841         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
79842         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
79843         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
79844         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
79845         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
79846         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79847         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
79848         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
79849         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
79850         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
79851         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
79852         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
79853         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
79854         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
79855         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
79856         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
79857         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
79858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
79859         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79860         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
79861         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
79862         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
79863         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
79864         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79865         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
79866         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
79867         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
79868         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
79869         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
79870         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
79871         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
79872         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
79873         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
79875 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
79877         * math/tst-CMPLX.c: Include <stdio.h>.
79879 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
79881         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
79882         float.
79883         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
79884         * sysdeps/sparc/bits/mathdef.h: Likewise.
79886 2012-01-31  Marek Polacek  <polacek@redhat.com>
79888         * libio/libio.h: Don't define _PARAMS.
79889         * locale/programs/config.h: Don't define PARAMS.
79890         * stdlib/strtol_l.c: Likewise.
79891         (__strtol_l): Remove PARAMS from the prototype.
79893 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
79895         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
79896         names.  Just use the correct names.  Remove unnecessary wrapper
79897         functions.
79898         * malloc/arena.c: Likewise.
79899         * malloc/hooks.c: Likewise.
79901         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
79902         ARENA_TEST says not to.  Simplify test for creation of a new arena.
79903         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
79905 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
79907         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
79908         into tail calls.
79909         (update_get_addr): New function.
79910         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
79911         GET_ADDR_MODULE parameter.
79913 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79915         * crypt/cert.c: Remove __STDC__ conditionals.
79916         * crypt/crypt-entry.c: Likewise.
79917         * crypt/crypt_util.c: Likewise.
79918         * libio/filedoalloc.c: Likewise.
79919         * libio/fileops.c: Likewise.
79920         * libio/genops.c: Likewise.
79921         * libio/iofclose.c: Likewise.
79922         * libio/iofdopen.c: Likewise.
79923         * libio/iofopen.c: Likewise.
79924         * libio/iofopen64.c: Likewise.
79925         * libio/iogetdelim.c: Likewise.
79926         * libio/iopopen.c: Likewise.
79927         * libio/obprintf.c: Likewise.
79928         * libio/oldfileops.c: Likewise.
79929         * libio/oldiofclose.c: Likewise.
79930         * libio/oldiofdopen.c: Likewise.
79931         * libio/oldiofopen.c: Likewise.
79932         * libio/oldiopopen.c: Likewise.
79933         * libio/wfiledoalloc.c: Likewise.
79934         * libio/wgenops.c: Likewise.
79935         * locale/programs/xmalloc.c: Likewise.
79936         * misc/syslog.c: Likewise.
79937         * stdio-common/xbug.c: Likewise.
79938         * string/memchr.c: Likewise.
79939         * string/memcmp.c: Likewise.
79940         * string/memrchr.c: Likewise.
79941         * string/rawmemchr.c: Likewise.
79942         * sysdeps/posix/getcwd.c: Likewise.
79943         * time/strftime_l.c: Likewise.
79945 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
79947         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
79948         * config.make.in (config-cflags-sse2avx): Define.
79949         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
79950         Fix typo.
79952 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
79954         * scripts/config.guess: Update from upstream config git repository.
79955         * scripts/config.sub: Likewise.
79957 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
79959         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
79960         (EM_NUM): Update.
79961         (R_TILEPRO_*, R_TILEGX_*): New macros.
79963         * scripts/firstversions.awk: Fix bug in version range handling.
79965         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
79967         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
79969         * include/sys/epoll.h: New file.
79970         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
79971         libc_hidden_def.
79973 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
79975         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
79976         Avoid unnecessary __WORDSIZE == 64 test.
79977         (fmaxf): Use VEX format if possible.
79978         (fmax): Likewise.
79979         (fminf): Likewise.
79980         (fmin): Likewise.
79982         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
79983         * math/math_private.h: Remove libc_fegetround* and
79984         libc_fesetround*.
79985         * sysdeps/i386/configure.in: Check for -msse2avx.
79986         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
79987         also if SSE2AVX is defined.
79988         Remove libc_fegetround* and libc_fesetround*.
79989         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
79990         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
79991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
79992         of HAS_YMM_USABLE.
79993         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79994         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79995         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79996         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79997         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79999         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
80001 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80003         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
80004         size is not set.
80005         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80007 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
80009         [BZ #13618]
80010         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
80011         relocation.
80012         * Makeconfig (libm): Define.
80013         * elf/Makefile: Add rules to build and run tst-relsort1.
80014         * elf/tst-relsort1.c: New file.
80015         * elf/tst-relsort1mod1.c: New file.
80016         * elf/tst-relsort1mod2.c: New file.
80018 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
80020         * math/s_ldexp.c: Remove __STDC__ conditionals.
80021         * math/s_ldexpf.c: Likewise.
80022         * math/s_ldexpl.c: Likewise.
80023         * math/s_nextafter.c: Likewise.
80024         * math/s_nexttowardf.c: Likewise.
80025         * math/s_significand.c: Likewise.
80026         * math/s_significandf.c: Likewise.
80027         * math/s_significandl.c: Likewise.
80028         * math/w_jnl.c: Likewise.
80029         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80030         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80031         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80032         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80033         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80034         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80035         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
80036         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80037         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80038         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80039         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80040         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80041         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80042         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80043         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80044         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80045         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80046         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80048         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80049         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80050         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80051         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80052         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80053         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80054         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80055         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80056         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80057         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80058         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80059         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80060         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80061         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80062         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80063         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80064         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80065         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80066         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80067         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80068         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80069         * sysdeps/ieee754/k_standard.c: Likewise.
80070         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80071         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80072         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80073         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80074         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80075         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80076         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80077         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80078         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80079         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80080         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80081         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80082         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80083         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80084         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80085         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80086         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80087         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80089         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80090         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80091         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80092         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80093         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80094         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80095         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80099         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80101         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
80102         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80103         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80105         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80106         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
80107         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80108         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80109         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
80110         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
80111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80112         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
80113         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
80114         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
80116         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
80117         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80119         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
80120         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
80121         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80122         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80123         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80124         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80125         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80126         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
80127         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80128         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80129         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80130         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80131         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80132         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80133         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80134         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80135         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80136         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80137         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80138         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80139         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80140         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80141         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80142         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80143         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80144         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80145         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80146         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80147         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80148         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80149         * sysdeps/ieee754/s_matherr.c: Likewise.
80150         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80151         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80152         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80153         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80155 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80157         * crypt/md5.h: Remove __STDC__ conditionals.
80158         * libio/libioP.h: Likewise.
80159         * locale/programs/config.h: Likewise.
80160         * sysdeps/generic/sysdep.h: Likewise.
80161         * sysdeps/i386/asm-syntax.h: Likewise.
80162         * sysdeps/s390/asm-syntax.h: Likewise.
80163         * sysdeps/unix/sysdep.h: Likewise.
80164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
80165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
80167 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
80169         * libio/libio.h: Remove __STDC__ conditionals.
80170         * malloc/obstack.h: Likewise.
80171         * math/complex.h: Likewise.
80172         * math/math.h: Likewise.
80173         * sysdeps/generic/_G_config.h: Likewise.
80174         * sysdeps/gnu/_G_config.h: Likewise.
80175         * sysdeps/mach/hurd/_G_config.h: Likewise.
80176         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80177         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80178         * sysdeps/sparc/bits/mathdef.h: Likewise.
80180 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
80182         [BZ #13583]
80183         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
80184         Clean up HAS_* macros.
80185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
80186         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
80187         possible.
80188         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
80189         HAS_AVX.
80190         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80191         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80192         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80193         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80194         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80196 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
80198         * elf/tst-unique3.cc (gets): Remove declaration.
80199         * elf/tst-unique3lib.cc (gets): Likewise.
80200         * elf/tst-unique3lib2.cc (gets): Likewise.
80201         * elf/tst-unique4.cc (gets): Likewise.
80203 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
80205         * include/stdio.h: Add C++ protection.  Add gets declarations and
80206         definitions.
80207         * debug/tst-chk1.c: Don't declare gets here.
80208         * stdio-common/tst-gets.c: Likewise.
80210 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80212         * posix/glob: Remove directory.
80214 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
80216         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
80218 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
80220         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
80221         of the non-standard EPFNOSUPPORT.
80223 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80225         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
80226         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
80227         ANYWHERE set to 1 only on KERN_NO_SPACE error.
80229 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
80231         * wcsmbs/uchar.h: Test __STDC_VERSION__.
80233 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
80235         * nscd/aicache.c (addhstaiX): Do not cache negative results of
80236         transient errors.
80237         * nscd/grpcache.c (cache_addgr): Likewise.
80238         * nscd/hstcache.c (cache_addhst): Likewise.
80239         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80240         * nscd/pwdcache.c (cache_addpw): Likewise.
80241         * nscd/servicescache.c (cache_addserv): Likewise.
80243 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
80245         * malloc/malloc.c: Various cleanups.
80246         * malloc/hooks.c: Likewise.
80248         * stdlib/Makefile (tests): Add bug-fmtmsg1.
80249         * stdlib/bug-fmtmsg1.c: New file.
80251         * stdlib/fmtmsg.c (init): Add missing unlock.
80252         Patch by Peng Haitao <penght@cn.fujitsu.com>.
80254 2012-01-12  Marek Polacek  <polacek@redhat.com>
80256         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
80257         and _GNU_SOURCE.
80259 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
80261         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
80262         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
80263         macro to ensure uniqueness of label name.
80264         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
80265         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
80267 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
80269         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
80271         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
80272         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80273         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
80276 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
80278         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
80280         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
80281         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80282         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80284         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
80286         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
80287         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80288         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
80291         * math/bits/math-finite.h: Add ldexp support.
80293 2012-01-10  Marek Polacek  <polacek@redhat.com>
80295         * locale/programs/localedef.h (show_archive_content): Add noreturn
80296         attribute.
80298 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
80300         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
80302 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80304         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
80306         * io/Makefile (headers): Add bits/poll2.h.
80308 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
80310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
80311         typo #include statement.
80313 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80315         * include/sys/cdefs.h: Define __attribute_alloc_size.
80316         * catgets/gencat.c: Add alloc_size attribute and apply consistently
80317         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
80318         * elf/pldd.c: Likewise.
80319         * iconv/iconv_charmap.c: Likewise.
80320         * iconv/iconvconfig.c: Likewise.
80321         * iconv/strtab.c: Likewise.
80322         * locale/programs/locale.c: Likewise.
80323         * locale/programs/localedef.h: Likewise.
80324         * locale/programs/simple-hash.c: Likewise.
80325         * nscd/nscd.h: Likewise.
80326         * nss/makedb.c: Likewise.
80327         * sysdeps/generic/ldconfig.h: Likewise.
80328         * locale/programs/localedef.c: Remove xmalloc prototype.
80329         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
80331 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80333         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
80334         appropriate.
80336 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
80338         * math/Makefile (tests): Add tst-CMPLX.
80339         * math/tst-CMPLX.c: New file.
80341         * math/complex.h (CMPLXL): Fix typo.
80343         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
80344         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
80345         GLIBC_2.16.
80346         * debug/tst-chk1.c: Add poll and ppoll tests.
80347         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
80348         * include/sys/poll.h: Add hidden proto for ppoll.
80349         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
80350         * sysdeps/mach/hurd/ppoll.c: Likewise.
80351         * io/ppoll.c: Likewise.
80352         * debug/poll_chk.c: New file.
80353         * debug/ppoll_chk.c: New file.
80354         * include/bits/poll2.h: New file.
80355         * io/bits/poll2.h: New file.
80357         [BZ #1350]
80358         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
80360         * configure.in: static is always set to yes.  Remove.
80361         * config.make.in: Don't set build-static.
80362         * Makeconfig: Remove use of build-static.
80363         * dlfcn/Makefile: Likewise.
80364         * elf/Makefile: Likewise.
80365         * math/Makefile: Likewise.
80366         * misc/Makefile: Likewise.
80367         * nptl/Makefile: Likewise.
80368         * sysdeps/mach/hurd/Makefile: Likewise.
80370         * configure.in: PWD_P is not used anymore.
80371         * config.make.in: Remove PWD_P entry.
80373         * configure.in: Remove last remnants of RANLIB.
80374         No need to check for signed size_t anymore.
80375         Don't set libc_commonpagesize and libc_relro_required here for Alpha
80376         and IA-64.
80377         Remove __builtin_expect test because we require at least gcc 3.4.
80378         * aclocal.m4: Likewise.
80380         * wcsmbs/mbrtoc16.c: Implement using towc function.
80381         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
80382         * wcsmbs/wcsmbsload.c: Likewise.
80383         * iconv/gconv_simple.c: Likewise.
80384         * iconv/gconv_int.h: Likewise.
80385         * iconv/gconv_builtin.h: Likewise.
80386         * iconv/iconv_prog.c: Remove CHAR16 handling.
80388         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
80390         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
80392         * configure.in: Remove --with-elf and --enable-bounded options.
80393         Dont set base_machine for ia64.  More non-ELF conditions removed.
80394         Remove testing and setting of leading underscore information.
80395         * config.make.in (build-bounded): Set to no.
80396         * config.h.in: Remove NO_UNDERSCORES entry.
80397         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
80398         them.
80399         * csu/start.c: Remove !NO_UNDERSCORE code.
80400         * locale/localeinfo.h: Likewise.
80401         * sysdeps/generic/machine-gmon.h: Likewise.
80402         * sysdeps/generic/sysdep.h: Likewise.
80403         * sysdeps/i386/sysdep.h: Likewise.
80404         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80405         * sysdeps/mach/sysdep.h: Likewise.
80406         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80407         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80408         * sysdeps/sh/sysdep.h: Likewise.
80409         * sysdeps/sparc/sparc32/alloca.S: Likewise.
80410         * sysdeps/unix/i386/sysdep.S: Likewise.
80411         * sysdeps/unix/sparc/start.c: Likewise.
80412         * sysdeps/unix/sparc/sysdep.S: Likewise.
80413         * sysdeps/unix/sparc/sysdep.h: Likewise.
80414         * sysdeps/unix/start.c: Likewise.
80415         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80416         * sysdeps/x86_64/sysdep.h: Likewise.
80418 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
80420         [BZ #13553]
80421         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
80422         for non-gcc.
80423         * argp/argp-fmtstream.h: Use const instead __const.
80424         * argp/argp.h: Likewise.
80425         * assert/assert.h: Likewise.
80426         * bits/fenv.h: Likewise.
80427         * bits/sched.h: Likewise.
80428         * bits/sigset.h: Likewise.
80429         * bits/sigthread.h: Likewise.
80430         * catgets/nl_types.h: Likewise.
80431         * conform/data/pthread.h-data: Likewise.
80432         * crypt/crypt-private.h: Likewise.
80433         * crypt/crypt.h: Likewise.
80434         * crypt/crypt_util.c: Likewise.
80435         * ctype/ctype.h: Likewise.
80436         * debug/execinfo.h: Likewise.
80437         * debug/mbsnrtowcs_chk.c: Likewise.
80438         * debug/mbsrtowcs_chk.c: Likewise.
80439         * debug/wcsnrtombs_chk.c: Likewise.
80440         * debug/wcsrtombs_chk.c: Likewise.
80441         * debug/wcstombs_chk.c: Likewise.
80442         * dirent/dirent.h: Likewise.
80443         * dlfcn/dlfcn.h: Likewise.
80444         * elf/neededtest4.c: Likewise.
80445         * grp/grp.h: Likewise.
80446         * gshadow/gshadow.h: Likewise.
80447         * iconv/gconv.h: Likewise.
80448         * iconv/gconv_int.h: Likewise.
80449         * iconv/gconv_simple.c: Likewise.
80450         * iconv/iconv.h: Likewise.
80451         * iconv/loop.c: Likewise.
80452         * iconv/skeleton.c: Likewise.
80453         * include/aio.h: Likewise.
80454         * include/aliases.h: Likewise.
80455         * include/argz.h: Likewise.
80456         * include/arpa/inet.h: Likewise.
80457         * include/assert.h: Likewise.
80458         * include/dirent.h: Likewise.
80459         * include/dlfcn.h: Likewise.
80460         * include/execinfo.h: Likewise.
80461         * include/fcntl.h: Likewise.
80462         * include/fenv.h: Likewise.
80463         * include/glob.h: Likewise.
80464         * include/grp.h: Likewise.
80465         * include/libintl.h: Likewise.
80466         * include/mntent.h: Likewise.
80467         * include/netdb.h: Likewise.
80468         * include/pwd.h: Likewise.
80469         * include/rpc/netdb.h: Likewise.
80470         * include/sched.h: Likewise.
80471         * include/search.h: Likewise.
80472         * include/shadow.h: Likewise.
80473         * include/signal.h: Likewise.
80474         * include/stdio.h: Likewise.
80475         * include/stdlib.h: Likewise.
80476         * include/string.h: Likewise.
80477         * include/sys/socket.h: Likewise.
80478         * include/sys/stat.h: Likewise.
80479         * include/sys/statfs.h: Likewise.
80480         * include/sys/statvfs.h: Likewise.
80481         * include/sys/syslog.h: Likewise.
80482         * include/sys/time.h: Likewise.
80483         * include/sys/uio.h: Likewise.
80484         * include/time.h: Likewise.
80485         * include/unistd.h: Likewise.
80486         * include/utmp.h: Likewise.
80487         * include/wchar.h: Likewise.
80488         * include/wctype.h: Likewise.
80489         * inet/aliases.h: Likewise.
80490         * inet/arpa/inet.h: Likewise.
80491         * inet/netinet/ether.h: Likewise.
80492         * inet/netinet/in.h: Likewise.
80493         * intl/libintl.h: Likewise.
80494         * io/bits/fcntl2.h: Likewise.
80495         * io/fcntl.h: Likewise.
80496         * io/ftw.h: Likewise.
80497         * io/sys/poll.h: Likewise.
80498         * io/sys/stat.h: Likewise.
80499         * io/sys/statfs.h: Likewise.
80500         * io/sys/statvfs.h: Likewise.
80501         * io/utime.h: Likewise.
80502         * libio/bits/stdio.h: Likewise.
80503         * libio/bits/stdio2.h: Likewise.
80504         * libio/libio.h: Likewise.
80505         * libio/libioP.h: Likewise.
80506         * libio/stdio.h: Likewise.
80507         * locale/lc-ctype.c: Likewise.
80508         * locale/locale.h: Likewise.
80509         * login/utmp.h: Likewise.
80510         * malloc/arena.c: Likewise.
80511         * malloc/malloc.c: Likewise.
80512         * malloc/malloc.h: Likewise.
80513         * malloc/mcheck.c: Likewise.
80514         * malloc/mtrace.c: Likewise.
80515         * math/bits/mathcalls.h: Likewise.
80516         * math/fenv.h: Likewise.
80517         * math/math_private.h: Likewise.
80518         * misc/bits/error.h: Likewise.
80519         * misc/bits/syslog.h: Likewise.
80520         * misc/err.h: Likewise.
80521         * misc/error.h: Likewise.
80522         * misc/fstab.h: Likewise.
80523         * misc/mntent.h: Likewise.
80524         * misc/regexp.h: Likewise.
80525         * misc/search.h: Likewise.
80526         * misc/sgtty.h: Likewise.
80527         * misc/sys/mman.h: Likewise.
80528         * misc/sys/syslog.h: Likewise.
80529         * misc/sys/uio.h: Likewise.
80530         * misc/sys/xattr.h: Likewise.
80531         * misc/ttyent.h: Likewise.
80532         * nis/rpcsvc/ypclnt.h: Likewise.
80533         * nss/nss.h: Likewise.
80534         * posix/bits/unistd.h: Likewise.
80535         * posix/fnmatch.h: Likewise.
80536         * posix/glob.h: Likewise.
80537         * posix/sched.h: Likewise.
80538         * posix/spawn.h: Likewise.
80539         * posix/sys/wait.h: Likewise.
80540         * posix/unistd.h: Likewise.
80541         * posix/wordexp.h: Likewise.
80542         * pwd/pwd.h: Likewise.
80543         * resolv/netdb.h: Likewise.
80544         * resource/sys/resource.h: Likewise.
80545         * rt/aio.h: Likewise.
80546         * rt/bits/mqueue2.h: Likewise.
80547         * rt/mqueue.h: Likewise.
80548         * shadow/shadow.h: Likewise.
80549         * signal/signal.h: Likewise.
80550         * socket/send.c: Likewise.
80551         * socket/sendto.c: Likewise.
80552         * socket/sys/socket.h: Likewise.
80553         * stdio-common/printf.h: Likewise.
80554         * stdlib/bits/stdlib.h: Likewise.
80555         * stdlib/fmtmsg.h: Likewise.
80556         * stdlib/monetary.h: Likewise.
80557         * stdlib/stdlib.h: Likewise.
80558         * stdlib/ucontext.h: Likewise.
80559         * streams/stropts.h: Likewise.
80560         * string/argz.h: Likewise.
80561         * string/bits/string2.h: Likewise.
80562         * string/string.h: Likewise.
80563         * string/strings.h: Likewise.
80564         * sunrpc/rpc/auth.h: Likewise.
80565         * sunrpc/rpc/auth_des.h: Likewise.
80566         * sunrpc/rpc/clnt.h: Likewise.
80567         * sunrpc/rpc/netdb.h: Likewise.
80568         * sunrpc/rpc/pmap_clnt.h: Likewise.
80569         * sunrpc/rpc/xdr.h: Likewise.
80570         * sysdeps/generic/inttypes.h: Likewise.
80571         * sysdeps/generic/net/if.h: Likewise.
80572         * sysdeps/generic/sys/swap.h: Likewise.
80573         * sysdeps/gnu/net/if.h: Likewise.
80574         * sysdeps/gnu/utmpx.h: Likewise.
80575         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
80576         * sysdeps/i386/i486/bits/string.h: Likewise.
80577         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
80578         * sysdeps/s390/bits/string.h: Likewise.
80579         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
80580         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
80581         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
80582         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
80583         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
80584         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
80585         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
80586         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
80587         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
80588         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
80589         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
80590         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
80591         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
80592         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
80593         * sysdeps/unix/sysv/linux/readv.c: Likewise.
80594         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
80595         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
80596         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80597         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
80598         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
80599         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80600         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
80601         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
80602         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
80603         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
80604         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
80605         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
80606         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80607         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
80608         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
80609         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
80610         * sysvipc/sys/ipc.h: Likewise.
80611         * sysvipc/sys/msg.h: Likewise.
80612         * sysvipc/sys/sem.h: Likewise.
80613         * sysvipc/sys/shm.h: Likewise.
80614         * termios/termios.h: Likewise.
80615         * time/sys/time.h: Likewise.
80616         * time/time.h: Likewise.
80617         * wcsmbs/bits/wchar2.h: Likewise.
80618         * wcsmbs/uchar.h: Likewise.
80619         * wcsmbs/wchar.h: Likewise.
80620         * wctype/wctype.h: Likewise.
80622         [BZ #13551]
80623         * Makeconfig: Remove all but ELF support including AIX support.
80624         * Makerules: Likewise.
80625         * config.h.in: Likewise.
80626         * config.make.in: Likewise.
80627         * configure: Likewise.
80628         * configure.in: Likewise.
80629         * csu/Makefile: Likewise.
80630         * csu/version.c: Likewise.
80631         * debug/Makefile: Likewise.
80632         * dlfcn/Makefile: Likewise.
80633         * elf/Makefile: Likewise.
80634         * extra-lib.mk: Likewise.
80635         * iconv/Makefile: Likewise.
80636         * include/libc-symbols.h: Likewise.
80637         * include/shlib-compat.h: Likewise.
80638         * resolv/Makefile: Likewise.
80639         * resolv/res_libc.c: Likewise.
80640         * rt/Makefile: Likewise.
80641         * sysdeps/i386/asm-syntax.h: Likewise.
80642         * sysdeps/i386/sysdep.h: Likewise.
80643         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
80644         * sysdeps/mach/sysdep.h: Likewise.
80645         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
80646         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
80647         * sysdeps/s390/asm-syntax.h: Likewise.
80648         * sysdeps/s390/s390-32/sysdep.h: Likewise.
80649         * sysdeps/s390/s390-64/sysdep.h: Likewise.
80650         * sysdeps/sh/sysdep.h: Likewise.
80651         * sysdeps/unix/sparc/sysdep.h: Likewise.
80652         * sysdeps/wordsize-32/divdi3.c: Likewise.
80653         * sysdeps/x86_64/sysdep.h: Likewise.
80655         * argp/Versions: Remove _argp_unlock_xxx.
80657         [BZ #13559]
80658         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
80659         * abilist/libBrokenLocale.abilist: Likewise.
80660         * abilist/libanl.abilist: Likewise.
80661         * abilist/libc.abilist: Likewise.
80662         * abilist/libcrypt.abilist: Likewise.
80663         * abilist/libdl.abilist: Likewise.
80664         * abilist/libm.abilist: Likewise.
80665         * abilist/libnsl.abilist: Likewise.
80666         * abilist/libpthread.abilist: Likewise.
80667         * abilist/libresolv.abilist: Likewise.
80668         * abilist/librt.abilist: Likewise.
80669         * abilist/libthread_db.abilist: Likewise.
80670         * abilist/libutil.abilist: Likewise.
80671         * abilist/libnss_db.abilist: New file.
80673         * scripts/abilist.awk: Add support for indirect functions.
80675         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
80677         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
80679         * shlib-versions: Remove entries for ports architectures.
80681         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
80682         files in ports.
80683         * elf/stackguard-macros.h: Remove support for IA-64.
80684         * elf/tst-auditmod1.c: Likewise.
80685         * sysdeps/generic/ldsodefs.h: Likewise.
80687         * sysdeps/unix/sysv/linux/configure.in: Ports should define
80688         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
80689         configure files.
80691         [BZ #13552]
80692         * configure.in: Remove --enable-omitfp support.
80693         * FAQ.in: Adjust.
80694         * config.make.in: Likewise.
80695         * Makeconfig: Likewise.
80696         * manual/install.texi: Likewise.
80698         In case anyone cares, the IA-64 architecture could move to ports.
80699         * sysdeps/ia64/*: Removed.
80700         * sysdeps/unix/sysv/linux/ia64/*: Removed.
80701         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
80703         [BZ #13555]
80704         * configure.in: Remove entries for unsupported architectures.
80706         [BZ #13533]
80707         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
80708         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
80709         routines.
80710         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
80711         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
80712         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
80713         fall back to using wcrtomb.
80714         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
80715         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
80716         renaming.
80717         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
80718         * wcsmbs/tst-c16c32-1.c: New file.
80720         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
80721         local variable.
80723         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
80725         * elf/tst-unique3.cc: Add explicit declaration of gets.
80726         * elf/tst-unique3lib.cc: Likewise.
80727         * elf/tst-unique3lib2.cc: Likewise.
80728         * elf/tst-unique4.cc: Likewise.
80730         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
80732 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
80734         [BZ #13566]
80735         * assert/assert.h (static_assert): Don't define for C++.
80736         * libio/stdio.h (gets): Do declare for C++ <= C++11.
80737         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
80739 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
80741         * iconv/loop.c (single loop): Fix assertion in storing of
80742         remaining bytes.
80744         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
80746 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
80748         * posix/getconf.c: Update copyright year.
80749         * nss/getent.c: Likewise.
80750         * nss/makedb.c: Likewise.
80751         * iconv/iconvconfig.c: Likewise.
80752         * iconv/iconv_prog.c: Likewise.
80753         * elf/ldconfig.c: Likewise.
80754         * elf/pldd.c: Likewise.
80755         * elf/sotruss.ksh: Likewise.
80756         * catgets/gencat.c: Likewise.
80757         * csu/version.c: Likewise.
80758         * elf/ldd.bash.in: Likewise.
80759         * elf/sprof.c (print_version): Likewise.
80760         * locale/programs/locale.c: Likewise.
80761         * locale/programs/localedef.c: Likewise.
80762         * login/programs/pt_chown.c: Likewise.
80763         * nscd/nscd.c (print_version): Likewise.
80764         * debug/xtrace.sh: Likewise.
80765         * malloc/memusage.sh: Likewise.
80766         * malloc/mtrace.pl: Likewise.
80767         * debug/catchsegv.sh: Likewise.
80769 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
80771         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
80772         pure attribute.
80774 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
80776         [BZ #13533]
80777         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
80778         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
80779         transformations.
80780         * iconv/gconv_int.h: Likewise.
80781         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
80782         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
80783         from libc for GLIBC_2.16.
80784         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
80785         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
80786         * wcsmbs/uchar.h: Really define mbstate_t.
80787         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
80788         * wcsmbs/c16rtomb.c: New file.
80789         * wcsmbs/mbrtoc16.c: New file.
80790         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
80791         for C/POSIX locale.
80792         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
80793         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
80795         * wcsmbs/wchar.h: Add missing __restrict.
80797 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80799         [BZ #13532]
80800         * time/Makefile (routines): Add timespec_get.
80801         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
80802         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
80803         timespec for ISO C11.
80804         * time/timespec_get.c: New file.
80805         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
80806         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
80808         [BZ #13531]
80809         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
80810         * stdlib/stdlib.h: Declare aligned_alloc.
80811         * Versions.def: Add GLIBC_2.16 for libc.
80812         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
80814         [BZ 13527]
80815         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
80816         ISO C11.
80818         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
80819         code.
80821         [BZ #13528]
80822         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
80824         [BZ #13529]
80825         * assert/assert.h (static_assert): Define.
80827         * version.h: Update for 2.16 development version.
80829         [BZ #13526]
80830         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
80831         _ISOC11_SOURCE.
80833         * version.h (RELEASE): Bump for 2.15 release.
80834         * include/features.h (__GLIBC_MINOR__): Bump to 15.
80836         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
80837         Patch by Marek Polacek <mpolacek@redhat.com>.
80839         * bits/byteswap.h: Protect long long constants with __extension__.
80840         * sysdeps/i386/bits/byteswap.h: Likewise.
80841         * sysdeps/ia64/bits/byteswap.h: Likewise.
80842         * sysdeps/s390/bits/byteswap.h: Likewise.
80843         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80845 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80847         [BZ #13540]
80848         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
80849         destination buffer.
80850         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
80852 2011-12-23  Marek Polacek  <polacek@redhat.com>
80854         * elf/dl-addr.c (determine_info): Add inline keyword.
80855         * elf/tst-auditmod4b.c (check_avx): Likewise.
80856         * elf/tst-auditmod6b.c (check_avx): Likewise.
80857         * elf/tst-auditmod6c.c (check_avx): Likewise.
80858         * elf/tst-auditmod7b.c (check_avx): Likewise.
80860 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
80862         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
80863         !__SSE_MATH__.
80865 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80867         [BZ #13540]
80868         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
80869         processing for last bytes.
80871 2011-08-06  Bruno Haible  <bruno@clisp.org>
80873         [BZ #13061]
80874         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
80875         U+0385, not to U+1FEE.
80877         [BZ #13062]
80878         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
80879         entry for U+00A5 U+0301.
80881 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80883         [BZ #13166]
80884         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
80885         buffer for the output is too small.
80887         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
80888         optimization.
80890         [BZ #13185]
80891         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
80892         SSE flags if possible.
80894 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80896         [BZ #13540]
80897         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
80898         processing for last bytes.
80900 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
80902         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
80903         (syscall-list-default-options, syscall-list-default-condition)
80904         (syscall-list-includes): Define.
80905         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
80906         list of ABIs and options and #if conditions for each ABI.  Do not
80907         handle common syscalls between ABIs specially.
80908         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
80909         Remove.
80910         (syscall-list-variants, syscall-list-32bit-options)
80911         (syscall-list-32bit-condition, syscall-list-64bit-options)
80912         (syscall-list-64bit-condition): Define.
80913         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
80914         (syscall-list-variants, syscall-list-32bit-options)
80915         (syscall-list-32bit-condition, syscall-list-64bit-options)
80916         (syscall-list-64bit-condition): Define.
80917         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
80918         Remove.
80919         (syscall-list-variants, syscall-list-32bit-options)
80920         (syscall-list-32bit-condition, syscall-list-64bit-options)
80921         (syscall-list-64bit-condition): Define.
80922         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
80923         Remove.
80924         (syscall-list-variants, syscall-list-32bit-options)
80925         (syscall-list-32bit-condition, syscall-list-64bit-options)
80926         (syscall-list-64bit-condition): Define.
80928 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
80930         * locale/iso-639.def: Add brx entry.
80932         [BZ #13328]
80933         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
80934         Proposed by Mariusz_Cukr <marcukr@op.pl>.
80936         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
80937         __feraiseexcept_renamed.
80939 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80941         [BZ #13538]
80942         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
80943         EPOLLET with unsigned values.
80944         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80945         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
80947         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
80948         to large cancellation.
80949         * math/s_cacoshf.c: Likewise.
80950         * math/s_cacoshl.c: Likewise.
80952 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
80954         [BZ #13305]
80955         [BZ #12786]
80956         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
80957         * math/s_cacoshf.c: Likewise.
80958         * math/s_cacoshl.c: Likewise.
80960 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
80962         [BZ #13439]
80963         * iconv/gconv.h: Define __GCONV_SWAP.
80964         * iconvdata/unicode.c: The swap bit must be stored in __flags.
80965         * iconvdata/utf-16.c: Likewise.
80966         * iconvdata/utf-32.c: Likewise.
80968 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
80970         [BZ #13524]
80971         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
80972         numerator after shifting it by one limb.
80974 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
80976         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
80977         under [__USE_EXTERN_INLINES].
80979 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
80981         [BZ #13446]
80982         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
80984 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80986         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
80987         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
80988         optimized code.
80989         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
80990         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
80991         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
80992         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
80993         for strncasecmp/strncasecmp_l compilation.
80994         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
80995         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
80997 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
80999         [BZ #13484]
81000         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
81001         of __asm__.
81003 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81005         [BZ #13506]
81006         * time/tzfile.c (__tzfile_read): Check values from file header.
81008 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
81010         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
81011         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
81012         * powerpc/powerpc32/dl-start.S: Likewise.
81013         * powerpc/powerpc32/elf/start.S: Likewise.
81014         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
81015         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
81016         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
81017         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
81018         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
81019         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
81020         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
81021         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
81022         * powerpc/powerpc32/fpu/s_round.S: Likewise.
81023         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
81024         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
81025         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
81026         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
81027         * powerpc/powerpc32/memset.S: Likewise.
81028         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
81029         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
81030         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
81031         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
81032         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
81033         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
81034         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
81035         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
81036         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
81037         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
81038         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
81039         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81040         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81042 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81044         * math/libm-test.inc: Added more nearbyint tests.
81045         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
81046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
81047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
81048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
81050 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
81052         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
81053         FD_CLOEXEC.
81055 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81057         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
81058         Add wcscpy-ssse3 wcscpy-c.
81059         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
81060         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
81061         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
81062         * sysdeps/x86_64/wcschr.S: New file.
81063         * sysdeps/x86_64/wcsrchr.S: New file.
81064         * string/test-strcmp.c: Remove checking of wcscmp function for
81065         wrong alignments.
81066         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
81067         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
81068         wcsrchr-sse2 wcsrchr-c.
81069         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
81070         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
81071         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
81072         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
81073         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
81074         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
81075         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
81076         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
81077         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
81078         * wcsmbc/wcschr.c (WCSCHR): New macro.
81080 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81082         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
81083         * wcsmbs/test-wcsrchr.c: New file.
81084         * string/test-strrchr.c: Add wcsrchr support.
81085         (WIDE): New macro.
81086         * wcsmbs/test-wcscpy.c: New file.
81087         * string/test-strcpy.c: Add wcscpy support.
81088         (WIDE): New macro.
81090 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
81092         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
81093         the inner loop.
81095 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
81097         [BZ #13472]
81098         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
81100 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
81102         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
81103         Minor optimizations.
81105         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
81106         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
81107         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
81109 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
81111         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
81112         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
81113         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
81114         for gcc to avoid warnings.
81115         * inet/Makefile (tests): Add tst-checks.
81116         * inet/tst-checks.c: New file.
81118         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
81119         warning.
81121         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
81122         __wmemcmp_sse2.
81124         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
81125         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
81127         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
81129 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
81131         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
81132         problem.
81134         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
81136 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
81138         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
81139         conditional on GCC version.
81140         (__arch_compare_and_exchange_val_8_acq)
81141         (__arch_compare_and_exchange_val_16_acq)
81142         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
81143         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
81144         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
81146 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
81148         * sysdeps/sh/backtrace.c: New file.
81150 2011-12-02  Andreas Schwab  <schwab@redhat.com>
81152         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
81153         parenthesis.
81155 2011-12-01  Andreas Schwab  <schwab@redhat.com>
81157         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
81158         falling back to utime.
81160 2011-11-30  Andreas Schwab  <schwab@redhat.com>
81162         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
81163         expectations for float.
81165 2011-11-29  Andreas Schwab  <schwab@redhat.com>
81167         * locale/weight.h (findidx): Add parameter len.
81168         * locale/weightwc.h (findidx): Likewise.
81169         * posix/fnmatch_loop.c (FCT): Adjust caller.
81170         * posix/regcomp.c (build_equiv_class): Likewise.
81171         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
81172         * posix/regexec.c (check_node_accept_bytes): Likewise.
81173         * string/strcoll_l.c (STRCOLL): Likewise.
81174         * string/strxfrm_l.c (STRXFRM): Likewise.
81176 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
81178         * Makefile.in: Remove CVSOPT handling.
81179         * configure.in: Remove use of AC_REVISION.
81180         * iconvdata/Makefile (distribute): No need to filter out CVS.
81181         * scripts/list-sources.sh: Remove CVS, subversion and monotone
81182         handling.
81184 2011-11-16  Andreas Schwab  <schwab@redhat.com>
81186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
81187         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
81188         [USE_AS_STRNCASECMP_L]: Likewise.
81189         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
81190         NO_TLS_DIRECT_SEG_REFS.
81191         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
81192         Fix argument offsets for non-PIC.
81193         [USE_AS_STRNCASECMP_L]: Likewise.
81194         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
81195         NO_TLS_DIRECT_SEG_REFS.
81197 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81199         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
81200         O_CLOEXEC.
81201         * locale/loadlocale.c (_nl_load_locale): Likewise.
81203 2011-11-15  Andreas Schwab  <schwab@redhat.com>
81205         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
81206         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
81207         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
81208         (SYSCALL_GETTIME): Set errno on error.
81210         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
81211         count references to noai6ai_cached.
81213 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
81215         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
81217         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
81218         FD_CLOEXEC for /proc/self/maps.
81220         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
81221         FD_CLOEXEC for /proc/meminfo.
81223         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
81224         gai.conf.
81226         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
81227         FD_CLOEXEC for given file.
81229         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
81231         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
81232         FD_CLOEXEC for /etc/hosts.
81233         (_gethtent): Likewise.
81235         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
81237         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
81238         cancellation and set FD_CLOEXEC for /etc/netgroup.
81240         * nss/nss_files/files-key.c (search): Don't allow cancellation when
81241         reading /etc/publickey.
81243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
81244         allow cancellation when reading /etc/group.
81246         * nss/nss_files/files-alias.c (internal_setent): Don't allow
81247         cancellation.
81248         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
81250         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
81251         when using data file.
81253         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
81255         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
81256         (write_nis_obj): Use "c" and "e" in fopen.
81258         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
81260         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
81262         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
81264         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
81266         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
81267         locale.alias.
81269         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
81271         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
81273         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
81275         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
81276         file parsing and set FD_CLOEXEC.
81278 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81280         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
81282 2011-11-14  Andreas Schwab  <schwab@redhat.com>
81284         * malloc/arena.c (arena_get2): Don't call reused_arena when
81285         _int_new_arena failed.
81287 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
81289         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
81290         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
81291         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
81292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81293         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81294         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
81295         to compile strcasecmp and strncasecmp.
81296         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
81297         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
81299         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
81301 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
81303         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
81304         locale-defines.sym to gen-as-const-headers.
81305         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
81306         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
81307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
81308         to compile strcasecmp and strncasecmp.
81309         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
81310         strcasecmp_l and strncasecmp_l.
81311         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
81312         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
81313         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
81314         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
81315         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
81316         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
81317         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
81318         * sysdeps/i386/i686/multiarch/strncase.S: New file.
81319         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
81320         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
81321         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
81323 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
81325         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
81326         result of SYSDEP_GETTIME_CPU to retval.
81327         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
81328         parameter list to macro.  Remove trailing semicolon.  Adjust users.
81330         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
81331         variable.
81333         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
81334         mantissa words.
81335         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
81337         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
81338         from unused variable.
81340         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
81341         DWARF definitions.
81342         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
81343         for assembling.
81345         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
81346         over namespaces.
81348         * sunrpc/rpc_prot.c (rejected): Fix case value.
81350         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
81351         unsigned long long int to avoid warnings in shift.
81353         * posix/regex_internal.c (re_string_reconstruct): Actually use result
81354         of use of trans.
81355         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
81356         variable tmp.
81358         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
81359         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
81360         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
81362         * nis/nis_table.c (nis_list): Use variable of correct type for
81363         result of __follow_path call.
81365 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81367         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
81368         of math functions ceil, trunc, floor, round, and sqrt, when
81369         avaliable on the platform.
81370         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
81371         name clash.
81372         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81373         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81374         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81376 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
81378         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
81379         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
81381 2011-11-11  Roland McGrath  <roland@hack.frob.com>
81383         * include/unistd.h: Fix __readlink return type.
81384         Reported by Chris Metcalf <cmetcalf@tilera.com>.
81386 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
81388         * stdlib/ucontext.h: Undo last change for makecontext.
81390 2011-11-11  Andreas Schwab  <schwab@redhat.com>
81392         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
81394         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
81395         * setjmp/setjmp.h: Mark functions as non-leaf.
81396         * setjmp/bits/setjmp2.h: Likewise.
81397         * stdlib/ucontext.h: Likewise.
81399 2011-11-10  Andreas Schwab  <schwab@redhat.com>
81401         * malloc/arena.c (_int_new_arena): Don't increment narenas.
81402         (reused_arena): Don't check arena limit.
81403         (arena_get2): Atomically check arena limit.
81405 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
81407         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
81408         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
81410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
81411         instructions.
81413 2011-11-07  Andreas Schwab  <schwab@redhat.com>
81415         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
81416         handler when locking.
81418         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81419         Fix size of allocated buffer.
81421 2011-11-04  Andreas Schwab  <schwab@redhat.com>
81423         [BZ #10103]
81424         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
81425         declarations for long double functions.
81426         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
81428         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
81430 2011-11-03  Andreas Schwab  <schwab@redhat.com>
81432         * nscd/nscd.c (main): Don't start AVC thread until credentials are
81433         installed.
81435         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
81436         is disabled.
81438 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81440         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
81442 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
81444         * include/alloca.h (stackinfo_alloca_round): Define.
81445         (extend_alloca): Use it.
81446         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
81447         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
81448         here.
81450         * scripts/check-local-headers.sh: Ignore libaudit.h.
81452         * nscd/Makefile (extra-objs): Make recursively expanded.
81454 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
81456         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
81457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
81459         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
81460         * posix/tst-rfc3484-2.c: Likewise.
81461         * posix/tst-rfc3484-3.c: Likewise.
81463         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81464         process_vm_writev.
81465         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
81466         process_vm_writev.
81467         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
81468         process_vm_writev from libc using GLIBC_2.15 version.
81470         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
81472 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
81474         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
81475         stack usage.
81477 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
81479         [BZ #13367]
81480         * nss/getent.c (initgroups_keys): Show error message in case no group
81481         names are given.
81483         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
81484         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
81485         __bump_nl_timestamp.
81486         * nscd/connections (nscd_init): When host database is served open
81487         netlink socket and request notification about configuration changes.
81488         (main_loop_poll): Track netlink file descriptor and bump timestamp
81489         in case data becomes available.
81490         (main_loop_epoll): Likewise.
81491         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
81492         (database_pers_head): Add extra_data fileds.
81493         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
81494         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
81495         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
81496         Adjust caller.
81497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
81498         in6ai data, call __free_in6ai.
81499         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
81500         Add -DHAVE_NETLINK.
81501         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
81502         interface information.  Reuse previous data if netlink timestamp
81503         is not changed.
81504         (__bump_nl_timestamp): New function.
81505         (__free_in6ai): New function.
81507 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
81509         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
81510         close_not_cancel_no_status here.
81511         (__check_pf): Reorganize code a bit to not call close twice if OOM.
81513 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81515         [BZ #13276]
81516         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
81517         return value.
81519         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
81520         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
81521         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
81523 2011-07-03  Andreas Jaeger  <aj@suse.de>
81525         [BZ #10709]
81526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
81527         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
81528         * math/libm-test.inc (sin_test): Add test case.
81530 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
81532         [BZ #13337]
81533         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
81534         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81536         * elf/chroot_canon.c (chroot_canon): Cleanups.
81538         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
81540         [BZ #13335]
81541         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
81542         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
81544         * string/test-strchr.c: Make usable for strchrnul testing.
81545         * string/test-strchrnul.c: New file.
81546         * string/Makefile (strop-tests): Add strchrnul.
81548         * po/it.po: Update from translation team.
81549         * po/es.po: Likewise.
81551 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
81553         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
81554         the three constants needed as parameters.  Drop the others.
81555         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
81556         __m128i_strloadu_tolower.
81557         Create and initialize variable zero and use it in all the places
81558         where _mm_setzero_si128 was used.
81560         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
81561         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
81562         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
81563         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
81564         anymore.
81565         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
81566         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
81567         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
81568         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
81569         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
81570         __mpranred, __mptan.
81571         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
81572         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
81573         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
81574         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
81575         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
81576         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
81577         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
81578         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
81579         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
81581 2011-10-28  Andreas Schwab  <schwab@redhat.com>
81583         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
81584         redefine if SHARED.
81585         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
81587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
81588         wide char related routines to wcsmbs subdir.
81590 2011-10-27  Andreas Schwab  <schwab@redhat.com>
81592         [BZ #13344]
81593         * misc/sys/cdefs.h (__THROWNL): Define.
81594         * posix/unistd.h: Use __THREADNL instead of __THREAD
81595         for memory synchronization functions.
81597 2011-10-26  Roland McGrath  <roland@hack.frob.com>
81599         [BZ #13349]
81600         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
81601         doesn't exist.
81602         * manual/stdio.texi (Obstack Streams): Node removed.
81604 2011-10-26  Andreas Schwab  <schwab@redhat.com>
81606         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
81607         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81608         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81610         * math/math_private.h (math_force_eval): Allow non-addressable
81611         arguments.
81612         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
81614 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81616         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
81617         file is not needed.
81619         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
81620         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
81621         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81622         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81623         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81624         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81625         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81626         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
81627         Add AVX variants.
81628         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
81629         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
81630         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
81631         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
81632         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
81633         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
81634         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
81635         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
81636         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
81637         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
81638         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
81639         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
81640         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
81641         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
81642         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
81643         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
81644         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
81645         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
81646         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
81648         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
81649         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
81651         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
81652         place.  Use VEX encoding when compiling for AVX.
81654 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81656         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
81657         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
81659         * string/test-strchr.c (do_test): Don't generate NUL bytes.
81661 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81663         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
81664         useless if() expression.
81665         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81666         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81667         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81669         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81670         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81671         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81672         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81673         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81674         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81675         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81676         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81677         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81678         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81679         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81680         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81681         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81682         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81683         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81685         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
81687 2011-10-25  Andreas Schwab  <schwab@redhat.com>
81689         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
81690         condition.
81691         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81693 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
81695         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
81696         .text section.  Avoid duplicate constants.
81697         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81698         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81699         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81701         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81702         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81705         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
81706         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
81707         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
81708         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
81709         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
81710         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
81711         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
81712         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
81713         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81714         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
81715         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81716         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81717         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81718         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81719         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81720         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
81721         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
81722         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
81723         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
81724         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
81725         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
81726         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
81727         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
81728         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
81729         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
81730         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
81731         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
81732         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
81733         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
81734         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
81735         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
81736         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
81737         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
81738         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
81739         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
81740         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
81741         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
81743 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
81745         * sysdeps/x86_64/dla.h: Move to ...
81746         * sysdeps/x86_64/fpu/dla.h: ...here.
81747         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
81748         situations.  Use __builtin_fma only for gcc 4.6 and up.
81750         * config.make.in: Add have-mfma4 entry.
81751         * configure.in: Substitute libc_cv_cc_fma4.
81752         * math/Makefile (dbl-only-routines): Add sincostab.
81753         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
81754         Use __sincostab not sincos.
81755         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
81756         name is a macro.
81757         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81758         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
81761         using __copysign.
81762         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
81763         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
81764         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
81765         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
81766         and __inv.
81767         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
81768         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
81769         __copysign.
81770         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
81771         define aliases when function name is a macro.
81772         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
81773         sysdeps/ieee754/dbl-64/sincos.tbl.
81774         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
81775         fma4-enabled routines.
81776         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
81777         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
81778         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
81779         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
81780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
81781         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
81782         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
81783         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
81784         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
81785         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
81786         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
81787         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
81788         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
81789         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
81790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
81791         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
81792         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
81793         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
81794         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
81795         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
81796         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
81797         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
81798         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
81799         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
81800         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
81801         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
81802         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
81803         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
81804         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
81805         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
81807         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
81808         rename.
81809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81812         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81813         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81818 2011-10-24  Andreas Schwab  <schwab@redhat.com>
81820         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
81822 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81824         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
81826         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
81827         prediction.
81828         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
81830         * string/strnlen.c: Don't define STRNLEN, reverse logic.
81831         Remove unused variable magic_bits.
81832         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
81834         * string/strnlen.c: Define and use STRNLEN macro.
81835         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
81836         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
81837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
81838         * wcsmbs/wcslen.c: Define and use WCSLEN.
81839         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
81840         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
81841         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
81842         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
81843         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
81844         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
81845         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81847 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81850         strnlen-sse2-no-bsf.
81851         Rename strlen-no-bsf to strlen-sse2-no-bsf.
81852         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
81853         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
81854         Add strnlen support.
81855         (USE_AS_STRNLEN): New macro.
81856         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
81857         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
81858         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
81859         * sysdeps/x86_64/wcslen.S: New file.
81861 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
81863         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81864         XMM-moves are used for copying on small sizes.
81866 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81868         * wcsmbs/Makefile (strop-tests): Add wcschr.
81869         * wcsmbs/test-wcschr.c: New file.
81870         * string/test-strchr.c: Update.
81871         Add wcschr support.
81872         (WIDE): New macro.
81874 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81876         * wcsmbs/Makefile (strop-tests): Add wcslen.
81877         * wcsmbs/test-wcslen.c: New file.
81878         * string/test-strlen.c: Update.
81879         Add wcslen support.
81880         (WIDE): New macro.
81882 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81884         * po/it.po: Update from translation team.
81886 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81888         * sysdeps/x86_64/wcscmp.S: Update.
81889         Fix wrong comparison semantics.
81890         wcscmp shall use signed comparison not unsigned.
81891         Don't use substraction to avoid overflow bug.
81892         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
81893         * wcsmbc/wcscmp.c: Likewise.
81894         * string/test-strcmp.c: Likewise.
81895         Add new tests to check cases with negative values.
81897 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
81899         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
81900         * sysdeps/x86_64/dla.h: ...here.  New file.
81901         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
81902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81908         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81911 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
81913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
81914         __ynl_finite aliases.
81916 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81920         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
81921         define DLA_FMA.
81922         [DLA_FMA] (EMULV): Use DLA_FMA.
81923         [DLA_FMA] (MUL12): Use EMULV.
81924         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
81925         that are not needed.
81926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81934 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
81936         * math/s_nan.c: Undef __nan.
81937         * math/s_nanf.c: Undef __nanf.
81938         * math/s_nanl.c: Undef __nanl.
81939         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
81940         "math_private.h".
81942 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
81944         * math/s_catan.c: Add branch predictions.
81945         * math/s_catanf.c: Likewise.
81946         * math/s_catanh.c: Likewise.
81947         * math/s_catanhf.c: Likewise.
81948         * math/s_catanhl.c: Likewise.
81949         * math/s_catanl.c: Likewise.
81950         * math/s_cexp.c: Likewise.
81951         * math/s_cexpf.c: Likewise.
81952         * math/s_cexpl.c: Likewise.
81953         * math/s_clog.c: Likewise.
81954         * math/s_clog10.c: Likewise.
81955         * math/s_clog10f.c: Likewise.
81956         * math/s_clog10l.c: Likewise.
81957         * math/s_clogf.c: Likewise.
81958         * math/s_clogl.c: Likewise.
81959         * math/s_csqrt.c: Likewise.
81960         * math/s_csqrtf.c: Likewise.
81961         * math/s_csqrtl.c: Likewise.
81962         * math/s_ctanf.c: Likewise.
81963         * math/s_ctanh.c: Likewise.
81964         * math/s_ctanhf.c: Likewise.
81965         * math/s_ctanhl.c: Likewise.
81966         * math/s_ctanl.c: Likewise.
81968         * math/math_private.h: Define __nan, __nanf, __nanl.
81969         * math/s_cacosh.c: Include <math_private.h>.
81970         * math/s_cacoshl.c: Likewise.
81971         * math/s_casinh.c: Likewise.
81972         * math/s_casinhf.c: Likewise.
81973         * math/s_casinhl.c: Likewise.
81974         * math/s_ccos.c: Rely entire on ccosh.
81975         * math/s_ccosf.c: Rely entire on ccoshf.
81976         * math/s_ccosl.c: Rely entirely on ccoshl.
81977         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
81978         Remove tests for FE_INVALID.
81979         * math/s_ccoshf.c: Likewise.
81980         * math/s_ccoshl.c: Likewise.
81981         * math/s_csin.c: Likewise.
81982         * math/s_csinf.c: Likewise.
81983         * math/s_csinh.c Likewise.
81984         * math/s_csinhf.c: Likewise.
81985         * math/s_csinhl.c: Likewise.
81986         * math/s_csinl.c: Likewise.
81987         * math/s_ctan.c: Likewise.
81988         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
81989         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
81990         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
81992 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
81994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
81995         compilation problems.
81997         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
81998         __builtin_expect.
82000 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
82002         * sysdeps/i386/configure.in: Test for -mfma4 option.
82003         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
82004         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
82005         COMMON_CPUID_INDEX_80000001.
82006         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
82007         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
82008         use it if FMA3 is not supported.
82009         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
82011         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
82012         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82014 2011-10-20  Andreas Schwab  <schwab@redhat.com>
82016         [BZ #12892]
82017         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
82018         it would create a cycle with a link time dependency.
82020 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
82022         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
82023         instruction.
82024         * string/Makefile (strop-tests): Add rawmemchr.
82025         * string/test-rawmemchr.c: New file.
82027         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
82028         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
82029         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
82030         when compiling str{,n}casecmp and when AVX is available.  Hook up
82031         new optimized code in initializers.
82033 2011-10-19  Andreas Schwab  <schwab@redhat.com>
82035         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
82036         __feraiseexcept instead of feraiseexcept.
82038 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
82040         * math/math_private.h: Define defaults for libc_fetestexcept and
82041         libc_feupdateenv.
82042         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
82043         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
82044         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82045         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82046         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
82047         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82048         libc_fetestexcept and libc_feupdateenv.
82050         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
82051         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
82052         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
82053         * sysdeps/x86_64/fpu/math_private.h: Define special version of
82054         libc_feholdexcept_setround.
82056         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
82057         Add s_nearbyint-c and s_nearbyintf-c.
82058         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
82059         nearbyintf inlines.
82060         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
82061         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
82062         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
82063         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
82065         * math/math_private.h: Define defaults for libc_fegetround,
82066         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
82067         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
82068         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
82069         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
82070         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
82071         standard functions.
82072         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82073         Remove comments and hacks for old compiler versions.
82074         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
82075         libc_fegetround, libc_fesetround, libc_feholdexcept, and
82076         libc_feholdexceptl.
82078 2011-10-18  Andreas Schwab  <schwab@redhat.com>
82080         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
82081         (__feraiseexcept_renamed): Add __NTH.
82082         (feraiseexcept): Add __NTH.  Rename local variables to fix
82083         namespace violations.
82085 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
82087         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
82089         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
82091         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
82092         recently added interfaces.
82093         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
82095         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
82096         about macro parameter expansion.
82098         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
82099         __NO_MATH_INLINES is defined.  Cleanups.
82101         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
82102         and __floorf is target has SSE4.1.
82103         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
82104         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
82105         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
82106         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
82108         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
82109         name.
82110         (floorf): Likewise.
82112         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
82114 2011-10-17  Andreas Schwab  <schwab@redhat.com>
82116         * misc/sys/cdefs.h: Fix last change.
82118         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
82119         database lookup.
82121 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
82123         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
82125         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
82126         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82127         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
82128         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82130         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
82131         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82132         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82133         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
82134         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
82135         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
82136         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
82137         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
82138         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
82139         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
82140         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
82141         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
82142         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
82143         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
82144         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
82145         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
82146         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
82148         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
82149         ceil, ceilf, floor, floorf.
82151         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
82152         Perform IRELATIVE relocations last.
82154         * elf/do-rel.h: Add another parameter nrelative, replacing the
82155         local variable with the same name.  Change name of the function
82156         to end in Rel or Rela (uppercase).
82157         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
82158         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
82159         elf_dynamic_do_##reloc function.
82161 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82163         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
82164         is sufficient, at least on modern CPUs.
82166         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
82168         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
82169         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
82171         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
82172         __expl_finite.
82173         * math/bits/math-finite.h: Add entries for exp.
82174         * math/e_expl.c: Add __*_finite alias.
82175         * sysdeps/i386/fpu/e_exp.S: Likewise.
82176         * sysdeps/i386/fpu/e_expf.S: Likewise.
82177         * sysdeps/i386/fpu/e_expl.c: Likewise.
82178         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82179         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
82180         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
82181         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
82182         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
82183         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82184         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82186         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
82187         is sufficient, at least on modern CPUs.
82189         * ctype/ctype-info.c (__ctype_init): Define.
82190         * include/ctype.h (__ctype_init): Declare.
82191         (__ctype_b_loc): The variable is always initialized.
82192         (__ctype_toupper_loc): Likewise.
82193         (__ctype_tolower_loc): Likewise.
82194         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
82195         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
82197 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
82199         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
82201         * configure.in: Also look in $cxxmachine/include for C++ system
82202         headers.
82204 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82206         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
82207         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
82208         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
82209         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
82210         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
82211         (USE_AS_WMEMCMP): New macro.
82212         Fixing indents.
82213         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
82214         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
82215         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
82216         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
82217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82218         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
82219         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
82220         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
82221         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
82222         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
82223         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
82224         (USE_AS_WMEMCMP): New macro.
82225         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
82226         * sysdeps/string/test-memcmp.c: Update.
82227         Fix simple_wmemcmp.
82228         Add new tests.
82229         * wcsmbs/wmemcmp.c: Update.
82230         (WMEMCMP): New macro.
82231         Fix overflow bug.
82233 2011-10-12  Andreas Jaeger  <aj@suse.de>
82235         [BZ #13268]
82236         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
82238 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
82240         * libio/iofwide.c (do_length): Avoid warning.
82242         * ctype/ctype.h (__isctype_f): Add missing __THROW.
82244 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
82246         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
82248         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
82249         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
82250         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
82251         * sysdeps/i386/i686/fpu/e_log.S: New file.
82252         * sysdeps/i386/i686/fpu/e_logf.S: New file.
82253         * sysdeps/i386/i686/fpu/e_logl.S: New file.
82255         * ctype/ctype.h: Add support for inlined isXXX functions when
82256         compiling C++ code.
82258 2011-10-14  Andreas Schwab  <schwab@redhat.com>
82260         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82262         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
82264 2011-10-13  Roland McGrath  <roland@hack.frob.com>
82266         [BZ #13291]
82267         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
82269 2011-10-13  Andreas Schwab  <schwab@redhat.com>
82271         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
82272         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
82273         feraiseexcept.
82275         * sysdeps/x86_64/memrchr.S: Check for zero size.
82277         * string/stratcliff.c: Add memrchr tests.
82279 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82281         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82282         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
82283         rawmemchr-sse2 rawmemchr-sse2-bsf.
82284         * sysdeps/i386/i686/multiarch/memchr.S: New file.
82285         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
82286         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
82287         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
82288         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
82289         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
82290         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
82291         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
82292         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
82293         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
82294         * string/memrchr.c (MEMRCHR): New macro.
82296 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
82298         Add integration with gcc's -ffinite-math-only and optimize wrapper
82299         functions in libm.
82300         * Versions.def: Define GLIBC_2.15 version for libm.
82301         * math/Makefile (headers): Add bits/math-finite.h.
82302         * math/bits/math-finite.h: New file.
82303         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
82304         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
82305         * math/e_acoshl.c: Add __*_finite alias.
82306         * math/e_acosl.c: Likewise.
82307         * math/e_asinl.c: Likewise.
82308         * math/e_atan2l.c: Likewise.
82309         * math/e_atanhl.c: Likewise.
82310         * math/e_coshl.c: Likewise.
82311         * math/e_exp10.c: Likewise.
82312         * math/e_exp10f.c: Likewise.
82313         * math/e_exp10l.c: Likewise.
82314         * math/e_exp2l.c: Likewise.
82315         * math/e_fmodl.c: Likewise.
82316         * math/e_gammal_r.c: Likewise.
82317         * math/e_hypotl.c: Likewise.
82318         * math/e_j0l.c: Likewise.
82319         * math/e_j1l.c: Likewise.
82320         * math/e_jnl.c: Likewise.
82321         * math/e_lgammal_r.c: Likewise.
82322         * math/e_log10l.c: Likewise.
82323         * math/e_log2l.c: Likewise.
82324         * math/e_logl.c: Likewise.
82325         * math/e_powl.c: Likewise.
82326         * math/e_sinhl.c: Likewise.
82327         * math/e_sqrtl.c: Likewise.
82328         * math/e_scalb.c: Completely rewritten and optimized.
82329         * math/e_scalbf.c: Likewise.
82330         * math/e_scalbl.c: Likewise.
82331         * math/w_acos.c: Likewise.
82332         * math/w_acosf.c: Likewise.
82333         * math/w_acosl.c: Likewise.
82334         * math/w_acosh.c: Likewise.
82335         * math/w_acoshf.c: Likewise.
82336         * math/w_acoshl.c: Likewise.
82337         * math/w_asin.c: Likewise.
82338         * math/w_asinf.c: Likewise.
82339         * math/w_asinl.c: Likewise.
82340         * math/w_atan2.c: Likewise.
82341         * math/w_atan2f.c: Likewise.
82342         * math/w_atan2l.c: Likewise.
82343         * math/w_atanh.c: Likewise.
82344         * math/w_atanhf.c: Likewise.
82345         * math/w_atanhl.c: Likewise.
82346         * math/w_exp10.c: Likewise.
82347         * math/w_exp10f.c: Likewise.
82348         * math/w_exp10l.c: Likewise.
82349         * math/w_fmod.c: Likewise.
82350         * math/w_fmodf.c: Likewise.
82351         * math/w_fmodl.c: Likewise.
82352         * math/w_j0.c: Likewise.
82353         * math/w_j0f.c: Likewise.
82354         * math/w_j0l.c: Likewise.
82355         * math/w_j1.c: Likewise.
82356         * math/w_j1f.c: Likewise.
82357         * math/w_j1l.c: Likewise.
82358         * math/w_jn.c: Likewise.
82359         * math/w_jnf.c: Likewise.
82360         * math/w_log.c: Likewise.
82361         * math/w_logf.c: Likewise.
82362         * math/w_logl.c: Likewise.
82363         * math/w_log10.c: Likewise.
82364         * math/w_log10f.c: Likewise.
82365         * math/w_log10l.c: Likewise.
82366         * math/w_log2.c: Likewise.
82367         * math/w_log2f.c: Likewise.
82368         * math/w_log2l.c: Likewise.
82369         * math/w_pow.c: Likewise.
82370         * math/w_powf.c: Likewise.
82371         * math/w_powl.c: Likewise.
82372         * math/w_remainder.c: Likewise.
82373         * math/w_remainderf.c: Likewise.
82374         * math/w_remainderl.c: Likewise.
82375         * math/w_scalb.c: Likewise.
82376         * math/w_scalbf.c: Likewise.
82377         * math/w_scalbl.c: Likewise.
82378         * math/w_sqrt.c: Likewise.
82379         * math/w_sqrtf.c: Likewise.
82380         * math/w_sqrtl.c: Likewise.
82381         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
82382         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
82383         used.
82384         * math/math_private.h: Declare __kernel_standard_f.
82385         * math/w_cosh.c: Remove cruft and optimize a bit.
82386         * math/w_coshf.c: Likewise.
82387         * math/w_coshl.c: Likewise.
82388         * math/w_exp2.c: Likewise.
82389         * math/w_exp2f.c: Likewise.
82390         * math/w_exp2l.c: Likewise.
82391         * math/w_hypot.c: Likewise.
82392         * math/w_hypotf.c: Likewise.
82393         * math/w_hypotl.c: Likewise.
82394         * math/w_lgamma.c: Likewise.
82395         * math/w_lgamma_r.c: Likewise.
82396         * math/w_lgammaf.c: Likewise.
82397         * math/w_lgammaf_r.c: Likewise.
82398         * math/w_lgammal.c: Likewise.
82399         * math/w_lgammal_r.c: Likewise.
82400         * math/w_sinh.c: Likewise.
82401         * math/w_sinhf.c: Likewise.
82402         * math/w_sinhl.c: Likewise.
82403         * math/w_tgamma.c: Likewise.
82404         * math/w_tgammaf.c: Likewise.
82405         * math/w_tgammal.c: Likewise.
82406         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82407         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82408         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
82409         Minor optimizations.  Pretty printing.  Remove cruft.
82410         * sysdeps/i386/fpu/e_acosf.S: Likewise.
82411         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82412         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82413         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82414         * sysdeps/i386/fpu/e_acosl.c: Likewise.
82415         * sysdeps/i386/fpu/e_asin.S: Likewise.
82416         * sysdeps/i386/fpu/e_asinf.S: Likewise.
82417         * sysdeps/i386/fpu/e_atan2.S: Likewise.
82418         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
82419         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
82420         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82421         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82422         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82423         * sysdeps/i386/fpu/e_exp10.S: Likewise.
82424         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
82425         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
82426         * sysdeps/i386/fpu/e_exp2.S: Likewise.
82427         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
82428         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
82429         * sysdeps/i386/fpu/e_fmod.S: Likewise.
82430         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
82431         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
82432         * sysdeps/i386/fpu/e_hypot.S: Likewise.
82433         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
82434         * sysdeps/i386/fpu/e_log.S: Likewise.
82435         * sysdeps/i386/fpu/e_log10.S: Likewise.
82436         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82437         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82438         * sysdeps/i386/fpu/e_log2.S: Likewise.
82439         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82441         * sysdeps/i386/fpu/e_logf.S: Likewise.
82442         * sysdeps/i386/fpu/e_logl.S: Likewise.
82443         * sysdeps/i386/fpu/e_pow.S: Likewise.
82444         * sysdeps/i386/fpu/e_powf.S: Likewise.
82445         * sysdeps/i386/fpu/e_powl.S: Likewise.
82446         * sysdeps/i386/fpu/e_remainder.S: Likewise.
82447         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
82448         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
82449         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82450         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82451         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82452         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
82453         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
82454         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
82455         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
82456         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82458         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
82459         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
82460         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
82461         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
82462         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
82463         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82464         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
82465         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
82466         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
82467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82468         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
82469         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
82470         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82471         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
82472         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
82473         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82474         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82475         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
82476         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
82477         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82478         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82479         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
82480         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
82481         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
82482         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
82483         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
82484         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
82485         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82486         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
82487         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82488         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
82489         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
82490         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
82491         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
82492         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
82493         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
82494         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
82495         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
82496         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
82497         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
82498         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
82499         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82500         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
82501         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
82502         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
82503         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
82504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
82505         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
82506         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
82507         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
82508         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82509         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
82510         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
82511         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
82512         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
82513         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
82514         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
82515         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
82516         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
82517         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82519         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
82520         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
82521         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
82522         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
82523         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
82524         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
82525         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
82526         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
82527         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
82528         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
82529         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
82530         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
82531         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
82532         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
82533         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82534         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
82535         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82536         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
82537         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
82538         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82539         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82540         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
82541         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82542         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
82543         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
82544         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
82545         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82546         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
82547         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
82548         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
82549         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82550         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82551         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82552         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
82553         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
82554         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
82555         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
82556         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
82557         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
82558         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
82559         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82560         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82561         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82562         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82563         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
82564         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82565         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
82566         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
82567         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
82568         (__isnanf): Likewise.
82569         (__isinf_ns): Likewise.
82570         (__isinf_nsf): Likewise.
82571         (__finite): Likewise.
82572         (__finitef): Likewise.
82573         (__ieee754_sqrt): Define as macro.
82574         (__ieee754_sqrtf): Define as macro.
82575         (__ieee754_sqrtl): Define as macro.
82576         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
82577         inlined copy.
82578         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
82579         __FINITE_MATH_ONLY__ consistent.
82580         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
82582 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
82584         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
82585         of rawmemchr.
82587         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
82589 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
82591         * po/ja.po: Update from translation team.
82593 2011-10-08  Roland McGrath  <roland@hack.frob.com>
82595         * locale/programs/locarchive.c (prepare_address_space): New function.
82596         (create_archive, enlarge_archive, open_archive): Use it.
82598         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
82599         inside [SHARED], where it is used.
82601         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
82603         * nss/getent.c (netgroup_keys): Remove unused variable.
82604         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
82606 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
82608         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
82609         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
82610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
82611         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
82612         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
82613         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
82614         * math/Makefile (libm-calls): Add s_isinf_ns.
82615         * math/divtc3.c: Use __isinf_nsl instead of isinf.
82616         * math/multc3.c: Likewise.
82617         * math/s_casin.c: Likewise.
82618         * math/s_casinf.c: Likewise.
82619         * math/s_casinl.c: Likewise.
82620         * math/s_ccos.c: Likewise.
82621         * math/s_ccosf.c: Likewise.
82622         * math/s_ccosl.c: Likewise.
82623         * math/s_ctan.c: Likewise.
82624         * math/s_ctanf.c: Likewise.
82625         * math/s_ctanh.c: Likewise.
82626         * math/s_ctanhf.c: Likewise.
82627         * math/s_ctanhl.c: Likewise.
82628         * math/s_ctanl.c: Likewise.
82629         * math/w_fmod.c: Likewise.
82630         * math/w_fmodf.c: Likewise.
82631         * math/w_fmodl.c: Likewise.
82632         * math/w_remainder.c: Likewise.
82633         * math/w_remainderf.c: Likewise.
82634         * math/w_remainderl.c: Likewise.
82635         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
82636         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
82637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
82638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
82639         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
82640         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
82641         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
82642         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
82644         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
82645         of the number.
82646         * stdio-common/printf_fphex.c: Likewise.
82647         * stdio-common/printf_size.c: Likewise.
82649         * math/e_exp10.c: Include math_private.h using <...> not "...".
82650         * math/e_exp10f.c: Likewise.
82651         * math/e_exp10l.c: Likewise.
82652         * math/e_exp2l.c: Likewise.
82653         * math/e_j0l.c: Likewise.
82654         * math/e_j1l.c: Likewise.
82655         * math/e_jnl.c: Likewise.
82656         * math/e_lgammal_r.c: Likewise.
82657         * math/e_rem_pio2l.c: Likewise.
82658         * math/e_scalb.c: Likewise.
82659         * math/e_scalbf.c: Likewise.
82660         * math/e_scalbl.c: Likewise.
82661         * math/k_cosl.c: Likewise.
82662         * math/k_sinl.c: Likewise.
82663         * math/k_tanl.c: Likewise.
82664         * math/s_cacoshf.c: Likewise.
82665         * math/s_catan.c: Likewise.
82666         * math/s_catanf.c: Likewise.
82667         * math/s_catanh.c: Likewise.
82668         * math/s_catanhf.c: Likewise.
82669         * math/s_catanhl.c: Likewise.
82670         * math/s_catanl.c: Likewise.
82671         * math/s_ccosh.c: Likewise.
82672         * math/s_ccoshf.c: Likewise.
82673         * math/s_ccoshl.c: Likewise.
82674         * math/s_cexp.c: Likewise.
82675         * math/s_cexpf.c: Likewise.
82676         * math/s_cexpl.c: Likewise.
82677         * math/s_clog.c: Likewise.
82678         * math/s_clog10.c: Likewise.
82679         * math/s_clog10f.c: Likewise.
82680         * math/s_clog10l.c: Likewise.
82681         * math/s_clogf.c: Likewise.
82682         * math/s_clogl.c: Likewise.
82683         * math/s_csin.c: Likewise.
82684         * math/s_csinf.c: Likewise.
82685         * math/s_csinh.c: Likewise.
82686         * math/s_csinhf.c: Likewise.
82687         * math/s_csinhl.c: Likewise.
82688         * math/s_csinl.c: Likewise.
82689         * math/s_csqrt.c: Likewise.
82690         * math/s_csqrtf.c: Likewise.
82691         * math/s_csqrtl.c: Likewise.
82692         * math/s_ctan.c: Likewise.
82693         * math/s_ctanf.c: Likewise.
82694         * math/s_ctanh.c: Likewise.
82695         * math/s_ctanhf.c: Likewise.
82696         * math/s_ctanhl.c: Likewise.
82697         * math/s_ctanl.c: Likewise.
82698         * math/s_ldexp.c: Likewise.
82699         * math/s_ldexpf.c: Likewise.
82700         * math/s_ldexpl.c: Likewise.
82701         * math/s_significand.c: Likewise.
82702         * math/s_significandf.c: Likewise.
82703         * math/s_significandl.c: Likewise.
82704         * math/w_acos.c: Likewise.
82705         * math/w_acosf.c: Likewise.
82706         * math/w_acosh.c: Likewise.
82707         * math/w_acoshf.c: Likewise.
82708         * math/w_acoshl.c: Likewise.
82709         * math/w_acosl.c: Likewise.
82710         * math/w_asin.c: Likewise.
82711         * math/w_asinf.c: Likewise.
82712         * math/w_asinl.c: Likewise.
82713         * math/w_atan2.c: Likewise.
82714         * math/w_atan2f.c: Likewise.
82715         * math/w_atan2l.c: Likewise.
82716         * math/w_atanh.c: Likewise.
82717         * math/w_atanhf.c: Likewise.
82718         * math/w_atanhl.c: Likewise.
82719         * math/w_cosh.c: Likewise.
82720         * math/w_coshf.c: Likewise.
82721         * math/w_coshl.c: Likewise.
82722         * math/w_dremf.c: Likewise.
82723         * math/w_exp10.c: Likewise.
82724         * math/w_exp10f.c: Likewise.
82725         * math/w_exp10l.c: Likewise.
82726         * math/w_exp2.c: Likewise.
82727         * math/w_exp2f.c: Likewise.
82728         * math/w_fmod.c: Likewise.
82729         * math/w_fmodf.c: Likewise.
82730         * math/w_fmodl.c: Likewise.
82731         * math/w_hypot.c: Likewise.
82732         * math/w_hypotf.c: Likewise.
82733         * math/w_hypotl.c: Likewise.
82734         * math/w_j0.c: Likewise.
82735         * math/w_j0f.c: Likewise.
82736         * math/w_j0l.c: Likewise.
82737         * math/w_j1.c: Likewise.
82738         * math/w_j1f.c: Likewise.
82739         * math/w_j1l.c: Likewise.
82740         * math/w_jn.c: Likewise.
82741         * math/w_jnf.c: Likewise.
82742         * math/w_jnl.c: Likewise.
82743         * math/w_lgamma.c: Likewise.
82744         * math/w_lgamma_r.c: Likewise.
82745         * math/w_lgammaf.c: Likewise.
82746         * math/w_lgammaf_r.c: Likewise.
82747         * math/w_lgammal.c: Likewise.
82748         * math/w_lgammal_r.c: Likewise.
82749         * math/w_log.c: Likewise.
82750         * math/w_log10.c: Likewise.
82751         * math/w_log10f.c: Likewise.
82752         * math/w_log10l.c: Likewise.
82753         * math/w_log2.c: Likewise.
82754         * math/w_log2f.c: Likewise.
82755         * math/w_log2l.c: Likewise.
82756         * math/w_logf.c: Likewise.
82757         * math/w_logl.c: Likewise.
82758         * math/w_pow.c: Likewise.
82759         * math/w_powf.c: Likewise.
82760         * math/w_powl.c: Likewise.
82761         * math/w_remainder.c: Likewise.
82762         * math/w_remainderf.c: Likewise.
82763         * math/w_remainderl.c: Likewise.
82764         * math/w_scalb.c: Likewise.
82765         * math/w_scalbf.c: Likewise.
82766         * math/w_scalbl.c: Likewise.
82767         * math/w_sinh.c: Likewise.
82768         * math/w_sinhf.c: Likewise.
82769         * math/w_sinhl.c: Likewise.
82770         * math/w_sqrt.c: Likewise.
82771         * math/w_sqrtf.c: Likewise.
82772         * math/w_sqrtl.c: Likewise.
82773         * math/w_tgamma.c: Likewise.
82774         * math/w_tgammaf.c: Likewise.
82775         * math/w_tgammal.c: Likewise.
82777         * po/ja.po: Update from translation team.
82779 2011-09-29  Andreas Jaeger  <aj@suse.de>
82781         [BZ #13179]
82782         * sunrpc/netname.c (netname2host): Fix logic.
82784         [BZ #6779]
82785         [BZ #6783]
82786         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
82787         correctly.
82788         * math/w_remainder.c (__remainder): Likewise.
82789         * math/w_remainderf.c (__remainderf): Likewise.
82790         * math/libm-test.inc (remainder_test): Add test cases.
82792 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82794         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
82795         sdiv_qrnnd.
82797 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82799         * string/test-memcmp.c: Avoid unncessary #defines.
82800         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82802 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82804         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
82805         Use new sse2 version for core i3 - i7 as it's faster
82806         than sse42 version.
82807         (bit_Prefer_PMINUB_for_stringop): New.
82808         * sysdeps/x86_64/rawmemchr.S: Update.
82809         Replace with faster SSE2 version.
82810         * sysdeps/x86_64/memrchr.S: New file.
82811         * sysdeps/x86_64/memchr.S: Update.
82812         Replace with faster SSE2 version.
82814 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
82816         * elf/dl-load.c (lose): Add cast to avoid warning.
82818 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
82820         * po/ca.po: Update from translation team.
82822         * inet/getnetgrent_r.c: Hook up nscd.
82823         * nscd/Makefile (routines): Add nscd_netgroup.
82824         (nscd-modules): Add netgroupcache.
82825         (CFLAGS-netgroupcache.c): Define.
82826         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
82827         (cache_search): Add const to second parameter.
82828         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
82829         INNETGR.
82830         (dbs): Add netgrdb entry.
82831         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
82832         (verify_persistent_db): Handle netgrdb.
82833         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
82834         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
82835         GETFDNETGR.
82836         (netgroup_response_header): Define.
82837         (innetgroup_response_header): Define.
82838         (datahead): Add netgroup_response_header and innetgroup_response_header
82839         elements.
82840         * nscd/nscd.conf: Add entries for netgroup cache.
82841         * nscd/nscd.h (dbtype): Add netgrdb.
82842         (_PATH_NSCD_NETGROUP_DB): Define.
82843         (netgroup_iov_disabled): Declare.
82844         (xmalloc, xcalloc, xrealloc): Move declarations here.
82845         (cache_search): Adjust prototype.
82846         Add netgroup-related prototypes.
82847         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
82848         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
82849         (__nscd_innetgr): Declare.
82850         * nscd/selinux.c (perms): Use access_vector_t as element type and
82851         add netgroup-related initializers.
82852         * nscd/netgroupcache.c: New file.
82853         * nscd/nscd_netgroup.c: New file.
82854         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
82855         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
82856         For four parameters use innetgr.
82857         * nss/nss_files/files-init.c: Add definition and callback for netgr.
82858         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
82859         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
82860         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
82862         * nscd/connections.c (register_traced_file): Don't register file
82863         for disabled databases.
82865 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
82867         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
82869         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
82870         from tree and freeing node.
82872 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
82874         * nss/nsswitch.c (__nss_database_lookup): Handle
82875         nss_parse_service_list out of memory case.
82877 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
82879         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
82880         out of memory case.
82882 2011-10-04  Andreas Schwab  <schwab@redhat.com>
82884         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
82885         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
82886         pass it down.
82887         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
82888         elf_machine_rela, elf_machine_lazy_rel.
82889         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
82890         (ELF_DYNAMIC_DO_REL): Likewise.
82891         (ELF_DYNAMIC_DO_RELA): Likewise.
82892         (ELF_DYNAMIC_RELOCATE): Likewise.
82893         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
82894         to ELF_DYNAMIC_DO_REL.
82895         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
82896         (dl_main): In trace mode always set __RTLD_NOIFUNC.
82897         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
82898         elf_machine_rela.
82899         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
82900         skip_ifunc, don't call ifunc function if non-zero.
82901         (elf_machine_rela): Likewise.
82902         (elf_machine_lazy_rel): Likewise.
82903         (elf_machine_lazy_rela): Likewise.
82904         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
82905         (elf_machine_lazy_rel): Likewise.
82906         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
82907         Likewise.
82908         (elf_machine_lazy_rel): Likewise.
82909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82910         Likewise.
82911         (elf_machine_lazy_rel): Likewise.
82912         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
82913         (elf_machine_lazy_rel): Likewise.
82914         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
82915         (elf_machine_lazy_rel): Likewise.
82916         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
82917         (elf_machine_lazy_rel): Likewise.
82918         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
82919         (elf_machine_lazy_rel): Likewise.
82920         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
82921         (elf_machine_lazy_rel): Likewise.
82922         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
82923         (elf_machine_lazy_rel): Likewise.
82925 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
82927         * nss/nss_files/files-init.c (_nss_files_init): Use static
82928         initialization for all the *_traced_file variables.
82930 2011-09-28  Andreas Schwab  <schwab@redhat.com>
82932         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82934 2011-09-27  Roland McGrath  <roland@hack.frob.com>
82936         [BZ #13226]
82937         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
82939 2011-09-27  Andreas Schwab  <schwab@redhat.com>
82941         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82942         Reread the line before reparsing it.
82944 2011-09-26  Andreas Schwab  <schwab@redhat.com>
82946         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
82948 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
82949             Maxim Kuvyrkov  <maxim@codesourcery.com>
82950             Joseph Myers  <joseph@codesourcery.com>
82952         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
82953         if needed for __stack_chk_guard.
82955 2011-09-19  Roland McGrath  <roland@hack.frob.com>
82957         * sysdeps/posix/spawni.c (script_execute): Always define it.
82958         It will be optimized away if unused.
82959         (maybe_script_execute): New function.
82960         (__spawni): Call it.
82962         * Makerules: Don't include tls.make.
82963         (config-tls): Always set to thread.
82964         * tls.make.c: File removed.
82966 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
82968         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
82969         * config.make.in (CPPFLAGS-config): New substituted variable.
82971 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82973         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
82975         [BZ #13192]
82976         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
82977         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
82979 2011-09-15  Roland McGrath  <roland@hack.frob.com>
82981         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
82982         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
82983         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82984         (CALL_FAIL): Likewise.
82985         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
82986         (CALL_FAIL): Macro removed.
82987         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
82989 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
82991         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
82992         for __FINITE_MATH_ONLY__ == 1.
82994 2011-09-15  Andreas Schwab  <schwab@redhat.com>
82996         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
82997         __ieee754_sqrt instead of sqrt.
82998         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
82999         __ieee754_sqrtf instead of sqrtf.
83000         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
83001         __floorf instead of floorf.
83002         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
83003         __floorf, __truncf instead of floorf, truncf.
83005 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
83007         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
83009         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
83010         __extern_always_inline.
83011         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
83012         32-bit.
83014 2011-09-14  Andreas Schwab  <schwab@redhat.com>
83016         * elf/rtld.c (dl_main): Also relocate in dependency order when
83017         doing symbol dependency testing.
83019 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
83021         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83022         Always define `refsym'.
83024 2011-09-13  Andreas Schwab  <schwab@redhat.com>
83026         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
83027         (__FD_ELT): Renamed from __FDELT.
83028         * misc/bits/select2.h (__FD_ELT): Likewise.
83029         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
83030         __FD_MASK instead of __FDELT, __FDMASK.
83031         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83032         Likewise.
83033         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
83034         Likewise.
83036         * elf/Makefile (gen-ldd): Fix pattern.
83038         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
83039         (init_tls): Likewise.
83041 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
83043         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
83045 2011-09-12  Andreas Schwab  <schwab@redhat.com>
83047         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
83048         `struct cmsghdr *' instead of `void *'.
83049         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
83050         Likewise.
83052 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
83054         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
83055         if non-absolute.
83056         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
83057         ldd_rewrite_script.
83059 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
83061         * configure.in: Remove --with-tls option.
83062         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
83063         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
83064         out in case it is missing.
83065         * sysdeps/ia64/elf/configure.in: Likewise.
83066         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
83067         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
83068         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
83069         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
83070         * sysdeps/sh/elf/configure.in: Likewise.
83071         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
83072         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
83073         * sysdeps/x86_64/elf/configure.in: Likewise.
83074         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
83075         * sysdeps/mach/hurd/tls.h: Likewise.
83077         [BZ #13067]
83078         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
83080         [BZ #13090]
83081         * configure.in: Fix use of AC_INIT.
83083         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
83085 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
83087         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
83088         __set_errno.
83089         * malloc/hooks.c: Likewise.
83091         [BZ #11929]
83092         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
83093         variables statically.
83094         (narenas): Initialize.
83095         (list_lock): Initialize.
83096         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
83097         initializtion of main_arena and list_lock.  Small cleanups.
83098         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
83099         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
83100         Add initializers to main_arena and mp_.
83101         (malloc_state): Remove pagesize member.  Change all users to use
83102         GLRO(dl_pagesize).
83104         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
83105         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
83106         is always initialized.
83108         * malloc/malloc.c: Removed unused configurations and dead code.
83109         * malloc/arena.c: Likewise.
83110         * malloc/hooks.c: Likewise.
83111         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
83113         * include/tls.h: Removed.  USE___THREAD must always be defined.
83114         * bits/libc-tsd.h: Don't handle !USE___THREAD.
83115         * elf/dl-libc.c: Likewise.
83116         * elf/dl-tsd.c: Likewise.
83117         * include/errno.h: Likewise.
83118         * include/netdb.h: Likewise.
83119         * include/resolv.h: Likewise.
83120         * inet/herrno-loc.c: Likewise.
83121         * inet/herrno.c: Likewise.
83122         * malloc/arena.c: Likewise.
83123         * malloc/hooks.c: Likewise.
83124         * malloc/malloc.c: Likewise.
83125         * resolv/res-state.c: Likewise.
83126         * resolv/res_libc.c: Likewise.
83127         * sysdeps/i386/dl-machine.h: Likewise.
83128         * sysdeps/ia64/dl-machine.h: Likewise.
83129         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
83130         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
83131         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
83132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
83133         * sysdeps/sh/dl-machine.h: Likewise.
83134         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
83135         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
83136         * sysdeps/unix/i386/sysdep.S: Likewise.
83137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
83138         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
83139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
83140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
83141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
83142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
83143         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
83144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
83145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
83147         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83148         * sysdeps/x86_64/dl-machine.h: Likewise.
83149         * tls.make.c: Likewise.
83151         * configure.in: Remove --with-__thread option.  Make tests for
83152         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
83153         tls_model attribute fail if no support is available.  Remove
83154         USE_IN_LIBIO.
83155         * Makeconfig: Adjust for dropped configure option.  All features are
83156         now mandatory.
83157         * Makerules: Likewise.
83158         * Versions.def: Likewise.
83159         * argp/argp-fmtstream.c: Likewise.
83160         * argp/argp-fmtstream.h: Likewise.
83161         * argp/argp-help.c: Likewise.
83162         * assert/assert.c: Likewise.
83163         * config.h.in: Likewise.
83164         * config.make.in: Likewise.
83165         * configure: Likewise.
83166         * configure.in: Likewise.
83167         * csu/Versions: Likewise.
83168         * csu/init.c: Likewise.
83169         * elf/tst-audit2.c: Likewise.
83170         * elf/tst-tls10.c: Likewise.
83171         * elf/tst-tls10.h: Likewise.
83172         * elf/tst-tls11.c: Likewise.
83173         * elf/tst-tls12.c: Likewise.
83174         * elf/tst-tls14.c: Likewise.
83175         * elf/tst-tlsmod11.c: Likewise.
83176         * elf/tst-tlsmod12.c: Likewise.
83177         * elf/tst-tlsmod13.c: Likewise.
83178         * elf/tst-tlsmod13a.c: Likewise.
83179         * elf/tst-tlsmod14a.c: Likewise.
83180         * elf/tst-tlsmod15b.c: Likewise.
83181         * elf/tst-tlsmod16a.c: Likewise.
83182         * elf/tst-tlsmod16b.c: Likewise.
83183         * elf/tst-tlsmod7.c: Likewise.
83184         * elf/tst-tlsmod8.c: Likewise.
83185         * elf/tst-tlsmod9.c: Likewise.
83186         * gmon/gmon.c: Likewise.
83187         * grp/fgetgrent_r.c: Likewise.
83188         * grp/putgrent.c: Likewise.
83189         * hurd/fopenport.c: Likewise.
83190         * include/libc-symbols.h: Likewise.
83191         * include/tls.h: Likewise.
83192         * intl/gettextP.h: Likewise.
83193         * intl/loadinfo.h: Likewise.
83194         * locale/global-locale.c: Likewise.
83195         * locale/localeinfo.h: Likewise.
83196         * mach/devstream.c: Likewise.
83197         * malloc/arena.c: Likewise.
83198         * malloc/set-freeres.c: Likewise.
83199         * misc/err.c: Likewise.
83200         * misc/getttyent.c: Likewise.
83201         * misc/mntent_r.c: Likewise.
83202         * posix/getopt.c: Likewise.
83203         * posix/wordexp.c: Likewise.
83204         * pwd/fgetpwent_r.c: Likewise.
83205         * resolv/Versions: Likewise.
83206         * resolv/res_hconf.c: Likewise.
83207         * shadow/fgetspent_r.c: Likewise.
83208         * shadow/putspent.c: Likewise.
83209         * stdio-common/printf_fphex.c: Likewise.
83210         * stdio-common/tmpfile.c: Likewise.
83211         * stdlib/abort.c: Likewise.
83212         * stdlib/fmtmsg.c: Likewise.
83213         * sunrpc/auth_unix.c: Likewise.
83214         * sunrpc/clnt_perr.c: Likewise.
83215         * sunrpc/clnt_tcp.c: Likewise.
83216         * sunrpc/clnt_udp.c: Likewise.
83217         * sunrpc/clnt_unix.c: Likewise.
83218         * sunrpc/openchild.c: Likewise.
83219         * sunrpc/svc_simple.c: Likewise.
83220         * sunrpc/svc_tcp.c: Likewise.
83221         * sunrpc/svc_udp.c: Likewise.
83222         * sunrpc/svc_unix.c: Likewise.
83223         * sunrpc/xdr.c: Likewise.
83224         * sunrpc/xdr_array.c: Likewise.
83225         * sunrpc/xdr_rec.c: Likewise.
83226         * sunrpc/xdr_ref.c: Likewise.
83227         * sunrpc/xdr_stdio.c: Likewise.
83229 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83231         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83233 2011-07-03  Andreas Jaeger  <aj@suse.de>
83235         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
83236         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
83237         regenerate with gen-libm-tests.pl.
83239 2010-05-12  Petr Baudis  <pasky@suse.cz>
83241         [BZ #11589]
83242         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
83243         around j0() zero points by switching to j1().
83244         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83245         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83246         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83247         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83249 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83251         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
83252         instead of 0.
83253         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
83254         instead of 0.
83255         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83256         Patch in part by Pavel Roskin <proski@gnu.org>.
83258         [BZ #13138]
83259         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
83260         realloc.
83261         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
83262         Free memory block if necessary.
83264         [BZ #12847]
83265         * libio/genops.c (INTDEF): For string streams the _lock pointer can
83266         be NULL.  Don't lock in this case.
83268 2011-09-09  Roland McGrath  <roland@hack.frob.com>
83270         * elf/elf.h (ELFOSABI_GNU): New macro.
83271         (ELFOSABI_LINUX): Define to that.
83273 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
83275         * string/strncat.c (strncat): Undef the symbol in case it has been
83276         defined in bits/string.h.
83278 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
83280         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
83282         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
83283         link map.
83285 2011-08-17  Andreas Jaeger  <aj@suse.de>
83287         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
83289 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
83290             Ian Lance Taylor  <iant@google.com>
83292         * math/libm-test.inc (lround_test): New testcase.
83293         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
83295 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
83297         * Makefile: Remove support for automatic cvs check-ins.
83298         * Makerules: Likewise.
83299         * config.make.in: Likewise.
83300         * configure.in: Likewise.
83301         * intl/Makefile: Likewise.
83302         * locale/Makefile: Likewise.
83303         * po/Makefile: Likewise.
83304         * posix/Makefile: Likewise.
83305         * sysdeps/gnu/Makefile: Likewise.
83306         * sysdeps/mach/hurd/Makefile: Likewise.
83307         * sysdeps/sparc/sparc32/Makefile: Likewise.
83309         [BZ #13118]
83310         * posix/Makefile (bug-regex32-ENV): Define.
83311         Patch by John Stanley <jpsinthemix@verizon.net>.
83313         * misc/Makefile (headers): Add bits/select2.h.
83314         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
83315         * misc/bits/select2.h: New file.
83316         * include/bits/select2.h: New file.
83317         * debug/Makefile (routines): Add fdelt_chk.
83318         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
83319         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
83320         FD_ISSET.
83321         * debug/fdelt_chk.c: New file.
83323         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
83324         * wcsmbs/test-wmemcmp.c: Likewise.
83325         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
83326         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
83328 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83330         * string/Makefile (strop-tests): Add memcmp.
83331         * string/test-wmemcmp.c: New file.
83332         * string/test-memcmp.c: Add wmemcmp support.
83334 2011-09-08  Roland McGrath  <roland@hack.frob.com>
83336         [BZ #13153]
83337         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
83338         2011-07-19 change.
83340         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
83341         garbage value in a __mach_port_mod_refs call in the cases of the
83342         task-self and thread-self ports.
83344 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83346         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
83348 2011-09-08  Andreas Schwab  <schwab@redhat.com>
83350         * elf/dl-load.c (lose): Check for non-null L.
83352 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83354         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
83356         * elf/dl-libc.c (dlerror_run): Pass back error code from
83357         dl_catch_error.
83359         [BZ #13123]
83360         * elf/dl-load.c (lose): Free l_origin if it is valid.
83362         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
83363         names.
83364         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
83365         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83366         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83367         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83368         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
83369         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
83371 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83373         * sysdeps/powerpc/fpu/e_hypot.c: New file.
83374         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
83375         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
83376         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
83377         * sysdeps/powerpc/fpu/k_cosf.c: New file.
83378         * sysdeps/powerpc/fpu/k_sinf.c: New file.
83379         * sysdeps/powerpc/fpu/s_cosf.c: New file.
83380         * sysdeps/powerpc/fpu/s_sinf.c: New file.
83381         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
83382         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
83384 2011-08-15  Alan Modra  <amodra@gmail.com>
83386         [BZ #13092]
83387         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
83388         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
83389         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
83390         ppc_mcount to static-only-routines.
83391         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
83392         __mcount_internal.
83393         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
83394         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
83396 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
83398         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
83399         for finite and infinity parameters.
83401 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
83404         and add nop instructions for throughput optimization.
83405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83407 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
83409         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
83410         aligned copy for power7 with vector-scalar instructions.
83411         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
83413 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
83415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
83416         AVX check.
83418 2011-09-07  Andreas Schwab  <schwab@redhat.com>
83420         [BZ #13144]
83421         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
83422         last change.
83424 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
83426         * sysdeps/unix/sysv/linux/x86_64/init-first.c
83427         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
83428         syscall wrapper around clock_gettime in __vdso_clock_gettime.
83429         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
83430         clock_gettime.
83432 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83434         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
83435         Forgot to demangle the pointer.
83437         * sysdeps/i386/sysdep.h: Define atom_text_section.
83438         * sysdeps/x86_64/sysdep.h: Likewise.
83439         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
83440         section with atom_text_section.
83441         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
83442         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
83443         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
83444         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
83445         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
83447         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
83448         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
83449         already be defined.  Change to take two parameters and don't assign
83450         result to variable.  Adjust all users.
83451         Define INTERNAL_GETTIME if not already defined.
83452         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
83453         call.
83454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
83455         HAVE_CLOCK_GETTIME_VSYSCALL.
83456         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
83458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
83459         gettimeofday vsyscall, just use time.
83461 2011-09-06  Andreas Schwab  <schwab@redhat.com>
83463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
83464         <errno.h>.
83466 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
83468         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
83469         syscall on x86-64.
83470         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
83471         syscall.
83472         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
83473         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
83474         syscall if possible.
83476 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83478         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
83479         e_ident.  Don't pass to find_mapsXX.
83480         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
83482 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83485         strchr-sse2-no-bsf strrchr-sse2-no-bsf
83486         * sysdeps/x86_64/multiarch/strchr.S: Update.
83487         Check bit_slow_BSF bit.
83488         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
83489         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
83490         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
83492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83494         [BZ #13134]
83495         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
83496         before glibc 2.15.
83497         (tryshell): Define.
83498         (__spawni): Change last parameter to be flag.  Test
83499         SPAWN_XFLAGS_USE_PATH flag to use path or not.
83500         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
83501         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
83502         * posix/spawni.c: Likewise.
83503         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
83504         * posix/spawnp.c: Likewise.  Change normal version to use
83505         SPAWN_XFLAGS_USE_PATH.
83506         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
83507         SPAWN_XFLAGS_TRY_SHELL.
83509         [BZ #13150]
83510         * posix/glob.h: Remove gcc 1.x support.
83512         [BZ #13068]
83513         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
83515 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83518         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
83519         strrchr-sse2-bsf
83520         * sysdeps/i386/i686/multiarch/strchr.S: New file.
83521         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
83522         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
83523         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
83524         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
83525         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
83527 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83529         * sysdeps/x86_64/wcscmp.S: New file.
83531         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
83532         wcscmp-c wcscmp-sse2
83533         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
83534         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
83535         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
83536         * wcsmbs/wcscmp.c: Allow renaming.
83538 2011-09-05  David S. Miller  <davem@davemloft.net>
83540         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
83541         stack slot, rather than the struct return pointer slot.
83542         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
83543         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
83544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
83545         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
83547 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
83549         * po/ja.po: Update from translation team.
83551         [BZ #13144]
83552         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
83553         kernel in 64-bit binaries.
83555 2011-09-01  David S. Miller  <davem@davemloft.net>
83557         * elf/elf.h (HWCAP_SPARC_*): Move to..
83558         * sysdeps/sparc/sysdep.h: this new file and add new values.
83559         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
83560         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
83561         _DL_HWCAP_COUNT to 24.
83562         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
83563         entries.
83564         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
83565         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
83566         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
83567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
83568         instead of magic constants.
83569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83571 2011-08-31  David S. Miller  <davem@davemloft.net>
83573         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
83574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
83575         Reimplement to do errno handling inline.
83576         (SYSCALL_ERROR_HANDLER): New macro.
83577         (__SYSCALL_STRING): Do not do errno handling in asm.
83578         (__CLONE_SYSCALL_STRING): Delete.
83579         (__INTERNAL_SYSCALL_STRING): Delete.
83580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
83581         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
83582         (PSEUDO): Reimplement to do errno handling inline.
83583         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
83584         (SYSCALL_ERROR_HANDLER): New macro.
83585         (__SYSCALL_STRING): Do not do errno handling in asm.
83586         (__CLONE_SYSCALL_STRING): Delete.
83587         (__INTERNAL_SYSCALL_STRING): Delete.
83588         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
83589         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
83590         i386.
83591         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
83592         (inline_syscall*): Add 'err' argument.
83593         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
83594         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
83595         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
83596         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
83598         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
83599         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83601 2011-08-30  Andreas Schwab  <schwab@redhat.com>
83603         * elf/rtld.c (dl_main): Relocate objects in dependency order.
83605 2011-08-29  Jiri Olsa <jolsa@redhat.com>
83607         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
83608         directive.
83610 2011-08-24  David S. Miller  <davem@davemloft.net>
83612         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
83614 2011-08-24  Andreas Schwab  <schwab@redhat.com>
83616         * elf/Makefile: Add rules to build and run unload8 test.
83617         * elf/unload8.c: New file.
83618         * elf/unload8mod1.c: New file.
83619         * elf/unload8mod1x.c: New file.
83620         * elf/unload8mod2.c: New file.
83621         * elf/unload8mod3.c: New file.
83623         * elf/dl-close.c (_dl_close_worker): Reset private search list if
83624         it wasn't used.
83626 2011-08-23  David S. Miller  <davem@davemloft.net>
83628         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
83629         subtract stack bias.
83630         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
83631         %sp not %fp in calculations.
83632         (_JMPBUF_UNWINDS_ADJ): Likewise.
83634         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
83635         (aio_suspend): Call it to force an exception region around the
83636         AIO_MISC_WAIT() invocation.
83638 2011-08-23  Andreas Schwab  <schwab@redhat.com>
83640         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
83641         backslash.
83643 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
83645         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
83646         protection macro.
83647         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
83648         and <dl-machine.h>.
83649         (Elf64_FuncDesc): Remove.
83651 2011-08-22  David S. Miller  <davem@davemloft.net>
83653         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
83654         sigaltstack check, add missing cfi directives.
83655         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
83656         missing cfi directives, and sigaltstack handling.
83658 2011-08-16  Andreas Schwab  <schwab@redhat.com>
83660         [BZ #11724]
83661         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
83662         object is seen twice.
83663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83665         * elf/Makefile (distribute): Add tst-initorder2.c.
83666         (tests): Add tst-initorder2.
83667         (modules-names): Add tst-initorder2a tst-initorder2b
83668         tst-initorder2c tst-initorder2d.  Add rules to build them.
83669         ($(objpfx)tst-initorder2.out): New rule.
83670         * elf/tst-initorder2.c: New file.
83671         * elf/tst-initorder2.exp: New file.
83673 2011-08-22  Andreas Schwab  <schwab@redhat.com>
83675         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
83677         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
83678         dependencies back to end of function.
83680         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83681         $(elfobjdir)/ld.so.
83683 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
83685         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
83686         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
83687         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
83688         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
83689         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
83690         of __vdso_gettimeofday.
83691         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
83692         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
83693         attribute_hidden.
83694         (_libc_vdso_platform_setup): Remove initialization of
83695         __vdso_gettimeofday and __vdso_time.
83697 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83699         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
83700         and fgetc_unlocked.
83701         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
83702         getc_unlocked.
83704         * elf/dl-open.c (add_to_global): Report additions to the global scope
83705         for LD_DEBUG=scopes.
83706         (dl_open_worker): Also print scope of newly loaded dependencies.
83707         (_dl_show_scope): Indicate if there is no scope.
83709         [BZ #13114]
83710         * stdio-common/Makefile (tests): Add bug24.
83711         * stdio-common/bug24.c: New file.
83713 2011-08-19  Andreas Jaeger  <aj@suse.de>
83715         [BZ #13114]
83716         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
83717         non-existant file when using close-on-exec mode.
83719 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
83721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
83722         the very first instruction.
83724         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
83725         the CFI state in the end.
83726         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
83727         inclusion of dl-trampoline.h.
83728         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
83730 2011-08-19  Andreas Schwab  <schwab@redhat.com>
83732         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
83733         expectations for long double.
83735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
83736         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
83738 2011-08-14  David S. Miller  <davem@davemloft.net>
83740         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
83741         artificual limit depends upon the system page size.
83743 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83745         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
83746         * resolv/Makefile: Define CFLAGS-libresolv.
83748 2011-08-17  Andreas Schwab  <schwab@redhat.com>
83750         * nss/makedb.c (compute_tables): Make variables used in nested
83751         function static.
83753 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
83755         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
83756         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
83757         if buffer was too small.
83759         * elf/pldd.c (main): Attach to all threads in the process.
83760         Rewrite /proc handling to use *at functions.
83762 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
83764         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
83765         specifies first scope to show.
83766         (dl_open_worker): Update callers.  Move printing scope of new
83767         object to before the relocation.
83768         * elf/rtld.c (dl_main): Update _dl_show_scope call.
83769         * sysdeps/generic/ldsodefs.h: Update declaration.
83771         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
83772         string for the scope number.
83774 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
83776         * nscd/servicescache.c (cache_addserv): Make sure written is always
83777         initialized.
83779 2011-08-14  Roland McGrath  <roland@hack.frob.com>
83781         * sysdeps/i386/i486/bits/atomic.h
83782         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
83783         statement expression, so as to suppress "set but not used" warning.
83784         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
83786         * string/strncat.c (STRNCAT): Use prototype definition.
83788         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
83789         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
83790         -Iprograms here.
83791         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
83792         (localedef-modules): Add localedef.
83793         (locale-modules): Add locale.
83795         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
83796         * elf/rtld.c (dl_main): Invert order of assignment in last change,
83797         to avoid a warning.
83799 2011-08-14  David S. Miller  <davem@davemloft.net>
83801         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
83802         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
83804 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
83806         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
83807         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
83808         * elf/rtld.c (dl_main): Set l_name of vDSO.
83809         Call _dl_show_scope when DL_DEBUG_SCOPES.
83810         (process_dl_debug): Recognize scopes flag and also set it for all.
83811         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
83812         Declare _dl_show_scope.
83814         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
83815         (do_dlopen): Pass caller_dlopen to dl_open.
83816         (__libc_dlopen_mode): Initialize caller_dlopen.
83818         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
83819         of libc.  Make tolower call locale-independent.  Optimize a bit by
83820         using isdigit instead of isalnum.
83821         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
83823 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
83825         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
83826         was a dependency or dynamically loaded.
83828 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
83830         * intl/l10nflist.c: Allow architecture-specific pop function.
83831         * sysdeps/x86_64/l10nflist.c: New file.
83833         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
83834         classification.
83836 2011-08-10  Andreas Schwab  <schwab@redhat.com>
83838         * include/dirent.h: Add libc_hidden_proto for scandirat and
83839         scandirat64.  Don't declare __scandirat64.
83840         * dirent/scandirat.c: Add libc_hidden_def.
83841         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
83842         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
83844 2011-08-10  David S. Miller  <davem@davemloft.net>
83846         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
83847         enum.
83848         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83849         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83850         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83852 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
83854         * Versions.def [libc]: Add GLIBC_2.15.
83855         * dirent/Makefile (routines): Add scandirat and scandirat64.
83856         * dirent/Versions [libc]: Export scandirat and scandirat64 for
83857         GLIBC_2.15.
83858         * dirent/dirent.h: Declare scandirat and scandirat64.
83859         * dirent/scandirat.c: New file.
83860         * dirent/scandirat64.c: New file.
83861         * sysdeps/wordsize-64/scandirat.c: New file.
83862         * sysdeps/wordsize-64/scandirat64.c: New file.
83863         * dirent/opendir.c: Define opendirat.
83864         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
83865         using scandirat.
83866         * dirent/scandir64.c: Adjust for scandir.c change.
83867         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
83868         __scandirat64, and __scandir_cancel_handler.
83869         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
83870         additional parameter and use openat instead of open (outside of ld.so).
83871         Add new __opendir as wrapper around __opendirat.
83872         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
83873         here without requiring old scandirat implementation.
83875 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
83877         * dirent/scandir.c (cancel_handler): Renamed to
83878         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
83879         defined.  Adjust users.
83880         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
83881         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
83883 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
83885         * string/test-string.h (IMPL): Use __STRING to expand name and then
83886         stringify it.
83888         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
83889         of cleanups.
83891 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83893         * string/Makefile: Update.
83894         (strop-tests): Append strncat.
83895         * string/test-wcscmp.c: New file.
83896         New comprehensive test for wcscmp.
83897         * string/test-strcmp.c: Update.
83898         (WIDE): New define.
83900 2011-07-22  Andreas Schwab  <schwab@redhat.com>
83902         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
83903         line.
83905 2011-07-26  Andreas Schwab  <schwab@redhat.com>
83907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83908         encoding to ACE if AI_IDN.
83910 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
83912         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
83913         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
83915 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83917         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
83918         Fix overflow bug in strncat.
83919         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
83921         * string/test-strncat.c: Update.
83922         Add new tests for checking overflow bugs.
83924 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
83926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83927         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
83928         * sysdeps/i386/i686/multiarch/strcat.S: New file.
83929         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
83930         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
83931         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
83932         * sysdeps/i386/i686/multiarch/strncat.S: New file.
83933         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
83934         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
83936         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
83937         (USE_AS_STRCAT): Define.
83938         Add strcat and strncat support.
83939         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
83941 2011-07-25  Andreas Schwab  <schwab@redhat.com>
83943         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
83944         __n bigger than INT_MAX+1.
83945         (__strncmp_g): Likewise.
83947 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
83949         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
83950         * libio/stido.h: Likewise.
83952         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
83953         (AF_NFC): Define.
83954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
83955         (AF_NFC): Define.
83957         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
83958         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
83959         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
83960         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
83961         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
83963         [BZ #13021]
83964         * scripts/test-installation.pl: Don't expect libnss_test1 to be
83965         installed.
83967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
83968         typo.
83969         (_dl_x86_64_save_sse): Likewise.
83971 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
83973         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
83974         OSXSAVE.
83975         (_dl_x86_64_save_sse): Likewise.
83977         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
83979         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
83981 2011-07-21  Andreas Schwab  <schwab@redhat.com>
83983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
83984         change.
83985         (_dl_x86_64_save_sse): Use correct AVX check.
83987 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
83990         bug in strncpy/strncat.
83991         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
83993 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
83995         * string/tester.c (test_strcat): Add tests for different alignments
83996         of source and destination.
83997         (test_strncat): Likewise.
83999 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84001         [BZ #12852]
84002         * posix/glob.c (glob): Check passed in values before using them in
84003         expressions to avoid some overflows.
84004         (glob_in_dir): Likewise.
84006         [BZ #13007]
84007         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
84008         check for AVX enablement so that we don't crash with old kernels and
84009         new hardware.
84010         * elf/tst-audit4.c: Add same checks here.
84011         * elf/tst-audit6.c: Likewise.
84013         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
84015 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
84017         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
84019 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
84021         * po/cs.po: Update from translation team.
84022         * po/bg.po: Likewise.
84024 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
84026         * misc/sys/cdefs.h: Add support for const attribute.
84027         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
84028         to gnu_dev_{major,minor,makedev} functions.
84030 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
84032         * intl/dcigettext.c (get_output_charset): Add missing bracket.
84034 2011-07-20  Andreas Schwab  <schwab@redhat.com>
84036         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
84037         strlen results.
84039 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
84042         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
84043         register in order to avoid conflicts with the soft frame pointer
84044         being held in r11 when necessary.
84045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
84046         (INTERNAL_VSYSCALL_NCS): Likewise.
84048 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
84050         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
84051         * elf/dl-fini.c (_dl_fini): Adjust caller.
84052         * elf/dl-close.c (_dl_close_worker): Likewise.
84053         * sysdeps/generic/ldsodefs.h: Adjust declaration.
84055 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84057         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
84058         "aux_cache->nlibs < 0".
84060         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
84061         in the reload-count case.
84063 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84066         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
84067         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
84068         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
84069         * sysdeps/x86_64/multiarch/strcat.S: New file.
84070         * sysdeps/x86_64/multiarch/strncat.S: New file.
84071         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
84072         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
84073         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
84074         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
84075         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
84076         (USE_AS_STRCAT): Define.
84077         Add strcat and strncat support.
84078         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84079         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
84080         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
84081         * string/strncat.c: Update.
84082         (USE_AS_STRNCAT): Define.
84083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84084         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
84085         and i7.
84086         * sysdeps/x86_64/multiarch/init-arch.h
84087         (bit_Prefer_PMINUB_for_stringop): New.
84088         (index_Prefer_PMINUB_for_stringop): Likewise.
84089         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
84090         bit_Prefer_PMINUB_for_stringop.
84092 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84094         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
84095         buffer64.
84096         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
84097         of casting of buffer.
84098         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
84099         buffer32 and buffer64.
84100         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
84101         writes instead of casting of buffer.
84102         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
84103         buffer32.
84104         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
84105         casting of buffer.
84107 2011-07-19  Andreas Schwab  <schwab@redhat.com>
84109         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
84111 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
84113         * nscd/nscd.c (termination_handler): Don't do anything for a database
84114         if it has not yet been initialized.
84116 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84118         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84120 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
84122         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
84124 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
84126         * po/nl.po: Update from translation team.
84127         * po/sv.po: Likewise.
84129 2011-07-16  Roland McGrath  <roland@hack.frob.com>
84131         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
84132         now disallowed by GCC.
84134         * configure.in (use-default-link): Default to yes if a test -shared
84135         link meets our qualifications.
84136         * configure: Regenerated.
84138         * config.make.in (output-format): New variable.
84139         * configure.in: Check for ld --print-output-format support.
84140         * configure: Regenerated.
84141         * Makerules ($(common-objpfx)format.lds)
84142         [$(output-format) != unknown]: Just use $(output-format),
84143         instead of the linker-script munging.
84145 2011-07-14  Roland McGrath  <roland@hack.frob.com>
84147         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
84148         of $(common-objpfx)shlib.lds.
84149         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
84151         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
84152         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
84154         * configure.in (-z relro check): Adjust test code to add a large
84155         writable data section after it.
84156         * configure: Regenerated.
84158 2011-07-11  Roland McGrath  <roland@hack.frob.com>
84160         * configure.in (-z relro check): Fix test code to make the variable
84161         truly const.
84162         * configure: Regenerated.
84164 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
84166         * nscd/nscd.h (struct traced_file): Define.
84167         (struct database_dyn): Remove inotify_descr, reset_res, and filename
84168         elements.  Add traced_files.
84169         (inotify_fd): Declare.
84170         (register_traced_file): Declare.
84171         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
84172         (inotify_fd): Export.
84173         (resolv_conf_descr): Remove.
84174         (nscd_init): Move inotify descriptor creation to main.
84175         Don't register files for notification here.
84176         (register_traced_file): New function.
84177         (invalidate_cache): Don't use reset_res to determine whether to call
84178         res_init, go through the list of registered files.
84179         (main_loop_poll): The inotify descriptors are now stored in the
84180         structures for the traced files.
84181         (main_loop_epoll): Likewise.
84182         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
84183         to __nss_disable_nscd.
84184         * nscd/cache.c (prune_cache): There is no single inotify descriptor
84185         for a database anymore.  Check the records for all the registered
84186         files instead.
84187         * nss/Makefile (libnss_files-routines): Add files-init.
84188         (libnss_db-routines): Add db-init.
84189         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
84190         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
84191         * nss/nss_db/db-init.c: New file.
84192         * nss/nss_files/files-init.c: New file.
84193         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
84194         __nss_lookup_function.
84195         (__nss_lookup_function): Call nss_load_library.
84196         (nss_load_all_libraries): New function.
84197         (__nss_disable_nscd): Take parameter with callback function for files
84198         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
84199         used for the cached services.
84200         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
84201         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
84202         options for features to all the files in nscd.
84204         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
84206 2011-07-10  Roland McGrath  <roland@hack.frob.com>
84208         * csu/elf-init.c (__libc_csu_init): Comment typo.
84210 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
84212         * po/pl.po: Update from translation team.
84213         * po/ja.po: Likewise.
84214         * po/ru.po: Likewise.
84215         * po/ko.po: Likewise.
84216         * po/fr.po: Likewise.
84218 2011-07-09  Roland McGrath  <roland@hack.frob.com>
84220         * configure.in (.ctors/.dtors header and trailer check):
84221         Use an empirical test on a built program.
84222         * configure: Regenerated.
84224         * configure.in (-z relro check): Use an empirical test on a built DSO.
84225         Detect, but do not require, on ia64.
84226         * configure: Regenerated.
84228         * configure.in (READELF): Find it with AC_CHECK_TOOL.
84229         Update tests that use readelf to use $READELF instead.
84230         * configure: Regenerated.
84232 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
84234         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
84235         if the result is not used.
84237 2011-07-05  Andreas Jaeger  <aj@suse.de>
84239         [BZ#9696]
84240         * stdlib/tst-strtod.c: Add testcase.
84242 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
84244         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
84245         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
84246         The latter has a higher limit.  Take additional parameter to pass to
84247         the new function.
84248         (__pathconf): Pass file to __statfs_link_max.
84249         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
84250         __statfs_link_max.
84251         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
84252         __statfs_link_max.
84254         [BZ #12868]
84255         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
84256         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84257         Handle Lustre.
84258         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
84259         (__statfs_filesize_max): Likewise.
84260         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
84262 2011-07-05  Andreas Jaeger  <aj@suse.de>
84264         * resolv/res_comp.c (dn_skipname): Remove unused variable.
84266 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
84268         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
84269         `status' variable.
84270         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
84271         Likewise.
84273 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
84275         * Makefile (strop-tests): Add strncat.
84276         * string/test-strncat.c: New file.
84278 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
84280         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
84282 2011-06-21  Andreas Jaeger  <aj@suse.de>
84284         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
84285         Copy rule from iconvdata/Makefile.
84287 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84289         [BZ #12922]
84290         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
84291         but no long options are defined, just return 'W'.
84293 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
84295         [BZ #9696]
84296         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
84298 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
84300         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
84301         netgroups to read.
84302         (innetgr): Likewise.
84304 2011-07-05  Roland McGrath  <roland@hack.frob.com>
84306         * config.make.in (install_root): Default to $(DESTDIR).
84308 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
84310         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
84312 2011-07-02  Roland McGrath  <roland@hack.frob.com>
84314         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
84316         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
84317         containing directory rather than embedding absolute directory names.
84319         * scripts/check-local-headers.sh: Rewritten using awk.
84320         Match by word, not by line.  Print error messages for matches.
84321         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
84323         * Makerules [shlib-lds-flags empty]:
84324         ($(common-objpfx)libc_pic.opts): New target.
84325         ($(common-objpfx)libc_pic.os.clean): New target.
84326         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
84328         * config.make.in (OBJCOPY): New variable.
84329         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
84330         * configure: Regenerated.
84332         * config.make.in (use-default-link): New variable.
84333         * configure.in (use_default_link): Grok --with-default-link to set it.
84334         * configure: Regenerated.
84335         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
84336         (shlib-lds, shlib-lds-flags): Define to empty.
84338         * Makerules (shlib-lds): New variable.
84339         (shlib-lds-flags): New variable.
84340         (build-shlib, build-moduile, build-module-asneeded): Use it.
84341         ($(common-objpfx)libc.so): Use $(shlib-lds).
84342         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
84343         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
84345         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
84346         DT_FLAGS/DT_FLAGS_1 with zero flags.
84348         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
84349         linker script munging.
84351 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
84353         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
84354         as 128-bit value.
84355         * crypt/sha512.c (sha512_process_block): Perform total addition using
84356         128-bit if possible.
84357         (__sha512_finish_ctx): Likewise.
84358         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
84359         as 64-bit value.
84360         * crypt/sha256.c (SWAP64): Define.
84361         (sha256_process_block): Perform total addition using 64-bit if
84362         possible.
84363         (__sha256_finish_ctx): Likewise.
84365 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
84367         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
84368         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84369         * nscd/hstcache.c (cache_addhst): Likewise.
84370         * nscd/grpcache.c (cache_addgr): Likewise.
84371         * nscd/aicache.c (addhstaiX): Likewise.
84372         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
84374 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
84376         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
84377         * nscd/initgrcache.c (addinitgroupsX): Likewise.
84378         * nscd/hstcache.c (cache_addhst): Likewise.
84379         * nscd/grpcache.c (cache_addgr): Likewise.
84380         * nscd/aicache.c (addhstaiX): Likewise.
84382 2011-07-01  Andreas Schwab  <schwab@redhat.com>
84384         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
84385         domain only when needed.
84387 2011-06-30  Andreas Schwab  <schwab@redhat.com>
84389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
84390         is always restored.
84392 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
84394         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
84395         are re-adding the entry.
84396         * nscd/servicescache.c (cache_addserv): Likewise.
84398 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
84400         * sysdeps/generic/dl-irel.h: fix protection against multiple
84401         inclusions.
84402         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
84404 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
84406         [BZ #12935]
84407         * malloc/memusage.sh: Fix quoting in message.
84408         * debug/xtrace.sh: Likewise.
84410         * configure.in: Remove support for --experimental-malloc option, make
84411         it the default.
84412         * config.make.in: Likewise.
84413         * malloc/Makefile: Likewise.
84415 2011-06-27  Andreas Schwab  <schwab@redhat.com>
84417         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
84418         two-byte characters.
84420 2011-06-27  Roland McGrath  <roland@hack.frob.com>
84422         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
84423         AC_CACHE_CHECK invocation.
84424         * configure: Regenerated.
84426         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
84428 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
84430         [BZ #12350]
84431         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
84432         bit from old_res_options.
84434         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
84436         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
84437         value type for setfct.
84439 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
84441         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84442         __gettimeofday instead of gettimeofday.
84444 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
84446         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
84448 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
84450         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
84452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
84453         info.
84455 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84458         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84459         strcpy-sse2-unaligned strncpy-sse2-unaligned
84460         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
84461         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
84462         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
84463         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
84464         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
84465         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
84466         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
84467         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
84468         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
84469         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
84470         (STRCPY): Support SSE2 and SSSE3 versions.
84472 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
84474         [BZ #12874]
84475         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
84476         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
84477         kernels which artificially limit size of requests.
84479 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
84481         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84482         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
84483         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
84484         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
84485         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
84486         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
84487         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
84488         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
84489         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
84490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
84491         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
84492         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
84493         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
84494         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
84495         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
84496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84497         Enable unaligned load optimization for Intel Core i3, i5 and i7
84498         processors.
84499         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
84500         Define.
84501         (index_Fast_Unaligned_Load): Define.
84502         (HAS_FAST_UNALIGNED_LOAD): Define.
84504 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
84506         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
84508 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84510         [BZ #12907]
84511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
84512         until it is clear that the information is realy needed.
84513         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
84515 2011-06-22  Andreas Schwab  <schwab@redhat.com>
84517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
84519 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
84521         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
84522         /sys/devices/system/cpu/online if it is usable.
84524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
84525         reading the information from the /proc filesystem to once a second.
84527 2011-06-21  Andreas Jaeger  <aj@suse.de>
84529         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
84530         NULL after inclusion of kernel headers.
84532 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
84534         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
84535         calls to internal_setent.
84537         [BZ #12885]
84538         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
84539         addresses using gethostbyname4_r ignore IPv4 addresses.
84541         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
84542         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
84544         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
84546 2011-06-20  David S. Miller  <davem@davemloft.net>
84548         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
84549         inclusions.
84550         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
84552         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
84553         (elf_irel): Use it.
84554         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
84555         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
84556         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
84557         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
84558         * sysdeps/x86_64/dl-irel.h: Likewise.
84560         * elf/dl-runtime.c: Use elf_ifunc_invoke.
84561         * elf/dl-sym.c: Likewise.
84563 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84565         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
84566         need to dereference resplen2.
84568 2011-06-14  Andreas Schwab  <schwab@redhat.com>
84570         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
84572 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
84574         * Makeconfig: Define vardbdir and inst_vardbdir.
84575         * nss/Makefile: Add rules to install db-Makefile.
84577         * nss/nss_db/db-XXX.c: Cleanup.
84579         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
84580         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
84581         GLIBC_PRIVATE.
84582         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
84583         * nss/makedb.c: Implement -g option to specify that value strings
84584         are generated and should not be added to table iterated over for
84585         get*ent calls.
84586         * nss/nss_db/db-initgroups.c: New file.
84588         * nss/getent.c: Add support for initgroups lookups through getgrouplist
84589         interface.
84591         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
84592         (internal_getgrouplist): Adjust to name change.
84593         Update use_initgroups_entry if this is not the first call.
84594         * nss/databases.def: Add initgroups entry.
84596         * nss/makedb.c (compute_tables): Check result of multiple hash table
84597         sizes to minimize maximum chain length.
84599 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
84601         * Versions.def: Add entry for libnss_db.
84602         * shlib-versions: Likewise.
84603         * nss/Makefile: Add rules to build libnss_db.
84604         * nss/Versions: Add libnss_db information.  Organize libnss_files
84605         entries better.
84606         * nss/db-Makefile: Add gshadow support.  Change rules for the new
84607         makedb progra.  Some minor improvements to generate smaller files.
84608         * nss/nss_db/nss_db.h: Move NSS database header data structures to
84609         here from...
84610         * nss/makedb.c: ...here.
84611         Improve database format to be smaller and require less memory at
84612         runtime.
84613         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
84614         db anymore.
84615         * nss/nss_db/db-netgrp.c: Likewise.
84616         * nss/nss_db/db-open.c: Likewise.
84617         * nss/nss_files/flies-XXX.x: Adjust comments.
84618         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
84619         * nss/nss_files/files-grp.c: Likewise.
84620         * nss/nss_files/files-hosts.c: Likewise.
84621         * nss/nss_files/files-network.c: Likewise.
84622         * nss/nss_files/files-proto.c: Likewise.
84623         * nss/nss_files/files-pwd.c: Likewise.
84624         * nss/nss_files/files-rpc.c: Likewise.
84625         * nss/nss_files/files-service.c: Likewise.
84626         * nss/nss_files/files-sgrp.c: Likewise.
84627         * nss/nss_files/files-spwd.c: Likewise.
84628         * nss/nss_db/db-alias.c: Removed.
84629         * nss/nss_db/dummy-db.h: Removed.
84631 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
84633         * nss/makedb.c: Rewritten to not use database library.
84634         * nss/Makefile: Update to build new makedb program.
84636 2011-06-14  Andreas Jaeger  <aj@suse.de>
84638         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
84639         memset declaration.
84641 2011-06-10  Andreas Schwab  <schwab@redhat.com>
84643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
84644         tmpbuf.
84646 2011-06-10  Roland McGrath  <roland@hack.frob.com>
84648         * Makerules (shlib.lds): Fail if the linker script comes out empty.
84649         * elf/Makefile ($(objpfx)ld.so): Likewise.
84651         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
84652         Don't list ld.so twice in dependencies.
84654         * posix/bug-regex31.c: Include <stdlib.h>.
84656         * nscd/hstcache.c (cache_addhst): Remove unused variable.
84658         * nis/nss_compat/compat-spwd.c
84659         (getspent_next_nss_netgr): Remove unused variable.
84660         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
84662         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
84663         nonmembers" output to use the right array.
84665         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
84667         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
84669         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
84670         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
84671         * catgets/gencat.c (read_input_file): Likewise.
84672         * locale/programs/locarchive.c (enlarge_archive): Likewise.
84674         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
84675         variable definition inside #if's controlling its use.
84677         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
84679         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
84681         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
84683         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
84684         unreachable code.
84686         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
84688         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
84689         * configure: Regenerated.
84691         * Makerules: Revert last change.
84692         * elf/Makefile: Likewise.
84694 2011-06-09  Roland McGrath  <roland@hack.frob.com>
84696         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
84697         * elf/Makefile ($(objpfx)librtld.os): Likewise.
84698         (reloc-link): Likewise.
84700 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
84702         * elf/Makefile: Add rules to build pldd.
84703         * elf/pldd.c: New file.
84704         * elf/pldd-xx.c: New file.
84706 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
84708         * version.h: Update for 2.15 development version.
84710 2011-06-07  David S. Miller  <davem@davemloft.net>
84712         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
84713         ifuncs.
84714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
84715         elf_machine_lazy_rel): Likewise.
84716         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
84717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
84718         elf_machine_lazy_rel): Likewise.
84719         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
84720         dl_hwcap via passed in argument.
84721         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
84722         Likewise.
84724 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84726         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
84728 2011-06-06  Roland McGrath  <roland@hack.frob.com>
84730         [BZ #12849]
84731         * manual/fdl-1.1.texi: New file, verbatim from:
84732         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
84733         * manual/lgpl-2.1.texi: New file, verbatim from:
84734         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
84735         * manual/Makefile (licenses): New variable, list those new file names.
84736         (texis): Use it.
84737         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
84739         * manual/fdl.texi: File removed.
84740         * manual/lesser.texi: File removed.
84741         * manual/libc.texinfo (Copying, Documentation License):
84742         Use new @include file names, put @appendix directive before @include.
84744 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
84746         [BZ #12841]
84747         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
84748         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
84749         (mq_open): Add __NTH.
84751 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
84753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84754         Assume Intel Core i3/i5/i7 processor if AVX is available.
84756 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84758         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84759         typo.
84761 2011-05-31  Andreas Schwab  <schwab@redhat.com>
84763         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
84764         memory.  Use alloca_account.  Fix memory leak when retrying.
84766 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
84768         * version.h (RELEASE): Bump for 2.14 release.
84769         * include/features.h (__GLIBC_MINOR__): Bump to 14.
84771         * config.make.in (RANLIB): Remove entry.
84773 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
84775         * po/Makefile (po-sed-cmd): Add ksh to extensions.
84776         (libc.pot): Work around missing support for .ksh extension in xgettext.
84778         [BZ #12684]
84779         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
84780         if both request failed.
84781         (send_dg): In case of server errors clear resplen or *resplen2.
84783         [BZ #12454]
84784         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
84785         when there are multiple maps.
84786         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
84787         (_dl_fini): Remove test here.
84789         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
84791 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
84793         [BZ #12350]
84794         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
84795         bit from old_res_options.
84796         (gaih_inet): Likewise.
84798         [BZ #11099]
84799         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
84800         as signed.
84802         * resolv/res_init.c (res_setoptions): Make the code more compact.
84804         [BZ #11558]
84805         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
84806         set RES_USEVC.
84808         [BZ #11634]
84809         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
84811         * malloc/malloc.h: Mark malloc hook variables as deprecated.
84813         [BZ #11781]
84814         * malloc/malloc.h: Declare malloc hook variables as volatile.
84816         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
84817         in last patch.
84819         [BZ #11799]
84820         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
84821         raise in the comment.
84822         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84823         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84824         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
84826 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
84828         [BZ #12811]
84829         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
84830         grow the buffers more if it already has to be sufficient.
84831         (build_wcs_upper_buffer): Likewise.
84832         * posix/regexec.c (check_matching): Likewise.
84833         (clean_state_log_if_needed): Likewise.
84834         (extend_buffers): Don't enlarge buffers beyond size of the input
84835         buffer.
84836         Patches mostly by Emil Wojak <emil@wojak.eu>.
84837         * posix/bug-regex32.c: New file.
84838         * posix/Makefile (tests): Add bug-regex32.
84840         * locale/findlocale.c (_nl_find_locale): Return right away if
84841         _nl_explode_name failed.
84842         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
84844         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
84846         * debug/xtrace.sh: Unify messages.
84847         * malloc/memusage.sh: Likewise.
84849         [BZ #12813]
84850         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
84851         time symbol from vDSO.  Substitute with vsyscall if not available.
84852         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
84853         __vdso_time.
84855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
84856         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
84857         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
84858         Add sendmmsg and internal_sendmmsg.
84859         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
84860         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
84861         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
84863         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
84864         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
84865         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
84867 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
84869         [BZ #12813]
84870         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
84871         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
84872         available.
84873         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
84874         __vdso_getcpu.
84876         [BZ #12814]
84877         * iconvdata/Makefile (tests): Add bug-iconv9.
84878         * iconvdata/bug-iconv9.c: New file.
84880 2011-05-27  Andreas Schwab  <schwab@redhat.com>
84882         [BZ #12814]
84883         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
84885 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
84887         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
84888         (struct user_regs_struct): Change intcs field back to cs.
84890 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
84892         * po/ja.po: Update from translation team.
84894 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
84896         [BZ #12795]
84897         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
84898         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
84900 2011-05-20  Andreas Schwab  <schwab@redhat.com>
84902         * stdlib/longlong.h: Update from GCC.
84904 2011-05-23  Andreas Schwab  <schwab@redhat.com>
84906         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
84907         parameter name.
84908         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
84909         Add parameter name.
84910         (__sysconf): Pass it down.
84912 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
84914         [BZ #12671]
84915         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
84916         some situations.
84917         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
84918         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
84919         add in in __libc_use_alloca calls.  Adjust callers.
84920         (glob): Use malloc in some situations.
84922         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
84923         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
84924         pltexit.
84926 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
84928         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
84929         and CLOCK_BOOTTIME_ALARM.
84931         [BZ #12782]
84932         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
84933         is returned.
84935         * string/_strerror.c (__strerror_r): Print negative errors as signed
84936         numbers.
84938         [BZ #12777]
84939         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
84940         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
84941         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
84943         * configure.in: Fix typo in redirection and correct removal of test
84944         files in two cases.
84946         [BZ #12788]
84947         * locale/setlocale.c (new_composite_name): Fix test to check for
84948         identical name of all categories.
84950         [BZ #12792]
84951         * libio/filedoalloc.c (local_isatty): New function.
84952         (_IO_file_doallocate): Use local_isatty.
84953         * stdio-common/perror.c (perror): In case a new stream is used
84954         forward the stream error.
84955         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
84956         error flag.
84958 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
84960         [BZ #11884]
84961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
84962         alloca.
84963         * include/alloca.h (extend_alloca_account): Define.
84965         [BZ #11857]
84966         * posix/regex.h: Fix comments with documentation of user-accessible
84967         fields after compilation and describe correct free'ing of pattern
84968         after re_compile_pattern.
84969         Patch by Reuben Thomas <rrt@sc3d.org>.
84971 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
84973         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
84974         and -mno-altivec to prevent the compiler from using Altivec and/or
84975         VSX instructions when the corresponding registers are not available.
84977 2011-05-19  Andreas Schwab  <schwab@redhat.com>
84979         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
84981 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
84983         * libio/freopen.c (freopen): Use __dup2, not dup2.
84984         * libio/freopen64.c (freopen64): Likewise.
84986 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
84988         [BZ #12775]
84989         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
84990         * math/Makefile (tests): Add test-powl.
84991         (CFLAGS-test-powl.c): Define.
84992         * math/test-powl.c: New file.
84994 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
84996         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
84998 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
85000         [BZ #11837]
85001         * iconvdata/gb18030.c: Update to GB18020-2005.
85003 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
85005         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
85006         RE_SYNTAX_POSIX_AWK): Update to match recent development.
85007         Patch by Aharon Robbins <arnold@skeeve.com>.
85009         [BZ #11892]
85010         * stdlib/putenv.c (putenv): Don't always create copy of the variable
85011         on the stack.
85013         [BZ #11895]
85014         * misc/pselect.c (__pselect): Handle timeout value errors hidden
85015         through underflows.
85017         [BZ #12766]
85018         * misc/error.c (error_at_line): Ensure file_name and old_file_name
85019         point to strings before performing equality test for error_one_per_line
85020         mode.
85022         [BZ #11697]
85023         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
85025         [BZ #11820]
85026         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85027         (struct user_fpregs_struct): Avoid __uint*_t types.
85029         [BZ #6420]
85030         * malloc/mtrace.c (tr_where): Add additional parameter to point to
85031         symbol info.  Use it instead of calling _dl_addr locally.
85032         (lock_and_info): New function.
85033         (tr_freehook): Call lock_and_info and pass symbol info as additional
85034         parameter to tr_where.
85035         (tr_mallochook): Likewise.
85036         (tr_reallochook): Likewise.
85037         (tr_memalignhook): Likewise.
85039         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
85040         used and couldn't be at all thread-safe.
85042 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
85044         * libio/freopen.c (freopen): Don't close old file descriptor
85045         before the new one is opened.  Instead dup the new file descriptor
85046         to the old one after the new stream is created.
85047         * libio/freopen64.c (freopen64): Likewise.
85048         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
85049         * libio/fileops.c (_IO_new_file_close_it): Handle new
85050         _IO_FLAGS2_NOCLOSE flag.
85051         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
85052         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
85053         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
85054         _IO_FLAGS2_NOCLOSE flag.
85055         * include/unistd.h: Add hidden_proto for dup3.
85056         Define __have_dup3.
85057         * io/dup3.c: Define hidden symbol.
85058         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
85060         [BZ #7101]
85061         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
85062         when an incomplete long option is used.
85063         * posix/tst-getopt_long1.c: New file.
85064         * posix/Makefile (tests): Add tst-getopt_long1.
85066         [BZ #10138]
85067         * scripts/config.guess: Update from autoconf-2.68.
85068         * scripts/config.sub: Likewise.
85070         [BZ #10157]
85071         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
85072         tests into ...
85073         (has_cpuclock): ...this.  New function.
85074         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
85075         macro here based on has_cpuclock code.
85077         [BZ #10149]
85078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85079         First byte (not low byte) is now always NUL.
85080         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
85082         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85083         Use non-cancelable interfaces.
85085         [BZ #9809]
85086         * locale/iso-639.def: Add entry for Sorani.
85088         [BZ #11901]
85089         * include/stdlib.h: Move include protection to the right place.
85090         Define abort_msg_s.  Declare __abort_msg with it.
85091         * stdlib/abort.c (__abort_msg): Adjust type.
85092         * assert/assert.c (__assert_fail_base): New function.  Majority
85093         of code from __assert_fail.  Allocate memory for __abort_msg with
85094         mmap.
85095         (__assert_fail): Now call __assert_fail_base.
85096         * assert/assert-perr.c: Remove bulk of implementation.  Use
85097         __assert_fail_base.
85098         * include/assert.hL Declare __assert_fail_base.
85099         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
85100         mmap.
85101         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
85103 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
85105         [BZ #11952]
85106         [BZ #12453]
85107         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
85108         until all modules are registered in the DTV.
85109         * elf/Makefile: Add rules to build and run tst-tls19.
85110         * elf/tst-tls19.c: New file.
85111         * elf/tst-tls19mod1.c: New file.
85112         * elf/tst-tls19mod2.c: New file.
85113         * elf/tst-tls19mod3.c: New file.
85114         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
85116         [BZ #12083]
85117         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
85118         correctly.
85120         [BZ #12601]
85121         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
85122         two-byte sequence errors.
85123         * iconvdata/Makefile (tests): Add bug-iconv8.
85124         * iconvdata/bug-iconv8.c: New file.
85126         [BZ #12626]
85127         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
85128         buf2 definition.
85130         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
85132         [BZ #12432]
85133         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
85134         (dummy_getcfa): New function.
85135         (init): Get _Unwind_GetCFA address, use dummy if not found.
85136         (backtrace_helper): In recursion check, also check whether CFA changes.
85137         (__backtrace): Completely initialize arg.
85139         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
85140         storing incomplete byte sequence in state object.  Avoid testing for
85141         guaranteed too small input if we know there is enough data available.
85143 2011-05-11  Andreas Schwab  <schwab@redhat.com>
85145         * Makeconfig (+link-pie): Indent.
85146         * Rules (binaries-pie): Define if $(have-fpie) and
85147         $(build-shared).
85148         (binaries-shared): Also filter out $(binaries-pie).
85149         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
85150         * nscd/Makefile (others-pie): Add nscd.
85151         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
85152         ($(objpfx)nscd): Remove command override.
85153         * login/Makefile (others-pie): Add pt_chown.
85154         ($(objpfx)pt_chown): Remove command override.
85155         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
85156         remove command overrides.
85158 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
85160         * libio/tst_putwc.c: Fix error messages.
85162         [BZ #12724]
85163         * libio/fileops.c (_IO_new_file_close_it): Always flush when
85164         currently writing and seek to current position when not.
85165         * libio/Makefile (tests): Add bug-fclose1.
85166         * libio/bug-fclose1.c: New file.
85168 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
85170         [BZ #12511]
85171         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
85172         don't set DF_1_NODELETE here.
85173         (do_lookup_x): When entering new entry test for copy relocation
85174         and if necessary set DF_1_NODELETE flag.
85175         * elf/tst-unique4.cc: New file.
85176         * elf/tst-unique4.h: New file.
85177         * elf/tst-unique4lib.cc: New file.
85178         * elf/Makefile: Add rules to build and run tst-unique4.
85179         Patch by Piotr Bury <pbury@goahead.com>.
85181 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
85183         [BZ #12052]
85184         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
85186         [BZ #12625]
85187         * misc/mntent_r.c (addmntent): Flush the stream after the output
85189         [BZ #12393]
85190         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
85191         (is_trusted_path_normalize): Skip initial colon.  Append slash
85192         to empty buffer.  Duplicate is_trusted_path code but allow
85193         constructed patch to be prefix.
85194         (is_dst): Allow $ORIGIN followed by /.
85195         (_dl_dst_substitute): Correct clearing of check_for_trusted.
85196         Correct testing of result of is_trusted_path_normalize
85197         (decompose_rpath): Fix warning.
85199 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
85201         [BZ #11257]
85202         * grp/initgroups.c (internal_getgrouplist): When we found the service
85203         list through the initgroups entry in nsswitch.conf do not always
85204         continue on a successful lookup.  Don't always use the
85205         __nss_group_database value if it is set.
85206         * nss/nsswitch.conf (initgroups): Change action for successful db
85207         lookup to continue for compatibility.
85209 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
85211         [BZ #11532]
85212         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
85213         and CP774 modules.
85214         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
85215         and CP774 modules.
85216         * iconvdata/tst-tables.sh: Likewise.
85217         * iconvdata/cp770.c: New file.
85218         * iconvdata/cp771.c: New file.
85219         * iconvdata/cp772.c: New file.
85220         * iconvdata/cp773.c: New file.
85221         * iconvdata/cp774.c: New file.
85222         * iconvdata/testdata/CP770: New file.
85223         * iconvdata/testdata/CP770..UTF8: New file.
85224         * iconvdata/testdata/CP771: New file.
85225         * iconvdata/testdata/CP771..UTF8: New file.
85226         * iconvdata/testdata/CP772: New file.
85227         * iconvdata/testdata/CP772..UTF8: New file.
85228         * iconvdata/testdata/CP773: New file.
85229         * iconvdata/testdata/CP773..UTF8: New file.
85230         * iconvdata/testdata/CP774: New file.
85231         * iconvdata/testdata/CP774..UTF8: New file.
85233         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
85234         END CHARMAP line.
85235         * iconvdata/gen-8bit-gap.sh: Likewise.
85236         * iconvdata/gen-8bit.sh: Likewise.
85238         * locale/iso-639.def: Add ary entry.
85240         [BZ #11258]
85241         * locale/C-translit.h.in: Add U20A1 transliteration.
85243         [BZ #12178]
85244         * locale/iso-639.def: Add wae entry.
85245         Patch by Kevin Bortis <bortis@translate-wae.ch>.
85247         [BZ #12545]
85248         * locale/programs/localedef.c (construct_output_path): Use ssize_t
85249         for n.
85251         [BZ #12711]
85252         * locale/C-translit.h.in: Add entry for U20B9.
85253         Patch by pravin.d.s@gmail.com.
85255 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
85257         [BZ #12713]
85258         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
85259         ENAMETOOLONG use generic getcwd.
85260         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
85261         in rtld.  Use *stat64.
85262         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
85263         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
85264         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
85265         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
85266         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
85267         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
85268         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
85269         __fstatat64 macros.
85270         * include/dirent.h: Add libc_hidden_proto for rewinddir.
85271         * dirent/rewinddir.c: Add libc_hidden_def.
85272         * sysdeps/mach/hurd/rewinddir.c: Likewise.
85273         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
85275         * include/dirent.h (__alloc_dir): Add flags parameter.
85276         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
85277         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
85278         __alloc_dir.
85279         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
85280         from fdopendir if O_CLOEXEC is already set.
85282 2011-03-15  Alan Modra  <amodra@gmail.com>
85284         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
85285         l_tls_firstbyte_offset non-zero.  Save padding offset in
85286         l_tls_firstbyte_offset for later use.
85287         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
85288         freeing static tls block.
85290 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
85292         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
85293         where #ifdef was intended.  The intent is to prevent ARG_MAX from
85294         being defined by the kernel headers.
85296 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
85298         [BZ #12734]
85299         * resolv/resolv.h: Define RES_NOTLDQUERY.
85300         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
85301         no-tld-query and set RES_NOTLDQUERY.
85302         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
85303         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
85304         modern BIND to search name as TLD unless forbidden.
85306 2011-05-07  Petr Baudis  <pasky@suse.cz>
85307             Ulrich Drepper  <drepper@gmail.com>
85309         [BZ #12393]
85310         * elf/dl-load.c (fillin_rpath): Move trusted path check...
85311         (is_trusted_path): ...to here.
85312         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
85313         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
85314         using is_trusted_path_normalize() in setuid scripts.
85316 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85318         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
85319         __BEGIN/__END_DECLS.
85321 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
85323         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
85324         NSS_STATUS_NOTFOUND if no record was found.
85326 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85328         * sunrpc/Makefile (headers): Add rpc/netdb.h.
85329         (headers-not-in-tirpc): Remove rpc/netdb.h
85330         * resolv/netdb.h: Revert last change.
85332 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85334         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
85335         circular dependency between libgcc.a and libc.a.
85337 2011-05-05  Andreas Schwab  <schwab@redhat.com>
85339         * resolv/netdb.h: Don't include <rpc/netdb.h>.
85340         * nis/Makefile: Don't install rpcsvc/*.
85341         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
85342         instead of <rpc/types.h>.
85343         (MAXHOSTNAMELEN): Define.
85345 2011-05-03  Andreas Schwab  <schwab@redhat.com>
85347         * elf/ldconfig.c (add_dir): Don't crash on empty path.
85349 2011-04-28  Maciej Babinski  <mbabinski@google.com>
85351         [BZ #12714]
85352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
85353         gethostbyname4_r when IPv6 results are possible.
85355 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
85357         [BZ #12723]
85358         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
85359         _PC_PIPE_BUF handling.
85361 2011-04-30  Bruno Haible  <bruno@clisp.org>
85363         [BZ #12717]
85364         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
85365         * resolv/netdb.h (getnameinfo): Change type of flags parameter
85366         to 'int'.
85367         * inet/getnameinfo.c (getnameinfo): Likewise.
85369 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
85371         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
85372         to groups setting in database lookup.
85373         * nss/nsswitch.conf: Add initgroups entry.
85375 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
85377         [BZ #12685]
85378         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
85379         mode string.
85380         Patch by Eric Blake <eblake@redhat.com>.
85382 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
85384         * sunrpc/Makefile (need-export-routines): Add svc_run.
85385         (routines): Remove svc_run.
85386         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
85387         * sunrpc/clnt_perr.c (clnt_perrno): Export.
85388         * sunrpc/svc_run.c (svc_run): Likewise.
85389         * sunrpc/svc_udp.c (svcudp_create): Likewise.
85391 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
85393         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
85394         problem in reallocation in last patch.
85396 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
85398         * sunrpc/Makefile: Move inclusion of Rules.
85400 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85402         * nss/nss_files/files-initgroups.c: New file.
85403         * nss/Makefile (libnss_files-routines): Add files-initgroups.
85404         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
85405         _nss_files_initgroups_dyn.
85407 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
85409         * elf/elf.h (R_ARM_IRELATIVE): Define.
85411 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
85413         * po/ru.po: Update from translation team.
85415 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85417         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
85418         dependencies.
85420 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
85422         [BZ #12653]
85423         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
85424         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
85425         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85426         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
85427         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
85429 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
85431         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
85432         differing bytes.
85433         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
85434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
85435         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85437 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
85439         [BZ #12420]
85440         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
85441         storing it.
85442         * stdlib/bug-getcontext.c: New file.
85443         * stdlib/Makefile: Add rules to build and run bug-getcontext.
85445 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85447         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
85448         instructions into .machine "z9-109".
85449         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
85450         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
85452 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85454         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
85455         between environment variables and auxiliary vector.
85457 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
85459         * Makefile: Add rules to build linkobj/libc.so.
85460         * include/libc-symbols.h: Define libc_hidden_nolink.
85461         * include/rpc/auth.h: Mark functions which are to be hidden.
85462         * include/rpc/auth_des.h: Likewise.
85463         * include/rpc/auth_unix.h: Likewise.
85464         * include/rpc/clnt.h: Likewise.
85465         * include/rpc/des_crypt.h: Likewise.
85466         * include/rpc/key_prot.h: Likewise.
85467         * include/rpc/pmap_clnt.h: Likewise.
85468         * include/rpc/pmap_prot.h: Likewise.
85469         * include/rpc/pmap_rmt.h: Likewise.
85470         * include/rpc/rpc_msg.h: Likewise.
85471         * include/rpc/svc.h: Likewise.
85472         * include/rpc/svc_auth.h: Likewise.
85473         * include/rpc/xdr.h: Likewise.
85474         * nis/Makefile: Link all DSOs against linkobj/libc.so.
85475         * nss/Makefile: Likewise.
85476         * sunrpc/Makefile: Don't install headers.  Build library with normal
85477         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
85478         * sunrpc/auth_des.c: Hide exported symbols by default, export some
85479         for the compat linking library.  Remove use of INTDEF/INTUSE.
85480         * sunrpc/auth_none.c: Likewise.
85481         * sunrpc/auth_unix.c: Likewise.
85482         * sunrpc/authdes_prot.c: Likewise.
85483         * sunrpc/authuxprot.c: Likewise.
85484         * sunrpc/clnt_gen.c: Likewise.
85485         * sunrpc/clnt_perr.c: Likewise.
85486         * sunrpc/clnt_raw.c: Likewise.
85487         * sunrpc/clnt_simp.c: Likewise.
85488         * sunrpc/clnt_tcp.c: Likewise.
85489         * sunrpc/clnt_udp.c: Likewise.
85490         * sunrpc/clnt_unix.c: Likewise.
85491         * sunrpc/des_crypt.c: Likewise.
85492         * sunrpc/des_soft.c: Likewise.
85493         * sunrpc/get_myaddr.c: Likewise.
85494         * sunrpc/key_call.c: Likewise.
85495         * sunrpc/key_prot.c: Likewise.
85496         * sunrpc/netname.c: Likewise.
85497         * sunrpc/pm_getmaps.c: Likewise.
85498         * sunrpc/pm_getport.c: Likewise.
85499         * sunrpc/pmap_clnt.c: Likewise.
85500         * sunrpc/pmap_prot.c: Likewise.
85501         * sunrpc/pmap_prot2.c: Likewise.
85502         * sunrpc/pmap_rmt.c: Likewise.
85503         * sunrpc/publickey.c: Likewise.
85504         * sunrpc/rpc_cmsg.c: Likewise.
85505         * sunrpc/rpc_common.c: Likewise.
85506         * sunrpc/rpc_dtable.c: Likewise.
85507         * sunrpc/rpc_prot.c: Likewise.
85508         * sunrpc/rpc_thread.c: Likewise.
85509         * sunrpc/rtime.c: Likewise.
85510         * sunrpc/svc.c: Likewise.
85511         * sunrpc/svc_auth.c: Likewise.
85512         * sunrpc/svc_authux.c: Likewise.
85513         * sunrpc/svc_raw.c: Likewise.
85514         * sunrpc/svc_run.c: Likewise.
85515         * sunrpc/svc_simple.c: Likewise.
85516         * sunrpc/svc_tcp.c: Likewise.
85517         * sunrpc/svc_udp.c: Likewise.
85518         * sunrpc/svc_unix.c: Likewise.
85519         * sunrpc/svcauth_des.c: Likewise.
85520         * sunrpc/xcrypt.c: Likewise.
85521         * sunrpc/xdr.c: Likewise.
85522         * sunrpc/xdr_array.c: Likewise.
85523         * sunrpc/xdr_float.c: Likewise.
85524         * sunrpc/xdr_intXX_t.c: Likewise.
85525         * sunrpc/xdr_mem.c: Likewise.
85526         * sunrpc/xdr_rec.c: Likewise.
85527         * sunrpc/xdr_ref.c: Likewise.
85528         * sunrpc/xdr_sizeof.c: Likewise.
85529         * sunrpc/xdr_stdio.c: Likewise.
85531 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
85533         [BZ #12650]
85534         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
85535         * sysdeps/ia64/dl-tls.h: Likewise.
85536         * sysdeps/powerpc/dl-tls.h: Likewise.
85537         * sysdeps/s390/dl-tls.h: Likewise.
85538         * sysdeps/sh/dl-tls.h: Likewise.
85539         * sysdeps/sparc/dl-tls.h: Likewise.
85540         * sysdeps/x86_64/dl-tls.h: Likewise.
85541         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
85543 2011-03-14  Andreas Schwab  <schwab@redhat.com>
85545         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
85546         rpath element also skip the following colon.
85547         (expand_dynamic_string_token): Add is_path parameter and pass
85548         down to DL_DST_REQUIRED and _dl_dst_substitute.
85549         (decompose_rpath): Call expand_dynamic_string_token with
85550         non-zero is_path.  Ignore empty rpaths.
85551         (_dl_map_object_from_fd): Call expand_dynamic_string_token
85552         with zero is_path.
85554 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
85556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
85557         Make cancelable.
85559 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
85561         [BZ #12655]
85562         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
85563         Patch by Filipe David Manana <fdmanana@apache.org>.
85565 2011-04-07  Andreas Schwab  <schwab@redhat.com>
85567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
85568         Maintain aligned stack.
85569         (CHECK_RSP): Remove unused macro.
85571 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
85573         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
85574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
85576 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
85578         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
85580         * include/features.h: Mention __USE_XOPEN2K8 in comment.
85582 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
85584         [BZ #12518]
85585         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
85586         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
85587         * sysdeps/x86_64/memmove.c: New file.
85588         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
85589         (memcpy): Renamed to ...
85590         (__new_memcpy): This.
85591         (memcpy): Provide GLIBC_2_14 memcpy.
85592         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
85593         (memcpy): Provide GLIBC_2_2_5 memcpy.
85595 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85597         [BZ #12631]
85598         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
85600 2011-03-30  Andreas Schwab  <schwab@redhat.com>
85602         * misc/syncfs.c: New file.
85603         * misc/Makefile (routines): Add syncfs.
85604         * posix/unistd.h: Declare syncfs.
85605         * sysdeps/unix/syscalls.list: Add syncfs.
85607 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85609         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
85610         open_by_handle_at.
85611         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85612         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85614         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85616         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
85617         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85619 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85621         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
85622         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85623         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
85624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85625         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85627         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85629         * io/Makefile: Compile fallocate.c, fallocate64.c, and
85630         sync_file_range.c with -fexceptions.
85631         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
85632         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
85633         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
85634         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
85635         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
85636         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
85637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
85638         sync_file_range as cancellation point
85639         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
85640         now a wrapper around __call_sync_file_range with cancellation handling.
85641         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
85642         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
85643         function name to __call_sync_file_range.
85644         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
85645         Add call_sync_file_range.
85647 2011-04-01  Andreas Schwab  <schwab@redhat.com>
85649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85650         bits/timex.h.
85652 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
85654         * iconv/iconv.h: Fix typo in comment.
85655         * io/fcntl.h: Likewise.
85656         * libio/stdio.h: Likewise.
85657         * posix/spawn.h: Likewise.
85658         * posix/unistd.h: Likewise.
85659         * stdlib/stdlib.h: Likewise.
85660         * time/time.h: Likewise.
85661         * wcsmbs/wchar.h: Likewise.
85663         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
85664         open_by_handle): Add.
85665         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
85666         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
85667         Augment a few comments.
85668         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85670         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85673         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
85674         open_by_handle.
85676         * io/fcntl.h (AT_EMPTY_PATH): Define.
85678 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
85680         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
85681         * sysdeps/unix/sysv/linux/bits/time.h: New file.
85682         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
85683         to...
85684         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
85685         * Versions.def: Add GLIBC_2.14.
85686         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
85687         Export.
85689 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
85691         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
85692         round counter.
85693         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85695 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85697         [BZ #12597]
85698         * string/test-strncmp.c (do_page_test): New function.
85699         (check2): Likewise.
85700         (test_main): Call check2.
85701         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
85703 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
85705         [BZ #12587]
85706         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
85707         Handle cache information in CPU leaf 4.
85708         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
85710 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
85712         [BZ #12583]
85713         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
85714         character representation.
85715         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
85717 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
85719         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
85720         END(__isnan) to END(__isnanf) to match function entry point/label
85721         EALIGN(__isnanf,...).
85723 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
85725         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
85727 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
85729         [BZ #12510]
85730         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
85731         copy from the symbol referenced in the relocation to initialize the
85732         used variable.
85733         Patch by Piotr Bury <pbury@goahead.com>.
85734         * elf/Makefile: Add rules to build and tst-unique3.
85735         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
85736         * elf/tst-unique3.cc: New file.
85737         * elf/tst-unique3.h: New file.
85738         * elf/tst-unique3lib.cc: New file.
85739         * elf/tst-unique3lib2.cc: New file.
85741         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
85743 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
85745         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
85746         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
85747         to _start.
85749 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
85751         * elf/dl-load.c (_dl_map_object): If we are looking for the first
85752         to-be-loaded object along a path to loader is ld.so.
85754 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85755             Ulrich Drepper  <drepper@gmail.com>
85757         * sysdeps/x86_64/memset.S: After aligning destination, code
85758         branches to different locations depending on the value of
85759         misalignment, when multiarch is enabled. Fix this.
85761 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
85763         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
85764         Set _x86_64_preferred_memory_instruction for AMD processsors.
85765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85766         Set bit_Prefer_SSE_for_memop for AMD processors.
85768 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
85770         * libio/fmemopen.c (fmemopen): Optimize a bit.
85772 2011-03-03  Andreas Schwab  <schwab@redhat.com>
85774         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
85776 2011-03-03  Roland McGrath  <roland@redhat.com>
85778         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
85780 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
85782         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
85783         __bzero_ultra1 instead of __memset_ultra1.
85785 2011-02-23  Andreas Schwab  <schwab@redhat.com>
85786             Ulrich Drepper  <drepper@gmail.com>
85788         [BZ #12509]
85789         * include/link.h (struct link_map): Add l_orig_initfini.
85790         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
85791         returning unsuccessfully.
85792         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
85793         close of a file loaded at startup, restore the original l_initfini
85794         list.
85795         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
85796         list, store the pointer.
85797         * elf/Makefile ($(objpfx)noload-mem): New rule.
85798         (noload-ENV): Define.
85799         (tests): Add $(objpfx)noload-mem.
85800         * elf/noload.c: Include <memcheck.h>.
85801         (main): Call mtrace.  Close all opened handles.
85803 2011-02-17  Andreas Schwab  <schwab@redhat.com>
85805         [BZ #12454]
85806         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
85807         dependencies are missing.
85809 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85811         Fix __if_freereq crash: Unlike the generic version which uses free,
85812         Hurd needs munmap.
85813         * sysdeps/mach/hurd/ifreq.h: New file.
85815 2011-01-27  Petr Baudis  <pasky@suse.cz>
85816             Ulrich Drepper  <drepper@gmail.com>
85818         [BZ 12445]#
85819         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
85820         to extend_alloca().
85821         * stdio-common/bug23.c: New file.
85822         * stdio-common/Makefile (tests): Add bug23.
85824 2010-09-28  Andreas Schwab  <schwab@redhat.com>
85825             Ulrich Drepper  <drepper@gmail.com>
85827         [BZ #12489]
85828         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
85829         before performing relro protection.  At old place add assertion
85830         to make sure nothing changed.
85832 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
85833             Glauber de Oliveira Costa  <glommer@gmail.com>
85835         * elf/elf.h: Add new ARM TLS relocs.
85837 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
85839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
85840         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
85841         cast from r3.
85842         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
85843         'tests' variable.
85844         * sysdeps/wordsize-64/tst-writev.c: New file.
85846 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
85848         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
85849         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
85850         insns in _dl_start to prevent a TOC reference before relocs are
85851         resolved.
85853 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
85855         [BZ #12469]
85856         * Makeconfig: Remove RANLIB definition.
85857         * Makerules: Don't use RANLIB.
85858         * aclocal.m4: Remove ranlib test.
85859         * configure.in: No need to check for ranlib.
85860         * elf/rtld-Rules: Don't use RANLIB.
85862 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85864         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
85865         protection macro.
85866         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
85867         inclusion protection macro.
85869         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
85870         SIGRTMIN and SIGRTMAX and print information in that case only when
85871         SIGRTMIN is defined.
85873 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
85875         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
85876         arginfo fn returning -1.
85878         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
85879         and thousands string is zero terminated.
85881 2011-02-03  Andreas Schwab  <schwab@redhat.com>
85883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
85884         sysdeps/unix/sysv/linux/bits/socket.h.
85886 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85888         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
85889         (__CPU_COUNT): Remove old macros.
85890         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
85891         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
85892         (__CPU_ALLOC, __CPU_FREE): Add macros.
85893         (__sched_cpualloc, __sched_cpufree): Add declarations.
85895 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
85897         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
85898         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
85899         * nscd/aicache.c (addhstaiX): Return timeout of added value.
85900         (readdhstai): Return value of addhstaiX call.
85901         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
85902         (addgrbyX): Return value returned by cache_addgr.
85903         (readdgrbyname): Return value returned by addgrbyX.
85904         (readdgrbygid): Likewise.
85905         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
85906         (addpwbyX): Return value returned by cache_addpw.
85907         (readdpwbyname): Return value returned by addhstbyX.
85908         (readdpwbyuid): Likewise.
85909         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
85910         (addservbyX): Return value returned by cache_addserv.
85911         (readdservbyname): Return value returned by addservbyX:
85912         (readdservbyport): Likewise.
85913         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
85914         (addhstbyX): Return value returned by cache_addhst.
85915         (readdhstbyname): Return value returned by addhstbyX.
85916         (readdhstbyaddr): Likewise.
85917         (readdhstbynamev6): Likewise.
85918         (readdhstbyaddrv6): Likewise.
85919         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
85920         (readdinitgroups): Return value returned by addinitgroupsX.
85921         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
85922         (prune_cache): Keep track of timeout value of re-added entries.
85923         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
85924         * nscd/nscd.h: Adjust prototypes of readd* functions.
85926 2011-02-04  Roland McGrath  <roland@redhat.com>
85928         * nis/nis_server.c (nis_servstate): Use the right name for 0.
85929         (nis_stats): Likewise.
85930         * nis/nis_modify.c (nis_modify): Likewise.
85931         * nis/nis_remove.c (nis_remove): Likewise.
85932         * nis/nis_add.c (nis_add): Likewise.
85934         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
85936         * posix/fnmatch_loop.c: Add some consts.
85938         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
85940 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
85942         [BZ #12460]
85943         * config.make.in (config-cflags-novzeroupper): Define.
85944         * configure.in: Substitute libc_cv_cc_novzeroupper.
85945         * elf/Makefile (AVX-CFLAGS): Define.
85946         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
85947         (CFLAGS-tst-auditmod4a.c): Likewise.
85948         (CFLAGS-tst-auditmod4b.c): Likewise.
85949         (CFLAGS-tst-auditmod6b.c): Likewise.
85950         (CFLAGS-tst-auditmod6c.c): Likewise.
85951         (CFLAGS-tst-auditmod7b.c): Likewise.
85952         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
85954 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
85956         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
85957         function to the callback.
85958         Patch partly by Jiri Olsa <jolsa@redhat.com>.
85960 2011-02-02  Andreas Schwab  <schwab@redhat.com>
85962         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
85963         of errno.
85965 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
85967         [BZ #11724]
85968         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
85969         of constructors.
85970         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
85971         of destructors.
85972         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
85974         [BZ #11724]
85975         * elf/Makefile: Add rules to build and run new test.
85976         * elf/tst-initorder.c: New file.
85977         * elf/tst-initorder.exp: New file.
85978         * elf/tst-initordera1.c: New file.
85979         * elf/tst-initordera2.c: New file.
85980         * elf/tst-initordera3.c: New file.
85981         * elf/tst-initordera4.c: New file.
85982         * elf/tst-initorderb1.c: New file.
85983         * elf/tst-initorderb2.c: New file.
85984         * elf/tst-order-a1.c: New file.
85985         * elf/tst-order-a2.c: New file.
85986         * elf/tst-order-a3.c: New file.
85987         * elf/tst-order-a4.c: New file.
85988         * elf/tst-order-b1.c: New file.
85989         * elf/tst-order-b2.c: New file.
85990         * elf/tst-order-main.c: New file.
85991         New test case by George Gensure <werkt0@gmail.com>.
85993 2010-10-01  Andreas Schwab  <schwab@redhat.com>
85995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85996         decoding ACE if AI_CANONIDN.
85998 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
86000         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
86002 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
86004         * version.h (RELEASE): Bump for 2.13 release.
86005         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
86007         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
86009         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
86010         MADV_NOHUGEPAGE.
86011         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
86012         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
86013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
86014         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
86015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
86016         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86018         * posix/getconf.c: Update copyright year.
86019         * catgets/gencat.c: Likewise.
86020         * csu/version.c: Likewise.
86021         * debug/catchsegv.sh: Likewise.
86022         * debug/xtrace.sh: Likewise.
86023         * elf/ldconfig.c: Likewise.
86024         * elf/ldd.bash.in: Likewise.
86025         * elf/sprof.c (print_version): Likewise.
86026         * iconv/iconv_prog.c: Likewise.
86027         * iconv/iconvconfig.c: Likewise.
86028         * locale/programs/locale.c: Likewise.
86029         * locale/programs/localedef.c: Likewise.
86030         * malloc/memusage.sh: Likewise.
86031         * malloc/mtrace.pl: Likewise.
86032         * nscd/nscd.c (print_version): Likewise.
86033         * nss/getent.c: Likewise.
86035         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
86036         PF_CAIF, and PF_ALG.
86037         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86039 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
86041         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
86042         (modules-names): Use them.
86043         (ifunc-test-modules, ifunc-pie-tests): Define.
86044         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
86045         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
86046         (test-extras): Likewise.
86047         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
86048         $(compile-command.c).
86049         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
86050         (all-built-dso): Define.
86051         (check-textrel.out, check-execstack.out): Depend on it.
86053         * configure.in: Don't override --enable-multi-arch.
86055 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
86057         [BZ #6812]
86058         * nscd/hstcache.c (tryagain): Define.
86059         (cache_addhst): Return tryagain not notfound for temporary errors.
86060         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
86061         failed.
86063 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
86065         [BZ #10563]
86066         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
86067         to make the syscall.
86068         * sysdeps/unix/sysv/linux/setgroups.c: New file.
86070         [BZ #12378]
86071         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
86072         and fall back to matching as normal character if the string ends before
86073         the matching ']' is found.  This is what POSIX requires.
86074         * posix/testfnm.c: Adjust test result.
86075         * posix/globtest.sh: Adjust test result.  Add new test.
86076         * posix/tst-fnmatch.input: Likewise.
86077         * posix/tst-fnmatch2.c: Add new test.
86079 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
86081         * elf/Makefile (check-execstack): Revert last change.  Depend on
86082         check-execstack.h.
86083         (check-execstack.h): New target.
86084         (generated): Add check-execstack.h.
86085         * elf/check-execstack.c: Include "check-execstack.h".
86086         (main): Revert last change.
86087         (handle_file): Return zero if GNU_STACK is absent and
86088         DEFAULT_STACK_PERMS doesn't include PF_X.
86090 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
86092         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
86093         in child fails because the descriptor is already closed.
86094         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
86095         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
86096         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
86098         [BZ #12397]
86099         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
86100         syscall.
86102         [BZ #10484]
86103         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
86104         temporary buffer used to handle multi lookups locally.
86105         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
86107 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86109         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
86110         loader is ld.so.
86112 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
86114         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
86115         alignment for SSE2.
86117 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
86119         [BZ #12394]
86120         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
86121         characters.  When rounding increased number of integer digits recompute
86122         number of groups.
86123         * stdio-common/tst-grouping.c: New file.
86124         * stdio-common/Makefile: Add rules to build and run tst-grouping.
86126 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
86128         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
86129         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
86131         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
86132         void.
86133         * bits/select.h: Likewise.
86135 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
86137         * po/ja.po: Update from translation team.
86139 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
86141         [BZ #11155]
86142         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
86143         implementation just like for lxstat, fxstatat, et al.
86145 2010-12-27  Jim Meyering  <meyering@redhat.com>
86147         [BZ #12348]
86148         * posix/regexec.c (build_trtable): Return failure indication upon
86149         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
86151 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86153         [BZ #12201]
86154         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
86155         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
86156         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
86157         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
86159         [BZ #12207]
86160         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
86162         [BZ #12204]
86163         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
86164         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
86166 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
86168         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
86169         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
86170         script has SORT_BY_INIT_PRIORITY.
86171         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
86172         NO_CTORS_DTORS_SECTIONS is defined.
86173         * elf/soinit.c: Likewise.
86174         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
86175         NO_CTORS_DTORS_SECTIONS is defined.
86176         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
86177         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
86178         * sysdeps/sh/init-first.c: Likewise.
86179         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
86181 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
86183         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
86184         always use the slow path.
86186 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
86188         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
86189         similar rule which adds the sysdep directories to the header search in
86190         order to pick up the correct platform stackinfo.h.
86191         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
86192         perform test if it is, otherwise return successfully without testing.
86193         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
86194         DEFAULT_STACK_PERMS define in stackinfo.h.
86195         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
86196         defined in stackinfo.h.
86197         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
86198         DEFAULT_STACK_PERMS defined in stackinfo.h.
86199         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
86200         * sysdeps/ia64/stackinfo.h: Likewise.
86201         * sysdeps/s390/stackinfo.h: Likewise.
86202         * sysdeps/sh/stackinfo.h: Likewise.
86203         * sysdeps/sparc/stackinfo.h: Likewise.
86204         * sysdeps/x86_64/stackinfo.h: Likewise.
86205         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
86206         PF_X for powerpc64.  Retain PF_X for powerpc32.
86208 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
86210         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
86211         accurately.
86212         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
86213         GETDENTS_64BIT_ALIGNED.
86215 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
86217         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
86219 2010-12-10  Andreas Schwab  <schwab@redhat.com>
86221         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
86222         _GNU_SOURCE.
86224         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
86225         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
86226         Remove __restrict.
86227         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
86228         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
86230 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
86232         [BZ #11655]
86233         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
86234         are initialized.
86236 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
86238         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
86240 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
86242         * po/it.po: Update from translation team.
86244 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
86246         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
86247         unused codes.
86249 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
86251         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
86253 2010-11-24  Andreas Schwab  <schwab@redhat.com>
86255         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
86256         specially.
86257         (gaih_getanswer_slice): Likewise.
86259 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
86261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
86263 2010-05-31  Petr Baudis  <pasky@suse.cz>
86265         [BZ #11149]
86266         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
86267         silently even in the chroot mode.
86269 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
86271         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
86272         last patch a bit.  Pretty printing
86274 2010-05-31  Petr Baudis <pasky@suse.cz>
86276         [BZ #10085]
86277         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
86278         initialization of skip_initgroups_dyn.
86280 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
86282         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
86283         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
86285 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
86287         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
86289 2010-11-11  Andreas Schwab  <schwab@redhat.com>
86291         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
86292         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
86293         (tst-fnmatch-ENV): Set MALLOC_TRACE.
86294         ($(objpfx)tst-fnmatch-mem): New rule.
86295         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
86296         * posix/tst-fnmatch.c (main): Call mtrace.
86298 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
86300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86301         Support Intel processor model 6 and model 0x2c.
86303 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
86305         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
86306           signed comparison.
86308 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
86310         [BZ #12205]
86311         * string/test-strncasecmp.c (check_result): New function.
86312         (do_one_test): Use it.
86313         (check1): New function.
86314         (test_main): Use it.
86315         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
86316         Support strcasecmp and strncasecmp.
86318 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
86320         [BZ #12194]
86321         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
86322         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86324 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
86326         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
86327         IFUNC support.
86328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86329         memset-x86-64.
86330         * sysdeps/x86_64/multiarch/bzero.S: New file.
86331         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
86332         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
86333         * sysdeps/x86_64/multiarch/memset.S: New file.
86334         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
86335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86336         Set bit_Prefer_SSE_for_memop for Intel processors.
86337         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
86338         Define.
86339         (index_Prefer_SSE_for_memop): Define.
86340         (HAS_PREFER_SSE_FOR_MEMOP): Define.
86342 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
86344         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
86345         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
86347 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
86349         [BZ #12191]
86350         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86351         (__x86_64_raw_data_cache_size_half): Likewise.
86352         (__x86_64_raw_shared_cache_size): Likewise.
86353         (__x86_64_raw_shared_cache_size_half): Likewise.
86355         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
86356         (__x86_64_raw_data_cache_size_half): Likewise.
86357         (__x86_64_raw_shared_cache_size): Likewise.
86358         (__x86_64_raw_shared_cache_size_half): Likewise.
86359         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
86360         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
86361         and __x86_64_raw_shared_cache_size_half.  Round
86362         __x86_64_data_cache_size_half, __x86_64_data_cache_size
86363         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
86364         to multiple of 256 bytes.
86366 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
86368         [BZ #12167]
86369         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
86370         of inacessible symlinks.  Verify result of symlink before returning it.
86371         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
86372         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
86374 2010-10-28  Erich Ritz  <erichritz@gmail.com>
86376         * math/math.h (isinf): Fix typo in comment.
86378 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
86380         * po/da.po: Update from translation team.
86382 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
86384         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
86385         is added to the list.
86387 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86388             Ulrich Drepper  <drepper@gmail.com>
86390         * elf/dl-object.c (_dl_new_object): Don't append the new object to
86391         the global list here.  Move code to...
86392         (_dl_add_to_namespace_list): ...here.  New function.
86393         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
86394         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
86395         * elf/dl-load.c (lose): Don't remove the element from the list.
86396         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
86397         (_dl_map_object): Likewise.
86399 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
86401         [BZ #12159]
86402         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
86403         into all bytes of SSE register.
86404         Patch by Richard Li <richardpku@gmail.com>.
86406 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
86408         [BZ #12140]
86409         * malloc/malloc.c (_int_free): Fill correct number of bytes when
86410         perturbing.
86412 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
86414         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
86415         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
86416         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
86417         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
86419         submachine.
86420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
86422 2010-10-22  Andreas Schwab  <schwab@redhat.com>
86424         * include/dlfcn.h (__RTLD_SECURE): Define.
86425         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
86426         mode & __RTLD_SECURE instead.
86427         (open_path): Rename preloaded parameter to secure.
86428         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
86429         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
86430         * elf/dl-deps.c (openaux): Likewise.
86431         * elf/rtld.c (struct map_args): Remove is_preloaded.
86432         (map_doit): Don't use it.
86433         (dl_main): Likewise.
86434         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
86435         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
86437 2010-09-09  Andreas Schwab  <schwab@redhat.com>
86439         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
86440         (sysd-rules-targets): Remove duplicates.
86441         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
86442         rtld-%.$o dependency.
86444 2010-10-18  Andreas Schwab  <schwab@redhat.com>
86446         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
86447         _dl_map_object do it.
86449 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86451         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
86452         fast fma builtins, define the macros in the C99 standard.
86453         (FP_FAST_FMAF): Likewise.
86454         (FP_FAST_FMAL): Likewise.
86455         * sysdeps/x86_64/bits/mathdef.h: Likewise.
86457         * bits/mathdef.h: Update copyright year.
86458         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86460 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
86462         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
86463         builtins, define the macros in the C99 standard.
86464         (FP_FAST_FMAF): Likewise.
86465         (FP_FAST_FMAL): Likewise.
86466         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
86467         multiply/add.
86468         (FP_FAST_FMAF): Likewise.
86470 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
86472         [BZ #3268]
86473         * math/libm-test.inc (fma_test): Some new testcases.
86474         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
86475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
86476         y and infinite z.  Do multiplication by C already in long double.
86477         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
86478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
86479         y and infinite z.  Do bitwise or of inexact bit into u.d.
86480         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
86481         * sysdeps/i386/fpu/s_fmaf.S: Removed.
86482         * sysdeps/i386/fpu/s_fma.S: Removed.
86483         * sysdeps/i386/fpu/s_fmal.S: Removed.
86485 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
86487         [BZ #3268]
86488         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
86489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
86490         computation is not scheduled after fetestexcept.  Fix value
86491         of minimum denormal long double.
86493 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
86495         [BZ #3268]
86496         * math/libm-test.inc (fma_test): Add some more tests.
86497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
86498         correctly.
86500 2010-10-15  Andreas Schwab  <schwab@redhat.com>
86502         * scripts/data/localplt-s390-linux-gnu.data: New file.
86503         * scripts/data/localplt-s390x-linux-gnu.data: New file.
86505 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
86507         [BZ #3268]
86508         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
86509         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
86510         instead of dbl-64.
86511         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
86512         inlines.
86513         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
86514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
86515         if one of x and y is very large and the other is subnormal.
86516         * sysdeps/s390/fpu/s_fmaf.c: New file.
86517         * sysdeps/s390/fpu/s_fma.c: New file.
86518         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
86519         * sysdeps/powerpc/fpu/s_fma.S: New file.
86520         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
86521         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
86522         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
86524 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
86526         [BZ #3268]
86527         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
86528         fma tests.
86529         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
86530         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
86531         * sysdeps/i386/i686/multiarch/s_fma.c: Include
86532         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
86533         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
86534         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
86535         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
86537 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
86539         [BZ #12078]
86540         * posix/regcomp.c (parse_branch): One more memory leak plugged.
86541         * posix/bug-regex31.input: Add test case.
86543 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86545         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
86546         * posix/bug-regex31.input: New file.
86548         [BZ #12078]
86549         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
86550         (parse_sub_exp): Fix last change, use postorder.
86552         * posix/bug-regex31.c: New file.
86553         * posix/Makefile: Add rules to build and run bug-regex31.
86555         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
86557         [BZ #12078]
86558         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
86560         [BZ #12108]
86561         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
86562         to have entries in sys_siglist.
86564         [BZ #12093]
86565         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
86566         be NULL.
86568 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
86570         [BZ #3268]
86571         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
86572         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
86573         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
86574         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
86575         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
86576         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
86577         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
86578         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
86579         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
86580         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
86581         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
86582         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
86583         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
86584         * math/ftestexcept.c (fetestexcept): Likewise.
86585         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
86586         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
86587         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
86588         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
86589         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
86590         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
86591         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
86593 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
86595         [BZ #12107]
86596         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
86597         newline.
86599 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
86601         * string/bug-strstr1.c: New file.
86602         * string/Makefile: Add rules to build and run bug-strstr1.
86604 2010-10-05  Eric Blake  <eblake@redhat.com>
86606         [BZ #12092]
86607         * string/str-two-way.h (two_way_long_needle): Always clear memory
86608         when skipping input due to the shift table.
86610 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
86612         [BZ #12005]
86613         * malloc/mcheck.c: Handle large requests.
86615         [BZ #12077]
86616         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
86617         for strncmp and strncasecmp.
86618         * string/stratcliff.c: Add tests for strcmp and strncmp.
86619         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
86621 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
86623         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
86624         __set_fpscr.
86626 2010-09-30  Andreas Jaeger  <aj@suse.de>
86628         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
86629         (CGROUP_SUPER_MAGIC): Define.
86630         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86631         Handle btrfs and cgroup file systems.
86632         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
86633         Likewise.
86635 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
86637         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86638         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
86640 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86642         [BZ #12067]
86643         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
86644         trying to locate the ELF header.
86646 2010-09-27  Andreas Schwab  <schwab@redhat.com>
86648         [BZ #11611]
86649         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
86650         Mask out sign-bit copies when constructing f_fsid.
86652 2010-09-24  Petr Baudis <pasky@suse.cz>
86654         * debug/stack_chk_fail_local.c: Add missing licence exception.
86655         * debug/warning-nop.c: Likewise.
86657 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
86659         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
86660         implementing getdents64 using getdents syscall, set d_type if
86661         __ASSUME_GETDENTS32_D_TYPE.
86663 2010-09-16  Andreas Schwab  <schwab@redhat.com>
86665         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
86666         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
86668 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
86670         [BZ #12037]
86671         * posix/unistd.h: Undo change of feature selection for ftruncate from
86672         2010-01-11.
86674 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
86676         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
86677         detection.
86679 2010-09-20  Andreas Schwab  <schwab@redhat.com>
86681         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
86682         fanotify_mark.
86683         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
86685 2010-09-14  Andreas Schwab  <schwab@redhat.com>
86687         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
86688         variables after CHECK_SP call.
86689         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
86691 2010-09-13  Andreas Schwab  <schwab@redhat.com>
86692             Ulrich Drepper  <drepper@redhat.com>
86694         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
86695         re-relocationg ld.so.
86696         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
86697         _dl_init_paths call.
86698         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
86699         here anymore.
86701 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
86703         * resolv/res_init.c (__res_vinit): Count the default server we added.
86705 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
86706             Ulrich Drepper  <drepper@redhat.com>
86708         [BZ #11968]
86709         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86710         (____longjmp_chk): Use %ebx for saving value across system call.
86711         Add unwind info.
86713 2010-09-06  Andreas Schwab  <schwab@redhat.com>
86715         * manual/Makefile: Don't mix pattern rules with normal rules.
86717 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
86719         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
86720         operation.
86721         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
86722         * libio/iofopncook.c (_IO_cookie_init): Likewise.
86723         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
86724         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
86725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86726         Likewise.
86728 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
86730         [BZ #11979]
86731         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
86732         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
86734 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
86736         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
86737         * sysdeps/x86_64/addmul_1.S: Likewise.
86738         * sysdeps/x86_64/lshift.S: Likewise.
86739         * sysdeps/x86_64/mul_1.S: Likewise.
86740         * sysdeps/x86_64/rshift.S: Likewise.
86741         * sysdeps/x86_64/sub_n.S: Likewise.
86742         * sysdeps/x86_64/submul_1.S: Likewise.
86744 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86746         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
86747         Define __sched_param instead of SCHED_* and sched_param when
86748         <bits/sched.h> is included with __need_schedparam defined.
86749         * bits/sched.h [__need_schedparam]
86750         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
86751         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
86752         (__defined_schedparam): Define to 1.
86753         (__sched_param): New structure, identical to sched_param.
86754         (__need_schedparam): Undefine.
86756 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
86758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
86759         (epoll_create1): Declare.
86761         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
86763 2010-08-31  Andreas Schwab  <schwab@redhat.com>
86765         [BZ #7066]
86766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
86767         shifting retval into place.
86769 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
86771         * nis/rpcsvc/nis.h: Update copyright notice.
86772         * nis/rpcsvc/nis.x: Likewise.
86773         * nis/rpcsvc/nis_callback.h: Likewise.
86774         * nis/rpcsvc/nis_callback.x: Likewise.
86775         * nis/rpcsvc/nis_object.x: Likewise.
86776         * nis/rpcsvc/nis_tags.h: Likewise.
86777         * nis/rpcsvc/yp.h: Likewise.
86778         * nis/rpcsvc/yp.x: Likewise.
86779         * nis/rpcsvc/ypupd.h: Likewise.
86780         * nis/yp_xdr.c: Likewise.
86781         * nis/ypupdate_xdr.c: Likewise.
86783         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
86784         mainly the body of pmap_getport.  Add parameters to specify timeouts.
86785         (pmap_getport): Use __libc_rpc_getport.
86786         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
86787         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
86788         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86790 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
86792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
86793         fanotify_mark.
86795 2010-08-27  Roland McGrath  <roland@redhat.com>
86797         * sysdeps/i386/i686/multiarch/Makefile
86798         (CFLAGS-varshift.c): New variable.
86800 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
86802         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
86803         * sysdeps/i386/i686/multiarch/varshift.c: New file.
86805         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
86807         * sysdeps/x86_64/strlen.S: Minimal code improvement.
86809 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
86811         * sysdeps/x86_64/strlen.S: Unroll the loop.
86812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86813         strlen-sse2 strlen-sse2-bsf.
86814         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
86815         __strlen_no_bsf if bit_Slow_BSF is set.
86816         (__strlen_sse42): Removed.
86817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
86818         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
86820 2010-08-25  Roland McGrath  <roland@redhat.com>
86822         * sysdeps/x86_64/multiarch/varshift.S: File removed.
86823         * sysdeps/x86_64/multiarch/varshift.c: New file.
86824         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
86825         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
86826         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
86827         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
86829 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
86831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86832         strlen-sse2 strlen-sse2-bsf.
86833         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
86834         __strlen_sse2_bsf if bit_Slow_BSF is unset.
86835         (__strlen_sse2): Removed.
86836         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
86837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
86838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
86839         bit_Slow_BSF for Atom.
86840         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
86841         (index_Slow_BSF): Define.
86842         (HAS_SLOW_BSF): Define.
86844 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
86846         [BZ #10851]
86847         * resolv/res_init.c (__res_vinit): When no server address at all
86848         is given default to loopback.
86850 2010-08-24  Roland McGrath  <roland@redhat.com>
86852         * configure.in: Remove config-name.h generation.
86853         * configure: Regenerated.
86854         * config-name.in: File removed.
86855         * scripts/config-uname.sh: New file.
86856         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
86857         ($(objdir)config-name.h): New target.
86859         * sunrpc/rpc_parse.h: Avoid nested comment.
86861 2010-08-24  Richard Henderson  <rth@redhat.com>
86862             Ulrich Drepper  <drepper@redhat.com>
86863             H.J. Lu  <hongjiu.lu@intel.com>
86865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
86866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
86867         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
86868         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
86869         _mm_alignr_epi8 with _mm_loadu_si128.
86870         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
86871         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
86872         (__m128i_shift_right): Removed.
86873         * sysdeps/i386/i686/multiarch/varshift.h: New file.
86874         * sysdeps/i386/i686/multiarch/varshift.S: New file.
86875         * sysdeps/x86_64/multiarch/varshift.h: New file.
86876         * sysdeps/x86_64/multiarch/varshift.S: New file.
86878 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
86880         * configure.in: Move assembler checks to before sysdep dir checking.
86882 2010-08-20  Petr Baudis  <pasky@suse.cz>
86884         * LICENSES: Sync the sunrpc license.
86886 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
86888         * sunrpc/auth_des.c: Update copyright notice once again.
86889         * sunrpc/auth_none.c: Likewise.
86890         * sunrpc/auth_unix.c: Likewise.
86891         * sunrpc/authdes_prot.c: Likewise.
86892         * sunrpc/authuxprot.c: Likewise.
86893         * sunrpc/bindrsvprt.c: Likewise.
86894         * sunrpc/clnt_gen.c: Likewise.
86895         * sunrpc/clnt_perr.c: Likewise.
86896         * sunrpc/clnt_raw.c: Likewise.
86897         * sunrpc/clnt_simp.c: Likewise.
86898         * sunrpc/clnt_tcp.c: Likewise.
86899         * sunrpc/clnt_udp.c: Likewise.
86900         * sunrpc/clnt_unix.c: Likewise.
86901         * sunrpc/des_crypt.c: Likewise.
86902         * sunrpc/des_soft.c: Likewise.
86903         * sunrpc/get_myaddr.c: Likewise.
86904         * sunrpc/getrpcport.c: Likewise.
86905         * sunrpc/key_call.c: Likewise.
86906         * sunrpc/key_prot.c: Likewise.
86907         * sunrpc/openchild.c: Likewise.
86908         * sunrpc/pm_getmaps.c: Likewise.
86909         * sunrpc/pm_getport.c: Likewise.
86910         * sunrpc/pmap_clnt.c: Likewise.
86911         * sunrpc/pmap_prot.c: Likewise.
86912         * sunrpc/pmap_prot2.c: Likewise.
86913         * sunrpc/pmap_rmt.c: Likewise.
86914         * sunrpc/rpc/auth.h: Likewise.
86915         * sunrpc/rpc/auth_unix.h: Likewise.
86916         * sunrpc/rpc/clnt.h: Likewise.
86917         * sunrpc/rpc/des_crypt.h: Likewise.
86918         * sunrpc/rpc/key_prot.h: Likewise.
86919         * sunrpc/rpc/netdb.h: Likewise.
86920         * sunrpc/rpc/pmap_clnt.h: Likewise.
86921         * sunrpc/rpc/pmap_prot.h: Likewise.
86922         * sunrpc/rpc/pmap_rmt.h: Likewise.
86923         * sunrpc/rpc/rpc.h: Likewise.
86924         * sunrpc/rpc/rpc_des.h: Likewise.
86925         * sunrpc/rpc/rpc_msg.h: Likewise.
86926         * sunrpc/rpc/svc.h: Likewise.
86927         * sunrpc/rpc/svc_auth.h: Likewise.
86928         * sunrpc/rpc/types.h: Likewise.
86929         * sunrpc/rpc/xdr.h: Likewise.
86930         * sunrpc/rpc_clntout.c: Likewise.
86931         * sunrpc/rpc_cmsg.c: Likewise.
86932         * sunrpc/rpc_common.c: Likewise.
86933         * sunrpc/rpc_cout.c: Likewise.
86934         * sunrpc/rpc_dtable.c: Likewise.
86935         * sunrpc/rpc_hout.c: Likewise.
86936         * sunrpc/rpc_main.c: Likewise.
86937         * sunrpc/rpc_parse.c: Likewise.
86938         * sunrpc/rpc_parse.h: Likewise.
86939         * sunrpc/rpc_prot.c: Likewise.
86940         * sunrpc/rpc_sample.c: Likewise.
86941         * sunrpc/rpc_scan.c: Likewise.
86942         * sunrpc/rpc_scan.h: Likewise.
86943         * sunrpc/rpc_svcout.c: Likewise.
86944         * sunrpc/rpc_tblout.c: Likewise.
86945         * sunrpc/rpc_util.c: Likewise.
86946         * sunrpc/rpc_util.h: Likewise.
86947         * sunrpc/rpcinfo.c: Likewise.
86948         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
86949         * sunrpc/rpcsvc/key_prot.x: Likewise.
86950         * sunrpc/rpcsvc/klm_prot.x: Likewise.
86951         * sunrpc/rpcsvc/mount.x: Likewise.
86952         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
86953         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
86954         * sunrpc/rpcsvc/rex.x: Likewise.
86955         * sunrpc/rpcsvc/rstat.x: Likewise.
86956         * sunrpc/rpcsvc/rusers.x: Likewise.
86957         * sunrpc/rpcsvc/sm_inter.x: Likewise.
86958         * sunrpc/rpcsvc/spray.x: Likewise.
86959         * sunrpc/rpcsvc/yppasswd.x: Likewise.
86960         * sunrpc/rtime.c: Likewise.
86961         * sunrpc/svc.c: Likewise.
86962         * sunrpc/svc_auth.c: Likewise.
86963         * sunrpc/svc_authux.c: Likewise.
86964         * sunrpc/svc_raw.c: Likewise.
86965         * sunrpc/svc_run.c: Likewise.
86966         * sunrpc/svc_simple.c: Likewise.
86967         * sunrpc/svc_tcp.c: Likewise.
86968         * sunrpc/svc_udp.c: Likewise.
86969         * sunrpc/svc_unix.c: Likewise.
86970         * sunrpc/svcauth_des.c: Likewise.
86971         * sunrpc/xcrypt.c: Likewise.
86972         * sunrpc/xdr.c: Likewise.
86973         * sunrpc/xdr_array.c: Likewise.
86974         * sunrpc/xdr_float.c: Likewise.
86975         * sunrpc/xdr_mem.c: Likewise.
86976         * sunrpc/xdr_rec.c: Likewise.
86977         * sunrpc/xdr_ref.c: Likewise.
86978         * sunrpc/xdr_sizeof.c: Likewise.
86979         * sunrpc/xdr_stdio.c: Likewise.
86981         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
86982         handling.
86984 2010-08-19  Andreas Schwab  <schwab@redhat.com>
86986         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
86988 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
86990         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
86991         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
86992         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
86993         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
86994         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
86995         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
86996         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
86997         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
86998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
86999         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
87000         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
87001         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
87002         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
87003         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
87005 2010-07-26  Anton Blanchard  <anton@samba.org>
87007         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
87008         * malloc/arena.c (heap_trim): Likewise.
87010 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
87012         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
87013         here.  Not...
87014         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
87015         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
87017 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
87019         * sysdeps/i386/elf/Makefile: New file.
87021 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87023         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
87024         from fanotify_init.
87025         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
87026         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87028 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
87030         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
87031         of strncasecmp_l.
87032         * sysdeps/multiarch/strcmp.S: Likewise.
87034 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
87036         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87037         strncase_l-nonascii.
87038         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87039         Add strncase_l-ssse3.
87040         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
87041         * sysdeps/x86_64/strcmp.S: Likewise.
87042         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
87043         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
87044         * sysdeps/x86_64/strncase.S: New file.
87045         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
87046         * sysdeps/x86_64/strncase_l.S: New file.
87047         * string/Makefile (strop-tests): Add strncasecmp.
87048         * string/test-strncasecmp.c: New file.
87050         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
87051         warning.
87053         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
87054         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
87056 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
87058         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
87060 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
87062         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
87063         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
87064         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
87066 2010-05-01  Alan Modra  <amodra@gmail.com>
87068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
87069         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
87070         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
87071         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
87072         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
87073         tidying.  Don't tail-call __sigjmp_save for static lib.
87074         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
87075         save location.
87076         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
87077         (CALL_MCOUNT): Add eh info, and nop after bl.
87078         (TAIL_CALL_SYSCALL_ERROR): New macro.
87079         (PSEUDO_RET): Use it.
87080         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
87081         Correct save location of integer regs and cr.
87082         (_dl_profile_resolve): Correct cr save location.  Delete nops
87083         after bl when SHARED.  Reduce cfi size a little by better
87084         placement of cfi directives.
87085         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
87086         make a stack frame.  Instead use parm save area as a temp.
87087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
87088         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
87089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
87090         Don't make a stack frame for parent, use parm save area.
87091         Increase child stack frame to 112 bytes.  Don't save unused reg,
87092         and adjust reg usage.  Set up cfi on error recovery and
87093         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
87094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
87095         (__makecontext): Add dummy nop after jump to exit.
87096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
87097         Use correct parm save area and cr save, reduce stack frame.
87098         Correct cfi for possible PSEUDO_RET frame setup.
87099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
87100         Branch to local label emitted by PSEUDO_RET rather than
87101         __syscall_error.
87103 2010-08-12  Andreas Schwab  <schwab@redhat.com>
87105         [BZ #11904]
87106         * locale/programs/locale.c (print_assignment): New function.
87107         (show_locale_vars): Use it.
87109 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
87111         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
87112         field.
87113         (struct statfs64): Likewise.
87114         (_STATFS_F_FLAGS): Define.
87115         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
87116         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87117         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
87118         (ST_VALID): Define locally.
87119         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87120         __statvfs_getflags, use the provided value.
87121         * sysdeps/unix/sysv/linux/kernel-features.h: Define
87122         __ASSUME_STATFS_F_FLAGS.
87124         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
87126         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
87127         Add sys/fanotify.h.
87128         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
87129         fanotify_mask for GLIBC_2.13.
87130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
87131         fanotify_init and fanotify_mark.
87132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
87133         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
87135         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
87136         Add prlimit.
87137         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
87138         prlimit64 for GLIBC_2.13.
87139         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
87140         prlimit64.
87141         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
87142         syscall.
87143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
87144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87145         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
87146         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
87147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
87148         add prlimit alias.
87149         * sysdeps/unix/sysv/linux/prlimit.c: New file.
87151         [BZ #11903]
87152         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
87153         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
87155         * nss/Makefile: Add rules to build and run tst-nss-test1.
87156         * shlib-versions: Add entry for libnss_test1.
87157         * nss/nss_test1.c: New file.
87158         * nss/tst-nss-test1.c: New file.
87160         * nss/nsswitch.c (__nss_database_custom): Define new variable.
87161         (__nss_configure_lookup): Set appropriate entry in
87162         __nss_configure_lookup to true.
87163         * nss/nsswitch.h: Define enum with indeces of databases in
87164         databases and __nss_database_custom arrays.  Declare
87165         __nss_database_custom.
87166         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
87167         to avoid using nscd when custom rules are installed.
87168         * nss/getXXbyYY_r.c: Likewise.
87169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
87171         * nss/nss_files/files-parse.c: Whitespace fixes.
87173 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
87175         [BZ #11883]
87176         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
87177         * posix/fnmatch_loop.c: Likewise.
87179 2010-07-17  Andi Kleen  <ak@linux.intel.com>
87181         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
87182         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
87183         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
87184         * Versions.def [GLIBC_2.13]: Add.
87186 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
87188         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87189         Also fail if tpwd after pwuid call is NULL.
87191 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87193         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
87194         when converting to ms.
87196 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87198         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
87199         EOPNOTSUPP errors with ENOTTY.
87200         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
87201         EOPNOTSUPP errors with ENOTTY.
87203 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
87205         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
87206         Add strcasecmp_l-ssse3.
87207         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
87208         strcasecmp.
87209         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
87210         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
87211         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
87213 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
87215         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
87217         * string/Makefile (strop-tests): Add strcasecmp.
87218         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87219         strcasecmp_l-nonascii.
87220         (gen-as-const-headers): Add locale-defines.sym.
87221         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
87222         * sysdeps/x86_64/strcasecmp.S: New file.
87223         * sysdeps/x86_64/strcasecmp_l.S: New file.
87224         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
87225         * sysdeps/x86_64/locale-defines.sym: New file.
87226         * string/test-strcasecmp.c: New file.
87228         * string/test-strcasestr.c: Test both ends of the range of characters.
87229         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
87231 2010-07-29  Roland McGrath  <roland@redhat.com>
87233         [BZ #11856]
87234         * manual/locale.texi (Yes-or-No Questions): Fix example code.
87236 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
87238         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
87239         for ld.so.
87241 2010-07-27  Andreas Schwab  <schwab@redhat.com>
87243         * manual/memory.texi (Malloc Tunable Parameters): Document
87244         M_PERTURB.
87246 2010-07-26  Roland McGrath  <roland@redhat.com>
87248         [BZ #11840]
87249         * configure.in (-fgnu89-inline check): Set and substitute
87250         gnu89_inline, not libc_cv_gnu89_inline.
87251         * configure: Regenerated.
87252         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
87254 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
87256         * string/test-strnlen.c: New file.
87257         * string/Makefile (strop-tests): Add strnlen.
87258         * string/tester.c (test_strnlen): Add a few more test cases.
87259         * string/tst-strlen.c: Better error reporting.
87261         * sysdeps/x86_64/strnlen.S: New file.
87263 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
87265         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
87266         lower-latency instructions.
87268 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
87270         * string/test-strcasestr.c: New file.
87271         * string/test-strstr.c: New file.
87272         * string/Makefile (strop-tests): Add strstr and strcasestr.
87273         * string/str-two-way.h: Don't undefine MAX.
87274         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
87276 2010-07-21  Andreas Schwab  <schwab@redhat.com>
87278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87279         strcasestr-nonascii.
87280         (CFLAGS-strcasestr-nonascii.c): Define.
87281         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
87282         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
87283         Remove unused attribute.
87285 2010-07-20  Roland McGrath  <roland@redhat.com>
87287         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
87288         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
87289         ld.so.cache was broken.  With it, there is no way to disable dsocaps
87290         like LD_HWCAP_MASK can disable hwcaps.
87292 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87294         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
87296 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
87298         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87299         call in strcasestr.
87300         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
87301         __strcasestr_sse42_nonascii.
87302         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
87303         strcasestr-nonascii.c.
87304         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
87306 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
87308         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
87309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
87310         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
87311         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
87313 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
87315         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
87316         fcntl.
87318 2010-07-06  Andreas Schwab  <schwab@redhat.com>
87320         [BZ #11577]
87321         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
87322         dl_signal_cerror.
87324 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
87326         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
87327         _PC_PIPE_BUF using F_GETPIPE_SZ.
87329 2010-07-05  Roland McGrath  <roland@redhat.com>
87331         * manual/arith.texi (Rounding Functions): Fix rint description
87332         implicit in round description.
87334 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
87336         * elf/Makefile: Fix linking for a few tests to make recent linker
87337         happy.
87339 2010-06-30  Andreas Schwab  <schwab@redhat.com>
87341         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
87342         $(common-objpfx)libc_nonshared.a.
87344 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
87346         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
87347         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
87348         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87349         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87350         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
87351         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
87352         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87353         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
87356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
87357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
87358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
87359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
87360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
87361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
87362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
87363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
87364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
87365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
87366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
87367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
87368         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
87369         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
87370         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
87371         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
87372         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
87373         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
87374         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
87375         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
87376         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
87377         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
87378         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
87379         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
87380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
87381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
87382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
87384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
87385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
87386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
87387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
87388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
87389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
87390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
87391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
87392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
87393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
87395 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
87397         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
87398         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
87399         * string/memmove.c (memmove): Renamed to ...
87400         (MEMMOVE): ...this.  Default to memmove.
87401         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
87402         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
87403         (END_CHK): Define.
87404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87405         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
87406         mempcpy-ssse3-back memmove-ssse3-back.
87407         * sysdeps/x86_64/multiarch/bcopy.S: New file .
87408         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
87409         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
87410         * sysdeps/x86_64/multiarch/memcpy.S: New file.
87411         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
87412         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
87413         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
87414         * sysdeps/x86_64/multiarch/memmove.c: New file.
87415         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
87416         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
87417         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
87418         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
87419         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
87420         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
87421         Define.
87422         (index_Fast_Copy_Backward): Define.
87423         (HAS_ARCH_FEATURE): Define.
87424         (HAS_FAST_REP_STRING): Define.
87425         (HAS_FAST_COPY_BACKWARD): Define.
87427 2010-06-21  Andreas Schwab  <schwab@redhat.com>
87429         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
87430         Restore proper fallback handling.
87432 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
87434         [BZ #11701]
87435         * posix/group_member.c (__group_member): Correct checking loop.
87437         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
87438         OOM in getpwuid_r correctly.  Return error number when the caller
87439         should return, otherwise -1.
87440         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
87441         call returning > 0 value.
87442         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
87444 2010-06-07  Andreas Schwab  <schwab@redhat.com>
87446         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
87447         libc_nonshared.a from targets in modules-names.
87449 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
87451         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
87452         requires it.
87454 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
87456         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
87457         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
87458         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
87459         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
87461 2010-06-02  Andreas Schwab  <schwab@redhat.com>
87463         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
87465 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
87467         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
87468         and F_GETPIPE_SZ.
87469         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87470         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87473         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87476 2010-06-14  Roland McGrath  <roland@redhat.com>
87478         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
87480 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
87482         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
87483         __REDIRECT followed by __THROW.
87484         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
87485         * posix/getopt.h (getopt): Likewise.
87487 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
87489         * hurd/lookup-at.c (__file_name_lookup_at): Accept
87490         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
87491         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
87492         in AT_FLAGS.
87493         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
87494         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
87496 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
87498         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
87500 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
87502         [BZ #11640]
87503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87504         Properly check family and model.
87506 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
87508         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
87510 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
87512         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
87514 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
87516         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
87517         symbol reference.
87519 2010-05-19  Andreas Schwab  <schwab@redhat.com>
87521         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
87522         symbol reference.
87524 2010-05-21  Andreas Schwab  <schwab@redhat.com>
87526         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
87527         and internal_recvmmsg.
87528         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
87529         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
87530         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
87531         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
87533         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
87534         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
87535         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
87537 2010-05-20  Andreas Schwab  <schwab@redhat.com>
87539         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
87541 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
87543         POWER7 optimizations.
87544         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
87545         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
87547 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
87549         * version.h: Update for 2.13 development version.
87551 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
87553         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
87554         exceptions.  Return 0.
87556 2010-05-07  Roland McGrath  <roland@redhat.com>
87558         * elf/ldconfig.c (main): Add a const.
87560 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
87562         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
87563         (args_options): Add no-idn option.
87564         (ahosts_keys_int): Add idn_flags to ai_flags.
87565         (parse_option): Handle 'i' option to clear idn_flags.
87567         * malloc/malloc.c (_int_free): Possible race in the most recently
87568         added check.  Only act on the data if no current modification
87569         happened.
87571 See ChangeLog.17 for earlier changes.